]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_controls_wrap.cpp
Corrected a potential NULL pointer dereference in the SWIG runtime
[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);
db3e571a 2195 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 2196
51b83b37
RD
2197 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2198
d14a1e28
RD
2199 PYPRIVATE;
2200};
2201
2202IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2203
2204IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2205IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2206IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2207IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2208
2209IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2210IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2211IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2212
2213IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2214IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2215
2216IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2217IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2218IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2219IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2220
2221IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2222IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2223IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2224
2225IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2226IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2227
db3e571a 2228IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
db3e571a 2229IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d14a1e28 2230
51b83b37
RD
2231IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2232
d14a1e28
RD
2233
2234
093d3ff1 2235static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
2236
2237#include <wx/generic/dragimgg.h>
2238
53aa7709
RD
2239 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2240static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2241 wxDateTime rv;
2242 self->GetRange(&rv, NULL);
2243 return rv;
2244 }
2245static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2246 wxDateTime rv;
2247 self->GetRange(NULL, &rv);
2248 return rv;
2249 }
d14a1e28
RD
2250#ifdef __cplusplus
2251extern "C" {
2252#endif
c32bde28 2253static int _wrap_ButtonNameStr_set(PyObject *) {
b2dc1044
RD
2254 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2255 return 1;
2256}
2257
2258
093d3ff1 2259static PyObject *_wrap_ButtonNameStr_get(void) {
b2dc1044
RD
2260 PyObject *pyobj;
2261
2262 {
2263#if wxUSE_UNICODE
2264 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2265#else
2266 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2267#endif
2268 }
2269 return pyobj;
2270}
2271
2272
c32bde28 2273static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2274 PyObject *resultobj;
2275 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2276 int arg2 = (int) -1 ;
2277 wxString const &arg3_defvalue = wxPyEmptyString ;
2278 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
2279 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2280 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2281 wxSize const &arg5_defvalue = wxDefaultSize ;
2282 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2283 long arg6 = (long) 0 ;
2284 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2285 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2286 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2287 wxString *arg8 = (wxString *) &arg8_defvalue ;
2288 wxButton *result;
ae8162c8 2289 bool temp3 = false ;
d14a1e28
RD
2290 wxPoint temp4 ;
2291 wxSize temp5 ;
ae8162c8 2292 bool temp8 = false ;
d14a1e28 2293 PyObject * obj0 = 0 ;
994141e6 2294 PyObject * obj1 = 0 ;
d14a1e28
RD
2295 PyObject * obj2 = 0 ;
2296 PyObject * obj3 = 0 ;
2297 PyObject * obj4 = 0 ;
994141e6 2298 PyObject * obj5 = 0 ;
d14a1e28
RD
2299 PyObject * obj6 = 0 ;
2300 PyObject * obj7 = 0 ;
2301 char *kwnames[] = {
2302 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2303 };
2304
248ed943 2305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2307 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2308 if (obj1) {
093d3ff1
RD
2309 {
2310 arg2 = (int)(SWIG_As_int(obj1));
2311 if (SWIG_arg_fail(2)) SWIG_fail;
2312 }
248ed943
RD
2313 }
2314 if (obj2) {
2315 {
2316 arg3 = wxString_in_helper(obj2);
2317 if (arg3 == NULL) SWIG_fail;
ae8162c8 2318 temp3 = true;
248ed943 2319 }
d14a1e28
RD
2320 }
2321 if (obj3) {
2322 {
2323 arg4 = &temp4;
2324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2325 }
2326 }
2327 if (obj4) {
2328 {
2329 arg5 = &temp5;
2330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2331 }
2332 }
994141e6 2333 if (obj5) {
093d3ff1
RD
2334 {
2335 arg6 = (long)(SWIG_As_long(obj5));
2336 if (SWIG_arg_fail(6)) SWIG_fail;
2337 }
994141e6 2338 }
d14a1e28 2339 if (obj6) {
093d3ff1
RD
2340 {
2341 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2342 if (SWIG_arg_fail(7)) SWIG_fail;
2343 if (arg7 == NULL) {
2344 SWIG_null_ref("wxValidator");
2345 }
2346 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
2347 }
2348 }
2349 if (obj7) {
2350 {
2351 arg8 = wxString_in_helper(obj7);
2352 if (arg8 == NULL) SWIG_fail;
ae8162c8 2353 temp8 = true;
d14a1e28
RD
2354 }
2355 }
2356 {
e3b71cb8 2357 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2360
2361 wxPyEndAllowThreads(__tstate);
110da5b0 2362 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2363 }
b0f7404b 2364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d14a1e28
RD
2365 {
2366 if (temp3)
2367 delete arg3;
2368 }
2369 {
2370 if (temp8)
2371 delete arg8;
2372 }
2373 return resultobj;
2374 fail:
2375 {
2376 if (temp3)
2377 delete arg3;
2378 }
2379 {
2380 if (temp8)
2381 delete arg8;
2382 }
2383 return NULL;
2384}
2385
2386
c32bde28 2387static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2388 PyObject *resultobj;
2389 wxButton *result;
2390 char *kwnames[] = {
2391 NULL
2392 };
2393
2394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2395 {
e3b71cb8 2396 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2397 PyThreadState* __tstate = wxPyBeginAllowThreads();
2398 result = (wxButton *)new wxButton();
2399
2400 wxPyEndAllowThreads(__tstate);
110da5b0 2401 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2402 }
b0f7404b 2403 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d14a1e28
RD
2404 return resultobj;
2405 fail:
2406 return NULL;
2407}
2408
2409
c32bde28 2410static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2411 PyObject *resultobj;
2412 wxButton *arg1 = (wxButton *) 0 ;
2413 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2414 int arg3 = (int) -1 ;
2415 wxString const &arg4_defvalue = wxPyEmptyString ;
2416 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
2417 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2418 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2419 wxSize const &arg6_defvalue = wxDefaultSize ;
2420 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2421 long arg7 = (long) 0 ;
2422 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2423 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2424 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2425 wxString *arg9 = (wxString *) &arg9_defvalue ;
2426 bool result;
ae8162c8 2427 bool temp4 = false ;
d14a1e28
RD
2428 wxPoint temp5 ;
2429 wxSize temp6 ;
ae8162c8 2430 bool temp9 = false ;
d14a1e28
RD
2431 PyObject * obj0 = 0 ;
2432 PyObject * obj1 = 0 ;
994141e6 2433 PyObject * obj2 = 0 ;
d14a1e28
RD
2434 PyObject * obj3 = 0 ;
2435 PyObject * obj4 = 0 ;
2436 PyObject * obj5 = 0 ;
994141e6 2437 PyObject * obj6 = 0 ;
d14a1e28
RD
2438 PyObject * obj7 = 0 ;
2439 PyObject * obj8 = 0 ;
2440 char *kwnames[] = {
2441 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2442 };
2443
248ed943 2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2446 if (SWIG_arg_fail(1)) SWIG_fail;
2447 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2448 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2449 if (obj2) {
093d3ff1
RD
2450 {
2451 arg3 = (int)(SWIG_As_int(obj2));
2452 if (SWIG_arg_fail(3)) SWIG_fail;
2453 }
248ed943
RD
2454 }
2455 if (obj3) {
2456 {
2457 arg4 = wxString_in_helper(obj3);
2458 if (arg4 == NULL) SWIG_fail;
ae8162c8 2459 temp4 = true;
248ed943 2460 }
d14a1e28
RD
2461 }
2462 if (obj4) {
2463 {
2464 arg5 = &temp5;
2465 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2466 }
2467 }
2468 if (obj5) {
2469 {
2470 arg6 = &temp6;
2471 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2472 }
2473 }
994141e6 2474 if (obj6) {
093d3ff1
RD
2475 {
2476 arg7 = (long)(SWIG_As_long(obj6));
2477 if (SWIG_arg_fail(7)) SWIG_fail;
2478 }
994141e6 2479 }
d14a1e28 2480 if (obj7) {
093d3ff1
RD
2481 {
2482 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2483 if (SWIG_arg_fail(8)) SWIG_fail;
2484 if (arg8 == NULL) {
2485 SWIG_null_ref("wxValidator");
2486 }
2487 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
2488 }
2489 }
2490 if (obj8) {
2491 {
2492 arg9 = wxString_in_helper(obj8);
2493 if (arg9 == NULL) SWIG_fail;
ae8162c8 2494 temp9 = true;
d14a1e28
RD
2495 }
2496 }
2497 {
2498 PyThreadState* __tstate = wxPyBeginAllowThreads();
2499 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2500
2501 wxPyEndAllowThreads(__tstate);
2502 if (PyErr_Occurred()) SWIG_fail;
2503 }
4f89f6a3
RD
2504 {
2505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2506 }
d14a1e28
RD
2507 {
2508 if (temp4)
2509 delete arg4;
2510 }
2511 {
2512 if (temp9)
2513 delete arg9;
2514 }
2515 return resultobj;
2516 fail:
2517 {
2518 if (temp4)
2519 delete arg4;
2520 }
2521 {
2522 if (temp9)
2523 delete arg9;
2524 }
2525 return NULL;
2526}
2527
2528
c32bde28 2529static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2530 PyObject *resultobj;
2531 wxButton *arg1 = (wxButton *) 0 ;
2532 PyObject * obj0 = 0 ;
2533 char *kwnames[] = {
2534 (char *) "self", NULL
2535 };
2536
2537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
2538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2539 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 (arg1)->SetDefault();
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 Py_INCREF(Py_None); resultobj = Py_None;
2548 return resultobj;
2549 fail:
2550 return NULL;
2551}
2552
2553
c32bde28 2554static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2555 PyObject *resultobj;
2556 wxSize result;
2557 char *kwnames[] = {
2558 NULL
2559 };
2560
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2562 {
2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
2564 result = wxButton::GetDefaultSize();
2565
2566 wxPyEndAllowThreads(__tstate);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 }
2569 {
2570 wxSize * resultptr;
093d3ff1 2571 resultptr = new wxSize((wxSize &)(result));
15afbcd0 2572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2573 }
2574 return resultobj;
2575 fail:
2576 return NULL;
2577}
2578
2579
c32bde28 2580static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 2581 PyObject *resultobj;
093d3ff1 2582 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
2583 wxVisualAttributes result;
2584 PyObject * obj0 = 0 ;
2585 char *kwnames[] = {
2586 (char *) "variant", NULL
2587 };
2588
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2590 if (obj0) {
093d3ff1
RD
2591 {
2592 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2593 if (SWIG_arg_fail(1)) SWIG_fail;
2594 }
22bfe96c
RD
2595 }
2596 {
110da5b0 2597 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
2598 PyThreadState* __tstate = wxPyBeginAllowThreads();
2599 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2600
2601 wxPyEndAllowThreads(__tstate);
dfbb5885 2602 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2603 }
2604 {
2605 wxVisualAttributes * resultptr;
093d3ff1 2606 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
2607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2608 }
2609 return resultobj;
2610 fail:
2611 return NULL;
2612}
2613
2614
c32bde28 2615static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2616 PyObject *obj;
2617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2618 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2619 Py_INCREF(obj);
2620 return Py_BuildValue((char *)"");
2621}
c32bde28 2622static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2623 PyObject *resultobj;
2624 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2625 int arg2 = (int) -1 ;
2626 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2627 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d14a1e28
RD
2628 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2629 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2630 wxSize const &arg5_defvalue = wxDefaultSize ;
2631 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2632 long arg6 = (long) wxBU_AUTODRAW ;
2633 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2634 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2635 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2636 wxString *arg8 = (wxString *) &arg8_defvalue ;
2637 wxBitmapButton *result;
2638 wxPoint temp4 ;
2639 wxSize temp5 ;
ae8162c8 2640 bool temp8 = false ;
d14a1e28 2641 PyObject * obj0 = 0 ;
994141e6 2642 PyObject * obj1 = 0 ;
d14a1e28
RD
2643 PyObject * obj2 = 0 ;
2644 PyObject * obj3 = 0 ;
2645 PyObject * obj4 = 0 ;
994141e6 2646 PyObject * obj5 = 0 ;
d14a1e28
RD
2647 PyObject * obj6 = 0 ;
2648 PyObject * obj7 = 0 ;
2649 char *kwnames[] = {
2650 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2651 };
2652
248ed943 2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
2654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2655 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2656 if (obj1) {
093d3ff1
RD
2657 {
2658 arg2 = (int)(SWIG_As_int(obj1));
2659 if (SWIG_arg_fail(2)) SWIG_fail;
2660 }
248ed943
RD
2661 }
2662 if (obj2) {
093d3ff1
RD
2663 {
2664 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2665 if (SWIG_arg_fail(3)) SWIG_fail;
2666 if (arg3 == NULL) {
2667 SWIG_null_ref("wxBitmap");
2668 }
2669 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 2670 }
d14a1e28
RD
2671 }
2672 if (obj3) {
2673 {
2674 arg4 = &temp4;
2675 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2676 }
2677 }
2678 if (obj4) {
2679 {
2680 arg5 = &temp5;
2681 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2682 }
2683 }
994141e6 2684 if (obj5) {
093d3ff1
RD
2685 {
2686 arg6 = (long)(SWIG_As_long(obj5));
2687 if (SWIG_arg_fail(6)) SWIG_fail;
2688 }
994141e6 2689 }
d14a1e28 2690 if (obj6) {
093d3ff1
RD
2691 {
2692 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2693 if (SWIG_arg_fail(7)) SWIG_fail;
2694 if (arg7 == NULL) {
2695 SWIG_null_ref("wxValidator");
2696 }
2697 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
2698 }
2699 }
2700 if (obj7) {
2701 {
2702 arg8 = wxString_in_helper(obj7);
2703 if (arg8 == NULL) SWIG_fail;
ae8162c8 2704 temp8 = true;
d14a1e28
RD
2705 }
2706 }
2707 {
e3b71cb8 2708 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2709 PyThreadState* __tstate = wxPyBeginAllowThreads();
2710 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2711
2712 wxPyEndAllowThreads(__tstate);
110da5b0 2713 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2714 }
b0f7404b 2715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d14a1e28
RD
2716 {
2717 if (temp8)
2718 delete arg8;
2719 }
2720 return resultobj;
2721 fail:
2722 {
2723 if (temp8)
2724 delete arg8;
2725 }
2726 return NULL;
2727}
2728
2729
c32bde28 2730static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2731 PyObject *resultobj;
2732 wxBitmapButton *result;
2733 char *kwnames[] = {
2734 NULL
2735 };
2736
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2738 {
e3b71cb8 2739 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2740 PyThreadState* __tstate = wxPyBeginAllowThreads();
2741 result = (wxBitmapButton *)new wxBitmapButton();
2742
2743 wxPyEndAllowThreads(__tstate);
110da5b0 2744 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2745 }
b0f7404b 2746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d14a1e28
RD
2747 return resultobj;
2748 fail:
2749 return NULL;
2750}
2751
2752
c32bde28 2753static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2754 PyObject *resultobj;
2755 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2756 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2757 int arg3 = (int) -1 ;
2758 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2759 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d14a1e28
RD
2760 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2761 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2762 wxSize const &arg6_defvalue = wxDefaultSize ;
2763 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2764 long arg7 = (long) wxBU_AUTODRAW ;
2765 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2766 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2767 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2768 wxString *arg9 = (wxString *) &arg9_defvalue ;
2769 bool result;
2770 wxPoint temp5 ;
2771 wxSize temp6 ;
ae8162c8 2772 bool temp9 = false ;
d14a1e28
RD
2773 PyObject * obj0 = 0 ;
2774 PyObject * obj1 = 0 ;
994141e6 2775 PyObject * obj2 = 0 ;
d14a1e28
RD
2776 PyObject * obj3 = 0 ;
2777 PyObject * obj4 = 0 ;
2778 PyObject * obj5 = 0 ;
994141e6 2779 PyObject * obj6 = 0 ;
d14a1e28
RD
2780 PyObject * obj7 = 0 ;
2781 PyObject * obj8 = 0 ;
2782 char *kwnames[] = {
2783 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2784 };
2785
248ed943 2786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
2787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2788 if (SWIG_arg_fail(1)) SWIG_fail;
2789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2790 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2791 if (obj2) {
093d3ff1
RD
2792 {
2793 arg3 = (int)(SWIG_As_int(obj2));
2794 if (SWIG_arg_fail(3)) SWIG_fail;
2795 }
248ed943
RD
2796 }
2797 if (obj3) {
093d3ff1
RD
2798 {
2799 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2800 if (SWIG_arg_fail(4)) SWIG_fail;
2801 if (arg4 == NULL) {
2802 SWIG_null_ref("wxBitmap");
2803 }
2804 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 2805 }
d14a1e28
RD
2806 }
2807 if (obj4) {
2808 {
2809 arg5 = &temp5;
2810 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2811 }
2812 }
2813 if (obj5) {
2814 {
2815 arg6 = &temp6;
2816 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2817 }
2818 }
994141e6 2819 if (obj6) {
093d3ff1
RD
2820 {
2821 arg7 = (long)(SWIG_As_long(obj6));
2822 if (SWIG_arg_fail(7)) SWIG_fail;
2823 }
994141e6 2824 }
d14a1e28 2825 if (obj7) {
093d3ff1
RD
2826 {
2827 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2828 if (SWIG_arg_fail(8)) SWIG_fail;
2829 if (arg8 == NULL) {
2830 SWIG_null_ref("wxValidator");
2831 }
2832 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
2833 }
2834 }
2835 if (obj8) {
2836 {
2837 arg9 = wxString_in_helper(obj8);
2838 if (arg9 == NULL) SWIG_fail;
ae8162c8 2839 temp9 = true;
d14a1e28
RD
2840 }
2841 }
2842 {
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
2844 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
4f89f6a3
RD
2849 {
2850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2851 }
d14a1e28
RD
2852 {
2853 if (temp9)
2854 delete arg9;
2855 }
2856 return resultobj;
2857 fail:
2858 {
2859 if (temp9)
2860 delete arg9;
2861 }
2862 return NULL;
2863}
2864
2865
c32bde28 2866static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2867 PyObject *resultobj;
2868 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2869 wxBitmap result;
2870 PyObject * obj0 = 0 ;
2871 char *kwnames[] = {
2872 (char *) "self", NULL
2873 };
2874
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
2876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2877 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2878 {
2879 PyThreadState* __tstate = wxPyBeginAllowThreads();
2880 result = (arg1)->GetBitmapLabel();
2881
2882 wxPyEndAllowThreads(__tstate);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
2885 {
2886 wxBitmap * resultptr;
093d3ff1 2887 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 2888 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2889 }
2890 return resultobj;
2891 fail:
2892 return NULL;
2893}
2894
2895
c32bde28 2896static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2897 PyObject *resultobj;
2898 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2899 wxBitmap result;
2900 PyObject * obj0 = 0 ;
2901 char *kwnames[] = {
2902 (char *) "self", NULL
2903 };
2904
2905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
2906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2907 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2908 {
2909 PyThreadState* __tstate = wxPyBeginAllowThreads();
2910 result = (arg1)->GetBitmapDisabled();
2911
2912 wxPyEndAllowThreads(__tstate);
2913 if (PyErr_Occurred()) SWIG_fail;
2914 }
2915 {
2916 wxBitmap * resultptr;
093d3ff1 2917 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 2918 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2919 }
2920 return resultobj;
2921 fail:
2922 return NULL;
2923}
2924
2925
c32bde28 2926static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2927 PyObject *resultobj;
2928 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2929 wxBitmap result;
2930 PyObject * obj0 = 0 ;
2931 char *kwnames[] = {
2932 (char *) "self", NULL
2933 };
2934
2935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
2936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2937 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2938 {
2939 PyThreadState* __tstate = wxPyBeginAllowThreads();
2940 result = (arg1)->GetBitmapFocus();
2941
2942 wxPyEndAllowThreads(__tstate);
2943 if (PyErr_Occurred()) SWIG_fail;
2944 }
2945 {
2946 wxBitmap * resultptr;
093d3ff1 2947 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 2948 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2949 }
2950 return resultobj;
2951 fail:
2952 return NULL;
2953}
2954
2955
c32bde28 2956static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2957 PyObject *resultobj;
2958 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2959 wxBitmap result;
2960 PyObject * obj0 = 0 ;
2961 char *kwnames[] = {
2962 (char *) "self", NULL
2963 };
2964
2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
2966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2967 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
2970 result = (arg1)->GetBitmapSelected();
2971
2972 wxPyEndAllowThreads(__tstate);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 }
2975 {
2976 wxBitmap * resultptr;
093d3ff1 2977 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 2978 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
2979 }
2980 return resultobj;
2981 fail:
2982 return NULL;
2983}
2984
2985
c32bde28 2986static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2987 PyObject *resultobj;
2988 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2989 wxBitmap *arg2 = 0 ;
2990 PyObject * obj0 = 0 ;
2991 PyObject * obj1 = 0 ;
2992 char *kwnames[] = {
2993 (char *) "self",(char *) "bitmap", NULL
2994 };
2995
2996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2998 if (SWIG_arg_fail(1)) SWIG_fail;
2999 {
3000 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3001 if (SWIG_arg_fail(2)) SWIG_fail;
3002 if (arg2 == NULL) {
3003 SWIG_null_ref("wxBitmap");
3004 }
3005 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3006 }
3007 {
3008 PyThreadState* __tstate = wxPyBeginAllowThreads();
3009 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3010
3011 wxPyEndAllowThreads(__tstate);
3012 if (PyErr_Occurred()) SWIG_fail;
3013 }
3014 Py_INCREF(Py_None); resultobj = Py_None;
3015 return resultobj;
3016 fail:
3017 return NULL;
3018}
3019
3020
c32bde28 3021static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3022 PyObject *resultobj;
3023 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3024 wxBitmap *arg2 = 0 ;
3025 PyObject * obj0 = 0 ;
3026 PyObject * obj1 = 0 ;
3027 char *kwnames[] = {
3028 (char *) "self",(char *) "bitmap", NULL
3029 };
3030
3031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3033 if (SWIG_arg_fail(1)) SWIG_fail;
3034 {
3035 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3036 if (SWIG_arg_fail(2)) SWIG_fail;
3037 if (arg2 == NULL) {
3038 SWIG_null_ref("wxBitmap");
3039 }
3040 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3041 }
3042 {
3043 PyThreadState* __tstate = wxPyBeginAllowThreads();
3044 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3045
3046 wxPyEndAllowThreads(__tstate);
3047 if (PyErr_Occurred()) SWIG_fail;
3048 }
3049 Py_INCREF(Py_None); resultobj = Py_None;
3050 return resultobj;
3051 fail:
3052 return NULL;
3053}
3054
3055
c32bde28 3056static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3057 PyObject *resultobj;
3058 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3059 wxBitmap *arg2 = 0 ;
3060 PyObject * obj0 = 0 ;
3061 PyObject * obj1 = 0 ;
3062 char *kwnames[] = {
3063 (char *) "self",(char *) "bitmap", NULL
3064 };
3065
3066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3068 if (SWIG_arg_fail(1)) SWIG_fail;
3069 {
3070 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3071 if (SWIG_arg_fail(2)) SWIG_fail;
3072 if (arg2 == NULL) {
3073 SWIG_null_ref("wxBitmap");
3074 }
3075 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3076 }
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 Py_INCREF(Py_None); resultobj = Py_None;
3085 return resultobj;
3086 fail:
3087 return NULL;
3088}
3089
3090
c32bde28 3091static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3092 PyObject *resultobj;
3093 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3094 wxBitmap *arg2 = 0 ;
3095 PyObject * obj0 = 0 ;
3096 PyObject * obj1 = 0 ;
3097 char *kwnames[] = {
3098 (char *) "self",(char *) "bitmap", NULL
3099 };
3100
3101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3103 if (SWIG_arg_fail(1)) SWIG_fail;
3104 {
3105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3106 if (SWIG_arg_fail(2)) SWIG_fail;
3107 if (arg2 == NULL) {
3108 SWIG_null_ref("wxBitmap");
3109 }
3110 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3111 }
3112 {
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
3114 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3115
3116 wxPyEndAllowThreads(__tstate);
3117 if (PyErr_Occurred()) SWIG_fail;
3118 }
3119 Py_INCREF(Py_None); resultobj = Py_None;
3120 return resultobj;
3121 fail:
3122 return NULL;
3123}
3124
3125
c32bde28 3126static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3127 PyObject *resultobj;
3128 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3129 int arg2 ;
3130 int arg3 ;
3131 PyObject * obj0 = 0 ;
994141e6
RD
3132 PyObject * obj1 = 0 ;
3133 PyObject * obj2 = 0 ;
d14a1e28
RD
3134 char *kwnames[] = {
3135 (char *) "self",(char *) "x",(char *) "y", NULL
3136 };
3137
994141e6 3138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3140 if (SWIG_arg_fail(1)) SWIG_fail;
3141 {
3142 arg2 = (int)(SWIG_As_int(obj1));
3143 if (SWIG_arg_fail(2)) SWIG_fail;
3144 }
3145 {
3146 arg3 = (int)(SWIG_As_int(obj2));
3147 if (SWIG_arg_fail(3)) SWIG_fail;
3148 }
d14a1e28
RD
3149 {
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
3151 (arg1)->SetMargins(arg2,arg3);
3152
3153 wxPyEndAllowThreads(__tstate);
3154 if (PyErr_Occurred()) SWIG_fail;
3155 }
3156 Py_INCREF(Py_None); resultobj = Py_None;
3157 return resultobj;
3158 fail:
3159 return NULL;
3160}
3161
3162
c32bde28 3163static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3164 PyObject *resultobj;
3165 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3166 int result;
3167 PyObject * obj0 = 0 ;
3168 char *kwnames[] = {
3169 (char *) "self", NULL
3170 };
3171
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3174 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3175 {
3176 PyThreadState* __tstate = wxPyBeginAllowThreads();
3177 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3178
3179 wxPyEndAllowThreads(__tstate);
3180 if (PyErr_Occurred()) SWIG_fail;
3181 }
093d3ff1
RD
3182 {
3183 resultobj = SWIG_From_int((int)(result));
3184 }
d14a1e28
RD
3185 return resultobj;
3186 fail:
3187 return NULL;
3188}
3189
3190
c32bde28 3191static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3192 PyObject *resultobj;
3193 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3194 int result;
3195 PyObject * obj0 = 0 ;
3196 char *kwnames[] = {
3197 (char *) "self", NULL
3198 };
3199
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3202 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3203 {
3204 PyThreadState* __tstate = wxPyBeginAllowThreads();
3205 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3206
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
093d3ff1
RD
3210 {
3211 resultobj = SWIG_From_int((int)(result));
3212 }
d14a1e28
RD
3213 return resultobj;
3214 fail:
3215 return NULL;
3216}
3217
3218
c32bde28 3219static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3220 PyObject *obj;
3221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3222 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3223 Py_INCREF(obj);
3224 return Py_BuildValue((char *)"");
3225}
c32bde28 3226static int _wrap_CheckBoxNameStr_set(PyObject *) {
b2dc1044
RD
3227 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3228 return 1;
3229}
3230
3231
093d3ff1 3232static PyObject *_wrap_CheckBoxNameStr_get(void) {
b2dc1044
RD
3233 PyObject *pyobj;
3234
3235 {
3236#if wxUSE_UNICODE
3237 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3238#else
3239 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3240#endif
3241 }
3242 return pyobj;
3243}
3244
3245
c32bde28 3246static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3247 PyObject *resultobj;
3248 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3249 int arg2 = (int) -1 ;
3250 wxString const &arg3_defvalue = wxPyEmptyString ;
3251 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
3252 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3253 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3254 wxSize const &arg5_defvalue = wxDefaultSize ;
3255 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3256 long arg6 = (long) 0 ;
3257 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3258 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3259 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3260 wxString *arg8 = (wxString *) &arg8_defvalue ;
3261 wxCheckBox *result;
ae8162c8 3262 bool temp3 = false ;
d14a1e28
RD
3263 wxPoint temp4 ;
3264 wxSize temp5 ;
ae8162c8 3265 bool temp8 = false ;
d14a1e28 3266 PyObject * obj0 = 0 ;
994141e6 3267 PyObject * obj1 = 0 ;
d14a1e28
RD
3268 PyObject * obj2 = 0 ;
3269 PyObject * obj3 = 0 ;
3270 PyObject * obj4 = 0 ;
994141e6 3271 PyObject * obj5 = 0 ;
d14a1e28
RD
3272 PyObject * obj6 = 0 ;
3273 PyObject * obj7 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3276 };
3277
248ed943 3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 3281 if (obj1) {
093d3ff1
RD
3282 {
3283 arg2 = (int)(SWIG_As_int(obj1));
3284 if (SWIG_arg_fail(2)) SWIG_fail;
3285 }
248ed943
RD
3286 }
3287 if (obj2) {
3288 {
3289 arg3 = wxString_in_helper(obj2);
3290 if (arg3 == NULL) SWIG_fail;
ae8162c8 3291 temp3 = true;
248ed943 3292 }
d14a1e28
RD
3293 }
3294 if (obj3) {
3295 {
3296 arg4 = &temp4;
3297 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3298 }
3299 }
3300 if (obj4) {
3301 {
3302 arg5 = &temp5;
3303 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3304 }
3305 }
994141e6 3306 if (obj5) {
093d3ff1
RD
3307 {
3308 arg6 = (long)(SWIG_As_long(obj5));
3309 if (SWIG_arg_fail(6)) SWIG_fail;
3310 }
994141e6 3311 }
d14a1e28 3312 if (obj6) {
093d3ff1
RD
3313 {
3314 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3315 if (SWIG_arg_fail(7)) SWIG_fail;
3316 if (arg7 == NULL) {
3317 SWIG_null_ref("wxValidator");
3318 }
3319 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
3320 }
3321 }
3322 if (obj7) {
3323 {
3324 arg8 = wxString_in_helper(obj7);
3325 if (arg8 == NULL) SWIG_fail;
ae8162c8 3326 temp8 = true;
d14a1e28
RD
3327 }
3328 }
3329 {
e3b71cb8 3330 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3331 PyThreadState* __tstate = wxPyBeginAllowThreads();
3332 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3333
3334 wxPyEndAllowThreads(__tstate);
110da5b0 3335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3336 }
15afbcd0 3337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
3338 {
3339 if (temp3)
3340 delete arg3;
3341 }
3342 {
3343 if (temp8)
3344 delete arg8;
3345 }
3346 return resultobj;
3347 fail:
3348 {
3349 if (temp3)
3350 delete arg3;
3351 }
3352 {
3353 if (temp8)
3354 delete arg8;
3355 }
3356 return NULL;
3357}
3358
3359
c32bde28 3360static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3361 PyObject *resultobj;
3362 wxCheckBox *result;
3363 char *kwnames[] = {
3364 NULL
3365 };
3366
3367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3368 {
e3b71cb8 3369 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 result = (wxCheckBox *)new wxCheckBox();
3372
3373 wxPyEndAllowThreads(__tstate);
110da5b0 3374 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3375 }
15afbcd0 3376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
3377 return resultobj;
3378 fail:
3379 return NULL;
3380}
3381
3382
c32bde28 3383static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3384 PyObject *resultobj;
3385 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3386 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3387 int arg3 = (int) -1 ;
3388 wxString const &arg4_defvalue = wxPyEmptyString ;
3389 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
3390 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3391 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3392 wxSize const &arg6_defvalue = wxDefaultSize ;
3393 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3394 long arg7 = (long) 0 ;
3395 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3396 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3397 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3398 wxString *arg9 = (wxString *) &arg9_defvalue ;
3399 bool result;
ae8162c8 3400 bool temp4 = false ;
d14a1e28
RD
3401 wxPoint temp5 ;
3402 wxSize temp6 ;
ae8162c8 3403 bool temp9 = false ;
d14a1e28
RD
3404 PyObject * obj0 = 0 ;
3405 PyObject * obj1 = 0 ;
994141e6 3406 PyObject * obj2 = 0 ;
d14a1e28
RD
3407 PyObject * obj3 = 0 ;
3408 PyObject * obj4 = 0 ;
3409 PyObject * obj5 = 0 ;
994141e6 3410 PyObject * obj6 = 0 ;
d14a1e28
RD
3411 PyObject * obj7 = 0 ;
3412 PyObject * obj8 = 0 ;
3413 char *kwnames[] = {
3414 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3415 };
3416
248ed943 3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3419 if (SWIG_arg_fail(1)) SWIG_fail;
3420 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3421 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 3422 if (obj2) {
093d3ff1
RD
3423 {
3424 arg3 = (int)(SWIG_As_int(obj2));
3425 if (SWIG_arg_fail(3)) SWIG_fail;
3426 }
248ed943
RD
3427 }
3428 if (obj3) {
3429 {
3430 arg4 = wxString_in_helper(obj3);
3431 if (arg4 == NULL) SWIG_fail;
ae8162c8 3432 temp4 = true;
248ed943 3433 }
d14a1e28
RD
3434 }
3435 if (obj4) {
3436 {
3437 arg5 = &temp5;
3438 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3439 }
3440 }
3441 if (obj5) {
3442 {
3443 arg6 = &temp6;
3444 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3445 }
3446 }
994141e6 3447 if (obj6) {
093d3ff1
RD
3448 {
3449 arg7 = (long)(SWIG_As_long(obj6));
3450 if (SWIG_arg_fail(7)) SWIG_fail;
3451 }
994141e6 3452 }
d14a1e28 3453 if (obj7) {
093d3ff1
RD
3454 {
3455 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3456 if (SWIG_arg_fail(8)) SWIG_fail;
3457 if (arg8 == NULL) {
3458 SWIG_null_ref("wxValidator");
3459 }
3460 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
3461 }
3462 }
3463 if (obj8) {
3464 {
3465 arg9 = wxString_in_helper(obj8);
3466 if (arg9 == NULL) SWIG_fail;
ae8162c8 3467 temp9 = true;
d14a1e28
RD
3468 }
3469 }
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3473
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
4f89f6a3
RD
3477 {
3478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3479 }
d14a1e28
RD
3480 {
3481 if (temp4)
3482 delete arg4;
3483 }
3484 {
3485 if (temp9)
3486 delete arg9;
3487 }
3488 return resultobj;
3489 fail:
3490 {
3491 if (temp4)
3492 delete arg4;
3493 }
3494 {
3495 if (temp9)
3496 delete arg9;
3497 }
3498 return NULL;
3499}
3500
3501
c32bde28 3502static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3503 PyObject *resultobj;
3504 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3505 bool result;
3506 PyObject * obj0 = 0 ;
3507 char *kwnames[] = {
3508 (char *) "self", NULL
3509 };
3510
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3513 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 result = (bool)(arg1)->GetValue();
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
4f89f6a3
RD
3521 {
3522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3523 }
d14a1e28
RD
3524 return resultobj;
3525 fail:
3526 return NULL;
3527}
3528
3529
c32bde28 3530static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3531 PyObject *resultobj;
3532 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3533 bool result;
3534 PyObject * obj0 = 0 ;
3535 char *kwnames[] = {
3536 (char *) "self", NULL
3537 };
3538
3539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
3540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3541 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3542 {
3543 PyThreadState* __tstate = wxPyBeginAllowThreads();
3544 result = (bool)(arg1)->IsChecked();
3545
3546 wxPyEndAllowThreads(__tstate);
3547 if (PyErr_Occurred()) SWIG_fail;
3548 }
4f89f6a3
RD
3549 {
3550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3551 }
d14a1e28
RD
3552 return resultobj;
3553 fail:
3554 return NULL;
3555}
3556
3557
c32bde28 3558static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3559 PyObject *resultobj;
3560 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3561 bool arg2 ;
3562 PyObject * obj0 = 0 ;
3563 PyObject * obj1 = 0 ;
3564 char *kwnames[] = {
3565 (char *) "self",(char *) "state", NULL
3566 };
3567
3568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3570 if (SWIG_arg_fail(1)) SWIG_fail;
3571 {
3572 arg2 = (bool const)(SWIG_As_bool(obj1));
3573 if (SWIG_arg_fail(2)) SWIG_fail;
3574 }
d14a1e28
RD
3575 {
3576 PyThreadState* __tstate = wxPyBeginAllowThreads();
3577 (arg1)->SetValue(arg2);
3578
3579 wxPyEndAllowThreads(__tstate);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 }
3582 Py_INCREF(Py_None); resultobj = Py_None;
3583 return resultobj;
3584 fail:
3585 return NULL;
3586}
3587
3588
c32bde28 3589static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3590 PyObject *resultobj;
3591 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3592 wxCheckBoxState result;
d14a1e28
RD
3593 PyObject * obj0 = 0 ;
3594 char *kwnames[] = {
3595 (char *) "self", NULL
3596 };
3597
3598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3600 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3601 {
3602 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3603 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d14a1e28
RD
3604
3605 wxPyEndAllowThreads(__tstate);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 }
093d3ff1 3608 resultobj = SWIG_From_int((result));
d14a1e28
RD
3609 return resultobj;
3610 fail:
3611 return NULL;
3612}
3613
3614
c32bde28 3615static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3616 PyObject *resultobj;
3617 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
093d3ff1 3618 wxCheckBoxState arg2 ;
d14a1e28 3619 PyObject * obj0 = 0 ;
994141e6 3620 PyObject * obj1 = 0 ;
d14a1e28
RD
3621 char *kwnames[] = {
3622 (char *) "self",(char *) "state", NULL
3623 };
3624
994141e6 3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail;
3628 {
3629 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3630 if (SWIG_arg_fail(2)) SWIG_fail;
3631 }
d14a1e28
RD
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 Py_INCREF(Py_None); resultobj = Py_None;
3640 return resultobj;
3641 fail:
3642 return NULL;
3643}
3644
3645
c32bde28 3646static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3647 PyObject *resultobj;
3648 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3649 bool result;
3650 PyObject * obj0 = 0 ;
3651 char *kwnames[] = {
3652 (char *) "self", NULL
3653 };
3654
3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
093d3ff1
RD
3656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3657 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3661
3662 wxPyEndAllowThreads(__tstate);
3663 if (PyErr_Occurred()) SWIG_fail;
3664 }
4f89f6a3
RD
3665 {
3666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3667 }
d14a1e28
RD
3668 return resultobj;
3669 fail:
3670 return NULL;
3671}
3672
3673
c32bde28 3674static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3675 PyObject *resultobj;
3676 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3677 bool result;
3678 PyObject * obj0 = 0 ;
3679 char *kwnames[] = {
3680 (char *) "self", NULL
3681 };
3682
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
093d3ff1
RD
3684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3685 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3686 {
3687 PyThreadState* __tstate = wxPyBeginAllowThreads();
3688 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3689
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
4f89f6a3
RD
3693 {
3694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3695 }
d14a1e28
RD
3696 return resultobj;
3697 fail:
3698 return NULL;
3699}
3700
3701
c32bde28 3702static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 3703 PyObject *resultobj;
093d3ff1 3704 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
3705 wxVisualAttributes result;
3706 PyObject * obj0 = 0 ;
3707 char *kwnames[] = {
3708 (char *) "variant", NULL
3709 };
3710
3711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3712 if (obj0) {
093d3ff1
RD
3713 {
3714 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3715 if (SWIG_arg_fail(1)) SWIG_fail;
3716 }
22bfe96c
RD
3717 }
3718 {
110da5b0 3719 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3722
3723 wxPyEndAllowThreads(__tstate);
dfbb5885 3724 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
3725 }
3726 {
3727 wxVisualAttributes * resultptr;
093d3ff1 3728 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
3729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3730 }
3731 return resultobj;
3732 fail:
3733 return NULL;
3734}
3735
3736
c32bde28 3737static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3738 PyObject *obj;
3739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3740 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3741 Py_INCREF(obj);
3742 return Py_BuildValue((char *)"");
3743}
c32bde28 3744static int _wrap_ChoiceNameStr_set(PyObject *) {
b2dc1044
RD
3745 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3746 return 1;
3747}
3748
3749
093d3ff1 3750static PyObject *_wrap_ChoiceNameStr_get(void) {
b2dc1044
RD
3751 PyObject *pyobj;
3752
3753 {
3754#if wxUSE_UNICODE
3755 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3756#else
3757 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3758#endif
3759 }
3760 return pyobj;
3761}
3762
3763
c32bde28 3764static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3765 PyObject *resultobj;
3766 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 3767 int arg2 = (int) -1 ;
d14a1e28
RD
3768 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3769 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3770 wxSize const &arg4_defvalue = wxDefaultSize ;
3771 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
3772 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3773 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3774 long arg6 = (long) 0 ;
3775 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3776 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3777 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3778 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
3779 wxChoice *result;
3780 wxPoint temp3 ;
3781 wxSize temp4 ;
ae8162c8
RD
3782 bool temp5 = false ;
3783 bool temp8 = false ;
d14a1e28 3784 PyObject * obj0 = 0 ;
994141e6 3785 PyObject * obj1 = 0 ;
d14a1e28
RD
3786 PyObject * obj2 = 0 ;
3787 PyObject * obj3 = 0 ;
3788 PyObject * obj4 = 0 ;
994141e6 3789 PyObject * obj5 = 0 ;
d14a1e28
RD
3790 PyObject * obj6 = 0 ;
3791 PyObject * obj7 = 0 ;
3792 char *kwnames[] = {
3793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3794 };
3795
a95a7133 3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3798 if (SWIG_arg_fail(1)) SWIG_fail;
a95a7133 3799 if (obj1) {
093d3ff1
RD
3800 {
3801 arg2 = (int)(SWIG_As_int(obj1));
3802 if (SWIG_arg_fail(2)) SWIG_fail;
3803 }
a95a7133 3804 }
d14a1e28
RD
3805 if (obj2) {
3806 {
3807 arg3 = &temp3;
3808 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3809 }
3810 }
3811 if (obj3) {
3812 {
3813 arg4 = &temp4;
3814 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3815 }
3816 }
3817 if (obj4) {
3818 {
4d5c3d91
RD
3819 if (! PySequence_Check(obj4)) {
3820 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3821 SWIG_fail;
3822 }
3823 arg5 = new wxArrayString;
ae8162c8 3824 temp5 = true;
4d5c3d91
RD
3825 int i, len=PySequence_Length(obj4);
3826 for (i=0; i<len; i++) {
3827 PyObject* item = PySequence_GetItem(obj4, i);
3828#if wxUSE_UNICODE
3829 PyObject* str = PyObject_Unicode(item);
3830#else
3831 PyObject* str = PyObject_Str(item);
3832#endif
74a57fcd 3833 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
3834 arg5->Add(Py2wxString(str));
3835 Py_DECREF(item);
3836 Py_DECREF(str);
3837 }
d14a1e28
RD
3838 }
3839 }
994141e6 3840 if (obj5) {
093d3ff1
RD
3841 {
3842 arg6 = (long)(SWIG_As_long(obj5));
3843 if (SWIG_arg_fail(6)) SWIG_fail;
3844 }
994141e6 3845 }
d14a1e28 3846 if (obj6) {
093d3ff1
RD
3847 {
3848 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3849 if (SWIG_arg_fail(7)) SWIG_fail;
3850 if (arg7 == NULL) {
3851 SWIG_null_ref("wxValidator");
3852 }
3853 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
3854 }
3855 }
3856 if (obj7) {
3857 {
4d5c3d91
RD
3858 arg8 = wxString_in_helper(obj7);
3859 if (arg8 == NULL) SWIG_fail;
ae8162c8 3860 temp8 = true;
d14a1e28
RD
3861 }
3862 }
3863 {
e3b71cb8 3864 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 3866 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
3867
3868 wxPyEndAllowThreads(__tstate);
110da5b0 3869 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3870 }
15afbcd0 3871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28 3872 {
3adfb63b 3873 if (temp5) delete arg5;
d14a1e28
RD
3874 }
3875 {
3876 if (temp8)
4d5c3d91 3877 delete arg8;
d14a1e28
RD
3878 }
3879 return resultobj;
3880 fail:
3881 {
3adfb63b 3882 if (temp5) delete arg5;
d14a1e28
RD
3883 }
3884 {
3885 if (temp8)
4d5c3d91 3886 delete arg8;
d14a1e28
RD
3887 }
3888 return NULL;
3889}
3890
3891
c32bde28 3892static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3893 PyObject *resultobj;
3894 wxChoice *result;
3895 char *kwnames[] = {
3896 NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3900 {
e3b71cb8 3901 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = (wxChoice *)new wxChoice();
3904
3905 wxPyEndAllowThreads(__tstate);
110da5b0 3906 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3907 }
15afbcd0 3908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28
RD
3909 return resultobj;
3910 fail:
3911 return NULL;
3912}
3913
3914
c32bde28 3915static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3916 PyObject *resultobj;
3917 wxChoice *arg1 = (wxChoice *) 0 ;
3918 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 3919 int arg3 = (int) -1 ;
d14a1e28
RD
3920 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3921 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3922 wxSize const &arg5_defvalue = wxDefaultSize ;
3923 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
3924 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3925 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3926 long arg7 = (long) 0 ;
3927 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3928 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3929 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3930 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
3931 bool result;
3932 wxPoint temp4 ;
3933 wxSize temp5 ;
ae8162c8
RD
3934 bool temp6 = false ;
3935 bool temp9 = false ;
d14a1e28
RD
3936 PyObject * obj0 = 0 ;
3937 PyObject * obj1 = 0 ;
994141e6 3938 PyObject * obj2 = 0 ;
d14a1e28
RD
3939 PyObject * obj3 = 0 ;
3940 PyObject * obj4 = 0 ;
3941 PyObject * obj5 = 0 ;
994141e6 3942 PyObject * obj6 = 0 ;
d14a1e28
RD
3943 PyObject * obj7 = 0 ;
3944 PyObject * obj8 = 0 ;
3945 char *kwnames[] = {
3946 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3947 };
3948
a95a7133 3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
3950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3951 if (SWIG_arg_fail(1)) SWIG_fail;
3952 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3953 if (SWIG_arg_fail(2)) SWIG_fail;
a95a7133 3954 if (obj2) {
093d3ff1
RD
3955 {
3956 arg3 = (int)(SWIG_As_int(obj2));
3957 if (SWIG_arg_fail(3)) SWIG_fail;
3958 }
a95a7133 3959 }
d14a1e28
RD
3960 if (obj3) {
3961 {
3962 arg4 = &temp4;
3963 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3964 }
3965 }
3966 if (obj4) {
3967 {
3968 arg5 = &temp5;
3969 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3970 }
3971 }
3972 if (obj5) {
3973 {
4d5c3d91
RD
3974 if (! PySequence_Check(obj5)) {
3975 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3976 SWIG_fail;
3977 }
3978 arg6 = new wxArrayString;
ae8162c8 3979 temp6 = true;
4d5c3d91
RD
3980 int i, len=PySequence_Length(obj5);
3981 for (i=0; i<len; i++) {
3982 PyObject* item = PySequence_GetItem(obj5, i);
3983#if wxUSE_UNICODE
3984 PyObject* str = PyObject_Unicode(item);
3985#else
3986 PyObject* str = PyObject_Str(item);
3987#endif
74a57fcd 3988 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
3989 arg6->Add(Py2wxString(str));
3990 Py_DECREF(item);
3991 Py_DECREF(str);
3992 }
d14a1e28
RD
3993 }
3994 }
994141e6 3995 if (obj6) {
093d3ff1
RD
3996 {
3997 arg7 = (long)(SWIG_As_long(obj6));
3998 if (SWIG_arg_fail(7)) SWIG_fail;
3999 }
994141e6 4000 }
d14a1e28 4001 if (obj7) {
093d3ff1
RD
4002 {
4003 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4004 if (SWIG_arg_fail(8)) SWIG_fail;
4005 if (arg8 == NULL) {
4006 SWIG_null_ref("wxValidator");
4007 }
4008 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
4009 }
4010 }
4011 if (obj8) {
4012 {
4d5c3d91
RD
4013 arg9 = wxString_in_helper(obj8);
4014 if (arg9 == NULL) SWIG_fail;
ae8162c8 4015 temp9 = true;
d14a1e28
RD
4016 }
4017 }
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4020 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
4021
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4f89f6a3
RD
4025 {
4026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4027 }
d14a1e28 4028 {
3adfb63b 4029 if (temp6) delete arg6;
d14a1e28
RD
4030 }
4031 {
4032 if (temp9)
4d5c3d91 4033 delete arg9;
d14a1e28
RD
4034 }
4035 return resultobj;
4036 fail:
4037 {
3adfb63b 4038 if (temp6) delete arg6;
d14a1e28
RD
4039 }
4040 {
4041 if (temp9)
4d5c3d91 4042 delete arg9;
d14a1e28
RD
4043 }
4044 return NULL;
4045}
4046
4047
c32bde28 4048static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 4049 PyObject *resultobj;
093d3ff1 4050 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
4051 wxVisualAttributes result;
4052 PyObject * obj0 = 0 ;
4053 char *kwnames[] = {
4054 (char *) "variant", NULL
4055 };
4056
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4058 if (obj0) {
093d3ff1
RD
4059 {
4060 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4061 if (SWIG_arg_fail(1)) SWIG_fail;
4062 }
22bfe96c
RD
4063 }
4064 {
110da5b0 4065 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4068
4069 wxPyEndAllowThreads(__tstate);
dfbb5885 4070 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4071 }
4072 {
4073 wxVisualAttributes * resultptr;
093d3ff1 4074 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
4075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4076 }
4077 return resultobj;
4078 fail:
4079 return NULL;
4080}
4081
4082
c32bde28 4083static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4084 PyObject *obj;
4085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4086 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4087 Py_INCREF(obj);
4088 return Py_BuildValue((char *)"");
4089}
c32bde28 4090static int _wrap_ComboBoxNameStr_set(PyObject *) {
b2dc1044
RD
4091 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4092 return 1;
4093}
4094
4095
093d3ff1 4096static PyObject *_wrap_ComboBoxNameStr_get(void) {
b2dc1044
RD
4097 PyObject *pyobj;
4098
4099 {
4100#if wxUSE_UNICODE
4101 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4102#else
4103 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4104#endif
4105 }
4106 return pyobj;
4107}
4108
4109
c32bde28 4110static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4111 PyObject *resultobj;
4112 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 4113 int arg2 = (int) -1 ;
d14a1e28
RD
4114 wxString const &arg3_defvalue = wxPyEmptyString ;
4115 wxString *arg3 = (wxString *) &arg3_defvalue ;
4116 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4117 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4118 wxSize const &arg5_defvalue = wxDefaultSize ;
4119 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
4120 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4121 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4122 long arg7 = (long) 0 ;
4123 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4124 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4125 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4126 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28 4127 wxComboBox *result;
ae8162c8 4128 bool temp3 = false ;
d14a1e28
RD
4129 wxPoint temp4 ;
4130 wxSize temp5 ;
ae8162c8
RD
4131 bool temp6 = false ;
4132 bool temp9 = false ;
d14a1e28 4133 PyObject * obj0 = 0 ;
994141e6 4134 PyObject * obj1 = 0 ;
d14a1e28
RD
4135 PyObject * obj2 = 0 ;
4136 PyObject * obj3 = 0 ;
4137 PyObject * obj4 = 0 ;
4138 PyObject * obj5 = 0 ;
994141e6 4139 PyObject * obj6 = 0 ;
d14a1e28
RD
4140 PyObject * obj7 = 0 ;
4141 PyObject * obj8 = 0 ;
4142 char *kwnames[] = {
4143 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4144 };
4145
a95a7133 4146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
4147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4148 if (SWIG_arg_fail(1)) SWIG_fail;
a95a7133 4149 if (obj1) {
093d3ff1
RD
4150 {
4151 arg2 = (int)(SWIG_As_int(obj1));
4152 if (SWIG_arg_fail(2)) SWIG_fail;
4153 }
a95a7133 4154 }
d14a1e28
RD
4155 if (obj2) {
4156 {
4157 arg3 = wxString_in_helper(obj2);
4158 if (arg3 == NULL) SWIG_fail;
ae8162c8 4159 temp3 = true;
d14a1e28
RD
4160 }
4161 }
4162 if (obj3) {
4163 {
4164 arg4 = &temp4;
4165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4166 }
4167 }
4168 if (obj4) {
4169 {
4170 arg5 = &temp5;
4171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4172 }
4173 }
4174 if (obj5) {
4175 {
4d5c3d91
RD
4176 if (! PySequence_Check(obj5)) {
4177 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4178 SWIG_fail;
4179 }
4180 arg6 = new wxArrayString;
ae8162c8 4181 temp6 = true;
4d5c3d91
RD
4182 int i, len=PySequence_Length(obj5);
4183 for (i=0; i<len; i++) {
4184 PyObject* item = PySequence_GetItem(obj5, i);
4185#if wxUSE_UNICODE
4186 PyObject* str = PyObject_Unicode(item);
4187#else
4188 PyObject* str = PyObject_Str(item);
4189#endif
74a57fcd 4190 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
4191 arg6->Add(Py2wxString(str));
4192 Py_DECREF(item);
4193 Py_DECREF(str);
4194 }
d14a1e28
RD
4195 }
4196 }
994141e6 4197 if (obj6) {
093d3ff1
RD
4198 {
4199 arg7 = (long)(SWIG_As_long(obj6));
4200 if (SWIG_arg_fail(7)) SWIG_fail;
4201 }
994141e6 4202 }
d14a1e28 4203 if (obj7) {
093d3ff1
RD
4204 {
4205 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4206 if (SWIG_arg_fail(8)) SWIG_fail;
4207 if (arg8 == NULL) {
4208 SWIG_null_ref("wxValidator");
4209 }
4210 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
4211 }
4212 }
4213 if (obj8) {
4214 {
4d5c3d91
RD
4215 arg9 = wxString_in_helper(obj8);
4216 if (arg9 == NULL) SWIG_fail;
ae8162c8 4217 temp9 = true;
d14a1e28
RD
4218 }
4219 }
4220 {
e3b71cb8 4221 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4223 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
4224
4225 wxPyEndAllowThreads(__tstate);
110da5b0 4226 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4227 }
15afbcd0 4228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
4229 {
4230 if (temp3)
4231 delete arg3;
4232 }
4233 {
3adfb63b 4234 if (temp6) delete arg6;
d14a1e28
RD
4235 }
4236 {
4237 if (temp9)
4d5c3d91 4238 delete arg9;
d14a1e28
RD
4239 }
4240 return resultobj;
4241 fail:
4242 {
4243 if (temp3)
4244 delete arg3;
4245 }
4246 {
3adfb63b 4247 if (temp6) delete arg6;
d14a1e28
RD
4248 }
4249 {
4250 if (temp9)
4d5c3d91 4251 delete arg9;
d14a1e28
RD
4252 }
4253 return NULL;
4254}
4255
4256
c32bde28 4257static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4258 PyObject *resultobj;
4259 wxComboBox *result;
4260 char *kwnames[] = {
4261 NULL
4262 };
4263
4264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4265 {
e3b71cb8 4266 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 result = (wxComboBox *)new wxComboBox();
4269
4270 wxPyEndAllowThreads(__tstate);
110da5b0 4271 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4272 }
15afbcd0 4273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
4274 return resultobj;
4275 fail:
4276 return NULL;
4277}
4278
4279
c32bde28 4280static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4281 PyObject *resultobj;
4282 wxComboBox *arg1 = (wxComboBox *) 0 ;
4283 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 4284 int arg3 = (int) -1 ;
d14a1e28
RD
4285 wxString const &arg4_defvalue = wxPyEmptyString ;
4286 wxString *arg4 = (wxString *) &arg4_defvalue ;
4287 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4288 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4289 wxSize const &arg6_defvalue = wxDefaultSize ;
4290 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
4291 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4292 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4293 long arg8 = (long) 0 ;
4294 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4295 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
b88bce5f 4296 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4d5c3d91 4297 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 4298 bool result;
ae8162c8 4299 bool temp4 = false ;
d14a1e28
RD
4300 wxPoint temp5 ;
4301 wxSize temp6 ;
ae8162c8
RD
4302 bool temp7 = false ;
4303 bool temp10 = false ;
d14a1e28
RD
4304 PyObject * obj0 = 0 ;
4305 PyObject * obj1 = 0 ;
994141e6 4306 PyObject * obj2 = 0 ;
d14a1e28
RD
4307 PyObject * obj3 = 0 ;
4308 PyObject * obj4 = 0 ;
4309 PyObject * obj5 = 0 ;
4310 PyObject * obj6 = 0 ;
994141e6 4311 PyObject * obj7 = 0 ;
d14a1e28
RD
4312 PyObject * obj8 = 0 ;
4313 PyObject * obj9 = 0 ;
4314 char *kwnames[] = {
4315 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4316 };
4317
a95a7133 4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
093d3ff1
RD
4319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4320 if (SWIG_arg_fail(1)) SWIG_fail;
4321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4322 if (SWIG_arg_fail(2)) SWIG_fail;
a95a7133 4323 if (obj2) {
093d3ff1
RD
4324 {
4325 arg3 = (int)(SWIG_As_int(obj2));
4326 if (SWIG_arg_fail(3)) SWIG_fail;
4327 }
a95a7133 4328 }
d14a1e28
RD
4329 if (obj3) {
4330 {
4331 arg4 = wxString_in_helper(obj3);
4332 if (arg4 == NULL) SWIG_fail;
ae8162c8 4333 temp4 = true;
d14a1e28
RD
4334 }
4335 }
4336 if (obj4) {
4337 {
4338 arg5 = &temp5;
4339 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4340 }
4341 }
4342 if (obj5) {
4343 {
4344 arg6 = &temp6;
4345 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4346 }
4347 }
4348 if (obj6) {
4349 {
4d5c3d91
RD
4350 if (! PySequence_Check(obj6)) {
4351 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4352 SWIG_fail;
4353 }
4354 arg7 = new wxArrayString;
ae8162c8 4355 temp7 = true;
4d5c3d91
RD
4356 int i, len=PySequence_Length(obj6);
4357 for (i=0; i<len; i++) {
4358 PyObject* item = PySequence_GetItem(obj6, i);
4359#if wxUSE_UNICODE
4360 PyObject* str = PyObject_Unicode(item);
4361#else
4362 PyObject* str = PyObject_Str(item);
4363#endif
74a57fcd 4364 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
4365 arg7->Add(Py2wxString(str));
4366 Py_DECREF(item);
4367 Py_DECREF(str);
4368 }
d14a1e28
RD
4369 }
4370 }
994141e6 4371 if (obj7) {
093d3ff1
RD
4372 {
4373 arg8 = (long)(SWIG_As_long(obj7));
4374 if (SWIG_arg_fail(8)) SWIG_fail;
4375 }
994141e6 4376 }
d14a1e28 4377 if (obj8) {
093d3ff1
RD
4378 {
4379 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4380 if (SWIG_arg_fail(9)) SWIG_fail;
4381 if (arg9 == NULL) {
4382 SWIG_null_ref("wxValidator");
4383 }
4384 if (SWIG_arg_fail(9)) SWIG_fail;
d14a1e28
RD
4385 }
4386 }
4387 if (obj9) {
4388 {
4d5c3d91
RD
4389 arg10 = wxString_in_helper(obj9);
4390 if (arg10 == NULL) SWIG_fail;
ae8162c8 4391 temp10 = true;
d14a1e28
RD
4392 }
4393 }
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 4396 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
4397
4398 wxPyEndAllowThreads(__tstate);
4399 if (PyErr_Occurred()) SWIG_fail;
4400 }
4f89f6a3
RD
4401 {
4402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4403 }
d14a1e28
RD
4404 {
4405 if (temp4)
4406 delete arg4;
4407 }
4408 {
3adfb63b 4409 if (temp7) delete arg7;
d14a1e28
RD
4410 }
4411 {
4412 if (temp10)
4d5c3d91 4413 delete arg10;
d14a1e28
RD
4414 }
4415 return resultobj;
4416 fail:
4417 {
4418 if (temp4)
4419 delete arg4;
4420 }
4421 {
3adfb63b 4422 if (temp7) delete arg7;
d14a1e28
RD
4423 }
4424 {
4425 if (temp10)
4d5c3d91 4426 delete arg10;
d14a1e28
RD
4427 }
4428 return NULL;
4429}
4430
4431
c32bde28 4432static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4433 PyObject *resultobj;
4434 wxComboBox *arg1 = (wxComboBox *) 0 ;
4435 wxString result;
4436 PyObject * obj0 = 0 ;
4437 char *kwnames[] = {
4438 (char *) "self", NULL
4439 };
4440
4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
4442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4443 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4444 {
4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4446 result = ((wxComboBox const *)arg1)->GetValue();
4447
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
4451 {
4452#if wxUSE_UNICODE
4453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4454#else
4455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4456#endif
4457 }
4458 return resultobj;
4459 fail:
4460 return NULL;
4461}
4462
4463
c32bde28 4464static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4465 PyObject *resultobj;
4466 wxComboBox *arg1 = (wxComboBox *) 0 ;
4467 wxString *arg2 = 0 ;
ae8162c8 4468 bool temp2 = false ;
d14a1e28
RD
4469 PyObject * obj0 = 0 ;
4470 PyObject * obj1 = 0 ;
4471 char *kwnames[] = {
4472 (char *) "self",(char *) "value", NULL
4473 };
4474
4475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4477 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4478 {
4479 arg2 = wxString_in_helper(obj1);
4480 if (arg2 == NULL) SWIG_fail;
ae8162c8 4481 temp2 = true;
d14a1e28
RD
4482 }
4483 {
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 (arg1)->SetValue((wxString const &)*arg2);
4486
4487 wxPyEndAllowThreads(__tstate);
4488 if (PyErr_Occurred()) SWIG_fail;
4489 }
4490 Py_INCREF(Py_None); resultobj = Py_None;
4491 {
4492 if (temp2)
4493 delete arg2;
4494 }
4495 return resultobj;
4496 fail:
4497 {
4498 if (temp2)
4499 delete arg2;
4500 }
4501 return NULL;
4502}
4503
4504
c32bde28 4505static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4506 PyObject *resultobj;
4507 wxComboBox *arg1 = (wxComboBox *) 0 ;
4508 PyObject * obj0 = 0 ;
4509 char *kwnames[] = {
4510 (char *) "self", NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
4514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4515 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4516 {
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 (arg1)->Copy();
4519
4520 wxPyEndAllowThreads(__tstate);
4521 if (PyErr_Occurred()) SWIG_fail;
4522 }
4523 Py_INCREF(Py_None); resultobj = Py_None;
4524 return resultobj;
4525 fail:
4526 return NULL;
4527}
4528
4529
c32bde28 4530static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4531 PyObject *resultobj;
4532 wxComboBox *arg1 = (wxComboBox *) 0 ;
4533 PyObject * obj0 = 0 ;
4534 char *kwnames[] = {
4535 (char *) "self", NULL
4536 };
4537
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
4539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4540 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 (arg1)->Cut();
4544
4545 wxPyEndAllowThreads(__tstate);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 Py_INCREF(Py_None); resultobj = Py_None;
4549 return resultobj;
4550 fail:
4551 return NULL;
4552}
4553
4554
c32bde28 4555static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4556 PyObject *resultobj;
4557 wxComboBox *arg1 = (wxComboBox *) 0 ;
4558 PyObject * obj0 = 0 ;
4559 char *kwnames[] = {
4560 (char *) "self", NULL
4561 };
4562
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
4564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4565 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
4568 (arg1)->Paste();
4569
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 }
4573 Py_INCREF(Py_None); resultobj = Py_None;
4574 return resultobj;
4575 fail:
4576 return NULL;
4577}
4578
4579
c32bde28 4580static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4581 PyObject *resultobj;
4582 wxComboBox *arg1 = (wxComboBox *) 0 ;
4583 long arg2 ;
4584 PyObject * obj0 = 0 ;
994141e6 4585 PyObject * obj1 = 0 ;
d14a1e28
RD
4586 char *kwnames[] = {
4587 (char *) "self",(char *) "pos", NULL
4588 };
4589
994141e6 4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4592 if (SWIG_arg_fail(1)) SWIG_fail;
4593 {
4594 arg2 = (long)(SWIG_As_long(obj1));
4595 if (SWIG_arg_fail(2)) SWIG_fail;
4596 }
d14a1e28
RD
4597 {
4598 PyThreadState* __tstate = wxPyBeginAllowThreads();
4599 (arg1)->SetInsertionPoint(arg2);
4600
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
4604 Py_INCREF(Py_None); resultobj = Py_None;
4605 return resultobj;
4606 fail:
4607 return NULL;
4608}
4609
4610
c32bde28 4611static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4612 PyObject *resultobj;
4613 wxComboBox *arg1 = (wxComboBox *) 0 ;
4614 long result;
4615 PyObject * obj0 = 0 ;
4616 char *kwnames[] = {
4617 (char *) "self", NULL
4618 };
4619
4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
4621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4622 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4623 {
4624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4625 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4626
4627 wxPyEndAllowThreads(__tstate);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 }
093d3ff1
RD
4630 {
4631 resultobj = SWIG_From_long((long)(result));
4632 }
d14a1e28
RD
4633 return resultobj;
4634 fail:
4635 return NULL;
4636}
4637
4638
c32bde28 4639static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4640 PyObject *resultobj;
4641 wxComboBox *arg1 = (wxComboBox *) 0 ;
4642 long result;
4643 PyObject * obj0 = 0 ;
4644 char *kwnames[] = {
4645 (char *) "self", NULL
4646 };
4647
4648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
4649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4650 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4651 {
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4654
4655 wxPyEndAllowThreads(__tstate);
4656 if (PyErr_Occurred()) SWIG_fail;
4657 }
093d3ff1
RD
4658 {
4659 resultobj = SWIG_From_long((long)(result));
4660 }
d14a1e28
RD
4661 return resultobj;
4662 fail:
4663 return NULL;
4664}
4665
4666
c32bde28 4667static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4668 PyObject *resultobj;
4669 wxComboBox *arg1 = (wxComboBox *) 0 ;
4670 long arg2 ;
4671 long arg3 ;
4672 wxString *arg4 = 0 ;
ae8162c8 4673 bool temp4 = false ;
d14a1e28 4674 PyObject * obj0 = 0 ;
994141e6
RD
4675 PyObject * obj1 = 0 ;
4676 PyObject * obj2 = 0 ;
d14a1e28
RD
4677 PyObject * obj3 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4680 };
4681
994141e6 4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
4683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4684 if (SWIG_arg_fail(1)) SWIG_fail;
4685 {
4686 arg2 = (long)(SWIG_As_long(obj1));
4687 if (SWIG_arg_fail(2)) SWIG_fail;
4688 }
4689 {
4690 arg3 = (long)(SWIG_As_long(obj2));
4691 if (SWIG_arg_fail(3)) SWIG_fail;
4692 }
d14a1e28
RD
4693 {
4694 arg4 = wxString_in_helper(obj3);
4695 if (arg4 == NULL) SWIG_fail;
ae8162c8 4696 temp4 = true;
d14a1e28
RD
4697 }
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 Py_INCREF(Py_None); resultobj = Py_None;
4706 {
4707 if (temp4)
4708 delete arg4;
4709 }
4710 return resultobj;
4711 fail:
4712 {
4713 if (temp4)
4714 delete arg4;
4715 }
4716 return NULL;
4717}
4718
4719
c32bde28 4720static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
fd3f2efe
RD
4721 PyObject *resultobj;
4722 wxComboBox *arg1 = (wxComboBox *) 0 ;
4723 int arg2 ;
4724 PyObject * obj0 = 0 ;
994141e6 4725 PyObject * obj1 = 0 ;
fd3f2efe
RD
4726 char *kwnames[] = {
4727 (char *) "self",(char *) "n", NULL
4728 };
4729
994141e6 4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4732 if (SWIG_arg_fail(1)) SWIG_fail;
4733 {
4734 arg2 = (int)(SWIG_As_int(obj1));
4735 if (SWIG_arg_fail(2)) SWIG_fail;
4736 }
fd3f2efe
RD
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 (arg1)->SetSelection(arg2);
4740
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 Py_INCREF(Py_None); resultobj = Py_None;
4745 return resultobj;
4746 fail:
4747 return NULL;
4748}
4749
4750
c32bde28 4751static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4752 PyObject *resultobj;
4753 wxComboBox *arg1 = (wxComboBox *) 0 ;
4754 long arg2 ;
4755 long arg3 ;
4756 PyObject * obj0 = 0 ;
994141e6
RD
4757 PyObject * obj1 = 0 ;
4758 PyObject * obj2 = 0 ;
d14a1e28
RD
4759 char *kwnames[] = {
4760 (char *) "self",(char *) "from",(char *) "to", NULL
4761 };
4762
994141e6 4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4765 if (SWIG_arg_fail(1)) SWIG_fail;
4766 {
4767 arg2 = (long)(SWIG_As_long(obj1));
4768 if (SWIG_arg_fail(2)) SWIG_fail;
4769 }
4770 {
4771 arg3 = (long)(SWIG_As_long(obj2));
4772 if (SWIG_arg_fail(3)) SWIG_fail;
4773 }
d14a1e28
RD
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 (arg1)->SetSelection(arg2,arg3);
4777
4778 wxPyEndAllowThreads(__tstate);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 }
4781 Py_INCREF(Py_None); resultobj = Py_None;
4782 return resultobj;
4783 fail:
4784 return NULL;
4785}
4786
4787
b9d6a5f3
RD
4788static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj;
4790 wxComboBox *arg1 = (wxComboBox *) 0 ;
4791 long *arg2 = (long *) 0 ;
4792 long *arg3 = (long *) 0 ;
4793 long temp2 ;
4794 int res2 = 0 ;
4795 long temp3 ;
4796 int res3 = 0 ;
4797 PyObject * obj0 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "self", NULL
4800 };
4801
4802 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4803 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
4805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4806 if (SWIG_arg_fail(1)) SWIG_fail;
4807 {
4808 PyThreadState* __tstate = wxPyBeginAllowThreads();
4809 (arg1)->GetSelection(arg2,arg3);
4810
4811 wxPyEndAllowThreads(__tstate);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 Py_INCREF(Py_None); resultobj = Py_None;
4815 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4816 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4817 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4818 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4819 return resultobj;
4820 fail:
4821 return NULL;
4822}
4823
4824
c32bde28 4825static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4826 PyObject *resultobj;
4827 wxComboBox *arg1 = (wxComboBox *) 0 ;
4828 wxString *arg2 = 0 ;
4829 bool result;
ae8162c8 4830 bool temp2 = false ;
121b9a67
RD
4831 PyObject * obj0 = 0 ;
4832 PyObject * obj1 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self",(char *) "string", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4839 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
4840 {
4841 arg2 = wxString_in_helper(obj1);
4842 if (arg2 == NULL) SWIG_fail;
ae8162c8 4843 temp2 = true;
121b9a67
RD
4844 }
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4848
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 {
4853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4854 }
4855 {
4856 if (temp2)
4857 delete arg2;
4858 }
4859 return resultobj;
4860 fail:
4861 {
4862 if (temp2)
4863 delete arg2;
4864 }
4865 return NULL;
4866}
4867
4868
c32bde28 4869static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4870 PyObject *resultobj;
4871 wxComboBox *arg1 = (wxComboBox *) 0 ;
4872 int arg2 ;
4873 wxString *arg3 = 0 ;
ae8162c8 4874 bool temp3 = false ;
121b9a67
RD
4875 PyObject * obj0 = 0 ;
4876 PyObject * obj1 = 0 ;
4877 PyObject * obj2 = 0 ;
4878 char *kwnames[] = {
4879 (char *) "self",(char *) "n",(char *) "string", NULL
4880 };
4881
4882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4884 if (SWIG_arg_fail(1)) SWIG_fail;
4885 {
4886 arg2 = (int)(SWIG_As_int(obj1));
4887 if (SWIG_arg_fail(2)) SWIG_fail;
4888 }
121b9a67
RD
4889 {
4890 arg3 = wxString_in_helper(obj2);
4891 if (arg3 == NULL) SWIG_fail;
ae8162c8 4892 temp3 = true;
121b9a67
RD
4893 }
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 (arg1)->SetString(arg2,(wxString const &)*arg3);
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 Py_INCREF(Py_None); resultobj = Py_None;
4902 {
4903 if (temp3)
4904 delete arg3;
4905 }
4906 return resultobj;
4907 fail:
4908 {
4909 if (temp3)
4910 delete arg3;
4911 }
4912 return NULL;
4913}
4914
4915
c32bde28 4916static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4917 PyObject *resultobj;
4918 wxComboBox *arg1 = (wxComboBox *) 0 ;
4919 bool arg2 ;
4920 PyObject * obj0 = 0 ;
4921 PyObject * obj1 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "self",(char *) "editable", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4928 if (SWIG_arg_fail(1)) SWIG_fail;
4929 {
4930 arg2 = (bool)(SWIG_As_bool(obj1));
4931 if (SWIG_arg_fail(2)) SWIG_fail;
4932 }
d14a1e28
RD
4933 {
4934 PyThreadState* __tstate = wxPyBeginAllowThreads();
4935 (arg1)->SetEditable(arg2);
4936
4937 wxPyEndAllowThreads(__tstate);
4938 if (PyErr_Occurred()) SWIG_fail;
4939 }
4940 Py_INCREF(Py_None); resultobj = Py_None;
4941 return resultobj;
4942 fail:
4943 return NULL;
4944}
4945
4946
c32bde28 4947static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4948 PyObject *resultobj;
4949 wxComboBox *arg1 = (wxComboBox *) 0 ;
4950 PyObject * obj0 = 0 ;
4951 char *kwnames[] = {
4952 (char *) "self", NULL
4953 };
4954
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
4956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4957 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4958 {
4959 PyThreadState* __tstate = wxPyBeginAllowThreads();
4960 (arg1)->SetInsertionPointEnd();
4961
4962 wxPyEndAllowThreads(__tstate);
4963 if (PyErr_Occurred()) SWIG_fail;
4964 }
4965 Py_INCREF(Py_None); resultobj = Py_None;
4966 return resultobj;
4967 fail:
4968 return NULL;
4969}
4970
4971
c32bde28 4972static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4973 PyObject *resultobj;
4974 wxComboBox *arg1 = (wxComboBox *) 0 ;
4975 long arg2 ;
4976 long arg3 ;
4977 PyObject * obj0 = 0 ;
994141e6
RD
4978 PyObject * obj1 = 0 ;
4979 PyObject * obj2 = 0 ;
d14a1e28
RD
4980 char *kwnames[] = {
4981 (char *) "self",(char *) "from",(char *) "to", NULL
4982 };
4983
994141e6 4984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4986 if (SWIG_arg_fail(1)) SWIG_fail;
4987 {
4988 arg2 = (long)(SWIG_As_long(obj1));
4989 if (SWIG_arg_fail(2)) SWIG_fail;
4990 }
4991 {
4992 arg3 = (long)(SWIG_As_long(obj2));
4993 if (SWIG_arg_fail(3)) SWIG_fail;
4994 }
d14a1e28
RD
4995 {
4996 PyThreadState* __tstate = wxPyBeginAllowThreads();
4997 (arg1)->Remove(arg2,arg3);
4998
4999 wxPyEndAllowThreads(__tstate);
5000 if (PyErr_Occurred()) SWIG_fail;
5001 }
5002 Py_INCREF(Py_None); resultobj = Py_None;
5003 return resultobj;
5004 fail:
5005 return NULL;
5006}
5007
5008
5cbf236d
RD
5009static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5010 PyObject *resultobj;
5011 wxComboBox *arg1 = (wxComboBox *) 0 ;
5012 bool result;
5013 PyObject * obj0 = 0 ;
5014 char *kwnames[] = {
5015 (char *) "self", NULL
5016 };
5017
5018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
5019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5020 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5021 {
5022 PyThreadState* __tstate = wxPyBeginAllowThreads();
5023 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5024
5025 wxPyEndAllowThreads(__tstate);
5026 if (PyErr_Occurred()) SWIG_fail;
5027 }
5028 {
5029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5030 }
5031 return resultobj;
5032 fail:
5033 return NULL;
5034}
5035
5036
5037static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5038 PyObject *resultobj;
5039 wxComboBox *arg1 = (wxComboBox *) 0 ;
5040 PyObject * obj0 = 0 ;
5041 char *kwnames[] = {
5042 (char *) "self", NULL
5043 };
5044
5045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5047 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
5050 (arg1)->Undo();
5051
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 Py_INCREF(Py_None); resultobj = Py_None;
5056 return resultobj;
5057 fail:
5058 return NULL;
5059}
5060
5061
5062static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5063 PyObject *resultobj;
5064 wxComboBox *arg1 = (wxComboBox *) 0 ;
5065 PyObject * obj0 = 0 ;
5066 char *kwnames[] = {
5067 (char *) "self", NULL
5068 };
5069
5070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5072 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 (arg1)->Redo();
5076
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 Py_INCREF(Py_None); resultobj = Py_None;
5081 return resultobj;
5082 fail:
5083 return NULL;
5084}
5085
5086
5087static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5088 PyObject *resultobj;
5089 wxComboBox *arg1 = (wxComboBox *) 0 ;
5090 PyObject * obj0 = 0 ;
5091 char *kwnames[] = {
5092 (char *) "self", NULL
5093 };
5094
5095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
5096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5097 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5098 {
5099 PyThreadState* __tstate = wxPyBeginAllowThreads();
5100 (arg1)->SelectAll();
5101
5102 wxPyEndAllowThreads(__tstate);
5103 if (PyErr_Occurred()) SWIG_fail;
5104 }
5105 Py_INCREF(Py_None); resultobj = Py_None;
5106 return resultobj;
5107 fail:
5108 return NULL;
5109}
5110
5111
5112static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5113 PyObject *resultobj;
5114 wxComboBox *arg1 = (wxComboBox *) 0 ;
5115 bool result;
5116 PyObject * obj0 = 0 ;
5117 char *kwnames[] = {
5118 (char *) "self", NULL
5119 };
5120
5121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
5122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5123 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5127
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
5131 {
5132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5133 }
5134 return resultobj;
5135 fail:
5136 return NULL;
5137}
5138
5139
5140static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5141 PyObject *resultobj;
5142 wxComboBox *arg1 = (wxComboBox *) 0 ;
5143 bool result;
5144 PyObject * obj0 = 0 ;
5145 char *kwnames[] = {
5146 (char *) "self", NULL
5147 };
5148
5149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
5150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5151 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5152 {
5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
5154 result = (bool)((wxComboBox const *)arg1)->CanCut();
5155
5156 wxPyEndAllowThreads(__tstate);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
5159 {
5160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5161 }
5162 return resultobj;
5163 fail:
5164 return NULL;
5165}
5166
5167
5168static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5169 PyObject *resultobj;
5170 wxComboBox *arg1 = (wxComboBox *) 0 ;
5171 bool result;
5172 PyObject * obj0 = 0 ;
5173 char *kwnames[] = {
5174 (char *) "self", NULL
5175 };
5176
5177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
5178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5179 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5180 {
5181 PyThreadState* __tstate = wxPyBeginAllowThreads();
5182 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5183
5184 wxPyEndAllowThreads(__tstate);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 }
5187 {
5188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5189 }
5190 return resultobj;
5191 fail:
5192 return NULL;
5193}
5194
5195
5196static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5197 PyObject *resultobj;
5198 wxComboBox *arg1 = (wxComboBox *) 0 ;
5199 bool result;
5200 PyObject * obj0 = 0 ;
5201 char *kwnames[] = {
5202 (char *) "self", NULL
5203 };
5204
5205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5207 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5208 {
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5211
5212 wxPyEndAllowThreads(__tstate);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 {
5216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5217 }
5218 return resultobj;
5219 fail:
5220 return NULL;
5221}
5222
5223
5224static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxComboBox *arg1 = (wxComboBox *) 0 ;
5227 bool result;
5228 PyObject * obj0 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
5234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5235 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 {
5244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5245 }
5246 return resultobj;
5247 fail:
5248 return NULL;
5249}
5250
5251
c32bde28 5252static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 5253 PyObject *resultobj;
093d3ff1 5254 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
5255 wxVisualAttributes result;
5256 PyObject * obj0 = 0 ;
5257 char *kwnames[] = {
5258 (char *) "variant", NULL
5259 };
5260
5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5262 if (obj0) {
093d3ff1
RD
5263 {
5264 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5265 if (SWIG_arg_fail(1)) SWIG_fail;
5266 }
22bfe96c
RD
5267 }
5268 {
110da5b0 5269 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
5271 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5272
5273 wxPyEndAllowThreads(__tstate);
dfbb5885 5274 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5275 }
5276 {
5277 wxVisualAttributes * resultptr;
093d3ff1 5278 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
5279 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5280 }
5281 return resultobj;
5282 fail:
5283 return NULL;
5284}
5285
5286
c32bde28 5287static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5288 PyObject *obj;
5289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5290 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5291 Py_INCREF(obj);
5292 return Py_BuildValue((char *)"");
5293}
c32bde28 5294static int _wrap_GaugeNameStr_set(PyObject *) {
b2dc1044
RD
5295 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5296 return 1;
5297}
5298
5299
093d3ff1 5300static PyObject *_wrap_GaugeNameStr_get(void) {
b2dc1044
RD
5301 PyObject *pyobj;
5302
5303 {
5304#if wxUSE_UNICODE
5305 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5306#else
5307 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5308#endif
5309 }
5310 return pyobj;
5311}
5312
5313
c32bde28 5314static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5315 PyObject *resultobj;
5316 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5317 int arg2 = (int) -1 ;
5318 int arg3 = (int) 100 ;
d14a1e28
RD
5319 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5320 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5321 wxSize const &arg5_defvalue = wxDefaultSize ;
5322 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5323 long arg6 = (long) wxGA_HORIZONTAL ;
5324 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5325 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5326 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5327 wxString *arg8 = (wxString *) &arg8_defvalue ;
5328 wxGauge *result;
5329 wxPoint temp4 ;
5330 wxSize temp5 ;
ae8162c8 5331 bool temp8 = false ;
d14a1e28 5332 PyObject * obj0 = 0 ;
994141e6
RD
5333 PyObject * obj1 = 0 ;
5334 PyObject * obj2 = 0 ;
d14a1e28
RD
5335 PyObject * obj3 = 0 ;
5336 PyObject * obj4 = 0 ;
994141e6 5337 PyObject * obj5 = 0 ;
d14a1e28
RD
5338 PyObject * obj6 = 0 ;
5339 PyObject * obj7 = 0 ;
5340 char *kwnames[] = {
5341 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5342 };
5343
248ed943 5344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5346 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5347 if (obj1) {
093d3ff1
RD
5348 {
5349 arg2 = (int)(SWIG_As_int(obj1));
5350 if (SWIG_arg_fail(2)) SWIG_fail;
5351 }
248ed943
RD
5352 }
5353 if (obj2) {
093d3ff1
RD
5354 {
5355 arg3 = (int)(SWIG_As_int(obj2));
5356 if (SWIG_arg_fail(3)) SWIG_fail;
5357 }
248ed943 5358 }
d14a1e28
RD
5359 if (obj3) {
5360 {
5361 arg4 = &temp4;
5362 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5363 }
5364 }
5365 if (obj4) {
5366 {
5367 arg5 = &temp5;
5368 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5369 }
5370 }
994141e6 5371 if (obj5) {
093d3ff1
RD
5372 {
5373 arg6 = (long)(SWIG_As_long(obj5));
5374 if (SWIG_arg_fail(6)) SWIG_fail;
5375 }
994141e6 5376 }
d14a1e28 5377 if (obj6) {
093d3ff1
RD
5378 {
5379 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5380 if (SWIG_arg_fail(7)) SWIG_fail;
5381 if (arg7 == NULL) {
5382 SWIG_null_ref("wxValidator");
5383 }
5384 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
5385 }
5386 }
5387 if (obj7) {
5388 {
5389 arg8 = wxString_in_helper(obj7);
5390 if (arg8 == NULL) SWIG_fail;
ae8162c8 5391 temp8 = true;
d14a1e28
RD
5392 }
5393 }
5394 {
e3b71cb8 5395 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5398
5399 wxPyEndAllowThreads(__tstate);
110da5b0 5400 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5401 }
15afbcd0 5402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
5403 {
5404 if (temp8)
5405 delete arg8;
5406 }
5407 return resultobj;
5408 fail:
5409 {
5410 if (temp8)
5411 delete arg8;
5412 }
5413 return NULL;
5414}
5415
5416
c32bde28 5417static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5418 PyObject *resultobj;
5419 wxGauge *result;
5420 char *kwnames[] = {
5421 NULL
5422 };
5423
5424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5425 {
e3b71cb8 5426 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5427 PyThreadState* __tstate = wxPyBeginAllowThreads();
5428 result = (wxGauge *)new wxGauge();
5429
5430 wxPyEndAllowThreads(__tstate);
110da5b0 5431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5432 }
15afbcd0 5433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
5434 return resultobj;
5435 fail:
5436 return NULL;
5437}
5438
5439
c32bde28 5440static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5441 PyObject *resultobj;
5442 wxGauge *arg1 = (wxGauge *) 0 ;
5443 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5444 int arg3 = (int) -1 ;
5445 int arg4 = (int) 100 ;
d14a1e28
RD
5446 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5447 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5448 wxSize const &arg6_defvalue = wxDefaultSize ;
5449 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5450 long arg7 = (long) wxGA_HORIZONTAL ;
5451 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5452 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5453 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5454 wxString *arg9 = (wxString *) &arg9_defvalue ;
5455 bool result;
5456 wxPoint temp5 ;
5457 wxSize temp6 ;
ae8162c8 5458 bool temp9 = false ;
d14a1e28
RD
5459 PyObject * obj0 = 0 ;
5460 PyObject * obj1 = 0 ;
994141e6
RD
5461 PyObject * obj2 = 0 ;
5462 PyObject * obj3 = 0 ;
d14a1e28
RD
5463 PyObject * obj4 = 0 ;
5464 PyObject * obj5 = 0 ;
994141e6 5465 PyObject * obj6 = 0 ;
d14a1e28
RD
5466 PyObject * obj7 = 0 ;
5467 PyObject * obj8 = 0 ;
5468 char *kwnames[] = {
5469 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5470 };
5471
248ed943 5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
5473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5474 if (SWIG_arg_fail(1)) SWIG_fail;
5475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5476 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5477 if (obj2) {
093d3ff1
RD
5478 {
5479 arg3 = (int)(SWIG_As_int(obj2));
5480 if (SWIG_arg_fail(3)) SWIG_fail;
5481 }
248ed943
RD
5482 }
5483 if (obj3) {
093d3ff1
RD
5484 {
5485 arg4 = (int)(SWIG_As_int(obj3));
5486 if (SWIG_arg_fail(4)) SWIG_fail;
5487 }
248ed943 5488 }
d14a1e28
RD
5489 if (obj4) {
5490 {
5491 arg5 = &temp5;
5492 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5493 }
5494 }
5495 if (obj5) {
5496 {
5497 arg6 = &temp6;
5498 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5499 }
5500 }
994141e6 5501 if (obj6) {
093d3ff1
RD
5502 {
5503 arg7 = (long)(SWIG_As_long(obj6));
5504 if (SWIG_arg_fail(7)) SWIG_fail;
5505 }
994141e6 5506 }
d14a1e28 5507 if (obj7) {
093d3ff1
RD
5508 {
5509 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5510 if (SWIG_arg_fail(8)) SWIG_fail;
5511 if (arg8 == NULL) {
5512 SWIG_null_ref("wxValidator");
5513 }
5514 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
5515 }
5516 }
5517 if (obj8) {
5518 {
5519 arg9 = wxString_in_helper(obj8);
5520 if (arg9 == NULL) SWIG_fail;
ae8162c8 5521 temp9 = true;
d14a1e28
RD
5522 }
5523 }
5524 {
5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
5526 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5527
5528 wxPyEndAllowThreads(__tstate);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
4f89f6a3
RD
5531 {
5532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5533 }
d14a1e28
RD
5534 {
5535 if (temp9)
5536 delete arg9;
5537 }
5538 return resultobj;
5539 fail:
5540 {
5541 if (temp9)
5542 delete arg9;
5543 }
5544 return NULL;
5545}
5546
5547
c32bde28 5548static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5549 PyObject *resultobj;
5550 wxGauge *arg1 = (wxGauge *) 0 ;
5551 int arg2 ;
5552 PyObject * obj0 = 0 ;
994141e6 5553 PyObject * obj1 = 0 ;
d14a1e28
RD
5554 char *kwnames[] = {
5555 (char *) "self",(char *) "range", NULL
5556 };
5557
994141e6 5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5560 if (SWIG_arg_fail(1)) SWIG_fail;
5561 {
5562 arg2 = (int)(SWIG_As_int(obj1));
5563 if (SWIG_arg_fail(2)) SWIG_fail;
5564 }
d14a1e28
RD
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 (arg1)->SetRange(arg2);
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 Py_INCREF(Py_None); resultobj = Py_None;
5573 return resultobj;
5574 fail:
5575 return NULL;
5576}
5577
5578
c32bde28 5579static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5580 PyObject *resultobj;
5581 wxGauge *arg1 = (wxGauge *) 0 ;
5582 int result;
5583 PyObject * obj0 = 0 ;
5584 char *kwnames[] = {
5585 (char *) "self", NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
5589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5590 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 result = (int)((wxGauge const *)arg1)->GetRange();
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
093d3ff1
RD
5598 {
5599 resultobj = SWIG_From_int((int)(result));
5600 }
d14a1e28
RD
5601 return resultobj;
5602 fail:
5603 return NULL;
5604}
5605
5606
c32bde28 5607static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5608 PyObject *resultobj;
5609 wxGauge *arg1 = (wxGauge *) 0 ;
5610 int arg2 ;
5611 PyObject * obj0 = 0 ;
994141e6 5612 PyObject * obj1 = 0 ;
d14a1e28
RD
5613 char *kwnames[] = {
5614 (char *) "self",(char *) "pos", NULL
5615 };
5616
994141e6 5617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5619 if (SWIG_arg_fail(1)) SWIG_fail;
5620 {
5621 arg2 = (int)(SWIG_As_int(obj1));
5622 if (SWIG_arg_fail(2)) SWIG_fail;
5623 }
d14a1e28
RD
5624 {
5625 PyThreadState* __tstate = wxPyBeginAllowThreads();
5626 (arg1)->SetValue(arg2);
5627
5628 wxPyEndAllowThreads(__tstate);
5629 if (PyErr_Occurred()) SWIG_fail;
5630 }
5631 Py_INCREF(Py_None); resultobj = Py_None;
5632 return resultobj;
5633 fail:
5634 return NULL;
5635}
5636
5637
c32bde28 5638static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5639 PyObject *resultobj;
5640 wxGauge *arg1 = (wxGauge *) 0 ;
5641 int result;
5642 PyObject * obj0 = 0 ;
5643 char *kwnames[] = {
5644 (char *) "self", NULL
5645 };
5646
5647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
5648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5649 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 result = (int)((wxGauge const *)arg1)->GetValue();
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
093d3ff1
RD
5657 {
5658 resultobj = SWIG_From_int((int)(result));
5659 }
d14a1e28
RD
5660 return resultobj;
5661 fail:
5662 return NULL;
5663}
5664
5665
c32bde28 5666static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5667 PyObject *resultobj;
5668 wxGauge *arg1 = (wxGauge *) 0 ;
5669 bool result;
5670 PyObject * obj0 = 0 ;
5671 char *kwnames[] = {
5672 (char *) "self", NULL
5673 };
5674
5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
5676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5677 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 result = (bool)((wxGauge const *)arg1)->IsVertical();
5681
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
4f89f6a3
RD
5685 {
5686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5687 }
d14a1e28
RD
5688 return resultobj;
5689 fail:
5690 return NULL;
5691}
5692
5693
c32bde28 5694static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5695 PyObject *resultobj;
5696 wxGauge *arg1 = (wxGauge *) 0 ;
5697 int arg2 ;
5698 PyObject * obj0 = 0 ;
994141e6 5699 PyObject * obj1 = 0 ;
d14a1e28
RD
5700 char *kwnames[] = {
5701 (char *) "self",(char *) "w", NULL
5702 };
5703
994141e6 5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5706 if (SWIG_arg_fail(1)) SWIG_fail;
5707 {
5708 arg2 = (int)(SWIG_As_int(obj1));
5709 if (SWIG_arg_fail(2)) SWIG_fail;
5710 }
d14a1e28
RD
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 (arg1)->SetShadowWidth(arg2);
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
5718 Py_INCREF(Py_None); resultobj = Py_None;
5719 return resultobj;
5720 fail:
5721 return NULL;
5722}
5723
5724
c32bde28 5725static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5726 PyObject *resultobj;
5727 wxGauge *arg1 = (wxGauge *) 0 ;
5728 int result;
5729 PyObject * obj0 = 0 ;
5730 char *kwnames[] = {
5731 (char *) "self", NULL
5732 };
5733
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5736 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5737 {
5738 PyThreadState* __tstate = wxPyBeginAllowThreads();
5739 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5740
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
093d3ff1
RD
5744 {
5745 resultobj = SWIG_From_int((int)(result));
5746 }
d14a1e28
RD
5747 return resultobj;
5748 fail:
5749 return NULL;
5750}
5751
5752
c32bde28 5753static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5754 PyObject *resultobj;
5755 wxGauge *arg1 = (wxGauge *) 0 ;
5756 int arg2 ;
5757 PyObject * obj0 = 0 ;
994141e6 5758 PyObject * obj1 = 0 ;
d14a1e28
RD
5759 char *kwnames[] = {
5760 (char *) "self",(char *) "w", NULL
5761 };
5762
994141e6 5763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5765 if (SWIG_arg_fail(1)) SWIG_fail;
5766 {
5767 arg2 = (int)(SWIG_As_int(obj1));
5768 if (SWIG_arg_fail(2)) SWIG_fail;
5769 }
d14a1e28
RD
5770 {
5771 PyThreadState* __tstate = wxPyBeginAllowThreads();
5772 (arg1)->SetBezelFace(arg2);
5773
5774 wxPyEndAllowThreads(__tstate);
5775 if (PyErr_Occurred()) SWIG_fail;
5776 }
5777 Py_INCREF(Py_None); resultobj = Py_None;
5778 return resultobj;
5779 fail:
5780 return NULL;
5781}
5782
5783
c32bde28 5784static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5785 PyObject *resultobj;
5786 wxGauge *arg1 = (wxGauge *) 0 ;
5787 int result;
5788 PyObject * obj0 = 0 ;
5789 char *kwnames[] = {
5790 (char *) "self", NULL
5791 };
5792
5793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
093d3ff1
RD
5794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5795 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5796 {
5797 PyThreadState* __tstate = wxPyBeginAllowThreads();
5798 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5799
5800 wxPyEndAllowThreads(__tstate);
5801 if (PyErr_Occurred()) SWIG_fail;
5802 }
093d3ff1
RD
5803 {
5804 resultobj = SWIG_From_int((int)(result));
5805 }
d14a1e28
RD
5806 return resultobj;
5807 fail:
5808 return NULL;
5809}
5810
5811
c32bde28 5812static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 5813 PyObject *resultobj;
093d3ff1 5814 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
5815 wxVisualAttributes result;
5816 PyObject * obj0 = 0 ;
5817 char *kwnames[] = {
5818 (char *) "variant", NULL
5819 };
5820
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5822 if (obj0) {
093d3ff1
RD
5823 {
5824 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5825 if (SWIG_arg_fail(1)) SWIG_fail;
5826 }
22bfe96c
RD
5827 }
5828 {
110da5b0 5829 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5832
5833 wxPyEndAllowThreads(__tstate);
dfbb5885 5834 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5835 }
5836 {
5837 wxVisualAttributes * resultptr;
093d3ff1 5838 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
5839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5840 }
5841 return resultobj;
5842 fail:
5843 return NULL;
5844}
5845
5846
c32bde28 5847static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5848 PyObject *obj;
5849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5850 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5851 Py_INCREF(obj);
5852 return Py_BuildValue((char *)"");
5853}
c32bde28 5854static int _wrap_StaticBitmapNameStr_set(PyObject *) {
b2dc1044
RD
5855 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5856 return 1;
5857}
5858
5859
093d3ff1 5860static PyObject *_wrap_StaticBitmapNameStr_get(void) {
b2dc1044
RD
5861 PyObject *pyobj;
5862
5863 {
5864#if wxUSE_UNICODE
5865 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5866#else
5867 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5868#endif
5869 }
5870 return pyobj;
5871}
5872
5873
c32bde28 5874static int _wrap_StaticBoxNameStr_set(PyObject *) {
b2dc1044
RD
5875 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5876 return 1;
5877}
5878
5879
093d3ff1 5880static PyObject *_wrap_StaticBoxNameStr_get(void) {
b2dc1044
RD
5881 PyObject *pyobj;
5882
5883 {
5884#if wxUSE_UNICODE
5885 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5886#else
5887 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5888#endif
5889 }
5890 return pyobj;
5891}
5892
5893
c32bde28 5894static int _wrap_StaticTextNameStr_set(PyObject *) {
b2dc1044
RD
5895 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5896 return 1;
5897}
5898
5899
093d3ff1 5900static PyObject *_wrap_StaticTextNameStr_get(void) {
b2dc1044
RD
5901 PyObject *pyobj;
5902
5903 {
5904#if wxUSE_UNICODE
5905 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5906#else
5907 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5908#endif
5909 }
5910 return pyobj;
5911}
5912
5913
c32bde28 5914static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5915 PyObject *resultobj;
5916 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5917 int arg2 = (int) -1 ;
5918 wxString const &arg3_defvalue = wxPyEmptyString ;
5919 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
5920 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5921 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5922 wxSize const &arg5_defvalue = wxDefaultSize ;
5923 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5924 long arg6 = (long) 0 ;
5925 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5926 wxString *arg7 = (wxString *) &arg7_defvalue ;
5927 wxStaticBox *result;
ae8162c8 5928 bool temp3 = false ;
d14a1e28
RD
5929 wxPoint temp4 ;
5930 wxSize temp5 ;
ae8162c8 5931 bool temp7 = false ;
d14a1e28 5932 PyObject * obj0 = 0 ;
994141e6 5933 PyObject * obj1 = 0 ;
d14a1e28
RD
5934 PyObject * obj2 = 0 ;
5935 PyObject * obj3 = 0 ;
5936 PyObject * obj4 = 0 ;
994141e6 5937 PyObject * obj5 = 0 ;
d14a1e28
RD
5938 PyObject * obj6 = 0 ;
5939 char *kwnames[] = {
5940 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5941 };
5942
248ed943 5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5945 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5946 if (obj1) {
093d3ff1
RD
5947 {
5948 arg2 = (int)(SWIG_As_int(obj1));
5949 if (SWIG_arg_fail(2)) SWIG_fail;
5950 }
248ed943
RD
5951 }
5952 if (obj2) {
5953 {
5954 arg3 = wxString_in_helper(obj2);
5955 if (arg3 == NULL) SWIG_fail;
ae8162c8 5956 temp3 = true;
248ed943 5957 }
d14a1e28
RD
5958 }
5959 if (obj3) {
5960 {
5961 arg4 = &temp4;
5962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5963 }
5964 }
5965 if (obj4) {
5966 {
5967 arg5 = &temp5;
5968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5969 }
5970 }
994141e6 5971 if (obj5) {
093d3ff1
RD
5972 {
5973 arg6 = (long)(SWIG_As_long(obj5));
5974 if (SWIG_arg_fail(6)) SWIG_fail;
5975 }
994141e6 5976 }
d14a1e28
RD
5977 if (obj6) {
5978 {
5979 arg7 = wxString_in_helper(obj6);
5980 if (arg7 == NULL) SWIG_fail;
ae8162c8 5981 temp7 = true;
d14a1e28
RD
5982 }
5983 }
5984 {
e3b71cb8 5985 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5986 PyThreadState* __tstate = wxPyBeginAllowThreads();
5987 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5988
5989 wxPyEndAllowThreads(__tstate);
110da5b0 5990 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5991 }
b0f7404b 5992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d14a1e28
RD
5993 {
5994 if (temp3)
5995 delete arg3;
5996 }
5997 {
5998 if (temp7)
5999 delete arg7;
6000 }
6001 return resultobj;
6002 fail:
6003 {
6004 if (temp3)
6005 delete arg3;
6006 }
6007 {
6008 if (temp7)
6009 delete arg7;
6010 }
6011 return NULL;
6012}
6013
6014
c32bde28 6015static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6016 PyObject *resultobj;
6017 wxStaticBox *result;
6018 char *kwnames[] = {
6019 NULL
6020 };
6021
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6023 {
e3b71cb8 6024 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
6026 result = (wxStaticBox *)new wxStaticBox();
6027
6028 wxPyEndAllowThreads(__tstate);
110da5b0 6029 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6030 }
b0f7404b 6031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d14a1e28
RD
6032 return resultobj;
6033 fail:
6034 return NULL;
6035}
6036
6037
c32bde28 6038static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6039 PyObject *resultobj;
6040 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6041 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6042 int arg3 = (int) -1 ;
6043 wxString const &arg4_defvalue = wxPyEmptyString ;
6044 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
6045 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6046 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6047 wxSize const &arg6_defvalue = wxDefaultSize ;
6048 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6049 long arg7 = (long) 0 ;
6050 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6051 wxString *arg8 = (wxString *) &arg8_defvalue ;
6052 bool result;
ae8162c8 6053 bool temp4 = false ;
d14a1e28
RD
6054 wxPoint temp5 ;
6055 wxSize temp6 ;
ae8162c8 6056 bool temp8 = false ;
d14a1e28
RD
6057 PyObject * obj0 = 0 ;
6058 PyObject * obj1 = 0 ;
994141e6 6059 PyObject * obj2 = 0 ;
d14a1e28
RD
6060 PyObject * obj3 = 0 ;
6061 PyObject * obj4 = 0 ;
6062 PyObject * obj5 = 0 ;
994141e6 6063 PyObject * obj6 = 0 ;
d14a1e28
RD
6064 PyObject * obj7 = 0 ;
6065 char *kwnames[] = {
6066 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6067 };
6068
248ed943 6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6071 if (SWIG_arg_fail(1)) SWIG_fail;
6072 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6073 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6074 if (obj2) {
093d3ff1
RD
6075 {
6076 arg3 = (int)(SWIG_As_int(obj2));
6077 if (SWIG_arg_fail(3)) SWIG_fail;
6078 }
248ed943
RD
6079 }
6080 if (obj3) {
6081 {
6082 arg4 = wxString_in_helper(obj3);
6083 if (arg4 == NULL) SWIG_fail;
ae8162c8 6084 temp4 = true;
248ed943 6085 }
d14a1e28
RD
6086 }
6087 if (obj4) {
6088 {
6089 arg5 = &temp5;
6090 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6091 }
6092 }
6093 if (obj5) {
6094 {
6095 arg6 = &temp6;
6096 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6097 }
6098 }
994141e6 6099 if (obj6) {
093d3ff1
RD
6100 {
6101 arg7 = (long)(SWIG_As_long(obj6));
6102 if (SWIG_arg_fail(7)) SWIG_fail;
6103 }
994141e6 6104 }
d14a1e28
RD
6105 if (obj7) {
6106 {
6107 arg8 = wxString_in_helper(obj7);
6108 if (arg8 == NULL) SWIG_fail;
ae8162c8 6109 temp8 = true;
d14a1e28
RD
6110 }
6111 }
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
4f89f6a3
RD
6119 {
6120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6121 }
d14a1e28
RD
6122 {
6123 if (temp4)
6124 delete arg4;
6125 }
6126 {
6127 if (temp8)
6128 delete arg8;
6129 }
6130 return resultobj;
6131 fail:
6132 {
6133 if (temp4)
6134 delete arg4;
6135 }
6136 {
6137 if (temp8)
6138 delete arg8;
6139 }
6140 return NULL;
6141}
6142
6143
c32bde28 6144static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 6145 PyObject *resultobj;
093d3ff1 6146 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6147 wxVisualAttributes result;
6148 PyObject * obj0 = 0 ;
6149 char *kwnames[] = {
6150 (char *) "variant", NULL
6151 };
6152
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6154 if (obj0) {
093d3ff1
RD
6155 {
6156 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6157 if (SWIG_arg_fail(1)) SWIG_fail;
6158 }
22bfe96c
RD
6159 }
6160 {
110da5b0 6161 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6162 PyThreadState* __tstate = wxPyBeginAllowThreads();
6163 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6164
6165 wxPyEndAllowThreads(__tstate);
dfbb5885 6166 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6167 }
6168 {
6169 wxVisualAttributes * resultptr;
093d3ff1 6170 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
6171 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6172 }
6173 return resultobj;
6174 fail:
6175 return NULL;
6176}
6177
6178
c32bde28 6179static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6180 PyObject *obj;
6181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6182 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6183 Py_INCREF(obj);
6184 return Py_BuildValue((char *)"");
6185}
c32bde28 6186static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6187 PyObject *resultobj;
6188 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6189 int arg2 = (int) -1 ;
d14a1e28
RD
6190 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6191 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6192 wxSize const &arg4_defvalue = wxDefaultSize ;
6193 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6194 long arg5 = (long) wxLI_HORIZONTAL ;
6195 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6196 wxString *arg6 = (wxString *) &arg6_defvalue ;
6197 wxStaticLine *result;
6198 wxPoint temp3 ;
6199 wxSize temp4 ;
ae8162c8 6200 bool temp6 = false ;
d14a1e28 6201 PyObject * obj0 = 0 ;
994141e6 6202 PyObject * obj1 = 0 ;
d14a1e28
RD
6203 PyObject * obj2 = 0 ;
6204 PyObject * obj3 = 0 ;
994141e6 6205 PyObject * obj4 = 0 ;
d14a1e28
RD
6206 PyObject * obj5 = 0 ;
6207 char *kwnames[] = {
6208 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6209 };
6210
248ed943 6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6213 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6214 if (obj1) {
093d3ff1
RD
6215 {
6216 arg2 = (int)(SWIG_As_int(obj1));
6217 if (SWIG_arg_fail(2)) SWIG_fail;
6218 }
248ed943 6219 }
d14a1e28
RD
6220 if (obj2) {
6221 {
6222 arg3 = &temp3;
6223 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6224 }
6225 }
6226 if (obj3) {
6227 {
6228 arg4 = &temp4;
6229 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6230 }
6231 }
994141e6 6232 if (obj4) {
093d3ff1
RD
6233 {
6234 arg5 = (long)(SWIG_As_long(obj4));
6235 if (SWIG_arg_fail(5)) SWIG_fail;
6236 }
994141e6 6237 }
d14a1e28
RD
6238 if (obj5) {
6239 {
6240 arg6 = wxString_in_helper(obj5);
6241 if (arg6 == NULL) SWIG_fail;
ae8162c8 6242 temp6 = true;
d14a1e28
RD
6243 }
6244 }
6245 {
e3b71cb8 6246 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6249
6250 wxPyEndAllowThreads(__tstate);
110da5b0 6251 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6252 }
15afbcd0 6253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
6254 {
6255 if (temp6)
6256 delete arg6;
6257 }
6258 return resultobj;
6259 fail:
6260 {
6261 if (temp6)
6262 delete arg6;
6263 }
6264 return NULL;
6265}
6266
6267
c32bde28 6268static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6269 PyObject *resultobj;
6270 wxStaticLine *result;
6271 char *kwnames[] = {
6272 NULL
6273 };
6274
6275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6276 {
e3b71cb8 6277 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6278 PyThreadState* __tstate = wxPyBeginAllowThreads();
6279 result = (wxStaticLine *)new wxStaticLine();
6280
6281 wxPyEndAllowThreads(__tstate);
110da5b0 6282 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6283 }
15afbcd0 6284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
6285 return resultobj;
6286 fail:
6287 return NULL;
6288}
6289
6290
c32bde28 6291static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6292 PyObject *resultobj;
6293 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6294 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6295 int arg3 = (int) -1 ;
d14a1e28
RD
6296 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6297 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6298 wxSize const &arg5_defvalue = wxDefaultSize ;
6299 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6300 long arg6 = (long) wxLI_HORIZONTAL ;
6301 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6302 wxString *arg7 = (wxString *) &arg7_defvalue ;
6303 bool result;
6304 wxPoint temp4 ;
6305 wxSize temp5 ;
ae8162c8 6306 bool temp7 = false ;
d14a1e28
RD
6307 PyObject * obj0 = 0 ;
6308 PyObject * obj1 = 0 ;
994141e6 6309 PyObject * obj2 = 0 ;
d14a1e28
RD
6310 PyObject * obj3 = 0 ;
6311 PyObject * obj4 = 0 ;
994141e6 6312 PyObject * obj5 = 0 ;
d14a1e28
RD
6313 PyObject * obj6 = 0 ;
6314 char *kwnames[] = {
6315 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6316 };
6317
248ed943 6318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6320 if (SWIG_arg_fail(1)) SWIG_fail;
6321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6322 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6323 if (obj2) {
093d3ff1
RD
6324 {
6325 arg3 = (int)(SWIG_As_int(obj2));
6326 if (SWIG_arg_fail(3)) SWIG_fail;
6327 }
248ed943 6328 }
d14a1e28
RD
6329 if (obj3) {
6330 {
6331 arg4 = &temp4;
6332 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6333 }
6334 }
6335 if (obj4) {
6336 {
6337 arg5 = &temp5;
6338 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6339 }
6340 }
994141e6 6341 if (obj5) {
093d3ff1
RD
6342 {
6343 arg6 = (long)(SWIG_As_long(obj5));
6344 if (SWIG_arg_fail(6)) SWIG_fail;
6345 }
994141e6 6346 }
d14a1e28
RD
6347 if (obj6) {
6348 {
6349 arg7 = wxString_in_helper(obj6);
6350 if (arg7 == NULL) SWIG_fail;
ae8162c8 6351 temp7 = true;
d14a1e28
RD
6352 }
6353 }
6354 {
6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
6356 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6357
6358 wxPyEndAllowThreads(__tstate);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
4f89f6a3
RD
6361 {
6362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6363 }
d14a1e28
RD
6364 {
6365 if (temp7)
6366 delete arg7;
6367 }
6368 return resultobj;
6369 fail:
6370 {
6371 if (temp7)
6372 delete arg7;
6373 }
6374 return NULL;
6375}
6376
6377
c32bde28 6378static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6379 PyObject *resultobj;
6380 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6381 bool result;
6382 PyObject * obj0 = 0 ;
6383 char *kwnames[] = {
6384 (char *) "self", NULL
6385 };
6386
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
6388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6389 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
4f89f6a3
RD
6397 {
6398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6399 }
d14a1e28
RD
6400 return resultobj;
6401 fail:
6402 return NULL;
6403}
6404
6405
c32bde28 6406static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6407 PyObject *resultobj;
6408 int result;
6409 char *kwnames[] = {
6410 NULL
6411 };
6412
6413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 result = (int)wxStaticLine::GetDefaultSize();
6417
6418 wxPyEndAllowThreads(__tstate);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
093d3ff1
RD
6421 {
6422 resultobj = SWIG_From_int((int)(result));
6423 }
d14a1e28
RD
6424 return resultobj;
6425 fail:
6426 return NULL;
6427}
6428
6429
c32bde28 6430static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 6431 PyObject *resultobj;
093d3ff1 6432 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6433 wxVisualAttributes result;
6434 PyObject * obj0 = 0 ;
6435 char *kwnames[] = {
6436 (char *) "variant", NULL
6437 };
6438
6439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6440 if (obj0) {
093d3ff1
RD
6441 {
6442 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6443 if (SWIG_arg_fail(1)) SWIG_fail;
6444 }
22bfe96c
RD
6445 }
6446 {
110da5b0 6447 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6450
6451 wxPyEndAllowThreads(__tstate);
dfbb5885 6452 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6453 }
6454 {
6455 wxVisualAttributes * resultptr;
093d3ff1 6456 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
6457 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6458 }
6459 return resultobj;
6460 fail:
6461 return NULL;
6462}
6463
6464
c32bde28 6465static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6466 PyObject *obj;
6467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6468 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6469 Py_INCREF(obj);
6470 return Py_BuildValue((char *)"");
6471}
c32bde28 6472static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6473 PyObject *resultobj;
6474 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6475 int arg2 = (int) -1 ;
6476 wxString const &arg3_defvalue = wxPyEmptyString ;
6477 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
6478 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6479 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6480 wxSize const &arg5_defvalue = wxDefaultSize ;
6481 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6482 long arg6 = (long) 0 ;
6483 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6484 wxString *arg7 = (wxString *) &arg7_defvalue ;
6485 wxStaticText *result;
ae8162c8 6486 bool temp3 = false ;
d14a1e28
RD
6487 wxPoint temp4 ;
6488 wxSize temp5 ;
ae8162c8 6489 bool temp7 = false ;
d14a1e28 6490 PyObject * obj0 = 0 ;
994141e6 6491 PyObject * obj1 = 0 ;
d14a1e28
RD
6492 PyObject * obj2 = 0 ;
6493 PyObject * obj3 = 0 ;
6494 PyObject * obj4 = 0 ;
994141e6 6495 PyObject * obj5 = 0 ;
d14a1e28
RD
6496 PyObject * obj6 = 0 ;
6497 char *kwnames[] = {
6498 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6499 };
6500
248ed943 6501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6503 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6504 if (obj1) {
093d3ff1
RD
6505 {
6506 arg2 = (int)(SWIG_As_int(obj1));
6507 if (SWIG_arg_fail(2)) SWIG_fail;
6508 }
248ed943
RD
6509 }
6510 if (obj2) {
6511 {
6512 arg3 = wxString_in_helper(obj2);
6513 if (arg3 == NULL) SWIG_fail;
ae8162c8 6514 temp3 = true;
248ed943 6515 }
d14a1e28
RD
6516 }
6517 if (obj3) {
6518 {
6519 arg4 = &temp4;
6520 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6521 }
6522 }
6523 if (obj4) {
6524 {
6525 arg5 = &temp5;
6526 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6527 }
6528 }
994141e6 6529 if (obj5) {
093d3ff1
RD
6530 {
6531 arg6 = (long)(SWIG_As_long(obj5));
6532 if (SWIG_arg_fail(6)) SWIG_fail;
6533 }
994141e6 6534 }
d14a1e28
RD
6535 if (obj6) {
6536 {
6537 arg7 = wxString_in_helper(obj6);
6538 if (arg7 == NULL) SWIG_fail;
ae8162c8 6539 temp7 = true;
d14a1e28
RD
6540 }
6541 }
6542 {
e3b71cb8 6543 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6546
6547 wxPyEndAllowThreads(__tstate);
110da5b0 6548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6549 }
15afbcd0 6550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
6551 {
6552 if (temp3)
6553 delete arg3;
6554 }
6555 {
6556 if (temp7)
6557 delete arg7;
6558 }
6559 return resultobj;
6560 fail:
6561 {
6562 if (temp3)
6563 delete arg3;
6564 }
6565 {
6566 if (temp7)
6567 delete arg7;
6568 }
6569 return NULL;
6570}
6571
6572
c32bde28 6573static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6574 PyObject *resultobj;
6575 wxStaticText *result;
6576 char *kwnames[] = {
6577 NULL
6578 };
6579
6580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6581 {
e3b71cb8 6582 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 result = (wxStaticText *)new wxStaticText();
6585
6586 wxPyEndAllowThreads(__tstate);
110da5b0 6587 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6588 }
15afbcd0 6589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
6590 return resultobj;
6591 fail:
6592 return NULL;
6593}
6594
6595
c32bde28 6596static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6597 PyObject *resultobj;
6598 wxStaticText *arg1 = (wxStaticText *) 0 ;
6599 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6600 int arg3 = (int) -1 ;
6601 wxString const &arg4_defvalue = wxPyEmptyString ;
6602 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
6603 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6604 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6605 wxSize const &arg6_defvalue = wxDefaultSize ;
6606 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6607 long arg7 = (long) 0 ;
6608 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6609 wxString *arg8 = (wxString *) &arg8_defvalue ;
6610 bool result;
ae8162c8 6611 bool temp4 = false ;
d14a1e28
RD
6612 wxPoint temp5 ;
6613 wxSize temp6 ;
ae8162c8 6614 bool temp8 = false ;
d14a1e28
RD
6615 PyObject * obj0 = 0 ;
6616 PyObject * obj1 = 0 ;
994141e6 6617 PyObject * obj2 = 0 ;
d14a1e28
RD
6618 PyObject * obj3 = 0 ;
6619 PyObject * obj4 = 0 ;
6620 PyObject * obj5 = 0 ;
994141e6 6621 PyObject * obj6 = 0 ;
d14a1e28
RD
6622 PyObject * obj7 = 0 ;
6623 char *kwnames[] = {
6624 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6625 };
6626
248ed943 6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6629 if (SWIG_arg_fail(1)) SWIG_fail;
6630 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6631 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6632 if (obj2) {
093d3ff1
RD
6633 {
6634 arg3 = (int)(SWIG_As_int(obj2));
6635 if (SWIG_arg_fail(3)) SWIG_fail;
6636 }
248ed943
RD
6637 }
6638 if (obj3) {
6639 {
6640 arg4 = wxString_in_helper(obj3);
6641 if (arg4 == NULL) SWIG_fail;
ae8162c8 6642 temp4 = true;
248ed943 6643 }
d14a1e28
RD
6644 }
6645 if (obj4) {
6646 {
6647 arg5 = &temp5;
6648 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6649 }
6650 }
6651 if (obj5) {
6652 {
6653 arg6 = &temp6;
6654 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6655 }
6656 }
994141e6 6657 if (obj6) {
093d3ff1
RD
6658 {
6659 arg7 = (long)(SWIG_As_long(obj6));
6660 if (SWIG_arg_fail(7)) SWIG_fail;
6661 }
994141e6 6662 }
d14a1e28
RD
6663 if (obj7) {
6664 {
6665 arg8 = wxString_in_helper(obj7);
6666 if (arg8 == NULL) SWIG_fail;
ae8162c8 6667 temp8 = true;
d14a1e28
RD
6668 }
6669 }
6670 {
6671 PyThreadState* __tstate = wxPyBeginAllowThreads();
6672 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6673
6674 wxPyEndAllowThreads(__tstate);
6675 if (PyErr_Occurred()) SWIG_fail;
6676 }
4f89f6a3
RD
6677 {
6678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6679 }
d14a1e28
RD
6680 {
6681 if (temp4)
6682 delete arg4;
6683 }
6684 {
6685 if (temp8)
6686 delete arg8;
6687 }
6688 return resultobj;
6689 fail:
6690 {
6691 if (temp4)
6692 delete arg4;
6693 }
6694 {
6695 if (temp8)
6696 delete arg8;
6697 }
6698 return NULL;
6699}
6700
6701
c32bde28 6702static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 6703 PyObject *resultobj;
093d3ff1 6704 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6705 wxVisualAttributes result;
6706 PyObject * obj0 = 0 ;
6707 char *kwnames[] = {
6708 (char *) "variant", NULL
6709 };
6710
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6712 if (obj0) {
093d3ff1
RD
6713 {
6714 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6715 if (SWIG_arg_fail(1)) SWIG_fail;
6716 }
22bfe96c
RD
6717 }
6718 {
110da5b0 6719 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6722
6723 wxPyEndAllowThreads(__tstate);
dfbb5885 6724 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6725 }
6726 {
6727 wxVisualAttributes * resultptr;
093d3ff1 6728 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
6729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6730 }
6731 return resultobj;
6732 fail:
6733 return NULL;
6734}
6735
6736
c32bde28 6737static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6738 PyObject *obj;
6739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6740 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6741 Py_INCREF(obj);
6742 return Py_BuildValue((char *)"");
6743}
c32bde28 6744static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6745 PyObject *resultobj;
6746 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6747 int arg2 = (int) -1 ;
6748 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6749 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d14a1e28
RD
6750 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6751 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6752 wxSize const &arg5_defvalue = wxDefaultSize ;
6753 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6754 long arg6 = (long) 0 ;
6755 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6756 wxString *arg7 = (wxString *) &arg7_defvalue ;
6757 wxStaticBitmap *result;
6758 wxPoint temp4 ;
6759 wxSize temp5 ;
ae8162c8 6760 bool temp7 = false ;
d14a1e28 6761 PyObject * obj0 = 0 ;
994141e6 6762 PyObject * obj1 = 0 ;
d14a1e28
RD
6763 PyObject * obj2 = 0 ;
6764 PyObject * obj3 = 0 ;
6765 PyObject * obj4 = 0 ;
994141e6 6766 PyObject * obj5 = 0 ;
d14a1e28
RD
6767 PyObject * obj6 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6770 };
6771
248ed943 6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6774 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6775 if (obj1) {
093d3ff1
RD
6776 {
6777 arg2 = (int)(SWIG_As_int(obj1));
6778 if (SWIG_arg_fail(2)) SWIG_fail;
6779 }
248ed943
RD
6780 }
6781 if (obj2) {
093d3ff1
RD
6782 {
6783 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6784 if (SWIG_arg_fail(3)) SWIG_fail;
6785 if (arg3 == NULL) {
6786 SWIG_null_ref("wxBitmap");
6787 }
6788 if (SWIG_arg_fail(3)) SWIG_fail;
248ed943 6789 }
d14a1e28
RD
6790 }
6791 if (obj3) {
6792 {
6793 arg4 = &temp4;
6794 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6795 }
6796 }
6797 if (obj4) {
6798 {
6799 arg5 = &temp5;
6800 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6801 }
6802 }
994141e6 6803 if (obj5) {
093d3ff1
RD
6804 {
6805 arg6 = (long)(SWIG_As_long(obj5));
6806 if (SWIG_arg_fail(6)) SWIG_fail;
6807 }
994141e6 6808 }
d14a1e28
RD
6809 if (obj6) {
6810 {
6811 arg7 = wxString_in_helper(obj6);
6812 if (arg7 == NULL) SWIG_fail;
ae8162c8 6813 temp7 = true;
d14a1e28
RD
6814 }
6815 }
6816 {
e3b71cb8 6817 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
6819 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6820
6821 wxPyEndAllowThreads(__tstate);
110da5b0 6822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6823 }
15afbcd0 6824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
6825 {
6826 if (temp7)
6827 delete arg7;
6828 }
6829 return resultobj;
6830 fail:
6831 {
6832 if (temp7)
6833 delete arg7;
6834 }
6835 return NULL;
6836}
6837
6838
c32bde28 6839static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6840 PyObject *resultobj;
6841 wxStaticBitmap *result;
6842 char *kwnames[] = {
6843 NULL
6844 };
6845
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6847 {
e3b71cb8 6848 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 result = (wxStaticBitmap *)new wxStaticBitmap();
6851
6852 wxPyEndAllowThreads(__tstate);
110da5b0 6853 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6854 }
15afbcd0 6855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
6856 return resultobj;
6857 fail:
6858 return NULL;
6859}
6860
6861
c32bde28 6862static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6863 PyObject *resultobj;
6864 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6865 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6866 int arg3 = (int) -1 ;
6867 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6868 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d14a1e28
RD
6869 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6870 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6871 wxSize const &arg6_defvalue = wxDefaultSize ;
6872 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6873 long arg7 = (long) 0 ;
6874 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6875 wxString *arg8 = (wxString *) &arg8_defvalue ;
6876 bool result;
6877 wxPoint temp5 ;
6878 wxSize temp6 ;
ae8162c8 6879 bool temp8 = false ;
d14a1e28
RD
6880 PyObject * obj0 = 0 ;
6881 PyObject * obj1 = 0 ;
994141e6 6882 PyObject * obj2 = 0 ;
d14a1e28
RD
6883 PyObject * obj3 = 0 ;
6884 PyObject * obj4 = 0 ;
6885 PyObject * obj5 = 0 ;
994141e6 6886 PyObject * obj6 = 0 ;
d14a1e28
RD
6887 PyObject * obj7 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6890 };
6891
248ed943 6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6894 if (SWIG_arg_fail(1)) SWIG_fail;
6895 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6896 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6897 if (obj2) {
093d3ff1
RD
6898 {
6899 arg3 = (int)(SWIG_As_int(obj2));
6900 if (SWIG_arg_fail(3)) SWIG_fail;
6901 }
248ed943
RD
6902 }
6903 if (obj3) {
093d3ff1
RD
6904 {
6905 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6906 if (SWIG_arg_fail(4)) SWIG_fail;
6907 if (arg4 == NULL) {
6908 SWIG_null_ref("wxBitmap");
6909 }
6910 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6911 }
d14a1e28
RD
6912 }
6913 if (obj4) {
6914 {
6915 arg5 = &temp5;
6916 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6917 }
6918 }
6919 if (obj5) {
6920 {
6921 arg6 = &temp6;
6922 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6923 }
6924 }
994141e6 6925 if (obj6) {
093d3ff1
RD
6926 {
6927 arg7 = (long)(SWIG_As_long(obj6));
6928 if (SWIG_arg_fail(7)) SWIG_fail;
6929 }
994141e6 6930 }
d14a1e28
RD
6931 if (obj7) {
6932 {
6933 arg8 = wxString_in_helper(obj7);
6934 if (arg8 == NULL) SWIG_fail;
ae8162c8 6935 temp8 = true;
d14a1e28
RD
6936 }
6937 }
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6941
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
4f89f6a3
RD
6945 {
6946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6947 }
d14a1e28
RD
6948 {
6949 if (temp8)
6950 delete arg8;
6951 }
6952 return resultobj;
6953 fail:
6954 {
6955 if (temp8)
6956 delete arg8;
6957 }
6958 return NULL;
6959}
6960
6961
c32bde28 6962static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6963 PyObject *resultobj;
6964 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6965 wxBitmap result;
6966 PyObject * obj0 = 0 ;
6967 char *kwnames[] = {
6968 (char *) "self", NULL
6969 };
6970
6971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
6972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6973 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 result = (arg1)->GetBitmap();
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 {
6982 wxBitmap * resultptr;
093d3ff1 6983 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 6984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
6985 }
6986 return resultobj;
6987 fail:
6988 return NULL;
6989}
6990
6991
c32bde28 6992static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6993 PyObject *resultobj;
6994 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6995 wxBitmap *arg2 = 0 ;
6996 PyObject * obj0 = 0 ;
6997 PyObject * obj1 = 0 ;
6998 char *kwnames[] = {
6999 (char *) "self",(char *) "bitmap", NULL
7000 };
7001
7002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7004 if (SWIG_arg_fail(1)) SWIG_fail;
7005 {
7006 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7007 if (SWIG_arg_fail(2)) SWIG_fail;
7008 if (arg2 == NULL) {
7009 SWIG_null_ref("wxBitmap");
7010 }
7011 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7012 }
7013 {
7014 PyThreadState* __tstate = wxPyBeginAllowThreads();
7015 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7016
7017 wxPyEndAllowThreads(__tstate);
7018 if (PyErr_Occurred()) SWIG_fail;
7019 }
7020 Py_INCREF(Py_None); resultobj = Py_None;
7021 return resultobj;
7022 fail:
7023 return NULL;
7024}
7025
7026
c32bde28 7027static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7028 PyObject *resultobj;
7029 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7030 wxIcon *arg2 = 0 ;
7031 PyObject * obj0 = 0 ;
7032 PyObject * obj1 = 0 ;
7033 char *kwnames[] = {
7034 (char *) "self",(char *) "icon", NULL
7035 };
7036
7037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7039 if (SWIG_arg_fail(1)) SWIG_fail;
7040 {
7041 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7042 if (SWIG_arg_fail(2)) SWIG_fail;
7043 if (arg2 == NULL) {
7044 SWIG_null_ref("wxIcon");
7045 }
7046 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7047 }
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 (arg1)->SetIcon((wxIcon const &)*arg2);
7051
7052 wxPyEndAllowThreads(__tstate);
7053 if (PyErr_Occurred()) SWIG_fail;
7054 }
7055 Py_INCREF(Py_None); resultobj = Py_None;
7056 return resultobj;
7057 fail:
7058 return NULL;
7059}
7060
7061
c32bde28 7062static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 7063 PyObject *resultobj;
093d3ff1 7064 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
7065 wxVisualAttributes result;
7066 PyObject * obj0 = 0 ;
7067 char *kwnames[] = {
7068 (char *) "variant", NULL
7069 };
7070
7071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7072 if (obj0) {
093d3ff1
RD
7073 {
7074 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7075 if (SWIG_arg_fail(1)) SWIG_fail;
7076 }
22bfe96c
RD
7077 }
7078 {
110da5b0 7079 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
7081 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7082
7083 wxPyEndAllowThreads(__tstate);
dfbb5885 7084 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
7085 }
7086 {
7087 wxVisualAttributes * resultptr;
093d3ff1 7088 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
7089 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7090 }
7091 return resultobj;
7092 fail:
7093 return NULL;
7094}
7095
7096
c32bde28 7097static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7098 PyObject *obj;
7099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7100 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7101 Py_INCREF(obj);
7102 return Py_BuildValue((char *)"");
7103}
c32bde28 7104static int _wrap_ListBoxNameStr_set(PyObject *) {
b2dc1044
RD
7105 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7106 return 1;
7107}
7108
7109
093d3ff1 7110static PyObject *_wrap_ListBoxNameStr_get(void) {
b2dc1044
RD
7111 PyObject *pyobj;
7112
7113 {
7114#if wxUSE_UNICODE
7115 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7116#else
7117 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7118#endif
7119 }
7120 return pyobj;
7121}
7122
7123
c32bde28 7124static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7125 PyObject *resultobj;
7126 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 7127 int arg2 = (int) -1 ;
d14a1e28
RD
7128 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7129 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7130 wxSize const &arg4_defvalue = wxDefaultSize ;
7131 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
7132 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7133 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7134 long arg6 = (long) 0 ;
7135 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7136 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7137 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7138 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
7139 wxListBox *result;
7140 wxPoint temp3 ;
7141 wxSize temp4 ;
ae8162c8
RD
7142 bool temp5 = false ;
7143 bool temp8 = false ;
d14a1e28 7144 PyObject * obj0 = 0 ;
994141e6 7145 PyObject * obj1 = 0 ;
d14a1e28
RD
7146 PyObject * obj2 = 0 ;
7147 PyObject * obj3 = 0 ;
7148 PyObject * obj4 = 0 ;
994141e6 7149 PyObject * obj5 = 0 ;
d14a1e28
RD
7150 PyObject * obj6 = 0 ;
7151 PyObject * obj7 = 0 ;
7152 char *kwnames[] = {
7153 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7154 };
7155
248ed943 7156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
7157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7158 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 7159 if (obj1) {
093d3ff1
RD
7160 {
7161 arg2 = (int)(SWIG_As_int(obj1));
7162 if (SWIG_arg_fail(2)) SWIG_fail;
7163 }
248ed943 7164 }
d14a1e28
RD
7165 if (obj2) {
7166 {
7167 arg3 = &temp3;
7168 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7169 }
7170 }
7171 if (obj3) {
7172 {
7173 arg4 = &temp4;
7174 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7175 }
7176 }
7177 if (obj4) {
7178 {
4d5c3d91
RD
7179 if (! PySequence_Check(obj4)) {
7180 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7181 SWIG_fail;
7182 }
7183 arg5 = new wxArrayString;
ae8162c8 7184 temp5 = true;
4d5c3d91
RD
7185 int i, len=PySequence_Length(obj4);
7186 for (i=0; i<len; i++) {
7187 PyObject* item = PySequence_GetItem(obj4, i);
7188#if wxUSE_UNICODE
7189 PyObject* str = PyObject_Unicode(item);
7190#else
7191 PyObject* str = PyObject_Str(item);
7192#endif
74a57fcd 7193 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
7194 arg5->Add(Py2wxString(str));
7195 Py_DECREF(item);
7196 Py_DECREF(str);
7197 }
d14a1e28
RD
7198 }
7199 }
994141e6 7200 if (obj5) {
093d3ff1
RD
7201 {
7202 arg6 = (long)(SWIG_As_long(obj5));
7203 if (SWIG_arg_fail(6)) SWIG_fail;
7204 }
994141e6 7205 }
d14a1e28 7206 if (obj6) {
093d3ff1
RD
7207 {
7208 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7209 if (SWIG_arg_fail(7)) SWIG_fail;
7210 if (arg7 == NULL) {
7211 SWIG_null_ref("wxValidator");
7212 }
7213 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
7214 }
7215 }
7216 if (obj7) {
7217 {
4d5c3d91
RD
7218 arg8 = wxString_in_helper(obj7);
7219 if (arg8 == NULL) SWIG_fail;
ae8162c8 7220 temp8 = true;
d14a1e28
RD
7221 }
7222 }
7223 {
e3b71cb8 7224 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 7225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 7226 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
7227
7228 wxPyEndAllowThreads(__tstate);
110da5b0 7229 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7230 }
15afbcd0 7231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28 7232 {
3adfb63b 7233 if (temp5) delete arg5;
d14a1e28
RD
7234 }
7235 {
7236 if (temp8)
4d5c3d91 7237 delete arg8;
d14a1e28
RD
7238 }
7239 return resultobj;
7240 fail:
7241 {
3adfb63b 7242 if (temp5) delete arg5;
d14a1e28
RD
7243 }
7244 {
7245 if (temp8)
4d5c3d91 7246 delete arg8;
d14a1e28
RD
7247 }
7248 return NULL;
7249}
7250
7251
c32bde28 7252static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7253 PyObject *resultobj;
7254 wxListBox *result;
7255 char *kwnames[] = {
7256 NULL
7257 };
7258
7259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7260 {
e3b71cb8 7261 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
7263 result = (wxListBox *)new wxListBox();
7264
7265 wxPyEndAllowThreads(__tstate);
110da5b0 7266 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7267 }
15afbcd0 7268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28
RD
7269 return resultobj;
7270 fail:
7271 return NULL;
7272}
7273
7274
c32bde28 7275static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7276 PyObject *resultobj;
7277 wxListBox *arg1 = (wxListBox *) 0 ;
7278 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 7279 int arg3 = (int) -1 ;
d14a1e28
RD
7280 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7281 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7282 wxSize const &arg5_defvalue = wxDefaultSize ;
7283 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
7284 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7285 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7286 long arg7 = (long) 0 ;
7287 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7288 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7289 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7290 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
7291 bool result;
7292 wxPoint temp4 ;
7293 wxSize temp5 ;
ae8162c8
RD
7294 bool temp6 = false ;
7295 bool temp9 = false ;
d14a1e28
RD
7296 PyObject * obj0 = 0 ;
7297 PyObject * obj1 = 0 ;
994141e6 7298 PyObject * obj2 = 0 ;
d14a1e28
RD
7299 PyObject * obj3 = 0 ;
7300 PyObject * obj4 = 0 ;
7301 PyObject * obj5 = 0 ;
994141e6 7302 PyObject * obj6 = 0 ;
d14a1e28
RD
7303 PyObject * obj7 = 0 ;
7304 PyObject * obj8 = 0 ;
7305 char *kwnames[] = {
7306 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7307 };
7308
248ed943 7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
7310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7311 if (SWIG_arg_fail(1)) SWIG_fail;
7312 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7313 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 7314 if (obj2) {
093d3ff1
RD
7315 {
7316 arg3 = (int)(SWIG_As_int(obj2));
7317 if (SWIG_arg_fail(3)) SWIG_fail;
7318 }
248ed943 7319 }
d14a1e28
RD
7320 if (obj3) {
7321 {
7322 arg4 = &temp4;
7323 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7324 }
7325 }
7326 if (obj4) {
7327 {
7328 arg5 = &temp5;
7329 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7330 }
7331 }
7332 if (obj5) {
7333 {
4d5c3d91
RD
7334 if (! PySequence_Check(obj5)) {
7335 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7336 SWIG_fail;
7337 }
7338 arg6 = new wxArrayString;
ae8162c8 7339 temp6 = true;
4d5c3d91
RD
7340 int i, len=PySequence_Length(obj5);
7341 for (i=0; i<len; i++) {
7342 PyObject* item = PySequence_GetItem(obj5, i);
7343#if wxUSE_UNICODE
7344 PyObject* str = PyObject_Unicode(item);
7345#else
7346 PyObject* str = PyObject_Str(item);
7347#endif
74a57fcd 7348 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
7349 arg6->Add(Py2wxString(str));
7350 Py_DECREF(item);
7351 Py_DECREF(str);
7352 }
d14a1e28
RD
7353 }
7354 }
994141e6 7355 if (obj6) {
093d3ff1
RD
7356 {
7357 arg7 = (long)(SWIG_As_long(obj6));
7358 if (SWIG_arg_fail(7)) SWIG_fail;
7359 }
994141e6 7360 }
d14a1e28 7361 if (obj7) {
093d3ff1
RD
7362 {
7363 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7364 if (SWIG_arg_fail(8)) SWIG_fail;
7365 if (arg8 == NULL) {
7366 SWIG_null_ref("wxValidator");
7367 }
7368 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
7369 }
7370 }
7371 if (obj8) {
7372 {
4d5c3d91
RD
7373 arg9 = wxString_in_helper(obj8);
7374 if (arg9 == NULL) SWIG_fail;
ae8162c8 7375 temp9 = true;
d14a1e28
RD
7376 }
7377 }
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 7380 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
4f89f6a3
RD
7385 {
7386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7387 }
d14a1e28 7388 {
3adfb63b 7389 if (temp6) delete arg6;
d14a1e28
RD
7390 }
7391 {
7392 if (temp9)
4d5c3d91 7393 delete arg9;
d14a1e28
RD
7394 }
7395 return resultobj;
7396 fail:
7397 {
3adfb63b 7398 if (temp6) delete arg6;
d14a1e28
RD
7399 }
7400 {
7401 if (temp9)
4d5c3d91 7402 delete arg9;
d14a1e28
RD
7403 }
7404 return NULL;
7405}
7406
7407
c32bde28 7408static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7409 PyObject *resultobj;
7410 wxListBox *arg1 = (wxListBox *) 0 ;
7411 wxString *arg2 = 0 ;
7412 int arg3 ;
7413 PyObject *arg4 = (PyObject *) NULL ;
ae8162c8 7414 bool temp2 = false ;
d14a1e28
RD
7415 PyObject * obj0 = 0 ;
7416 PyObject * obj1 = 0 ;
994141e6 7417 PyObject * obj2 = 0 ;
d14a1e28
RD
7418 PyObject * obj3 = 0 ;
7419 char *kwnames[] = {
7420 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7421 };
7422
994141e6 7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7426 {
7427 arg2 = wxString_in_helper(obj1);
7428 if (arg2 == NULL) SWIG_fail;
ae8162c8 7429 temp2 = true;
d14a1e28 7430 }
093d3ff1
RD
7431 {
7432 arg3 = (int)(SWIG_As_int(obj2));
7433 if (SWIG_arg_fail(3)) SWIG_fail;
7434 }
d14a1e28
RD
7435 if (obj3) {
7436 arg4 = obj3;
7437 }
7438 {
7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
7440 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7441
7442 wxPyEndAllowThreads(__tstate);
7443 if (PyErr_Occurred()) SWIG_fail;
7444 }
7445 Py_INCREF(Py_None); resultobj = Py_None;
7446 {
7447 if (temp2)
7448 delete arg2;
7449 }
7450 return resultobj;
7451 fail:
7452 {
7453 if (temp2)
7454 delete arg2;
7455 }
7456 return NULL;
7457}
7458
7459
c32bde28 7460static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7461 PyObject *resultobj;
7462 wxListBox *arg1 = (wxListBox *) 0 ;
7463 wxArrayString *arg2 = 0 ;
7464 int arg3 ;
ae8162c8 7465 bool temp2 = false ;
d14a1e28
RD
7466 PyObject * obj0 = 0 ;
7467 PyObject * obj1 = 0 ;
994141e6 7468 PyObject * obj2 = 0 ;
d14a1e28
RD
7469 char *kwnames[] = {
7470 (char *) "self",(char *) "items",(char *) "pos", NULL
7471 };
7472
994141e6 7473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7475 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7476 {
7477 if (! PySequence_Check(obj1)) {
7478 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7479 SWIG_fail;
7480 }
7481 arg2 = new wxArrayString;
ae8162c8 7482 temp2 = true;
d14a1e28
RD
7483 int i, len=PySequence_Length(obj1);
7484 for (i=0; i<len; i++) {
7485 PyObject* item = PySequence_GetItem(obj1, i);
7486#if wxUSE_UNICODE
7487 PyObject* str = PyObject_Unicode(item);
7488#else
7489 PyObject* str = PyObject_Str(item);
7490#endif
74a57fcd 7491 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7492 arg2->Add(Py2wxString(str));
7493 Py_DECREF(item);
7494 Py_DECREF(str);
7495 }
7496 }
093d3ff1
RD
7497 {
7498 arg3 = (int)(SWIG_As_int(obj2));
7499 if (SWIG_arg_fail(3)) SWIG_fail;
7500 }
d14a1e28
RD
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7504
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 Py_INCREF(Py_None); resultobj = Py_None;
7509 {
3adfb63b 7510 if (temp2) delete arg2;
d14a1e28
RD
7511 }
7512 return resultobj;
7513 fail:
7514 {
3adfb63b 7515 if (temp2) delete arg2;
d14a1e28
RD
7516 }
7517 return NULL;
7518}
7519
7520
c32bde28 7521static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7522 PyObject *resultobj;
7523 wxListBox *arg1 = (wxListBox *) 0 ;
7524 wxArrayString *arg2 = 0 ;
ae8162c8 7525 bool temp2 = false ;
d14a1e28
RD
7526 PyObject * obj0 = 0 ;
7527 PyObject * obj1 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "self",(char *) "items", NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7534 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7535 {
7536 if (! PySequence_Check(obj1)) {
7537 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7538 SWIG_fail;
7539 }
7540 arg2 = new wxArrayString;
ae8162c8 7541 temp2 = true;
d14a1e28
RD
7542 int i, len=PySequence_Length(obj1);
7543 for (i=0; i<len; i++) {
7544 PyObject* item = PySequence_GetItem(obj1, i);
7545#if wxUSE_UNICODE
7546 PyObject* str = PyObject_Unicode(item);
7547#else
7548 PyObject* str = PyObject_Str(item);
7549#endif
74a57fcd 7550 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7551 arg2->Add(Py2wxString(str));
7552 Py_DECREF(item);
7553 Py_DECREF(str);
7554 }
7555 }
7556 {
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 (arg1)->Set((wxArrayString const &)*arg2);
7559
7560 wxPyEndAllowThreads(__tstate);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 }
7563 Py_INCREF(Py_None); resultobj = Py_None;
7564 {
3adfb63b 7565 if (temp2) delete arg2;
d14a1e28
RD
7566 }
7567 return resultobj;
7568 fail:
7569 {
3adfb63b 7570 if (temp2) delete arg2;
d14a1e28
RD
7571 }
7572 return NULL;
7573}
7574
7575
c32bde28 7576static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7577 PyObject *resultobj;
7578 wxListBox *arg1 = (wxListBox *) 0 ;
7579 int arg2 ;
7580 bool result;
7581 PyObject * obj0 = 0 ;
994141e6 7582 PyObject * obj1 = 0 ;
d14a1e28
RD
7583 char *kwnames[] = {
7584 (char *) "self",(char *) "n", NULL
7585 };
7586
994141e6 7587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7589 if (SWIG_arg_fail(1)) SWIG_fail;
7590 {
7591 arg2 = (int)(SWIG_As_int(obj1));
7592 if (SWIG_arg_fail(2)) SWIG_fail;
7593 }
d14a1e28
RD
7594 {
7595 PyThreadState* __tstate = wxPyBeginAllowThreads();
7596 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7597
7598 wxPyEndAllowThreads(__tstate);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
4f89f6a3
RD
7601 {
7602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7603 }
d14a1e28
RD
7604 return resultobj;
7605 fail:
7606 return NULL;
7607}
7608
7609
c32bde28 7610static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7611 PyObject *resultobj;
7612 wxListBox *arg1 = (wxListBox *) 0 ;
7613 int arg2 ;
ae8162c8 7614 bool arg3 = (bool) true ;
d14a1e28 7615 PyObject * obj0 = 0 ;
994141e6 7616 PyObject * obj1 = 0 ;
d14a1e28
RD
7617 PyObject * obj2 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "self",(char *) "n",(char *) "select", NULL
7620 };
7621
994141e6 7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7624 if (SWIG_arg_fail(1)) SWIG_fail;
7625 {
7626 arg2 = (int)(SWIG_As_int(obj1));
7627 if (SWIG_arg_fail(2)) SWIG_fail;
7628 }
d14a1e28 7629 if (obj2) {
093d3ff1
RD
7630 {
7631 arg3 = (bool)(SWIG_As_bool(obj2));
7632 if (SWIG_arg_fail(3)) SWIG_fail;
7633 }
d14a1e28
RD
7634 }
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 (arg1)->SetSelection(arg2,arg3);
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 Py_INCREF(Py_None); resultobj = Py_None;
7643 return resultobj;
7644 fail:
7645 return NULL;
7646}
7647
7648
c32bde28 7649static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7650 PyObject *resultobj;
7651 wxListBox *arg1 = (wxListBox *) 0 ;
7652 int arg2 ;
7653 PyObject * obj0 = 0 ;
994141e6 7654 PyObject * obj1 = 0 ;
d14a1e28
RD
7655 char *kwnames[] = {
7656 (char *) "self",(char *) "n", NULL
7657 };
7658
994141e6 7659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7661 if (SWIG_arg_fail(1)) SWIG_fail;
7662 {
7663 arg2 = (int)(SWIG_As_int(obj1));
7664 if (SWIG_arg_fail(2)) SWIG_fail;
7665 }
d14a1e28
RD
7666 {
7667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7668 (arg1)->Select(arg2);
7669
7670 wxPyEndAllowThreads(__tstate);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
7673 Py_INCREF(Py_None); resultobj = Py_None;
7674 return resultobj;
7675 fail:
7676 return NULL;
7677}
7678
7679
c32bde28 7680static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7681 PyObject *resultobj;
7682 wxListBox *arg1 = (wxListBox *) 0 ;
7683 int arg2 ;
7684 PyObject * obj0 = 0 ;
994141e6 7685 PyObject * obj1 = 0 ;
d14a1e28
RD
7686 char *kwnames[] = {
7687 (char *) "self",(char *) "n", NULL
7688 };
7689
994141e6 7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7692 if (SWIG_arg_fail(1)) SWIG_fail;
7693 {
7694 arg2 = (int)(SWIG_As_int(obj1));
7695 if (SWIG_arg_fail(2)) SWIG_fail;
7696 }
d14a1e28
RD
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 (arg1)->Deselect(arg2);
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 Py_INCREF(Py_None); resultobj = Py_None;
7705 return resultobj;
7706 fail:
7707 return NULL;
7708}
7709
7710
c32bde28 7711static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7712 PyObject *resultobj;
7713 wxListBox *arg1 = (wxListBox *) 0 ;
7714 int arg2 = (int) -1 ;
7715 PyObject * obj0 = 0 ;
994141e6 7716 PyObject * obj1 = 0 ;
d14a1e28
RD
7717 char *kwnames[] = {
7718 (char *) "self",(char *) "itemToLeaveSelected", NULL
7719 };
7720
994141e6 7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7724 if (obj1) {
093d3ff1
RD
7725 {
7726 arg2 = (int)(SWIG_As_int(obj1));
7727 if (SWIG_arg_fail(2)) SWIG_fail;
7728 }
994141e6 7729 }
d14a1e28
RD
7730 {
7731 PyThreadState* __tstate = wxPyBeginAllowThreads();
7732 (arg1)->DeselectAll(arg2);
7733
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 Py_INCREF(Py_None); resultobj = Py_None;
7738 return resultobj;
7739 fail:
7740 return NULL;
7741}
7742
7743
c32bde28 7744static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7745 PyObject *resultobj;
7746 wxListBox *arg1 = (wxListBox *) 0 ;
7747 wxString *arg2 = 0 ;
ae8162c8 7748 bool arg3 = (bool) true ;
d14a1e28 7749 bool result;
ae8162c8 7750 bool temp2 = false ;
d14a1e28
RD
7751 PyObject * obj0 = 0 ;
7752 PyObject * obj1 = 0 ;
7753 PyObject * obj2 = 0 ;
7754 char *kwnames[] = {
7755 (char *) "self",(char *) "s",(char *) "select", NULL
7756 };
7757
7758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7760 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7761 {
7762 arg2 = wxString_in_helper(obj1);
7763 if (arg2 == NULL) SWIG_fail;
ae8162c8 7764 temp2 = true;
d14a1e28
RD
7765 }
7766 if (obj2) {
093d3ff1
RD
7767 {
7768 arg3 = (bool)(SWIG_As_bool(obj2));
7769 if (SWIG_arg_fail(3)) SWIG_fail;
7770 }
d14a1e28
RD
7771 }
7772 {
7773 PyThreadState* __tstate = wxPyBeginAllowThreads();
7774 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7775
7776 wxPyEndAllowThreads(__tstate);
7777 if (PyErr_Occurred()) SWIG_fail;
7778 }
4f89f6a3
RD
7779 {
7780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7781 }
d14a1e28
RD
7782 {
7783 if (temp2)
7784 delete arg2;
7785 }
7786 return resultobj;
7787 fail:
7788 {
7789 if (temp2)
7790 delete arg2;
7791 }
7792 return NULL;
7793}
7794
7795
c32bde28 7796static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7797 PyObject *resultobj;
7798 wxListBox *arg1 = (wxListBox *) 0 ;
7799 PyObject *result;
7800 PyObject * obj0 = 0 ;
7801 char *kwnames[] = {
7802 (char *) "self", NULL
7803 };
7804
7805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
7806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7807 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 result = (PyObject *)wxListBox_GetSelections(arg1);
7811
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 resultobj = result;
7816 return resultobj;
7817 fail:
7818 return NULL;
7819}
7820
7821
c32bde28 7822static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7823 PyObject *resultobj;
7824 wxListBox *arg1 = (wxListBox *) 0 ;
7825 int arg2 ;
7826 PyObject * obj0 = 0 ;
994141e6 7827 PyObject * obj1 = 0 ;
d14a1e28
RD
7828 char *kwnames[] = {
7829 (char *) "self",(char *) "n", NULL
7830 };
7831
994141e6 7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7834 if (SWIG_arg_fail(1)) SWIG_fail;
7835 {
7836 arg2 = (int)(SWIG_As_int(obj1));
7837 if (SWIG_arg_fail(2)) SWIG_fail;
7838 }
d14a1e28
RD
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 (arg1)->SetFirstItem(arg2);
7842
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 Py_INCREF(Py_None); resultobj = Py_None;
7847 return resultobj;
7848 fail:
7849 return NULL;
7850}
7851
7852
c32bde28 7853static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7854 PyObject *resultobj;
7855 wxListBox *arg1 = (wxListBox *) 0 ;
7856 wxString *arg2 = 0 ;
ae8162c8 7857 bool temp2 = false ;
d14a1e28
RD
7858 PyObject * obj0 = 0 ;
7859 PyObject * obj1 = 0 ;
7860 char *kwnames[] = {
7861 (char *) "self",(char *) "s", NULL
7862 };
7863
7864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7866 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7867 {
7868 arg2 = wxString_in_helper(obj1);
7869 if (arg2 == NULL) SWIG_fail;
ae8162c8 7870 temp2 = true;
d14a1e28
RD
7871 }
7872 {
7873 PyThreadState* __tstate = wxPyBeginAllowThreads();
7874 (arg1)->SetFirstItem((wxString const &)*arg2);
7875
7876 wxPyEndAllowThreads(__tstate);
7877 if (PyErr_Occurred()) SWIG_fail;
7878 }
7879 Py_INCREF(Py_None); resultobj = Py_None;
7880 {
7881 if (temp2)
7882 delete arg2;
7883 }
7884 return resultobj;
7885 fail:
7886 {
7887 if (temp2)
7888 delete arg2;
7889 }
7890 return NULL;
7891}
7892
7893
c32bde28 7894static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7895 PyObject *resultobj;
7896 wxListBox *arg1 = (wxListBox *) 0 ;
7897 int arg2 ;
7898 PyObject * obj0 = 0 ;
994141e6 7899 PyObject * obj1 = 0 ;
d14a1e28
RD
7900 char *kwnames[] = {
7901 (char *) "self",(char *) "n", NULL
7902 };
7903
994141e6 7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7906 if (SWIG_arg_fail(1)) SWIG_fail;
7907 {
7908 arg2 = (int)(SWIG_As_int(obj1));
7909 if (SWIG_arg_fail(2)) SWIG_fail;
7910 }
d14a1e28
RD
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 (arg1)->EnsureVisible(arg2);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 Py_INCREF(Py_None); resultobj = Py_None;
7919 return resultobj;
7920 fail:
7921 return NULL;
7922}
7923
7924
c32bde28 7925static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7926 PyObject *resultobj;
7927 wxListBox *arg1 = (wxListBox *) 0 ;
7928 wxString *arg2 = 0 ;
ae8162c8 7929 bool temp2 = false ;
d14a1e28
RD
7930 PyObject * obj0 = 0 ;
7931 PyObject * obj1 = 0 ;
7932 char *kwnames[] = {
7933 (char *) "self",(char *) "s", NULL
7934 };
7935
7936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7938 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7939 {
7940 arg2 = wxString_in_helper(obj1);
7941 if (arg2 == NULL) SWIG_fail;
ae8162c8 7942 temp2 = true;
d14a1e28
RD
7943 }
7944 {
7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
7946 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7947
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
7951 Py_INCREF(Py_None); resultobj = Py_None;
7952 {
7953 if (temp2)
7954 delete arg2;
7955 }
7956 return resultobj;
7957 fail:
7958 {
7959 if (temp2)
7960 delete arg2;
7961 }
7962 return NULL;
7963}
7964
7965
c32bde28 7966static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7967 PyObject *resultobj;
7968 wxListBox *arg1 = (wxListBox *) 0 ;
7969 bool result;
7970 PyObject * obj0 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "self", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
093d3ff1
RD
7976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7977 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7978 {
7979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7980 result = (bool)((wxListBox const *)arg1)->IsSorted();
7981
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
4f89f6a3
RD
7985 {
7986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7987 }
d14a1e28
RD
7988 return resultobj;
7989 fail:
7990 return NULL;
7991}
7992
7993
c32bde28 7994static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
c3eb6258
RD
7995 PyObject *resultobj;
7996 wxListBox *arg1 = (wxListBox *) 0 ;
7997 int arg2 ;
7998 wxColour *arg3 = 0 ;
7999 wxColour temp3 ;
8000 PyObject * obj0 = 0 ;
8001 PyObject * obj1 = 0 ;
8002 PyObject * obj2 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "self",(char *) "item",(char *) "c", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8009 if (SWIG_arg_fail(1)) SWIG_fail;
8010 {
8011 arg2 = (int)(SWIG_As_int(obj1));
8012 if (SWIG_arg_fail(2)) SWIG_fail;
8013 }
c3eb6258
RD
8014 {
8015 arg3 = &temp3;
8016 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8017 }
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8021
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 Py_INCREF(Py_None); resultobj = Py_None;
8026 return resultobj;
8027 fail:
8028 return NULL;
8029}
8030
8031
c32bde28 8032static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
c3eb6258
RD
8033 PyObject *resultobj;
8034 wxListBox *arg1 = (wxListBox *) 0 ;
8035 int arg2 ;
8036 wxColour *arg3 = 0 ;
8037 wxColour temp3 ;
8038 PyObject * obj0 = 0 ;
8039 PyObject * obj1 = 0 ;
8040 PyObject * obj2 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self",(char *) "item",(char *) "c", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8047 if (SWIG_arg_fail(1)) SWIG_fail;
8048 {
8049 arg2 = (int)(SWIG_As_int(obj1));
8050 if (SWIG_arg_fail(2)) SWIG_fail;
8051 }
c3eb6258
RD
8052 {
8053 arg3 = &temp3;
8054 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8055 }
8056 {
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
8058 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8059
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 Py_INCREF(Py_None); resultobj = Py_None;
8064 return resultobj;
8065 fail:
8066 return NULL;
8067}
8068
8069
c32bde28 8070static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
c3eb6258
RD
8071 PyObject *resultobj;
8072 wxListBox *arg1 = (wxListBox *) 0 ;
8073 int arg2 ;
8074 wxFont *arg3 = 0 ;
8075 PyObject * obj0 = 0 ;
8076 PyObject * obj1 = 0 ;
8077 PyObject * obj2 = 0 ;
8078 char *kwnames[] = {
8079 (char *) "self",(char *) "item",(char *) "f", NULL
8080 };
8081
8082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8084 if (SWIG_arg_fail(1)) SWIG_fail;
8085 {
8086 arg2 = (int)(SWIG_As_int(obj1));
8087 if (SWIG_arg_fail(2)) SWIG_fail;
8088 }
8089 {
8090 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8091 if (SWIG_arg_fail(3)) SWIG_fail;
8092 if (arg3 == NULL) {
8093 SWIG_null_ref("wxFont");
8094 }
8095 if (SWIG_arg_fail(3)) SWIG_fail;
c3eb6258
RD
8096 }
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 Py_INCREF(Py_None); resultobj = Py_None;
8105 return resultobj;
8106 fail:
8107 return NULL;
8108}
8109
8110
c32bde28 8111static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 8112 PyObject *resultobj;
093d3ff1 8113 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
8114 wxVisualAttributes result;
8115 PyObject * obj0 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "variant", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8121 if (obj0) {
093d3ff1
RD
8122 {
8123 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8124 if (SWIG_arg_fail(1)) SWIG_fail;
8125 }
74a57fcd
RD
8126 }
8127 {
110da5b0 8128 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
8129 PyThreadState* __tstate = wxPyBeginAllowThreads();
8130 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8131
8132 wxPyEndAllowThreads(__tstate);
dfbb5885 8133 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
8134 }
8135 {
8136 wxVisualAttributes * resultptr;
093d3ff1 8137 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
74a57fcd
RD
8138 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8139 }
8140 return resultobj;
8141 fail:
8142 return NULL;
8143}
8144
8145
c32bde28 8146static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8147 PyObject *obj;
8148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8149 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8150 Py_INCREF(obj);
8151 return Py_BuildValue((char *)"");
8152}
c32bde28 8153static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8154 PyObject *resultobj;
8155 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8156 int arg2 = (int) -1 ;
d14a1e28
RD
8157 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8158 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8159 wxSize const &arg4_defvalue = wxDefaultSize ;
8160 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
8161 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8162 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8163 long arg6 = (long) 0 ;
8164 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8165 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8166 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8167 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
8168 wxCheckListBox *result;
8169 wxPoint temp3 ;
8170 wxSize temp4 ;
ae8162c8
RD
8171 bool temp5 = false ;
8172 bool temp8 = false ;
d14a1e28 8173 PyObject * obj0 = 0 ;
994141e6 8174 PyObject * obj1 = 0 ;
d14a1e28
RD
8175 PyObject * obj2 = 0 ;
8176 PyObject * obj3 = 0 ;
8177 PyObject * obj4 = 0 ;
994141e6 8178 PyObject * obj5 = 0 ;
d14a1e28
RD
8179 PyObject * obj6 = 0 ;
8180 PyObject * obj7 = 0 ;
8181 char *kwnames[] = {
8182 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8183 };
8184
248ed943 8185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
8186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8187 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8188 if (obj1) {
093d3ff1
RD
8189 {
8190 arg2 = (int)(SWIG_As_int(obj1));
8191 if (SWIG_arg_fail(2)) SWIG_fail;
8192 }
248ed943 8193 }
d14a1e28
RD
8194 if (obj2) {
8195 {
8196 arg3 = &temp3;
8197 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8198 }
8199 }
8200 if (obj3) {
8201 {
8202 arg4 = &temp4;
8203 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8204 }
8205 }
8206 if (obj4) {
8207 {
4d5c3d91
RD
8208 if (! PySequence_Check(obj4)) {
8209 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8210 SWIG_fail;
8211 }
8212 arg5 = new wxArrayString;
ae8162c8 8213 temp5 = true;
4d5c3d91
RD
8214 int i, len=PySequence_Length(obj4);
8215 for (i=0; i<len; i++) {
8216 PyObject* item = PySequence_GetItem(obj4, i);
8217#if wxUSE_UNICODE
8218 PyObject* str = PyObject_Unicode(item);
8219#else
8220 PyObject* str = PyObject_Str(item);
8221#endif
74a57fcd 8222 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
8223 arg5->Add(Py2wxString(str));
8224 Py_DECREF(item);
8225 Py_DECREF(str);
8226 }
d14a1e28
RD
8227 }
8228 }
994141e6 8229 if (obj5) {
093d3ff1
RD
8230 {
8231 arg6 = (long)(SWIG_As_long(obj5));
8232 if (SWIG_arg_fail(6)) SWIG_fail;
8233 }
994141e6 8234 }
d14a1e28 8235 if (obj6) {
093d3ff1
RD
8236 {
8237 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8238 if (SWIG_arg_fail(7)) SWIG_fail;
8239 if (arg7 == NULL) {
8240 SWIG_null_ref("wxValidator");
8241 }
8242 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
8243 }
8244 }
8245 if (obj7) {
8246 {
4d5c3d91
RD
8247 arg8 = wxString_in_helper(obj7);
8248 if (arg8 == NULL) SWIG_fail;
ae8162c8 8249 temp8 = true;
d14a1e28
RD
8250 }
8251 }
8252 {
e3b71cb8 8253 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 8254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 8255 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
8256
8257 wxPyEndAllowThreads(__tstate);
110da5b0 8258 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8259 }
15afbcd0 8260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28 8261 {
3adfb63b 8262 if (temp5) delete arg5;
d14a1e28
RD
8263 }
8264 {
8265 if (temp8)
4d5c3d91 8266 delete arg8;
d14a1e28
RD
8267 }
8268 return resultobj;
8269 fail:
8270 {
3adfb63b 8271 if (temp5) delete arg5;
d14a1e28
RD
8272 }
8273 {
8274 if (temp8)
4d5c3d91 8275 delete arg8;
d14a1e28
RD
8276 }
8277 return NULL;
8278}
8279
8280
c32bde28 8281static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8282 PyObject *resultobj;
8283 wxCheckListBox *result;
8284 char *kwnames[] = {
8285 NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8289 {
e3b71cb8 8290 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 result = (wxCheckListBox *)new wxCheckListBox();
8293
8294 wxPyEndAllowThreads(__tstate);
110da5b0 8295 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8296 }
15afbcd0 8297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28
RD
8298 return resultobj;
8299 fail:
8300 return NULL;
8301}
8302
8303
c32bde28 8304static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8305 PyObject *resultobj;
8306 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8307 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8308 int arg3 = (int) -1 ;
d14a1e28
RD
8309 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8310 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8311 wxSize const &arg5_defvalue = wxDefaultSize ;
8312 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
8313 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8314 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8315 long arg7 = (long) 0 ;
8316 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8317 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8318 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8319 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
8320 bool result;
8321 wxPoint temp4 ;
8322 wxSize temp5 ;
ae8162c8
RD
8323 bool temp6 = false ;
8324 bool temp9 = false ;
d14a1e28
RD
8325 PyObject * obj0 = 0 ;
8326 PyObject * obj1 = 0 ;
994141e6 8327 PyObject * obj2 = 0 ;
d14a1e28
RD
8328 PyObject * obj3 = 0 ;
8329 PyObject * obj4 = 0 ;
8330 PyObject * obj5 = 0 ;
994141e6 8331 PyObject * obj6 = 0 ;
d14a1e28
RD
8332 PyObject * obj7 = 0 ;
8333 PyObject * obj8 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8336 };
8337
248ed943 8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
8339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8340 if (SWIG_arg_fail(1)) SWIG_fail;
8341 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8342 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8343 if (obj2) {
093d3ff1
RD
8344 {
8345 arg3 = (int)(SWIG_As_int(obj2));
8346 if (SWIG_arg_fail(3)) SWIG_fail;
8347 }
248ed943 8348 }
d14a1e28
RD
8349 if (obj3) {
8350 {
8351 arg4 = &temp4;
8352 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8353 }
8354 }
8355 if (obj4) {
8356 {
8357 arg5 = &temp5;
8358 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8359 }
8360 }
8361 if (obj5) {
8362 {
4d5c3d91
RD
8363 if (! PySequence_Check(obj5)) {
8364 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8365 SWIG_fail;
8366 }
8367 arg6 = new wxArrayString;
ae8162c8 8368 temp6 = true;
4d5c3d91
RD
8369 int i, len=PySequence_Length(obj5);
8370 for (i=0; i<len; i++) {
8371 PyObject* item = PySequence_GetItem(obj5, i);
8372#if wxUSE_UNICODE
8373 PyObject* str = PyObject_Unicode(item);
8374#else
8375 PyObject* str = PyObject_Str(item);
8376#endif
74a57fcd 8377 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
8378 arg6->Add(Py2wxString(str));
8379 Py_DECREF(item);
8380 Py_DECREF(str);
8381 }
d14a1e28
RD
8382 }
8383 }
994141e6 8384 if (obj6) {
093d3ff1
RD
8385 {
8386 arg7 = (long)(SWIG_As_long(obj6));
8387 if (SWIG_arg_fail(7)) SWIG_fail;
8388 }
994141e6 8389 }
d14a1e28 8390 if (obj7) {
093d3ff1
RD
8391 {
8392 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8393 if (SWIG_arg_fail(8)) SWIG_fail;
8394 if (arg8 == NULL) {
8395 SWIG_null_ref("wxValidator");
8396 }
8397 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
8398 }
8399 }
8400 if (obj8) {
8401 {
4d5c3d91
RD
8402 arg9 = wxString_in_helper(obj8);
8403 if (arg9 == NULL) SWIG_fail;
ae8162c8 8404 temp9 = true;
d14a1e28
RD
8405 }
8406 }
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 8409 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
4f89f6a3
RD
8414 {
8415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8416 }
d14a1e28 8417 {
3adfb63b 8418 if (temp6) delete arg6;
d14a1e28
RD
8419 }
8420 {
8421 if (temp9)
4d5c3d91 8422 delete arg9;
d14a1e28
RD
8423 }
8424 return resultobj;
8425 fail:
8426 {
3adfb63b 8427 if (temp6) delete arg6;
d14a1e28
RD
8428 }
8429 {
8430 if (temp9)
4d5c3d91 8431 delete arg9;
d14a1e28
RD
8432 }
8433 return NULL;
8434}
8435
8436
c32bde28 8437static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8438 PyObject *resultobj;
8439 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8440 int arg2 ;
8441 bool result;
8442 PyObject * obj0 = 0 ;
994141e6 8443 PyObject * obj1 = 0 ;
d14a1e28
RD
8444 char *kwnames[] = {
8445 (char *) "self",(char *) "index", NULL
8446 };
8447
994141e6 8448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8450 if (SWIG_arg_fail(1)) SWIG_fail;
8451 {
8452 arg2 = (int)(SWIG_As_int(obj1));
8453 if (SWIG_arg_fail(2)) SWIG_fail;
8454 }
d14a1e28
RD
8455 {
8456 PyThreadState* __tstate = wxPyBeginAllowThreads();
8457 result = (bool)(arg1)->IsChecked(arg2);
8458
8459 wxPyEndAllowThreads(__tstate);
8460 if (PyErr_Occurred()) SWIG_fail;
8461 }
4f89f6a3
RD
8462 {
8463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8464 }
d14a1e28
RD
8465 return resultobj;
8466 fail:
8467 return NULL;
8468}
8469
8470
c32bde28 8471static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8472 PyObject *resultobj;
8473 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8474 int arg2 ;
ae8162c8 8475 int arg3 = (int) true ;
d14a1e28 8476 PyObject * obj0 = 0 ;
994141e6
RD
8477 PyObject * obj1 = 0 ;
8478 PyObject * obj2 = 0 ;
d14a1e28
RD
8479 char *kwnames[] = {
8480 (char *) "self",(char *) "index",(char *) "check", NULL
8481 };
8482
994141e6 8483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8485 if (SWIG_arg_fail(1)) SWIG_fail;
8486 {
8487 arg2 = (int)(SWIG_As_int(obj1));
8488 if (SWIG_arg_fail(2)) SWIG_fail;
8489 }
994141e6 8490 if (obj2) {
093d3ff1
RD
8491 {
8492 arg3 = (int)(SWIG_As_int(obj2));
8493 if (SWIG_arg_fail(3)) SWIG_fail;
8494 }
994141e6 8495 }
d14a1e28
RD
8496 {
8497 PyThreadState* __tstate = wxPyBeginAllowThreads();
8498 (arg1)->Check(arg2,arg3);
8499
8500 wxPyEndAllowThreads(__tstate);
8501 if (PyErr_Occurred()) SWIG_fail;
8502 }
8503 Py_INCREF(Py_None); resultobj = Py_None;
8504 return resultobj;
8505 fail:
8506 return NULL;
8507}
8508
8509
c32bde28 8510static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8511 PyObject *resultobj;
8512 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8513 int result;
8514 PyObject * obj0 = 0 ;
8515 char *kwnames[] = {
8516 (char *) "self", NULL
8517 };
8518
8519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
8520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8521 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8522 {
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 result = (int)(arg1)->GetItemHeight();
8525
8526 wxPyEndAllowThreads(__tstate);
8527 if (PyErr_Occurred()) SWIG_fail;
8528 }
093d3ff1
RD
8529 {
8530 resultobj = SWIG_From_int((int)(result));
8531 }
d14a1e28
RD
8532 return resultobj;
8533 fail:
8534 return NULL;
8535}
8536
8537
c32bde28 8538static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8539 PyObject *resultobj;
8540 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8541 wxPoint *arg2 = 0 ;
8542 int result;
8543 wxPoint temp2 ;
8544 PyObject * obj0 = 0 ;
8545 PyObject * obj1 = 0 ;
8546 char *kwnames[] = {
8547 (char *) "self",(char *) "pt", NULL
8548 };
8549
8550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8552 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8553 {
8554 arg2 = &temp2;
8555 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8556 }
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
093d3ff1
RD
8564 {
8565 resultobj = SWIG_From_int((int)(result));
8566 }
d14a1e28
RD
8567 return resultobj;
8568 fail:
8569 return NULL;
8570}
8571
8572
c32bde28 8573static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8574 PyObject *resultobj;
8575 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
e811c8ce
RD
8576 int arg2 ;
8577 int arg3 ;
d14a1e28
RD
8578 int result;
8579 PyObject * obj0 = 0 ;
994141e6
RD
8580 PyObject * obj1 = 0 ;
8581 PyObject * obj2 = 0 ;
d14a1e28
RD
8582 char *kwnames[] = {
8583 (char *) "self",(char *) "x",(char *) "y", NULL
8584 };
8585
994141e6 8586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8588 if (SWIG_arg_fail(1)) SWIG_fail;
8589 {
8590 arg2 = (int)(SWIG_As_int(obj1));
8591 if (SWIG_arg_fail(2)) SWIG_fail;
8592 }
8593 {
8594 arg3 = (int)(SWIG_As_int(obj2));
8595 if (SWIG_arg_fail(3)) SWIG_fail;
8596 }
d14a1e28
RD
8597 {
8598 PyThreadState* __tstate = wxPyBeginAllowThreads();
8599 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8600
8601 wxPyEndAllowThreads(__tstate);
8602 if (PyErr_Occurred()) SWIG_fail;
8603 }
093d3ff1
RD
8604 {
8605 resultobj = SWIG_From_int((int)(result));
8606 }
d14a1e28
RD
8607 return resultobj;
8608 fail:
8609 return NULL;
8610}
8611
8612
c32bde28 8613static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8614 PyObject *obj;
8615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8616 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8617 Py_INCREF(obj);
8618 return Py_BuildValue((char *)"");
8619}
c32bde28 8620static int _wrap_TextCtrlNameStr_set(PyObject *) {
b2dc1044
RD
8621 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8622 return 1;
8623}
8624
8625
093d3ff1 8626static PyObject *_wrap_TextCtrlNameStr_get(void) {
b2dc1044
RD
8627 PyObject *pyobj;
8628
8629 {
8630#if wxUSE_UNICODE
8631 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8632#else
8633 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8634#endif
8635 }
8636 return pyobj;
8637}
8638
8639
c32bde28 8640static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 8641 PyObject *resultobj;
908b74cd
RD
8642 wxColour const &arg1_defvalue = wxNullColour ;
8643 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d14a1e28
RD
8644 wxColour const &arg2_defvalue = wxNullColour ;
8645 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8646 wxFont const &arg3_defvalue = wxNullFont ;
8647 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
093d3ff1 8648 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d14a1e28
RD
8649 wxTextAttr *result;
8650 wxColour temp1 ;
8651 wxColour temp2 ;
8652 PyObject * obj0 = 0 ;
8653 PyObject * obj1 = 0 ;
8654 PyObject * obj2 = 0 ;
994141e6 8655 PyObject * obj3 = 0 ;
908b74cd
RD
8656 char *kwnames[] = {
8657 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8658 };
d14a1e28 8659
908b74cd
RD
8660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8661 if (obj0) {
8662 {
8663 arg1 = &temp1;
8664 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8665 }
d14a1e28
RD
8666 }
8667 if (obj1) {
8668 {
8669 arg2 = &temp2;
8670 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8671 }
8672 }
8673 if (obj2) {
093d3ff1
RD
8674 {
8675 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8676 if (SWIG_arg_fail(3)) SWIG_fail;
8677 if (arg3 == NULL) {
8678 SWIG_null_ref("wxFont");
8679 }
8680 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
8681 }
8682 }
994141e6 8683 if (obj3) {
093d3ff1
RD
8684 {
8685 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8686 if (SWIG_arg_fail(4)) SWIG_fail;
8687 }
994141e6 8688 }
d14a1e28
RD
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
15afbcd0 8696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
8697 return resultobj;
8698 fail:
8699 return NULL;
8700}
8701
8702
c32bde28 8703static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8704 PyObject *resultobj;
8705 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8706 PyObject * obj0 = 0 ;
8707 char *kwnames[] = {
8708 (char *) "self", NULL
8709 };
8710
994141e6 8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
093d3ff1
RD
8712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8714 {
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
994141e6 8716 delete arg1;
d14a1e28
RD
8717
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 }
8721 Py_INCREF(Py_None); resultobj = Py_None;
8722 return resultobj;
8723 fail:
8724 return NULL;
8725}
8726
8727
c32bde28 8728static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
994141e6
RD
8729 PyObject *resultobj;
8730 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8731 PyObject * obj0 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "self", NULL
8734 };
8735
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
093d3ff1
RD
8737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8738 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6
RD
8739 {
8740 PyThreadState* __tstate = wxPyBeginAllowThreads();
8741 (arg1)->Init();
8742
8743 wxPyEndAllowThreads(__tstate);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 Py_INCREF(Py_None); resultobj = Py_None;
8747 return resultobj;
8748 fail:
8749 return NULL;
8750}
8751
8752
c32bde28 8753static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8754 PyObject *resultobj;
8755 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8756 wxColour *arg2 = 0 ;
8757 wxColour temp2 ;
8758 PyObject * obj0 = 0 ;
8759 PyObject * obj1 = 0 ;
8760 char *kwnames[] = {
8761 (char *) "self",(char *) "colText", NULL
8762 };
8763
8764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8766 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8767 {
8768 arg2 = &temp2;
8769 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8770 }
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 (arg1)->SetTextColour((wxColour const &)*arg2);
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 Py_INCREF(Py_None); resultobj = Py_None;
8779 return resultobj;
8780 fail:
8781 return NULL;
8782}
8783
8784
c32bde28 8785static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8786 PyObject *resultobj;
8787 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8788 wxColour *arg2 = 0 ;
8789 wxColour temp2 ;
8790 PyObject * obj0 = 0 ;
8791 PyObject * obj1 = 0 ;
8792 char *kwnames[] = {
8793 (char *) "self",(char *) "colBack", NULL
8794 };
8795
8796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8798 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8799 {
8800 arg2 = &temp2;
8801 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8802 }
8803 {
8804 PyThreadState* __tstate = wxPyBeginAllowThreads();
8805 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8806
8807 wxPyEndAllowThreads(__tstate);
8808 if (PyErr_Occurred()) SWIG_fail;
8809 }
8810 Py_INCREF(Py_None); resultobj = Py_None;
8811 return resultobj;
8812 fail:
8813 return NULL;
8814}
8815
8816
c32bde28 8817static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8818 PyObject *resultobj;
8819 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8820 wxFont *arg2 = 0 ;
8821 long arg3 = (long) wxTEXT_ATTR_FONT ;
8822 PyObject * obj0 = 0 ;
8823 PyObject * obj1 = 0 ;
994141e6 8824 PyObject * obj2 = 0 ;
d14a1e28
RD
8825 char *kwnames[] = {
8826 (char *) "self",(char *) "font",(char *) "flags", NULL
8827 };
8828
994141e6 8829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8831 if (SWIG_arg_fail(1)) SWIG_fail;
8832 {
8833 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8834 if (SWIG_arg_fail(2)) SWIG_fail;
8835 if (arg2 == NULL) {
8836 SWIG_null_ref("wxFont");
8837 }
8838 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8839 }
994141e6 8840 if (obj2) {
093d3ff1
RD
8841 {
8842 arg3 = (long)(SWIG_As_long(obj2));
8843 if (SWIG_arg_fail(3)) SWIG_fail;
8844 }
994141e6 8845 }
d14a1e28
RD
8846 {
8847 PyThreadState* __tstate = wxPyBeginAllowThreads();
8848 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8849
8850 wxPyEndAllowThreads(__tstate);
8851 if (PyErr_Occurred()) SWIG_fail;
8852 }
8853 Py_INCREF(Py_None); resultobj = Py_None;
8854 return resultobj;
8855 fail:
8856 return NULL;
8857}
8858
8859
c32bde28 8860static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8861 PyObject *resultobj;
8862 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 8863 wxTextAttrAlignment arg2 ;
d14a1e28 8864 PyObject * obj0 = 0 ;
994141e6 8865 PyObject * obj1 = 0 ;
d14a1e28
RD
8866 char *kwnames[] = {
8867 (char *) "self",(char *) "alignment", NULL
8868 };
8869
994141e6 8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail;
8873 {
8874 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8875 if (SWIG_arg_fail(2)) SWIG_fail;
8876 }
d14a1e28
RD
8877 {
8878 PyThreadState* __tstate = wxPyBeginAllowThreads();
8879 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8880
8881 wxPyEndAllowThreads(__tstate);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 }
8884 Py_INCREF(Py_None); resultobj = Py_None;
8885 return resultobj;
8886 fail:
8887 return NULL;
8888}
8889
8890
c32bde28 8891static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8892 PyObject *resultobj;
8893 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8894 wxArrayInt *arg2 = 0 ;
ae8162c8 8895 bool temp2 = false ;
d14a1e28
RD
8896 PyObject * obj0 = 0 ;
8897 PyObject * obj1 = 0 ;
8898 char *kwnames[] = {
8899 (char *) "self",(char *) "tabs", NULL
8900 };
8901
8902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8904 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8905 {
8906 if (! PySequence_Check(obj1)) {
8907 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8908 SWIG_fail;
8909 }
8910 arg2 = new wxArrayInt;
ae8162c8 8911 temp2 = true;
d14a1e28
RD
8912 int i, len=PySequence_Length(obj1);
8913 for (i=0; i<len; i++) {
8914 PyObject* item = PySequence_GetItem(obj1, i);
8915 PyObject* number = PyNumber_Int(item);
8916 arg2->Add(PyInt_AS_LONG(number));
8917 Py_DECREF(item);
8918 Py_DECREF(number);
8919 }
8920 }
8921 {
8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
8923 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8924
8925 wxPyEndAllowThreads(__tstate);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 Py_INCREF(Py_None); resultobj = Py_None;
8929 {
3adfb63b 8930 if (temp2) delete arg2;
d14a1e28
RD
8931 }
8932 return resultobj;
8933 fail:
8934 {
3adfb63b 8935 if (temp2) delete arg2;
d14a1e28
RD
8936 }
8937 return NULL;
8938}
8939
8940
c32bde28 8941static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8942 PyObject *resultobj;
8943 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8944 int arg2 ;
5e4ca4a8 8945 int arg3 = (int) 0 ;
d14a1e28 8946 PyObject * obj0 = 0 ;
994141e6 8947 PyObject * obj1 = 0 ;
5e4ca4a8 8948 PyObject * obj2 = 0 ;
d14a1e28 8949 char *kwnames[] = {
5e4ca4a8 8950 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d14a1e28
RD
8951 };
8952
5e4ca4a8 8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8955 if (SWIG_arg_fail(1)) SWIG_fail;
8956 {
8957 arg2 = (int)(SWIG_As_int(obj1));
8958 if (SWIG_arg_fail(2)) SWIG_fail;
8959 }
5e4ca4a8 8960 if (obj2) {
093d3ff1
RD
8961 {
8962 arg3 = (int)(SWIG_As_int(obj2));
8963 if (SWIG_arg_fail(3)) SWIG_fail;
8964 }
5e4ca4a8 8965 }
d14a1e28
RD
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e4ca4a8 8968 (arg1)->SetLeftIndent(arg2,arg3);
d14a1e28
RD
8969
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 Py_INCREF(Py_None); resultobj = Py_None;
8974 return resultobj;
8975 fail:
8976 return NULL;
8977}
8978
8979
c32bde28 8980static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8981 PyObject *resultobj;
8982 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8983 int arg2 ;
8984 PyObject * obj0 = 0 ;
994141e6 8985 PyObject * obj1 = 0 ;
d14a1e28
RD
8986 char *kwnames[] = {
8987 (char *) "self",(char *) "indent", NULL
8988 };
8989
994141e6 8990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8992 if (SWIG_arg_fail(1)) SWIG_fail;
8993 {
8994 arg2 = (int)(SWIG_As_int(obj1));
8995 if (SWIG_arg_fail(2)) SWIG_fail;
8996 }
d14a1e28
RD
8997 {
8998 PyThreadState* __tstate = wxPyBeginAllowThreads();
8999 (arg1)->SetRightIndent(arg2);
9000
9001 wxPyEndAllowThreads(__tstate);
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 Py_INCREF(Py_None); resultobj = Py_None;
9005 return resultobj;
9006 fail:
9007 return NULL;
9008}
9009
9010
c32bde28 9011static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9012 PyObject *resultobj;
9013 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9014 long arg2 ;
9015 PyObject * obj0 = 0 ;
994141e6 9016 PyObject * obj1 = 0 ;
d14a1e28
RD
9017 char *kwnames[] = {
9018 (char *) "self",(char *) "flags", NULL
9019 };
9020
994141e6 9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9023 if (SWIG_arg_fail(1)) SWIG_fail;
9024 {
9025 arg2 = (long)(SWIG_As_long(obj1));
9026 if (SWIG_arg_fail(2)) SWIG_fail;
9027 }
d14a1e28
RD
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 (arg1)->SetFlags(arg2);
9031
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 Py_INCREF(Py_None); resultobj = Py_None;
9036 return resultobj;
9037 fail:
9038 return NULL;
9039}
9040
9041
c32bde28 9042static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9043 PyObject *resultobj;
9044 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9045 bool result;
9046 PyObject * obj0 = 0 ;
9047 char *kwnames[] = {
9048 (char *) "self", NULL
9049 };
9050
9051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9053 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
4f89f6a3
RD
9061 {
9062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9063 }
d14a1e28
RD
9064 return resultobj;
9065 fail:
9066 return NULL;
9067}
9068
9069
c32bde28 9070static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9071 PyObject *resultobj;
9072 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9073 bool result;
9074 PyObject * obj0 = 0 ;
9075 char *kwnames[] = {
9076 (char *) "self", NULL
9077 };
9078
9079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9081 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
4f89f6a3
RD
9089 {
9090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9091 }
d14a1e28
RD
9092 return resultobj;
9093 fail:
9094 return NULL;
9095}
9096
9097
c32bde28 9098static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9099 PyObject *resultobj;
9100 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9101 bool result;
9102 PyObject * obj0 = 0 ;
9103 char *kwnames[] = {
9104 (char *) "self", NULL
9105 };
9106
9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9109 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
4f89f6a3
RD
9117 {
9118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9119 }
d14a1e28
RD
9120 return resultobj;
9121 fail:
9122 return NULL;
9123}
9124
9125
c32bde28 9126static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9127 PyObject *resultobj;
9128 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9129 bool result;
9130 PyObject * obj0 = 0 ;
9131 char *kwnames[] = {
9132 (char *) "self", NULL
9133 };
9134
9135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9137 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9141
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
4f89f6a3
RD
9145 {
9146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9147 }
d14a1e28
RD
9148 return resultobj;
9149 fail:
9150 return NULL;
9151}
9152
9153
c32bde28 9154static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9155 PyObject *resultobj;
9156 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9157 bool result;
9158 PyObject * obj0 = 0 ;
9159 char *kwnames[] = {
9160 (char *) "self", NULL
9161 };
9162
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9165 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9169
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
4f89f6a3
RD
9173 {
9174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9175 }
d14a1e28
RD
9176 return resultobj;
9177 fail:
9178 return NULL;
9179}
9180
9181
c32bde28 9182static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9183 PyObject *resultobj;
9184 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9185 bool result;
9186 PyObject * obj0 = 0 ;
9187 char *kwnames[] = {
9188 (char *) "self", NULL
9189 };
9190
9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9193 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9197
9198 wxPyEndAllowThreads(__tstate);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 }
4f89f6a3
RD
9201 {
9202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9203 }
d14a1e28
RD
9204 return resultobj;
9205 fail:
9206 return NULL;
9207}
9208
9209
c32bde28 9210static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9211 PyObject *resultobj;
9212 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9213 bool result;
9214 PyObject * obj0 = 0 ;
9215 char *kwnames[] = {
9216 (char *) "self", NULL
9217 };
9218
9219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9221 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9222 {
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9225
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
4f89f6a3
RD
9229 {
9230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9231 }
d14a1e28
RD
9232 return resultobj;
9233 fail:
9234 return NULL;
9235}
9236
9237
c32bde28 9238static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9239 PyObject *resultobj;
9240 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9241 long arg2 ;
9242 bool result;
9243 PyObject * obj0 = 0 ;
994141e6 9244 PyObject * obj1 = 0 ;
d14a1e28
RD
9245 char *kwnames[] = {
9246 (char *) "self",(char *) "flag", NULL
9247 };
9248
994141e6 9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9251 if (SWIG_arg_fail(1)) SWIG_fail;
9252 {
9253 arg2 = (long)(SWIG_As_long(obj1));
9254 if (SWIG_arg_fail(2)) SWIG_fail;
9255 }
d14a1e28
RD
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9259
9260 wxPyEndAllowThreads(__tstate);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
4f89f6a3
RD
9263 {
9264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9265 }
d14a1e28
RD
9266 return resultobj;
9267 fail:
9268 return NULL;
9269}
9270
9271
c32bde28 9272static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9273 PyObject *resultobj;
9274 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9275 wxColour *result;
9276 PyObject * obj0 = 0 ;
9277 char *kwnames[] = {
9278 (char *) "self", NULL
9279 };
9280
9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9283 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 {
9287 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9288 result = (wxColour *) &_result_ref;
9289 }
9290
9291 wxPyEndAllowThreads(__tstate);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 }
15afbcd0 9294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
9295 return resultobj;
9296 fail:
9297 return NULL;
9298}
9299
9300
c32bde28 9301static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9302 PyObject *resultobj;
9303 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9304 wxColour *result;
9305 PyObject * obj0 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "self", NULL
9308 };
9309
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
9311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9312 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 {
9316 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9317 result = (wxColour *) &_result_ref;
9318 }
9319
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
15afbcd0 9323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
9324 return resultobj;
9325 fail:
9326 return NULL;
9327}
9328
9329
c32bde28 9330static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9331 PyObject *resultobj;
9332 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9333 wxFont *result;
9334 PyObject * obj0 = 0 ;
9335 char *kwnames[] = {
9336 (char *) "self", NULL
9337 };
9338
9339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
9340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9341 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 {
9345 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9346 result = (wxFont *) &_result_ref;
9347 }
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
4276dc52
RD
9352 {
9353 wxFont* resultptr = new wxFont(*result);
9354 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9355 }
d14a1e28
RD
9356 return resultobj;
9357 fail:
9358 return NULL;
9359}
9360
9361
c32bde28 9362static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9363 PyObject *resultobj;
9364 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
093d3ff1 9365 wxTextAttrAlignment result;
d14a1e28
RD
9366 PyObject * obj0 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self", NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9373 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9376 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d14a1e28
RD
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
093d3ff1 9381 resultobj = SWIG_From_int((result));
d14a1e28
RD
9382 return resultobj;
9383 fail:
9384 return NULL;
9385}
9386
9387
c32bde28 9388static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9389 PyObject *resultobj;
9390 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9391 wxArrayInt *result;
9392 PyObject * obj0 = 0 ;
9393 char *kwnames[] = {
9394 (char *) "self", NULL
9395 };
9396
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
093d3ff1
RD
9398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9399 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9400 {
9401 PyThreadState* __tstate = wxPyBeginAllowThreads();
9402 {
9403 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9404 result = (wxArrayInt *) &_result_ref;
9405 }
9406
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 }
9410 {
9411 resultobj = PyList_New(0);
9412 size_t idx;
9413 for (idx = 0; idx < result->GetCount(); idx += 1) {
9414 PyObject* val = PyInt_FromLong( result->Item(idx) );
9415 PyList_Append(resultobj, val);
9416 Py_DECREF(val);
9417 }
9418 }
9419 return resultobj;
9420 fail:
9421 return NULL;
9422}
9423
9424
c32bde28 9425static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9426 PyObject *resultobj;
9427 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9428 long result;
9429 PyObject * obj0 = 0 ;
9430 char *kwnames[] = {
9431 (char *) "self", NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9436 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9437 {
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9440
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
093d3ff1
RD
9444 {
9445 resultobj = SWIG_From_long((long)(result));
9446 }
d14a1e28
RD
9447 return resultobj;
9448 fail:
9449 return NULL;
9450}
9451
9452
c32bde28 9453static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
5e4ca4a8
RD
9454 PyObject *resultobj;
9455 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9456 long result;
9457 PyObject * obj0 = 0 ;
9458 char *kwnames[] = {
9459 (char *) "self", NULL
9460 };
9461
9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9464 if (SWIG_arg_fail(1)) SWIG_fail;
5e4ca4a8
RD
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9468
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
093d3ff1
RD
9472 {
9473 resultobj = SWIG_From_long((long)(result));
9474 }
5e4ca4a8
RD
9475 return resultobj;
9476 fail:
9477 return NULL;
9478}
9479
9480
c32bde28 9481static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9482 PyObject *resultobj;
9483 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9484 long result;
9485 PyObject * obj0 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
9491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9492 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9493 {
9494 PyThreadState* __tstate = wxPyBeginAllowThreads();
9495 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9496
9497 wxPyEndAllowThreads(__tstate);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
093d3ff1
RD
9500 {
9501 resultobj = SWIG_From_long((long)(result));
9502 }
d14a1e28
RD
9503 return resultobj;
9504 fail:
9505 return NULL;
9506}
9507
9508
c32bde28 9509static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9510 PyObject *resultobj;
9511 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9512 long result;
9513 PyObject * obj0 = 0 ;
9514 char *kwnames[] = {
9515 (char *) "self", NULL
9516 };
9517
9518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9520 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
093d3ff1
RD
9528 {
9529 resultobj = SWIG_From_long((long)(result));
9530 }
d14a1e28
RD
9531 return resultobj;
9532 fail:
9533 return NULL;
9534}
9535
9536
c32bde28 9537static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9538 PyObject *resultobj;
9539 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9540 bool result;
9541 PyObject * obj0 = 0 ;
9542 char *kwnames[] = {
9543 (char *) "self", NULL
9544 };
9545
9546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
093d3ff1
RD
9547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9548 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9549 {
9550 PyThreadState* __tstate = wxPyBeginAllowThreads();
9551 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9552
9553 wxPyEndAllowThreads(__tstate);
9554 if (PyErr_Occurred()) SWIG_fail;
9555 }
4f89f6a3
RD
9556 {
9557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9558 }
d14a1e28
RD
9559 return resultobj;
9560 fail:
9561 return NULL;
9562}
9563
9564
c32bde28 9565static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9566 PyObject *resultobj;
9567 wxTextAttr *arg1 = 0 ;
9568 wxTextAttr *arg2 = 0 ;
9569 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9570 wxTextAttr result;
9571 PyObject * obj0 = 0 ;
9572 PyObject * obj1 = 0 ;
9573 PyObject * obj2 = 0 ;
9574 char *kwnames[] = {
9575 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9576 };
9577
9578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9579 {
9580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9581 if (SWIG_arg_fail(1)) SWIG_fail;
9582 if (arg1 == NULL) {
9583 SWIG_null_ref("wxTextAttr");
9584 }
9585 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 9586 }
093d3ff1
RD
9587 {
9588 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9589 if (SWIG_arg_fail(2)) SWIG_fail;
9590 if (arg2 == NULL) {
9591 SWIG_null_ref("wxTextAttr");
9592 }
9593 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 9594 }
093d3ff1
RD
9595 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9596 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 {
9605 wxTextAttr * resultptr;
093d3ff1 9606 resultptr = new wxTextAttr((wxTextAttr &)(result));
15afbcd0 9607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
9608 }
9609 return resultobj;
9610 fail:
9611 return NULL;
9612}
9613
9614
c32bde28 9615static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9616 PyObject *obj;
9617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9618 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9619 Py_INCREF(obj);
9620 return Py_BuildValue((char *)"");
9621}
c32bde28 9622static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9623 PyObject *resultobj;
9624 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 9625 int arg2 = (int) -1 ;
d14a1e28
RD
9626 wxString const &arg3_defvalue = wxPyEmptyString ;
9627 wxString *arg3 = (wxString *) &arg3_defvalue ;
9628 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9629 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9630 wxSize const &arg5_defvalue = wxDefaultSize ;
9631 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9632 long arg6 = (long) 0 ;
9633 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9634 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9635 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9636 wxString *arg8 = (wxString *) &arg8_defvalue ;
9637 wxTextCtrl *result;
ae8162c8 9638 bool temp3 = false ;
d14a1e28
RD
9639 wxPoint temp4 ;
9640 wxSize temp5 ;
ae8162c8 9641 bool temp8 = false ;
d14a1e28 9642 PyObject * obj0 = 0 ;
994141e6 9643 PyObject * obj1 = 0 ;
d14a1e28
RD
9644 PyObject * obj2 = 0 ;
9645 PyObject * obj3 = 0 ;
9646 PyObject * obj4 = 0 ;
994141e6 9647 PyObject * obj5 = 0 ;
d14a1e28
RD
9648 PyObject * obj6 = 0 ;
9649 PyObject * obj7 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9652 };
9653
248ed943 9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
9655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 9657 if (obj1) {
093d3ff1
RD
9658 {
9659 arg2 = (int)(SWIG_As_int(obj1));
9660 if (SWIG_arg_fail(2)) SWIG_fail;
9661 }
248ed943 9662 }
d14a1e28
RD
9663 if (obj2) {
9664 {
9665 arg3 = wxString_in_helper(obj2);
9666 if (arg3 == NULL) SWIG_fail;
ae8162c8 9667 temp3 = true;
d14a1e28
RD
9668 }
9669 }
9670 if (obj3) {
9671 {
9672 arg4 = &temp4;
9673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9674 }
9675 }
9676 if (obj4) {
9677 {
9678 arg5 = &temp5;
9679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9680 }
9681 }
994141e6 9682 if (obj5) {
093d3ff1
RD
9683 {
9684 arg6 = (long)(SWIG_As_long(obj5));
9685 if (SWIG_arg_fail(6)) SWIG_fail;
9686 }
994141e6 9687 }
d14a1e28 9688 if (obj6) {
093d3ff1
RD
9689 {
9690 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9691 if (SWIG_arg_fail(7)) SWIG_fail;
9692 if (arg7 == NULL) {
9693 SWIG_null_ref("wxValidator");
9694 }
9695 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
9696 }
9697 }
9698 if (obj7) {
9699 {
9700 arg8 = wxString_in_helper(obj7);
9701 if (arg8 == NULL) SWIG_fail;
ae8162c8 9702 temp8 = true;
d14a1e28
RD
9703 }
9704 }
9705 {
e3b71cb8 9706 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9709
9710 wxPyEndAllowThreads(__tstate);
110da5b0 9711 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9712 }
b0f7404b 9713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d14a1e28
RD
9714 {
9715 if (temp3)
9716 delete arg3;
9717 }
9718 {
9719 if (temp8)
9720 delete arg8;
9721 }
9722 return resultobj;
9723 fail:
9724 {
9725 if (temp3)
9726 delete arg3;
9727 }
9728 {
9729 if (temp8)
9730 delete arg8;
9731 }
9732 return NULL;
9733}
9734
9735
c32bde28 9736static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9737 PyObject *resultobj;
9738 wxTextCtrl *result;
9739 char *kwnames[] = {
9740 NULL
9741 };
9742
9743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9744 {
e3b71cb8 9745 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 result = (wxTextCtrl *)new wxTextCtrl();
9748
9749 wxPyEndAllowThreads(__tstate);
110da5b0 9750 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9751 }
b0f7404b 9752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d14a1e28
RD
9753 return resultobj;
9754 fail:
9755 return NULL;
9756}
9757
9758
c32bde28 9759static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9760 PyObject *resultobj;
9761 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9762 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 9763 int arg3 = (int) -1 ;
d14a1e28
RD
9764 wxString const &arg4_defvalue = wxPyEmptyString ;
9765 wxString *arg4 = (wxString *) &arg4_defvalue ;
9766 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9767 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9768 wxSize const &arg6_defvalue = wxDefaultSize ;
9769 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9770 long arg7 = (long) 0 ;
9771 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9772 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9773 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9774 wxString *arg9 = (wxString *) &arg9_defvalue ;
9775 bool result;
ae8162c8 9776 bool temp4 = false ;
d14a1e28
RD
9777 wxPoint temp5 ;
9778 wxSize temp6 ;
ae8162c8 9779 bool temp9 = false ;
d14a1e28
RD
9780 PyObject * obj0 = 0 ;
9781 PyObject * obj1 = 0 ;
994141e6 9782 PyObject * obj2 = 0 ;
d14a1e28
RD
9783 PyObject * obj3 = 0 ;
9784 PyObject * obj4 = 0 ;
9785 PyObject * obj5 = 0 ;
994141e6 9786 PyObject * obj6 = 0 ;
d14a1e28
RD
9787 PyObject * obj7 = 0 ;
9788 PyObject * obj8 = 0 ;
9789 char *kwnames[] = {
9790 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9791 };
9792
248ed943 9793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
9794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9795 if (SWIG_arg_fail(1)) SWIG_fail;
9796 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9797 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 9798 if (obj2) {
093d3ff1
RD
9799 {
9800 arg3 = (int)(SWIG_As_int(obj2));
9801 if (SWIG_arg_fail(3)) SWIG_fail;
9802 }
248ed943 9803 }
d14a1e28
RD
9804 if (obj3) {
9805 {
9806 arg4 = wxString_in_helper(obj3);
9807 if (arg4 == NULL) SWIG_fail;
ae8162c8 9808 temp4 = true;
d14a1e28
RD
9809 }
9810 }
9811 if (obj4) {
9812 {
9813 arg5 = &temp5;
9814 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9815 }
9816 }
9817 if (obj5) {
9818 {
9819 arg6 = &temp6;
9820 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9821 }
9822 }
994141e6 9823 if (obj6) {
093d3ff1
RD
9824 {
9825 arg7 = (long)(SWIG_As_long(obj6));
9826 if (SWIG_arg_fail(7)) SWIG_fail;
9827 }
994141e6 9828 }
d14a1e28 9829 if (obj7) {
093d3ff1
RD
9830 {
9831 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9832 if (SWIG_arg_fail(8)) SWIG_fail;
9833 if (arg8 == NULL) {
9834 SWIG_null_ref("wxValidator");
9835 }
9836 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
9837 }
9838 }
9839 if (obj8) {
9840 {
9841 arg9 = wxString_in_helper(obj8);
9842 if (arg9 == NULL) SWIG_fail;
ae8162c8 9843 temp9 = true;
d14a1e28
RD
9844 }
9845 }
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
4f89f6a3
RD
9853 {
9854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9855 }
d14a1e28
RD
9856 {
9857 if (temp4)
9858 delete arg4;
9859 }
9860 {
9861 if (temp9)
9862 delete arg9;
9863 }
9864 return resultobj;
9865 fail:
9866 {
9867 if (temp4)
9868 delete arg4;
9869 }
9870 {
9871 if (temp9)
9872 delete arg9;
9873 }
9874 return NULL;
9875}
9876
9877
c32bde28 9878static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9879 PyObject *resultobj;
9880 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9881 wxString result;
9882 PyObject * obj0 = 0 ;
9883 char *kwnames[] = {
9884 (char *) "self", NULL
9885 };
9886
9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
9888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9889 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9890 {
9891 PyThreadState* __tstate = wxPyBeginAllowThreads();
9892 result = ((wxTextCtrl const *)arg1)->GetValue();
9893
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 {
9898#if wxUSE_UNICODE
9899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9900#else
9901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9902#endif
9903 }
9904 return resultobj;
9905 fail:
9906 return NULL;
9907}
9908
9909
c32bde28 9910static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9911 PyObject *resultobj;
9912 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9913 wxString *arg2 = 0 ;
ae8162c8 9914 bool temp2 = false ;
d14a1e28
RD
9915 PyObject * obj0 = 0 ;
9916 PyObject * obj1 = 0 ;
9917 char *kwnames[] = {
9918 (char *) "self",(char *) "value", NULL
9919 };
9920
9921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9923 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9924 {
9925 arg2 = wxString_in_helper(obj1);
9926 if (arg2 == NULL) SWIG_fail;
ae8162c8 9927 temp2 = true;
d14a1e28
RD
9928 }
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 (arg1)->SetValue((wxString const &)*arg2);
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
9936 Py_INCREF(Py_None); resultobj = Py_None;
9937 {
9938 if (temp2)
9939 delete arg2;
9940 }
9941 return resultobj;
9942 fail:
9943 {
9944 if (temp2)
9945 delete arg2;
9946 }
9947 return NULL;
9948}
9949
9950
c32bde28 9951static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9952 PyObject *resultobj;
9953 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9954 long arg2 ;
9955 long arg3 ;
9956 wxString result;
9957 PyObject * obj0 = 0 ;
994141e6
RD
9958 PyObject * obj1 = 0 ;
9959 PyObject * obj2 = 0 ;
d14a1e28
RD
9960 char *kwnames[] = {
9961 (char *) "self",(char *) "from",(char *) "to", NULL
9962 };
9963
994141e6 9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9966 if (SWIG_arg_fail(1)) SWIG_fail;
9967 {
9968 arg2 = (long)(SWIG_As_long(obj1));
9969 if (SWIG_arg_fail(2)) SWIG_fail;
9970 }
9971 {
9972 arg3 = (long)(SWIG_As_long(obj2));
9973 if (SWIG_arg_fail(3)) SWIG_fail;
9974 }
d14a1e28
RD
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9978
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 {
9983#if wxUSE_UNICODE
9984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9985#else
9986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9987#endif
9988 }
9989 return resultobj;
9990 fail:
9991 return NULL;
9992}
9993
9994
c32bde28 9995static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9996 PyObject *resultobj;
9997 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9998 long arg2 ;
9999 int result;
10000 PyObject * obj0 = 0 ;
994141e6 10001 PyObject * obj1 = 0 ;
d14a1e28
RD
10002 char *kwnames[] = {
10003 (char *) "self",(char *) "lineNo", NULL
10004 };
10005
994141e6 10006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10008 if (SWIG_arg_fail(1)) SWIG_fail;
10009 {
10010 arg2 = (long)(SWIG_As_long(obj1));
10011 if (SWIG_arg_fail(2)) SWIG_fail;
10012 }
d14a1e28
RD
10013 {
10014 PyThreadState* __tstate = wxPyBeginAllowThreads();
10015 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10016
10017 wxPyEndAllowThreads(__tstate);
10018 if (PyErr_Occurred()) SWIG_fail;
10019 }
093d3ff1
RD
10020 {
10021 resultobj = SWIG_From_int((int)(result));
10022 }
d14a1e28
RD
10023 return resultobj;
10024 fail:
10025 return NULL;
10026}
10027
10028
c32bde28 10029static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10030 PyObject *resultobj;
10031 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10032 long arg2 ;
10033 wxString result;
10034 PyObject * obj0 = 0 ;
994141e6 10035 PyObject * obj1 = 0 ;
d14a1e28
RD
10036 char *kwnames[] = {
10037 (char *) "self",(char *) "lineNo", NULL
10038 };
10039
994141e6 10040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10042 if (SWIG_arg_fail(1)) SWIG_fail;
10043 {
10044 arg2 = (long)(SWIG_As_long(obj1));
10045 if (SWIG_arg_fail(2)) SWIG_fail;
10046 }
d14a1e28
RD
10047 {
10048 PyThreadState* __tstate = wxPyBeginAllowThreads();
10049 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10050
10051 wxPyEndAllowThreads(__tstate);
10052 if (PyErr_Occurred()) SWIG_fail;
10053 }
10054 {
10055#if wxUSE_UNICODE
10056 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10057#else
10058 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10059#endif
10060 }
10061 return resultobj;
10062 fail:
10063 return NULL;
10064}
10065
10066
c32bde28 10067static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10068 PyObject *resultobj;
10069 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10070 int result;
10071 PyObject * obj0 = 0 ;
10072 char *kwnames[] = {
10073 (char *) "self", NULL
10074 };
10075
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
093d3ff1
RD
10077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10078 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10079 {
10080 PyThreadState* __tstate = wxPyBeginAllowThreads();
10081 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10082
10083 wxPyEndAllowThreads(__tstate);
10084 if (PyErr_Occurred()) SWIG_fail;
10085 }
093d3ff1
RD
10086 {
10087 resultobj = SWIG_From_int((int)(result));
10088 }
d14a1e28
RD
10089 return resultobj;
10090 fail:
10091 return NULL;
10092}
10093
10094
c32bde28 10095static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10096 PyObject *resultobj;
10097 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10098 bool result;
10099 PyObject * obj0 = 0 ;
10100 char *kwnames[] = {
10101 (char *) "self", NULL
10102 };
10103
10104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
093d3ff1
RD
10105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10106 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
10109 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10110
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
4f89f6a3
RD
10114 {
10115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10116 }
d14a1e28
RD
10117 return resultobj;
10118 fail:
10119 return NULL;
10120}
10121
10122
c32bde28 10123static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10124 PyObject *resultobj;
10125 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10126 bool result;
10127 PyObject * obj0 = 0 ;
10128 char *kwnames[] = {
10129 (char *) "self", NULL
10130 };
10131
10132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
093d3ff1
RD
10133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10134 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10138
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
4f89f6a3
RD
10142 {
10143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10144 }
d14a1e28
RD
10145 return resultobj;
10146 fail:
10147 return NULL;
10148}
10149
10150
c32bde28 10151static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10152 PyObject *resultobj;
10153 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10154 bool result;
10155 PyObject * obj0 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "self", NULL
10158 };
10159
10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10163 {
10164 PyThreadState* __tstate = wxPyBeginAllowThreads();
10165 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10166
10167 wxPyEndAllowThreads(__tstate);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 }
4f89f6a3
RD
10170 {
10171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10172 }
d14a1e28
RD
10173 return resultobj;
10174 fail:
10175 return NULL;
10176}
10177
10178
c32bde28 10179static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10180 PyObject *resultobj;
10181 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10182 bool result;
10183 PyObject * obj0 = 0 ;
10184 char *kwnames[] = {
10185 (char *) "self", NULL
10186 };
10187
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
10189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10190 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
4f89f6a3
RD
10198 {
10199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10200 }
d14a1e28
RD
10201 return resultobj;
10202 fail:
10203 return NULL;
10204}
10205
10206
c32bde28 10207static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10208 PyObject *resultobj;
10209 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10210 long *arg2 = (long *) 0 ;
10211 long *arg3 = (long *) 0 ;
10212 long temp2 ;
c32bde28 10213 int res2 = 0 ;
d14a1e28 10214 long temp3 ;
c32bde28 10215 int res3 = 0 ;
d14a1e28
RD
10216 PyObject * obj0 = 0 ;
10217 char *kwnames[] = {
10218 (char *) "self", NULL
10219 };
10220
c32bde28
RD
10221 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10222 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 10223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10225 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10226 {
10227 PyThreadState* __tstate = wxPyBeginAllowThreads();
10228 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10229
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
10233 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10234 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10235 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10236 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10237 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
10238 return resultobj;
10239 fail:
10240 return NULL;
10241}
10242
10243
c32bde28 10244static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10245 PyObject *resultobj;
10246 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10247 wxString result;
10248 PyObject * obj0 = 0 ;
10249 char *kwnames[] = {
10250 (char *) "self", NULL
10251 };
10252
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
10254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10255 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 }
10263 {
10264#if wxUSE_UNICODE
10265 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10266#else
10267 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10268#endif
10269 }
10270 return resultobj;
10271 fail:
10272 return NULL;
10273}
10274
10275
c32bde28 10276static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10277 PyObject *resultobj;
10278 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10279 PyObject * obj0 = 0 ;
10280 char *kwnames[] = {
10281 (char *) "self", NULL
10282 };
10283
10284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
10285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10286 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10287 {
10288 PyThreadState* __tstate = wxPyBeginAllowThreads();
10289 (arg1)->Clear();
10290
10291 wxPyEndAllowThreads(__tstate);
10292 if (PyErr_Occurred()) SWIG_fail;
10293 }
10294 Py_INCREF(Py_None); resultobj = Py_None;
10295 return resultobj;
10296 fail:
10297 return NULL;
10298}
10299
10300
c32bde28 10301static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10302 PyObject *resultobj;
10303 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10304 long arg2 ;
10305 long arg3 ;
10306 wxString *arg4 = 0 ;
ae8162c8 10307 bool temp4 = false ;
d14a1e28 10308 PyObject * obj0 = 0 ;
994141e6
RD
10309 PyObject * obj1 = 0 ;
10310 PyObject * obj2 = 0 ;
d14a1e28
RD
10311 PyObject * obj3 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10314 };
10315
994141e6 10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10318 if (SWIG_arg_fail(1)) SWIG_fail;
10319 {
10320 arg2 = (long)(SWIG_As_long(obj1));
10321 if (SWIG_arg_fail(2)) SWIG_fail;
10322 }
10323 {
10324 arg3 = (long)(SWIG_As_long(obj2));
10325 if (SWIG_arg_fail(3)) SWIG_fail;
10326 }
d14a1e28
RD
10327 {
10328 arg4 = wxString_in_helper(obj3);
10329 if (arg4 == NULL) SWIG_fail;
ae8162c8 10330 temp4 = true;
d14a1e28
RD
10331 }
10332 {
10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
10334 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10335
10336 wxPyEndAllowThreads(__tstate);
10337 if (PyErr_Occurred()) SWIG_fail;
10338 }
10339 Py_INCREF(Py_None); resultobj = Py_None;
10340 {
10341 if (temp4)
10342 delete arg4;
10343 }
10344 return resultobj;
10345 fail:
10346 {
10347 if (temp4)
10348 delete arg4;
10349 }
10350 return NULL;
10351}
10352
10353
c32bde28 10354static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10355 PyObject *resultobj;
10356 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10357 long arg2 ;
10358 long arg3 ;
10359 PyObject * obj0 = 0 ;
994141e6
RD
10360 PyObject * obj1 = 0 ;
10361 PyObject * obj2 = 0 ;
d14a1e28
RD
10362 char *kwnames[] = {
10363 (char *) "self",(char *) "from",(char *) "to", NULL
10364 };
10365
994141e6 10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10368 if (SWIG_arg_fail(1)) SWIG_fail;
10369 {
10370 arg2 = (long)(SWIG_As_long(obj1));
10371 if (SWIG_arg_fail(2)) SWIG_fail;
10372 }
10373 {
10374 arg3 = (long)(SWIG_As_long(obj2));
10375 if (SWIG_arg_fail(3)) SWIG_fail;
10376 }
d14a1e28
RD
10377 {
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
10379 (arg1)->Remove(arg2,arg3);
10380
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 Py_INCREF(Py_None); resultobj = Py_None;
10385 return resultobj;
10386 fail:
10387 return NULL;
10388}
10389
10390
c32bde28 10391static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10392 PyObject *resultobj;
10393 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10394 wxString *arg2 = 0 ;
10395 bool result;
ae8162c8 10396 bool temp2 = false ;
d14a1e28
RD
10397 PyObject * obj0 = 0 ;
10398 PyObject * obj1 = 0 ;
10399 char *kwnames[] = {
10400 (char *) "self",(char *) "file", NULL
10401 };
10402
10403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10405 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10406 {
10407 arg2 = wxString_in_helper(obj1);
10408 if (arg2 == NULL) SWIG_fail;
ae8162c8 10409 temp2 = true;
d14a1e28
RD
10410 }
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
4f89f6a3
RD
10418 {
10419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10420 }
d14a1e28
RD
10421 {
10422 if (temp2)
10423 delete arg2;
10424 }
10425 return resultobj;
10426 fail:
10427 {
10428 if (temp2)
10429 delete arg2;
10430 }
10431 return NULL;
10432}
10433
10434
c32bde28 10435static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10436 PyObject *resultobj;
10437 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10438 wxString const &arg2_defvalue = wxPyEmptyString ;
10439 wxString *arg2 = (wxString *) &arg2_defvalue ;
10440 bool result;
ae8162c8 10441 bool temp2 = false ;
d14a1e28
RD
10442 PyObject * obj0 = 0 ;
10443 PyObject * obj1 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self",(char *) "file", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10450 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10451 if (obj1) {
10452 {
10453 arg2 = wxString_in_helper(obj1);
10454 if (arg2 == NULL) SWIG_fail;
ae8162c8 10455 temp2 = true;
d14a1e28
RD
10456 }
10457 }
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
4f89f6a3
RD
10465 {
10466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10467 }
d14a1e28
RD
10468 {
10469 if (temp2)
10470 delete arg2;
10471 }
10472 return resultobj;
10473 fail:
10474 {
10475 if (temp2)
10476 delete arg2;
10477 }
10478 return NULL;
10479}
10480
10481
c32bde28 10482static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10483 PyObject *resultobj;
10484 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10485 PyObject * obj0 = 0 ;
10486 char *kwnames[] = {
10487 (char *) "self", NULL
10488 };
10489
10490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
093d3ff1
RD
10491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10492 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 (arg1)->MarkDirty();
10496
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 }
10500 Py_INCREF(Py_None); resultobj = Py_None;
10501 return resultobj;
10502 fail:
10503 return NULL;
10504}
10505
10506
c32bde28 10507static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10508 PyObject *resultobj;
10509 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10510 PyObject * obj0 = 0 ;
10511 char *kwnames[] = {
10512 (char *) "self", NULL
10513 };
10514
10515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
093d3ff1
RD
10516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10517 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10518 {
10519 PyThreadState* __tstate = wxPyBeginAllowThreads();
10520 (arg1)->DiscardEdits();
10521
10522 wxPyEndAllowThreads(__tstate);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 }
10525 Py_INCREF(Py_None); resultobj = Py_None;
10526 return resultobj;
10527 fail:
10528 return NULL;
10529}
10530
10531
c32bde28 10532static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10533 PyObject *resultobj;
10534 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10535 unsigned long arg2 ;
10536 PyObject * obj0 = 0 ;
10537 PyObject * obj1 = 0 ;
10538 char *kwnames[] = {
10539 (char *) "self",(char *) "len", NULL
10540 };
10541
10542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10544 if (SWIG_arg_fail(1)) SWIG_fail;
10545 {
10546 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10547 if (SWIG_arg_fail(2)) SWIG_fail;
10548 }
d14a1e28
RD
10549 {
10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
10551 (arg1)->SetMaxLength(arg2);
10552
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 Py_INCREF(Py_None); resultobj = Py_None;
10557 return resultobj;
10558 fail:
10559 return NULL;
10560}
10561
10562
c32bde28 10563static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10564 PyObject *resultobj;
10565 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10566 wxString *arg2 = 0 ;
ae8162c8 10567 bool temp2 = false ;
d14a1e28
RD
10568 PyObject * obj0 = 0 ;
10569 PyObject * obj1 = 0 ;
10570 char *kwnames[] = {
10571 (char *) "self",(char *) "text", NULL
10572 };
10573
10574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10576 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10577 {
10578 arg2 = wxString_in_helper(obj1);
10579 if (arg2 == NULL) SWIG_fail;
ae8162c8 10580 temp2 = true;
d14a1e28
RD
10581 }
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 (arg1)->WriteText((wxString const &)*arg2);
10585
10586 wxPyEndAllowThreads(__tstate);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 }
10589 Py_INCREF(Py_None); resultobj = Py_None;
10590 {
10591 if (temp2)
10592 delete arg2;
10593 }
10594 return resultobj;
10595 fail:
10596 {
10597 if (temp2)
10598 delete arg2;
10599 }
10600 return NULL;
10601}
10602
10603
c32bde28 10604static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10605 PyObject *resultobj;
10606 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10607 wxString *arg2 = 0 ;
ae8162c8 10608 bool temp2 = false ;
d14a1e28
RD
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 char *kwnames[] = {
10612 (char *) "self",(char *) "text", NULL
10613 };
10614
10615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10617 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10618 {
10619 arg2 = wxString_in_helper(obj1);
10620 if (arg2 == NULL) SWIG_fail;
ae8162c8 10621 temp2 = true;
d14a1e28
RD
10622 }
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 (arg1)->AppendText((wxString const &)*arg2);
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 Py_INCREF(Py_None); resultobj = Py_None;
10631 {
10632 if (temp2)
10633 delete arg2;
10634 }
10635 return resultobj;
10636 fail:
10637 {
10638 if (temp2)
10639 delete arg2;
10640 }
10641 return NULL;
10642}
10643
10644
c32bde28 10645static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10646 PyObject *resultobj;
10647 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10648 wxKeyEvent *arg2 = 0 ;
10649 bool result;
10650 PyObject * obj0 = 0 ;
10651 PyObject * obj1 = 0 ;
10652 char *kwnames[] = {
10653 (char *) "self",(char *) "event", NULL
10654 };
10655
10656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10658 if (SWIG_arg_fail(1)) SWIG_fail;
10659 {
10660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10661 if (SWIG_arg_fail(2)) SWIG_fail;
10662 if (arg2 == NULL) {
10663 SWIG_null_ref("wxKeyEvent");
10664 }
10665 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10666 }
10667 {
10668 PyThreadState* __tstate = wxPyBeginAllowThreads();
10669 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10670
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
4f89f6a3
RD
10674 {
10675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10676 }
d14a1e28
RD
10677 return resultobj;
10678 fail:
10679 return NULL;
10680}
10681
10682
c32bde28 10683static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10684 PyObject *resultobj;
10685 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10686 long arg2 ;
10687 long arg3 ;
10688 wxTextAttr *arg4 = 0 ;
10689 bool result;
10690 PyObject * obj0 = 0 ;
994141e6
RD
10691 PyObject * obj1 = 0 ;
10692 PyObject * obj2 = 0 ;
d14a1e28
RD
10693 PyObject * obj3 = 0 ;
10694 char *kwnames[] = {
10695 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10696 };
10697
994141e6 10698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10700 if (SWIG_arg_fail(1)) SWIG_fail;
10701 {
10702 arg2 = (long)(SWIG_As_long(obj1));
10703 if (SWIG_arg_fail(2)) SWIG_fail;
10704 }
10705 {
10706 arg3 = (long)(SWIG_As_long(obj2));
10707 if (SWIG_arg_fail(3)) SWIG_fail;
10708 }
10709 {
10710 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10711 if (SWIG_arg_fail(4)) SWIG_fail;
10712 if (arg4 == NULL) {
10713 SWIG_null_ref("wxTextAttr");
10714 }
10715 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
10716 }
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10720
10721 wxPyEndAllowThreads(__tstate);
10722 if (PyErr_Occurred()) SWIG_fail;
10723 }
4f89f6a3
RD
10724 {
10725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10726 }
d14a1e28
RD
10727 return resultobj;
10728 fail:
10729 return NULL;
10730}
10731
10732
c32bde28 10733static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10734 PyObject *resultobj;
10735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10736 long arg2 ;
10737 wxTextAttr *arg3 = 0 ;
10738 bool result;
10739 PyObject * obj0 = 0 ;
994141e6 10740 PyObject * obj1 = 0 ;
d14a1e28
RD
10741 PyObject * obj2 = 0 ;
10742 char *kwnames[] = {
10743 (char *) "self",(char *) "position",(char *) "style", NULL
10744 };
10745
994141e6 10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10748 if (SWIG_arg_fail(1)) SWIG_fail;
10749 {
10750 arg2 = (long)(SWIG_As_long(obj1));
10751 if (SWIG_arg_fail(2)) SWIG_fail;
10752 }
10753 {
10754 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10755 if (SWIG_arg_fail(3)) SWIG_fail;
10756 if (arg3 == NULL) {
10757 SWIG_null_ref("wxTextAttr");
10758 }
10759 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10760 }
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
4f89f6a3
RD
10768 {
10769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10770 }
d14a1e28
RD
10771 return resultobj;
10772 fail:
10773 return NULL;
10774}
10775
10776
c32bde28 10777static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10778 PyObject *resultobj;
10779 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10780 wxTextAttr *arg2 = 0 ;
10781 bool result;
10782 PyObject * obj0 = 0 ;
10783 PyObject * obj1 = 0 ;
10784 char *kwnames[] = {
10785 (char *) "self",(char *) "style", NULL
10786 };
10787
10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10790 if (SWIG_arg_fail(1)) SWIG_fail;
10791 {
10792 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10793 if (SWIG_arg_fail(2)) SWIG_fail;
10794 if (arg2 == NULL) {
10795 SWIG_null_ref("wxTextAttr");
10796 }
10797 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10798 }
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10802
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
4f89f6a3
RD
10806 {
10807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10808 }
d14a1e28
RD
10809 return resultobj;
10810 fail:
10811 return NULL;
10812}
10813
10814
c32bde28 10815static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10816 PyObject *resultobj;
10817 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10818 wxTextAttr *result;
10819 PyObject * obj0 = 0 ;
10820 char *kwnames[] = {
10821 (char *) "self", NULL
10822 };
10823
10824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
10825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10826 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 {
10830 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10831 result = (wxTextAttr *) &_result_ref;
10832 }
10833
10834 wxPyEndAllowThreads(__tstate);
10835 if (PyErr_Occurred()) SWIG_fail;
10836 }
15afbcd0 10837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
d14a1e28
RD
10838 return resultobj;
10839 fail:
10840 return NULL;
10841}
10842
10843
c32bde28 10844static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10845 PyObject *resultobj;
10846 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10847 long arg2 ;
10848 long arg3 ;
10849 long result;
10850 PyObject * obj0 = 0 ;
994141e6
RD
10851 PyObject * obj1 = 0 ;
10852 PyObject * obj2 = 0 ;
d14a1e28
RD
10853 char *kwnames[] = {
10854 (char *) "self",(char *) "x",(char *) "y", NULL
10855 };
10856
994141e6 10857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10859 if (SWIG_arg_fail(1)) SWIG_fail;
10860 {
10861 arg2 = (long)(SWIG_As_long(obj1));
10862 if (SWIG_arg_fail(2)) SWIG_fail;
10863 }
10864 {
10865 arg3 = (long)(SWIG_As_long(obj2));
10866 if (SWIG_arg_fail(3)) SWIG_fail;
10867 }
d14a1e28
RD
10868 {
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
10870 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10871
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
093d3ff1
RD
10875 {
10876 resultobj = SWIG_From_long((long)(result));
10877 }
d14a1e28
RD
10878 return resultobj;
10879 fail:
10880 return NULL;
10881}
10882
10883
c32bde28 10884static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10885 PyObject *resultobj;
10886 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10887 long arg2 ;
10888 long *arg3 = (long *) 0 ;
10889 long *arg4 = (long *) 0 ;
10890 long temp3 ;
c32bde28 10891 int res3 = 0 ;
d14a1e28 10892 long temp4 ;
c32bde28 10893 int res4 = 0 ;
d14a1e28 10894 PyObject * obj0 = 0 ;
994141e6 10895 PyObject * obj1 = 0 ;
d14a1e28
RD
10896 char *kwnames[] = {
10897 (char *) "self",(char *) "pos", NULL
10898 };
10899
c32bde28
RD
10900 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10901 arg4 = &temp4; res4 = SWIG_NEWOBJ;
994141e6 10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10904 if (SWIG_arg_fail(1)) SWIG_fail;
10905 {
10906 arg2 = (long)(SWIG_As_long(obj1));
10907 if (SWIG_arg_fail(2)) SWIG_fail;
10908 }
d14a1e28
RD
10909 {
10910 PyThreadState* __tstate = wxPyBeginAllowThreads();
10911 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10912
10913 wxPyEndAllowThreads(__tstate);
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
10917 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10918 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10919 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10920 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d14a1e28
RD
10921 return resultobj;
10922 fail:
10923 return NULL;
10924}
10925
10926
c32bde28 10927static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10928 PyObject *resultobj;
10929 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10930 long arg2 ;
10931 PyObject * obj0 = 0 ;
994141e6 10932 PyObject * obj1 = 0 ;
d14a1e28
RD
10933 char *kwnames[] = {
10934 (char *) "self",(char *) "pos", NULL
10935 };
10936
994141e6 10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10939 if (SWIG_arg_fail(1)) SWIG_fail;
10940 {
10941 arg2 = (long)(SWIG_As_long(obj1));
10942 if (SWIG_arg_fail(2)) SWIG_fail;
10943 }
d14a1e28
RD
10944 {
10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
10946 (arg1)->ShowPosition(arg2);
10947
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
10951 Py_INCREF(Py_None); resultobj = Py_None;
10952 return resultobj;
10953 fail:
10954 return NULL;
10955}
10956
10957
c32bde28 10958static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
4d5c3d91
RD
10959 PyObject *resultobj;
10960 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10961 wxPoint *arg2 = 0 ;
10962 long *arg3 = (long *) 0 ;
10963 long *arg4 = (long *) 0 ;
093d3ff1 10964 wxTextCtrlHitTestResult result;
4d5c3d91
RD
10965 wxPoint temp2 ;
10966 long temp3 ;
c32bde28 10967 int res3 = 0 ;
4d5c3d91 10968 long temp4 ;
c32bde28 10969 int res4 = 0 ;
4d5c3d91
RD
10970 PyObject * obj0 = 0 ;
10971 PyObject * obj1 = 0 ;
10972 char *kwnames[] = {
10973 (char *) "self",(char *) "pt", NULL
10974 };
10975
c32bde28
RD
10976 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10977 arg4 = &temp4; res4 = SWIG_NEWOBJ;
4d5c3d91 10978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10980 if (SWIG_arg_fail(1)) SWIG_fail;
4d5c3d91
RD
10981 {
10982 arg2 = &temp2;
10983 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10984 }
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10987 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
4d5c3d91
RD
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
093d3ff1 10992 resultobj = SWIG_From_int((result));
c32bde28
RD
10993 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10994 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10995 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10996 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
4d5c3d91
RD
10997 return resultobj;
10998 fail:
10999 return NULL;
11000}
11001
11002
c32bde28 11003static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
4896ac9e
RD
11004 PyObject *resultobj;
11005 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11006 wxPoint *arg2 = 0 ;
11007 long *arg3 = (long *) 0 ;
093d3ff1 11008 wxTextCtrlHitTestResult result;
4896ac9e
RD
11009 wxPoint temp2 ;
11010 long temp3 ;
c32bde28 11011 int res3 = 0 ;
4896ac9e
RD
11012 PyObject * obj0 = 0 ;
11013 PyObject * obj1 = 0 ;
11014 char *kwnames[] = {
11015 (char *) "self",(char *) "pt", NULL
11016 };
11017
c32bde28 11018 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11021 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
11022 {
11023 arg2 = &temp2;
11024 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11025 }
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 11028 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
11029
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
093d3ff1 11033 resultobj = SWIG_From_int((result));
c32bde28
RD
11034 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11035 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
11036 return resultobj;
11037 fail:
11038 return NULL;
11039}
11040
11041
c32bde28 11042static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11043 PyObject *resultobj;
11044 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11045 PyObject * obj0 = 0 ;
11046 char *kwnames[] = {
11047 (char *) "self", NULL
11048 };
11049
11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11052 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 (arg1)->Copy();
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 Py_INCREF(Py_None); resultobj = Py_None;
11061 return resultobj;
11062 fail:
11063 return NULL;
11064}
11065
11066
c32bde28 11067static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11068 PyObject *resultobj;
11069 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11070 PyObject * obj0 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "self", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11077 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 (arg1)->Cut();
11081
11082 wxPyEndAllowThreads(__tstate);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 Py_INCREF(Py_None); resultobj = Py_None;
11086 return resultobj;
11087 fail:
11088 return NULL;
11089}
11090
11091
c32bde28 11092static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11093 PyObject *resultobj;
11094 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11095 PyObject * obj0 = 0 ;
11096 char *kwnames[] = {
11097 (char *) "self", NULL
11098 };
11099
11100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11102 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 (arg1)->Paste();
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 }
11110 Py_INCREF(Py_None); resultobj = Py_None;
11111 return resultobj;
11112 fail:
11113 return NULL;
11114}
11115
11116
c32bde28 11117static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11118 PyObject *resultobj;
11119 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11120 bool result;
11121 PyObject * obj0 = 0 ;
11122 char *kwnames[] = {
11123 (char *) "self", NULL
11124 };
11125
11126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11128 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11129 {
11130 PyThreadState* __tstate = wxPyBeginAllowThreads();
11131 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11132
11133 wxPyEndAllowThreads(__tstate);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
4f89f6a3
RD
11136 {
11137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11138 }
d14a1e28
RD
11139 return resultobj;
11140 fail:
11141 return NULL;
11142}
11143
11144
c32bde28 11145static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11146 PyObject *resultobj;
11147 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11148 bool result;
11149 PyObject * obj0 = 0 ;
11150 char *kwnames[] = {
11151 (char *) "self", NULL
11152 };
11153
11154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
093d3ff1
RD
11155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11156 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11160
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
4f89f6a3
RD
11164 {
11165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11166 }
d14a1e28
RD
11167 return resultobj;
11168 fail:
11169 return NULL;
11170}
11171
11172
c32bde28 11173static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11174 PyObject *resultobj;
11175 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11176 bool result;
11177 PyObject * obj0 = 0 ;
11178 char *kwnames[] = {
11179 (char *) "self", NULL
11180 };
11181
11182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
093d3ff1
RD
11183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
11187 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11188
11189 wxPyEndAllowThreads(__tstate);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
4f89f6a3
RD
11192 {
11193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11194 }
d14a1e28
RD
11195 return resultobj;
11196 fail:
11197 return NULL;
11198}
11199
11200
c32bde28 11201static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11202 PyObject *resultobj;
11203 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11204 PyObject * obj0 = 0 ;
11205 char *kwnames[] = {
11206 (char *) "self", NULL
11207 };
11208
11209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11211 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 (arg1)->Undo();
11215
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 Py_INCREF(Py_None); resultobj = Py_None;
11220 return resultobj;
11221 fail:
11222 return NULL;
11223}
11224
11225
c32bde28 11226static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11227 PyObject *resultobj;
11228 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11229 PyObject * obj0 = 0 ;
11230 char *kwnames[] = {
11231 (char *) "self", NULL
11232 };
11233
11234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11236 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 (arg1)->Redo();
11240
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 Py_INCREF(Py_None); resultobj = Py_None;
11245 return resultobj;
11246 fail:
11247 return NULL;
11248}
11249
11250
c32bde28 11251static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11252 PyObject *resultobj;
11253 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11254 bool result;
11255 PyObject * obj0 = 0 ;
11256 char *kwnames[] = {
11257 (char *) "self", NULL
11258 };
11259
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11262 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11266
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
4f89f6a3
RD
11270 {
11271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11272 }
d14a1e28
RD
11273 return resultobj;
11274 fail:
11275 return NULL;
11276}
11277
11278
c32bde28 11279static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11280 PyObject *resultobj;
11281 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11282 bool result;
11283 PyObject * obj0 = 0 ;
11284 char *kwnames[] = {
11285 (char *) "self", NULL
11286 };
11287
11288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
093d3ff1
RD
11289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11290 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11291 {
11292 PyThreadState* __tstate = wxPyBeginAllowThreads();
11293 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11294
11295 wxPyEndAllowThreads(__tstate);
11296 if (PyErr_Occurred()) SWIG_fail;
11297 }
4f89f6a3
RD
11298 {
11299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11300 }
d14a1e28
RD
11301 return resultobj;
11302 fail:
11303 return NULL;
11304}
11305
11306
c32bde28 11307static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11308 PyObject *resultobj;
11309 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11310 long arg2 ;
11311 PyObject * obj0 = 0 ;
994141e6 11312 PyObject * obj1 = 0 ;
d14a1e28
RD
11313 char *kwnames[] = {
11314 (char *) "self",(char *) "pos", NULL
11315 };
11316
994141e6 11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11319 if (SWIG_arg_fail(1)) SWIG_fail;
11320 {
11321 arg2 = (long)(SWIG_As_long(obj1));
11322 if (SWIG_arg_fail(2)) SWIG_fail;
11323 }
d14a1e28
RD
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 (arg1)->SetInsertionPoint(arg2);
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 Py_INCREF(Py_None); resultobj = Py_None;
11332 return resultobj;
11333 fail:
11334 return NULL;
11335}
11336
11337
c32bde28 11338static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11339 PyObject *resultobj;
11340 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11341 PyObject * obj0 = 0 ;
11342 char *kwnames[] = {
11343 (char *) "self", NULL
11344 };
11345
11346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11348 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 (arg1)->SetInsertionPointEnd();
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 Py_INCREF(Py_None); resultobj = Py_None;
11357 return resultobj;
11358 fail:
11359 return NULL;
11360}
11361
11362
c32bde28 11363static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11364 PyObject *resultobj;
11365 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11366 long result;
11367 PyObject * obj0 = 0 ;
11368 char *kwnames[] = {
11369 (char *) "self", NULL
11370 };
11371
11372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
11373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11374 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11375 {
11376 PyThreadState* __tstate = wxPyBeginAllowThreads();
11377 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11378
11379 wxPyEndAllowThreads(__tstate);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
093d3ff1
RD
11382 {
11383 resultobj = SWIG_From_long((long)(result));
11384 }
d14a1e28
RD
11385 return resultobj;
11386 fail:
11387 return NULL;
11388}
11389
11390
c32bde28 11391static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11392 PyObject *resultobj;
11393 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11394 long result;
11395 PyObject * obj0 = 0 ;
11396 char *kwnames[] = {
11397 (char *) "self", NULL
11398 };
11399
11400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11402 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11403 {
11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
11405 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11406
11407 wxPyEndAllowThreads(__tstate);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
093d3ff1
RD
11410 {
11411 resultobj = SWIG_From_long((long)(result));
11412 }
d14a1e28
RD
11413 return resultobj;
11414 fail:
11415 return NULL;
11416}
11417
11418
c32bde28 11419static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11420 PyObject *resultobj;
11421 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11422 long arg2 ;
11423 long arg3 ;
11424 PyObject * obj0 = 0 ;
994141e6
RD
11425 PyObject * obj1 = 0 ;
11426 PyObject * obj2 = 0 ;
d14a1e28
RD
11427 char *kwnames[] = {
11428 (char *) "self",(char *) "from",(char *) "to", NULL
11429 };
11430
994141e6 11431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11433 if (SWIG_arg_fail(1)) SWIG_fail;
11434 {
11435 arg2 = (long)(SWIG_As_long(obj1));
11436 if (SWIG_arg_fail(2)) SWIG_fail;
11437 }
11438 {
11439 arg3 = (long)(SWIG_As_long(obj2));
11440 if (SWIG_arg_fail(3)) SWIG_fail;
11441 }
d14a1e28
RD
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 (arg1)->SetSelection(arg2,arg3);
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 Py_INCREF(Py_None); resultobj = Py_None;
11450 return resultobj;
11451 fail:
11452 return NULL;
11453}
11454
11455
c32bde28 11456static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11457 PyObject *resultobj;
11458 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11459 PyObject * obj0 = 0 ;
11460 char *kwnames[] = {
11461 (char *) "self", NULL
11462 };
11463
11464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11466 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11467 {
11468 PyThreadState* __tstate = wxPyBeginAllowThreads();
11469 (arg1)->SelectAll();
11470
11471 wxPyEndAllowThreads(__tstate);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 }
11474 Py_INCREF(Py_None); resultobj = Py_None;
11475 return resultobj;
11476 fail:
11477 return NULL;
11478}
11479
11480
c32bde28 11481static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11482 PyObject *resultobj;
11483 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11484 bool arg2 ;
11485 PyObject * obj0 = 0 ;
11486 PyObject * obj1 = 0 ;
11487 char *kwnames[] = {
11488 (char *) "self",(char *) "editable", NULL
11489 };
11490
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11493 if (SWIG_arg_fail(1)) SWIG_fail;
11494 {
11495 arg2 = (bool)(SWIG_As_bool(obj1));
11496 if (SWIG_arg_fail(2)) SWIG_fail;
11497 }
d14a1e28
RD
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 (arg1)->SetEditable(arg2);
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 Py_INCREF(Py_None); resultobj = Py_None;
11506 return resultobj;
11507 fail:
11508 return NULL;
11509}
11510
11511
c32bde28 11512static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11513 PyObject *resultobj;
11514 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11515 wxString *arg2 = 0 ;
ae8162c8 11516 bool temp2 = false ;
d14a1e28
RD
11517 PyObject * obj0 = 0 ;
11518 PyObject * obj1 = 0 ;
11519 char *kwnames[] = {
11520 (char *) "self",(char *) "text", NULL
11521 };
11522
11523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11525 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11526 {
11527 arg2 = wxString_in_helper(obj1);
11528 if (arg2 == NULL) SWIG_fail;
ae8162c8 11529 temp2 = true;
d14a1e28
RD
11530 }
11531 {
11532 PyThreadState* __tstate = wxPyBeginAllowThreads();
11533 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11534
11535 wxPyEndAllowThreads(__tstate);
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 Py_INCREF(Py_None); resultobj = Py_None;
11539 {
11540 if (temp2)
11541 delete arg2;
11542 }
11543 return resultobj;
11544 fail:
11545 {
11546 if (temp2)
11547 delete arg2;
11548 }
11549 return NULL;
11550}
11551
11552
c32bde28 11553static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11554 PyObject *resultobj;
11555 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11556 long arg2 ;
11557 long arg3 ;
11558 wxString result;
11559 PyObject * obj0 = 0 ;
994141e6
RD
11560 PyObject * obj1 = 0 ;
11561 PyObject * obj2 = 0 ;
d14a1e28
RD
11562 char *kwnames[] = {
11563 (char *) "self",(char *) "from",(char *) "to", NULL
11564 };
11565
994141e6 11566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11568 if (SWIG_arg_fail(1)) SWIG_fail;
11569 {
11570 arg2 = (long)(SWIG_As_long(obj1));
11571 if (SWIG_arg_fail(2)) SWIG_fail;
11572 }
11573 {
11574 arg3 = (long)(SWIG_As_long(obj2));
11575 if (SWIG_arg_fail(3)) SWIG_fail;
11576 }
d14a1e28
RD
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11580
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 {
11585#if wxUSE_UNICODE
11586 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11587#else
11588 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11589#endif
11590 }
11591 return resultobj;
11592 fail:
11593 return NULL;
11594}
11595
11596
c32bde28 11597static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 11598 PyObject *resultobj;
093d3ff1 11599 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
11600 wxVisualAttributes result;
11601 PyObject * obj0 = 0 ;
11602 char *kwnames[] = {
11603 (char *) "variant", NULL
11604 };
11605
11606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11607 if (obj0) {
093d3ff1
RD
11608 {
11609 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11610 if (SWIG_arg_fail(1)) SWIG_fail;
11611 }
22bfe96c
RD
11612 }
11613 {
110da5b0 11614 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
11615 PyThreadState* __tstate = wxPyBeginAllowThreads();
11616 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11617
11618 wxPyEndAllowThreads(__tstate);
dfbb5885 11619 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
11620 }
11621 {
11622 wxVisualAttributes * resultptr;
093d3ff1 11623 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
11624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11625 }
11626 return resultobj;
11627 fail:
11628 return NULL;
11629}
11630
11631
c32bde28 11632static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11633 PyObject *obj;
11634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11635 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11636 Py_INCREF(obj);
11637 return Py_BuildValue((char *)"");
11638}
c32bde28 11639static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11640 PyObject *resultobj;
11641 int arg1 ;
11642 wxMouseEvent *arg2 = 0 ;
11643 long arg3 ;
11644 long arg4 ;
11645 wxTextUrlEvent *result;
994141e6 11646 PyObject * obj0 = 0 ;
d14a1e28 11647 PyObject * obj1 = 0 ;
994141e6
RD
11648 PyObject * obj2 = 0 ;
11649 PyObject * obj3 = 0 ;
d14a1e28
RD
11650 char *kwnames[] = {
11651 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11652 };
11653
994141e6 11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11655 {
11656 arg1 = (int)(SWIG_As_int(obj0));
11657 if (SWIG_arg_fail(1)) SWIG_fail;
11658 }
11659 {
11660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11661 if (SWIG_arg_fail(2)) SWIG_fail;
11662 if (arg2 == NULL) {
11663 SWIG_null_ref("wxMouseEvent");
11664 }
11665 if (SWIG_arg_fail(2)) SWIG_fail;
11666 }
11667 {
11668 arg3 = (long)(SWIG_As_long(obj2));
11669 if (SWIG_arg_fail(3)) SWIG_fail;
11670 }
11671 {
11672 arg4 = (long)(SWIG_As_long(obj3));
11673 if (SWIG_arg_fail(4)) SWIG_fail;
994141e6 11674 }
d14a1e28
RD
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
15afbcd0 11682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
d14a1e28
RD
11683 return resultobj;
11684 fail:
11685 return NULL;
11686}
11687
11688
c32bde28 11689static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11690 PyObject *resultobj;
11691 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11692 wxMouseEvent *result;
11693 PyObject * obj0 = 0 ;
11694 char *kwnames[] = {
11695 (char *) "self", NULL
11696 };
11697
11698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
11699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11700 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 {
11704 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11705 result = (wxMouseEvent *) &_result_ref;
11706 }
11707
11708 wxPyEndAllowThreads(__tstate);
11709 if (PyErr_Occurred()) SWIG_fail;
11710 }
15afbcd0 11711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
d14a1e28
RD
11712 return resultobj;
11713 fail:
11714 return NULL;
11715}
11716
11717
c32bde28 11718static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11719 PyObject *resultobj;
11720 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11721 long result;
11722 PyObject * obj0 = 0 ;
11723 char *kwnames[] = {
11724 (char *) "self", NULL
11725 };
11726
11727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
11728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11729 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11730 {
11731 PyThreadState* __tstate = wxPyBeginAllowThreads();
11732 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11733
11734 wxPyEndAllowThreads(__tstate);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 }
093d3ff1
RD
11737 {
11738 resultobj = SWIG_From_long((long)(result));
11739 }
d14a1e28
RD
11740 return resultobj;
11741 fail:
11742 return NULL;
11743}
11744
11745
c32bde28 11746static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11747 PyObject *resultobj;
11748 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11749 long result;
11750 PyObject * obj0 = 0 ;
11751 char *kwnames[] = {
11752 (char *) "self", NULL
11753 };
11754
11755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11757 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11758 {
11759 PyThreadState* __tstate = wxPyBeginAllowThreads();
11760 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11761
11762 wxPyEndAllowThreads(__tstate);
11763 if (PyErr_Occurred()) SWIG_fail;
11764 }
093d3ff1
RD
11765 {
11766 resultobj = SWIG_From_long((long)(result));
11767 }
d14a1e28
RD
11768 return resultobj;
11769 fail:
11770 return NULL;
11771}
11772
11773
c32bde28 11774static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11775 PyObject *obj;
11776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11777 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11778 Py_INCREF(obj);
11779 return Py_BuildValue((char *)"");
11780}
c32bde28 11781static int _wrap_ScrollBarNameStr_set(PyObject *) {
b2dc1044
RD
11782 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11783 return 1;
11784}
11785
11786
093d3ff1 11787static PyObject *_wrap_ScrollBarNameStr_get(void) {
b2dc1044
RD
11788 PyObject *pyobj;
11789
11790 {
11791#if wxUSE_UNICODE
11792 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11793#else
11794 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11795#endif
11796 }
11797 return pyobj;
11798}
11799
11800
c32bde28 11801static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11802 PyObject *resultobj;
11803 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11804 int arg2 = (int) -1 ;
d14a1e28
RD
11805 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11806 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11807 wxSize const &arg4_defvalue = wxDefaultSize ;
11808 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11809 long arg5 = (long) wxSB_HORIZONTAL ;
11810 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11811 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11812 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11813 wxString *arg7 = (wxString *) &arg7_defvalue ;
11814 wxScrollBar *result;
11815 wxPoint temp3 ;
11816 wxSize temp4 ;
ae8162c8 11817 bool temp7 = false ;
d14a1e28 11818 PyObject * obj0 = 0 ;
994141e6 11819 PyObject * obj1 = 0 ;
d14a1e28
RD
11820 PyObject * obj2 = 0 ;
11821 PyObject * obj3 = 0 ;
994141e6 11822 PyObject * obj4 = 0 ;
d14a1e28
RD
11823 PyObject * obj5 = 0 ;
11824 PyObject * obj6 = 0 ;
11825 char *kwnames[] = {
11826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11827 };
11828
994141e6 11829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11831 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 11832 if (obj1) {
093d3ff1
RD
11833 {
11834 arg2 = (int)(SWIG_As_int(obj1));
11835 if (SWIG_arg_fail(2)) SWIG_fail;
11836 }
994141e6 11837 }
d14a1e28
RD
11838 if (obj2) {
11839 {
11840 arg3 = &temp3;
11841 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11842 }
11843 }
11844 if (obj3) {
11845 {
11846 arg4 = &temp4;
11847 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11848 }
11849 }
994141e6 11850 if (obj4) {
093d3ff1
RD
11851 {
11852 arg5 = (long)(SWIG_As_long(obj4));
11853 if (SWIG_arg_fail(5)) SWIG_fail;
11854 }
994141e6 11855 }
d14a1e28 11856 if (obj5) {
093d3ff1
RD
11857 {
11858 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11859 if (SWIG_arg_fail(6)) SWIG_fail;
11860 if (arg6 == NULL) {
11861 SWIG_null_ref("wxValidator");
11862 }
11863 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
11864 }
11865 }
11866 if (obj6) {
11867 {
11868 arg7 = wxString_in_helper(obj6);
11869 if (arg7 == NULL) SWIG_fail;
ae8162c8 11870 temp7 = true;
d14a1e28
RD
11871 }
11872 }
11873 {
e3b71cb8 11874 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11877
11878 wxPyEndAllowThreads(__tstate);
110da5b0 11879 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11880 }
15afbcd0 11881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
11882 {
11883 if (temp7)
11884 delete arg7;
11885 }
11886 return resultobj;
11887 fail:
11888 {
11889 if (temp7)
11890 delete arg7;
11891 }
11892 return NULL;
11893}
11894
11895
c32bde28 11896static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11897 PyObject *resultobj;
11898 wxScrollBar *result;
11899 char *kwnames[] = {
11900 NULL
11901 };
11902
11903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11904 {
e3b71cb8 11905 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11906 PyThreadState* __tstate = wxPyBeginAllowThreads();
11907 result = (wxScrollBar *)new wxScrollBar();
11908
11909 wxPyEndAllowThreads(__tstate);
110da5b0 11910 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11911 }
15afbcd0 11912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
11913 return resultobj;
11914 fail:
11915 return NULL;
11916}
11917
11918
c32bde28 11919static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11920 PyObject *resultobj;
11921 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11922 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11923 int arg3 = (int) -1 ;
d14a1e28
RD
11924 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11925 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11926 wxSize const &arg5_defvalue = wxDefaultSize ;
11927 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11928 long arg6 = (long) wxSB_HORIZONTAL ;
11929 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11930 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11931 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11932 wxString *arg8 = (wxString *) &arg8_defvalue ;
11933 bool result;
11934 wxPoint temp4 ;
11935 wxSize temp5 ;
ae8162c8 11936 bool temp8 = false ;
d14a1e28
RD
11937 PyObject * obj0 = 0 ;
11938 PyObject * obj1 = 0 ;
994141e6 11939 PyObject * obj2 = 0 ;
d14a1e28
RD
11940 PyObject * obj3 = 0 ;
11941 PyObject * obj4 = 0 ;
994141e6 11942 PyObject * obj5 = 0 ;
d14a1e28
RD
11943 PyObject * obj6 = 0 ;
11944 PyObject * obj7 = 0 ;
11945 char *kwnames[] = {
11946 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11947 };
11948
994141e6 11949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
11950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11951 if (SWIG_arg_fail(1)) SWIG_fail;
11952 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11953 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 11954 if (obj2) {
093d3ff1
RD
11955 {
11956 arg3 = (int)(SWIG_As_int(obj2));
11957 if (SWIG_arg_fail(3)) SWIG_fail;
11958 }
994141e6 11959 }
d14a1e28
RD
11960 if (obj3) {
11961 {
11962 arg4 = &temp4;
11963 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11964 }
11965 }
11966 if (obj4) {
11967 {
11968 arg5 = &temp5;
11969 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11970 }
11971 }
994141e6 11972 if (obj5) {
093d3ff1
RD
11973 {
11974 arg6 = (long)(SWIG_As_long(obj5));
11975 if (SWIG_arg_fail(6)) SWIG_fail;
11976 }
994141e6 11977 }
d14a1e28 11978 if (obj6) {
093d3ff1
RD
11979 {
11980 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11981 if (SWIG_arg_fail(7)) SWIG_fail;
11982 if (arg7 == NULL) {
11983 SWIG_null_ref("wxValidator");
11984 }
11985 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
11986 }
11987 }
11988 if (obj7) {
11989 {
11990 arg8 = wxString_in_helper(obj7);
11991 if (arg8 == NULL) SWIG_fail;
ae8162c8 11992 temp8 = true;
d14a1e28
RD
11993 }
11994 }
11995 {
11996 PyThreadState* __tstate = wxPyBeginAllowThreads();
11997 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11998
11999 wxPyEndAllowThreads(__tstate);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
4f89f6a3
RD
12002 {
12003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12004 }
d14a1e28
RD
12005 {
12006 if (temp8)
12007 delete arg8;
12008 }
12009 return resultobj;
12010 fail:
12011 {
12012 if (temp8)
12013 delete arg8;
12014 }
12015 return NULL;
12016}
12017
12018
c32bde28 12019static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12020 PyObject *resultobj;
12021 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12022 int result;
12023 PyObject * obj0 = 0 ;
12024 char *kwnames[] = {
12025 (char *) "self", NULL
12026 };
12027
12028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12030 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12031 {
12032 PyThreadState* __tstate = wxPyBeginAllowThreads();
12033 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12034
12035 wxPyEndAllowThreads(__tstate);
12036 if (PyErr_Occurred()) SWIG_fail;
12037 }
093d3ff1
RD
12038 {
12039 resultobj = SWIG_From_int((int)(result));
12040 }
d14a1e28
RD
12041 return resultobj;
12042 fail:
12043 return NULL;
12044}
12045
12046
c32bde28 12047static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12048 PyObject *resultobj;
12049 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12050 int result;
12051 PyObject * obj0 = 0 ;
12052 char *kwnames[] = {
12053 (char *) "self", NULL
12054 };
12055
12056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12058 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12059 {
12060 PyThreadState* __tstate = wxPyBeginAllowThreads();
12061 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12062
12063 wxPyEndAllowThreads(__tstate);
12064 if (PyErr_Occurred()) SWIG_fail;
12065 }
093d3ff1
RD
12066 {
12067 resultobj = SWIG_From_int((int)(result));
12068 }
d14a1e28
RD
12069 return resultobj;
12070 fail:
12071 return NULL;
12072}
12073
12074
c32bde28 12075static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12076 PyObject *resultobj;
12077 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12078 int result;
12079 PyObject * obj0 = 0 ;
12080 char *kwnames[] = {
12081 (char *) "self", NULL
12082 };
12083
12084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
12085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12086 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
093d3ff1
RD
12094 {
12095 resultobj = SWIG_From_int((int)(result));
12096 }
d14a1e28
RD
12097 return resultobj;
12098 fail:
12099 return NULL;
12100}
12101
12102
c32bde28 12103static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12104 PyObject *resultobj;
12105 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12106 int result;
12107 PyObject * obj0 = 0 ;
12108 char *kwnames[] = {
12109 (char *) "self", NULL
12110 };
12111
12112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
093d3ff1
RD
12113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12114 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (int)((wxScrollBar const *)arg1)->GetRange();
12118
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
093d3ff1
RD
12122 {
12123 resultobj = SWIG_From_int((int)(result));
12124 }
d14a1e28
RD
12125 return resultobj;
12126 fail:
12127 return NULL;
12128}
12129
12130
c32bde28 12131static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12132 PyObject *resultobj;
12133 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12134 bool result;
12135 PyObject * obj0 = 0 ;
12136 char *kwnames[] = {
12137 (char *) "self", NULL
12138 };
12139
12140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12142 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
12145 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12146
12147 wxPyEndAllowThreads(__tstate);
12148 if (PyErr_Occurred()) SWIG_fail;
12149 }
4f89f6a3
RD
12150 {
12151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12152 }
d14a1e28
RD
12153 return resultobj;
12154 fail:
12155 return NULL;
12156}
12157
12158
c32bde28 12159static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12160 PyObject *resultobj;
12161 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12162 int arg2 ;
12163 PyObject * obj0 = 0 ;
994141e6 12164 PyObject * obj1 = 0 ;
d14a1e28
RD
12165 char *kwnames[] = {
12166 (char *) "self",(char *) "viewStart", NULL
12167 };
12168
994141e6 12169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12171 if (SWIG_arg_fail(1)) SWIG_fail;
12172 {
12173 arg2 = (int)(SWIG_As_int(obj1));
12174 if (SWIG_arg_fail(2)) SWIG_fail;
12175 }
d14a1e28
RD
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 (arg1)->SetThumbPosition(arg2);
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 Py_INCREF(Py_None); resultobj = Py_None;
12184 return resultobj;
12185 fail:
12186 return NULL;
12187}
12188
12189
c32bde28 12190static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12191 PyObject *resultobj;
12192 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12193 int arg2 ;
12194 int arg3 ;
12195 int arg4 ;
12196 int arg5 ;
ae8162c8 12197 bool arg6 = (bool) true ;
d14a1e28 12198 PyObject * obj0 = 0 ;
994141e6
RD
12199 PyObject * obj1 = 0 ;
12200 PyObject * obj2 = 0 ;
12201 PyObject * obj3 = 0 ;
12202 PyObject * obj4 = 0 ;
d14a1e28
RD
12203 PyObject * obj5 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12206 };
12207
994141e6 12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12210 if (SWIG_arg_fail(1)) SWIG_fail;
12211 {
12212 arg2 = (int)(SWIG_As_int(obj1));
12213 if (SWIG_arg_fail(2)) SWIG_fail;
12214 }
12215 {
12216 arg3 = (int)(SWIG_As_int(obj2));
12217 if (SWIG_arg_fail(3)) SWIG_fail;
12218 }
12219 {
12220 arg4 = (int)(SWIG_As_int(obj3));
12221 if (SWIG_arg_fail(4)) SWIG_fail;
12222 }
12223 {
12224 arg5 = (int)(SWIG_As_int(obj4));
12225 if (SWIG_arg_fail(5)) SWIG_fail;
12226 }
d14a1e28 12227 if (obj5) {
093d3ff1
RD
12228 {
12229 arg6 = (bool)(SWIG_As_bool(obj5));
12230 if (SWIG_arg_fail(6)) SWIG_fail;
12231 }
d14a1e28
RD
12232 }
12233 {
12234 PyThreadState* __tstate = wxPyBeginAllowThreads();
12235 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12236
12237 wxPyEndAllowThreads(__tstate);
12238 if (PyErr_Occurred()) SWIG_fail;
12239 }
12240 Py_INCREF(Py_None); resultobj = Py_None;
12241 return resultobj;
12242 fail:
12243 return NULL;
12244}
12245
12246
c32bde28 12247static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 12248 PyObject *resultobj;
093d3ff1 12249 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
12250 wxVisualAttributes result;
12251 PyObject * obj0 = 0 ;
12252 char *kwnames[] = {
12253 (char *) "variant", NULL
12254 };
12255
12256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12257 if (obj0) {
093d3ff1
RD
12258 {
12259 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12260 if (SWIG_arg_fail(1)) SWIG_fail;
12261 }
22bfe96c
RD
12262 }
12263 {
110da5b0 12264 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
12265 PyThreadState* __tstate = wxPyBeginAllowThreads();
12266 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12267
12268 wxPyEndAllowThreads(__tstate);
dfbb5885 12269 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
12270 }
12271 {
12272 wxVisualAttributes * resultptr;
093d3ff1 12273 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
12274 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12275 }
12276 return resultobj;
12277 fail:
12278 return NULL;
12279}
12280
12281
c32bde28 12282static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12283 PyObject *obj;
12284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12285 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12286 Py_INCREF(obj);
12287 return Py_BuildValue((char *)"");
12288}
c32bde28 12289static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
b2dc1044
RD
12290 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12291 return 1;
12292}
12293
12294
093d3ff1 12295static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
b2dc1044
RD
12296 PyObject *pyobj;
12297
12298 {
12299#if wxUSE_UNICODE
12300 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12301#else
12302 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12303#endif
12304 }
12305 return pyobj;
12306}
12307
12308
c32bde28 12309static int _wrap_SpinCtrlNameStr_set(PyObject *) {
b2dc1044
RD
12310 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12311 return 1;
12312}
12313
12314
093d3ff1 12315static PyObject *_wrap_SpinCtrlNameStr_get(void) {
b2dc1044
RD
12316 PyObject *pyobj;
12317
12318 {
12319#if wxUSE_UNICODE
12320 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12321#else
12322 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12323#endif
12324 }
12325 return pyobj;
12326}
12327
12328
c32bde28 12329static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12330 PyObject *resultobj;
12331 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12332 int arg2 = (int) -1 ;
d14a1e28
RD
12333 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12334 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12335 wxSize const &arg4_defvalue = wxDefaultSize ;
12336 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12337 long arg5 = (long) wxSP_HORIZONTAL ;
12338 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12339 wxString *arg6 = (wxString *) &arg6_defvalue ;
12340 wxSpinButton *result;
12341 wxPoint temp3 ;
12342 wxSize temp4 ;
ae8162c8 12343 bool temp6 = false ;
d14a1e28 12344 PyObject * obj0 = 0 ;
994141e6 12345 PyObject * obj1 = 0 ;
d14a1e28
RD
12346 PyObject * obj2 = 0 ;
12347 PyObject * obj3 = 0 ;
994141e6 12348 PyObject * obj4 = 0 ;
d14a1e28
RD
12349 PyObject * obj5 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12352 };
12353
994141e6 12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 12357 if (obj1) {
093d3ff1
RD
12358 {
12359 arg2 = (int)(SWIG_As_int(obj1));
12360 if (SWIG_arg_fail(2)) SWIG_fail;
12361 }
994141e6 12362 }
d14a1e28
RD
12363 if (obj2) {
12364 {
12365 arg3 = &temp3;
12366 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12367 }
12368 }
12369 if (obj3) {
12370 {
12371 arg4 = &temp4;
12372 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12373 }
12374 }
994141e6 12375 if (obj4) {
093d3ff1
RD
12376 {
12377 arg5 = (long)(SWIG_As_long(obj4));
12378 if (SWIG_arg_fail(5)) SWIG_fail;
12379 }
994141e6 12380 }
d14a1e28
RD
12381 if (obj5) {
12382 {
12383 arg6 = wxString_in_helper(obj5);
12384 if (arg6 == NULL) SWIG_fail;
ae8162c8 12385 temp6 = true;
d14a1e28
RD
12386 }
12387 }
12388 {
e3b71cb8 12389 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12390 PyThreadState* __tstate = wxPyBeginAllowThreads();
12391 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12392
12393 wxPyEndAllowThreads(__tstate);
110da5b0 12394 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12395 }
15afbcd0 12396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
12397 {
12398 if (temp6)
12399 delete arg6;
12400 }
12401 return resultobj;
12402 fail:
12403 {
12404 if (temp6)
12405 delete arg6;
12406 }
12407 return NULL;
12408}
12409
12410
c32bde28 12411static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12412 PyObject *resultobj;
12413 wxSpinButton *result;
12414 char *kwnames[] = {
12415 NULL
12416 };
12417
12418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12419 {
e3b71cb8 12420 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 result = (wxSpinButton *)new wxSpinButton();
12423
12424 wxPyEndAllowThreads(__tstate);
110da5b0 12425 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12426 }
15afbcd0 12427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
12428 return resultobj;
12429 fail:
12430 return NULL;
12431}
12432
12433
c32bde28 12434static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12435 PyObject *resultobj;
12436 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12437 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12438 int arg3 = (int) -1 ;
d14a1e28
RD
12439 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12440 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12441 wxSize const &arg5_defvalue = wxDefaultSize ;
12442 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12443 long arg6 = (long) wxSP_HORIZONTAL ;
12444 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12445 wxString *arg7 = (wxString *) &arg7_defvalue ;
12446 bool result;
12447 wxPoint temp4 ;
12448 wxSize temp5 ;
ae8162c8 12449 bool temp7 = false ;
d14a1e28
RD
12450 PyObject * obj0 = 0 ;
12451 PyObject * obj1 = 0 ;
994141e6 12452 PyObject * obj2 = 0 ;
d14a1e28
RD
12453 PyObject * obj3 = 0 ;
12454 PyObject * obj4 = 0 ;
994141e6 12455 PyObject * obj5 = 0 ;
d14a1e28
RD
12456 PyObject * obj6 = 0 ;
12457 char *kwnames[] = {
12458 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12459 };
12460
994141e6 12461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12463 if (SWIG_arg_fail(1)) SWIG_fail;
12464 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12465 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12466 if (obj2) {
093d3ff1
RD
12467 {
12468 arg3 = (int)(SWIG_As_int(obj2));
12469 if (SWIG_arg_fail(3)) SWIG_fail;
12470 }
994141e6 12471 }
d14a1e28
RD
12472 if (obj3) {
12473 {
12474 arg4 = &temp4;
12475 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12476 }
12477 }
12478 if (obj4) {
12479 {
12480 arg5 = &temp5;
12481 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12482 }
12483 }
994141e6 12484 if (obj5) {
093d3ff1
RD
12485 {
12486 arg6 = (long)(SWIG_As_long(obj5));
12487 if (SWIG_arg_fail(6)) SWIG_fail;
12488 }
994141e6 12489 }
d14a1e28
RD
12490 if (obj6) {
12491 {
12492 arg7 = wxString_in_helper(obj6);
12493 if (arg7 == NULL) SWIG_fail;
ae8162c8 12494 temp7 = true;
d14a1e28
RD
12495 }
12496 }
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12500
12501 wxPyEndAllowThreads(__tstate);
12502 if (PyErr_Occurred()) SWIG_fail;
12503 }
4f89f6a3
RD
12504 {
12505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12506 }
d14a1e28
RD
12507 {
12508 if (temp7)
12509 delete arg7;
12510 }
12511 return resultobj;
12512 fail:
12513 {
12514 if (temp7)
12515 delete arg7;
12516 }
12517 return NULL;
12518}
12519
12520
c32bde28 12521static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12522 PyObject *resultobj;
12523 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12524 int result;
12525 PyObject * obj0 = 0 ;
12526 char *kwnames[] = {
12527 (char *) "self", NULL
12528 };
12529
12530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
12531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12532 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12533 {
12534 PyThreadState* __tstate = wxPyBeginAllowThreads();
12535 result = (int)((wxSpinButton const *)arg1)->GetValue();
12536
12537 wxPyEndAllowThreads(__tstate);
12538 if (PyErr_Occurred()) SWIG_fail;
12539 }
093d3ff1
RD
12540 {
12541 resultobj = SWIG_From_int((int)(result));
12542 }
d14a1e28
RD
12543 return resultobj;
12544 fail:
12545 return NULL;
12546}
12547
12548
c32bde28 12549static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12550 PyObject *resultobj;
12551 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12552 int result;
12553 PyObject * obj0 = 0 ;
12554 char *kwnames[] = {
12555 (char *) "self", NULL
12556 };
12557
12558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12560 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 result = (int)((wxSpinButton const *)arg1)->GetMin();
12564
12565 wxPyEndAllowThreads(__tstate);
12566 if (PyErr_Occurred()) SWIG_fail;
12567 }
093d3ff1
RD
12568 {
12569 resultobj = SWIG_From_int((int)(result));
12570 }
d14a1e28
RD
12571 return resultobj;
12572 fail:
12573 return NULL;
12574}
12575
12576
c32bde28 12577static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12578 PyObject *resultobj;
12579 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12580 int result;
12581 PyObject * obj0 = 0 ;
12582 char *kwnames[] = {
12583 (char *) "self", NULL
12584 };
12585
12586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12588 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12589 {
12590 PyThreadState* __tstate = wxPyBeginAllowThreads();
12591 result = (int)((wxSpinButton const *)arg1)->GetMax();
12592
12593 wxPyEndAllowThreads(__tstate);
12594 if (PyErr_Occurred()) SWIG_fail;
12595 }
093d3ff1
RD
12596 {
12597 resultobj = SWIG_From_int((int)(result));
12598 }
d14a1e28
RD
12599 return resultobj;
12600 fail:
12601 return NULL;
12602}
12603
12604
c32bde28 12605static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12606 PyObject *resultobj;
12607 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12608 int arg2 ;
12609 PyObject * obj0 = 0 ;
994141e6 12610 PyObject * obj1 = 0 ;
d14a1e28
RD
12611 char *kwnames[] = {
12612 (char *) "self",(char *) "val", NULL
12613 };
12614
994141e6 12615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12617 if (SWIG_arg_fail(1)) SWIG_fail;
12618 {
12619 arg2 = (int)(SWIG_As_int(obj1));
12620 if (SWIG_arg_fail(2)) SWIG_fail;
12621 }
d14a1e28
RD
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 (arg1)->SetValue(arg2);
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 Py_INCREF(Py_None); resultobj = Py_None;
12630 return resultobj;
12631 fail:
12632 return NULL;
12633}
12634
12635
c32bde28 12636static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12637 PyObject *resultobj;
12638 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12639 int arg2 ;
12640 PyObject * obj0 = 0 ;
994141e6 12641 PyObject * obj1 = 0 ;
d14a1e28
RD
12642 char *kwnames[] = {
12643 (char *) "self",(char *) "minVal", NULL
12644 };
12645
994141e6 12646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12648 if (SWIG_arg_fail(1)) SWIG_fail;
12649 {
12650 arg2 = (int)(SWIG_As_int(obj1));
12651 if (SWIG_arg_fail(2)) SWIG_fail;
12652 }
d14a1e28
RD
12653 {
12654 PyThreadState* __tstate = wxPyBeginAllowThreads();
12655 (arg1)->SetMin(arg2);
12656
12657 wxPyEndAllowThreads(__tstate);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 }
12660 Py_INCREF(Py_None); resultobj = Py_None;
12661 return resultobj;
12662 fail:
12663 return NULL;
12664}
12665
12666
c32bde28 12667static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12668 PyObject *resultobj;
12669 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12670 int arg2 ;
12671 PyObject * obj0 = 0 ;
994141e6 12672 PyObject * obj1 = 0 ;
d14a1e28
RD
12673 char *kwnames[] = {
12674 (char *) "self",(char *) "maxVal", NULL
12675 };
12676
994141e6 12677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12679 if (SWIG_arg_fail(1)) SWIG_fail;
12680 {
12681 arg2 = (int)(SWIG_As_int(obj1));
12682 if (SWIG_arg_fail(2)) SWIG_fail;
12683 }
d14a1e28
RD
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 (arg1)->SetMax(arg2);
12687
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 Py_INCREF(Py_None); resultobj = Py_None;
12692 return resultobj;
12693 fail:
12694 return NULL;
12695}
12696
12697
c32bde28 12698static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12699 PyObject *resultobj;
12700 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12701 int arg2 ;
12702 int arg3 ;
12703 PyObject * obj0 = 0 ;
994141e6
RD
12704 PyObject * obj1 = 0 ;
12705 PyObject * obj2 = 0 ;
d14a1e28
RD
12706 char *kwnames[] = {
12707 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12708 };
12709
994141e6 12710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12712 if (SWIG_arg_fail(1)) SWIG_fail;
12713 {
12714 arg2 = (int)(SWIG_As_int(obj1));
12715 if (SWIG_arg_fail(2)) SWIG_fail;
12716 }
12717 {
12718 arg3 = (int)(SWIG_As_int(obj2));
12719 if (SWIG_arg_fail(3)) SWIG_fail;
12720 }
994141e6 12721 {
15afbcd0
RD
12722 PyThreadState* __tstate = wxPyBeginAllowThreads();
12723 (arg1)->SetRange(arg2,arg3);
12724
12725 wxPyEndAllowThreads(__tstate);
d14a1e28
RD
12726 if (PyErr_Occurred()) SWIG_fail;
12727 }
22bfe96c
RD
12728 Py_INCREF(Py_None); resultobj = Py_None;
12729 return resultobj;
12730 fail:
12731 return NULL;
12732}
12733
12734
c32bde28 12735static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c
RD
12736 PyObject *resultobj;
12737 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12738 bool result;
12739 PyObject * obj0 = 0 ;
12740 char *kwnames[] = {
12741 (char *) "self", NULL
12742 };
12743
12744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
12745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12746 if (SWIG_arg_fail(1)) SWIG_fail;
22bfe96c
RD
12747 {
12748 PyThreadState* __tstate = wxPyBeginAllowThreads();
12749 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12750
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 {
12755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12756 }
d14a1e28
RD
12757 return resultobj;
12758 fail:
12759 return NULL;
12760}
12761
12762
c32bde28 12763static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12764 PyObject *resultobj;
093d3ff1 12765 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c 12766 wxVisualAttributes result;
d14a1e28
RD
12767 PyObject * obj0 = 0 ;
12768 char *kwnames[] = {
22bfe96c 12769 (char *) "variant", NULL
d14a1e28
RD
12770 };
12771
22bfe96c
RD
12772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12773 if (obj0) {
093d3ff1
RD
12774 {
12775 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12776 if (SWIG_arg_fail(1)) SWIG_fail;
12777 }
22bfe96c 12778 }
d14a1e28 12779 {
110da5b0 12780 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12781 PyThreadState* __tstate = wxPyBeginAllowThreads();
22bfe96c 12782 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d14a1e28
RD
12783
12784 wxPyEndAllowThreads(__tstate);
dfbb5885 12785 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12786 }
4f89f6a3 12787 {
22bfe96c 12788 wxVisualAttributes * resultptr;
093d3ff1 12789 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c 12790 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4f89f6a3 12791 }
d14a1e28
RD
12792 return resultobj;
12793 fail:
12794 return NULL;
12795}
12796
12797
c32bde28 12798static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12799 PyObject *obj;
12800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12801 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12802 Py_INCREF(obj);
12803 return Py_BuildValue((char *)"");
12804}
c32bde28 12805static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12806 PyObject *resultobj;
12807 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12808 int arg2 = (int) -1 ;
d14a1e28
RD
12809 wxString const &arg3_defvalue = wxPyEmptyString ;
12810 wxString *arg3 = (wxString *) &arg3_defvalue ;
12811 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12812 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12813 wxSize const &arg5_defvalue = wxDefaultSize ;
12814 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12815 long arg6 = (long) wxSP_ARROW_KEYS ;
12816 int arg7 = (int) 0 ;
12817 int arg8 = (int) 100 ;
12818 int arg9 = (int) 0 ;
12819 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12820 wxString *arg10 = (wxString *) &arg10_defvalue ;
12821 wxSpinCtrl *result;
ae8162c8 12822 bool temp3 = false ;
d14a1e28
RD
12823 wxPoint temp4 ;
12824 wxSize temp5 ;
ae8162c8 12825 bool temp10 = false ;
d14a1e28 12826 PyObject * obj0 = 0 ;
994141e6 12827 PyObject * obj1 = 0 ;
d14a1e28
RD
12828 PyObject * obj2 = 0 ;
12829 PyObject * obj3 = 0 ;
12830 PyObject * obj4 = 0 ;
994141e6
RD
12831 PyObject * obj5 = 0 ;
12832 PyObject * obj6 = 0 ;
12833 PyObject * obj7 = 0 ;
12834 PyObject * obj8 = 0 ;
d14a1e28
RD
12835 PyObject * obj9 = 0 ;
12836 char *kwnames[] = {
12837 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12838 };
12839
994141e6 12840 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
12841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12842 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 12843 if (obj1) {
093d3ff1
RD
12844 {
12845 arg2 = (int)(SWIG_As_int(obj1));
12846 if (SWIG_arg_fail(2)) SWIG_fail;
12847 }
994141e6
RD
12848 }
12849 if (obj2) {
d14a1e28
RD
12850 {
12851 arg3 = wxString_in_helper(obj2);
12852 if (arg3 == NULL) SWIG_fail;
ae8162c8 12853 temp3 = true;
d14a1e28
RD
12854 }
12855 }
12856 if (obj3) {
12857 {
12858 arg4 = &temp4;
12859 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12860 }
12861 }
12862 if (obj4) {
12863 {
12864 arg5 = &temp5;
12865 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12866 }
12867 }
994141e6 12868 if (obj5) {
093d3ff1
RD
12869 {
12870 arg6 = (long)(SWIG_As_long(obj5));
12871 if (SWIG_arg_fail(6)) SWIG_fail;
12872 }
994141e6
RD
12873 }
12874 if (obj6) {
093d3ff1
RD
12875 {
12876 arg7 = (int)(SWIG_As_int(obj6));
12877 if (SWIG_arg_fail(7)) SWIG_fail;
12878 }
994141e6
RD
12879 }
12880 if (obj7) {
093d3ff1
RD
12881 {
12882 arg8 = (int)(SWIG_As_int(obj7));
12883 if (SWIG_arg_fail(8)) SWIG_fail;
12884 }
994141e6
RD
12885 }
12886 if (obj8) {
093d3ff1
RD
12887 {
12888 arg9 = (int)(SWIG_As_int(obj8));
12889 if (SWIG_arg_fail(9)) SWIG_fail;
12890 }
994141e6 12891 }
d14a1e28
RD
12892 if (obj9) {
12893 {
12894 arg10 = wxString_in_helper(obj9);
12895 if (arg10 == NULL) SWIG_fail;
ae8162c8 12896 temp10 = true;
d14a1e28
RD
12897 }
12898 }
12899 {
e3b71cb8 12900 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
12902 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12903
12904 wxPyEndAllowThreads(__tstate);
110da5b0 12905 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12906 }
15afbcd0 12907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
12908 {
12909 if (temp3)
12910 delete arg3;
12911 }
12912 {
12913 if (temp10)
12914 delete arg10;
12915 }
12916 return resultobj;
12917 fail:
12918 {
12919 if (temp3)
12920 delete arg3;
12921 }
12922 {
12923 if (temp10)
12924 delete arg10;
12925 }
12926 return NULL;
12927}
12928
12929
c32bde28 12930static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12931 PyObject *resultobj;
12932 wxSpinCtrl *result;
12933 char *kwnames[] = {
12934 NULL
12935 };
12936
12937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12938 {
e3b71cb8 12939 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 result = (wxSpinCtrl *)new wxSpinCtrl();
12942
12943 wxPyEndAllowThreads(__tstate);
110da5b0 12944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12945 }
15afbcd0 12946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
12947 return resultobj;
12948 fail:
12949 return NULL;
12950}
12951
12952
c32bde28 12953static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12954 PyObject *resultobj;
12955 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12956 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12957 int arg3 = (int) -1 ;
d14a1e28
RD
12958 wxString const &arg4_defvalue = wxPyEmptyString ;
12959 wxString *arg4 = (wxString *) &arg4_defvalue ;
12960 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12961 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12962 wxSize const &arg6_defvalue = wxDefaultSize ;
12963 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12964 long arg7 = (long) wxSP_ARROW_KEYS ;
12965 int arg8 = (int) 0 ;
12966 int arg9 = (int) 100 ;
12967 int arg10 = (int) 0 ;
12968 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
12969 wxString *arg11 = (wxString *) &arg11_defvalue ;
12970 bool result;
ae8162c8 12971 bool temp4 = false ;
d14a1e28
RD
12972 wxPoint temp5 ;
12973 wxSize temp6 ;
ae8162c8 12974 bool temp11 = false ;
d14a1e28
RD
12975 PyObject * obj0 = 0 ;
12976 PyObject * obj1 = 0 ;
994141e6 12977 PyObject * obj2 = 0 ;
d14a1e28
RD
12978 PyObject * obj3 = 0 ;
12979 PyObject * obj4 = 0 ;
12980 PyObject * obj5 = 0 ;
994141e6
RD
12981 PyObject * obj6 = 0 ;
12982 PyObject * obj7 = 0 ;
12983 PyObject * obj8 = 0 ;
12984 PyObject * obj9 = 0 ;
d14a1e28
RD
12985 PyObject * obj10 = 0 ;
12986 char *kwnames[] = {
12987 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12988 };
12989
994141e6 12990 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
12991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
12992 if (SWIG_arg_fail(1)) SWIG_fail;
12993 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12994 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12995 if (obj2) {
093d3ff1
RD
12996 {
12997 arg3 = (int)(SWIG_As_int(obj2));
12998 if (SWIG_arg_fail(3)) SWIG_fail;
12999 }
994141e6 13000 }
d14a1e28
RD
13001 if (obj3) {
13002 {
13003 arg4 = wxString_in_helper(obj3);
13004 if (arg4 == NULL) SWIG_fail;
ae8162c8 13005 temp4 = true;
d14a1e28
RD
13006 }
13007 }
13008 if (obj4) {
13009 {
13010 arg5 = &temp5;
13011 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13012 }
13013 }
13014 if (obj5) {
13015 {
13016 arg6 = &temp6;
13017 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13018 }
13019 }
994141e6 13020 if (obj6) {
093d3ff1
RD
13021 {
13022 arg7 = (long)(SWIG_As_long(obj6));
13023 if (SWIG_arg_fail(7)) SWIG_fail;
13024 }
994141e6
RD
13025 }
13026 if (obj7) {
093d3ff1
RD
13027 {
13028 arg8 = (int)(SWIG_As_int(obj7));
13029 if (SWIG_arg_fail(8)) SWIG_fail;
13030 }
994141e6
RD
13031 }
13032 if (obj8) {
093d3ff1
RD
13033 {
13034 arg9 = (int)(SWIG_As_int(obj8));
13035 if (SWIG_arg_fail(9)) SWIG_fail;
13036 }
994141e6
RD
13037 }
13038 if (obj9) {
093d3ff1
RD
13039 {
13040 arg10 = (int)(SWIG_As_int(obj9));
13041 if (SWIG_arg_fail(10)) SWIG_fail;
13042 }
994141e6 13043 }
d14a1e28
RD
13044 if (obj10) {
13045 {
13046 arg11 = wxString_in_helper(obj10);
13047 if (arg11 == NULL) SWIG_fail;
ae8162c8 13048 temp11 = true;
d14a1e28
RD
13049 }
13050 }
13051 {
13052 PyThreadState* __tstate = wxPyBeginAllowThreads();
13053 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13054
13055 wxPyEndAllowThreads(__tstate);
13056 if (PyErr_Occurred()) SWIG_fail;
13057 }
4f89f6a3
RD
13058 {
13059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13060 }
d14a1e28
RD
13061 {
13062 if (temp4)
13063 delete arg4;
13064 }
13065 {
13066 if (temp11)
13067 delete arg11;
13068 }
13069 return resultobj;
13070 fail:
13071 {
13072 if (temp4)
13073 delete arg4;
13074 }
13075 {
13076 if (temp11)
13077 delete arg11;
13078 }
13079 return NULL;
13080}
13081
13082
c32bde28 13083static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13084 PyObject *resultobj;
13085 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13086 int result;
13087 PyObject * obj0 = 0 ;
13088 char *kwnames[] = {
13089 (char *) "self", NULL
13090 };
13091
13092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
13093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13094 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13095 {
13096 PyThreadState* __tstate = wxPyBeginAllowThreads();
13097 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13098
13099 wxPyEndAllowThreads(__tstate);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
093d3ff1
RD
13102 {
13103 resultobj = SWIG_From_int((int)(result));
13104 }
d14a1e28
RD
13105 return resultobj;
13106 fail:
13107 return NULL;
13108}
13109
13110
c32bde28 13111static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13112 PyObject *resultobj;
13113 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13114 int arg2 ;
13115 PyObject * obj0 = 0 ;
994141e6 13116 PyObject * obj1 = 0 ;
d14a1e28
RD
13117 char *kwnames[] = {
13118 (char *) "self",(char *) "value", NULL
13119 };
13120
994141e6 13121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13123 if (SWIG_arg_fail(1)) SWIG_fail;
13124 {
13125 arg2 = (int)(SWIG_As_int(obj1));
13126 if (SWIG_arg_fail(2)) SWIG_fail;
13127 }
d14a1e28
RD
13128 {
13129 PyThreadState* __tstate = wxPyBeginAllowThreads();
13130 (arg1)->SetValue(arg2);
13131
13132 wxPyEndAllowThreads(__tstate);
13133 if (PyErr_Occurred()) SWIG_fail;
13134 }
13135 Py_INCREF(Py_None); resultobj = Py_None;
13136 return resultobj;
13137 fail:
13138 return NULL;
13139}
13140
13141
c32bde28 13142static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13143 PyObject *resultobj;
13144 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13145 wxString *arg2 = 0 ;
ae8162c8 13146 bool temp2 = false ;
d14a1e28
RD
13147 PyObject * obj0 = 0 ;
13148 PyObject * obj1 = 0 ;
13149 char *kwnames[] = {
13150 (char *) "self",(char *) "text", NULL
13151 };
13152
13153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13155 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13156 {
13157 arg2 = wxString_in_helper(obj1);
13158 if (arg2 == NULL) SWIG_fail;
ae8162c8 13159 temp2 = true;
d14a1e28
RD
13160 }
13161 {
13162 PyThreadState* __tstate = wxPyBeginAllowThreads();
13163 (arg1)->SetValue((wxString const &)*arg2);
13164
13165 wxPyEndAllowThreads(__tstate);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 }
13168 Py_INCREF(Py_None); resultobj = Py_None;
13169 {
13170 if (temp2)
13171 delete arg2;
13172 }
13173 return resultobj;
13174 fail:
13175 {
13176 if (temp2)
13177 delete arg2;
13178 }
13179 return NULL;
13180}
13181
13182
c32bde28 13183static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13184 PyObject *resultobj;
13185 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13186 int arg2 ;
13187 int arg3 ;
13188 PyObject * obj0 = 0 ;
994141e6
RD
13189 PyObject * obj1 = 0 ;
13190 PyObject * obj2 = 0 ;
d14a1e28
RD
13191 char *kwnames[] = {
13192 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13193 };
13194
994141e6 13195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13197 if (SWIG_arg_fail(1)) SWIG_fail;
13198 {
13199 arg2 = (int)(SWIG_As_int(obj1));
13200 if (SWIG_arg_fail(2)) SWIG_fail;
13201 }
13202 {
13203 arg3 = (int)(SWIG_As_int(obj2));
13204 if (SWIG_arg_fail(3)) SWIG_fail;
13205 }
d14a1e28
RD
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 (arg1)->SetRange(arg2,arg3);
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 Py_INCREF(Py_None); resultobj = Py_None;
13214 return resultobj;
13215 fail:
13216 return NULL;
13217}
13218
13219
c32bde28 13220static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13221 PyObject *resultobj;
13222 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13223 int result;
13224 PyObject * obj0 = 0 ;
13225 char *kwnames[] = {
13226 (char *) "self", NULL
13227 };
13228
13229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13231 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13235
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
093d3ff1
RD
13239 {
13240 resultobj = SWIG_From_int((int)(result));
13241 }
d14a1e28
RD
13242 return resultobj;
13243 fail:
13244 return NULL;
13245}
13246
13247
c32bde28 13248static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13249 PyObject *resultobj;
13250 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13251 int result;
13252 PyObject * obj0 = 0 ;
13253 char *kwnames[] = {
13254 (char *) "self", NULL
13255 };
13256
13257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13259 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13260 {
13261 PyThreadState* __tstate = wxPyBeginAllowThreads();
13262 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13263
13264 wxPyEndAllowThreads(__tstate);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 }
093d3ff1
RD
13267 {
13268 resultobj = SWIG_From_int((int)(result));
13269 }
d14a1e28
RD
13270 return resultobj;
13271 fail:
13272 return NULL;
13273}
13274
13275
c32bde28 13276static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13277 PyObject *resultobj;
13278 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13279 long arg2 ;
13280 long arg3 ;
13281 PyObject * obj0 = 0 ;
994141e6
RD
13282 PyObject * obj1 = 0 ;
13283 PyObject * obj2 = 0 ;
d14a1e28
RD
13284 char *kwnames[] = {
13285 (char *) "self",(char *) "from",(char *) "to", NULL
13286 };
13287
994141e6 13288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13290 if (SWIG_arg_fail(1)) SWIG_fail;
13291 {
13292 arg2 = (long)(SWIG_As_long(obj1));
13293 if (SWIG_arg_fail(2)) SWIG_fail;
13294 }
13295 {
13296 arg3 = (long)(SWIG_As_long(obj2));
13297 if (SWIG_arg_fail(3)) SWIG_fail;
13298 }
d14a1e28
RD
13299 {
13300 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 13301 (arg1)->SetSelection(arg2,arg3);
d14a1e28
RD
13302
13303 wxPyEndAllowThreads(__tstate);
13304 if (PyErr_Occurred()) SWIG_fail;
13305 }
13306 Py_INCREF(Py_None); resultobj = Py_None;
13307 return resultobj;
13308 fail:
13309 return NULL;
13310}
13311
13312
c32bde28 13313static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 13314 PyObject *resultobj;
093d3ff1 13315 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
13316 wxVisualAttributes result;
13317 PyObject * obj0 = 0 ;
13318 char *kwnames[] = {
13319 (char *) "variant", NULL
13320 };
13321
13322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13323 if (obj0) {
093d3ff1
RD
13324 {
13325 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13326 if (SWIG_arg_fail(1)) SWIG_fail;
13327 }
22bfe96c
RD
13328 }
13329 {
110da5b0 13330 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
13332 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13333
13334 wxPyEndAllowThreads(__tstate);
dfbb5885 13335 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
13336 }
13337 {
13338 wxVisualAttributes * resultptr;
093d3ff1 13339 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
13340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13341 }
13342 return resultobj;
13343 fail:
13344 return NULL;
13345}
13346
13347
c32bde28 13348static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13349 PyObject *obj;
13350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13351 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13352 Py_INCREF(obj);
13353 return Py_BuildValue((char *)"");
13354}
c32bde28 13355static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d1e20054
RD
13356 PyObject *resultobj;
13357 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13358 int arg2 = (int) 0 ;
13359 wxSpinEvent *result;
994141e6
RD
13360 PyObject * obj0 = 0 ;
13361 PyObject * obj1 = 0 ;
d1e20054
RD
13362 char *kwnames[] = {
13363 (char *) "commandType",(char *) "winid", NULL
13364 };
13365
994141e6
RD
13366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13367 if (obj0) {
093d3ff1
RD
13368 {
13369 arg1 = (wxEventType)(SWIG_As_int(obj0));
13370 if (SWIG_arg_fail(1)) SWIG_fail;
13371 }
994141e6
RD
13372 }
13373 if (obj1) {
093d3ff1
RD
13374 {
13375 arg2 = (int)(SWIG_As_int(obj1));
13376 if (SWIG_arg_fail(2)) SWIG_fail;
13377 }
994141e6 13378 }
d1e20054
RD
13379 {
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) SWIG_fail;
13385 }
15afbcd0 13386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
d1e20054
RD
13387 return resultobj;
13388 fail:
13389 return NULL;
13390}
13391
13392
c32bde28 13393static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d1e20054
RD
13394 PyObject *resultobj;
13395 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13396 int result;
13397 PyObject * obj0 = 0 ;
13398 char *kwnames[] = {
13399 (char *) "self", NULL
13400 };
13401
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13404 if (SWIG_arg_fail(1)) SWIG_fail;
d1e20054
RD
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
093d3ff1
RD
13412 {
13413 resultobj = SWIG_From_int((int)(result));
13414 }
d1e20054
RD
13415 return resultobj;
13416 fail:
13417 return NULL;
13418}
13419
13420
c32bde28 13421static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d1e20054
RD
13422 PyObject *resultobj;
13423 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13424 int arg2 ;
13425 PyObject * obj0 = 0 ;
994141e6 13426 PyObject * obj1 = 0 ;
d1e20054
RD
13427 char *kwnames[] = {
13428 (char *) "self",(char *) "pos", NULL
13429 };
13430
994141e6 13431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13433 if (SWIG_arg_fail(1)) SWIG_fail;
13434 {
13435 arg2 = (int)(SWIG_As_int(obj1));
13436 if (SWIG_arg_fail(2)) SWIG_fail;
13437 }
d1e20054
RD
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 (arg1)->SetPosition(arg2);
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 Py_INCREF(Py_None); resultobj = Py_None;
13446 return resultobj;
13447 fail:
13448 return NULL;
13449}
13450
13451
c32bde28 13452static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d1e20054
RD
13453 PyObject *obj;
13454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13455 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13456 Py_INCREF(obj);
13457 return Py_BuildValue((char *)"");
13458}
c32bde28 13459static int _wrap_RadioBoxNameStr_set(PyObject *) {
b2dc1044
RD
13460 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13461 return 1;
13462}
13463
13464
093d3ff1 13465static PyObject *_wrap_RadioBoxNameStr_get(void) {
b2dc1044
RD
13466 PyObject *pyobj;
13467
13468 {
13469#if wxUSE_UNICODE
13470 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13471#else
13472 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13473#endif
13474 }
13475 return pyobj;
13476}
13477
13478
c32bde28 13479static int _wrap_RadioButtonNameStr_set(PyObject *) {
b2dc1044
RD
13480 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13481 return 1;
13482}
13483
13484
093d3ff1 13485static PyObject *_wrap_RadioButtonNameStr_get(void) {
b2dc1044
RD
13486 PyObject *pyobj;
13487
13488 {
13489#if wxUSE_UNICODE
13490 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13491#else
13492 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13493#endif
13494 }
13495 return pyobj;
13496}
13497
13498
c32bde28 13499static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13500 PyObject *resultobj;
13501 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
13502 int arg2 = (int) -1 ;
13503 wxString const &arg3_defvalue = wxPyEmptyString ;
13504 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
13505 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13506 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13507 wxSize const &arg5_defvalue = wxDefaultSize ;
13508 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
13509 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13510 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13511 int arg7 = (int) 0 ;
13512 long arg8 = (long) wxRA_HORIZONTAL ;
13513 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13514 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13515 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13516 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 13517 wxRadioBox *result;
ae8162c8 13518 bool temp3 = false ;
d14a1e28
RD
13519 wxPoint temp4 ;
13520 wxSize temp5 ;
ae8162c8
RD
13521 bool temp6 = false ;
13522 bool temp10 = false ;
d14a1e28 13523 PyObject * obj0 = 0 ;
994141e6 13524 PyObject * obj1 = 0 ;
d14a1e28
RD
13525 PyObject * obj2 = 0 ;
13526 PyObject * obj3 = 0 ;
13527 PyObject * obj4 = 0 ;
13528 PyObject * obj5 = 0 ;
994141e6
RD
13529 PyObject * obj6 = 0 ;
13530 PyObject * obj7 = 0 ;
d14a1e28
RD
13531 PyObject * obj8 = 0 ;
13532 PyObject * obj9 = 0 ;
13533 char *kwnames[] = {
994141e6 13534 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
13535 };
13536
248ed943 13537 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
13538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13539 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 13540 if (obj1) {
093d3ff1
RD
13541 {
13542 arg2 = (int)(SWIG_As_int(obj1));
13543 if (SWIG_arg_fail(2)) SWIG_fail;
13544 }
248ed943
RD
13545 }
13546 if (obj2) {
13547 {
13548 arg3 = wxString_in_helper(obj2);
13549 if (arg3 == NULL) SWIG_fail;
ae8162c8 13550 temp3 = true;
248ed943 13551 }
d14a1e28
RD
13552 }
13553 if (obj3) {
13554 {
13555 arg4 = &temp4;
13556 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13557 }
13558 }
13559 if (obj4) {
13560 {
13561 arg5 = &temp5;
13562 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13563 }
13564 }
13565 if (obj5) {
13566 {
4d5c3d91
RD
13567 if (! PySequence_Check(obj5)) {
13568 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13569 SWIG_fail;
13570 }
13571 arg6 = new wxArrayString;
ae8162c8 13572 temp6 = true;
4d5c3d91
RD
13573 int i, len=PySequence_Length(obj5);
13574 for (i=0; i<len; i++) {
13575 PyObject* item = PySequence_GetItem(obj5, i);
13576#if wxUSE_UNICODE
13577 PyObject* str = PyObject_Unicode(item);
13578#else
13579 PyObject* str = PyObject_Str(item);
13580#endif
74a57fcd 13581 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
13582 arg6->Add(Py2wxString(str));
13583 Py_DECREF(item);
13584 Py_DECREF(str);
13585 }
d14a1e28
RD
13586 }
13587 }
994141e6 13588 if (obj6) {
093d3ff1
RD
13589 {
13590 arg7 = (int)(SWIG_As_int(obj6));
13591 if (SWIG_arg_fail(7)) SWIG_fail;
13592 }
994141e6
RD
13593 }
13594 if (obj7) {
093d3ff1
RD
13595 {
13596 arg8 = (long)(SWIG_As_long(obj7));
13597 if (SWIG_arg_fail(8)) SWIG_fail;
13598 }
994141e6 13599 }
d14a1e28 13600 if (obj8) {
093d3ff1
RD
13601 {
13602 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13603 if (SWIG_arg_fail(9)) SWIG_fail;
13604 if (arg9 == NULL) {
13605 SWIG_null_ref("wxValidator");
13606 }
13607 if (SWIG_arg_fail(9)) SWIG_fail;
d14a1e28
RD
13608 }
13609 }
13610 if (obj9) {
13611 {
4d5c3d91
RD
13612 arg10 = wxString_in_helper(obj9);
13613 if (arg10 == NULL) SWIG_fail;
ae8162c8 13614 temp10 = true;
d14a1e28
RD
13615 }
13616 }
13617 {
e3b71cb8 13618 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 13619 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 13620 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
13621
13622 wxPyEndAllowThreads(__tstate);
110da5b0 13623 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13624 }
15afbcd0 13625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
13626 {
13627 if (temp3)
13628 delete arg3;
13629 }
13630 {
3adfb63b 13631 if (temp6) delete arg6;
d14a1e28
RD
13632 }
13633 {
13634 if (temp10)
4d5c3d91 13635 delete arg10;
d14a1e28
RD
13636 }
13637 return resultobj;
13638 fail:
13639 {
13640 if (temp3)
13641 delete arg3;
13642 }
13643 {
3adfb63b 13644 if (temp6) delete arg6;
d14a1e28
RD
13645 }
13646 {
13647 if (temp10)
4d5c3d91 13648 delete arg10;
d14a1e28
RD
13649 }
13650 return NULL;
13651}
13652
13653
c32bde28 13654static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13655 PyObject *resultobj;
13656 wxRadioBox *result;
13657 char *kwnames[] = {
13658 NULL
13659 };
13660
13661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13662 {
e3b71cb8 13663 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 result = (wxRadioBox *)new wxRadioBox();
13666
13667 wxPyEndAllowThreads(__tstate);
110da5b0 13668 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13669 }
15afbcd0 13670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
13671 return resultobj;
13672 fail:
13673 return NULL;
13674}
13675
13676
c32bde28 13677static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13678 PyObject *resultobj;
13679 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13680 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13681 int arg3 = (int) -1 ;
13682 wxString const &arg4_defvalue = wxPyEmptyString ;
13683 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
13684 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13685 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13686 wxSize const &arg6_defvalue = wxDefaultSize ;
13687 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
13688 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13689 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13690 int arg8 = (int) 0 ;
13691 long arg9 = (long) wxRA_HORIZONTAL ;
13692 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13693 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13694 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13695 wxString *arg11 = (wxString *) &arg11_defvalue ;
d14a1e28 13696 bool result;
ae8162c8 13697 bool temp4 = false ;
d14a1e28
RD
13698 wxPoint temp5 ;
13699 wxSize temp6 ;
ae8162c8
RD
13700 bool temp7 = false ;
13701 bool temp11 = false ;
d14a1e28
RD
13702 PyObject * obj0 = 0 ;
13703 PyObject * obj1 = 0 ;
994141e6 13704 PyObject * obj2 = 0 ;
d14a1e28
RD
13705 PyObject * obj3 = 0 ;
13706 PyObject * obj4 = 0 ;
13707 PyObject * obj5 = 0 ;
13708 PyObject * obj6 = 0 ;
994141e6
RD
13709 PyObject * obj7 = 0 ;
13710 PyObject * obj8 = 0 ;
d14a1e28
RD
13711 PyObject * obj9 = 0 ;
13712 PyObject * obj10 = 0 ;
13713 char *kwnames[] = {
994141e6 13714 (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
13715 };
13716
248ed943 13717 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
13718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13719 if (SWIG_arg_fail(1)) SWIG_fail;
13720 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13721 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 13722 if (obj2) {
093d3ff1
RD
13723 {
13724 arg3 = (int)(SWIG_As_int(obj2));
13725 if (SWIG_arg_fail(3)) SWIG_fail;
13726 }
248ed943
RD
13727 }
13728 if (obj3) {
13729 {
13730 arg4 = wxString_in_helper(obj3);
13731 if (arg4 == NULL) SWIG_fail;
ae8162c8 13732 temp4 = true;
248ed943 13733 }
d14a1e28
RD
13734 }
13735 if (obj4) {
13736 {
13737 arg5 = &temp5;
13738 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13739 }
13740 }
13741 if (obj5) {
13742 {
13743 arg6 = &temp6;
13744 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13745 }
13746 }
13747 if (obj6) {
13748 {
4d5c3d91
RD
13749 if (! PySequence_Check(obj6)) {
13750 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13751 SWIG_fail;
13752 }
13753 arg7 = new wxArrayString;
ae8162c8 13754 temp7 = true;
4d5c3d91
RD
13755 int i, len=PySequence_Length(obj6);
13756 for (i=0; i<len; i++) {
13757 PyObject* item = PySequence_GetItem(obj6, i);
13758#if wxUSE_UNICODE
13759 PyObject* str = PyObject_Unicode(item);
13760#else
13761 PyObject* str = PyObject_Str(item);
13762#endif
74a57fcd 13763 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
13764 arg7->Add(Py2wxString(str));
13765 Py_DECREF(item);
13766 Py_DECREF(str);
13767 }
d14a1e28
RD
13768 }
13769 }
994141e6 13770 if (obj7) {
093d3ff1
RD
13771 {
13772 arg8 = (int)(SWIG_As_int(obj7));
13773 if (SWIG_arg_fail(8)) SWIG_fail;
13774 }
994141e6
RD
13775 }
13776 if (obj8) {
093d3ff1
RD
13777 {
13778 arg9 = (long)(SWIG_As_long(obj8));
13779 if (SWIG_arg_fail(9)) SWIG_fail;
13780 }
994141e6 13781 }
d14a1e28 13782 if (obj9) {
093d3ff1
RD
13783 {
13784 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13785 if (SWIG_arg_fail(10)) SWIG_fail;
13786 if (arg10 == NULL) {
13787 SWIG_null_ref("wxValidator");
13788 }
13789 if (SWIG_arg_fail(10)) SWIG_fail;
d14a1e28
RD
13790 }
13791 }
13792 if (obj10) {
13793 {
4d5c3d91
RD
13794 arg11 = wxString_in_helper(obj10);
13795 if (arg11 == NULL) SWIG_fail;
ae8162c8 13796 temp11 = true;
d14a1e28
RD
13797 }
13798 }
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 13801 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
13802
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
4f89f6a3
RD
13806 {
13807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13808 }
d14a1e28
RD
13809 {
13810 if (temp4)
13811 delete arg4;
13812 }
13813 {
3adfb63b 13814 if (temp7) delete arg7;
d14a1e28
RD
13815 }
13816 {
13817 if (temp11)
4d5c3d91 13818 delete arg11;
d14a1e28
RD
13819 }
13820 return resultobj;
13821 fail:
13822 {
13823 if (temp4)
13824 delete arg4;
13825 }
13826 {
3adfb63b 13827 if (temp7) delete arg7;
d14a1e28
RD
13828 }
13829 {
13830 if (temp11)
4d5c3d91 13831 delete arg11;
d14a1e28
RD
13832 }
13833 return NULL;
13834}
13835
13836
c32bde28 13837static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13838 PyObject *resultobj;
13839 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13840 int arg2 ;
13841 PyObject * obj0 = 0 ;
994141e6 13842 PyObject * obj1 = 0 ;
d14a1e28
RD
13843 char *kwnames[] = {
13844 (char *) "self",(char *) "n", NULL
13845 };
13846
994141e6 13847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13849 if (SWIG_arg_fail(1)) SWIG_fail;
13850 {
13851 arg2 = (int)(SWIG_As_int(obj1));
13852 if (SWIG_arg_fail(2)) SWIG_fail;
13853 }
d14a1e28
RD
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
13856 (arg1)->SetSelection(arg2);
13857
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 Py_INCREF(Py_None); resultobj = Py_None;
13862 return resultobj;
13863 fail:
13864 return NULL;
13865}
13866
13867
c32bde28 13868static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13869 PyObject *resultobj;
13870 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13871 int result;
13872 PyObject * obj0 = 0 ;
13873 char *kwnames[] = {
13874 (char *) "self", NULL
13875 };
13876
13877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
13878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13879 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
093d3ff1
RD
13887 {
13888 resultobj = SWIG_From_int((int)(result));
13889 }
d14a1e28
RD
13890 return resultobj;
13891 fail:
13892 return NULL;
13893}
13894
13895
c32bde28 13896static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13897 PyObject *resultobj;
13898 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13899 wxString result;
13900 PyObject * obj0 = 0 ;
13901 char *kwnames[] = {
13902 (char *) "self", NULL
13903 };
13904
13905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
13906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13907 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13908 {
13909 PyThreadState* __tstate = wxPyBeginAllowThreads();
13910 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13911
13912 wxPyEndAllowThreads(__tstate);
13913 if (PyErr_Occurred()) SWIG_fail;
13914 }
13915 {
13916#if wxUSE_UNICODE
13917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13918#else
13919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13920#endif
13921 }
13922 return resultobj;
13923 fail:
13924 return NULL;
13925}
13926
13927
c32bde28 13928static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13929 PyObject *resultobj;
13930 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13931 wxString *arg2 = 0 ;
13932 bool result;
ae8162c8 13933 bool temp2 = false ;
d14a1e28
RD
13934 PyObject * obj0 = 0 ;
13935 PyObject * obj1 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self",(char *) "s", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13942 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13943 {
13944 arg2 = wxString_in_helper(obj1);
13945 if (arg2 == NULL) SWIG_fail;
ae8162c8 13946 temp2 = true;
d14a1e28
RD
13947 }
13948 {
13949 PyThreadState* __tstate = wxPyBeginAllowThreads();
13950 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13951
13952 wxPyEndAllowThreads(__tstate);
13953 if (PyErr_Occurred()) SWIG_fail;
13954 }
4f89f6a3
RD
13955 {
13956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13957 }
d14a1e28
RD
13958 {
13959 if (temp2)
13960 delete arg2;
13961 }
13962 return resultobj;
13963 fail:
13964 {
13965 if (temp2)
13966 delete arg2;
13967 }
13968 return NULL;
13969}
13970
13971
c32bde28 13972static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13973 PyObject *resultobj;
13974 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13975 int result;
13976 PyObject * obj0 = 0 ;
13977 char *kwnames[] = {
13978 (char *) "self", NULL
13979 };
13980
13981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
13982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13983 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13984 {
13985 PyThreadState* __tstate = wxPyBeginAllowThreads();
13986 result = (int)((wxRadioBox const *)arg1)->GetCount();
13987
13988 wxPyEndAllowThreads(__tstate);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
093d3ff1
RD
13991 {
13992 resultobj = SWIG_From_int((int)(result));
13993 }
d14a1e28
RD
13994 return resultobj;
13995 fail:
13996 return NULL;
13997}
13998
13999
c32bde28 14000static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14001 PyObject *resultobj;
14002 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14003 wxString *arg2 = 0 ;
14004 int result;
ae8162c8 14005 bool temp2 = false ;
d14a1e28
RD
14006 PyObject * obj0 = 0 ;
14007 PyObject * obj1 = 0 ;
14008 char *kwnames[] = {
14009 (char *) "self",(char *) "s", NULL
14010 };
14011
14012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14014 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14015 {
14016 arg2 = wxString_in_helper(obj1);
14017 if (arg2 == NULL) SWIG_fail;
ae8162c8 14018 temp2 = true;
d14a1e28
RD
14019 }
14020 {
14021 PyThreadState* __tstate = wxPyBeginAllowThreads();
14022 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14023
14024 wxPyEndAllowThreads(__tstate);
14025 if (PyErr_Occurred()) SWIG_fail;
14026 }
093d3ff1
RD
14027 {
14028 resultobj = SWIG_From_int((int)(result));
14029 }
d14a1e28
RD
14030 {
14031 if (temp2)
14032 delete arg2;
14033 }
14034 return resultobj;
14035 fail:
14036 {
14037 if (temp2)
14038 delete arg2;
14039 }
14040 return NULL;
14041}
14042
14043
c32bde28 14044static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14045 PyObject *resultobj;
14046 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14047 int arg2 ;
14048 wxString result;
14049 PyObject * obj0 = 0 ;
994141e6 14050 PyObject * obj1 = 0 ;
d14a1e28
RD
14051 char *kwnames[] = {
14052 (char *) "self",(char *) "n", NULL
14053 };
14054
994141e6 14055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14057 if (SWIG_arg_fail(1)) SWIG_fail;
14058 {
14059 arg2 = (int)(SWIG_As_int(obj1));
14060 if (SWIG_arg_fail(2)) SWIG_fail;
14061 }
d14a1e28
RD
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14065
14066 wxPyEndAllowThreads(__tstate);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
14069 {
14070#if wxUSE_UNICODE
14071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14072#else
14073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14074#endif
14075 }
14076 return resultobj;
14077 fail:
14078 return NULL;
14079}
14080
14081
c32bde28 14082static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14083 PyObject *resultobj;
14084 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14085 int arg2 ;
14086 wxString *arg3 = 0 ;
ae8162c8 14087 bool temp3 = false ;
d14a1e28 14088 PyObject * obj0 = 0 ;
994141e6 14089 PyObject * obj1 = 0 ;
d14a1e28
RD
14090 PyObject * obj2 = 0 ;
14091 char *kwnames[] = {
14092 (char *) "self",(char *) "n",(char *) "label", NULL
14093 };
14094
994141e6 14095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14097 if (SWIG_arg_fail(1)) SWIG_fail;
14098 {
14099 arg2 = (int)(SWIG_As_int(obj1));
14100 if (SWIG_arg_fail(2)) SWIG_fail;
14101 }
d14a1e28
RD
14102 {
14103 arg3 = wxString_in_helper(obj2);
14104 if (arg3 == NULL) SWIG_fail;
ae8162c8 14105 temp3 = true;
d14a1e28
RD
14106 }
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 (arg1)->SetString(arg2,(wxString const &)*arg3);
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 Py_INCREF(Py_None); resultobj = Py_None;
14115 {
14116 if (temp3)
14117 delete arg3;
14118 }
14119 return resultobj;
14120 fail:
14121 {
14122 if (temp3)
14123 delete arg3;
14124 }
14125 return NULL;
14126}
14127
14128
c32bde28 14129static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14130 PyObject *resultobj;
14131 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14132 int arg2 ;
ae8162c8 14133 bool arg3 = (bool) true ;
d14a1e28 14134 PyObject * obj0 = 0 ;
994141e6 14135 PyObject * obj1 = 0 ;
d14a1e28
RD
14136 PyObject * obj2 = 0 ;
14137 char *kwnames[] = {
14138 (char *) "self",(char *) "n",(char *) "enable", NULL
14139 };
14140
994141e6 14141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14143 if (SWIG_arg_fail(1)) SWIG_fail;
14144 {
14145 arg2 = (int)(SWIG_As_int(obj1));
14146 if (SWIG_arg_fail(2)) SWIG_fail;
14147 }
d14a1e28 14148 if (obj2) {
093d3ff1
RD
14149 {
14150 arg3 = (bool)(SWIG_As_bool(obj2));
14151 if (SWIG_arg_fail(3)) SWIG_fail;
14152 }
d14a1e28
RD
14153 }
14154 {
14155 PyThreadState* __tstate = wxPyBeginAllowThreads();
14156 (arg1)->Enable(arg2,arg3);
14157
14158 wxPyEndAllowThreads(__tstate);
14159 if (PyErr_Occurred()) SWIG_fail;
14160 }
14161 Py_INCREF(Py_None); resultobj = Py_None;
14162 return resultobj;
14163 fail:
14164 return NULL;
14165}
14166
14167
c32bde28 14168static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14169 PyObject *resultobj;
14170 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14171 int arg2 ;
ae8162c8 14172 bool arg3 = (bool) true ;
d14a1e28 14173 PyObject * obj0 = 0 ;
994141e6 14174 PyObject * obj1 = 0 ;
d14a1e28
RD
14175 PyObject * obj2 = 0 ;
14176 char *kwnames[] = {
14177 (char *) "self",(char *) "n",(char *) "show", NULL
14178 };
14179
994141e6 14180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14182 if (SWIG_arg_fail(1)) SWIG_fail;
14183 {
14184 arg2 = (int)(SWIG_As_int(obj1));
14185 if (SWIG_arg_fail(2)) SWIG_fail;
14186 }
d14a1e28 14187 if (obj2) {
093d3ff1
RD
14188 {
14189 arg3 = (bool)(SWIG_As_bool(obj2));
14190 if (SWIG_arg_fail(3)) SWIG_fail;
14191 }
d14a1e28
RD
14192 }
14193 {
14194 PyThreadState* __tstate = wxPyBeginAllowThreads();
14195 (arg1)->Show(arg2,arg3);
14196
14197 wxPyEndAllowThreads(__tstate);
14198 if (PyErr_Occurred()) SWIG_fail;
14199 }
14200 Py_INCREF(Py_None); resultobj = Py_None;
14201 return resultobj;
14202 fail:
14203 return NULL;
14204}
14205
14206
c32bde28 14207static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14208 PyObject *resultobj;
14209 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14210 int result;
14211 PyObject * obj0 = 0 ;
14212 char *kwnames[] = {
14213 (char *) "self", NULL
14214 };
14215
14216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14218 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
093d3ff1
RD
14226 {
14227 resultobj = SWIG_From_int((int)(result));
14228 }
d14a1e28
RD
14229 return resultobj;
14230 fail:
14231 return NULL;
14232}
14233
14234
c32bde28 14235static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14236 PyObject *resultobj;
14237 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14238 int result;
14239 PyObject * obj0 = 0 ;
14240 char *kwnames[] = {
14241 (char *) "self", NULL
14242 };
14243
14244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14246 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14247 {
14248 PyThreadState* __tstate = wxPyBeginAllowThreads();
14249 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
14250
14251 wxPyEndAllowThreads(__tstate);
14252 if (PyErr_Occurred()) SWIG_fail;
14253 }
093d3ff1
RD
14254 {
14255 resultobj = SWIG_From_int((int)(result));
14256 }
d14a1e28
RD
14257 return resultobj;
14258 fail:
14259 return NULL;
14260}
14261
14262
c32bde28 14263static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14264 PyObject *resultobj;
14265 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14266 int arg2 ;
093d3ff1 14267 wxDirection arg3 ;
d14a1e28
RD
14268 long arg4 ;
14269 int result;
14270 PyObject * obj0 = 0 ;
994141e6
RD
14271 PyObject * obj1 = 0 ;
14272 PyObject * obj2 = 0 ;
14273 PyObject * obj3 = 0 ;
d14a1e28
RD
14274 char *kwnames[] = {
14275 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14276 };
14277
994141e6 14278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14280 if (SWIG_arg_fail(1)) SWIG_fail;
14281 {
14282 arg2 = (int)(SWIG_As_int(obj1));
14283 if (SWIG_arg_fail(2)) SWIG_fail;
14284 }
14285 {
14286 arg3 = (wxDirection)(SWIG_As_int(obj2));
14287 if (SWIG_arg_fail(3)) SWIG_fail;
14288 }
14289 {
14290 arg4 = (long)(SWIG_As_long(obj3));
14291 if (SWIG_arg_fail(4)) SWIG_fail;
14292 }
d14a1e28
RD
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
14296
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
093d3ff1
RD
14300 {
14301 resultobj = SWIG_From_int((int)(result));
14302 }
d14a1e28
RD
14303 return resultobj;
14304 fail:
14305 return NULL;
14306}
14307
14308
c32bde28 14309static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 14310 PyObject *resultobj;
093d3ff1 14311 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
14312 wxVisualAttributes result;
14313 PyObject * obj0 = 0 ;
14314 char *kwnames[] = {
14315 (char *) "variant", NULL
14316 };
14317
14318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14319 if (obj0) {
093d3ff1
RD
14320 {
14321 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14322 if (SWIG_arg_fail(1)) SWIG_fail;
14323 }
22bfe96c
RD
14324 }
14325 {
110da5b0 14326 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14329
14330 wxPyEndAllowThreads(__tstate);
dfbb5885 14331 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14332 }
14333 {
14334 wxVisualAttributes * resultptr;
093d3ff1 14335 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
14336 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14337 }
14338 return resultobj;
14339 fail:
14340 return NULL;
14341}
14342
14343
c32bde28 14344static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14345 PyObject *obj;
14346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14347 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14348 Py_INCREF(obj);
14349 return Py_BuildValue((char *)"");
14350}
c32bde28 14351static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14352 PyObject *resultobj;
14353 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14354 int arg2 = (int) -1 ;
14355 wxString const &arg3_defvalue = wxPyEmptyString ;
14356 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
14357 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14358 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14359 wxSize const &arg5_defvalue = wxDefaultSize ;
14360 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14361 long arg6 = (long) 0 ;
14362 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14363 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14364 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14365 wxString *arg8 = (wxString *) &arg8_defvalue ;
14366 wxRadioButton *result;
ae8162c8 14367 bool temp3 = false ;
d14a1e28
RD
14368 wxPoint temp4 ;
14369 wxSize temp5 ;
ae8162c8 14370 bool temp8 = false ;
d14a1e28 14371 PyObject * obj0 = 0 ;
994141e6 14372 PyObject * obj1 = 0 ;
d14a1e28
RD
14373 PyObject * obj2 = 0 ;
14374 PyObject * obj3 = 0 ;
14375 PyObject * obj4 = 0 ;
994141e6 14376 PyObject * obj5 = 0 ;
d14a1e28
RD
14377 PyObject * obj6 = 0 ;
14378 PyObject * obj7 = 0 ;
14379 char *kwnames[] = {
14380 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14381 };
14382
248ed943 14383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
14384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14385 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14386 if (obj1) {
093d3ff1
RD
14387 {
14388 arg2 = (int)(SWIG_As_int(obj1));
14389 if (SWIG_arg_fail(2)) SWIG_fail;
14390 }
248ed943
RD
14391 }
14392 if (obj2) {
14393 {
14394 arg3 = wxString_in_helper(obj2);
14395 if (arg3 == NULL) SWIG_fail;
ae8162c8 14396 temp3 = true;
248ed943 14397 }
d14a1e28
RD
14398 }
14399 if (obj3) {
14400 {
14401 arg4 = &temp4;
14402 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14403 }
14404 }
14405 if (obj4) {
14406 {
14407 arg5 = &temp5;
14408 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14409 }
14410 }
994141e6 14411 if (obj5) {
093d3ff1
RD
14412 {
14413 arg6 = (long)(SWIG_As_long(obj5));
14414 if (SWIG_arg_fail(6)) SWIG_fail;
14415 }
994141e6 14416 }
d14a1e28 14417 if (obj6) {
093d3ff1
RD
14418 {
14419 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14420 if (SWIG_arg_fail(7)) SWIG_fail;
14421 if (arg7 == NULL) {
14422 SWIG_null_ref("wxValidator");
14423 }
14424 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
14425 }
14426 }
14427 if (obj7) {
14428 {
14429 arg8 = wxString_in_helper(obj7);
14430 if (arg8 == NULL) SWIG_fail;
ae8162c8 14431 temp8 = true;
d14a1e28
RD
14432 }
14433 }
14434 {
e3b71cb8 14435 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14436 PyThreadState* __tstate = wxPyBeginAllowThreads();
14437 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14438
14439 wxPyEndAllowThreads(__tstate);
110da5b0 14440 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14441 }
15afbcd0 14442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
14443 {
14444 if (temp3)
14445 delete arg3;
14446 }
14447 {
14448 if (temp8)
14449 delete arg8;
14450 }
14451 return resultobj;
14452 fail:
14453 {
14454 if (temp3)
14455 delete arg3;
14456 }
14457 {
14458 if (temp8)
14459 delete arg8;
14460 }
14461 return NULL;
14462}
14463
14464
c32bde28 14465static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14466 PyObject *resultobj;
14467 wxRadioButton *result;
14468 char *kwnames[] = {
14469 NULL
14470 };
14471
14472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14473 {
e3b71cb8 14474 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14475 PyThreadState* __tstate = wxPyBeginAllowThreads();
14476 result = (wxRadioButton *)new wxRadioButton();
14477
14478 wxPyEndAllowThreads(__tstate);
110da5b0 14479 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14480 }
15afbcd0 14481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
14482 return resultobj;
14483 fail:
14484 return NULL;
14485}
14486
14487
c32bde28 14488static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14489 PyObject *resultobj;
14490 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14491 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14492 int arg3 = (int) -1 ;
14493 wxString const &arg4_defvalue = wxPyEmptyString ;
14494 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
14495 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14496 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14497 wxSize const &arg6_defvalue = wxDefaultSize ;
14498 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14499 long arg7 = (long) 0 ;
14500 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14501 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14502 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14503 wxString *arg9 = (wxString *) &arg9_defvalue ;
14504 bool result;
ae8162c8 14505 bool temp4 = false ;
d14a1e28
RD
14506 wxPoint temp5 ;
14507 wxSize temp6 ;
ae8162c8 14508 bool temp9 = false ;
d14a1e28
RD
14509 PyObject * obj0 = 0 ;
14510 PyObject * obj1 = 0 ;
994141e6 14511 PyObject * obj2 = 0 ;
d14a1e28
RD
14512 PyObject * obj3 = 0 ;
14513 PyObject * obj4 = 0 ;
14514 PyObject * obj5 = 0 ;
994141e6 14515 PyObject * obj6 = 0 ;
d14a1e28
RD
14516 PyObject * obj7 = 0 ;
14517 PyObject * obj8 = 0 ;
14518 char *kwnames[] = {
14519 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14520 };
14521
248ed943 14522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
14523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14524 if (SWIG_arg_fail(1)) SWIG_fail;
14525 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14526 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14527 if (obj2) {
093d3ff1
RD
14528 {
14529 arg3 = (int)(SWIG_As_int(obj2));
14530 if (SWIG_arg_fail(3)) SWIG_fail;
14531 }
248ed943
RD
14532 }
14533 if (obj3) {
14534 {
14535 arg4 = wxString_in_helper(obj3);
14536 if (arg4 == NULL) SWIG_fail;
ae8162c8 14537 temp4 = true;
248ed943 14538 }
d14a1e28
RD
14539 }
14540 if (obj4) {
14541 {
14542 arg5 = &temp5;
14543 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14544 }
14545 }
14546 if (obj5) {
14547 {
14548 arg6 = &temp6;
14549 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14550 }
14551 }
994141e6 14552 if (obj6) {
093d3ff1
RD
14553 {
14554 arg7 = (long)(SWIG_As_long(obj6));
14555 if (SWIG_arg_fail(7)) SWIG_fail;
14556 }
994141e6 14557 }
d14a1e28 14558 if (obj7) {
093d3ff1
RD
14559 {
14560 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14561 if (SWIG_arg_fail(8)) SWIG_fail;
14562 if (arg8 == NULL) {
14563 SWIG_null_ref("wxValidator");
14564 }
14565 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
14566 }
14567 }
14568 if (obj8) {
14569 {
14570 arg9 = wxString_in_helper(obj8);
14571 if (arg9 == NULL) SWIG_fail;
ae8162c8 14572 temp9 = true;
d14a1e28
RD
14573 }
14574 }
14575 {
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14578
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
4f89f6a3
RD
14582 {
14583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14584 }
d14a1e28
RD
14585 {
14586 if (temp4)
14587 delete arg4;
14588 }
14589 {
14590 if (temp9)
14591 delete arg9;
14592 }
14593 return resultobj;
14594 fail:
14595 {
14596 if (temp4)
14597 delete arg4;
14598 }
14599 {
14600 if (temp9)
14601 delete arg9;
14602 }
14603 return NULL;
14604}
14605
14606
c32bde28 14607static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14608 PyObject *resultobj;
14609 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14610 bool result;
14611 PyObject * obj0 = 0 ;
14612 char *kwnames[] = {
14613 (char *) "self", NULL
14614 };
14615
14616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
14617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14618 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 result = (bool)(arg1)->GetValue();
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
4f89f6a3
RD
14626 {
14627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14628 }
d14a1e28
RD
14629 return resultobj;
14630 fail:
14631 return NULL;
14632}
14633
14634
c32bde28 14635static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14636 PyObject *resultobj;
14637 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14638 bool arg2 ;
14639 PyObject * obj0 = 0 ;
14640 PyObject * obj1 = 0 ;
14641 char *kwnames[] = {
14642 (char *) "self",(char *) "value", NULL
14643 };
14644
14645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14647 if (SWIG_arg_fail(1)) SWIG_fail;
14648 {
14649 arg2 = (bool)(SWIG_As_bool(obj1));
14650 if (SWIG_arg_fail(2)) SWIG_fail;
14651 }
d14a1e28
RD
14652 {
14653 PyThreadState* __tstate = wxPyBeginAllowThreads();
14654 (arg1)->SetValue(arg2);
14655
14656 wxPyEndAllowThreads(__tstate);
14657 if (PyErr_Occurred()) SWIG_fail;
14658 }
14659 Py_INCREF(Py_None); resultobj = Py_None;
14660 return resultobj;
14661 fail:
14662 return NULL;
14663}
14664
14665
c32bde28 14666static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 14667 PyObject *resultobj;
093d3ff1 14668 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
14669 wxVisualAttributes result;
14670 PyObject * obj0 = 0 ;
14671 char *kwnames[] = {
14672 (char *) "variant", NULL
14673 };
14674
14675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14676 if (obj0) {
093d3ff1
RD
14677 {
14678 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14679 if (SWIG_arg_fail(1)) SWIG_fail;
14680 }
22bfe96c
RD
14681 }
14682 {
110da5b0 14683 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14686
14687 wxPyEndAllowThreads(__tstate);
dfbb5885 14688 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14689 }
14690 {
14691 wxVisualAttributes * resultptr;
093d3ff1 14692 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
14693 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14694 }
14695 return resultobj;
14696 fail:
14697 return NULL;
14698}
14699
14700
c32bde28 14701static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14702 PyObject *obj;
14703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14704 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14705 Py_INCREF(obj);
14706 return Py_BuildValue((char *)"");
14707}
c32bde28 14708static int _wrap_SliderNameStr_set(PyObject *) {
b2dc1044
RD
14709 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14710 return 1;
14711}
14712
14713
093d3ff1 14714static PyObject *_wrap_SliderNameStr_get(void) {
b2dc1044
RD
14715 PyObject *pyobj;
14716
14717 {
14718#if wxUSE_UNICODE
14719 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14720#else
14721 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14722#endif
14723 }
14724 return pyobj;
14725}
14726
14727
c32bde28 14728static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14729 PyObject *resultobj;
14730 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
14731 int arg2 = (int) -1 ;
14732 int arg3 = (int) 0 ;
14733 int arg4 = (int) 0 ;
14734 int arg5 = (int) 100 ;
d14a1e28
RD
14735 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14736 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14737 wxSize const &arg7_defvalue = wxDefaultSize ;
14738 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14739 long arg8 = (long) wxSL_HORIZONTAL ;
14740 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14741 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14742 wxString const &arg10_defvalue = wxPySliderNameStr ;
14743 wxString *arg10 = (wxString *) &arg10_defvalue ;
14744 wxSlider *result;
14745 wxPoint temp6 ;
14746 wxSize temp7 ;
ae8162c8 14747 bool temp10 = false ;
d14a1e28 14748 PyObject * obj0 = 0 ;
994141e6
RD
14749 PyObject * obj1 = 0 ;
14750 PyObject * obj2 = 0 ;
14751 PyObject * obj3 = 0 ;
14752 PyObject * obj4 = 0 ;
d14a1e28
RD
14753 PyObject * obj5 = 0 ;
14754 PyObject * obj6 = 0 ;
994141e6 14755 PyObject * obj7 = 0 ;
d14a1e28
RD
14756 PyObject * obj8 = 0 ;
14757 PyObject * obj9 = 0 ;
14758 char *kwnames[] = {
994141e6 14759 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
14760 };
14761
248ed943 14762 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
14763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14764 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 14765 if (obj1) {
093d3ff1
RD
14766 {
14767 arg2 = (int)(SWIG_As_int(obj1));
14768 if (SWIG_arg_fail(2)) SWIG_fail;
14769 }
248ed943
RD
14770 }
14771 if (obj2) {
093d3ff1
RD
14772 {
14773 arg3 = (int)(SWIG_As_int(obj2));
14774 if (SWIG_arg_fail(3)) SWIG_fail;
14775 }
248ed943
RD
14776 }
14777 if (obj3) {
093d3ff1
RD
14778 {
14779 arg4 = (int)(SWIG_As_int(obj3));
14780 if (SWIG_arg_fail(4)) SWIG_fail;
14781 }
248ed943
RD
14782 }
14783 if (obj4) {
093d3ff1
RD
14784 {
14785 arg5 = (int)(SWIG_As_int(obj4));
14786 if (SWIG_arg_fail(5)) SWIG_fail;
14787 }
248ed943 14788 }
d14a1e28
RD
14789 if (obj5) {
14790 {
14791 arg6 = &temp6;
14792 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14793 }
14794 }
14795 if (obj6) {
14796 {
14797 arg7 = &temp7;
14798 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14799 }
14800 }
994141e6 14801 if (obj7) {
093d3ff1
RD
14802 {
14803 arg8 = (long)(SWIG_As_long(obj7));
14804 if (SWIG_arg_fail(8)) SWIG_fail;
14805 }
994141e6 14806 }
d14a1e28 14807 if (obj8) {
093d3ff1
RD
14808 {
14809 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14810 if (SWIG_arg_fail(9)) SWIG_fail;
14811 if (arg9 == NULL) {
14812 SWIG_null_ref("wxValidator");
14813 }
14814 if (SWIG_arg_fail(9)) SWIG_fail;
d14a1e28
RD
14815 }
14816 }
14817 if (obj9) {
14818 {
14819 arg10 = wxString_in_helper(obj9);
14820 if (arg10 == NULL) SWIG_fail;
ae8162c8 14821 temp10 = true;
d14a1e28
RD
14822 }
14823 }
14824 {
e3b71cb8 14825 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14828
14829 wxPyEndAllowThreads(__tstate);
110da5b0 14830 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14831 }
15afbcd0 14832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
14833 {
14834 if (temp10)
14835 delete arg10;
14836 }
14837 return resultobj;
14838 fail:
14839 {
14840 if (temp10)
14841 delete arg10;
14842 }
14843 return NULL;
14844}
14845
14846
c32bde28 14847static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14848 PyObject *resultobj;
14849 wxSlider *result;
14850 char *kwnames[] = {
14851 NULL
14852 };
14853
14854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14855 {
e3b71cb8 14856 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14857 PyThreadState* __tstate = wxPyBeginAllowThreads();
14858 result = (wxSlider *)new wxSlider();
14859
14860 wxPyEndAllowThreads(__tstate);
110da5b0 14861 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14862 }
15afbcd0 14863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
14864 return resultobj;
14865 fail:
14866 return NULL;
14867}
14868
14869
c32bde28 14870static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14871 PyObject *resultobj;
14872 wxSlider *arg1 = (wxSlider *) 0 ;
14873 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
14874 int arg3 = (int) -1 ;
14875 int arg4 = (int) 0 ;
14876 int arg5 = (int) 0 ;
14877 int arg6 = (int) 100 ;
d14a1e28
RD
14878 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14879 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14880 wxSize const &arg8_defvalue = wxDefaultSize ;
14881 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14882 long arg9 = (long) wxSL_HORIZONTAL ;
14883 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14884 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14885 wxString const &arg11_defvalue = wxPySliderNameStr ;
14886 wxString *arg11 = (wxString *) &arg11_defvalue ;
14887 bool result;
14888 wxPoint temp7 ;
14889 wxSize temp8 ;
ae8162c8 14890 bool temp11 = false ;
d14a1e28
RD
14891 PyObject * obj0 = 0 ;
14892 PyObject * obj1 = 0 ;
994141e6
RD
14893 PyObject * obj2 = 0 ;
14894 PyObject * obj3 = 0 ;
14895 PyObject * obj4 = 0 ;
14896 PyObject * obj5 = 0 ;
d14a1e28
RD
14897 PyObject * obj6 = 0 ;
14898 PyObject * obj7 = 0 ;
994141e6 14899 PyObject * obj8 = 0 ;
d14a1e28
RD
14900 PyObject * obj9 = 0 ;
14901 PyObject * obj10 = 0 ;
14902 char *kwnames[] = {
994141e6 14903 (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
14904 };
14905
248ed943 14906 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
14907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14908 if (SWIG_arg_fail(1)) SWIG_fail;
14909 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14910 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 14911 if (obj2) {
093d3ff1
RD
14912 {
14913 arg3 = (int)(SWIG_As_int(obj2));
14914 if (SWIG_arg_fail(3)) SWIG_fail;
14915 }
248ed943
RD
14916 }
14917 if (obj3) {
093d3ff1
RD
14918 {
14919 arg4 = (int)(SWIG_As_int(obj3));
14920 if (SWIG_arg_fail(4)) SWIG_fail;
14921 }
248ed943
RD
14922 }
14923 if (obj4) {
093d3ff1
RD
14924 {
14925 arg5 = (int)(SWIG_As_int(obj4));
14926 if (SWIG_arg_fail(5)) SWIG_fail;
14927 }
248ed943
RD
14928 }
14929 if (obj5) {
093d3ff1
RD
14930 {
14931 arg6 = (int)(SWIG_As_int(obj5));
14932 if (SWIG_arg_fail(6)) SWIG_fail;
14933 }
248ed943 14934 }
d14a1e28
RD
14935 if (obj6) {
14936 {
14937 arg7 = &temp7;
14938 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14939 }
14940 }
14941 if (obj7) {
14942 {
14943 arg8 = &temp8;
14944 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14945 }
14946 }
994141e6 14947 if (obj8) {
093d3ff1
RD
14948 {
14949 arg9 = (long)(SWIG_As_long(obj8));
14950 if (SWIG_arg_fail(9)) SWIG_fail;
14951 }
994141e6 14952 }
d14a1e28 14953 if (obj9) {
093d3ff1
RD
14954 {
14955 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14956 if (SWIG_arg_fail(10)) SWIG_fail;
14957 if (arg10 == NULL) {
14958 SWIG_null_ref("wxValidator");
14959 }
14960 if (SWIG_arg_fail(10)) SWIG_fail;
d14a1e28
RD
14961 }
14962 }
14963 if (obj10) {
14964 {
14965 arg11 = wxString_in_helper(obj10);
14966 if (arg11 == NULL) SWIG_fail;
ae8162c8 14967 temp11 = true;
d14a1e28
RD
14968 }
14969 }
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
4f89f6a3
RD
14977 {
14978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14979 }
d14a1e28
RD
14980 {
14981 if (temp11)
14982 delete arg11;
14983 }
14984 return resultobj;
14985 fail:
14986 {
14987 if (temp11)
14988 delete arg11;
14989 }
14990 return NULL;
14991}
14992
14993
c32bde28 14994static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14995 PyObject *resultobj;
14996 wxSlider *arg1 = (wxSlider *) 0 ;
14997 int result;
14998 PyObject * obj0 = 0 ;
14999 char *kwnames[] = {
15000 (char *) "self", NULL
15001 };
15002
15003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15005 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15006 {
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 result = (int)((wxSlider const *)arg1)->GetValue();
15009
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
093d3ff1
RD
15013 {
15014 resultobj = SWIG_From_int((int)(result));
15015 }
d14a1e28
RD
15016 return resultobj;
15017 fail:
15018 return NULL;
15019}
15020
15021
c32bde28 15022static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15023 PyObject *resultobj;
15024 wxSlider *arg1 = (wxSlider *) 0 ;
15025 int arg2 ;
15026 PyObject * obj0 = 0 ;
994141e6 15027 PyObject * obj1 = 0 ;
d14a1e28
RD
15028 char *kwnames[] = {
15029 (char *) "self",(char *) "value", NULL
15030 };
15031
994141e6 15032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15034 if (SWIG_arg_fail(1)) SWIG_fail;
15035 {
15036 arg2 = (int)(SWIG_As_int(obj1));
15037 if (SWIG_arg_fail(2)) SWIG_fail;
15038 }
d14a1e28
RD
15039 {
15040 PyThreadState* __tstate = wxPyBeginAllowThreads();
15041 (arg1)->SetValue(arg2);
15042
15043 wxPyEndAllowThreads(__tstate);
15044 if (PyErr_Occurred()) SWIG_fail;
15045 }
15046 Py_INCREF(Py_None); resultobj = Py_None;
15047 return resultobj;
15048 fail:
15049 return NULL;
15050}
15051
15052
c32bde28 15053static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15054 PyObject *resultobj;
15055 wxSlider *arg1 = (wxSlider *) 0 ;
15056 int arg2 ;
15057 int arg3 ;
15058 PyObject * obj0 = 0 ;
994141e6
RD
15059 PyObject * obj1 = 0 ;
15060 PyObject * obj2 = 0 ;
d14a1e28
RD
15061 char *kwnames[] = {
15062 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15063 };
15064
994141e6 15065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15067 if (SWIG_arg_fail(1)) SWIG_fail;
15068 {
15069 arg2 = (int)(SWIG_As_int(obj1));
15070 if (SWIG_arg_fail(2)) SWIG_fail;
15071 }
15072 {
15073 arg3 = (int)(SWIG_As_int(obj2));
15074 if (SWIG_arg_fail(3)) SWIG_fail;
15075 }
d14a1e28
RD
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 (arg1)->SetRange(arg2,arg3);
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 Py_INCREF(Py_None); resultobj = Py_None;
15084 return resultobj;
15085 fail:
15086 return NULL;
15087}
15088
15089
c32bde28 15090static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15091 PyObject *resultobj;
15092 wxSlider *arg1 = (wxSlider *) 0 ;
15093 int result;
15094 PyObject * obj0 = 0 ;
15095 char *kwnames[] = {
15096 (char *) "self", NULL
15097 };
15098
15099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
15100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15101 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15102 {
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 result = (int)((wxSlider const *)arg1)->GetMin();
15105
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
093d3ff1
RD
15109 {
15110 resultobj = SWIG_From_int((int)(result));
15111 }
d14a1e28
RD
15112 return resultobj;
15113 fail:
15114 return NULL;
15115}
15116
15117
c32bde28 15118static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15119 PyObject *resultobj;
15120 wxSlider *arg1 = (wxSlider *) 0 ;
15121 int result;
15122 PyObject * obj0 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
15128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15129 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 result = (int)((wxSlider const *)arg1)->GetMax();
15133
15134 wxPyEndAllowThreads(__tstate);
15135 if (PyErr_Occurred()) SWIG_fail;
15136 }
093d3ff1
RD
15137 {
15138 resultobj = SWIG_From_int((int)(result));
15139 }
d14a1e28
RD
15140 return resultobj;
15141 fail:
15142 return NULL;
15143}
15144
15145
c32bde28 15146static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15147 PyObject *resultobj;
15148 wxSlider *arg1 = (wxSlider *) 0 ;
15149 int arg2 ;
15150 PyObject * obj0 = 0 ;
994141e6 15151 PyObject * obj1 = 0 ;
d14a1e28
RD
15152 char *kwnames[] = {
15153 (char *) "self",(char *) "minValue", NULL
15154 };
15155
994141e6 15156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15158 if (SWIG_arg_fail(1)) SWIG_fail;
15159 {
15160 arg2 = (int)(SWIG_As_int(obj1));
15161 if (SWIG_arg_fail(2)) SWIG_fail;
15162 }
d14a1e28
RD
15163 {
15164 PyThreadState* __tstate = wxPyBeginAllowThreads();
15165 (arg1)->SetMin(arg2);
15166
15167 wxPyEndAllowThreads(__tstate);
15168 if (PyErr_Occurred()) SWIG_fail;
15169 }
15170 Py_INCREF(Py_None); resultobj = Py_None;
15171 return resultobj;
15172 fail:
15173 return NULL;
15174}
15175
15176
c32bde28 15177static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15178 PyObject *resultobj;
15179 wxSlider *arg1 = (wxSlider *) 0 ;
15180 int arg2 ;
15181 PyObject * obj0 = 0 ;
994141e6 15182 PyObject * obj1 = 0 ;
d14a1e28
RD
15183 char *kwnames[] = {
15184 (char *) "self",(char *) "maxValue", NULL
15185 };
15186
994141e6 15187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15189 if (SWIG_arg_fail(1)) SWIG_fail;
15190 {
15191 arg2 = (int)(SWIG_As_int(obj1));
15192 if (SWIG_arg_fail(2)) SWIG_fail;
15193 }
d14a1e28
RD
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 (arg1)->SetMax(arg2);
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 Py_INCREF(Py_None); resultobj = Py_None;
15202 return resultobj;
15203 fail:
15204 return NULL;
15205}
15206
15207
c32bde28 15208static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15209 PyObject *resultobj;
15210 wxSlider *arg1 = (wxSlider *) 0 ;
15211 int arg2 ;
15212 PyObject * obj0 = 0 ;
994141e6 15213 PyObject * obj1 = 0 ;
d14a1e28
RD
15214 char *kwnames[] = {
15215 (char *) "self",(char *) "lineSize", NULL
15216 };
15217
994141e6 15218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15220 if (SWIG_arg_fail(1)) SWIG_fail;
15221 {
15222 arg2 = (int)(SWIG_As_int(obj1));
15223 if (SWIG_arg_fail(2)) SWIG_fail;
15224 }
d14a1e28
RD
15225 {
15226 PyThreadState* __tstate = wxPyBeginAllowThreads();
15227 (arg1)->SetLineSize(arg2);
15228
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 Py_INCREF(Py_None); resultobj = Py_None;
15233 return resultobj;
15234 fail:
15235 return NULL;
15236}
15237
15238
c32bde28 15239static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15240 PyObject *resultobj;
15241 wxSlider *arg1 = (wxSlider *) 0 ;
15242 int arg2 ;
15243 PyObject * obj0 = 0 ;
994141e6 15244 PyObject * obj1 = 0 ;
d14a1e28
RD
15245 char *kwnames[] = {
15246 (char *) "self",(char *) "pageSize", NULL
15247 };
15248
994141e6 15249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15251 if (SWIG_arg_fail(1)) SWIG_fail;
15252 {
15253 arg2 = (int)(SWIG_As_int(obj1));
15254 if (SWIG_arg_fail(2)) SWIG_fail;
15255 }
d14a1e28
RD
15256 {
15257 PyThreadState* __tstate = wxPyBeginAllowThreads();
15258 (arg1)->SetPageSize(arg2);
15259
15260 wxPyEndAllowThreads(__tstate);
15261 if (PyErr_Occurred()) SWIG_fail;
15262 }
15263 Py_INCREF(Py_None); resultobj = Py_None;
15264 return resultobj;
15265 fail:
15266 return NULL;
15267}
15268
15269
c32bde28 15270static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15271 PyObject *resultobj;
15272 wxSlider *arg1 = (wxSlider *) 0 ;
15273 int result;
15274 PyObject * obj0 = 0 ;
15275 char *kwnames[] = {
15276 (char *) "self", NULL
15277 };
15278
15279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15281 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15282 {
15283 PyThreadState* __tstate = wxPyBeginAllowThreads();
15284 result = (int)((wxSlider const *)arg1)->GetLineSize();
15285
15286 wxPyEndAllowThreads(__tstate);
15287 if (PyErr_Occurred()) SWIG_fail;
15288 }
093d3ff1
RD
15289 {
15290 resultobj = SWIG_From_int((int)(result));
15291 }
d14a1e28
RD
15292 return resultobj;
15293 fail:
15294 return NULL;
15295}
15296
15297
c32bde28 15298static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15299 PyObject *resultobj;
15300 wxSlider *arg1 = (wxSlider *) 0 ;
15301 int result;
15302 PyObject * obj0 = 0 ;
15303 char *kwnames[] = {
15304 (char *) "self", NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
15308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15309 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15310 {
15311 PyThreadState* __tstate = wxPyBeginAllowThreads();
15312 result = (int)((wxSlider const *)arg1)->GetPageSize();
15313
15314 wxPyEndAllowThreads(__tstate);
15315 if (PyErr_Occurred()) SWIG_fail;
15316 }
093d3ff1
RD
15317 {
15318 resultobj = SWIG_From_int((int)(result));
15319 }
d14a1e28
RD
15320 return resultobj;
15321 fail:
15322 return NULL;
15323}
15324
15325
c32bde28 15326static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15327 PyObject *resultobj;
15328 wxSlider *arg1 = (wxSlider *) 0 ;
15329 int arg2 ;
15330 PyObject * obj0 = 0 ;
994141e6 15331 PyObject * obj1 = 0 ;
d14a1e28
RD
15332 char *kwnames[] = {
15333 (char *) "self",(char *) "lenPixels", NULL
15334 };
15335
994141e6 15336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15338 if (SWIG_arg_fail(1)) SWIG_fail;
15339 {
15340 arg2 = (int)(SWIG_As_int(obj1));
15341 if (SWIG_arg_fail(2)) SWIG_fail;
15342 }
d14a1e28
RD
15343 {
15344 PyThreadState* __tstate = wxPyBeginAllowThreads();
15345 (arg1)->SetThumbLength(arg2);
15346
15347 wxPyEndAllowThreads(__tstate);
15348 if (PyErr_Occurred()) SWIG_fail;
15349 }
15350 Py_INCREF(Py_None); resultobj = Py_None;
15351 return resultobj;
15352 fail:
15353 return NULL;
15354}
15355
15356
c32bde28 15357static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15358 PyObject *resultobj;
15359 wxSlider *arg1 = (wxSlider *) 0 ;
15360 int result;
15361 PyObject * obj0 = 0 ;
15362 char *kwnames[] = {
15363 (char *) "self", NULL
15364 };
15365
15366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
15367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15368 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
093d3ff1
RD
15376 {
15377 resultobj = SWIG_From_int((int)(result));
15378 }
d14a1e28
RD
15379 return resultobj;
15380 fail:
15381 return NULL;
15382}
15383
15384
c32bde28 15385static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15386 PyObject *resultobj;
15387 wxSlider *arg1 = (wxSlider *) 0 ;
15388 int arg2 ;
994141e6 15389 int arg3 = (int) 1 ;
d14a1e28 15390 PyObject * obj0 = 0 ;
994141e6
RD
15391 PyObject * obj1 = 0 ;
15392 PyObject * obj2 = 0 ;
d14a1e28
RD
15393 char *kwnames[] = {
15394 (char *) "self",(char *) "n",(char *) "pos", NULL
15395 };
15396
994141e6 15397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15399 if (SWIG_arg_fail(1)) SWIG_fail;
15400 {
15401 arg2 = (int)(SWIG_As_int(obj1));
15402 if (SWIG_arg_fail(2)) SWIG_fail;
15403 }
994141e6 15404 if (obj2) {
093d3ff1
RD
15405 {
15406 arg3 = (int)(SWIG_As_int(obj2));
15407 if (SWIG_arg_fail(3)) SWIG_fail;
15408 }
994141e6 15409 }
d14a1e28
RD
15410 {
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 (arg1)->SetTickFreq(arg2,arg3);
15413
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 Py_INCREF(Py_None); resultobj = Py_None;
15418 return resultobj;
15419 fail:
15420 return NULL;
15421}
15422
15423
c32bde28 15424static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15425 PyObject *resultobj;
15426 wxSlider *arg1 = (wxSlider *) 0 ;
15427 int result;
15428 PyObject * obj0 = 0 ;
15429 char *kwnames[] = {
15430 (char *) "self", NULL
15431 };
15432
15433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
093d3ff1
RD
15434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15435 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15436 {
15437 PyThreadState* __tstate = wxPyBeginAllowThreads();
15438 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15439
15440 wxPyEndAllowThreads(__tstate);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
093d3ff1
RD
15443 {
15444 resultobj = SWIG_From_int((int)(result));
15445 }
d14a1e28
RD
15446 return resultobj;
15447 fail:
15448 return NULL;
15449}
15450
15451
c32bde28 15452static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15453 PyObject *resultobj;
15454 wxSlider *arg1 = (wxSlider *) 0 ;
15455 PyObject * obj0 = 0 ;
15456 char *kwnames[] = {
15457 (char *) "self", NULL
15458 };
15459
15460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
15461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 (arg1)->ClearTicks();
15466
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 Py_INCREF(Py_None); resultobj = Py_None;
15471 return resultobj;
15472 fail:
15473 return NULL;
15474}
15475
15476
c32bde28 15477static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15478 PyObject *resultobj;
15479 wxSlider *arg1 = (wxSlider *) 0 ;
15480 int arg2 ;
15481 PyObject * obj0 = 0 ;
994141e6 15482 PyObject * obj1 = 0 ;
d14a1e28
RD
15483 char *kwnames[] = {
15484 (char *) "self",(char *) "tickPos", NULL
15485 };
15486
994141e6 15487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15489 if (SWIG_arg_fail(1)) SWIG_fail;
15490 {
15491 arg2 = (int)(SWIG_As_int(obj1));
15492 if (SWIG_arg_fail(2)) SWIG_fail;
15493 }
d14a1e28
RD
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 (arg1)->SetTick(arg2);
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 Py_INCREF(Py_None); resultobj = Py_None;
15502 return resultobj;
15503 fail:
15504 return NULL;
15505}
15506
15507
c32bde28 15508static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15509 PyObject *resultobj;
15510 wxSlider *arg1 = (wxSlider *) 0 ;
15511 PyObject * obj0 = 0 ;
15512 char *kwnames[] = {
15513 (char *) "self", NULL
15514 };
15515
15516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
093d3ff1
RD
15517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15518 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 (arg1)->ClearSel();
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 Py_INCREF(Py_None); resultobj = Py_None;
15527 return resultobj;
15528 fail:
15529 return NULL;
15530}
15531
15532
c32bde28 15533static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15534 PyObject *resultobj;
15535 wxSlider *arg1 = (wxSlider *) 0 ;
15536 int result;
15537 PyObject * obj0 = 0 ;
15538 char *kwnames[] = {
15539 (char *) "self", NULL
15540 };
15541
15542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
15543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15544 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15545 {
15546 PyThreadState* __tstate = wxPyBeginAllowThreads();
15547 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15548
15549 wxPyEndAllowThreads(__tstate);
15550 if (PyErr_Occurred()) SWIG_fail;
15551 }
093d3ff1
RD
15552 {
15553 resultobj = SWIG_From_int((int)(result));
15554 }
d14a1e28
RD
15555 return resultobj;
15556 fail:
15557 return NULL;
15558}
15559
15560
c32bde28 15561static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15562 PyObject *resultobj;
15563 wxSlider *arg1 = (wxSlider *) 0 ;
15564 int result;
15565 PyObject * obj0 = 0 ;
15566 char *kwnames[] = {
15567 (char *) "self", NULL
15568 };
15569
15570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
15571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15572 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15573 {
15574 PyThreadState* __tstate = wxPyBeginAllowThreads();
15575 result = (int)((wxSlider const *)arg1)->GetSelStart();
15576
15577 wxPyEndAllowThreads(__tstate);
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
093d3ff1
RD
15580 {
15581 resultobj = SWIG_From_int((int)(result));
15582 }
d14a1e28
RD
15583 return resultobj;
15584 fail:
15585 return NULL;
15586}
15587
15588
c32bde28 15589static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15590 PyObject *resultobj;
15591 wxSlider *arg1 = (wxSlider *) 0 ;
15592 int arg2 ;
15593 int arg3 ;
15594 PyObject * obj0 = 0 ;
994141e6
RD
15595 PyObject * obj1 = 0 ;
15596 PyObject * obj2 = 0 ;
d14a1e28
RD
15597 char *kwnames[] = {
15598 (char *) "self",(char *) "min",(char *) "max", NULL
15599 };
15600
994141e6 15601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15603 if (SWIG_arg_fail(1)) SWIG_fail;
15604 {
15605 arg2 = (int)(SWIG_As_int(obj1));
15606 if (SWIG_arg_fail(2)) SWIG_fail;
15607 }
15608 {
15609 arg3 = (int)(SWIG_As_int(obj2));
15610 if (SWIG_arg_fail(3)) SWIG_fail;
15611 }
d14a1e28
RD
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 (arg1)->SetSelection(arg2,arg3);
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 Py_INCREF(Py_None); resultobj = Py_None;
15620 return resultobj;
15621 fail:
15622 return NULL;
15623}
15624
15625
c32bde28 15626static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 15627 PyObject *resultobj;
093d3ff1 15628 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
15629 wxVisualAttributes result;
15630 PyObject * obj0 = 0 ;
15631 char *kwnames[] = {
15632 (char *) "variant", NULL
15633 };
15634
15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15636 if (obj0) {
093d3ff1
RD
15637 {
15638 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15639 if (SWIG_arg_fail(1)) SWIG_fail;
15640 }
22bfe96c
RD
15641 }
15642 {
110da5b0 15643 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15646
15647 wxPyEndAllowThreads(__tstate);
dfbb5885 15648 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
15649 }
15650 {
15651 wxVisualAttributes * resultptr;
093d3ff1 15652 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
15653 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15654 }
15655 return resultobj;
15656 fail:
15657 return NULL;
15658}
15659
15660
c32bde28 15661static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15662 PyObject *obj;
15663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15664 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15665 Py_INCREF(obj);
15666 return Py_BuildValue((char *)"");
15667}
c32bde28 15668static int _wrap_ToggleButtonNameStr_set(PyObject *) {
b2dc1044
RD
15669 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15670 return 1;
15671}
15672
15673
093d3ff1 15674static PyObject *_wrap_ToggleButtonNameStr_get(void) {
b2dc1044
RD
15675 PyObject *pyobj;
15676
15677 {
15678#if wxUSE_UNICODE
15679 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15680#else
15681 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15682#endif
15683 }
15684 return pyobj;
15685}
15686
15687
c32bde28 15688static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15689 PyObject *resultobj;
15690 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
15691 int arg2 = (int) -1 ;
15692 wxString const &arg3_defvalue = wxPyEmptyString ;
15693 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
15694 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15695 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15696 wxSize const &arg5_defvalue = wxDefaultSize ;
15697 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15698 long arg6 = (long) 0 ;
15699 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15700 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15701 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15702 wxString *arg8 = (wxString *) &arg8_defvalue ;
15703 wxToggleButton *result;
ae8162c8 15704 bool temp3 = false ;
d14a1e28
RD
15705 wxPoint temp4 ;
15706 wxSize temp5 ;
ae8162c8 15707 bool temp8 = false ;
d14a1e28 15708 PyObject * obj0 = 0 ;
994141e6 15709 PyObject * obj1 = 0 ;
d14a1e28
RD
15710 PyObject * obj2 = 0 ;
15711 PyObject * obj3 = 0 ;
15712 PyObject * obj4 = 0 ;
994141e6 15713 PyObject * obj5 = 0 ;
d14a1e28
RD
15714 PyObject * obj6 = 0 ;
15715 PyObject * obj7 = 0 ;
15716 char *kwnames[] = {
15717 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15718 };
15719
248ed943 15720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
15721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15722 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 15723 if (obj1) {
093d3ff1
RD
15724 {
15725 arg2 = (int)(SWIG_As_int(obj1));
15726 if (SWIG_arg_fail(2)) SWIG_fail;
15727 }
248ed943
RD
15728 }
15729 if (obj2) {
15730 {
15731 arg3 = wxString_in_helper(obj2);
15732 if (arg3 == NULL) SWIG_fail;
ae8162c8 15733 temp3 = true;
248ed943 15734 }
d14a1e28
RD
15735 }
15736 if (obj3) {
15737 {
15738 arg4 = &temp4;
15739 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15740 }
15741 }
15742 if (obj4) {
15743 {
15744 arg5 = &temp5;
15745 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15746 }
15747 }
994141e6 15748 if (obj5) {
093d3ff1
RD
15749 {
15750 arg6 = (long)(SWIG_As_long(obj5));
15751 if (SWIG_arg_fail(6)) SWIG_fail;
15752 }
994141e6 15753 }
d14a1e28 15754 if (obj6) {
093d3ff1
RD
15755 {
15756 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15757 if (SWIG_arg_fail(7)) SWIG_fail;
15758 if (arg7 == NULL) {
15759 SWIG_null_ref("wxValidator");
15760 }
15761 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
15762 }
15763 }
15764 if (obj7) {
15765 {
15766 arg8 = wxString_in_helper(obj7);
15767 if (arg8 == NULL) SWIG_fail;
ae8162c8 15768 temp8 = true;
d14a1e28
RD
15769 }
15770 }
15771 {
e3b71cb8 15772 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15773 PyThreadState* __tstate = wxPyBeginAllowThreads();
15774 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15775
15776 wxPyEndAllowThreads(__tstate);
110da5b0 15777 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15778 }
15afbcd0 15779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
15780 {
15781 if (temp3)
15782 delete arg3;
15783 }
15784 {
15785 if (temp8)
15786 delete arg8;
15787 }
15788 return resultobj;
15789 fail:
15790 {
15791 if (temp3)
15792 delete arg3;
15793 }
15794 {
15795 if (temp8)
15796 delete arg8;
15797 }
15798 return NULL;
15799}
15800
15801
c32bde28 15802static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15803 PyObject *resultobj;
15804 wxToggleButton *result;
15805 char *kwnames[] = {
15806 NULL
15807 };
15808
15809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15810 {
e3b71cb8 15811 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 result = (wxToggleButton *)new wxToggleButton();
15814
15815 wxPyEndAllowThreads(__tstate);
110da5b0 15816 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15817 }
15afbcd0 15818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
15819 return resultobj;
15820 fail:
15821 return NULL;
15822}
15823
15824
c32bde28 15825static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15826 PyObject *resultobj;
15827 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15828 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
15829 int arg3 = (int) -1 ;
15830 wxString const &arg4_defvalue = wxPyEmptyString ;
15831 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
15832 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15833 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15834 wxSize const &arg6_defvalue = wxDefaultSize ;
15835 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15836 long arg7 = (long) 0 ;
15837 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15838 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15839 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15840 wxString *arg9 = (wxString *) &arg9_defvalue ;
15841 bool result;
ae8162c8 15842 bool temp4 = false ;
d14a1e28
RD
15843 wxPoint temp5 ;
15844 wxSize temp6 ;
ae8162c8 15845 bool temp9 = false ;
d14a1e28
RD
15846 PyObject * obj0 = 0 ;
15847 PyObject * obj1 = 0 ;
994141e6 15848 PyObject * obj2 = 0 ;
d14a1e28
RD
15849 PyObject * obj3 = 0 ;
15850 PyObject * obj4 = 0 ;
15851 PyObject * obj5 = 0 ;
994141e6 15852 PyObject * obj6 = 0 ;
d14a1e28
RD
15853 PyObject * obj7 = 0 ;
15854 PyObject * obj8 = 0 ;
15855 char *kwnames[] = {
15856 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15857 };
15858
248ed943 15859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
15860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15861 if (SWIG_arg_fail(1)) SWIG_fail;
15862 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15863 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 15864 if (obj2) {
093d3ff1
RD
15865 {
15866 arg3 = (int)(SWIG_As_int(obj2));
15867 if (SWIG_arg_fail(3)) SWIG_fail;
15868 }
248ed943
RD
15869 }
15870 if (obj3) {
15871 {
15872 arg4 = wxString_in_helper(obj3);
15873 if (arg4 == NULL) SWIG_fail;
ae8162c8 15874 temp4 = true;
248ed943 15875 }
d14a1e28
RD
15876 }
15877 if (obj4) {
15878 {
15879 arg5 = &temp5;
15880 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15881 }
15882 }
15883 if (obj5) {
15884 {
15885 arg6 = &temp6;
15886 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15887 }
15888 }
994141e6 15889 if (obj6) {
093d3ff1
RD
15890 {
15891 arg7 = (long)(SWIG_As_long(obj6));
15892 if (SWIG_arg_fail(7)) SWIG_fail;
15893 }
994141e6 15894 }
d14a1e28 15895 if (obj7) {
093d3ff1
RD
15896 {
15897 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15898 if (SWIG_arg_fail(8)) SWIG_fail;
15899 if (arg8 == NULL) {
15900 SWIG_null_ref("wxValidator");
15901 }
15902 if (SWIG_arg_fail(8)) SWIG_fail;
d14a1e28
RD
15903 }
15904 }
15905 if (obj8) {
15906 {
15907 arg9 = wxString_in_helper(obj8);
15908 if (arg9 == NULL) SWIG_fail;
ae8162c8 15909 temp9 = true;
d14a1e28
RD
15910 }
15911 }
15912 {
15913 PyThreadState* __tstate = wxPyBeginAllowThreads();
15914 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15915
15916 wxPyEndAllowThreads(__tstate);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 }
4f89f6a3
RD
15919 {
15920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15921 }
d14a1e28
RD
15922 {
15923 if (temp4)
15924 delete arg4;
15925 }
15926 {
15927 if (temp9)
15928 delete arg9;
15929 }
15930 return resultobj;
15931 fail:
15932 {
15933 if (temp4)
15934 delete arg4;
15935 }
15936 {
15937 if (temp9)
15938 delete arg9;
15939 }
15940 return NULL;
15941}
15942
15943
c32bde28 15944static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15945 PyObject *resultobj;
15946 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15947 bool arg2 ;
15948 PyObject * obj0 = 0 ;
15949 PyObject * obj1 = 0 ;
15950 char *kwnames[] = {
15951 (char *) "self",(char *) "value", NULL
15952 };
15953
15954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15956 if (SWIG_arg_fail(1)) SWIG_fail;
15957 {
15958 arg2 = (bool)(SWIG_As_bool(obj1));
15959 if (SWIG_arg_fail(2)) SWIG_fail;
15960 }
d14a1e28
RD
15961 {
15962 PyThreadState* __tstate = wxPyBeginAllowThreads();
15963 (arg1)->SetValue(arg2);
15964
15965 wxPyEndAllowThreads(__tstate);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 }
15968 Py_INCREF(Py_None); resultobj = Py_None;
15969 return resultobj;
15970 fail:
15971 return NULL;
15972}
15973
15974
c32bde28 15975static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15976 PyObject *resultobj;
15977 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15978 bool result;
15979 PyObject * obj0 = 0 ;
15980 char *kwnames[] = {
15981 (char *) "self", NULL
15982 };
15983
15984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15986 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15987 {
15988 PyThreadState* __tstate = wxPyBeginAllowThreads();
15989 result = (bool)((wxToggleButton const *)arg1)->GetValue();
15990
15991 wxPyEndAllowThreads(__tstate);
15992 if (PyErr_Occurred()) SWIG_fail;
15993 }
4f89f6a3
RD
15994 {
15995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15996 }
d14a1e28
RD
15997 return resultobj;
15998 fail:
15999 return NULL;
16000}
16001
16002
c32bde28 16003static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16004 PyObject *resultobj;
16005 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16006 wxString *arg2 = 0 ;
ae8162c8 16007 bool temp2 = false ;
d14a1e28
RD
16008 PyObject * obj0 = 0 ;
16009 PyObject * obj1 = 0 ;
16010 char *kwnames[] = {
16011 (char *) "self",(char *) "label", NULL
16012 };
16013
16014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16016 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16017 {
16018 arg2 = wxString_in_helper(obj1);
16019 if (arg2 == NULL) SWIG_fail;
ae8162c8 16020 temp2 = true;
d14a1e28
RD
16021 }
16022 {
16023 PyThreadState* __tstate = wxPyBeginAllowThreads();
16024 (arg1)->SetLabel((wxString const &)*arg2);
16025
16026 wxPyEndAllowThreads(__tstate);
16027 if (PyErr_Occurred()) SWIG_fail;
16028 }
16029 Py_INCREF(Py_None); resultobj = Py_None;
16030 {
16031 if (temp2)
16032 delete arg2;
16033 }
16034 return resultobj;
16035 fail:
16036 {
16037 if (temp2)
16038 delete arg2;
16039 }
16040 return NULL;
16041}
16042
16043
c32bde28 16044static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 16045 PyObject *resultobj;
093d3ff1 16046 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
16047 wxVisualAttributes result;
16048 PyObject * obj0 = 0 ;
16049 char *kwnames[] = {
16050 (char *) "variant", NULL
16051 };
16052
16053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16054 if (obj0) {
093d3ff1
RD
16055 {
16056 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16057 if (SWIG_arg_fail(1)) SWIG_fail;
16058 }
22bfe96c
RD
16059 }
16060 {
110da5b0 16061 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16064
16065 wxPyEndAllowThreads(__tstate);
dfbb5885 16066 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
16067 }
16068 {
16069 wxVisualAttributes * resultptr;
093d3ff1 16070 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
16071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16072 }
16073 return resultobj;
16074 fail:
16075 return NULL;
16076}
16077
16078
c32bde28 16079static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16080 PyObject *obj;
16081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16082 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16083 Py_INCREF(obj);
16084 return Py_BuildValue((char *)"");
16085}
51b83b37
RD
16086static int _wrap_NotebookNameStr_set(PyObject *) {
16087 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
b2dc1044
RD
16088 return 1;
16089}
16090
16091
51b83b37 16092static PyObject *_wrap_NotebookNameStr_get(void) {
b2dc1044
RD
16093 PyObject *pyobj;
16094
16095 {
16096#if wxUSE_UNICODE
51b83b37 16097 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
b2dc1044 16098#else
51b83b37 16099 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
b2dc1044
RD
16100#endif
16101 }
16102 return pyobj;
16103}
16104
16105
8ac8dba0 16106static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16107 PyObject *resultobj;
8ac8dba0 16108 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16109 size_t result;
16110 PyObject * obj0 = 0 ;
16111 char *kwnames[] = {
16112 (char *) "self", NULL
16113 };
16114
8ac8dba0 16115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
16116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16117 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16118 {
16119 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16120 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d14a1e28
RD
16121
16122 wxPyEndAllowThreads(__tstate);
16123 if (PyErr_Occurred()) SWIG_fail;
16124 }
093d3ff1
RD
16125 {
16126 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16127 }
d14a1e28
RD
16128 return resultobj;
16129 fail:
16130 return NULL;
16131}
16132
16133
8ac8dba0 16134static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16135 PyObject *resultobj;
8ac8dba0 16136 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16137 size_t arg2 ;
16138 wxWindow *result;
16139 PyObject * obj0 = 0 ;
16140 PyObject * obj1 = 0 ;
16141 char *kwnames[] = {
16142 (char *) "self",(char *) "n", NULL
16143 };
16144
8ac8dba0 16145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16147 if (SWIG_arg_fail(1)) SWIG_fail;
16148 {
16149 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16150 if (SWIG_arg_fail(2)) SWIG_fail;
16151 }
d14a1e28
RD
16152 {
16153 PyThreadState* __tstate = wxPyBeginAllowThreads();
16154 result = (wxWindow *)(arg1)->GetPage(arg2);
16155
16156 wxPyEndAllowThreads(__tstate);
16157 if (PyErr_Occurred()) SWIG_fail;
16158 }
16159 {
412d302d 16160 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16161 }
16162 return resultobj;
16163 fail:
16164 return NULL;
16165}
16166
16167
8ac8dba0 16168static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
8fb0e70a 16169 PyObject *resultobj;
8ac8dba0 16170 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16171 wxWindow *result;
16172 PyObject * obj0 = 0 ;
16173 char *kwnames[] = {
16174 (char *) "self", NULL
16175 };
16176
8ac8dba0 16177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
16178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16179 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16180 {
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16182 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16183
16184 wxPyEndAllowThreads(__tstate);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 }
16187 {
16188 resultobj = wxPyMake_wxObject(result, 0);
16189 }
16190 return resultobj;
16191 fail:
16192 return NULL;
16193}
16194
16195
8ac8dba0 16196static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16197 PyObject *resultobj;
8ac8dba0 16198 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16199 int result;
16200 PyObject * obj0 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self", NULL
16203 };
16204
8ac8dba0 16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16207 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16210 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d14a1e28
RD
16211
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
093d3ff1
RD
16215 {
16216 resultobj = SWIG_From_int((int)(result));
16217 }
d14a1e28
RD
16218 return resultobj;
16219 fail:
16220 return NULL;
16221}
16222
16223
8ac8dba0 16224static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16225 PyObject *resultobj;
8ac8dba0 16226 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16227 size_t arg2 ;
16228 wxString *arg3 = 0 ;
16229 bool result;
ae8162c8 16230 bool temp3 = false ;
d14a1e28
RD
16231 PyObject * obj0 = 0 ;
16232 PyObject * obj1 = 0 ;
16233 PyObject * obj2 = 0 ;
16234 char *kwnames[] = {
16235 (char *) "self",(char *) "n",(char *) "strText", NULL
16236 };
16237
8ac8dba0 16238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16240 if (SWIG_arg_fail(1)) SWIG_fail;
16241 {
16242 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16243 if (SWIG_arg_fail(2)) SWIG_fail;
16244 }
d14a1e28
RD
16245 {
16246 arg3 = wxString_in_helper(obj2);
16247 if (arg3 == NULL) SWIG_fail;
ae8162c8 16248 temp3 = true;
d14a1e28
RD
16249 }
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
4f89f6a3
RD
16257 {
16258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16259 }
d14a1e28
RD
16260 {
16261 if (temp3)
16262 delete arg3;
16263 }
16264 return resultobj;
16265 fail:
16266 {
16267 if (temp3)
16268 delete arg3;
16269 }
16270 return NULL;
16271}
16272
16273
8ac8dba0 16274static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16275 PyObject *resultobj;
8ac8dba0 16276 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16277 size_t arg2 ;
16278 wxString result;
16279 PyObject * obj0 = 0 ;
16280 PyObject * obj1 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "self",(char *) "n", NULL
16283 };
16284
8ac8dba0 16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16287 if (SWIG_arg_fail(1)) SWIG_fail;
16288 {
16289 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16290 if (SWIG_arg_fail(2)) SWIG_fail;
16291 }
d14a1e28
RD
16292 {
16293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16294 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d14a1e28
RD
16295
16296 wxPyEndAllowThreads(__tstate);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 }
16299 {
16300#if wxUSE_UNICODE
16301 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16302#else
16303 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16304#endif
16305 }
16306 return resultobj;
16307 fail:
16308 return NULL;
16309}
16310
16311
8ac8dba0 16312static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16313 PyObject *resultobj;
8ac8dba0 16314 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16315 wxImageList *arg2 = (wxImageList *) 0 ;
16316 PyObject * obj0 = 0 ;
16317 PyObject * obj1 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self",(char *) "imageList", NULL
16320 };
16321
8ac8dba0 16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16324 if (SWIG_arg_fail(1)) SWIG_fail;
16325 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16326 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16327 {
16328 PyThreadState* __tstate = wxPyBeginAllowThreads();
16329 (arg1)->SetImageList(arg2);
16330
16331 wxPyEndAllowThreads(__tstate);
16332 if (PyErr_Occurred()) SWIG_fail;
16333 }
16334 Py_INCREF(Py_None); resultobj = Py_None;
16335 return resultobj;
16336 fail:
16337 return NULL;
16338}
16339
16340
8ac8dba0 16341static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16342 PyObject *resultobj;
8ac8dba0 16343 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16344 wxImageList *arg2 = (wxImageList *) 0 ;
16345 PyObject * obj0 = 0 ;
16346 PyObject * obj1 = 0 ;
16347 char *kwnames[] = {
16348 (char *) "self",(char *) "imageList", NULL
16349 };
16350
8ac8dba0 16351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16353 if (SWIG_arg_fail(1)) SWIG_fail;
16354 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16355 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16356 {
16357 PyThreadState* __tstate = wxPyBeginAllowThreads();
16358 (arg1)->AssignImageList(arg2);
16359
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
16363 Py_INCREF(Py_None); resultobj = Py_None;
16364 return resultobj;
16365 fail:
16366 return NULL;
16367}
16368
16369
8ac8dba0 16370static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16371 PyObject *resultobj;
8ac8dba0 16372 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16373 wxImageList *result;
16374 PyObject * obj0 = 0 ;
16375 char *kwnames[] = {
16376 (char *) "self", NULL
16377 };
16378
8ac8dba0 16379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
16380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16381 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16382 {
16383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16384 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d14a1e28
RD
16385
16386 wxPyEndAllowThreads(__tstate);
16387 if (PyErr_Occurred()) SWIG_fail;
16388 }
16389 {
412d302d 16390 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16391 }
16392 return resultobj;
16393 fail:
16394 return NULL;
16395}
16396
16397
8ac8dba0 16398static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16399 PyObject *resultobj;
8ac8dba0 16400 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16401 size_t arg2 ;
16402 int result;
16403 PyObject * obj0 = 0 ;
16404 PyObject * obj1 = 0 ;
16405 char *kwnames[] = {
16406 (char *) "self",(char *) "n", NULL
16407 };
16408
8ac8dba0 16409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16411 if (SWIG_arg_fail(1)) SWIG_fail;
16412 {
16413 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16414 if (SWIG_arg_fail(2)) SWIG_fail;
16415 }
d14a1e28
RD
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16418 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d14a1e28
RD
16419
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
093d3ff1
RD
16423 {
16424 resultobj = SWIG_From_int((int)(result));
16425 }
d14a1e28
RD
16426 return resultobj;
16427 fail:
16428 return NULL;
16429}
16430
16431
8ac8dba0 16432static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16433 PyObject *resultobj;
8ac8dba0 16434 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16435 size_t arg2 ;
16436 int arg3 ;
16437 bool result;
16438 PyObject * obj0 = 0 ;
16439 PyObject * obj1 = 0 ;
994141e6 16440 PyObject * obj2 = 0 ;
d14a1e28
RD
16441 char *kwnames[] = {
16442 (char *) "self",(char *) "n",(char *) "imageId", NULL
16443 };
16444
8ac8dba0 16445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16447 if (SWIG_arg_fail(1)) SWIG_fail;
16448 {
16449 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16450 if (SWIG_arg_fail(2)) SWIG_fail;
16451 }
16452 {
16453 arg3 = (int)(SWIG_As_int(obj2));
16454 if (SWIG_arg_fail(3)) SWIG_fail;
16455 }
d14a1e28
RD
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
4f89f6a3
RD
16463 {
16464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16465 }
d14a1e28
RD
16466 return resultobj;
16467 fail:
16468 return NULL;
16469}
16470
16471
8ac8dba0 16472static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16473 PyObject *resultobj;
8ac8dba0 16474 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16475 wxSize *arg2 = 0 ;
16476 wxSize temp2 ;
16477 PyObject * obj0 = 0 ;
16478 PyObject * obj1 = 0 ;
16479 char *kwnames[] = {
16480 (char *) "self",(char *) "size", NULL
16481 };
16482
8ac8dba0 16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16485 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16486 {
16487 arg2 = &temp2;
16488 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16489 }
16490 {
16491 PyThreadState* __tstate = wxPyBeginAllowThreads();
16492 (arg1)->SetPageSize((wxSize const &)*arg2);
16493
16494 wxPyEndAllowThreads(__tstate);
16495 if (PyErr_Occurred()) SWIG_fail;
16496 }
16497 Py_INCREF(Py_None); resultobj = Py_None;
16498 return resultobj;
16499 fail:
16500 return NULL;
16501}
16502
16503
8ac8dba0 16504static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16505 PyObject *resultobj;
8ac8dba0 16506 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16507 wxSize *arg2 = 0 ;
16508 wxSize result;
16509 wxSize temp2 ;
16510 PyObject * obj0 = 0 ;
16511 PyObject * obj1 = 0 ;
16512 char *kwnames[] = {
16513 (char *) "self",(char *) "sizePage", NULL
16514 };
16515
8ac8dba0 16516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16518 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16519 {
16520 arg2 = &temp2;
16521 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16522 }
16523 {
16524 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16525 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d14a1e28
RD
16526
16527 wxPyEndAllowThreads(__tstate);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 }
16530 {
16531 wxSize * resultptr;
093d3ff1 16532 resultptr = new wxSize((wxSize &)(result));
15afbcd0 16533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16534 }
16535 return resultobj;
16536 fail:
16537 return NULL;
16538}
16539
16540
8ac8dba0 16541static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16542 PyObject *resultobj;
8ac8dba0 16543 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16544 size_t arg2 ;
16545 bool result;
16546 PyObject * obj0 = 0 ;
16547 PyObject * obj1 = 0 ;
16548 char *kwnames[] = {
16549 (char *) "self",(char *) "n", NULL
16550 };
16551
8ac8dba0 16552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16554 if (SWIG_arg_fail(1)) SWIG_fail;
16555 {
16556 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16557 if (SWIG_arg_fail(2)) SWIG_fail;
16558 }
d14a1e28
RD
16559 {
16560 PyThreadState* __tstate = wxPyBeginAllowThreads();
16561 result = (bool)(arg1)->DeletePage(arg2);
16562
16563 wxPyEndAllowThreads(__tstate);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 }
4f89f6a3
RD
16566 {
16567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16568 }
d14a1e28
RD
16569 return resultobj;
16570 fail:
16571 return NULL;
16572}
16573
16574
8ac8dba0 16575static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16576 PyObject *resultobj;
8ac8dba0 16577 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16578 size_t arg2 ;
16579 bool result;
16580 PyObject * obj0 = 0 ;
16581 PyObject * obj1 = 0 ;
16582 char *kwnames[] = {
16583 (char *) "self",(char *) "n", NULL
16584 };
16585
8ac8dba0 16586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16588 if (SWIG_arg_fail(1)) SWIG_fail;
16589 {
16590 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16591 if (SWIG_arg_fail(2)) SWIG_fail;
16592 }
d14a1e28
RD
16593 {
16594 PyThreadState* __tstate = wxPyBeginAllowThreads();
16595 result = (bool)(arg1)->RemovePage(arg2);
16596
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
4f89f6a3
RD
16600 {
16601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16602 }
d14a1e28
RD
16603 return resultobj;
16604 fail:
16605 return NULL;
16606}
16607
16608
8ac8dba0 16609static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16610 PyObject *resultobj;
8ac8dba0 16611 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16612 bool result;
16613 PyObject * obj0 = 0 ;
16614 char *kwnames[] = {
16615 (char *) "self", NULL
16616 };
16617
8ac8dba0 16618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
16619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16620 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16621 {
16622 PyThreadState* __tstate = wxPyBeginAllowThreads();
16623 result = (bool)(arg1)->DeleteAllPages();
16624
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
4f89f6a3
RD
16628 {
16629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16630 }
d14a1e28
RD
16631 return resultobj;
16632 fail:
16633 return NULL;
16634}
16635
16636
8ac8dba0 16637static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16638 PyObject *resultobj;
8ac8dba0 16639 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16640 wxWindow *arg2 = (wxWindow *) 0 ;
16641 wxString *arg3 = 0 ;
ae8162c8 16642 bool arg4 = (bool) false ;
d14a1e28
RD
16643 int arg5 = (int) -1 ;
16644 bool result;
ae8162c8 16645 bool temp3 = false ;
d14a1e28
RD
16646 PyObject * obj0 = 0 ;
16647 PyObject * obj1 = 0 ;
16648 PyObject * obj2 = 0 ;
16649 PyObject * obj3 = 0 ;
994141e6 16650 PyObject * obj4 = 0 ;
d14a1e28
RD
16651 char *kwnames[] = {
16652 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16653 };
16654
8ac8dba0 16655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16657 if (SWIG_arg_fail(1)) SWIG_fail;
16658 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16659 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16660 {
16661 arg3 = wxString_in_helper(obj2);
16662 if (arg3 == NULL) SWIG_fail;
ae8162c8 16663 temp3 = true;
d14a1e28
RD
16664 }
16665 if (obj3) {
093d3ff1
RD
16666 {
16667 arg4 = (bool)(SWIG_As_bool(obj3));
16668 if (SWIG_arg_fail(4)) SWIG_fail;
16669 }
994141e6
RD
16670 }
16671 if (obj4) {
093d3ff1
RD
16672 {
16673 arg5 = (int)(SWIG_As_int(obj4));
16674 if (SWIG_arg_fail(5)) SWIG_fail;
16675 }
d14a1e28
RD
16676 }
16677 {
16678 PyThreadState* __tstate = wxPyBeginAllowThreads();
16679 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16680
16681 wxPyEndAllowThreads(__tstate);
16682 if (PyErr_Occurred()) SWIG_fail;
16683 }
4f89f6a3
RD
16684 {
16685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16686 }
d14a1e28
RD
16687 {
16688 if (temp3)
16689 delete arg3;
16690 }
16691 return resultobj;
16692 fail:
16693 {
16694 if (temp3)
16695 delete arg3;
16696 }
16697 return NULL;
16698}
16699
16700
8ac8dba0 16701static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16702 PyObject *resultobj;
8ac8dba0 16703 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16704 size_t arg2 ;
16705 wxWindow *arg3 = (wxWindow *) 0 ;
16706 wxString *arg4 = 0 ;
ae8162c8 16707 bool arg5 = (bool) false ;
d14a1e28
RD
16708 int arg6 = (int) -1 ;
16709 bool result;
ae8162c8 16710 bool temp4 = false ;
d14a1e28
RD
16711 PyObject * obj0 = 0 ;
16712 PyObject * obj1 = 0 ;
16713 PyObject * obj2 = 0 ;
16714 PyObject * obj3 = 0 ;
16715 PyObject * obj4 = 0 ;
994141e6 16716 PyObject * obj5 = 0 ;
d14a1e28
RD
16717 char *kwnames[] = {
16718 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16719 };
16720
8ac8dba0 16721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
16722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16723 if (SWIG_arg_fail(1)) SWIG_fail;
16724 {
16725 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16726 if (SWIG_arg_fail(2)) SWIG_fail;
16727 }
16728 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16729 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
16730 {
16731 arg4 = wxString_in_helper(obj3);
16732 if (arg4 == NULL) SWIG_fail;
ae8162c8 16733 temp4 = true;
d14a1e28
RD
16734 }
16735 if (obj4) {
093d3ff1
RD
16736 {
16737 arg5 = (bool)(SWIG_As_bool(obj4));
16738 if (SWIG_arg_fail(5)) SWIG_fail;
16739 }
994141e6
RD
16740 }
16741 if (obj5) {
093d3ff1
RD
16742 {
16743 arg6 = (int)(SWIG_As_int(obj5));
16744 if (SWIG_arg_fail(6)) SWIG_fail;
16745 }
d14a1e28
RD
16746 }
16747 {
16748 PyThreadState* __tstate = wxPyBeginAllowThreads();
16749 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16750
16751 wxPyEndAllowThreads(__tstate);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 }
4f89f6a3
RD
16754 {
16755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16756 }
d14a1e28
RD
16757 {
16758 if (temp4)
16759 delete arg4;
16760 }
16761 return resultobj;
16762 fail:
16763 {
16764 if (temp4)
16765 delete arg4;
16766 }
16767 return NULL;
16768}
16769
16770
8ac8dba0 16771static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16772 PyObject *resultobj;
8ac8dba0 16773 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
16774 size_t arg2 ;
16775 int result;
16776 PyObject * obj0 = 0 ;
16777 PyObject * obj1 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "self",(char *) "n", NULL
16780 };
16781
8ac8dba0 16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16784 if (SWIG_arg_fail(1)) SWIG_fail;
16785 {
16786 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16787 if (SWIG_arg_fail(2)) SWIG_fail;
16788 }
d14a1e28
RD
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 result = (int)(arg1)->SetSelection(arg2);
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
093d3ff1
RD
16796 {
16797 resultobj = SWIG_From_int((int)(result));
16798 }
d14a1e28
RD
16799 return resultobj;
16800 fail:
16801 return NULL;
16802}
16803
16804
8ac8dba0 16805static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16806 PyObject *resultobj;
8ac8dba0 16807 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
ae8162c8 16808 bool arg2 = (bool) true ;
d14a1e28
RD
16809 PyObject * obj0 = 0 ;
16810 PyObject * obj1 = 0 ;
16811 char *kwnames[] = {
16812 (char *) "self",(char *) "forward", NULL
16813 };
16814
8ac8dba0 16815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16817 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 16818 if (obj1) {
093d3ff1
RD
16819 {
16820 arg2 = (bool)(SWIG_As_bool(obj1));
16821 if (SWIG_arg_fail(2)) SWIG_fail;
16822 }
d14a1e28
RD
16823 }
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 (arg1)->AdvanceSelection(arg2);
16827
16828 wxPyEndAllowThreads(__tstate);
16829 if (PyErr_Occurred()) SWIG_fail;
16830 }
16831 Py_INCREF(Py_None); resultobj = Py_None;
16832 return resultobj;
16833 fail:
16834 return NULL;
16835}
16836
16837
8ac8dba0 16838static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 16839 PyObject *resultobj;
093d3ff1 16840 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
16841 wxVisualAttributes result;
16842 PyObject * obj0 = 0 ;
16843 char *kwnames[] = {
16844 (char *) "variant", NULL
16845 };
16846
8ac8dba0 16847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22bfe96c 16848 if (obj0) {
093d3ff1
RD
16849 {
16850 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16851 if (SWIG_arg_fail(1)) SWIG_fail;
16852 }
22bfe96c
RD
16853 }
16854 {
110da5b0 16855 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c 16856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16857 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
22bfe96c
RD
16858
16859 wxPyEndAllowThreads(__tstate);
dfbb5885 16860 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
16861 }
16862 {
16863 wxVisualAttributes * resultptr;
093d3ff1 16864 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
16865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16866 }
16867 return resultobj;
16868 fail:
16869 return NULL;
16870}
16871
16872
8ac8dba0 16873static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16874 PyObject *obj;
16875 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 16876 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d14a1e28
RD
16877 Py_INCREF(obj);
16878 return Py_BuildValue((char *)"");
16879}
8ac8dba0 16880static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16881 PyObject *resultobj;
16882 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16883 int arg2 = (int) 0 ;
16884 int arg3 = (int) -1 ;
16885 int arg4 = (int) -1 ;
8ac8dba0 16886 wxBookCtrlBaseEvent *result;
994141e6
RD
16887 PyObject * obj0 = 0 ;
16888 PyObject * obj1 = 0 ;
16889 PyObject * obj2 = 0 ;
16890 PyObject * obj3 = 0 ;
d14a1e28
RD
16891 char *kwnames[] = {
16892 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16893 };
16894
8ac8dba0 16895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
994141e6 16896 if (obj0) {
093d3ff1
RD
16897 {
16898 arg1 = (wxEventType)(SWIG_As_int(obj0));
16899 if (SWIG_arg_fail(1)) SWIG_fail;
16900 }
994141e6
RD
16901 }
16902 if (obj1) {
093d3ff1
RD
16903 {
16904 arg2 = (int)(SWIG_As_int(obj1));
16905 if (SWIG_arg_fail(2)) SWIG_fail;
16906 }
994141e6
RD
16907 }
16908 if (obj2) {
093d3ff1
RD
16909 {
16910 arg3 = (int)(SWIG_As_int(obj2));
16911 if (SWIG_arg_fail(3)) SWIG_fail;
16912 }
994141e6
RD
16913 }
16914 if (obj3) {
093d3ff1
RD
16915 {
16916 arg4 = (int)(SWIG_As_int(obj3));
16917 if (SWIG_arg_fail(4)) SWIG_fail;
16918 }
994141e6 16919 }
d14a1e28
RD
16920 {
16921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16922 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d14a1e28
RD
16923
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
8ac8dba0 16927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d14a1e28
RD
16928 return resultobj;
16929 fail:
16930 return NULL;
16931}
16932
16933
8ac8dba0 16934static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16935 PyObject *resultobj;
8ac8dba0 16936 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
16937 int result;
16938 PyObject * obj0 = 0 ;
16939 char *kwnames[] = {
16940 (char *) "self", NULL
16941 };
16942
8ac8dba0 16943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16945 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16946 {
16947 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 16948 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d14a1e28
RD
16949
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
093d3ff1
RD
16953 {
16954 resultobj = SWIG_From_int((int)(result));
16955 }
d14a1e28
RD
16956 return resultobj;
16957 fail:
16958 return NULL;
16959}
16960
16961
8ac8dba0 16962static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16963 PyObject *resultobj;
8ac8dba0 16964 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
16965 int arg2 ;
16966 PyObject * obj0 = 0 ;
994141e6 16967 PyObject * obj1 = 0 ;
d14a1e28
RD
16968 char *kwnames[] = {
16969 (char *) "self",(char *) "nSel", NULL
16970 };
16971
8ac8dba0 16972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16974 if (SWIG_arg_fail(1)) SWIG_fail;
16975 {
16976 arg2 = (int)(SWIG_As_int(obj1));
16977 if (SWIG_arg_fail(2)) SWIG_fail;
16978 }
d14a1e28
RD
16979 {
16980 PyThreadState* __tstate = wxPyBeginAllowThreads();
16981 (arg1)->SetSelection(arg2);
16982
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 Py_INCREF(Py_None); resultobj = Py_None;
16987 return resultobj;
16988 fail:
16989 return NULL;
16990}
16991
16992
8ac8dba0 16993static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 16994 PyObject *resultobj;
8ac8dba0 16995 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
16996 int result;
16997 PyObject * obj0 = 0 ;
16998 char *kwnames[] = {
16999 (char *) "self", NULL
17000 };
17001
8ac8dba0 17002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
17003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17004 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17005 {
17006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 17007 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d14a1e28
RD
17008
17009 wxPyEndAllowThreads(__tstate);
17010 if (PyErr_Occurred()) SWIG_fail;
17011 }
093d3ff1
RD
17012 {
17013 resultobj = SWIG_From_int((int)(result));
17014 }
d14a1e28
RD
17015 return resultobj;
17016 fail:
17017 return NULL;
17018}
17019
17020
8ac8dba0 17021static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17022 PyObject *resultobj;
8ac8dba0 17023 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d14a1e28
RD
17024 int arg2 ;
17025 PyObject * obj0 = 0 ;
994141e6 17026 PyObject * obj1 = 0 ;
d14a1e28
RD
17027 char *kwnames[] = {
17028 (char *) "self",(char *) "nOldSel", NULL
17029 };
17030
8ac8dba0 17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17033 if (SWIG_arg_fail(1)) SWIG_fail;
17034 {
17035 arg2 = (int)(SWIG_As_int(obj1));
17036 if (SWIG_arg_fail(2)) SWIG_fail;
17037 }
d14a1e28
RD
17038 {
17039 PyThreadState* __tstate = wxPyBeginAllowThreads();
17040 (arg1)->SetOldSelection(arg2);
17041
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 Py_INCREF(Py_None); resultobj = Py_None;
17046 return resultobj;
17047 fail:
17048 return NULL;
17049}
17050
17051
8ac8dba0 17052static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17053 PyObject *obj;
17054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8ac8dba0 17055 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d14a1e28
RD
17056 Py_INCREF(obj);
17057 return Py_BuildValue((char *)"");
17058}
c32bde28 17059static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17060 PyObject *resultobj;
17061 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 17062 int arg2 = (int) -1 ;
d14a1e28
RD
17063 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17064 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17065 wxSize const &arg4_defvalue = wxDefaultSize ;
17066 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17067 long arg5 = (long) 0 ;
51b83b37 17068 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d14a1e28
RD
17069 wxString *arg6 = (wxString *) &arg6_defvalue ;
17070 wxNotebook *result;
17071 wxPoint temp3 ;
17072 wxSize temp4 ;
ae8162c8 17073 bool temp6 = false ;
d14a1e28 17074 PyObject * obj0 = 0 ;
994141e6 17075 PyObject * obj1 = 0 ;
d14a1e28
RD
17076 PyObject * obj2 = 0 ;
17077 PyObject * obj3 = 0 ;
994141e6 17078 PyObject * obj4 = 0 ;
d14a1e28
RD
17079 PyObject * obj5 = 0 ;
17080 char *kwnames[] = {
17081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17082 };
17083
4f89f6a3 17084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3 17087 if (obj1) {
093d3ff1
RD
17088 {
17089 arg2 = (int)(SWIG_As_int(obj1));
17090 if (SWIG_arg_fail(2)) SWIG_fail;
17091 }
4f89f6a3 17092 }
d14a1e28
RD
17093 if (obj2) {
17094 {
17095 arg3 = &temp3;
17096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17097 }
17098 }
17099 if (obj3) {
17100 {
17101 arg4 = &temp4;
17102 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17103 }
17104 }
994141e6 17105 if (obj4) {
093d3ff1
RD
17106 {
17107 arg5 = (long)(SWIG_As_long(obj4));
17108 if (SWIG_arg_fail(5)) SWIG_fail;
17109 }
994141e6 17110 }
d14a1e28
RD
17111 if (obj5) {
17112 {
17113 arg6 = wxString_in_helper(obj5);
17114 if (arg6 == NULL) SWIG_fail;
ae8162c8 17115 temp6 = true;
d14a1e28
RD
17116 }
17117 }
17118 {
e3b71cb8 17119 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17120 PyThreadState* __tstate = wxPyBeginAllowThreads();
17121 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17122
17123 wxPyEndAllowThreads(__tstate);
110da5b0 17124 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17125 }
b0f7404b 17126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d14a1e28
RD
17127 {
17128 if (temp6)
17129 delete arg6;
17130 }
17131 return resultobj;
17132 fail:
17133 {
17134 if (temp6)
17135 delete arg6;
17136 }
17137 return NULL;
17138}
17139
17140
c32bde28 17141static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17142 PyObject *resultobj;
17143 wxNotebook *result;
17144 char *kwnames[] = {
17145 NULL
17146 };
17147
17148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17149 {
e3b71cb8 17150 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17151 PyThreadState* __tstate = wxPyBeginAllowThreads();
17152 result = (wxNotebook *)new wxNotebook();
17153
17154 wxPyEndAllowThreads(__tstate);
110da5b0 17155 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17156 }
b0f7404b 17157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d14a1e28
RD
17158 return resultobj;
17159 fail:
17160 return NULL;
17161}
17162
17163
c32bde28 17164static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17165 PyObject *resultobj;
17166 wxNotebook *arg1 = (wxNotebook *) 0 ;
17167 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17168 int arg3 = (int) -1 ;
d14a1e28
RD
17169 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17170 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17171 wxSize const &arg5_defvalue = wxDefaultSize ;
17172 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17173 long arg6 = (long) 0 ;
51b83b37 17174 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d14a1e28
RD
17175 wxString *arg7 = (wxString *) &arg7_defvalue ;
17176 bool result;
17177 wxPoint temp4 ;
17178 wxSize temp5 ;
ae8162c8 17179 bool temp7 = false ;
d14a1e28
RD
17180 PyObject * obj0 = 0 ;
17181 PyObject * obj1 = 0 ;
994141e6 17182 PyObject * obj2 = 0 ;
d14a1e28
RD
17183 PyObject * obj3 = 0 ;
17184 PyObject * obj4 = 0 ;
994141e6 17185 PyObject * obj5 = 0 ;
d14a1e28
RD
17186 PyObject * obj6 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17189 };
17190
248ed943 17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17193 if (SWIG_arg_fail(1)) SWIG_fail;
17194 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17195 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17196 if (obj2) {
093d3ff1
RD
17197 {
17198 arg3 = (int)(SWIG_As_int(obj2));
17199 if (SWIG_arg_fail(3)) SWIG_fail;
17200 }
248ed943 17201 }
d14a1e28
RD
17202 if (obj3) {
17203 {
17204 arg4 = &temp4;
17205 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17206 }
17207 }
17208 if (obj4) {
17209 {
17210 arg5 = &temp5;
17211 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17212 }
17213 }
994141e6 17214 if (obj5) {
093d3ff1
RD
17215 {
17216 arg6 = (long)(SWIG_As_long(obj5));
17217 if (SWIG_arg_fail(6)) SWIG_fail;
17218 }
994141e6 17219 }
d14a1e28
RD
17220 if (obj6) {
17221 {
17222 arg7 = wxString_in_helper(obj6);
17223 if (arg7 == NULL) SWIG_fail;
ae8162c8 17224 temp7 = true;
d14a1e28
RD
17225 }
17226 }
17227 {
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17230
17231 wxPyEndAllowThreads(__tstate);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
4f89f6a3
RD
17234 {
17235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17236 }
d14a1e28
RD
17237 {
17238 if (temp7)
17239 delete arg7;
17240 }
17241 return resultobj;
17242 fail:
17243 {
17244 if (temp7)
17245 delete arg7;
17246 }
17247 return NULL;
17248}
17249
17250
c32bde28 17251static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17252 PyObject *resultobj;
17253 wxNotebook *arg1 = (wxNotebook *) 0 ;
17254 int result;
17255 PyObject * obj0 = 0 ;
17256 char *kwnames[] = {
17257 (char *) "self", NULL
17258 };
17259
17260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
17261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17262 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
093d3ff1
RD
17270 {
17271 resultobj = SWIG_From_int((int)(result));
17272 }
d14a1e28
RD
17273 return resultobj;
17274 fail:
17275 return NULL;
17276}
17277
17278
c32bde28 17279static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17280 PyObject *resultobj;
17281 wxNotebook *arg1 = (wxNotebook *) 0 ;
17282 wxSize *arg2 = 0 ;
17283 wxSize temp2 ;
17284 PyObject * obj0 = 0 ;
17285 PyObject * obj1 = 0 ;
17286 char *kwnames[] = {
17287 (char *) "self",(char *) "padding", NULL
17288 };
17289
17290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17292 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17293 {
17294 arg2 = &temp2;
17295 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17296 }
17297 {
17298 PyThreadState* __tstate = wxPyBeginAllowThreads();
17299 (arg1)->SetPadding((wxSize const &)*arg2);
17300
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
17304 Py_INCREF(Py_None); resultobj = Py_None;
17305 return resultobj;
17306 fail:
17307 return NULL;
17308}
17309
17310
c32bde28 17311static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17312 PyObject *resultobj;
17313 wxNotebook *arg1 = (wxNotebook *) 0 ;
17314 wxSize *arg2 = 0 ;
17315 wxSize temp2 ;
17316 PyObject * obj0 = 0 ;
17317 PyObject * obj1 = 0 ;
17318 char *kwnames[] = {
17319 (char *) "self",(char *) "sz", NULL
17320 };
17321
17322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17324 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17325 {
17326 arg2 = &temp2;
17327 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17328 }
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 (arg1)->SetTabSize((wxSize const &)*arg2);
17332
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 Py_INCREF(Py_None); resultobj = Py_None;
17337 return resultobj;
17338 fail:
17339 return NULL;
17340}
17341
17342
c32bde28 17343static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17344 PyObject *resultobj;
17345 wxNotebook *arg1 = (wxNotebook *) 0 ;
17346 wxPoint *arg2 = 0 ;
17347 long *arg3 = (long *) 0 ;
17348 int result;
17349 wxPoint temp2 ;
17350 long temp3 ;
c32bde28 17351 int res3 = 0 ;
d14a1e28
RD
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 char *kwnames[] = {
17355 (char *) "self",(char *) "pt", NULL
17356 };
17357
c32bde28 17358 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 17359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17362 {
17363 arg2 = &temp2;
17364 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17365 }
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
093d3ff1
RD
17373 {
17374 resultobj = SWIG_From_int((int)(result));
17375 }
c32bde28
RD
17376 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17377 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
17378 return resultobj;
17379 fail:
17380 return NULL;
17381}
17382
17383
c32bde28 17384static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17385 PyObject *resultobj;
17386 wxNotebook *arg1 = (wxNotebook *) 0 ;
17387 wxSize *arg2 = 0 ;
17388 wxSize result;
17389 wxSize temp2 ;
17390 PyObject * obj0 = 0 ;
17391 PyObject * obj1 = 0 ;
17392 char *kwnames[] = {
17393 (char *) "self",(char *) "sizePage", NULL
17394 };
17395
17396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17398 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17399 {
17400 arg2 = &temp2;
17401 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17402 }
17403 {
17404 PyThreadState* __tstate = wxPyBeginAllowThreads();
17405 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17406
17407 wxPyEndAllowThreads(__tstate);
17408 if (PyErr_Occurred()) SWIG_fail;
17409 }
17410 {
17411 wxSize * resultptr;
093d3ff1 17412 resultptr = new wxSize((wxSize &)(result));
15afbcd0 17413 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17414 }
17415 return resultobj;
17416 fail:
17417 return NULL;
17418}
17419
17420
8e738329
RD
17421static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17422 PyObject *resultobj;
17423 wxNotebook *arg1 = (wxNotebook *) 0 ;
17424 wxColour result;
17425 PyObject * obj0 = 0 ;
17426 char *kwnames[] = {
17427 (char *) "self", NULL
17428 };
17429
17430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17432 if (SWIG_arg_fail(1)) SWIG_fail;
17433 {
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
17435 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17436
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 {
17441 wxColour * resultptr;
17442 resultptr = new wxColour((wxColour &)(result));
17443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17444 }
17445 return resultobj;
17446 fail:
17447 return NULL;
17448}
17449
17450
c32bde28 17451static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 17452 PyObject *resultobj;
093d3ff1 17453 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
17454 wxVisualAttributes result;
17455 PyObject * obj0 = 0 ;
17456 char *kwnames[] = {
17457 (char *) "variant", NULL
17458 };
17459
17460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17461 if (obj0) {
093d3ff1
RD
17462 {
17463 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17464 if (SWIG_arg_fail(1)) SWIG_fail;
17465 }
22bfe96c
RD
17466 }
17467 {
110da5b0 17468 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
17469 PyThreadState* __tstate = wxPyBeginAllowThreads();
17470 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17471
17472 wxPyEndAllowThreads(__tstate);
dfbb5885 17473 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
17474 }
17475 {
17476 wxVisualAttributes * resultptr;
093d3ff1 17477 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
17478 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17479 }
17480 return resultobj;
17481 fail:
17482 return NULL;
17483}
17484
17485
c32bde28 17486static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17487 PyObject *obj;
17488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17489 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17490 Py_INCREF(obj);
17491 return Py_BuildValue((char *)"");
17492}
c32bde28 17493static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17494 PyObject *resultobj;
17495 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17496 int arg2 = (int) 0 ;
17497 int arg3 = (int) -1 ;
17498 int arg4 = (int) -1 ;
17499 wxNotebookEvent *result;
994141e6
RD
17500 PyObject * obj0 = 0 ;
17501 PyObject * obj1 = 0 ;
17502 PyObject * obj2 = 0 ;
17503 PyObject * obj3 = 0 ;
d14a1e28
RD
17504 char *kwnames[] = {
17505 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17506 };
17507
994141e6
RD
17508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17509 if (obj0) {
093d3ff1
RD
17510 {
17511 arg1 = (wxEventType)(SWIG_As_int(obj0));
17512 if (SWIG_arg_fail(1)) SWIG_fail;
17513 }
994141e6
RD
17514 }
17515 if (obj1) {
093d3ff1
RD
17516 {
17517 arg2 = (int)(SWIG_As_int(obj1));
17518 if (SWIG_arg_fail(2)) SWIG_fail;
17519 }
994141e6
RD
17520 }
17521 if (obj2) {
093d3ff1
RD
17522 {
17523 arg3 = (int)(SWIG_As_int(obj2));
17524 if (SWIG_arg_fail(3)) SWIG_fail;
17525 }
994141e6
RD
17526 }
17527 if (obj3) {
093d3ff1
RD
17528 {
17529 arg4 = (int)(SWIG_As_int(obj3));
17530 if (SWIG_arg_fail(4)) SWIG_fail;
17531 }
994141e6 17532 }
d14a1e28
RD
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17536
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
15afbcd0 17540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
d14a1e28
RD
17541 return resultobj;
17542 fail:
17543 return NULL;
17544}
17545
17546
c32bde28 17547static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17548 PyObject *obj;
17549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17550 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17551 Py_INCREF(obj);
17552 return Py_BuildValue((char *)"");
17553}
c32bde28 17554static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17555 PyObject *resultobj;
17556 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 17557 int arg2 = (int) -1 ;
d14a1e28
RD
17558 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17559 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17560 wxSize const &arg4_defvalue = wxDefaultSize ;
17561 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17562 long arg5 = (long) 0 ;
17563 wxString const &arg6_defvalue = wxPyEmptyString ;
17564 wxString *arg6 = (wxString *) &arg6_defvalue ;
17565 wxListbook *result;
17566 wxPoint temp3 ;
17567 wxSize temp4 ;
ae8162c8 17568 bool temp6 = false ;
d14a1e28 17569 PyObject * obj0 = 0 ;
994141e6 17570 PyObject * obj1 = 0 ;
d14a1e28
RD
17571 PyObject * obj2 = 0 ;
17572 PyObject * obj3 = 0 ;
994141e6 17573 PyObject * obj4 = 0 ;
d14a1e28
RD
17574 PyObject * obj5 = 0 ;
17575 char *kwnames[] = {
17576 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17577 };
17578
4f89f6a3 17579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17581 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3 17582 if (obj1) {
093d3ff1
RD
17583 {
17584 arg2 = (int)(SWIG_As_int(obj1));
17585 if (SWIG_arg_fail(2)) SWIG_fail;
17586 }
4f89f6a3 17587 }
d14a1e28
RD
17588 if (obj2) {
17589 {
17590 arg3 = &temp3;
17591 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17592 }
17593 }
17594 if (obj3) {
17595 {
17596 arg4 = &temp4;
17597 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17598 }
17599 }
994141e6 17600 if (obj4) {
093d3ff1
RD
17601 {
17602 arg5 = (long)(SWIG_As_long(obj4));
17603 if (SWIG_arg_fail(5)) SWIG_fail;
17604 }
994141e6 17605 }
d14a1e28
RD
17606 if (obj5) {
17607 {
17608 arg6 = wxString_in_helper(obj5);
17609 if (arg6 == NULL) SWIG_fail;
ae8162c8 17610 temp6 = true;
d14a1e28
RD
17611 }
17612 }
17613 {
e3b71cb8 17614 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17617
17618 wxPyEndAllowThreads(__tstate);
110da5b0 17619 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17620 }
15afbcd0 17621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
17622 {
17623 if (temp6)
17624 delete arg6;
17625 }
17626 return resultobj;
17627 fail:
17628 {
17629 if (temp6)
17630 delete arg6;
17631 }
17632 return NULL;
17633}
17634
17635
c32bde28 17636static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17637 PyObject *resultobj;
17638 wxListbook *result;
17639 char *kwnames[] = {
17640 NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17644 {
e3b71cb8 17645 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17646 PyThreadState* __tstate = wxPyBeginAllowThreads();
17647 result = (wxListbook *)new wxListbook();
17648
17649 wxPyEndAllowThreads(__tstate);
110da5b0 17650 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17651 }
15afbcd0 17652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
17653 return resultobj;
17654 fail:
17655 return NULL;
17656}
17657
17658
c32bde28 17659static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17660 PyObject *resultobj;
17661 wxListbook *arg1 = (wxListbook *) 0 ;
17662 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 17663 int arg3 = (int) -1 ;
d14a1e28
RD
17664 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17665 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17666 wxSize const &arg5_defvalue = wxDefaultSize ;
17667 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17668 long arg6 = (long) 0 ;
17669 wxString const &arg7_defvalue = wxPyEmptyString ;
17670 wxString *arg7 = (wxString *) &arg7_defvalue ;
17671 bool result;
17672 wxPoint temp4 ;
17673 wxSize temp5 ;
ae8162c8 17674 bool temp7 = false ;
d14a1e28
RD
17675 PyObject * obj0 = 0 ;
17676 PyObject * obj1 = 0 ;
994141e6 17677 PyObject * obj2 = 0 ;
d14a1e28
RD
17678 PyObject * obj3 = 0 ;
17679 PyObject * obj4 = 0 ;
994141e6 17680 PyObject * obj5 = 0 ;
d14a1e28
RD
17681 PyObject * obj6 = 0 ;
17682 char *kwnames[] = {
17683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17684 };
17685
248ed943 17686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17688 if (SWIG_arg_fail(1)) SWIG_fail;
17689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17690 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17691 if (obj2) {
093d3ff1
RD
17692 {
17693 arg3 = (int)(SWIG_As_int(obj2));
17694 if (SWIG_arg_fail(3)) SWIG_fail;
17695 }
248ed943 17696 }
d14a1e28
RD
17697 if (obj3) {
17698 {
17699 arg4 = &temp4;
17700 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17701 }
17702 }
17703 if (obj4) {
17704 {
17705 arg5 = &temp5;
17706 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17707 }
17708 }
994141e6 17709 if (obj5) {
093d3ff1
RD
17710 {
17711 arg6 = (long)(SWIG_As_long(obj5));
17712 if (SWIG_arg_fail(6)) SWIG_fail;
17713 }
994141e6 17714 }
d14a1e28
RD
17715 if (obj6) {
17716 {
17717 arg7 = wxString_in_helper(obj6);
17718 if (arg7 == NULL) SWIG_fail;
ae8162c8 17719 temp7 = true;
d14a1e28
RD
17720 }
17721 }
17722 {
17723 PyThreadState* __tstate = wxPyBeginAllowThreads();
17724 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17725
17726 wxPyEndAllowThreads(__tstate);
17727 if (PyErr_Occurred()) SWIG_fail;
17728 }
4f89f6a3
RD
17729 {
17730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17731 }
d14a1e28
RD
17732 {
17733 if (temp7)
17734 delete arg7;
17735 }
17736 return resultobj;
17737 fail:
17738 {
17739 if (temp7)
17740 delete arg7;
17741 }
17742 return NULL;
17743}
17744
17745
c32bde28 17746static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17747 PyObject *resultobj;
17748 wxListbook *arg1 = (wxListbook *) 0 ;
17749 bool result;
17750 PyObject * obj0 = 0 ;
17751 char *kwnames[] = {
17752 (char *) "self", NULL
17753 };
17754
17755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
17756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17757 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17758 {
17759 PyThreadState* __tstate = wxPyBeginAllowThreads();
17760 result = (bool)((wxListbook const *)arg1)->IsVertical();
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
4f89f6a3
RD
17765 {
17766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17767 }
d14a1e28
RD
17768 return resultobj;
17769 fail:
17770 return NULL;
17771}
17772
17773
1fbf26be
RD
17774static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17775 PyObject *resultobj;
17776 wxListbook *arg1 = (wxListbook *) 0 ;
17777 wxListView *result;
17778 PyObject * obj0 = 0 ;
17779 char *kwnames[] = {
17780 (char *) "self", NULL
17781 };
17782
17783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
093d3ff1
RD
17784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17785 if (SWIG_arg_fail(1)) SWIG_fail;
1fbf26be
RD
17786 {
17787 PyThreadState* __tstate = wxPyBeginAllowThreads();
17788 result = (wxListView *)(arg1)->GetListView();
17789
17790 wxPyEndAllowThreads(__tstate);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17794 return resultobj;
17795 fail:
17796 return NULL;
17797}
17798
17799
c32bde28 17800static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17801 PyObject *obj;
17802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17803 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17804 Py_INCREF(obj);
17805 return Py_BuildValue((char *)"");
17806}
c32bde28 17807static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17808 PyObject *resultobj;
17809 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17810 int arg2 = (int) 0 ;
17811 int arg3 = (int) -1 ;
17812 int arg4 = (int) -1 ;
17813 wxListbookEvent *result;
994141e6
RD
17814 PyObject * obj0 = 0 ;
17815 PyObject * obj1 = 0 ;
17816 PyObject * obj2 = 0 ;
17817 PyObject * obj3 = 0 ;
d14a1e28
RD
17818 char *kwnames[] = {
17819 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17820 };
17821
994141e6
RD
17822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17823 if (obj0) {
093d3ff1
RD
17824 {
17825 arg1 = (wxEventType)(SWIG_As_int(obj0));
17826 if (SWIG_arg_fail(1)) SWIG_fail;
17827 }
994141e6
RD
17828 }
17829 if (obj1) {
093d3ff1
RD
17830 {
17831 arg2 = (int)(SWIG_As_int(obj1));
17832 if (SWIG_arg_fail(2)) SWIG_fail;
17833 }
994141e6
RD
17834 }
17835 if (obj2) {
093d3ff1
RD
17836 {
17837 arg3 = (int)(SWIG_As_int(obj2));
17838 if (SWIG_arg_fail(3)) SWIG_fail;
17839 }
994141e6
RD
17840 }
17841 if (obj3) {
093d3ff1
RD
17842 {
17843 arg4 = (int)(SWIG_As_int(obj3));
17844 if (SWIG_arg_fail(4)) SWIG_fail;
17845 }
994141e6 17846 }
d14a1e28
RD
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
15afbcd0 17854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
d14a1e28
RD
17855 return resultobj;
17856 fail:
17857 return NULL;
17858}
17859
17860
c32bde28 17861static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17862 PyObject *obj;
17863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17864 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17865 Py_INCREF(obj);
17866 return Py_BuildValue((char *)"");
17867}
2ef75293
RD
17868static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17869 PyObject *resultobj;
17870 wxWindow *arg1 = (wxWindow *) 0 ;
17871 int arg2 ;
17872 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17873 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17874 wxSize const &arg4_defvalue = wxDefaultSize ;
17875 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17876 long arg5 = (long) 0 ;
17877 wxString const &arg6_defvalue = wxPyEmptyString ;
17878 wxString *arg6 = (wxString *) &arg6_defvalue ;
17879 wxChoicebook *result;
17880 wxPoint temp3 ;
17881 wxSize temp4 ;
ae8162c8 17882 bool temp6 = false ;
2ef75293
RD
17883 PyObject * obj0 = 0 ;
17884 PyObject * obj1 = 0 ;
17885 PyObject * obj2 = 0 ;
17886 PyObject * obj3 = 0 ;
17887 PyObject * obj4 = 0 ;
17888 PyObject * obj5 = 0 ;
17889 char *kwnames[] = {
17890 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17891 };
17892
17893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17895 if (SWIG_arg_fail(1)) SWIG_fail;
17896 {
17897 arg2 = (int)(SWIG_As_int(obj1));
17898 if (SWIG_arg_fail(2)) SWIG_fail;
17899 }
2ef75293
RD
17900 if (obj2) {
17901 {
17902 arg3 = &temp3;
17903 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17904 }
17905 }
17906 if (obj3) {
17907 {
17908 arg4 = &temp4;
17909 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17910 }
17911 }
17912 if (obj4) {
093d3ff1
RD
17913 {
17914 arg5 = (long)(SWIG_As_long(obj4));
17915 if (SWIG_arg_fail(5)) SWIG_fail;
17916 }
2ef75293
RD
17917 }
17918 if (obj5) {
17919 {
17920 arg6 = wxString_in_helper(obj5);
17921 if (arg6 == NULL) SWIG_fail;
ae8162c8 17922 temp6 = true;
2ef75293
RD
17923 }
17924 }
17925 {
17926 if (!wxPyCheckForApp()) SWIG_fail;
17927 PyThreadState* __tstate = wxPyBeginAllowThreads();
17928 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17929
17930 wxPyEndAllowThreads(__tstate);
17931 if (PyErr_Occurred()) SWIG_fail;
17932 }
17933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17934 {
17935 if (temp6)
17936 delete arg6;
17937 }
17938 return resultobj;
17939 fail:
17940 {
17941 if (temp6)
17942 delete arg6;
17943 }
17944 return NULL;
17945}
17946
17947
17948static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxChoicebook *result;
17951 char *kwnames[] = {
17952 NULL
17953 };
17954
17955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17956 {
17957 if (!wxPyCheckForApp()) SWIG_fail;
17958 PyThreadState* __tstate = wxPyBeginAllowThreads();
17959 result = (wxChoicebook *)new wxChoicebook();
17960
17961 wxPyEndAllowThreads(__tstate);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17965 return resultobj;
17966 fail:
17967 return NULL;
17968}
17969
17970
17971static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17972 PyObject *resultobj;
17973 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17974 wxWindow *arg2 = (wxWindow *) 0 ;
17975 int arg3 ;
17976 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17977 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17978 wxSize const &arg5_defvalue = wxDefaultSize ;
17979 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17980 long arg6 = (long) 0 ;
17981 wxString const &arg7_defvalue = wxPyEmptyString ;
17982 wxString *arg7 = (wxString *) &arg7_defvalue ;
17983 bool result;
17984 wxPoint temp4 ;
17985 wxSize temp5 ;
ae8162c8 17986 bool temp7 = false ;
2ef75293
RD
17987 PyObject * obj0 = 0 ;
17988 PyObject * obj1 = 0 ;
17989 PyObject * obj2 = 0 ;
17990 PyObject * obj3 = 0 ;
17991 PyObject * obj4 = 0 ;
17992 PyObject * obj5 = 0 ;
17993 PyObject * obj6 = 0 ;
17994 char *kwnames[] = {
17995 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18000 if (SWIG_arg_fail(1)) SWIG_fail;
18001 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18002 if (SWIG_arg_fail(2)) SWIG_fail;
18003 {
18004 arg3 = (int)(SWIG_As_int(obj2));
18005 if (SWIG_arg_fail(3)) SWIG_fail;
18006 }
2ef75293
RD
18007 if (obj3) {
18008 {
18009 arg4 = &temp4;
18010 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18011 }
18012 }
18013 if (obj4) {
18014 {
18015 arg5 = &temp5;
18016 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18017 }
18018 }
18019 if (obj5) {
093d3ff1
RD
18020 {
18021 arg6 = (long)(SWIG_As_long(obj5));
18022 if (SWIG_arg_fail(6)) SWIG_fail;
18023 }
2ef75293
RD
18024 }
18025 if (obj6) {
18026 {
18027 arg7 = wxString_in_helper(obj6);
18028 if (arg7 == NULL) SWIG_fail;
ae8162c8 18029 temp7 = true;
2ef75293
RD
18030 }
18031 }
18032 {
18033 PyThreadState* __tstate = wxPyBeginAllowThreads();
18034 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18035
18036 wxPyEndAllowThreads(__tstate);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 }
18039 {
18040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18041 }
18042 {
18043 if (temp7)
18044 delete arg7;
18045 }
18046 return resultobj;
18047 fail:
18048 {
18049 if (temp7)
18050 delete arg7;
18051 }
18052 return NULL;
18053}
18054
18055
18056static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18057 PyObject *resultobj;
18058 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18059 bool result;
18060 PyObject * obj0 = 0 ;
18061 char *kwnames[] = {
18062 (char *) "self", NULL
18063 };
18064
18065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
18066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18067 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
18068 {
18069 PyThreadState* __tstate = wxPyBeginAllowThreads();
18070 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18071
18072 wxPyEndAllowThreads(__tstate);
18073 if (PyErr_Occurred()) SWIG_fail;
18074 }
18075 {
18076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18077 }
18078 return resultobj;
18079 fail:
18080 return NULL;
18081}
18082
18083
70b7a5fe
RD
18084static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18085 PyObject *resultobj;
18086 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18087 wxChoice *result;
18088 PyObject * obj0 = 0 ;
18089 char *kwnames[] = {
18090 (char *) "self", NULL
18091 };
18092
18093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18095 if (SWIG_arg_fail(1)) SWIG_fail;
18096 {
18097 PyThreadState* __tstate = wxPyBeginAllowThreads();
18098 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18099
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18104 return resultobj;
18105 fail:
18106 return NULL;
18107}
18108
18109
2ef75293
RD
18110static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18111 PyObject *resultobj;
18112 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18113 bool result;
18114 PyObject * obj0 = 0 ;
18115 char *kwnames[] = {
18116 (char *) "self", NULL
18117 };
18118
18119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
18120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18121 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 result = (bool)(arg1)->DeleteAllPages();
18125
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 {
18130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18131 }
18132 return resultobj;
18133 fail:
18134 return NULL;
18135}
18136
18137
18138static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18139 PyObject *obj;
18140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18141 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18142 Py_INCREF(obj);
18143 return Py_BuildValue((char *)"");
18144}
18145static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18146 PyObject *resultobj;
18147 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18148 int arg2 = (int) 0 ;
18149 int arg3 = (int) -1 ;
18150 int arg4 = (int) -1 ;
18151 wxChoicebookEvent *result;
18152 PyObject * obj0 = 0 ;
18153 PyObject * obj1 = 0 ;
18154 PyObject * obj2 = 0 ;
18155 PyObject * obj3 = 0 ;
18156 char *kwnames[] = {
18157 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18158 };
18159
18160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18161 if (obj0) {
093d3ff1
RD
18162 {
18163 arg1 = (wxEventType)(SWIG_As_int(obj0));
18164 if (SWIG_arg_fail(1)) SWIG_fail;
18165 }
2ef75293
RD
18166 }
18167 if (obj1) {
093d3ff1
RD
18168 {
18169 arg2 = (int)(SWIG_As_int(obj1));
18170 if (SWIG_arg_fail(2)) SWIG_fail;
18171 }
2ef75293
RD
18172 }
18173 if (obj2) {
093d3ff1
RD
18174 {
18175 arg3 = (int)(SWIG_As_int(obj2));
18176 if (SWIG_arg_fail(3)) SWIG_fail;
18177 }
2ef75293
RD
18178 }
18179 if (obj3) {
093d3ff1
RD
18180 {
18181 arg4 = (int)(SWIG_As_int(obj3));
18182 if (SWIG_arg_fail(4)) SWIG_fail;
18183 }
2ef75293
RD
18184 }
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18193 return resultobj;
18194 fail:
18195 return NULL;
18196}
18197
18198
18199static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18200 PyObject *obj;
18201 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18202 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18203 Py_INCREF(obj);
18204 return Py_BuildValue((char *)"");
18205}
c32bde28 18206static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18207 PyObject *resultobj;
8ac8dba0 18208 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d14a1e28
RD
18209 wxBookCtrlSizer *result;
18210 PyObject * obj0 = 0 ;
18211 char *kwnames[] = {
18212 (char *) "nb", NULL
18213 };
18214
18215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
18216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18217 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18218 {
18219 PyThreadState* __tstate = wxPyBeginAllowThreads();
18220 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18221
18222 wxPyEndAllowThreads(__tstate);
18223 if (PyErr_Occurred()) SWIG_fail;
18224 }
15afbcd0 18225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
d14a1e28
RD
18226 return resultobj;
18227 fail:
18228 return NULL;
18229}
18230
18231
c32bde28 18232static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18233 PyObject *resultobj;
18234 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18235 PyObject * obj0 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18243 {
18244 PyThreadState* __tstate = wxPyBeginAllowThreads();
18245 (arg1)->RecalcSizes();
18246
18247 wxPyEndAllowThreads(__tstate);
18248 if (PyErr_Occurred()) SWIG_fail;
18249 }
18250 Py_INCREF(Py_None); resultobj = Py_None;
18251 return resultobj;
18252 fail:
18253 return NULL;
18254}
18255
18256
c32bde28 18257static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18258 PyObject *resultobj;
18259 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18260 wxSize result;
18261 PyObject * obj0 = 0 ;
18262 char *kwnames[] = {
18263 (char *) "self", NULL
18264 };
18265
18266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
18267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18268 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18269 {
18270 PyThreadState* __tstate = wxPyBeginAllowThreads();
18271 result = (arg1)->CalcMin();
18272
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 {
18277 wxSize * resultptr;
093d3ff1 18278 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18279 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18280 }
18281 return resultobj;
18282 fail:
18283 return NULL;
18284}
18285
18286
c32bde28 18287static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18288 PyObject *resultobj;
18289 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
8ac8dba0 18290 wxBookCtrlBase *result;
d14a1e28
RD
18291 PyObject * obj0 = 0 ;
18292 char *kwnames[] = {
18293 (char *) "self", NULL
18294 };
18295
18296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18298 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18299 {
18300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8ac8dba0 18301 result = (wxBookCtrlBase *)(arg1)->GetControl();
d14a1e28
RD
18302
18303 wxPyEndAllowThreads(__tstate);
18304 if (PyErr_Occurred()) SWIG_fail;
18305 }
8ac8dba0 18306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
d14a1e28
RD
18307 return resultobj;
18308 fail:
18309 return NULL;
18310}
18311
18312
c32bde28 18313static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18314 PyObject *obj;
18315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18316 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18317 Py_INCREF(obj);
18318 return Py_BuildValue((char *)"");
18319}
c32bde28 18320static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18321 PyObject *resultobj;
18322 wxNotebook *arg1 = (wxNotebook *) 0 ;
18323 wxNotebookSizer *result;
18324 PyObject * obj0 = 0 ;
18325 char *kwnames[] = {
18326 (char *) "nb", NULL
18327 };
18328
18329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
18330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
15afbcd0 18339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
d14a1e28
RD
18340 return resultobj;
18341 fail:
18342 return NULL;
18343}
18344
18345
c32bde28 18346static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18347 PyObject *resultobj;
18348 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18349 PyObject * obj0 = 0 ;
18350 char *kwnames[] = {
18351 (char *) "self", NULL
18352 };
18353
18354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18356 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18357 {
18358 PyThreadState* __tstate = wxPyBeginAllowThreads();
18359 (arg1)->RecalcSizes();
18360
18361 wxPyEndAllowThreads(__tstate);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 Py_INCREF(Py_None); resultobj = Py_None;
18365 return resultobj;
18366 fail:
18367 return NULL;
18368}
18369
18370
c32bde28 18371static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18372 PyObject *resultobj;
18373 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18374 wxSize result;
18375 PyObject * obj0 = 0 ;
18376 char *kwnames[] = {
18377 (char *) "self", NULL
18378 };
18379
18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
18381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18382 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18383 {
18384 PyThreadState* __tstate = wxPyBeginAllowThreads();
18385 result = (arg1)->CalcMin();
18386
18387 wxPyEndAllowThreads(__tstate);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 {
18391 wxSize * resultptr;
093d3ff1 18392 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18393 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18394 }
18395 return resultobj;
18396 fail:
18397 return NULL;
18398}
18399
18400
c32bde28 18401static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18402 PyObject *resultobj;
18403 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18404 wxNotebook *result;
18405 PyObject * obj0 = 0 ;
18406 char *kwnames[] = {
18407 (char *) "self", NULL
18408 };
18409
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
093d3ff1
RD
18411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18412 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 result = (wxNotebook *)(arg1)->GetNotebook();
18416
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 {
412d302d 18421 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18422 }
18423 return resultobj;
18424 fail:
18425 return NULL;
18426}
18427
18428
c32bde28 18429static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18430 PyObject *obj;
18431 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18432 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18433 Py_INCREF(obj);
18434 return Py_BuildValue((char *)"");
18435}
c32bde28 18436static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18437 PyObject *resultobj;
18438 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18439 int result;
18440 PyObject * obj0 = 0 ;
18441 char *kwnames[] = {
18442 (char *) "self", NULL
18443 };
18444
18445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
18446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18447 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = (int)(arg1)->GetId();
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
093d3ff1
RD
18455 {
18456 resultobj = SWIG_From_int((int)(result));
18457 }
d14a1e28
RD
18458 return resultobj;
18459 fail:
18460 return NULL;
18461}
18462
18463
c32bde28 18464static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18465 PyObject *resultobj;
18466 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18467 wxControl *result;
18468 PyObject * obj0 = 0 ;
18469 char *kwnames[] = {
18470 (char *) "self", NULL
18471 };
18472
18473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18475 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (wxControl *)(arg1)->GetControl();
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 {
412d302d 18484 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18485 }
18486 return resultobj;
18487 fail:
18488 return NULL;
18489}
18490
18491
c32bde28 18492static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18493 PyObject *resultobj;
18494 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18495 wxToolBarBase *result;
18496 PyObject * obj0 = 0 ;
18497 char *kwnames[] = {
18498 (char *) "self", NULL
18499 };
18500
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
18502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18503 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 result = (wxToolBarBase *)(arg1)->GetToolBar();
18507
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 {
412d302d 18512 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18513 }
18514 return resultobj;
18515 fail:
18516 return NULL;
18517}
18518
18519
c32bde28 18520static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18521 PyObject *resultobj;
18522 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18523 int result;
18524 PyObject * obj0 = 0 ;
18525 char *kwnames[] = {
18526 (char *) "self", NULL
18527 };
18528
18529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
18530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18531 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18532 {
18533 PyThreadState* __tstate = wxPyBeginAllowThreads();
18534 result = (int)(arg1)->IsButton();
18535
18536 wxPyEndAllowThreads(__tstate);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 }
093d3ff1
RD
18539 {
18540 resultobj = SWIG_From_int((int)(result));
18541 }
d14a1e28
RD
18542 return resultobj;
18543 fail:
18544 return NULL;
18545}
18546
18547
c32bde28 18548static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18549 PyObject *resultobj;
18550 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18551 int result;
18552 PyObject * obj0 = 0 ;
18553 char *kwnames[] = {
18554 (char *) "self", NULL
18555 };
18556
18557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
18558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18559 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18560 {
18561 PyThreadState* __tstate = wxPyBeginAllowThreads();
18562 result = (int)(arg1)->IsControl();
18563
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
093d3ff1
RD
18567 {
18568 resultobj = SWIG_From_int((int)(result));
18569 }
d14a1e28
RD
18570 return resultobj;
18571 fail:
18572 return NULL;
18573}
18574
18575
c32bde28 18576static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18577 PyObject *resultobj;
18578 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18579 int result;
18580 PyObject * obj0 = 0 ;
18581 char *kwnames[] = {
18582 (char *) "self", NULL
18583 };
18584
18585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
18586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18587 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 result = (int)(arg1)->IsSeparator();
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
093d3ff1
RD
18595 {
18596 resultobj = SWIG_From_int((int)(result));
18597 }
d14a1e28
RD
18598 return resultobj;
18599 fail:
18600 return NULL;
18601}
18602
18603
c32bde28 18604static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18605 PyObject *resultobj;
18606 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18607 int result;
18608 PyObject * obj0 = 0 ;
18609 char *kwnames[] = {
18610 (char *) "self", NULL
18611 };
18612
18613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18615 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18616 {
18617 PyThreadState* __tstate = wxPyBeginAllowThreads();
18618 result = (int)(arg1)->GetStyle();
18619
18620 wxPyEndAllowThreads(__tstate);
18621 if (PyErr_Occurred()) SWIG_fail;
18622 }
093d3ff1
RD
18623 {
18624 resultobj = SWIG_From_int((int)(result));
18625 }
d14a1e28
RD
18626 return resultobj;
18627 fail:
18628 return NULL;
18629}
18630
18631
c32bde28 18632static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18633 PyObject *resultobj;
18634 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
093d3ff1 18635 wxItemKind result;
d14a1e28
RD
18636 PyObject * obj0 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
093d3ff1
RD
18642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18643 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18646 result = (wxItemKind)(arg1)->GetKind();
d14a1e28
RD
18647
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
093d3ff1 18651 resultobj = SWIG_From_int((result));
d14a1e28
RD
18652 return resultobj;
18653 fail:
18654 return NULL;
18655}
18656
18657
c32bde28 18658static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18659 PyObject *resultobj;
18660 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18661 bool result;
18662 PyObject * obj0 = 0 ;
18663 char *kwnames[] = {
18664 (char *) "self", NULL
18665 };
18666
18667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18669 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18670 {
18671 PyThreadState* __tstate = wxPyBeginAllowThreads();
18672 result = (bool)(arg1)->IsEnabled();
18673
18674 wxPyEndAllowThreads(__tstate);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
4f89f6a3
RD
18677 {
18678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18679 }
d14a1e28
RD
18680 return resultobj;
18681 fail:
18682 return NULL;
18683}
18684
18685
c32bde28 18686static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18687 PyObject *resultobj;
18688 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18689 bool result;
18690 PyObject * obj0 = 0 ;
18691 char *kwnames[] = {
18692 (char *) "self", NULL
18693 };
18694
18695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18697 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18698 {
18699 PyThreadState* __tstate = wxPyBeginAllowThreads();
18700 result = (bool)(arg1)->IsToggled();
18701
18702 wxPyEndAllowThreads(__tstate);
18703 if (PyErr_Occurred()) SWIG_fail;
18704 }
4f89f6a3
RD
18705 {
18706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18707 }
d14a1e28
RD
18708 return resultobj;
18709 fail:
18710 return NULL;
18711}
18712
18713
c32bde28 18714static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18715 PyObject *resultobj;
18716 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18717 bool result;
18718 PyObject * obj0 = 0 ;
18719 char *kwnames[] = {
18720 (char *) "self", NULL
18721 };
18722
18723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
093d3ff1
RD
18724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18725 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18726 {
18727 PyThreadState* __tstate = wxPyBeginAllowThreads();
18728 result = (bool)(arg1)->CanBeToggled();
18729
18730 wxPyEndAllowThreads(__tstate);
18731 if (PyErr_Occurred()) SWIG_fail;
18732 }
4f89f6a3
RD
18733 {
18734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18735 }
d14a1e28
RD
18736 return resultobj;
18737 fail:
18738 return NULL;
18739}
18740
18741
c32bde28 18742static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18743 PyObject *resultobj;
18744 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18745 wxBitmap *result;
18746 PyObject * obj0 = 0 ;
18747 char *kwnames[] = {
18748 (char *) "self", NULL
18749 };
18750
18751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18753 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18754 {
18755 PyThreadState* __tstate = wxPyBeginAllowThreads();
18756 {
18757 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18758 result = (wxBitmap *) &_result_ref;
18759 }
18760
18761 wxPyEndAllowThreads(__tstate);
18762 if (PyErr_Occurred()) SWIG_fail;
18763 }
4276dc52
RD
18764 {
18765 wxBitmap* resultptr = new wxBitmap(*result);
18766 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18767 }
d14a1e28
RD
18768 return resultobj;
18769 fail:
18770 return NULL;
18771}
18772
18773
c32bde28 18774static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18775 PyObject *resultobj;
18776 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18777 wxBitmap *result;
18778 PyObject * obj0 = 0 ;
18779 char *kwnames[] = {
18780 (char *) "self", NULL
18781 };
18782
18783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18785 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18786 {
18787 PyThreadState* __tstate = wxPyBeginAllowThreads();
18788 {
18789 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18790 result = (wxBitmap *) &_result_ref;
18791 }
18792
18793 wxPyEndAllowThreads(__tstate);
18794 if (PyErr_Occurred()) SWIG_fail;
18795 }
4276dc52
RD
18796 {
18797 wxBitmap* resultptr = new wxBitmap(*result);
18798 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18799 }
d14a1e28
RD
18800 return resultobj;
18801 fail:
18802 return NULL;
18803}
18804
18805
c32bde28 18806static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18807 PyObject *resultobj;
18808 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18809 wxBitmap result;
18810 PyObject * obj0 = 0 ;
18811 char *kwnames[] = {
18812 (char *) "self", NULL
18813 };
18814
18815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
18816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18817 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18818 {
18819 PyThreadState* __tstate = wxPyBeginAllowThreads();
18820 result = (arg1)->GetBitmap();
18821
18822 wxPyEndAllowThreads(__tstate);
18823 if (PyErr_Occurred()) SWIG_fail;
18824 }
18825 {
18826 wxBitmap * resultptr;
093d3ff1 18827 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 18828 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
18829 }
18830 return resultobj;
18831 fail:
18832 return NULL;
18833}
18834
18835
c32bde28 18836static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18837 PyObject *resultobj;
18838 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18839 wxString result;
18840 PyObject * obj0 = 0 ;
18841 char *kwnames[] = {
18842 (char *) "self", NULL
18843 };
18844
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
18846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18847 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18848 {
18849 PyThreadState* __tstate = wxPyBeginAllowThreads();
18850 result = (arg1)->GetLabel();
18851
18852 wxPyEndAllowThreads(__tstate);
18853 if (PyErr_Occurred()) SWIG_fail;
18854 }
18855 {
18856#if wxUSE_UNICODE
18857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18858#else
18859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18860#endif
18861 }
18862 return resultobj;
18863 fail:
18864 return NULL;
18865}
18866
18867
c32bde28 18868static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18869 PyObject *resultobj;
18870 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18871 wxString result;
18872 PyObject * obj0 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
18878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18879 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 result = (arg1)->GetShortHelp();
18883
18884 wxPyEndAllowThreads(__tstate);
18885 if (PyErr_Occurred()) SWIG_fail;
18886 }
18887 {
18888#if wxUSE_UNICODE
18889 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18890#else
18891 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18892#endif
18893 }
18894 return resultobj;
18895 fail:
18896 return NULL;
18897}
18898
18899
c32bde28 18900static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18901 PyObject *resultobj;
18902 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18903 wxString result;
18904 PyObject * obj0 = 0 ;
18905 char *kwnames[] = {
18906 (char *) "self", NULL
18907 };
18908
18909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
18910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18911 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18912 {
18913 PyThreadState* __tstate = wxPyBeginAllowThreads();
18914 result = (arg1)->GetLongHelp();
18915
18916 wxPyEndAllowThreads(__tstate);
18917 if (PyErr_Occurred()) SWIG_fail;
18918 }
18919 {
18920#if wxUSE_UNICODE
18921 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18922#else
18923 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18924#endif
18925 }
18926 return resultobj;
18927 fail:
18928 return NULL;
18929}
18930
18931
c32bde28 18932static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18933 PyObject *resultobj;
18934 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18935 bool arg2 ;
18936 bool result;
18937 PyObject * obj0 = 0 ;
18938 PyObject * obj1 = 0 ;
18939 char *kwnames[] = {
18940 (char *) "self",(char *) "enable", NULL
18941 };
18942
18943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail;
18946 {
18947 arg2 = (bool)(SWIG_As_bool(obj1));
18948 if (SWIG_arg_fail(2)) SWIG_fail;
18949 }
d14a1e28
RD
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 result = (bool)(arg1)->Enable(arg2);
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
4f89f6a3
RD
18957 {
18958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18959 }
d14a1e28
RD
18960 return resultobj;
18961 fail:
18962 return NULL;
18963}
18964
18965
c32bde28 18966static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18967 PyObject *resultobj;
18968 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18969 PyObject * obj0 = 0 ;
18970 char *kwnames[] = {
18971 (char *) "self", NULL
18972 };
18973
18974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18976 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18977 {
18978 PyThreadState* __tstate = wxPyBeginAllowThreads();
18979 (arg1)->Toggle();
18980
18981 wxPyEndAllowThreads(__tstate);
18982 if (PyErr_Occurred()) SWIG_fail;
18983 }
18984 Py_INCREF(Py_None); resultobj = Py_None;
18985 return resultobj;
18986 fail:
18987 return NULL;
18988}
18989
18990
c32bde28 18991static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18992 PyObject *resultobj;
18993 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18994 bool arg2 ;
18995 bool result;
18996 PyObject * obj0 = 0 ;
18997 PyObject * obj1 = 0 ;
18998 char *kwnames[] = {
18999 (char *) "self",(char *) "toggle", NULL
19000 };
19001
19002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19004 if (SWIG_arg_fail(1)) SWIG_fail;
19005 {
19006 arg2 = (bool)(SWIG_As_bool(obj1));
19007 if (SWIG_arg_fail(2)) SWIG_fail;
19008 }
d14a1e28
RD
19009 {
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 result = (bool)(arg1)->SetToggle(arg2);
19012
19013 wxPyEndAllowThreads(__tstate);
19014 if (PyErr_Occurred()) SWIG_fail;
19015 }
4f89f6a3
RD
19016 {
19017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19018 }
d14a1e28
RD
19019 return resultobj;
19020 fail:
19021 return NULL;
19022}
19023
19024
c32bde28 19025static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19026 PyObject *resultobj;
19027 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19028 wxString *arg2 = 0 ;
19029 bool result;
ae8162c8 19030 bool temp2 = false ;
d14a1e28
RD
19031 PyObject * obj0 = 0 ;
19032 PyObject * obj1 = 0 ;
19033 char *kwnames[] = {
19034 (char *) "self",(char *) "help", NULL
19035 };
19036
19037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19039 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19040 {
19041 arg2 = wxString_in_helper(obj1);
19042 if (arg2 == NULL) SWIG_fail;
ae8162c8 19043 temp2 = true;
d14a1e28
RD
19044 }
19045 {
19046 PyThreadState* __tstate = wxPyBeginAllowThreads();
19047 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19048
19049 wxPyEndAllowThreads(__tstate);
19050 if (PyErr_Occurred()) SWIG_fail;
19051 }
4f89f6a3
RD
19052 {
19053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19054 }
d14a1e28
RD
19055 {
19056 if (temp2)
19057 delete arg2;
19058 }
19059 return resultobj;
19060 fail:
19061 {
19062 if (temp2)
19063 delete arg2;
19064 }
19065 return NULL;
19066}
19067
19068
c32bde28 19069static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19070 PyObject *resultobj;
19071 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19072 wxString *arg2 = 0 ;
19073 bool result;
ae8162c8 19074 bool temp2 = false ;
d14a1e28
RD
19075 PyObject * obj0 = 0 ;
19076 PyObject * obj1 = 0 ;
19077 char *kwnames[] = {
19078 (char *) "self",(char *) "help", NULL
19079 };
19080
19081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19083 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19084 {
19085 arg2 = wxString_in_helper(obj1);
19086 if (arg2 == NULL) SWIG_fail;
ae8162c8 19087 temp2 = true;
d14a1e28
RD
19088 }
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19092
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
4f89f6a3
RD
19096 {
19097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19098 }
d14a1e28
RD
19099 {
19100 if (temp2)
19101 delete arg2;
19102 }
19103 return resultobj;
19104 fail:
19105 {
19106 if (temp2)
19107 delete arg2;
19108 }
19109 return NULL;
19110}
19111
19112
c32bde28 19113static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19114 PyObject *resultobj;
19115 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19116 wxBitmap *arg2 = 0 ;
19117 PyObject * obj0 = 0 ;
19118 PyObject * obj1 = 0 ;
19119 char *kwnames[] = {
19120 (char *) "self",(char *) "bmp", NULL
19121 };
19122
19123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19125 if (SWIG_arg_fail(1)) SWIG_fail;
19126 {
19127 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19128 if (SWIG_arg_fail(2)) SWIG_fail;
19129 if (arg2 == NULL) {
19130 SWIG_null_ref("wxBitmap");
19131 }
19132 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19133 }
19134 {
19135 PyThreadState* __tstate = wxPyBeginAllowThreads();
19136 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19137
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
19141 Py_INCREF(Py_None); resultobj = Py_None;
19142 return resultobj;
19143 fail:
19144 return NULL;
19145}
19146
19147
c32bde28 19148static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19149 PyObject *resultobj;
19150 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19151 wxBitmap *arg2 = 0 ;
19152 PyObject * obj0 = 0 ;
19153 PyObject * obj1 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "self",(char *) "bmp", NULL
19156 };
19157
19158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19160 if (SWIG_arg_fail(1)) SWIG_fail;
19161 {
19162 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19163 if (SWIG_arg_fail(2)) SWIG_fail;
19164 if (arg2 == NULL) {
19165 SWIG_null_ref("wxBitmap");
19166 }
19167 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19168 }
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 Py_INCREF(Py_None); resultobj = Py_None;
19177 return resultobj;
19178 fail:
19179 return NULL;
19180}
19181
19182
c32bde28 19183static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19184 PyObject *resultobj;
19185 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19186 wxString *arg2 = 0 ;
ae8162c8 19187 bool temp2 = false ;
d14a1e28
RD
19188 PyObject * obj0 = 0 ;
19189 PyObject * obj1 = 0 ;
19190 char *kwnames[] = {
19191 (char *) "self",(char *) "label", NULL
19192 };
19193
19194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19196 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19197 {
19198 arg2 = wxString_in_helper(obj1);
19199 if (arg2 == NULL) SWIG_fail;
ae8162c8 19200 temp2 = true;
d14a1e28
RD
19201 }
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 (arg1)->SetLabel((wxString const &)*arg2);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 Py_INCREF(Py_None); resultobj = Py_None;
19210 {
19211 if (temp2)
19212 delete arg2;
19213 }
19214 return resultobj;
19215 fail:
19216 {
19217 if (temp2)
19218 delete arg2;
19219 }
19220 return NULL;
19221}
19222
19223
c32bde28 19224static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19225 PyObject *resultobj;
19226 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19227 PyObject * obj0 = 0 ;
19228 char *kwnames[] = {
19229 (char *) "self", NULL
19230 };
19231
19232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
19233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19234 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19235 {
19236 PyThreadState* __tstate = wxPyBeginAllowThreads();
19237 (arg1)->Detach();
19238
19239 wxPyEndAllowThreads(__tstate);
19240 if (PyErr_Occurred()) SWIG_fail;
19241 }
19242 Py_INCREF(Py_None); resultobj = Py_None;
19243 return resultobj;
19244 fail:
19245 return NULL;
19246}
19247
19248
c32bde28 19249static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19250 PyObject *resultobj;
19251 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19252 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19253 PyObject * obj0 = 0 ;
19254 PyObject * obj1 = 0 ;
19255 char *kwnames[] = {
19256 (char *) "self",(char *) "tbar", NULL
19257 };
19258
19259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19261 if (SWIG_arg_fail(1)) SWIG_fail;
19262 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19263 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 (arg1)->Attach(arg2);
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 Py_INCREF(Py_None); resultobj = Py_None;
19272 return resultobj;
19273 fail:
19274 return NULL;
19275}
19276
19277
c32bde28 19278static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19279 PyObject *resultobj;
19280 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19281 PyObject *result;
19282 PyObject * obj0 = 0 ;
19283 char *kwnames[] = {
19284 (char *) "self", NULL
19285 };
19286
19287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
093d3ff1
RD
19288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19289 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19290 {
19291 PyThreadState* __tstate = wxPyBeginAllowThreads();
19292 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19293
19294 wxPyEndAllowThreads(__tstate);
19295 if (PyErr_Occurred()) SWIG_fail;
19296 }
19297 resultobj = result;
19298 return resultobj;
19299 fail:
19300 return NULL;
19301}
19302
19303
c32bde28 19304static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19305 PyObject *resultobj;
19306 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19307 PyObject *arg2 = (PyObject *) 0 ;
19308 PyObject * obj0 = 0 ;
19309 PyObject * obj1 = 0 ;
19310 char *kwnames[] = {
19311 (char *) "self",(char *) "clientData", NULL
19312 };
19313
19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19316 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19317 arg2 = obj1;
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 wxToolBarToolBase_SetClientData(arg1,arg2);
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 Py_INCREF(Py_None); resultobj = Py_None;
19326 return resultobj;
19327 fail:
19328 return NULL;
19329}
19330
19331
c32bde28 19332static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19333 PyObject *obj;
19334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19335 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19336 Py_INCREF(obj);
19337 return Py_BuildValue((char *)"");
19338}
c32bde28 19339static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19340 PyObject *resultobj;
19341 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19342 int arg2 ;
19343 wxString *arg3 = 0 ;
19344 wxBitmap *arg4 = 0 ;
19345 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19346 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
093d3ff1 19347 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d14a1e28
RD
19348 wxString const &arg7_defvalue = wxPyEmptyString ;
19349 wxString *arg7 = (wxString *) &arg7_defvalue ;
19350 wxString const &arg8_defvalue = wxPyEmptyString ;
19351 wxString *arg8 = (wxString *) &arg8_defvalue ;
19352 PyObject *arg9 = (PyObject *) NULL ;
19353 wxToolBarToolBase *result;
ae8162c8
RD
19354 bool temp3 = false ;
19355 bool temp7 = false ;
19356 bool temp8 = false ;
d14a1e28 19357 PyObject * obj0 = 0 ;
994141e6 19358 PyObject * obj1 = 0 ;
d14a1e28
RD
19359 PyObject * obj2 = 0 ;
19360 PyObject * obj3 = 0 ;
19361 PyObject * obj4 = 0 ;
994141e6 19362 PyObject * obj5 = 0 ;
d14a1e28
RD
19363 PyObject * obj6 = 0 ;
19364 PyObject * obj7 = 0 ;
19365 PyObject * obj8 = 0 ;
19366 char *kwnames[] = {
19367 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19368 };
19369
994141e6 19370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
19371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19372 if (SWIG_arg_fail(1)) SWIG_fail;
19373 {
19374 arg2 = (int)(SWIG_As_int(obj1));
19375 if (SWIG_arg_fail(2)) SWIG_fail;
19376 }
d14a1e28
RD
19377 {
19378 arg3 = wxString_in_helper(obj2);
19379 if (arg3 == NULL) SWIG_fail;
ae8162c8 19380 temp3 = true;
d14a1e28 19381 }
093d3ff1
RD
19382 {
19383 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19384 if (SWIG_arg_fail(4)) SWIG_fail;
19385 if (arg4 == NULL) {
19386 SWIG_null_ref("wxBitmap");
19387 }
19388 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
19389 }
19390 if (obj4) {
093d3ff1
RD
19391 {
19392 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19393 if (SWIG_arg_fail(5)) SWIG_fail;
19394 if (arg5 == NULL) {
19395 SWIG_null_ref("wxBitmap");
19396 }
19397 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
19398 }
19399 }
994141e6 19400 if (obj5) {
093d3ff1
RD
19401 {
19402 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19403 if (SWIG_arg_fail(6)) SWIG_fail;
19404 }
994141e6 19405 }
d14a1e28
RD
19406 if (obj6) {
19407 {
19408 arg7 = wxString_in_helper(obj6);
19409 if (arg7 == NULL) SWIG_fail;
ae8162c8 19410 temp7 = true;
d14a1e28
RD
19411 }
19412 }
19413 if (obj7) {
19414 {
19415 arg8 = wxString_in_helper(obj7);
19416 if (arg8 == NULL) SWIG_fail;
ae8162c8 19417 temp8 = true;
d14a1e28
RD
19418 }
19419 }
19420 if (obj8) {
19421 arg9 = obj8;
19422 }
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19426
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 {
412d302d 19431 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19432 }
19433 {
19434 if (temp3)
19435 delete arg3;
19436 }
19437 {
19438 if (temp7)
19439 delete arg7;
19440 }
19441 {
19442 if (temp8)
19443 delete arg8;
19444 }
19445 return resultobj;
19446 fail:
19447 {
19448 if (temp3)
19449 delete arg3;
19450 }
19451 {
19452 if (temp7)
19453 delete arg7;
19454 }
19455 {
19456 if (temp8)
19457 delete arg8;
19458 }
19459 return NULL;
19460}
19461
19462
c32bde28 19463static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19464 PyObject *resultobj;
19465 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19466 size_t arg2 ;
19467 int arg3 ;
19468 wxString *arg4 = 0 ;
19469 wxBitmap *arg5 = 0 ;
19470 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19471 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
093d3ff1 19472 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d14a1e28
RD
19473 wxString const &arg8_defvalue = wxPyEmptyString ;
19474 wxString *arg8 = (wxString *) &arg8_defvalue ;
19475 wxString const &arg9_defvalue = wxPyEmptyString ;
19476 wxString *arg9 = (wxString *) &arg9_defvalue ;
19477 PyObject *arg10 = (PyObject *) NULL ;
19478 wxToolBarToolBase *result;
ae8162c8
RD
19479 bool temp4 = false ;
19480 bool temp8 = false ;
19481 bool temp9 = false ;
d14a1e28
RD
19482 PyObject * obj0 = 0 ;
19483 PyObject * obj1 = 0 ;
994141e6 19484 PyObject * obj2 = 0 ;
d14a1e28
RD
19485 PyObject * obj3 = 0 ;
19486 PyObject * obj4 = 0 ;
19487 PyObject * obj5 = 0 ;
994141e6 19488 PyObject * obj6 = 0 ;
d14a1e28
RD
19489 PyObject * obj7 = 0 ;
19490 PyObject * obj8 = 0 ;
19491 PyObject * obj9 = 0 ;
19492 char *kwnames[] = {
19493 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19494 };
19495
994141e6 19496 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
19497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19498 if (SWIG_arg_fail(1)) SWIG_fail;
19499 {
19500 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19501 if (SWIG_arg_fail(2)) SWIG_fail;
19502 }
19503 {
19504 arg3 = (int)(SWIG_As_int(obj2));
19505 if (SWIG_arg_fail(3)) SWIG_fail;
19506 }
d14a1e28
RD
19507 {
19508 arg4 = wxString_in_helper(obj3);
19509 if (arg4 == NULL) SWIG_fail;
ae8162c8 19510 temp4 = true;
d14a1e28 19511 }
093d3ff1
RD
19512 {
19513 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19514 if (SWIG_arg_fail(5)) SWIG_fail;
19515 if (arg5 == NULL) {
19516 SWIG_null_ref("wxBitmap");
19517 }
19518 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
19519 }
19520 if (obj5) {
093d3ff1
RD
19521 {
19522 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19523 if (SWIG_arg_fail(6)) SWIG_fail;
19524 if (arg6 == NULL) {
19525 SWIG_null_ref("wxBitmap");
19526 }
19527 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
19528 }
19529 }
994141e6 19530 if (obj6) {
093d3ff1
RD
19531 {
19532 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19533 if (SWIG_arg_fail(7)) SWIG_fail;
19534 }
994141e6 19535 }
d14a1e28
RD
19536 if (obj7) {
19537 {
19538 arg8 = wxString_in_helper(obj7);
19539 if (arg8 == NULL) SWIG_fail;
ae8162c8 19540 temp8 = true;
d14a1e28
RD
19541 }
19542 }
19543 if (obj8) {
19544 {
19545 arg9 = wxString_in_helper(obj8);
19546 if (arg9 == NULL) SWIG_fail;
ae8162c8 19547 temp9 = true;
d14a1e28
RD
19548 }
19549 }
19550 if (obj9) {
19551 arg10 = obj9;
19552 }
19553 {
19554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19555 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);
19556
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 {
412d302d 19561 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19562 }
19563 {
19564 if (temp4)
19565 delete arg4;
19566 }
19567 {
19568 if (temp8)
19569 delete arg8;
19570 }
19571 {
19572 if (temp9)
19573 delete arg9;
19574 }
19575 return resultobj;
19576 fail:
19577 {
19578 if (temp4)
19579 delete arg4;
19580 }
19581 {
19582 if (temp8)
19583 delete arg8;
19584 }
19585 {
19586 if (temp9)
19587 delete arg9;
19588 }
19589 return NULL;
19590}
19591
19592
c32bde28 19593static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
3a04f143
RD
19594 PyObject *resultobj;
19595 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19596 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19597 wxToolBarToolBase *result;
19598 PyObject * obj0 = 0 ;
19599 PyObject * obj1 = 0 ;
19600 char *kwnames[] = {
19601 (char *) "self",(char *) "tool", NULL
19602 };
19603
19604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19606 if (SWIG_arg_fail(1)) SWIG_fail;
19607 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19608 if (SWIG_arg_fail(2)) SWIG_fail;
3a04f143
RD
19609 {
19610 PyThreadState* __tstate = wxPyBeginAllowThreads();
19611 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19612
19613 wxPyEndAllowThreads(__tstate);
19614 if (PyErr_Occurred()) SWIG_fail;
19615 }
19616 {
412d302d 19617 resultobj = wxPyMake_wxObject(result, 0);
3a04f143
RD
19618 }
19619 return resultobj;
19620 fail:
19621 return NULL;
19622}
19623
19624
c32bde28 19625static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
3a04f143
RD
19626 PyObject *resultobj;
19627 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19628 size_t arg2 ;
19629 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19630 wxToolBarToolBase *result;
19631 PyObject * obj0 = 0 ;
19632 PyObject * obj1 = 0 ;
19633 PyObject * obj2 = 0 ;
19634 char *kwnames[] = {
19635 (char *) "self",(char *) "pos",(char *) "tool", NULL
19636 };
19637
19638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19640 if (SWIG_arg_fail(1)) SWIG_fail;
19641 {
19642 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19643 if (SWIG_arg_fail(2)) SWIG_fail;
19644 }
19645 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19646 if (SWIG_arg_fail(3)) SWIG_fail;
3a04f143
RD
19647 {
19648 PyThreadState* __tstate = wxPyBeginAllowThreads();
19649 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19650
19651 wxPyEndAllowThreads(__tstate);
19652 if (PyErr_Occurred()) SWIG_fail;
19653 }
19654 {
412d302d 19655 resultobj = wxPyMake_wxObject(result, 0);
3a04f143
RD
19656 }
19657 return resultobj;
19658 fail:
19659 return NULL;
19660}
19661
19662
c32bde28 19663static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19664 PyObject *resultobj;
19665 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19666 wxControl *arg2 = (wxControl *) 0 ;
19667 wxToolBarToolBase *result;
19668 PyObject * obj0 = 0 ;
19669 PyObject * obj1 = 0 ;
19670 char *kwnames[] = {
19671 (char *) "self",(char *) "control", NULL
19672 };
19673
19674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19676 if (SWIG_arg_fail(1)) SWIG_fail;
19677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19678 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 {
412d302d 19687 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19688 }
19689 return resultobj;
19690 fail:
19691 return NULL;
19692}
19693
19694
c32bde28 19695static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19696 PyObject *resultobj;
19697 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19698 size_t arg2 ;
19699 wxControl *arg3 = (wxControl *) 0 ;
19700 wxToolBarToolBase *result;
19701 PyObject * obj0 = 0 ;
19702 PyObject * obj1 = 0 ;
19703 PyObject * obj2 = 0 ;
19704 char *kwnames[] = {
19705 (char *) "self",(char *) "pos",(char *) "control", NULL
19706 };
19707
19708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19710 if (SWIG_arg_fail(1)) SWIG_fail;
19711 {
19712 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19713 if (SWIG_arg_fail(2)) SWIG_fail;
19714 }
19715 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19716 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
19717 {
19718 PyThreadState* __tstate = wxPyBeginAllowThreads();
19719 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19720
19721 wxPyEndAllowThreads(__tstate);
19722 if (PyErr_Occurred()) SWIG_fail;
19723 }
19724 {
412d302d 19725 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19726 }
19727 return resultobj;
19728 fail:
19729 return NULL;
19730}
19731
19732
c32bde28 19733static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19734 PyObject *resultobj;
19735 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19736 int arg2 ;
19737 wxControl *result;
19738 PyObject * obj0 = 0 ;
994141e6 19739 PyObject * obj1 = 0 ;
d14a1e28
RD
19740 char *kwnames[] = {
19741 (char *) "self",(char *) "id", NULL
19742 };
19743
994141e6 19744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19746 if (SWIG_arg_fail(1)) SWIG_fail;
19747 {
19748 arg2 = (int)(SWIG_As_int(obj1));
19749 if (SWIG_arg_fail(2)) SWIG_fail;
19750 }
d14a1e28
RD
19751 {
19752 PyThreadState* __tstate = wxPyBeginAllowThreads();
19753 result = (wxControl *)(arg1)->FindControl(arg2);
19754
19755 wxPyEndAllowThreads(__tstate);
19756 if (PyErr_Occurred()) SWIG_fail;
19757 }
19758 {
412d302d 19759 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19760 }
19761 return resultobj;
19762 fail:
19763 return NULL;
19764}
19765
19766
c32bde28 19767static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19768 PyObject *resultobj;
19769 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19770 wxToolBarToolBase *result;
19771 PyObject * obj0 = 0 ;
19772 char *kwnames[] = {
19773 (char *) "self", NULL
19774 };
19775
19776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
19777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19778 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19779 {
19780 PyThreadState* __tstate = wxPyBeginAllowThreads();
19781 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19782
19783 wxPyEndAllowThreads(__tstate);
19784 if (PyErr_Occurred()) SWIG_fail;
19785 }
19786 {
412d302d 19787 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19788 }
19789 return resultobj;
19790 fail:
19791 return NULL;
19792}
19793
19794
c32bde28 19795static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19796 PyObject *resultobj;
19797 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19798 size_t arg2 ;
19799 wxToolBarToolBase *result;
19800 PyObject * obj0 = 0 ;
19801 PyObject * obj1 = 0 ;
19802 char *kwnames[] = {
19803 (char *) "self",(char *) "pos", NULL
19804 };
19805
19806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19808 if (SWIG_arg_fail(1)) SWIG_fail;
19809 {
19810 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19811 if (SWIG_arg_fail(2)) SWIG_fail;
19812 }
d14a1e28
RD
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 {
412d302d 19821 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19822 }
19823 return resultobj;
19824 fail:
19825 return NULL;
19826}
19827
19828
c32bde28 19829static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19830 PyObject *resultobj;
19831 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19832 int arg2 ;
19833 wxToolBarToolBase *result;
19834 PyObject * obj0 = 0 ;
994141e6 19835 PyObject * obj1 = 0 ;
d14a1e28
RD
19836 char *kwnames[] = {
19837 (char *) "self",(char *) "id", NULL
19838 };
19839
994141e6 19840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19842 if (SWIG_arg_fail(1)) SWIG_fail;
19843 {
19844 arg2 = (int)(SWIG_As_int(obj1));
19845 if (SWIG_arg_fail(2)) SWIG_fail;
19846 }
d14a1e28
RD
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19850
19851 wxPyEndAllowThreads(__tstate);
19852 if (PyErr_Occurred()) SWIG_fail;
19853 }
19854 {
412d302d 19855 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19856 }
19857 return resultobj;
19858 fail:
19859 return NULL;
19860}
19861
19862
c32bde28 19863static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19864 PyObject *resultobj;
19865 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19866 size_t arg2 ;
19867 bool result;
19868 PyObject * obj0 = 0 ;
19869 PyObject * obj1 = 0 ;
19870 char *kwnames[] = {
19871 (char *) "self",(char *) "pos", NULL
19872 };
19873
19874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19876 if (SWIG_arg_fail(1)) SWIG_fail;
19877 {
19878 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19879 if (SWIG_arg_fail(2)) SWIG_fail;
19880 }
d14a1e28
RD
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 result = (bool)(arg1)->DeleteToolByPos(arg2);
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
4f89f6a3
RD
19888 {
19889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19890 }
d14a1e28
RD
19891 return resultobj;
19892 fail:
19893 return NULL;
19894}
19895
19896
c32bde28 19897static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19898 PyObject *resultobj;
19899 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19900 int arg2 ;
19901 bool result;
19902 PyObject * obj0 = 0 ;
994141e6 19903 PyObject * obj1 = 0 ;
d14a1e28
RD
19904 char *kwnames[] = {
19905 (char *) "self",(char *) "id", NULL
19906 };
19907
994141e6 19908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19910 if (SWIG_arg_fail(1)) SWIG_fail;
19911 {
19912 arg2 = (int)(SWIG_As_int(obj1));
19913 if (SWIG_arg_fail(2)) SWIG_fail;
19914 }
d14a1e28
RD
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 result = (bool)(arg1)->DeleteTool(arg2);
19918
19919 wxPyEndAllowThreads(__tstate);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
4f89f6a3
RD
19922 {
19923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19924 }
d14a1e28
RD
19925 return resultobj;
19926 fail:
19927 return NULL;
19928}
19929
19930
c32bde28 19931static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19932 PyObject *resultobj;
19933 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19934 PyObject * obj0 = 0 ;
19935 char *kwnames[] = {
19936 (char *) "self", NULL
19937 };
19938
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
093d3ff1
RD
19940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19941 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19942 {
19943 PyThreadState* __tstate = wxPyBeginAllowThreads();
19944 (arg1)->ClearTools();
19945
19946 wxPyEndAllowThreads(__tstate);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 }
19949 Py_INCREF(Py_None); resultobj = Py_None;
19950 return resultobj;
19951 fail:
19952 return NULL;
19953}
19954
19955
c32bde28 19956static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19957 PyObject *resultobj;
19958 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19959 bool result;
19960 PyObject * obj0 = 0 ;
19961 char *kwnames[] = {
19962 (char *) "self", NULL
19963 };
19964
19965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19967 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19968 {
19969 PyThreadState* __tstate = wxPyBeginAllowThreads();
19970 result = (bool)(arg1)->Realize();
19971
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
4f89f6a3
RD
19975 {
19976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19977 }
d14a1e28
RD
19978 return resultobj;
19979 fail:
19980 return NULL;
19981}
19982
19983
c32bde28 19984static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19985 PyObject *resultobj;
19986 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19987 int arg2 ;
19988 bool arg3 ;
19989 PyObject * obj0 = 0 ;
994141e6 19990 PyObject * obj1 = 0 ;
d14a1e28
RD
19991 PyObject * obj2 = 0 ;
19992 char *kwnames[] = {
19993 (char *) "self",(char *) "id",(char *) "enable", NULL
19994 };
19995
994141e6 19996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19998 if (SWIG_arg_fail(1)) SWIG_fail;
19999 {
20000 arg2 = (int)(SWIG_As_int(obj1));
20001 if (SWIG_arg_fail(2)) SWIG_fail;
20002 }
20003 {
20004 arg3 = (bool)(SWIG_As_bool(obj2));
20005 if (SWIG_arg_fail(3)) SWIG_fail;
20006 }
d14a1e28
RD
20007 {
20008 PyThreadState* __tstate = wxPyBeginAllowThreads();
20009 (arg1)->EnableTool(arg2,arg3);
20010
20011 wxPyEndAllowThreads(__tstate);
20012 if (PyErr_Occurred()) SWIG_fail;
20013 }
20014 Py_INCREF(Py_None); resultobj = Py_None;
20015 return resultobj;
20016 fail:
20017 return NULL;
20018}
20019
20020
c32bde28 20021static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20022 PyObject *resultobj;
20023 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20024 int arg2 ;
20025 bool arg3 ;
20026 PyObject * obj0 = 0 ;
994141e6 20027 PyObject * obj1 = 0 ;
d14a1e28
RD
20028 PyObject * obj2 = 0 ;
20029 char *kwnames[] = {
20030 (char *) "self",(char *) "id",(char *) "toggle", NULL
20031 };
20032
994141e6 20033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20035 if (SWIG_arg_fail(1)) SWIG_fail;
20036 {
20037 arg2 = (int)(SWIG_As_int(obj1));
20038 if (SWIG_arg_fail(2)) SWIG_fail;
20039 }
20040 {
20041 arg3 = (bool)(SWIG_As_bool(obj2));
20042 if (SWIG_arg_fail(3)) SWIG_fail;
20043 }
d14a1e28
RD
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 (arg1)->ToggleTool(arg2,arg3);
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 Py_INCREF(Py_None); resultobj = Py_None;
20052 return resultobj;
20053 fail:
20054 return NULL;
20055}
20056
20057
c32bde28 20058static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20059 PyObject *resultobj;
20060 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20061 int arg2 ;
20062 bool arg3 ;
20063 PyObject * obj0 = 0 ;
994141e6 20064 PyObject * obj1 = 0 ;
d14a1e28
RD
20065 PyObject * obj2 = 0 ;
20066 char *kwnames[] = {
20067 (char *) "self",(char *) "id",(char *) "toggle", NULL
20068 };
20069
994141e6 20070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20072 if (SWIG_arg_fail(1)) SWIG_fail;
20073 {
20074 arg2 = (int)(SWIG_As_int(obj1));
20075 if (SWIG_arg_fail(2)) SWIG_fail;
20076 }
20077 {
20078 arg3 = (bool)(SWIG_As_bool(obj2));
20079 if (SWIG_arg_fail(3)) SWIG_fail;
20080 }
d14a1e28
RD
20081 {
20082 PyThreadState* __tstate = wxPyBeginAllowThreads();
20083 (arg1)->SetToggle(arg2,arg3);
20084
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 Py_INCREF(Py_None); resultobj = Py_None;
20089 return resultobj;
20090 fail:
20091 return NULL;
20092}
20093
20094
c32bde28 20095static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20096 PyObject *resultobj;
20097 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20098 int arg2 ;
20099 PyObject *result;
20100 PyObject * obj0 = 0 ;
994141e6 20101 PyObject * obj1 = 0 ;
d14a1e28
RD
20102 char *kwnames[] = {
20103 (char *) "self",(char *) "id", NULL
20104 };
20105
994141e6 20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20108 if (SWIG_arg_fail(1)) SWIG_fail;
20109 {
20110 arg2 = (int)(SWIG_As_int(obj1));
20111 if (SWIG_arg_fail(2)) SWIG_fail;
20112 }
d14a1e28
RD
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 resultobj = result;
20121 return resultobj;
20122 fail:
20123 return NULL;
20124}
20125
20126
c32bde28 20127static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20128 PyObject *resultobj;
20129 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20130 int arg2 ;
20131 PyObject *arg3 = (PyObject *) 0 ;
20132 PyObject * obj0 = 0 ;
994141e6 20133 PyObject * obj1 = 0 ;
d14a1e28
RD
20134 PyObject * obj2 = 0 ;
20135 char *kwnames[] = {
20136 (char *) "self",(char *) "id",(char *) "clientData", NULL
20137 };
20138
994141e6 20139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20141 if (SWIG_arg_fail(1)) SWIG_fail;
20142 {
20143 arg2 = (int)(SWIG_As_int(obj1));
20144 if (SWIG_arg_fail(2)) SWIG_fail;
20145 }
d14a1e28
RD
20146 arg3 = obj2;
20147 {
20148 PyThreadState* __tstate = wxPyBeginAllowThreads();
20149 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20150
20151 wxPyEndAllowThreads(__tstate);
20152 if (PyErr_Occurred()) SWIG_fail;
20153 }
20154 Py_INCREF(Py_None); resultobj = Py_None;
20155 return resultobj;
20156 fail:
20157 return NULL;
20158}
20159
20160
c32bde28 20161static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20162 PyObject *resultobj;
20163 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20164 int arg2 ;
20165 int result;
20166 PyObject * obj0 = 0 ;
994141e6 20167 PyObject * obj1 = 0 ;
d14a1e28
RD
20168 char *kwnames[] = {
20169 (char *) "self",(char *) "id", NULL
20170 };
20171
994141e6 20172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20174 if (SWIG_arg_fail(1)) SWIG_fail;
20175 {
20176 arg2 = (int)(SWIG_As_int(obj1));
20177 if (SWIG_arg_fail(2)) SWIG_fail;
20178 }
d14a1e28
RD
20179 {
20180 PyThreadState* __tstate = wxPyBeginAllowThreads();
20181 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20182
20183 wxPyEndAllowThreads(__tstate);
20184 if (PyErr_Occurred()) SWIG_fail;
20185 }
093d3ff1
RD
20186 {
20187 resultobj = SWIG_From_int((int)(result));
20188 }
d14a1e28
RD
20189 return resultobj;
20190 fail:
20191 return NULL;
20192}
20193
20194
c32bde28 20195static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20196 PyObject *resultobj;
20197 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20198 int arg2 ;
20199 bool result;
20200 PyObject * obj0 = 0 ;
994141e6 20201 PyObject * obj1 = 0 ;
d14a1e28
RD
20202 char *kwnames[] = {
20203 (char *) "self",(char *) "id", NULL
20204 };
20205
994141e6 20206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20208 if (SWIG_arg_fail(1)) SWIG_fail;
20209 {
20210 arg2 = (int)(SWIG_As_int(obj1));
20211 if (SWIG_arg_fail(2)) SWIG_fail;
20212 }
d14a1e28
RD
20213 {
20214 PyThreadState* __tstate = wxPyBeginAllowThreads();
20215 result = (bool)(arg1)->GetToolState(arg2);
20216
20217 wxPyEndAllowThreads(__tstate);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 }
4f89f6a3
RD
20220 {
20221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20222 }
d14a1e28
RD
20223 return resultobj;
20224 fail:
20225 return NULL;
20226}
20227
20228
c32bde28 20229static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20230 PyObject *resultobj;
20231 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20232 int arg2 ;
20233 bool result;
20234 PyObject * obj0 = 0 ;
994141e6 20235 PyObject * obj1 = 0 ;
d14a1e28
RD
20236 char *kwnames[] = {
20237 (char *) "self",(char *) "id", NULL
20238 };
20239
994141e6 20240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20242 if (SWIG_arg_fail(1)) SWIG_fail;
20243 {
20244 arg2 = (int)(SWIG_As_int(obj1));
20245 if (SWIG_arg_fail(2)) SWIG_fail;
20246 }
d14a1e28
RD
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 result = (bool)(arg1)->GetToolEnabled(arg2);
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
4f89f6a3
RD
20254 {
20255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20256 }
d14a1e28
RD
20257 return resultobj;
20258 fail:
20259 return NULL;
20260}
20261
20262
c32bde28 20263static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20264 PyObject *resultobj;
20265 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20266 int arg2 ;
20267 wxString *arg3 = 0 ;
ae8162c8 20268 bool temp3 = false ;
d14a1e28 20269 PyObject * obj0 = 0 ;
994141e6 20270 PyObject * obj1 = 0 ;
d14a1e28
RD
20271 PyObject * obj2 = 0 ;
20272 char *kwnames[] = {
20273 (char *) "self",(char *) "id",(char *) "helpString", NULL
20274 };
20275
994141e6 20276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20278 if (SWIG_arg_fail(1)) SWIG_fail;
20279 {
20280 arg2 = (int)(SWIG_As_int(obj1));
20281 if (SWIG_arg_fail(2)) SWIG_fail;
20282 }
d14a1e28
RD
20283 {
20284 arg3 = wxString_in_helper(obj2);
20285 if (arg3 == NULL) SWIG_fail;
ae8162c8 20286 temp3 = true;
d14a1e28
RD
20287 }
20288 {
20289 PyThreadState* __tstate = wxPyBeginAllowThreads();
20290 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20291
20292 wxPyEndAllowThreads(__tstate);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 }
20295 Py_INCREF(Py_None); resultobj = Py_None;
20296 {
20297 if (temp3)
20298 delete arg3;
20299 }
20300 return resultobj;
20301 fail:
20302 {
20303 if (temp3)
20304 delete arg3;
20305 }
20306 return NULL;
20307}
20308
20309
c32bde28 20310static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20311 PyObject *resultobj;
20312 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20313 int arg2 ;
20314 wxString result;
20315 PyObject * obj0 = 0 ;
994141e6 20316 PyObject * obj1 = 0 ;
d14a1e28
RD
20317 char *kwnames[] = {
20318 (char *) "self",(char *) "id", NULL
20319 };
20320
994141e6 20321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20323 if (SWIG_arg_fail(1)) SWIG_fail;
20324 {
20325 arg2 = (int)(SWIG_As_int(obj1));
20326 if (SWIG_arg_fail(2)) SWIG_fail;
20327 }
d14a1e28
RD
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 result = (arg1)->GetToolShortHelp(arg2);
20331
20332 wxPyEndAllowThreads(__tstate);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 {
20336#if wxUSE_UNICODE
20337 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20338#else
20339 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20340#endif
20341 }
20342 return resultobj;
20343 fail:
20344 return NULL;
20345}
20346
20347
c32bde28 20348static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20349 PyObject *resultobj;
20350 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20351 int arg2 ;
20352 wxString *arg3 = 0 ;
ae8162c8 20353 bool temp3 = false ;
d14a1e28 20354 PyObject * obj0 = 0 ;
994141e6 20355 PyObject * obj1 = 0 ;
d14a1e28
RD
20356 PyObject * obj2 = 0 ;
20357 char *kwnames[] = {
20358 (char *) "self",(char *) "id",(char *) "helpString", NULL
20359 };
20360
994141e6 20361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20363 if (SWIG_arg_fail(1)) SWIG_fail;
20364 {
20365 arg2 = (int)(SWIG_As_int(obj1));
20366 if (SWIG_arg_fail(2)) SWIG_fail;
20367 }
d14a1e28
RD
20368 {
20369 arg3 = wxString_in_helper(obj2);
20370 if (arg3 == NULL) SWIG_fail;
ae8162c8 20371 temp3 = true;
d14a1e28
RD
20372 }
20373 {
20374 PyThreadState* __tstate = wxPyBeginAllowThreads();
20375 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20376
20377 wxPyEndAllowThreads(__tstate);
20378 if (PyErr_Occurred()) SWIG_fail;
20379 }
20380 Py_INCREF(Py_None); resultobj = Py_None;
20381 {
20382 if (temp3)
20383 delete arg3;
20384 }
20385 return resultobj;
20386 fail:
20387 {
20388 if (temp3)
20389 delete arg3;
20390 }
20391 return NULL;
20392}
20393
20394
c32bde28 20395static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20396 PyObject *resultobj;
20397 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20398 int arg2 ;
20399 wxString result;
20400 PyObject * obj0 = 0 ;
994141e6 20401 PyObject * obj1 = 0 ;
d14a1e28
RD
20402 char *kwnames[] = {
20403 (char *) "self",(char *) "id", NULL
20404 };
20405
994141e6 20406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20408 if (SWIG_arg_fail(1)) SWIG_fail;
20409 {
20410 arg2 = (int)(SWIG_As_int(obj1));
20411 if (SWIG_arg_fail(2)) SWIG_fail;
20412 }
d14a1e28
RD
20413 {
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
20415 result = (arg1)->GetToolLongHelp(arg2);
20416
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
20420 {
20421#if wxUSE_UNICODE
20422 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20423#else
20424 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20425#endif
20426 }
20427 return resultobj;
20428 fail:
20429 return NULL;
20430}
20431
20432
c32bde28 20433static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20434 PyObject *resultobj;
20435 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20436 int arg2 ;
20437 int arg3 ;
20438 PyObject * obj0 = 0 ;
994141e6
RD
20439 PyObject * obj1 = 0 ;
20440 PyObject * obj2 = 0 ;
d14a1e28
RD
20441 char *kwnames[] = {
20442 (char *) "self",(char *) "x",(char *) "y", NULL
20443 };
20444
994141e6 20445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20447 if (SWIG_arg_fail(1)) SWIG_fail;
20448 {
20449 arg2 = (int)(SWIG_As_int(obj1));
20450 if (SWIG_arg_fail(2)) SWIG_fail;
20451 }
20452 {
20453 arg3 = (int)(SWIG_As_int(obj2));
20454 if (SWIG_arg_fail(3)) SWIG_fail;
20455 }
d14a1e28
RD
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 (arg1)->SetMargins(arg2,arg3);
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 Py_INCREF(Py_None); resultobj = Py_None;
20464 return resultobj;
20465 fail:
20466 return NULL;
20467}
20468
20469
c32bde28 20470static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20471 PyObject *resultobj;
20472 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20473 wxSize *arg2 = 0 ;
20474 wxSize temp2 ;
20475 PyObject * obj0 = 0 ;
20476 PyObject * obj1 = 0 ;
20477 char *kwnames[] = {
20478 (char *) "self",(char *) "size", NULL
20479 };
20480
20481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20483 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20484 {
20485 arg2 = &temp2;
20486 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20487 }
20488 {
20489 PyThreadState* __tstate = wxPyBeginAllowThreads();
20490 (arg1)->SetMargins((wxSize const &)*arg2);
20491
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 Py_INCREF(Py_None); resultobj = Py_None;
20496 return resultobj;
20497 fail:
20498 return NULL;
20499}
20500
20501
c32bde28 20502static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20503 PyObject *resultobj;
20504 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20505 int arg2 ;
20506 PyObject * obj0 = 0 ;
994141e6 20507 PyObject * obj1 = 0 ;
d14a1e28
RD
20508 char *kwnames[] = {
20509 (char *) "self",(char *) "packing", NULL
20510 };
20511
994141e6 20512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20514 if (SWIG_arg_fail(1)) SWIG_fail;
20515 {
20516 arg2 = (int)(SWIG_As_int(obj1));
20517 if (SWIG_arg_fail(2)) SWIG_fail;
20518 }
d14a1e28
RD
20519 {
20520 PyThreadState* __tstate = wxPyBeginAllowThreads();
20521 (arg1)->SetToolPacking(arg2);
20522
20523 wxPyEndAllowThreads(__tstate);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 }
20526 Py_INCREF(Py_None); resultobj = Py_None;
20527 return resultobj;
20528 fail:
20529 return NULL;
20530}
20531
20532
c32bde28 20533static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20534 PyObject *resultobj;
20535 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20536 int arg2 ;
20537 PyObject * obj0 = 0 ;
994141e6 20538 PyObject * obj1 = 0 ;
d14a1e28
RD
20539 char *kwnames[] = {
20540 (char *) "self",(char *) "separation", NULL
20541 };
20542
994141e6 20543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20545 if (SWIG_arg_fail(1)) SWIG_fail;
20546 {
20547 arg2 = (int)(SWIG_As_int(obj1));
20548 if (SWIG_arg_fail(2)) SWIG_fail;
20549 }
d14a1e28
RD
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 (arg1)->SetToolSeparation(arg2);
20553
20554 wxPyEndAllowThreads(__tstate);
20555 if (PyErr_Occurred()) SWIG_fail;
20556 }
20557 Py_INCREF(Py_None); resultobj = Py_None;
20558 return resultobj;
20559 fail:
20560 return NULL;
20561}
20562
20563
c32bde28 20564static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20565 PyObject *resultobj;
20566 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20567 wxSize result;
20568 PyObject * obj0 = 0 ;
20569 char *kwnames[] = {
20570 (char *) "self", NULL
20571 };
20572
20573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
20574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20575 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20576 {
20577 PyThreadState* __tstate = wxPyBeginAllowThreads();
20578 result = (arg1)->GetToolMargins();
20579
20580 wxPyEndAllowThreads(__tstate);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
20583 {
20584 wxSize * resultptr;
093d3ff1 20585 resultptr = new wxSize((wxSize &)(result));
15afbcd0 20586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20587 }
20588 return resultobj;
20589 fail:
20590 return NULL;
20591}
20592
20593
c32bde28 20594static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20595 PyObject *resultobj;
20596 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20597 wxSize result;
20598 PyObject * obj0 = 0 ;
20599 char *kwnames[] = {
20600 (char *) "self", NULL
20601 };
20602
20603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
20604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20605 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20606 {
20607 PyThreadState* __tstate = wxPyBeginAllowThreads();
20608 result = (arg1)->GetMargins();
20609
20610 wxPyEndAllowThreads(__tstate);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 }
20613 {
20614 wxSize * resultptr;
093d3ff1 20615 resultptr = new wxSize((wxSize &)(result));
15afbcd0 20616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20617 }
20618 return resultobj;
20619 fail:
20620 return NULL;
20621}
20622
20623
c32bde28 20624static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20625 PyObject *resultobj;
20626 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20627 int result;
20628 PyObject * obj0 = 0 ;
20629 char *kwnames[] = {
20630 (char *) "self", NULL
20631 };
20632
20633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
093d3ff1
RD
20634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20635 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 result = (int)(arg1)->GetToolPacking();
20639
20640 wxPyEndAllowThreads(__tstate);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 }
093d3ff1
RD
20643 {
20644 resultobj = SWIG_From_int((int)(result));
20645 }
d14a1e28
RD
20646 return resultobj;
20647 fail:
20648 return NULL;
20649}
20650
20651
c32bde28 20652static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20653 PyObject *resultobj;
20654 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20655 int result;
20656 PyObject * obj0 = 0 ;
20657 char *kwnames[] = {
20658 (char *) "self", NULL
20659 };
20660
20661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20663 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = (int)(arg1)->GetToolSeparation();
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
093d3ff1
RD
20671 {
20672 resultobj = SWIG_From_int((int)(result));
20673 }
d14a1e28
RD
20674 return resultobj;
20675 fail:
20676 return NULL;
20677}
20678
20679
c32bde28 20680static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20681 PyObject *resultobj;
20682 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20683 int arg2 ;
20684 PyObject * obj0 = 0 ;
994141e6 20685 PyObject * obj1 = 0 ;
d14a1e28
RD
20686 char *kwnames[] = {
20687 (char *) "self",(char *) "nRows", NULL
20688 };
20689
994141e6 20690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20692 if (SWIG_arg_fail(1)) SWIG_fail;
20693 {
20694 arg2 = (int)(SWIG_As_int(obj1));
20695 if (SWIG_arg_fail(2)) SWIG_fail;
20696 }
d14a1e28
RD
20697 {
20698 PyThreadState* __tstate = wxPyBeginAllowThreads();
20699 (arg1)->SetRows(arg2);
20700
20701 wxPyEndAllowThreads(__tstate);
20702 if (PyErr_Occurred()) SWIG_fail;
20703 }
20704 Py_INCREF(Py_None); resultobj = Py_None;
20705 return resultobj;
20706 fail:
20707 return NULL;
20708}
20709
20710
c32bde28 20711static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20712 PyObject *resultobj;
20713 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20714 int arg2 ;
20715 int arg3 ;
20716 PyObject * obj0 = 0 ;
994141e6
RD
20717 PyObject * obj1 = 0 ;
20718 PyObject * obj2 = 0 ;
d14a1e28
RD
20719 char *kwnames[] = {
20720 (char *) "self",(char *) "rows",(char *) "cols", NULL
20721 };
20722
994141e6 20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20725 if (SWIG_arg_fail(1)) SWIG_fail;
20726 {
20727 arg2 = (int)(SWIG_As_int(obj1));
20728 if (SWIG_arg_fail(2)) SWIG_fail;
20729 }
20730 {
20731 arg3 = (int)(SWIG_As_int(obj2));
20732 if (SWIG_arg_fail(3)) SWIG_fail;
20733 }
d14a1e28
RD
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 (arg1)->SetMaxRowsCols(arg2,arg3);
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 Py_INCREF(Py_None); resultobj = Py_None;
20742 return resultobj;
20743 fail:
20744 return NULL;
20745}
20746
20747
c32bde28 20748static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20749 PyObject *resultobj;
20750 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20751 int result;
20752 PyObject * obj0 = 0 ;
20753 char *kwnames[] = {
20754 (char *) "self", NULL
20755 };
20756
20757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
093d3ff1
RD
20758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20759 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 result = (int)(arg1)->GetMaxRows();
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
093d3ff1
RD
20767 {
20768 resultobj = SWIG_From_int((int)(result));
20769 }
d14a1e28
RD
20770 return resultobj;
20771 fail:
20772 return NULL;
20773}
20774
20775
c32bde28 20776static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20777 PyObject *resultobj;
20778 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20779 int result;
20780 PyObject * obj0 = 0 ;
20781 char *kwnames[] = {
20782 (char *) "self", NULL
20783 };
20784
20785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
093d3ff1
RD
20786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20787 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20788 {
20789 PyThreadState* __tstate = wxPyBeginAllowThreads();
20790 result = (int)(arg1)->GetMaxCols();
20791
20792 wxPyEndAllowThreads(__tstate);
20793 if (PyErr_Occurred()) SWIG_fail;
20794 }
093d3ff1
RD
20795 {
20796 resultobj = SWIG_From_int((int)(result));
20797 }
d14a1e28
RD
20798 return resultobj;
20799 fail:
20800 return NULL;
20801}
20802
20803
c32bde28 20804static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20805 PyObject *resultobj;
20806 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20807 wxSize *arg2 = 0 ;
20808 wxSize temp2 ;
20809 PyObject * obj0 = 0 ;
20810 PyObject * obj1 = 0 ;
20811 char *kwnames[] = {
20812 (char *) "self",(char *) "size", NULL
20813 };
20814
20815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20817 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20818 {
20819 arg2 = &temp2;
20820 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20821 }
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 Py_INCREF(Py_None); resultobj = Py_None;
20830 return resultobj;
20831 fail:
20832 return NULL;
20833}
20834
20835
c32bde28 20836static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20837 PyObject *resultobj;
20838 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20839 wxSize result;
20840 PyObject * obj0 = 0 ;
20841 char *kwnames[] = {
20842 (char *) "self", NULL
20843 };
20844
20845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20847 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20848 {
20849 PyThreadState* __tstate = wxPyBeginAllowThreads();
20850 result = (arg1)->GetToolBitmapSize();
20851
20852 wxPyEndAllowThreads(__tstate);
20853 if (PyErr_Occurred()) SWIG_fail;
20854 }
20855 {
20856 wxSize * resultptr;
093d3ff1 20857 resultptr = new wxSize((wxSize &)(result));
15afbcd0 20858 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20859 }
20860 return resultobj;
20861 fail:
20862 return NULL;
20863}
20864
20865
c32bde28 20866static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20867 PyObject *resultobj;
20868 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20869 wxSize result;
20870 PyObject * obj0 = 0 ;
20871 char *kwnames[] = {
20872 (char *) "self", NULL
20873 };
20874
20875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20877 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20878 {
20879 PyThreadState* __tstate = wxPyBeginAllowThreads();
20880 result = (arg1)->GetToolSize();
20881
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 {
20886 wxSize * resultptr;
093d3ff1 20887 resultptr = new wxSize((wxSize &)(result));
15afbcd0 20888 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20889 }
20890 return resultobj;
20891 fail:
20892 return NULL;
20893}
20894
20895
c32bde28 20896static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20897 PyObject *resultobj;
20898 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
e811c8ce
RD
20899 int arg2 ;
20900 int arg3 ;
d14a1e28
RD
20901 wxToolBarToolBase *result;
20902 PyObject * obj0 = 0 ;
994141e6
RD
20903 PyObject * obj1 = 0 ;
20904 PyObject * obj2 = 0 ;
d14a1e28
RD
20905 char *kwnames[] = {
20906 (char *) "self",(char *) "x",(char *) "y", NULL
20907 };
20908
994141e6 20909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20911 if (SWIG_arg_fail(1)) SWIG_fail;
20912 {
20913 arg2 = (int)(SWIG_As_int(obj1));
20914 if (SWIG_arg_fail(2)) SWIG_fail;
20915 }
20916 {
20917 arg3 = (int)(SWIG_As_int(obj2));
20918 if (SWIG_arg_fail(3)) SWIG_fail;
20919 }
d14a1e28
RD
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 {
412d302d 20928 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
20929 }
20930 return resultobj;
20931 fail:
20932 return NULL;
20933}
20934
20935
c32bde28 20936static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
3a04f143
RD
20937 PyObject *resultobj;
20938 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20939 int arg2 ;
20940 wxToolBarToolBase *result;
20941 PyObject * obj0 = 0 ;
994141e6 20942 PyObject * obj1 = 0 ;
3a04f143
RD
20943 char *kwnames[] = {
20944 (char *) "self",(char *) "toolid", NULL
20945 };
20946
994141e6 20947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20949 if (SWIG_arg_fail(1)) SWIG_fail;
20950 {
20951 arg2 = (int)(SWIG_As_int(obj1));
20952 if (SWIG_arg_fail(2)) SWIG_fail;
20953 }
3a04f143
RD
20954 {
20955 PyThreadState* __tstate = wxPyBeginAllowThreads();
20956 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20957
20958 wxPyEndAllowThreads(__tstate);
20959 if (PyErr_Occurred()) SWIG_fail;
20960 }
20961 {
412d302d 20962 resultobj = wxPyMake_wxObject(result, 0);
3a04f143
RD
20963 }
20964 return resultobj;
20965 fail:
20966 return NULL;
20967}
20968
20969
c32bde28 20970static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20971 PyObject *resultobj;
20972 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20973 bool result;
20974 PyObject * obj0 = 0 ;
20975 char *kwnames[] = {
20976 (char *) "self", NULL
20977 };
20978
20979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
093d3ff1
RD
20980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20981 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20982 {
20983 PyThreadState* __tstate = wxPyBeginAllowThreads();
20984 result = (bool)(arg1)->IsVertical();
20985
20986 wxPyEndAllowThreads(__tstate);
20987 if (PyErr_Occurred()) SWIG_fail;
20988 }
4f89f6a3
RD
20989 {
20990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20991 }
d14a1e28
RD
20992 return resultobj;
20993 fail:
20994 return NULL;
20995}
20996
20997
c32bde28 20998static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20999 PyObject *obj;
21000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21001 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
21002 Py_INCREF(obj);
21003 return Py_BuildValue((char *)"");
21004}
c32bde28 21005static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21006 PyObject *resultobj;
21007 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 21008 int arg2 = (int) -1 ;
d14a1e28
RD
21009 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21010 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21011 wxSize const &arg4_defvalue = wxDefaultSize ;
21012 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21013 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21014 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
21015 wxString *arg6 = (wxString *) &arg6_defvalue ;
21016 wxToolBar *result;
21017 wxPoint temp3 ;
21018 wxSize temp4 ;
ae8162c8 21019 bool temp6 = false ;
d14a1e28 21020 PyObject * obj0 = 0 ;
994141e6 21021 PyObject * obj1 = 0 ;
d14a1e28
RD
21022 PyObject * obj2 = 0 ;
21023 PyObject * obj3 = 0 ;
994141e6 21024 PyObject * obj4 = 0 ;
d14a1e28
RD
21025 PyObject * obj5 = 0 ;
21026 char *kwnames[] = {
21027 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21028 };
21029
248ed943 21030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
21031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21032 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 21033 if (obj1) {
093d3ff1
RD
21034 {
21035 arg2 = (int)(SWIG_As_int(obj1));
21036 if (SWIG_arg_fail(2)) SWIG_fail;
21037 }
248ed943 21038 }
d14a1e28
RD
21039 if (obj2) {
21040 {
21041 arg3 = &temp3;
21042 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21043 }
21044 }
21045 if (obj3) {
21046 {
21047 arg4 = &temp4;
21048 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21049 }
21050 }
994141e6 21051 if (obj4) {
093d3ff1
RD
21052 {
21053 arg5 = (long)(SWIG_As_long(obj4));
21054 if (SWIG_arg_fail(5)) SWIG_fail;
21055 }
994141e6 21056 }
d14a1e28
RD
21057 if (obj5) {
21058 {
21059 arg6 = wxString_in_helper(obj5);
21060 if (arg6 == NULL) SWIG_fail;
ae8162c8 21061 temp6 = true;
d14a1e28
RD
21062 }
21063 }
21064 {
e3b71cb8 21065 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21068
21069 wxPyEndAllowThreads(__tstate);
110da5b0 21070 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21071 }
b0f7404b 21072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d14a1e28
RD
21073 {
21074 if (temp6)
21075 delete arg6;
21076 }
21077 return resultobj;
21078 fail:
21079 {
21080 if (temp6)
21081 delete arg6;
21082 }
21083 return NULL;
21084}
21085
21086
c32bde28 21087static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21088 PyObject *resultobj;
21089 wxToolBar *result;
21090 char *kwnames[] = {
21091 NULL
21092 };
21093
21094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21095 {
e3b71cb8 21096 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 result = (wxToolBar *)new wxToolBar();
21099
21100 wxPyEndAllowThreads(__tstate);
110da5b0 21101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21102 }
b0f7404b 21103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d14a1e28
RD
21104 return resultobj;
21105 fail:
21106 return NULL;
21107}
21108
21109
c32bde28 21110static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21111 PyObject *resultobj;
21112 wxToolBar *arg1 = (wxToolBar *) 0 ;
21113 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 21114 int arg3 = (int) -1 ;
d14a1e28
RD
21115 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21116 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21117 wxSize const &arg5_defvalue = wxDefaultSize ;
21118 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21119 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21120 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21121 wxString *arg7 = (wxString *) &arg7_defvalue ;
21122 bool result;
21123 wxPoint temp4 ;
21124 wxSize temp5 ;
ae8162c8 21125 bool temp7 = false ;
d14a1e28
RD
21126 PyObject * obj0 = 0 ;
21127 PyObject * obj1 = 0 ;
994141e6 21128 PyObject * obj2 = 0 ;
d14a1e28
RD
21129 PyObject * obj3 = 0 ;
21130 PyObject * obj4 = 0 ;
994141e6 21131 PyObject * obj5 = 0 ;
d14a1e28
RD
21132 PyObject * obj6 = 0 ;
21133 char *kwnames[] = {
21134 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21135 };
21136
248ed943 21137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
21138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21139 if (SWIG_arg_fail(1)) SWIG_fail;
21140 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21141 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 21142 if (obj2) {
093d3ff1
RD
21143 {
21144 arg3 = (int)(SWIG_As_int(obj2));
21145 if (SWIG_arg_fail(3)) SWIG_fail;
21146 }
248ed943 21147 }
d14a1e28
RD
21148 if (obj3) {
21149 {
21150 arg4 = &temp4;
21151 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21152 }
21153 }
21154 if (obj4) {
21155 {
21156 arg5 = &temp5;
21157 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21158 }
21159 }
994141e6 21160 if (obj5) {
093d3ff1
RD
21161 {
21162 arg6 = (long)(SWIG_As_long(obj5));
21163 if (SWIG_arg_fail(6)) SWIG_fail;
21164 }
994141e6 21165 }
d14a1e28
RD
21166 if (obj6) {
21167 {
21168 arg7 = wxString_in_helper(obj6);
21169 if (arg7 == NULL) SWIG_fail;
ae8162c8 21170 temp7 = true;
d14a1e28
RD
21171 }
21172 }
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21176
21177 wxPyEndAllowThreads(__tstate);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 }
4f89f6a3
RD
21180 {
21181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21182 }
d14a1e28
RD
21183 {
21184 if (temp7)
21185 delete arg7;
21186 }
21187 return resultobj;
21188 fail:
21189 {
21190 if (temp7)
21191 delete arg7;
21192 }
21193 return NULL;
21194}
21195
21196
c32bde28 21197static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21198 PyObject *resultobj;
21199 wxToolBar *arg1 = (wxToolBar *) 0 ;
e811c8ce
RD
21200 int arg2 ;
21201 int arg3 ;
d14a1e28
RD
21202 wxToolBarToolBase *result;
21203 PyObject * obj0 = 0 ;
994141e6
RD
21204 PyObject * obj1 = 0 ;
21205 PyObject * obj2 = 0 ;
d14a1e28
RD
21206 char *kwnames[] = {
21207 (char *) "self",(char *) "x",(char *) "y", NULL
21208 };
21209
994141e6 21210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21212 if (SWIG_arg_fail(1)) SWIG_fail;
21213 {
21214 arg2 = (int)(SWIG_As_int(obj1));
21215 if (SWIG_arg_fail(2)) SWIG_fail;
21216 }
21217 {
21218 arg3 = (int)(SWIG_As_int(obj2));
21219 if (SWIG_arg_fail(3)) SWIG_fail;
21220 }
d14a1e28
RD
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 {
412d302d 21229 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
21230 }
21231 return resultobj;
21232 fail:
21233 return NULL;
21234}
21235
21236
c32bde28 21237static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 21238 PyObject *resultobj;
093d3ff1 21239 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
21240 wxVisualAttributes result;
21241 PyObject * obj0 = 0 ;
21242 char *kwnames[] = {
21243 (char *) "variant", NULL
21244 };
21245
21246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21247 if (obj0) {
093d3ff1
RD
21248 {
21249 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21250 if (SWIG_arg_fail(1)) SWIG_fail;
21251 }
22bfe96c
RD
21252 }
21253 {
110da5b0 21254 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
21255 PyThreadState* __tstate = wxPyBeginAllowThreads();
21256 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21257
21258 wxPyEndAllowThreads(__tstate);
dfbb5885 21259 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
21260 }
21261 {
21262 wxVisualAttributes * resultptr;
093d3ff1 21263 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
21264 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21265 }
21266 return resultobj;
21267 fail:
21268 return NULL;
21269}
21270
21271
c32bde28 21272static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21273 PyObject *obj;
21274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21275 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21276 Py_INCREF(obj);
21277 return Py_BuildValue((char *)"");
21278}
c32bde28 21279static int _wrap_ListCtrlNameStr_set(PyObject *) {
b2dc1044
RD
21280 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21281 return 1;
21282}
21283
21284
093d3ff1 21285static PyObject *_wrap_ListCtrlNameStr_get(void) {
b2dc1044
RD
21286 PyObject *pyobj;
21287
21288 {
21289#if wxUSE_UNICODE
21290 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21291#else
21292 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21293#endif
21294 }
21295 return pyobj;
21296}
21297
21298
c32bde28 21299static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21300 PyObject *resultobj;
21301 wxColour const &arg1_defvalue = wxNullColour ;
21302 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21303 wxColour const &arg2_defvalue = wxNullColour ;
21304 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21305 wxFont const &arg3_defvalue = wxNullFont ;
21306 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21307 wxListItemAttr *result;
21308 wxColour temp1 ;
21309 wxColour temp2 ;
21310 PyObject * obj0 = 0 ;
21311 PyObject * obj1 = 0 ;
21312 PyObject * obj2 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21315 };
21316
21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21318 if (obj0) {
21319 {
21320 arg1 = &temp1;
21321 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21322 }
21323 }
21324 if (obj1) {
21325 {
21326 arg2 = &temp2;
21327 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21328 }
21329 }
21330 if (obj2) {
093d3ff1
RD
21331 {
21332 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21333 if (SWIG_arg_fail(3)) SWIG_fail;
21334 if (arg3 == NULL) {
21335 SWIG_null_ref("wxFont");
21336 }
21337 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
21338 }
21339 }
21340 {
21341 PyThreadState* __tstate = wxPyBeginAllowThreads();
21342 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21343
21344 wxPyEndAllowThreads(__tstate);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 }
15afbcd0 21347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
d14a1e28
RD
21348 return resultobj;
21349 fail:
21350 return NULL;
21351}
21352
21353
c32bde28 21354static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21355 PyObject *resultobj;
21356 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21357 wxColour *arg2 = 0 ;
21358 wxColour temp2 ;
21359 PyObject * obj0 = 0 ;
21360 PyObject * obj1 = 0 ;
21361 char *kwnames[] = {
21362 (char *) "self",(char *) "colText", NULL
21363 };
21364
21365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21367 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21368 {
21369 arg2 = &temp2;
21370 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21371 }
21372 {
21373 PyThreadState* __tstate = wxPyBeginAllowThreads();
21374 (arg1)->SetTextColour((wxColour const &)*arg2);
21375
21376 wxPyEndAllowThreads(__tstate);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 }
21379 Py_INCREF(Py_None); resultobj = Py_None;
21380 return resultobj;
21381 fail:
21382 return NULL;
21383}
21384
21385
c32bde28 21386static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21387 PyObject *resultobj;
21388 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21389 wxColour *arg2 = 0 ;
21390 wxColour temp2 ;
21391 PyObject * obj0 = 0 ;
21392 PyObject * obj1 = 0 ;
21393 char *kwnames[] = {
21394 (char *) "self",(char *) "colBack", NULL
21395 };
21396
21397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21399 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21400 {
21401 arg2 = &temp2;
21402 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21403 }
21404 {
21405 PyThreadState* __tstate = wxPyBeginAllowThreads();
21406 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21407
21408 wxPyEndAllowThreads(__tstate);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 }
21411 Py_INCREF(Py_None); resultobj = Py_None;
21412 return resultobj;
21413 fail:
21414 return NULL;
21415}
21416
21417
c32bde28 21418static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21419 PyObject *resultobj;
21420 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21421 wxFont *arg2 = 0 ;
21422 PyObject * obj0 = 0 ;
21423 PyObject * obj1 = 0 ;
21424 char *kwnames[] = {
21425 (char *) "self",(char *) "font", NULL
21426 };
21427
21428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21430 if (SWIG_arg_fail(1)) SWIG_fail;
21431 {
21432 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21433 if (SWIG_arg_fail(2)) SWIG_fail;
21434 if (arg2 == NULL) {
21435 SWIG_null_ref("wxFont");
21436 }
21437 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
21438 }
21439 {
21440 PyThreadState* __tstate = wxPyBeginAllowThreads();
21441 (arg1)->SetFont((wxFont const &)*arg2);
21442
21443 wxPyEndAllowThreads(__tstate);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 }
21446 Py_INCREF(Py_None); resultobj = Py_None;
21447 return resultobj;
21448 fail:
21449 return NULL;
21450}
21451
21452
c32bde28 21453static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21454 PyObject *resultobj;
21455 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21456 bool result;
21457 PyObject * obj0 = 0 ;
21458 char *kwnames[] = {
21459 (char *) "self", NULL
21460 };
21461
21462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21464 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21465 {
21466 PyThreadState* __tstate = wxPyBeginAllowThreads();
21467 result = (bool)(arg1)->HasTextColour();
21468
21469 wxPyEndAllowThreads(__tstate);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 }
4f89f6a3
RD
21472 {
21473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21474 }
d14a1e28
RD
21475 return resultobj;
21476 fail:
21477 return NULL;
21478}
21479
21480
c32bde28 21481static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21482 PyObject *resultobj;
21483 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21484 bool result;
21485 PyObject * obj0 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21492 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 result = (bool)(arg1)->HasBackgroundColour();
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
4f89f6a3
RD
21500 {
21501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21502 }
d14a1e28
RD
21503 return resultobj;
21504 fail:
21505 return NULL;
21506}
21507
21508
c32bde28 21509static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21510 PyObject *resultobj;
21511 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21512 bool result;
21513 PyObject * obj0 = 0 ;
21514 char *kwnames[] = {
21515 (char *) "self", NULL
21516 };
21517
21518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
21519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21520 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 result = (bool)(arg1)->HasFont();
21524
21525 wxPyEndAllowThreads(__tstate);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
4f89f6a3
RD
21528 {
21529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21530 }
d14a1e28
RD
21531 return resultobj;
21532 fail:
21533 return NULL;
21534}
21535
21536
c32bde28 21537static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21538 PyObject *resultobj;
21539 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21540 wxColour result;
21541 PyObject * obj0 = 0 ;
21542 char *kwnames[] = {
21543 (char *) "self", NULL
21544 };
21545
21546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21548 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 result = (arg1)->GetTextColour();
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 {
21557 wxColour * resultptr;
093d3ff1 21558 resultptr = new wxColour((wxColour &)(result));
15afbcd0 21559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
21560 }
21561 return resultobj;
21562 fail:
21563 return NULL;
21564}
21565
21566
c32bde28 21567static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21568 PyObject *resultobj;
21569 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21570 wxColour result;
21571 PyObject * obj0 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "self", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
21577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21578 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21579 {
21580 PyThreadState* __tstate = wxPyBeginAllowThreads();
21581 result = (arg1)->GetBackgroundColour();
21582
21583 wxPyEndAllowThreads(__tstate);
21584 if (PyErr_Occurred()) SWIG_fail;
21585 }
21586 {
21587 wxColour * resultptr;
093d3ff1 21588 resultptr = new wxColour((wxColour &)(result));
15afbcd0 21589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
21590 }
21591 return resultobj;
21592 fail:
21593 return NULL;
21594}
21595
21596
c32bde28 21597static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21598 PyObject *resultobj;
21599 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21600 wxFont result;
21601 PyObject * obj0 = 0 ;
21602 char *kwnames[] = {
21603 (char *) "self", NULL
21604 };
21605
21606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
21607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21608 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21609 {
21610 PyThreadState* __tstate = wxPyBeginAllowThreads();
21611 result = (arg1)->GetFont();
21612
21613 wxPyEndAllowThreads(__tstate);
21614 if (PyErr_Occurred()) SWIG_fail;
21615 }
21616 {
21617 wxFont * resultptr;
093d3ff1 21618 resultptr = new wxFont((wxFont &)(result));
15afbcd0 21619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
21620 }
21621 return resultobj;
21622 fail:
21623 return NULL;
21624}
21625
21626
c32bde28 21627static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21628 PyObject *resultobj;
21629 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21630 PyObject * obj0 = 0 ;
21631 char *kwnames[] = {
21632 (char *) "self", NULL
21633 };
21634
21635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
21636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21637 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21638 {
21639 PyThreadState* __tstate = wxPyBeginAllowThreads();
21640 wxListItemAttr_Destroy(arg1);
21641
21642 wxPyEndAllowThreads(__tstate);
21643 if (PyErr_Occurred()) SWIG_fail;
21644 }
21645 Py_INCREF(Py_None); resultobj = Py_None;
21646 return resultobj;
21647 fail:
21648 return NULL;
21649}
21650
21651
c32bde28 21652static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21653 PyObject *obj;
21654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21655 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21656 Py_INCREF(obj);
21657 return Py_BuildValue((char *)"");
21658}
c32bde28 21659static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21660 PyObject *resultobj;
21661 wxListItem *result;
21662 char *kwnames[] = {
21663 NULL
21664 };
21665
21666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21667 {
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 result = (wxListItem *)new wxListItem();
21670
21671 wxPyEndAllowThreads(__tstate);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 {
412d302d 21675 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
21676 }
21677 return resultobj;
21678 fail:
21679 return NULL;
21680}
21681
21682
c32bde28 21683static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21684 PyObject *resultobj;
21685 wxListItem *arg1 = (wxListItem *) 0 ;
21686 PyObject * obj0 = 0 ;
21687 char *kwnames[] = {
21688 (char *) "self", NULL
21689 };
21690
21691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
21692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21693 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21694 {
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 delete arg1;
21697
21698 wxPyEndAllowThreads(__tstate);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 Py_INCREF(Py_None); resultobj = Py_None;
21702 return resultobj;
21703 fail:
21704 return NULL;
21705}
21706
21707
c32bde28 21708static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21709 PyObject *resultobj;
21710 wxListItem *arg1 = (wxListItem *) 0 ;
21711 PyObject * obj0 = 0 ;
21712 char *kwnames[] = {
21713 (char *) "self", NULL
21714 };
21715
21716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
21717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21718 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21719 {
21720 PyThreadState* __tstate = wxPyBeginAllowThreads();
21721 (arg1)->Clear();
21722
21723 wxPyEndAllowThreads(__tstate);
21724 if (PyErr_Occurred()) SWIG_fail;
21725 }
21726 Py_INCREF(Py_None); resultobj = Py_None;
21727 return resultobj;
21728 fail:
21729 return NULL;
21730}
21731
21732
c32bde28 21733static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21734 PyObject *resultobj;
21735 wxListItem *arg1 = (wxListItem *) 0 ;
21736 PyObject * obj0 = 0 ;
21737 char *kwnames[] = {
21738 (char *) "self", NULL
21739 };
21740
21741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
21742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21743 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21744 {
21745 PyThreadState* __tstate = wxPyBeginAllowThreads();
21746 (arg1)->ClearAttributes();
21747
21748 wxPyEndAllowThreads(__tstate);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 }
21751 Py_INCREF(Py_None); resultobj = Py_None;
21752 return resultobj;
21753 fail:
21754 return NULL;
21755}
21756
21757
c32bde28 21758static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21759 PyObject *resultobj;
21760 wxListItem *arg1 = (wxListItem *) 0 ;
21761 long arg2 ;
21762 PyObject * obj0 = 0 ;
994141e6 21763 PyObject * obj1 = 0 ;
d14a1e28
RD
21764 char *kwnames[] = {
21765 (char *) "self",(char *) "mask", NULL
21766 };
21767
994141e6 21768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21770 if (SWIG_arg_fail(1)) SWIG_fail;
21771 {
21772 arg2 = (long)(SWIG_As_long(obj1));
21773 if (SWIG_arg_fail(2)) SWIG_fail;
21774 }
d14a1e28
RD
21775 {
21776 PyThreadState* __tstate = wxPyBeginAllowThreads();
21777 (arg1)->SetMask(arg2);
21778
21779 wxPyEndAllowThreads(__tstate);
21780 if (PyErr_Occurred()) SWIG_fail;
21781 }
21782 Py_INCREF(Py_None); resultobj = Py_None;
21783 return resultobj;
21784 fail:
21785 return NULL;
21786}
21787
21788
c32bde28 21789static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21790 PyObject *resultobj;
21791 wxListItem *arg1 = (wxListItem *) 0 ;
21792 long arg2 ;
21793 PyObject * obj0 = 0 ;
994141e6 21794 PyObject * obj1 = 0 ;
d14a1e28
RD
21795 char *kwnames[] = {
21796 (char *) "self",(char *) "id", NULL
21797 };
21798
994141e6 21799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21801 if (SWIG_arg_fail(1)) SWIG_fail;
21802 {
21803 arg2 = (long)(SWIG_As_long(obj1));
21804 if (SWIG_arg_fail(2)) SWIG_fail;
21805 }
d14a1e28
RD
21806 {
21807 PyThreadState* __tstate = wxPyBeginAllowThreads();
21808 (arg1)->SetId(arg2);
21809
21810 wxPyEndAllowThreads(__tstate);
21811 if (PyErr_Occurred()) SWIG_fail;
21812 }
21813 Py_INCREF(Py_None); resultobj = Py_None;
21814 return resultobj;
21815 fail:
21816 return NULL;
21817}
21818
21819
c32bde28 21820static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21821 PyObject *resultobj;
21822 wxListItem *arg1 = (wxListItem *) 0 ;
21823 int arg2 ;
21824 PyObject * obj0 = 0 ;
994141e6 21825 PyObject * obj1 = 0 ;
d14a1e28
RD
21826 char *kwnames[] = {
21827 (char *) "self",(char *) "col", NULL
21828 };
21829
994141e6 21830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21832 if (SWIG_arg_fail(1)) SWIG_fail;
21833 {
21834 arg2 = (int)(SWIG_As_int(obj1));
21835 if (SWIG_arg_fail(2)) SWIG_fail;
21836 }
d14a1e28
RD
21837 {
21838 PyThreadState* __tstate = wxPyBeginAllowThreads();
21839 (arg1)->SetColumn(arg2);
21840
21841 wxPyEndAllowThreads(__tstate);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 }
21844 Py_INCREF(Py_None); resultobj = Py_None;
21845 return resultobj;
21846 fail:
21847 return NULL;
21848}
21849
21850
c32bde28 21851static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21852 PyObject *resultobj;
21853 wxListItem *arg1 = (wxListItem *) 0 ;
21854 long arg2 ;
21855 PyObject * obj0 = 0 ;
994141e6 21856 PyObject * obj1 = 0 ;
d14a1e28
RD
21857 char *kwnames[] = {
21858 (char *) "self",(char *) "state", NULL
21859 };
21860
994141e6 21861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21863 if (SWIG_arg_fail(1)) SWIG_fail;
21864 {
21865 arg2 = (long)(SWIG_As_long(obj1));
21866 if (SWIG_arg_fail(2)) SWIG_fail;
21867 }
d14a1e28
RD
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
21870 (arg1)->SetState(arg2);
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 Py_INCREF(Py_None); resultobj = Py_None;
21876 return resultobj;
21877 fail:
21878 return NULL;
21879}
21880
21881
c32bde28 21882static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21883 PyObject *resultobj;
21884 wxListItem *arg1 = (wxListItem *) 0 ;
21885 long arg2 ;
21886 PyObject * obj0 = 0 ;
994141e6 21887 PyObject * obj1 = 0 ;
d14a1e28
RD
21888 char *kwnames[] = {
21889 (char *) "self",(char *) "stateMask", NULL
21890 };
21891
994141e6 21892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21894 if (SWIG_arg_fail(1)) SWIG_fail;
21895 {
21896 arg2 = (long)(SWIG_As_long(obj1));
21897 if (SWIG_arg_fail(2)) SWIG_fail;
21898 }
d14a1e28
RD
21899 {
21900 PyThreadState* __tstate = wxPyBeginAllowThreads();
21901 (arg1)->SetStateMask(arg2);
21902
21903 wxPyEndAllowThreads(__tstate);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 Py_INCREF(Py_None); resultobj = Py_None;
21907 return resultobj;
21908 fail:
21909 return NULL;
21910}
21911
21912
c32bde28 21913static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21914 PyObject *resultobj;
21915 wxListItem *arg1 = (wxListItem *) 0 ;
21916 wxString *arg2 = 0 ;
ae8162c8 21917 bool temp2 = false ;
d14a1e28
RD
21918 PyObject * obj0 = 0 ;
21919 PyObject * obj1 = 0 ;
21920 char *kwnames[] = {
21921 (char *) "self",(char *) "text", NULL
21922 };
21923
21924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21926 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21927 {
21928 arg2 = wxString_in_helper(obj1);
21929 if (arg2 == NULL) SWIG_fail;
ae8162c8 21930 temp2 = true;
d14a1e28
RD
21931 }
21932 {
21933 PyThreadState* __tstate = wxPyBeginAllowThreads();
21934 (arg1)->SetText((wxString const &)*arg2);
21935
21936 wxPyEndAllowThreads(__tstate);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 Py_INCREF(Py_None); resultobj = Py_None;
21940 {
21941 if (temp2)
21942 delete arg2;
21943 }
21944 return resultobj;
21945 fail:
21946 {
21947 if (temp2)
21948 delete arg2;
21949 }
21950 return NULL;
21951}
21952
21953
c32bde28 21954static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21955 PyObject *resultobj;
21956 wxListItem *arg1 = (wxListItem *) 0 ;
21957 int arg2 ;
21958 PyObject * obj0 = 0 ;
994141e6 21959 PyObject * obj1 = 0 ;
d14a1e28
RD
21960 char *kwnames[] = {
21961 (char *) "self",(char *) "image", NULL
21962 };
21963
994141e6 21964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21966 if (SWIG_arg_fail(1)) SWIG_fail;
21967 {
21968 arg2 = (int)(SWIG_As_int(obj1));
21969 if (SWIG_arg_fail(2)) SWIG_fail;
21970 }
d14a1e28
RD
21971 {
21972 PyThreadState* __tstate = wxPyBeginAllowThreads();
21973 (arg1)->SetImage(arg2);
21974
21975 wxPyEndAllowThreads(__tstate);
21976 if (PyErr_Occurred()) SWIG_fail;
21977 }
21978 Py_INCREF(Py_None); resultobj = Py_None;
21979 return resultobj;
21980 fail:
21981 return NULL;
21982}
21983
21984
c32bde28 21985static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21986 PyObject *resultobj;
21987 wxListItem *arg1 = (wxListItem *) 0 ;
21988 long arg2 ;
21989 PyObject * obj0 = 0 ;
994141e6 21990 PyObject * obj1 = 0 ;
d14a1e28
RD
21991 char *kwnames[] = {
21992 (char *) "self",(char *) "data", NULL
21993 };
21994
994141e6 21995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21997 if (SWIG_arg_fail(1)) SWIG_fail;
21998 {
21999 arg2 = (long)(SWIG_As_long(obj1));
22000 if (SWIG_arg_fail(2)) SWIG_fail;
22001 }
d14a1e28
RD
22002 {
22003 PyThreadState* __tstate = wxPyBeginAllowThreads();
22004 (arg1)->SetData(arg2);
22005
22006 wxPyEndAllowThreads(__tstate);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 }
22009 Py_INCREF(Py_None); resultobj = Py_None;
22010 return resultobj;
22011 fail:
22012 return NULL;
22013}
22014
22015
c32bde28 22016static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22017 PyObject *resultobj;
22018 wxListItem *arg1 = (wxListItem *) 0 ;
22019 int arg2 ;
22020 PyObject * obj0 = 0 ;
994141e6 22021 PyObject * obj1 = 0 ;
d14a1e28
RD
22022 char *kwnames[] = {
22023 (char *) "self",(char *) "width", NULL
22024 };
22025
994141e6 22026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22028 if (SWIG_arg_fail(1)) SWIG_fail;
22029 {
22030 arg2 = (int)(SWIG_As_int(obj1));
22031 if (SWIG_arg_fail(2)) SWIG_fail;
22032 }
d14a1e28
RD
22033 {
22034 PyThreadState* __tstate = wxPyBeginAllowThreads();
22035 (arg1)->SetWidth(arg2);
22036
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 Py_INCREF(Py_None); resultobj = Py_None;
22041 return resultobj;
22042 fail:
22043 return NULL;
22044}
22045
22046
c32bde28 22047static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22048 PyObject *resultobj;
22049 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 22050 wxListColumnFormat arg2 ;
d14a1e28 22051 PyObject * obj0 = 0 ;
994141e6 22052 PyObject * obj1 = 0 ;
d14a1e28
RD
22053 char *kwnames[] = {
22054 (char *) "self",(char *) "align", NULL
22055 };
22056
994141e6 22057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22059 if (SWIG_arg_fail(1)) SWIG_fail;
22060 {
22061 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22062 if (SWIG_arg_fail(2)) SWIG_fail;
22063 }
d14a1e28
RD
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 (arg1)->SetAlign((wxListColumnFormat )arg2);
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 Py_INCREF(Py_None); resultobj = Py_None;
22072 return resultobj;
22073 fail:
22074 return NULL;
22075}
22076
22077
c32bde28 22078static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22079 PyObject *resultobj;
22080 wxListItem *arg1 = (wxListItem *) 0 ;
22081 wxColour *arg2 = 0 ;
22082 wxColour temp2 ;
22083 PyObject * obj0 = 0 ;
22084 PyObject * obj1 = 0 ;
22085 char *kwnames[] = {
22086 (char *) "self",(char *) "colText", NULL
22087 };
22088
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22091 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22092 {
22093 arg2 = &temp2;
22094 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22095 }
22096 {
22097 PyThreadState* __tstate = wxPyBeginAllowThreads();
22098 (arg1)->SetTextColour((wxColour const &)*arg2);
22099
22100 wxPyEndAllowThreads(__tstate);
22101 if (PyErr_Occurred()) SWIG_fail;
22102 }
22103 Py_INCREF(Py_None); resultobj = Py_None;
22104 return resultobj;
22105 fail:
22106 return NULL;
22107}
22108
22109
c32bde28 22110static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22111 PyObject *resultobj;
22112 wxListItem *arg1 = (wxListItem *) 0 ;
22113 wxColour *arg2 = 0 ;
22114 wxColour temp2 ;
22115 PyObject * obj0 = 0 ;
22116 PyObject * obj1 = 0 ;
22117 char *kwnames[] = {
22118 (char *) "self",(char *) "colBack", NULL
22119 };
22120
22121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22123 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22124 {
22125 arg2 = &temp2;
22126 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22127 }
22128 {
22129 PyThreadState* __tstate = wxPyBeginAllowThreads();
22130 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22131
22132 wxPyEndAllowThreads(__tstate);
22133 if (PyErr_Occurred()) SWIG_fail;
22134 }
22135 Py_INCREF(Py_None); resultobj = Py_None;
22136 return resultobj;
22137 fail:
22138 return NULL;
22139}
22140
22141
c32bde28 22142static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22143 PyObject *resultobj;
22144 wxListItem *arg1 = (wxListItem *) 0 ;
22145 wxFont *arg2 = 0 ;
22146 PyObject * obj0 = 0 ;
22147 PyObject * obj1 = 0 ;
22148 char *kwnames[] = {
22149 (char *) "self",(char *) "font", NULL
22150 };
22151
22152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22154 if (SWIG_arg_fail(1)) SWIG_fail;
22155 {
22156 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22157 if (SWIG_arg_fail(2)) SWIG_fail;
22158 if (arg2 == NULL) {
22159 SWIG_null_ref("wxFont");
22160 }
22161 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22162 }
22163 {
22164 PyThreadState* __tstate = wxPyBeginAllowThreads();
22165 (arg1)->SetFont((wxFont const &)*arg2);
22166
22167 wxPyEndAllowThreads(__tstate);
22168 if (PyErr_Occurred()) SWIG_fail;
22169 }
22170 Py_INCREF(Py_None); resultobj = Py_None;
22171 return resultobj;
22172 fail:
22173 return NULL;
22174}
22175
22176
c32bde28 22177static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22178 PyObject *resultobj;
22179 wxListItem *arg1 = (wxListItem *) 0 ;
22180 long result;
22181 PyObject * obj0 = 0 ;
22182 char *kwnames[] = {
22183 (char *) "self", NULL
22184 };
22185
22186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
22187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22188 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 result = (long)(arg1)->GetMask();
22192
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
093d3ff1
RD
22196 {
22197 resultobj = SWIG_From_long((long)(result));
22198 }
d14a1e28
RD
22199 return resultobj;
22200 fail:
22201 return NULL;
22202}
22203
22204
c32bde28 22205static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22206 PyObject *resultobj;
22207 wxListItem *arg1 = (wxListItem *) 0 ;
22208 long result;
22209 PyObject * obj0 = 0 ;
22210 char *kwnames[] = {
22211 (char *) "self", NULL
22212 };
22213
22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22217 {
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
22219 result = (long)(arg1)->GetId();
22220
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
093d3ff1
RD
22224 {
22225 resultobj = SWIG_From_long((long)(result));
22226 }
d14a1e28
RD
22227 return resultobj;
22228 fail:
22229 return NULL;
22230}
22231
22232
c32bde28 22233static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22234 PyObject *resultobj;
22235 wxListItem *arg1 = (wxListItem *) 0 ;
22236 int result;
22237 PyObject * obj0 = 0 ;
22238 char *kwnames[] = {
22239 (char *) "self", NULL
22240 };
22241
22242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
22243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22244 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22245 {
22246 PyThreadState* __tstate = wxPyBeginAllowThreads();
22247 result = (int)(arg1)->GetColumn();
22248
22249 wxPyEndAllowThreads(__tstate);
22250 if (PyErr_Occurred()) SWIG_fail;
22251 }
093d3ff1
RD
22252 {
22253 resultobj = SWIG_From_int((int)(result));
22254 }
d14a1e28
RD
22255 return resultobj;
22256 fail:
22257 return NULL;
22258}
22259
22260
c32bde28 22261static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22262 PyObject *resultobj;
22263 wxListItem *arg1 = (wxListItem *) 0 ;
22264 long result;
22265 PyObject * obj0 = 0 ;
22266 char *kwnames[] = {
22267 (char *) "self", NULL
22268 };
22269
22270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
093d3ff1
RD
22271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22272 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22273 {
22274 PyThreadState* __tstate = wxPyBeginAllowThreads();
22275 result = (long)(arg1)->GetState();
22276
22277 wxPyEndAllowThreads(__tstate);
22278 if (PyErr_Occurred()) SWIG_fail;
22279 }
093d3ff1
RD
22280 {
22281 resultobj = SWIG_From_long((long)(result));
22282 }
d14a1e28
RD
22283 return resultobj;
22284 fail:
22285 return NULL;
22286}
22287
22288
c32bde28 22289static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22290 PyObject *resultobj;
22291 wxListItem *arg1 = (wxListItem *) 0 ;
22292 wxString *result;
22293 PyObject * obj0 = 0 ;
22294 char *kwnames[] = {
22295 (char *) "self", NULL
22296 };
22297
22298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
22299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22300 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22301 {
22302 PyThreadState* __tstate = wxPyBeginAllowThreads();
22303 {
22304 wxString const &_result_ref = (arg1)->GetText();
22305 result = (wxString *) &_result_ref;
22306 }
22307
22308 wxPyEndAllowThreads(__tstate);
22309 if (PyErr_Occurred()) SWIG_fail;
22310 }
cc6dd355
RD
22311 {
22312#if wxUSE_UNICODE
22313 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22314#else
22315 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22316#endif
22317 }
d14a1e28
RD
22318 return resultobj;
22319 fail:
22320 return NULL;
22321}
22322
22323
c32bde28 22324static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22325 PyObject *resultobj;
22326 wxListItem *arg1 = (wxListItem *) 0 ;
22327 int result;
22328 PyObject * obj0 = 0 ;
22329 char *kwnames[] = {
22330 (char *) "self", NULL
22331 };
22332
22333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
22334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22335 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22336 {
22337 PyThreadState* __tstate = wxPyBeginAllowThreads();
22338 result = (int)(arg1)->GetImage();
22339
22340 wxPyEndAllowThreads(__tstate);
22341 if (PyErr_Occurred()) SWIG_fail;
22342 }
093d3ff1
RD
22343 {
22344 resultobj = SWIG_From_int((int)(result));
22345 }
d14a1e28
RD
22346 return resultobj;
22347 fail:
22348 return NULL;
22349}
22350
22351
c32bde28 22352static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22353 PyObject *resultobj;
22354 wxListItem *arg1 = (wxListItem *) 0 ;
22355 long result;
22356 PyObject * obj0 = 0 ;
22357 char *kwnames[] = {
22358 (char *) "self", NULL
22359 };
22360
22361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22363 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22364 {
22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
22366 result = (long)(arg1)->GetData();
22367
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
093d3ff1
RD
22371 {
22372 resultobj = SWIG_From_long((long)(result));
22373 }
d14a1e28
RD
22374 return resultobj;
22375 fail:
22376 return NULL;
22377}
22378
22379
c32bde28 22380static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22381 PyObject *resultobj;
22382 wxListItem *arg1 = (wxListItem *) 0 ;
22383 int result;
22384 PyObject * obj0 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
22390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22391 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22392 {
22393 PyThreadState* __tstate = wxPyBeginAllowThreads();
22394 result = (int)(arg1)->GetWidth();
22395
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
093d3ff1
RD
22399 {
22400 resultobj = SWIG_From_int((int)(result));
22401 }
d14a1e28
RD
22402 return resultobj;
22403 fail:
22404 return NULL;
22405}
22406
22407
c32bde28 22408static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22409 PyObject *resultobj;
22410 wxListItem *arg1 = (wxListItem *) 0 ;
093d3ff1 22411 wxListColumnFormat result;
d14a1e28
RD
22412 PyObject * obj0 = 0 ;
22413 char *kwnames[] = {
22414 (char *) "self", NULL
22415 };
22416
22417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
093d3ff1
RD
22418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22419 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22420 {
22421 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22422 result = (wxListColumnFormat)(arg1)->GetAlign();
d14a1e28
RD
22423
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
093d3ff1 22427 resultobj = SWIG_From_int((result));
d14a1e28
RD
22428 return resultobj;
22429 fail:
22430 return NULL;
22431}
22432
22433
c32bde28 22434static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22435 PyObject *resultobj;
22436 wxListItem *arg1 = (wxListItem *) 0 ;
22437 wxListItemAttr *result;
22438 PyObject * obj0 = 0 ;
22439 char *kwnames[] = {
22440 (char *) "self", NULL
22441 };
22442
22443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22445 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22446 {
22447 PyThreadState* __tstate = wxPyBeginAllowThreads();
22448 result = (wxListItemAttr *)(arg1)->GetAttributes();
22449
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
15afbcd0 22453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
d14a1e28
RD
22454 return resultobj;
22455 fail:
22456 return NULL;
22457}
22458
22459
c32bde28 22460static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22461 PyObject *resultobj;
22462 wxListItem *arg1 = (wxListItem *) 0 ;
22463 bool result;
22464 PyObject * obj0 = 0 ;
22465 char *kwnames[] = {
22466 (char *) "self", NULL
22467 };
22468
22469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
22470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22471 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22472 {
22473 PyThreadState* __tstate = wxPyBeginAllowThreads();
22474 result = (bool)(arg1)->HasAttributes();
22475
22476 wxPyEndAllowThreads(__tstate);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 }
4f89f6a3
RD
22479 {
22480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22481 }
d14a1e28
RD
22482 return resultobj;
22483 fail:
22484 return NULL;
22485}
22486
22487
c32bde28 22488static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22489 PyObject *resultobj;
22490 wxListItem *arg1 = (wxListItem *) 0 ;
22491 wxColour result;
22492 PyObject * obj0 = 0 ;
22493 char *kwnames[] = {
22494 (char *) "self", NULL
22495 };
22496
22497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22499 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22500 {
22501 PyThreadState* __tstate = wxPyBeginAllowThreads();
22502 result = ((wxListItem const *)arg1)->GetTextColour();
22503
22504 wxPyEndAllowThreads(__tstate);
22505 if (PyErr_Occurred()) SWIG_fail;
22506 }
22507 {
22508 wxColour * resultptr;
093d3ff1 22509 resultptr = new wxColour((wxColour &)(result));
15afbcd0 22510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22511 }
22512 return resultobj;
22513 fail:
22514 return NULL;
22515}
22516
22517
c32bde28 22518static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22519 PyObject *resultobj;
22520 wxListItem *arg1 = (wxListItem *) 0 ;
22521 wxColour result;
22522 PyObject * obj0 = 0 ;
22523 char *kwnames[] = {
22524 (char *) "self", NULL
22525 };
22526
22527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
22528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22529 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22530 {
22531 PyThreadState* __tstate = wxPyBeginAllowThreads();
22532 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22533
22534 wxPyEndAllowThreads(__tstate);
22535 if (PyErr_Occurred()) SWIG_fail;
22536 }
22537 {
22538 wxColour * resultptr;
093d3ff1 22539 resultptr = new wxColour((wxColour &)(result));
15afbcd0 22540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22541 }
22542 return resultobj;
22543 fail:
22544 return NULL;
22545}
22546
22547
c32bde28 22548static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22549 PyObject *resultobj;
22550 wxListItem *arg1 = (wxListItem *) 0 ;
22551 wxFont result;
22552 PyObject * obj0 = 0 ;
22553 char *kwnames[] = {
22554 (char *) "self", NULL
22555 };
22556
22557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
22558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22559 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22560 {
22561 PyThreadState* __tstate = wxPyBeginAllowThreads();
22562 result = ((wxListItem const *)arg1)->GetFont();
22563
22564 wxPyEndAllowThreads(__tstate);
22565 if (PyErr_Occurred()) SWIG_fail;
22566 }
22567 {
22568 wxFont * resultptr;
093d3ff1 22569 resultptr = new wxFont((wxFont &)(result));
15afbcd0 22570 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
22571 }
22572 return resultobj;
22573 fail:
22574 return NULL;
22575}
22576
22577
c32bde28 22578static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22579 PyObject *resultobj;
22580 wxListItem *arg1 = (wxListItem *) 0 ;
22581 long arg2 ;
22582 PyObject * obj0 = 0 ;
994141e6 22583 PyObject * obj1 = 0 ;
d14a1e28
RD
22584 char *kwnames[] = {
22585 (char *) "self",(char *) "m_mask", NULL
22586 };
22587
994141e6 22588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22590 if (SWIG_arg_fail(1)) SWIG_fail;
22591 {
22592 arg2 = (long)(SWIG_As_long(obj1));
22593 if (SWIG_arg_fail(2)) SWIG_fail;
22594 }
d14a1e28
RD
22595 if (arg1) (arg1)->m_mask = arg2;
22596
22597 Py_INCREF(Py_None); resultobj = Py_None;
22598 return resultobj;
22599 fail:
22600 return NULL;
22601}
22602
22603
c32bde28 22604static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22605 PyObject *resultobj;
22606 wxListItem *arg1 = (wxListItem *) 0 ;
22607 long result;
22608 PyObject * obj0 = 0 ;
22609 char *kwnames[] = {
22610 (char *) "self", NULL
22611 };
22612
22613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22615 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22616 result = (long) ((arg1)->m_mask);
22617
093d3ff1
RD
22618 {
22619 resultobj = SWIG_From_long((long)(result));
22620 }
d14a1e28
RD
22621 return resultobj;
22622 fail:
22623 return NULL;
22624}
22625
22626
c32bde28 22627static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22628 PyObject *resultobj;
22629 wxListItem *arg1 = (wxListItem *) 0 ;
22630 long arg2 ;
22631 PyObject * obj0 = 0 ;
994141e6 22632 PyObject * obj1 = 0 ;
d14a1e28
RD
22633 char *kwnames[] = {
22634 (char *) "self",(char *) "m_itemId", NULL
22635 };
22636
994141e6 22637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22639 if (SWIG_arg_fail(1)) SWIG_fail;
22640 {
22641 arg2 = (long)(SWIG_As_long(obj1));
22642 if (SWIG_arg_fail(2)) SWIG_fail;
22643 }
d14a1e28
RD
22644 if (arg1) (arg1)->m_itemId = arg2;
22645
22646 Py_INCREF(Py_None); resultobj = Py_None;
22647 return resultobj;
22648 fail:
22649 return NULL;
22650}
22651
22652
c32bde28 22653static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22654 PyObject *resultobj;
22655 wxListItem *arg1 = (wxListItem *) 0 ;
22656 long result;
22657 PyObject * obj0 = 0 ;
22658 char *kwnames[] = {
22659 (char *) "self", NULL
22660 };
22661
22662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) 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;
d14a1e28
RD
22665 result = (long) ((arg1)->m_itemId);
22666
093d3ff1
RD
22667 {
22668 resultobj = SWIG_From_long((long)(result));
22669 }
d14a1e28
RD
22670 return resultobj;
22671 fail:
22672 return NULL;
22673}
22674
22675
c32bde28 22676static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22677 PyObject *resultobj;
22678 wxListItem *arg1 = (wxListItem *) 0 ;
22679 int arg2 ;
22680 PyObject * obj0 = 0 ;
994141e6 22681 PyObject * obj1 = 0 ;
d14a1e28
RD
22682 char *kwnames[] = {
22683 (char *) "self",(char *) "m_col", NULL
22684 };
22685
994141e6 22686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22688 if (SWIG_arg_fail(1)) SWIG_fail;
22689 {
22690 arg2 = (int)(SWIG_As_int(obj1));
22691 if (SWIG_arg_fail(2)) SWIG_fail;
22692 }
d14a1e28
RD
22693 if (arg1) (arg1)->m_col = arg2;
22694
22695 Py_INCREF(Py_None); resultobj = Py_None;
22696 return resultobj;
22697 fail:
22698 return NULL;
22699}
22700
22701
c32bde28 22702static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22703 PyObject *resultobj;
22704 wxListItem *arg1 = (wxListItem *) 0 ;
22705 int result;
22706 PyObject * obj0 = 0 ;
22707 char *kwnames[] = {
22708 (char *) "self", NULL
22709 };
22710
22711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) 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;
d14a1e28
RD
22714 result = (int) ((arg1)->m_col);
22715
093d3ff1
RD
22716 {
22717 resultobj = SWIG_From_int((int)(result));
22718 }
d14a1e28
RD
22719 return resultobj;
22720 fail:
22721 return NULL;
22722}
22723
22724
c32bde28 22725static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22726 PyObject *resultobj;
22727 wxListItem *arg1 = (wxListItem *) 0 ;
22728 long arg2 ;
22729 PyObject * obj0 = 0 ;
994141e6 22730 PyObject * obj1 = 0 ;
d14a1e28
RD
22731 char *kwnames[] = {
22732 (char *) "self",(char *) "m_state", NULL
22733 };
22734
994141e6 22735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22737 if (SWIG_arg_fail(1)) SWIG_fail;
22738 {
22739 arg2 = (long)(SWIG_As_long(obj1));
22740 if (SWIG_arg_fail(2)) SWIG_fail;
22741 }
d14a1e28
RD
22742 if (arg1) (arg1)->m_state = arg2;
22743
22744 Py_INCREF(Py_None); resultobj = Py_None;
22745 return resultobj;
22746 fail:
22747 return NULL;
22748}
22749
22750
c32bde28 22751static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22752 PyObject *resultobj;
22753 wxListItem *arg1 = (wxListItem *) 0 ;
22754 long result;
22755 PyObject * obj0 = 0 ;
22756 char *kwnames[] = {
22757 (char *) "self", NULL
22758 };
22759
22760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) 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;
d14a1e28
RD
22763 result = (long) ((arg1)->m_state);
22764
093d3ff1
RD
22765 {
22766 resultobj = SWIG_From_long((long)(result));
22767 }
d14a1e28
RD
22768 return resultobj;
22769 fail:
22770 return NULL;
22771}
22772
22773
c32bde28 22774static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22775 PyObject *resultobj;
22776 wxListItem *arg1 = (wxListItem *) 0 ;
22777 long arg2 ;
22778 PyObject * obj0 = 0 ;
994141e6 22779 PyObject * obj1 = 0 ;
d14a1e28
RD
22780 char *kwnames[] = {
22781 (char *) "self",(char *) "m_stateMask", NULL
22782 };
22783
994141e6 22784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22786 if (SWIG_arg_fail(1)) SWIG_fail;
22787 {
22788 arg2 = (long)(SWIG_As_long(obj1));
22789 if (SWIG_arg_fail(2)) SWIG_fail;
22790 }
d14a1e28
RD
22791 if (arg1) (arg1)->m_stateMask = arg2;
22792
22793 Py_INCREF(Py_None); resultobj = Py_None;
22794 return resultobj;
22795 fail:
22796 return NULL;
22797}
22798
22799
c32bde28 22800static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22801 PyObject *resultobj;
22802 wxListItem *arg1 = (wxListItem *) 0 ;
22803 long result;
22804 PyObject * obj0 = 0 ;
22805 char *kwnames[] = {
22806 (char *) "self", NULL
22807 };
22808
22809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22812 result = (long) ((arg1)->m_stateMask);
22813
093d3ff1
RD
22814 {
22815 resultobj = SWIG_From_long((long)(result));
22816 }
d14a1e28
RD
22817 return resultobj;
22818 fail:
22819 return NULL;
22820}
22821
22822
c32bde28 22823static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22824 PyObject *resultobj;
22825 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 22826 wxString *arg2 = (wxString *) 0 ;
ae8162c8 22827 bool temp2 = false ;
d14a1e28
RD
22828 PyObject * obj0 = 0 ;
22829 PyObject * obj1 = 0 ;
22830 char *kwnames[] = {
22831 (char *) "self",(char *) "m_text", NULL
22832 };
22833
22834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22836 if (SWIG_arg_fail(1)) SWIG_fail;
7eae615b
RD
22837 {
22838 arg2 = wxString_in_helper(obj1);
22839 if (arg2 == NULL) SWIG_fail;
ae8162c8 22840 temp2 = true;
7eae615b 22841 }
196addbf 22842 if (arg1) (arg1)->m_text = *arg2;
d14a1e28
RD
22843
22844 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
22845 {
22846 if (temp2)
22847 delete arg2;
22848 }
d14a1e28
RD
22849 return resultobj;
22850 fail:
7eae615b
RD
22851 {
22852 if (temp2)
22853 delete arg2;
22854 }
d14a1e28
RD
22855 return NULL;
22856}
22857
22858
c32bde28 22859static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22860 PyObject *resultobj;
22861 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 22862 wxString *result;
d14a1e28
RD
22863 PyObject * obj0 = 0 ;
22864 char *kwnames[] = {
22865 (char *) "self", NULL
22866 };
22867
22868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
22869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22870 if (SWIG_arg_fail(1)) SWIG_fail;
196addbf 22871 result = (wxString *)& ((arg1)->m_text);
d14a1e28
RD
22872
22873 {
22874#if wxUSE_UNICODE
196addbf 22875 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 22876#else
196addbf 22877 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
22878#endif
22879 }
22880 return resultobj;
22881 fail:
22882 return NULL;
22883}
22884
22885
c32bde28 22886static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22887 PyObject *resultobj;
22888 wxListItem *arg1 = (wxListItem *) 0 ;
22889 int arg2 ;
22890 PyObject * obj0 = 0 ;
994141e6 22891 PyObject * obj1 = 0 ;
d14a1e28
RD
22892 char *kwnames[] = {
22893 (char *) "self",(char *) "m_image", NULL
22894 };
22895
994141e6 22896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail;
22899 {
22900 arg2 = (int)(SWIG_As_int(obj1));
22901 if (SWIG_arg_fail(2)) SWIG_fail;
22902 }
d14a1e28
RD
22903 if (arg1) (arg1)->m_image = arg2;
22904
22905 Py_INCREF(Py_None); resultobj = Py_None;
22906 return resultobj;
22907 fail:
22908 return NULL;
22909}
22910
22911
c32bde28 22912static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22913 PyObject *resultobj;
22914 wxListItem *arg1 = (wxListItem *) 0 ;
22915 int result;
22916 PyObject * obj0 = 0 ;
22917 char *kwnames[] = {
22918 (char *) "self", NULL
22919 };
22920
22921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) 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;
d14a1e28
RD
22924 result = (int) ((arg1)->m_image);
22925
093d3ff1
RD
22926 {
22927 resultobj = SWIG_From_int((int)(result));
22928 }
d14a1e28
RD
22929 return resultobj;
22930 fail:
22931 return NULL;
22932}
22933
22934
c32bde28 22935static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22936 PyObject *resultobj;
22937 wxListItem *arg1 = (wxListItem *) 0 ;
22938 long arg2 ;
22939 PyObject * obj0 = 0 ;
994141e6 22940 PyObject * obj1 = 0 ;
d14a1e28
RD
22941 char *kwnames[] = {
22942 (char *) "self",(char *) "m_data", NULL
22943 };
22944
994141e6 22945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22947 if (SWIG_arg_fail(1)) SWIG_fail;
22948 {
22949 arg2 = (long)(SWIG_As_long(obj1));
22950 if (SWIG_arg_fail(2)) SWIG_fail;
22951 }
d14a1e28
RD
22952 if (arg1) (arg1)->m_data = arg2;
22953
22954 Py_INCREF(Py_None); resultobj = Py_None;
22955 return resultobj;
22956 fail:
22957 return NULL;
22958}
22959
22960
c32bde28 22961static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22962 PyObject *resultobj;
22963 wxListItem *arg1 = (wxListItem *) 0 ;
22964 long result;
22965 PyObject * obj0 = 0 ;
22966 char *kwnames[] = {
22967 (char *) "self", NULL
22968 };
22969
22970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) 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;
d14a1e28
RD
22973 result = (long) ((arg1)->m_data);
22974
093d3ff1
RD
22975 {
22976 resultobj = SWIG_From_long((long)(result));
22977 }
d14a1e28
RD
22978 return resultobj;
22979 fail:
22980 return NULL;
22981}
22982
22983
c32bde28 22984static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22985 PyObject *resultobj;
22986 wxListItem *arg1 = (wxListItem *) 0 ;
22987 int arg2 ;
22988 PyObject * obj0 = 0 ;
994141e6 22989 PyObject * obj1 = 0 ;
d14a1e28
RD
22990 char *kwnames[] = {
22991 (char *) "self",(char *) "m_format", NULL
22992 };
22993
994141e6 22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22996 if (SWIG_arg_fail(1)) SWIG_fail;
22997 {
22998 arg2 = (int)(SWIG_As_int(obj1));
22999 if (SWIG_arg_fail(2)) SWIG_fail;
23000 }
d14a1e28
RD
23001 if (arg1) (arg1)->m_format = arg2;
23002
23003 Py_INCREF(Py_None); resultobj = Py_None;
23004 return resultobj;
23005 fail:
23006 return NULL;
23007}
23008
23009
c32bde28 23010static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23011 PyObject *resultobj;
23012 wxListItem *arg1 = (wxListItem *) 0 ;
23013 int result;
23014 PyObject * obj0 = 0 ;
23015 char *kwnames[] = {
23016 (char *) "self", NULL
23017 };
23018
23019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) 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;
d14a1e28
RD
23022 result = (int) ((arg1)->m_format);
23023
093d3ff1
RD
23024 {
23025 resultobj = SWIG_From_int((int)(result));
23026 }
d14a1e28
RD
23027 return resultobj;
23028 fail:
23029 return NULL;
23030}
23031
23032
c32bde28 23033static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23034 PyObject *resultobj;
23035 wxListItem *arg1 = (wxListItem *) 0 ;
23036 int arg2 ;
23037 PyObject * obj0 = 0 ;
994141e6 23038 PyObject * obj1 = 0 ;
d14a1e28
RD
23039 char *kwnames[] = {
23040 (char *) "self",(char *) "m_width", NULL
23041 };
23042
994141e6 23043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23045 if (SWIG_arg_fail(1)) SWIG_fail;
23046 {
23047 arg2 = (int)(SWIG_As_int(obj1));
23048 if (SWIG_arg_fail(2)) SWIG_fail;
23049 }
d14a1e28
RD
23050 if (arg1) (arg1)->m_width = arg2;
23051
23052 Py_INCREF(Py_None); resultobj = Py_None;
23053 return resultobj;
23054 fail:
23055 return NULL;
23056}
23057
23058
c32bde28 23059static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23060 PyObject *resultobj;
23061 wxListItem *arg1 = (wxListItem *) 0 ;
23062 int result;
23063 PyObject * obj0 = 0 ;
23064 char *kwnames[] = {
23065 (char *) "self", NULL
23066 };
23067
23068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23070 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23071 result = (int) ((arg1)->m_width);
23072
093d3ff1
RD
23073 {
23074 resultobj = SWIG_From_int((int)(result));
23075 }
d14a1e28
RD
23076 return resultobj;
23077 fail:
23078 return NULL;
23079}
23080
23081
c32bde28 23082static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23083 PyObject *obj;
23084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23085 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23086 Py_INCREF(obj);
23087 return Py_BuildValue((char *)"");
23088}
c32bde28 23089static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23090 PyObject *resultobj;
23091 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23092 int arg2 = (int) 0 ;
23093 wxListEvent *result;
994141e6
RD
23094 PyObject * obj0 = 0 ;
23095 PyObject * obj1 = 0 ;
d14a1e28
RD
23096 char *kwnames[] = {
23097 (char *) "commandType",(char *) "id", NULL
23098 };
23099
994141e6
RD
23100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23101 if (obj0) {
093d3ff1
RD
23102 {
23103 arg1 = (wxEventType)(SWIG_As_int(obj0));
23104 if (SWIG_arg_fail(1)) SWIG_fail;
23105 }
994141e6
RD
23106 }
23107 if (obj1) {
093d3ff1
RD
23108 {
23109 arg2 = (int)(SWIG_As_int(obj1));
23110 if (SWIG_arg_fail(2)) SWIG_fail;
23111 }
994141e6 23112 }
d14a1e28
RD
23113 {
23114 PyThreadState* __tstate = wxPyBeginAllowThreads();
23115 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23116
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
15afbcd0 23120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
d14a1e28
RD
23121 return resultobj;
23122 fail:
23123 return NULL;
23124}
23125
23126
c32bde28 23127static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23128 PyObject *resultobj;
23129 wxListEvent *arg1 = (wxListEvent *) 0 ;
23130 int arg2 ;
23131 PyObject * obj0 = 0 ;
994141e6 23132 PyObject * obj1 = 0 ;
d14a1e28
RD
23133 char *kwnames[] = {
23134 (char *) "self",(char *) "m_code", NULL
23135 };
23136
994141e6 23137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23139 if (SWIG_arg_fail(1)) SWIG_fail;
23140 {
23141 arg2 = (int)(SWIG_As_int(obj1));
23142 if (SWIG_arg_fail(2)) SWIG_fail;
23143 }
d14a1e28
RD
23144 if (arg1) (arg1)->m_code = arg2;
23145
23146 Py_INCREF(Py_None); resultobj = Py_None;
23147 return resultobj;
23148 fail:
23149 return NULL;
23150}
23151
23152
c32bde28 23153static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23154 PyObject *resultobj;
23155 wxListEvent *arg1 = (wxListEvent *) 0 ;
23156 int result;
23157 PyObject * obj0 = 0 ;
23158 char *kwnames[] = {
23159 (char *) "self", NULL
23160 };
23161
23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) 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;
d14a1e28
RD
23165 result = (int) ((arg1)->m_code);
23166
093d3ff1
RD
23167 {
23168 resultobj = SWIG_From_int((int)(result));
23169 }
d14a1e28
RD
23170 return resultobj;
23171 fail:
23172 return NULL;
23173}
23174
23175
c32bde28 23176static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23177 PyObject *resultobj;
23178 wxListEvent *arg1 = (wxListEvent *) 0 ;
23179 long arg2 ;
23180 PyObject * obj0 = 0 ;
994141e6 23181 PyObject * obj1 = 0 ;
d14a1e28
RD
23182 char *kwnames[] = {
23183 (char *) "self",(char *) "m_oldItemIndex", NULL
23184 };
23185
994141e6 23186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23188 if (SWIG_arg_fail(1)) SWIG_fail;
23189 {
23190 arg2 = (long)(SWIG_As_long(obj1));
23191 if (SWIG_arg_fail(2)) SWIG_fail;
23192 }
d14a1e28
RD
23193 if (arg1) (arg1)->m_oldItemIndex = arg2;
23194
23195 Py_INCREF(Py_None); resultobj = Py_None;
23196 return resultobj;
23197 fail:
23198 return NULL;
23199}
23200
23201
c32bde28 23202static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23203 PyObject *resultobj;
23204 wxListEvent *arg1 = (wxListEvent *) 0 ;
23205 long result;
23206 PyObject * obj0 = 0 ;
23207 char *kwnames[] = {
23208 (char *) "self", NULL
23209 };
23210
23211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) 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;
d14a1e28
RD
23214 result = (long) ((arg1)->m_oldItemIndex);
23215
093d3ff1
RD
23216 {
23217 resultobj = SWIG_From_long((long)(result));
23218 }
d14a1e28
RD
23219 return resultobj;
23220 fail:
23221 return NULL;
23222}
23223
23224
c32bde28 23225static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23226 PyObject *resultobj;
23227 wxListEvent *arg1 = (wxListEvent *) 0 ;
23228 long arg2 ;
23229 PyObject * obj0 = 0 ;
994141e6 23230 PyObject * obj1 = 0 ;
d14a1e28
RD
23231 char *kwnames[] = {
23232 (char *) "self",(char *) "m_itemIndex", NULL
23233 };
23234
994141e6 23235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23237 if (SWIG_arg_fail(1)) SWIG_fail;
23238 {
23239 arg2 = (long)(SWIG_As_long(obj1));
23240 if (SWIG_arg_fail(2)) SWIG_fail;
23241 }
d14a1e28
RD
23242 if (arg1) (arg1)->m_itemIndex = arg2;
23243
23244 Py_INCREF(Py_None); resultobj = Py_None;
23245 return resultobj;
23246 fail:
23247 return NULL;
23248}
23249
23250
c32bde28 23251static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23252 PyObject *resultobj;
23253 wxListEvent *arg1 = (wxListEvent *) 0 ;
23254 long result;
23255 PyObject * obj0 = 0 ;
23256 char *kwnames[] = {
23257 (char *) "self", NULL
23258 };
23259
23260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) 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;
d14a1e28
RD
23263 result = (long) ((arg1)->m_itemIndex);
23264
093d3ff1
RD
23265 {
23266 resultobj = SWIG_From_long((long)(result));
23267 }
d14a1e28
RD
23268 return resultobj;
23269 fail:
23270 return NULL;
23271}
23272
23273
c32bde28 23274static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23275 PyObject *resultobj;
23276 wxListEvent *arg1 = (wxListEvent *) 0 ;
23277 int arg2 ;
23278 PyObject * obj0 = 0 ;
994141e6 23279 PyObject * obj1 = 0 ;
d14a1e28
RD
23280 char *kwnames[] = {
23281 (char *) "self",(char *) "m_col", NULL
23282 };
23283
994141e6 23284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23286 if (SWIG_arg_fail(1)) SWIG_fail;
23287 {
23288 arg2 = (int)(SWIG_As_int(obj1));
23289 if (SWIG_arg_fail(2)) SWIG_fail;
23290 }
d14a1e28
RD
23291 if (arg1) (arg1)->m_col = arg2;
23292
23293 Py_INCREF(Py_None); resultobj = Py_None;
23294 return resultobj;
23295 fail:
23296 return NULL;
23297}
23298
23299
c32bde28 23300static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23301 PyObject *resultobj;
23302 wxListEvent *arg1 = (wxListEvent *) 0 ;
23303 int result;
23304 PyObject * obj0 = 0 ;
23305 char *kwnames[] = {
23306 (char *) "self", NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) 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;
d14a1e28
RD
23312 result = (int) ((arg1)->m_col);
23313
093d3ff1
RD
23314 {
23315 resultobj = SWIG_From_int((int)(result));
23316 }
d14a1e28
RD
23317 return resultobj;
23318 fail:
23319 return NULL;
23320}
23321
23322
c32bde28 23323static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23324 PyObject *resultobj;
23325 wxListEvent *arg1 = (wxListEvent *) 0 ;
23326 wxPoint *arg2 = (wxPoint *) 0 ;
23327 PyObject * obj0 = 0 ;
23328 PyObject * obj1 = 0 ;
23329 char *kwnames[] = {
23330 (char *) "self",(char *) "m_pointDrag", NULL
23331 };
23332
23333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23335 if (SWIG_arg_fail(1)) SWIG_fail;
23336 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23337 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23338 if (arg1) (arg1)->m_pointDrag = *arg2;
23339
23340 Py_INCREF(Py_None); resultobj = Py_None;
23341 return resultobj;
23342 fail:
23343 return NULL;
23344}
23345
23346
c32bde28 23347static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23348 PyObject *resultobj;
23349 wxListEvent *arg1 = (wxListEvent *) 0 ;
23350 wxPoint *result;
23351 PyObject * obj0 = 0 ;
23352 char *kwnames[] = {
23353 (char *) "self", NULL
23354 };
23355
23356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23358 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23359 result = (wxPoint *)& ((arg1)->m_pointDrag);
23360
15afbcd0 23361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
23362 return resultobj;
23363 fail:
23364 return NULL;
23365}
23366
23367
c32bde28 23368static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23369 PyObject *resultobj;
23370 wxListEvent *arg1 = (wxListEvent *) 0 ;
23371 wxListItem *result;
23372 PyObject * obj0 = 0 ;
23373 char *kwnames[] = {
23374 (char *) "self", NULL
23375 };
23376
23377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
23378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23379 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23380 result = (wxListItem *)& ((arg1)->m_item);
23381
23382 {
412d302d 23383 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
23384 }
23385 return resultobj;
23386 fail:
23387 return NULL;
23388}
23389
23390
c32bde28 23391static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23392 PyObject *resultobj;
23393 wxListEvent *arg1 = (wxListEvent *) 0 ;
23394 int result;
23395 PyObject * obj0 = 0 ;
23396 char *kwnames[] = {
23397 (char *) "self", NULL
23398 };
23399
23400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
23401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23402 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 result = (int)(arg1)->GetKeyCode();
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
093d3ff1
RD
23410 {
23411 resultobj = SWIG_From_int((int)(result));
23412 }
d14a1e28
RD
23413 return resultobj;
23414 fail:
23415 return NULL;
23416}
23417
23418
c32bde28 23419static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23420 PyObject *resultobj;
23421 wxListEvent *arg1 = (wxListEvent *) 0 ;
23422 long result;
23423 PyObject * obj0 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "self", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
23429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23430 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 result = (long)(arg1)->GetIndex();
23434
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
093d3ff1
RD
23438 {
23439 resultobj = SWIG_From_long((long)(result));
23440 }
d14a1e28
RD
23441 return resultobj;
23442 fail:
23443 return NULL;
23444}
23445
23446
c32bde28 23447static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23448 PyObject *resultobj;
23449 wxListEvent *arg1 = (wxListEvent *) 0 ;
23450 int result;
23451 PyObject * obj0 = 0 ;
23452 char *kwnames[] = {
23453 (char *) "self", NULL
23454 };
23455
23456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
23457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23458 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23459 {
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 result = (int)(arg1)->GetColumn();
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
093d3ff1
RD
23466 {
23467 resultobj = SWIG_From_int((int)(result));
23468 }
d14a1e28
RD
23469 return resultobj;
23470 fail:
23471 return NULL;
23472}
23473
23474
c32bde28 23475static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23476 PyObject *resultobj;
23477 wxListEvent *arg1 = (wxListEvent *) 0 ;
23478 wxPoint result;
23479 PyObject * obj0 = 0 ;
23480 char *kwnames[] = {
23481 (char *) "self", NULL
23482 };
23483
23484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
23485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23486 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23487 {
23488 PyThreadState* __tstate = wxPyBeginAllowThreads();
23489 result = (arg1)->GetPoint();
23490
23491 wxPyEndAllowThreads(__tstate);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 {
23495 wxPoint * resultptr;
093d3ff1 23496 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 23497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
23498 }
23499 return resultobj;
23500 fail:
23501 return NULL;
23502}
23503
23504
c32bde28 23505static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23506 PyObject *resultobj;
23507 wxListEvent *arg1 = (wxListEvent *) 0 ;
23508 wxString *result;
23509 PyObject * obj0 = 0 ;
23510 char *kwnames[] = {
23511 (char *) "self", NULL
23512 };
23513
23514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
23515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23516 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23517 {
23518 PyThreadState* __tstate = wxPyBeginAllowThreads();
23519 {
23520 wxString const &_result_ref = (arg1)->GetLabel();
23521 result = (wxString *) &_result_ref;
23522 }
23523
23524 wxPyEndAllowThreads(__tstate);
23525 if (PyErr_Occurred()) SWIG_fail;
23526 }
cc6dd355
RD
23527 {
23528#if wxUSE_UNICODE
23529 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23530#else
23531 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23532#endif
23533 }
d14a1e28
RD
23534 return resultobj;
23535 fail:
23536 return NULL;
23537}
23538
23539
c32bde28 23540static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23541 PyObject *resultobj;
23542 wxListEvent *arg1 = (wxListEvent *) 0 ;
23543 wxString *result;
23544 PyObject * obj0 = 0 ;
23545 char *kwnames[] = {
23546 (char *) "self", NULL
23547 };
23548
23549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
23550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23551 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23552 {
23553 PyThreadState* __tstate = wxPyBeginAllowThreads();
23554 {
23555 wxString const &_result_ref = (arg1)->GetText();
23556 result = (wxString *) &_result_ref;
23557 }
23558
23559 wxPyEndAllowThreads(__tstate);
23560 if (PyErr_Occurred()) SWIG_fail;
23561 }
cc6dd355
RD
23562 {
23563#if wxUSE_UNICODE
23564 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23565#else
23566 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23567#endif
23568 }
d14a1e28
RD
23569 return resultobj;
23570 fail:
23571 return NULL;
23572}
23573
23574
c32bde28 23575static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23576 PyObject *resultobj;
23577 wxListEvent *arg1 = (wxListEvent *) 0 ;
23578 int result;
23579 PyObject * obj0 = 0 ;
23580 char *kwnames[] = {
23581 (char *) "self", NULL
23582 };
23583
23584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23586 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 result = (int)(arg1)->GetImage();
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
093d3ff1
RD
23594 {
23595 resultobj = SWIG_From_int((int)(result));
23596 }
d14a1e28
RD
23597 return resultobj;
23598 fail:
23599 return NULL;
23600}
23601
23602
c32bde28 23603static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23604 PyObject *resultobj;
23605 wxListEvent *arg1 = (wxListEvent *) 0 ;
23606 long result;
23607 PyObject * obj0 = 0 ;
23608 char *kwnames[] = {
23609 (char *) "self", NULL
23610 };
23611
23612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23614 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 result = (long)(arg1)->GetData();
23618
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
093d3ff1
RD
23622 {
23623 resultobj = SWIG_From_long((long)(result));
23624 }
d14a1e28
RD
23625 return resultobj;
23626 fail:
23627 return NULL;
23628}
23629
23630
c32bde28 23631static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23632 PyObject *resultobj;
23633 wxListEvent *arg1 = (wxListEvent *) 0 ;
23634 long result;
23635 PyObject * obj0 = 0 ;
23636 char *kwnames[] = {
23637 (char *) "self", NULL
23638 };
23639
23640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
23641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23642 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 result = (long)(arg1)->GetMask();
23646
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
093d3ff1
RD
23650 {
23651 resultobj = SWIG_From_long((long)(result));
23652 }
d14a1e28
RD
23653 return resultobj;
23654 fail:
23655 return NULL;
23656}
23657
23658
c32bde28 23659static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23660 PyObject *resultobj;
23661 wxListEvent *arg1 = (wxListEvent *) 0 ;
23662 wxListItem *result;
23663 PyObject * obj0 = 0 ;
23664 char *kwnames[] = {
23665 (char *) "self", NULL
23666 };
23667
23668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
23669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23671 {
23672 PyThreadState* __tstate = wxPyBeginAllowThreads();
23673 {
23674 wxListItem const &_result_ref = (arg1)->GetItem();
23675 result = (wxListItem *) &_result_ref;
23676 }
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
15afbcd0 23681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
d14a1e28
RD
23682 return resultobj;
23683 fail:
23684 return NULL;
23685}
23686
23687
c32bde28 23688static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23689 PyObject *resultobj;
23690 wxListEvent *arg1 = (wxListEvent *) 0 ;
23691 long result;
23692 PyObject * obj0 = 0 ;
23693 char *kwnames[] = {
23694 (char *) "self", NULL
23695 };
23696
23697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
093d3ff1
RD
23698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23699 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23700 {
23701 PyThreadState* __tstate = wxPyBeginAllowThreads();
23702 result = (long)(arg1)->GetCacheFrom();
23703
23704 wxPyEndAllowThreads(__tstate);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 }
093d3ff1
RD
23707 {
23708 resultobj = SWIG_From_long((long)(result));
23709 }
d14a1e28
RD
23710 return resultobj;
23711 fail:
23712 return NULL;
23713}
23714
23715
c32bde28 23716static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23717 PyObject *resultobj;
23718 wxListEvent *arg1 = (wxListEvent *) 0 ;
23719 long result;
23720 PyObject * obj0 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "self", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
093d3ff1
RD
23726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23727 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23728 {
23729 PyThreadState* __tstate = wxPyBeginAllowThreads();
23730 result = (long)(arg1)->GetCacheTo();
23731
23732 wxPyEndAllowThreads(__tstate);
23733 if (PyErr_Occurred()) SWIG_fail;
23734 }
093d3ff1
RD
23735 {
23736 resultobj = SWIG_From_long((long)(result));
23737 }
d14a1e28
RD
23738 return resultobj;
23739 fail:
23740 return NULL;
23741}
23742
23743
c32bde28 23744static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23745 PyObject *resultobj;
23746 wxListEvent *arg1 = (wxListEvent *) 0 ;
23747 bool result;
23748 PyObject * obj0 = 0 ;
23749 char *kwnames[] = {
23750 (char *) "self", NULL
23751 };
23752
23753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
23754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23755 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23759
23760 wxPyEndAllowThreads(__tstate);
23761 if (PyErr_Occurred()) SWIG_fail;
23762 }
4f89f6a3
RD
23763 {
23764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23765 }
d14a1e28
RD
23766 return resultobj;
23767 fail:
23768 return NULL;
23769}
23770
23771
c32bde28 23772static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23773 PyObject *resultobj;
23774 wxListEvent *arg1 = (wxListEvent *) 0 ;
23775 bool arg2 ;
23776 PyObject * obj0 = 0 ;
23777 PyObject * obj1 = 0 ;
23778 char *kwnames[] = {
23779 (char *) "self",(char *) "editCancelled", NULL
23780 };
23781
23782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23784 if (SWIG_arg_fail(1)) SWIG_fail;
23785 {
23786 arg2 = (bool)(SWIG_As_bool(obj1));
23787 if (SWIG_arg_fail(2)) SWIG_fail;
23788 }
d14a1e28
RD
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 (arg1)->SetEditCanceled(arg2);
23792
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 Py_INCREF(Py_None); resultobj = Py_None;
23797 return resultobj;
23798 fail:
23799 return NULL;
23800}
23801
23802
c32bde28 23803static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23804 PyObject *obj;
23805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23806 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23807 Py_INCREF(obj);
23808 return Py_BuildValue((char *)"");
23809}
c32bde28 23810static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23811 PyObject *resultobj;
23812 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23813 int arg2 = (int) -1 ;
d14a1e28
RD
23814 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23815 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23816 wxSize const &arg4_defvalue = wxDefaultSize ;
23817 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23818 long arg5 = (long) wxLC_ICON ;
23819 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23820 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23821 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23822 wxString *arg7 = (wxString *) &arg7_defvalue ;
23823 wxPyListCtrl *result;
23824 wxPoint temp3 ;
23825 wxSize temp4 ;
ae8162c8 23826 bool temp7 = false ;
d14a1e28 23827 PyObject * obj0 = 0 ;
994141e6 23828 PyObject * obj1 = 0 ;
d14a1e28
RD
23829 PyObject * obj2 = 0 ;
23830 PyObject * obj3 = 0 ;
994141e6 23831 PyObject * obj4 = 0 ;
d14a1e28
RD
23832 PyObject * obj5 = 0 ;
23833 PyObject * obj6 = 0 ;
23834 char *kwnames[] = {
23835 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23836 };
23837
994141e6 23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
23839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23840 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 23841 if (obj1) {
093d3ff1
RD
23842 {
23843 arg2 = (int)(SWIG_As_int(obj1));
23844 if (SWIG_arg_fail(2)) SWIG_fail;
23845 }
994141e6 23846 }
d14a1e28
RD
23847 if (obj2) {
23848 {
23849 arg3 = &temp3;
23850 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23851 }
23852 }
23853 if (obj3) {
23854 {
23855 arg4 = &temp4;
23856 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23857 }
23858 }
994141e6 23859 if (obj4) {
093d3ff1
RD
23860 {
23861 arg5 = (long)(SWIG_As_long(obj4));
23862 if (SWIG_arg_fail(5)) SWIG_fail;
23863 }
994141e6 23864 }
d14a1e28 23865 if (obj5) {
093d3ff1
RD
23866 {
23867 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23868 if (SWIG_arg_fail(6)) SWIG_fail;
23869 if (arg6 == NULL) {
23870 SWIG_null_ref("wxValidator");
23871 }
23872 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
23873 }
23874 }
23875 if (obj6) {
23876 {
23877 arg7 = wxString_in_helper(obj6);
23878 if (arg7 == NULL) SWIG_fail;
ae8162c8 23879 temp7 = true;
d14a1e28
RD
23880 }
23881 }
23882 {
e3b71cb8 23883 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23886
23887 wxPyEndAllowThreads(__tstate);
110da5b0 23888 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23889 }
15afbcd0 23890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
23891 {
23892 if (temp7)
23893 delete arg7;
23894 }
23895 return resultobj;
23896 fail:
23897 {
23898 if (temp7)
23899 delete arg7;
23900 }
23901 return NULL;
23902}
23903
23904
c32bde28 23905static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23906 PyObject *resultobj;
23907 wxPyListCtrl *result;
23908 char *kwnames[] = {
23909 NULL
23910 };
23911
23912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23913 {
e3b71cb8 23914 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23915 PyThreadState* __tstate = wxPyBeginAllowThreads();
23916 result = (wxPyListCtrl *)new wxPyListCtrl();
23917
23918 wxPyEndAllowThreads(__tstate);
110da5b0 23919 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23920 }
15afbcd0 23921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
23922 return resultobj;
23923 fail:
23924 return NULL;
23925}
23926
23927
c32bde28 23928static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23929 PyObject *resultobj;
23930 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23931 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 23932 int arg3 = (int) -1 ;
d14a1e28
RD
23933 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23934 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23935 wxSize const &arg5_defvalue = wxDefaultSize ;
23936 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23937 long arg6 = (long) wxLC_ICON ;
23938 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23939 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23940 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23941 wxString *arg8 = (wxString *) &arg8_defvalue ;
23942 bool result;
23943 wxPoint temp4 ;
23944 wxSize temp5 ;
ae8162c8 23945 bool temp8 = false ;
d14a1e28
RD
23946 PyObject * obj0 = 0 ;
23947 PyObject * obj1 = 0 ;
994141e6 23948 PyObject * obj2 = 0 ;
d14a1e28
RD
23949 PyObject * obj3 = 0 ;
23950 PyObject * obj4 = 0 ;
994141e6 23951 PyObject * obj5 = 0 ;
d14a1e28
RD
23952 PyObject * obj6 = 0 ;
23953 PyObject * obj7 = 0 ;
23954 char *kwnames[] = {
23955 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23956 };
23957
994141e6 23958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
23959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23960 if (SWIG_arg_fail(1)) SWIG_fail;
23961 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23962 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 23963 if (obj2) {
093d3ff1
RD
23964 {
23965 arg3 = (int)(SWIG_As_int(obj2));
23966 if (SWIG_arg_fail(3)) SWIG_fail;
23967 }
994141e6 23968 }
d14a1e28
RD
23969 if (obj3) {
23970 {
23971 arg4 = &temp4;
23972 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23973 }
23974 }
23975 if (obj4) {
23976 {
23977 arg5 = &temp5;
23978 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23979 }
23980 }
994141e6 23981 if (obj5) {
093d3ff1
RD
23982 {
23983 arg6 = (long)(SWIG_As_long(obj5));
23984 if (SWIG_arg_fail(6)) SWIG_fail;
23985 }
994141e6 23986 }
d14a1e28 23987 if (obj6) {
093d3ff1
RD
23988 {
23989 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23990 if (SWIG_arg_fail(7)) SWIG_fail;
23991 if (arg7 == NULL) {
23992 SWIG_null_ref("wxValidator");
23993 }
23994 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
23995 }
23996 }
23997 if (obj7) {
23998 {
23999 arg8 = wxString_in_helper(obj7);
24000 if (arg8 == NULL) SWIG_fail;
ae8162c8 24001 temp8 = true;
d14a1e28
RD
24002 }
24003 }
24004 {
24005 PyThreadState* __tstate = wxPyBeginAllowThreads();
24006 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24007
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
4f89f6a3
RD
24011 {
24012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24013 }
d14a1e28
RD
24014 {
24015 if (temp8)
24016 delete arg8;
24017 }
24018 return resultobj;
24019 fail:
24020 {
24021 if (temp8)
24022 delete arg8;
24023 }
24024 return NULL;
24025}
24026
24027
c32bde28 24028static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24029 PyObject *resultobj;
24030 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24031 PyObject *arg2 = (PyObject *) 0 ;
24032 PyObject *arg3 = (PyObject *) 0 ;
24033 PyObject * obj0 = 0 ;
24034 PyObject * obj1 = 0 ;
24035 PyObject * obj2 = 0 ;
24036 char *kwnames[] = {
24037 (char *) "self",(char *) "self",(char *) "_class", NULL
24038 };
24039
24040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24042 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24043 arg2 = obj1;
24044 arg3 = obj2;
24045 {
24046 PyThreadState* __tstate = wxPyBeginAllowThreads();
24047 (arg1)->_setCallbackInfo(arg2,arg3);
24048
24049 wxPyEndAllowThreads(__tstate);
24050 if (PyErr_Occurred()) SWIG_fail;
24051 }
24052 Py_INCREF(Py_None); resultobj = Py_None;
24053 return resultobj;
24054 fail:
24055 return NULL;
24056}
24057
24058
c32bde28 24059static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24060 PyObject *resultobj;
24061 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24062 wxColour *arg2 = 0 ;
24063 bool result;
24064 wxColour temp2 ;
24065 PyObject * obj0 = 0 ;
24066 PyObject * obj1 = 0 ;
24067 char *kwnames[] = {
24068 (char *) "self",(char *) "col", NULL
24069 };
24070
24071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24073 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24074 {
24075 arg2 = &temp2;
24076 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24077 }
24078 {
24079 PyThreadState* __tstate = wxPyBeginAllowThreads();
24080 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24081
24082 wxPyEndAllowThreads(__tstate);
24083 if (PyErr_Occurred()) SWIG_fail;
24084 }
4f89f6a3
RD
24085 {
24086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24087 }
d14a1e28
RD
24088 return resultobj;
24089 fail:
24090 return NULL;
24091}
24092
24093
c32bde28 24094static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24095 PyObject *resultobj;
24096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24097 wxColour *arg2 = 0 ;
24098 bool result;
24099 wxColour temp2 ;
24100 PyObject * obj0 = 0 ;
24101 PyObject * obj1 = 0 ;
24102 char *kwnames[] = {
24103 (char *) "self",(char *) "col", NULL
24104 };
24105
24106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24108 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24109 {
24110 arg2 = &temp2;
24111 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24112 }
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
4f89f6a3
RD
24120 {
24121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24122 }
d14a1e28
RD
24123 return resultobj;
24124 fail:
24125 return NULL;
24126}
24127
24128
c32bde28 24129static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24130 PyObject *resultobj;
24131 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24132 int arg2 ;
24133 wxListItem *result;
24134 PyObject * obj0 = 0 ;
994141e6 24135 PyObject * obj1 = 0 ;
d14a1e28
RD
24136 char *kwnames[] = {
24137 (char *) "self",(char *) "col", NULL
24138 };
24139
994141e6 24140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24142 if (SWIG_arg_fail(1)) SWIG_fail;
24143 {
24144 arg2 = (int)(SWIG_As_int(obj1));
24145 if (SWIG_arg_fail(2)) SWIG_fail;
24146 }
d14a1e28
RD
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
24154 {
412d302d 24155 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24156 }
24157 return resultobj;
24158 fail:
24159 return NULL;
24160}
24161
24162
c32bde28 24163static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24164 PyObject *resultobj;
24165 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24166 int arg2 ;
24167 wxListItem *arg3 = 0 ;
24168 bool result;
24169 PyObject * obj0 = 0 ;
994141e6 24170 PyObject * obj1 = 0 ;
d14a1e28
RD
24171 PyObject * obj2 = 0 ;
24172 char *kwnames[] = {
24173 (char *) "self",(char *) "col",(char *) "item", NULL
24174 };
24175
994141e6 24176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24178 if (SWIG_arg_fail(1)) SWIG_fail;
24179 {
24180 arg2 = (int)(SWIG_As_int(obj1));
24181 if (SWIG_arg_fail(2)) SWIG_fail;
24182 }
24183 {
24184 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24185 if (SWIG_arg_fail(3)) SWIG_fail;
24186 if (arg3 == NULL) {
24187 SWIG_null_ref("wxListItem");
24188 }
24189 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
24190 }
24191 {
24192 PyThreadState* __tstate = wxPyBeginAllowThreads();
24193 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24194
24195 wxPyEndAllowThreads(__tstate);
24196 if (PyErr_Occurred()) SWIG_fail;
24197 }
4f89f6a3
RD
24198 {
24199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24200 }
d14a1e28
RD
24201 return resultobj;
24202 fail:
24203 return NULL;
24204}
24205
24206
c32bde28 24207static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24208 PyObject *resultobj;
24209 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24210 int arg2 ;
24211 int result;
24212 PyObject * obj0 = 0 ;
994141e6 24213 PyObject * obj1 = 0 ;
d14a1e28
RD
24214 char *kwnames[] = {
24215 (char *) "self",(char *) "col", NULL
24216 };
24217
994141e6 24218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24220 if (SWIG_arg_fail(1)) SWIG_fail;
24221 {
24222 arg2 = (int)(SWIG_As_int(obj1));
24223 if (SWIG_arg_fail(2)) SWIG_fail;
24224 }
d14a1e28
RD
24225 {
24226 PyThreadState* __tstate = wxPyBeginAllowThreads();
24227 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24228
24229 wxPyEndAllowThreads(__tstate);
24230 if (PyErr_Occurred()) SWIG_fail;
24231 }
093d3ff1
RD
24232 {
24233 resultobj = SWIG_From_int((int)(result));
24234 }
d14a1e28
RD
24235 return resultobj;
24236 fail:
24237 return NULL;
24238}
24239
24240
c32bde28 24241static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24242 PyObject *resultobj;
24243 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24244 int arg2 ;
24245 int arg3 ;
24246 bool result;
24247 PyObject * obj0 = 0 ;
994141e6
RD
24248 PyObject * obj1 = 0 ;
24249 PyObject * obj2 = 0 ;
d14a1e28
RD
24250 char *kwnames[] = {
24251 (char *) "self",(char *) "col",(char *) "width", NULL
24252 };
24253
994141e6 24254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24256 if (SWIG_arg_fail(1)) SWIG_fail;
24257 {
24258 arg2 = (int)(SWIG_As_int(obj1));
24259 if (SWIG_arg_fail(2)) SWIG_fail;
24260 }
24261 {
24262 arg3 = (int)(SWIG_As_int(obj2));
24263 if (SWIG_arg_fail(3)) SWIG_fail;
24264 }
d14a1e28
RD
24265 {
24266 PyThreadState* __tstate = wxPyBeginAllowThreads();
24267 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24268
24269 wxPyEndAllowThreads(__tstate);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
4f89f6a3
RD
24272 {
24273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24274 }
d14a1e28
RD
24275 return resultobj;
24276 fail:
24277 return NULL;
24278}
24279
24280
c32bde28 24281static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24282 PyObject *resultobj;
24283 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24284 int result;
24285 PyObject * obj0 = 0 ;
24286 char *kwnames[] = {
24287 (char *) "self", NULL
24288 };
24289
24290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
24291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24292 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24293 {
24294 PyThreadState* __tstate = wxPyBeginAllowThreads();
24295 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24296
24297 wxPyEndAllowThreads(__tstate);
24298 if (PyErr_Occurred()) SWIG_fail;
24299 }
093d3ff1
RD
24300 {
24301 resultobj = SWIG_From_int((int)(result));
24302 }
d14a1e28
RD
24303 return resultobj;
24304 fail:
24305 return NULL;
24306}
24307
24308
c32bde28 24309static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24310 PyObject *resultobj;
24311 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24312 wxRect result;
24313 PyObject * obj0 = 0 ;
24314 char *kwnames[] = {
24315 (char *) "self", NULL
24316 };
24317
24318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
24319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24320 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24324
24325 wxPyEndAllowThreads(__tstate);
24326 if (PyErr_Occurred()) SWIG_fail;
24327 }
24328 {
24329 wxRect * resultptr;
093d3ff1 24330 resultptr = new wxRect((wxRect &)(result));
15afbcd0 24331 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
24332 }
24333 return resultobj;
24334 fail:
24335 return NULL;
24336}
24337
24338
c32bde28 24339static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24340 PyObject *resultobj;
24341 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24342 long arg2 ;
24343 int arg3 = (int) 0 ;
24344 wxListItem *result;
24345 PyObject * obj0 = 0 ;
994141e6
RD
24346 PyObject * obj1 = 0 ;
24347 PyObject * obj2 = 0 ;
d14a1e28
RD
24348 char *kwnames[] = {
24349 (char *) "self",(char *) "itemId",(char *) "col", NULL
24350 };
24351
994141e6 24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24354 if (SWIG_arg_fail(1)) SWIG_fail;
24355 {
24356 arg2 = (long)(SWIG_As_long(obj1));
24357 if (SWIG_arg_fail(2)) SWIG_fail;
24358 }
994141e6 24359 if (obj2) {
093d3ff1
RD
24360 {
24361 arg3 = (int)(SWIG_As_int(obj2));
24362 if (SWIG_arg_fail(3)) SWIG_fail;
24363 }
994141e6 24364 }
d14a1e28
RD
24365 {
24366 PyThreadState* __tstate = wxPyBeginAllowThreads();
24367 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24368
24369 wxPyEndAllowThreads(__tstate);
24370 if (PyErr_Occurred()) SWIG_fail;
24371 }
24372 {
412d302d 24373 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24374 }
24375 return resultobj;
24376 fail:
24377 return NULL;
24378}
24379
24380
c32bde28 24381static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24382 PyObject *resultobj;
24383 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24384 wxListItem *arg2 = 0 ;
24385 bool result;
24386 PyObject * obj0 = 0 ;
24387 PyObject * obj1 = 0 ;
24388 char *kwnames[] = {
24389 (char *) "self",(char *) "info", NULL
24390 };
24391
24392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24394 if (SWIG_arg_fail(1)) SWIG_fail;
24395 {
24396 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24397 if (SWIG_arg_fail(2)) SWIG_fail;
24398 if (arg2 == NULL) {
24399 SWIG_null_ref("wxListItem");
24400 }
24401 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24402 }
24403 {
24404 PyThreadState* __tstate = wxPyBeginAllowThreads();
24405 result = (bool)(arg1)->SetItem(*arg2);
24406
24407 wxPyEndAllowThreads(__tstate);
24408 if (PyErr_Occurred()) SWIG_fail;
24409 }
4f89f6a3
RD
24410 {
24411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24412 }
d14a1e28
RD
24413 return resultobj;
24414 fail:
24415 return NULL;
24416}
24417
24418
c32bde28 24419static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24420 PyObject *resultobj;
24421 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24422 long arg2 ;
24423 int arg3 ;
24424 wxString *arg4 = 0 ;
24425 int arg5 = (int) -1 ;
24426 long result;
ae8162c8 24427 bool temp4 = false ;
d14a1e28 24428 PyObject * obj0 = 0 ;
994141e6
RD
24429 PyObject * obj1 = 0 ;
24430 PyObject * obj2 = 0 ;
d14a1e28 24431 PyObject * obj3 = 0 ;
994141e6 24432 PyObject * obj4 = 0 ;
d14a1e28
RD
24433 char *kwnames[] = {
24434 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24435 };
24436
994141e6 24437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
24438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24439 if (SWIG_arg_fail(1)) SWIG_fail;
24440 {
24441 arg2 = (long)(SWIG_As_long(obj1));
24442 if (SWIG_arg_fail(2)) SWIG_fail;
24443 }
24444 {
24445 arg3 = (int)(SWIG_As_int(obj2));
24446 if (SWIG_arg_fail(3)) SWIG_fail;
24447 }
d14a1e28
RD
24448 {
24449 arg4 = wxString_in_helper(obj3);
24450 if (arg4 == NULL) SWIG_fail;
ae8162c8 24451 temp4 = true;
d14a1e28 24452 }
994141e6 24453 if (obj4) {
093d3ff1
RD
24454 {
24455 arg5 = (int)(SWIG_As_int(obj4));
24456 if (SWIG_arg_fail(5)) SWIG_fail;
24457 }
994141e6 24458 }
d14a1e28
RD
24459 {
24460 PyThreadState* __tstate = wxPyBeginAllowThreads();
24461 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24462
24463 wxPyEndAllowThreads(__tstate);
24464 if (PyErr_Occurred()) SWIG_fail;
24465 }
093d3ff1
RD
24466 {
24467 resultobj = SWIG_From_long((long)(result));
24468 }
d14a1e28
RD
24469 {
24470 if (temp4)
24471 delete arg4;
24472 }
24473 return resultobj;
24474 fail:
24475 {
24476 if (temp4)
24477 delete arg4;
24478 }
24479 return NULL;
24480}
24481
24482
c32bde28 24483static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24484 PyObject *resultobj;
24485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24486 long arg2 ;
24487 long arg3 ;
24488 int result;
24489 PyObject * obj0 = 0 ;
994141e6
RD
24490 PyObject * obj1 = 0 ;
24491 PyObject * obj2 = 0 ;
d14a1e28
RD
24492 char *kwnames[] = {
24493 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24494 };
24495
994141e6 24496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24498 if (SWIG_arg_fail(1)) SWIG_fail;
24499 {
24500 arg2 = (long)(SWIG_As_long(obj1));
24501 if (SWIG_arg_fail(2)) SWIG_fail;
24502 }
24503 {
24504 arg3 = (long)(SWIG_As_long(obj2));
24505 if (SWIG_arg_fail(3)) SWIG_fail;
24506 }
d14a1e28
RD
24507 {
24508 PyThreadState* __tstate = wxPyBeginAllowThreads();
24509 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24510
24511 wxPyEndAllowThreads(__tstate);
24512 if (PyErr_Occurred()) SWIG_fail;
24513 }
093d3ff1
RD
24514 {
24515 resultobj = SWIG_From_int((int)(result));
24516 }
d14a1e28
RD
24517 return resultobj;
24518 fail:
24519 return NULL;
24520}
24521
24522
c32bde28 24523static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24524 PyObject *resultobj;
24525 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24526 long arg2 ;
24527 long arg3 ;
24528 long arg4 ;
24529 bool result;
24530 PyObject * obj0 = 0 ;
994141e6
RD
24531 PyObject * obj1 = 0 ;
24532 PyObject * obj2 = 0 ;
24533 PyObject * obj3 = 0 ;
d14a1e28
RD
24534 char *kwnames[] = {
24535 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24536 };
24537
994141e6 24538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24540 if (SWIG_arg_fail(1)) SWIG_fail;
24541 {
24542 arg2 = (long)(SWIG_As_long(obj1));
24543 if (SWIG_arg_fail(2)) SWIG_fail;
24544 }
24545 {
24546 arg3 = (long)(SWIG_As_long(obj2));
24547 if (SWIG_arg_fail(3)) SWIG_fail;
24548 }
24549 {
24550 arg4 = (long)(SWIG_As_long(obj3));
24551 if (SWIG_arg_fail(4)) SWIG_fail;
24552 }
d14a1e28
RD
24553 {
24554 PyThreadState* __tstate = wxPyBeginAllowThreads();
24555 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24556
24557 wxPyEndAllowThreads(__tstate);
24558 if (PyErr_Occurred()) SWIG_fail;
24559 }
4f89f6a3
RD
24560 {
24561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24562 }
d14a1e28
RD
24563 return resultobj;
24564 fail:
24565 return NULL;
24566}
24567
24568
c32bde28 24569static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24570 PyObject *resultobj;
24571 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24572 long arg2 ;
24573 int arg3 ;
1fc3b23a 24574 int arg4 = (int) -1 ;
d14a1e28
RD
24575 bool result;
24576 PyObject * obj0 = 0 ;
994141e6
RD
24577 PyObject * obj1 = 0 ;
24578 PyObject * obj2 = 0 ;
24579 PyObject * obj3 = 0 ;
d14a1e28
RD
24580 char *kwnames[] = {
24581 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24582 };
24583
1fc3b23a 24584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24586 if (SWIG_arg_fail(1)) SWIG_fail;
24587 {
24588 arg2 = (long)(SWIG_As_long(obj1));
24589 if (SWIG_arg_fail(2)) SWIG_fail;
24590 }
24591 {
24592 arg3 = (int)(SWIG_As_int(obj2));
24593 if (SWIG_arg_fail(3)) SWIG_fail;
24594 }
1fc3b23a 24595 if (obj3) {
093d3ff1
RD
24596 {
24597 arg4 = (int)(SWIG_As_int(obj3));
24598 if (SWIG_arg_fail(4)) SWIG_fail;
24599 }
1fc3b23a 24600 }
d14a1e28
RD
24601 {
24602 PyThreadState* __tstate = wxPyBeginAllowThreads();
24603 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24604
24605 wxPyEndAllowThreads(__tstate);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
4f89f6a3
RD
24608 {
24609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24610 }
d14a1e28
RD
24611 return resultobj;
24612 fail:
24613 return NULL;
24614}
24615
24616
c32bde28 24617static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24618 PyObject *resultobj;
24619 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24620 long arg2 ;
24621 wxString result;
24622 PyObject * obj0 = 0 ;
994141e6 24623 PyObject * obj1 = 0 ;
d14a1e28
RD
24624 char *kwnames[] = {
24625 (char *) "self",(char *) "item", NULL
24626 };
24627
994141e6 24628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24630 if (SWIG_arg_fail(1)) SWIG_fail;
24631 {
24632 arg2 = (long)(SWIG_As_long(obj1));
24633 if (SWIG_arg_fail(2)) SWIG_fail;
24634 }
d14a1e28
RD
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24638
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
24642 {
24643#if wxUSE_UNICODE
24644 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24645#else
24646 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24647#endif
24648 }
24649 return resultobj;
24650 fail:
24651 return NULL;
24652}
24653
24654
c32bde28 24655static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24656 PyObject *resultobj;
24657 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24658 long arg2 ;
24659 wxString *arg3 = 0 ;
ae8162c8 24660 bool temp3 = false ;
d14a1e28 24661 PyObject * obj0 = 0 ;
994141e6 24662 PyObject * obj1 = 0 ;
d14a1e28
RD
24663 PyObject * obj2 = 0 ;
24664 char *kwnames[] = {
24665 (char *) "self",(char *) "item",(char *) "str", NULL
24666 };
24667
994141e6 24668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24670 if (SWIG_arg_fail(1)) SWIG_fail;
24671 {
24672 arg2 = (long)(SWIG_As_long(obj1));
24673 if (SWIG_arg_fail(2)) SWIG_fail;
24674 }
d14a1e28
RD
24675 {
24676 arg3 = wxString_in_helper(obj2);
24677 if (arg3 == NULL) SWIG_fail;
ae8162c8 24678 temp3 = true;
d14a1e28
RD
24679 }
24680 {
24681 PyThreadState* __tstate = wxPyBeginAllowThreads();
24682 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24683
24684 wxPyEndAllowThreads(__tstate);
24685 if (PyErr_Occurred()) SWIG_fail;
24686 }
24687 Py_INCREF(Py_None); resultobj = Py_None;
24688 {
24689 if (temp3)
24690 delete arg3;
24691 }
24692 return resultobj;
24693 fail:
24694 {
24695 if (temp3)
24696 delete arg3;
24697 }
24698 return NULL;
24699}
24700
24701
c32bde28 24702static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24703 PyObject *resultobj;
24704 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24705 long arg2 ;
24706 long result;
24707 PyObject * obj0 = 0 ;
994141e6 24708 PyObject * obj1 = 0 ;
d14a1e28
RD
24709 char *kwnames[] = {
24710 (char *) "self",(char *) "item", NULL
24711 };
24712
994141e6 24713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24715 if (SWIG_arg_fail(1)) SWIG_fail;
24716 {
24717 arg2 = (long)(SWIG_As_long(obj1));
24718 if (SWIG_arg_fail(2)) SWIG_fail;
24719 }
d14a1e28
RD
24720 {
24721 PyThreadState* __tstate = wxPyBeginAllowThreads();
24722 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24723
24724 wxPyEndAllowThreads(__tstate);
24725 if (PyErr_Occurred()) SWIG_fail;
24726 }
093d3ff1
RD
24727 {
24728 resultobj = SWIG_From_long((long)(result));
24729 }
d14a1e28
RD
24730 return resultobj;
24731 fail:
24732 return NULL;
24733}
24734
24735
c32bde28 24736static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24737 PyObject *resultobj;
24738 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24739 long arg2 ;
24740 long arg3 ;
24741 bool result;
24742 PyObject * obj0 = 0 ;
994141e6
RD
24743 PyObject * obj1 = 0 ;
24744 PyObject * obj2 = 0 ;
d14a1e28
RD
24745 char *kwnames[] = {
24746 (char *) "self",(char *) "item",(char *) "data", NULL
24747 };
24748
994141e6 24749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24751 if (SWIG_arg_fail(1)) SWIG_fail;
24752 {
24753 arg2 = (long)(SWIG_As_long(obj1));
24754 if (SWIG_arg_fail(2)) SWIG_fail;
24755 }
24756 {
24757 arg3 = (long)(SWIG_As_long(obj2));
24758 if (SWIG_arg_fail(3)) SWIG_fail;
24759 }
d14a1e28
RD
24760 {
24761 PyThreadState* __tstate = wxPyBeginAllowThreads();
24762 result = (bool)(arg1)->SetItemData(arg2,arg3);
24763
24764 wxPyEndAllowThreads(__tstate);
24765 if (PyErr_Occurred()) SWIG_fail;
24766 }
4f89f6a3
RD
24767 {
24768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24769 }
d14a1e28
RD
24770 return resultobj;
24771 fail:
24772 return NULL;
24773}
24774
24775
c32bde28 24776static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24777 PyObject *resultobj;
24778 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24779 long arg2 ;
24780 wxPoint result;
24781 PyObject * obj0 = 0 ;
994141e6 24782 PyObject * obj1 = 0 ;
d14a1e28
RD
24783 char *kwnames[] = {
24784 (char *) "self",(char *) "item", NULL
24785 };
24786
994141e6 24787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24789 if (SWIG_arg_fail(1)) SWIG_fail;
24790 {
24791 arg2 = (long)(SWIG_As_long(obj1));
24792 if (SWIG_arg_fail(2)) SWIG_fail;
24793 }
d14a1e28
RD
24794 {
24795 PyThreadState* __tstate = wxPyBeginAllowThreads();
24796 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24797
24798 wxPyEndAllowThreads(__tstate);
24799 if (PyErr_Occurred()) SWIG_fail;
24800 }
24801 {
24802 wxPoint * resultptr;
093d3ff1 24803 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 24804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24805 }
24806 return resultobj;
24807 fail:
24808 return NULL;
24809}
24810
24811
c32bde28 24812static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24813 PyObject *resultobj;
24814 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24815 long arg2 ;
24816 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24817 wxRect result;
24818 PyObject * obj0 = 0 ;
994141e6
RD
24819 PyObject * obj1 = 0 ;
24820 PyObject * obj2 = 0 ;
d14a1e28
RD
24821 char *kwnames[] = {
24822 (char *) "self",(char *) "item",(char *) "code", NULL
24823 };
24824
994141e6 24825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24827 if (SWIG_arg_fail(1)) SWIG_fail;
24828 {
24829 arg2 = (long)(SWIG_As_long(obj1));
24830 if (SWIG_arg_fail(2)) SWIG_fail;
24831 }
994141e6 24832 if (obj2) {
093d3ff1
RD
24833 {
24834 arg3 = (int)(SWIG_As_int(obj2));
24835 if (SWIG_arg_fail(3)) SWIG_fail;
24836 }
994141e6 24837 }
d14a1e28
RD
24838 {
24839 PyThreadState* __tstate = wxPyBeginAllowThreads();
24840 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24841
24842 wxPyEndAllowThreads(__tstate);
24843 if (PyErr_Occurred()) SWIG_fail;
24844 }
24845 {
24846 wxRect * resultptr;
093d3ff1 24847 resultptr = new wxRect((wxRect &)(result));
15afbcd0 24848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
24849 }
24850 return resultobj;
24851 fail:
24852 return NULL;
24853}
24854
24855
c32bde28 24856static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24857 PyObject *resultobj;
24858 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24859 long arg2 ;
24860 wxPoint *arg3 = 0 ;
24861 bool result;
24862 wxPoint temp3 ;
24863 PyObject * obj0 = 0 ;
994141e6 24864 PyObject * obj1 = 0 ;
d14a1e28
RD
24865 PyObject * obj2 = 0 ;
24866 char *kwnames[] = {
24867 (char *) "self",(char *) "item",(char *) "pos", NULL
24868 };
24869
994141e6 24870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail;
24873 {
24874 arg2 = (long)(SWIG_As_long(obj1));
24875 if (SWIG_arg_fail(2)) SWIG_fail;
24876 }
d14a1e28
RD
24877 {
24878 arg3 = &temp3;
24879 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24880 }
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24884
24885 wxPyEndAllowThreads(__tstate);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 }
4f89f6a3
RD
24888 {
24889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24890 }
d14a1e28
RD
24891 return resultobj;
24892 fail:
24893 return NULL;
24894}
24895
24896
c32bde28 24897static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24898 PyObject *resultobj;
24899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24900 int result;
24901 PyObject * obj0 = 0 ;
24902 char *kwnames[] = {
24903 (char *) "self", NULL
24904 };
24905
24906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
24907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24908 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24909 {
24910 PyThreadState* __tstate = wxPyBeginAllowThreads();
24911 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24912
24913 wxPyEndAllowThreads(__tstate);
24914 if (PyErr_Occurred()) SWIG_fail;
24915 }
093d3ff1
RD
24916 {
24917 resultobj = SWIG_From_int((int)(result));
24918 }
d14a1e28
RD
24919 return resultobj;
24920 fail:
24921 return NULL;
24922}
24923
24924
c32bde28 24925static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24926 PyObject *resultobj;
24927 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24928 int result;
24929 PyObject * obj0 = 0 ;
24930 char *kwnames[] = {
24931 (char *) "self", NULL
24932 };
24933
24934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
24935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24936 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24937 {
24938 PyThreadState* __tstate = wxPyBeginAllowThreads();
24939 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24940
24941 wxPyEndAllowThreads(__tstate);
24942 if (PyErr_Occurred()) SWIG_fail;
24943 }
093d3ff1
RD
24944 {
24945 resultobj = SWIG_From_int((int)(result));
24946 }
d14a1e28
RD
24947 return resultobj;
24948 fail:
24949 return NULL;
24950}
24951
24952
c32bde28 24953static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24954 PyObject *resultobj;
24955 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24956 wxSize result;
24957 PyObject * obj0 = 0 ;
24958 char *kwnames[] = {
24959 (char *) "self", NULL
24960 };
24961
24962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
24963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24965 {
24966 PyThreadState* __tstate = wxPyBeginAllowThreads();
24967 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24968
24969 wxPyEndAllowThreads(__tstate);
24970 if (PyErr_Occurred()) SWIG_fail;
24971 }
24972 {
24973 wxSize * resultptr;
093d3ff1 24974 resultptr = new wxSize((wxSize &)(result));
15afbcd0 24975 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24976 }
24977 return resultobj;
24978 fail:
24979 return NULL;
24980}
24981
24982
c32bde28 24983static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24984 PyObject *resultobj;
24985 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24986 int arg2 ;
ae8162c8 24987 bool arg3 = (bool) false ;
d14a1e28 24988 PyObject * obj0 = 0 ;
994141e6 24989 PyObject * obj1 = 0 ;
d14a1e28
RD
24990 PyObject * obj2 = 0 ;
24991 char *kwnames[] = {
24992 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24993 };
24994
994141e6 24995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24997 if (SWIG_arg_fail(1)) SWIG_fail;
24998 {
24999 arg2 = (int)(SWIG_As_int(obj1));
25000 if (SWIG_arg_fail(2)) SWIG_fail;
25001 }
d14a1e28 25002 if (obj2) {
093d3ff1
RD
25003 {
25004 arg3 = (bool)(SWIG_As_bool(obj2));
25005 if (SWIG_arg_fail(3)) SWIG_fail;
25006 }
d14a1e28
RD
25007 }
25008 {
25009 PyThreadState* __tstate = wxPyBeginAllowThreads();
25010 (arg1)->SetItemSpacing(arg2,arg3);
25011
25012 wxPyEndAllowThreads(__tstate);
25013 if (PyErr_Occurred()) SWIG_fail;
25014 }
25015 Py_INCREF(Py_None); resultobj = Py_None;
25016 return resultobj;
25017 fail:
25018 return NULL;
25019}
25020
25021
c32bde28 25022static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25023 PyObject *resultobj;
25024 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25025 int result;
25026 PyObject * obj0 = 0 ;
25027 char *kwnames[] = {
25028 (char *) "self", NULL
25029 };
25030
25031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
25032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25033 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25034 {
25035 PyThreadState* __tstate = wxPyBeginAllowThreads();
25036 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25037
25038 wxPyEndAllowThreads(__tstate);
25039 if (PyErr_Occurred()) SWIG_fail;
25040 }
093d3ff1
RD
25041 {
25042 resultobj = SWIG_From_int((int)(result));
25043 }
d14a1e28
RD
25044 return resultobj;
25045 fail:
25046 return NULL;
25047}
25048
25049
c32bde28 25050static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25051 PyObject *resultobj;
25052 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25053 wxColour result;
25054 PyObject * obj0 = 0 ;
25055 char *kwnames[] = {
25056 (char *) "self", NULL
25057 };
25058
25059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
25060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25061 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25065
25066 wxPyEndAllowThreads(__tstate);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 {
25070 wxColour * resultptr;
093d3ff1 25071 resultptr = new wxColour((wxColour &)(result));
15afbcd0 25072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25073 }
25074 return resultobj;
25075 fail:
25076 return NULL;
25077}
25078
25079
c32bde28 25080static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25081 PyObject *resultobj;
25082 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25083 wxColour *arg2 = 0 ;
25084 wxColour temp2 ;
25085 PyObject * obj0 = 0 ;
25086 PyObject * obj1 = 0 ;
25087 char *kwnames[] = {
25088 (char *) "self",(char *) "col", NULL
25089 };
25090
25091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25093 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25094 {
25095 arg2 = &temp2;
25096 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25097 }
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 (arg1)->SetTextColour((wxColour const &)*arg2);
25101
25102 wxPyEndAllowThreads(__tstate);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 }
25105 Py_INCREF(Py_None); resultobj = Py_None;
25106 return resultobj;
25107 fail:
25108 return NULL;
25109}
25110
25111
c32bde28 25112static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25113 PyObject *resultobj;
25114 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25115 long result;
25116 PyObject * obj0 = 0 ;
25117 char *kwnames[] = {
25118 (char *) "self", NULL
25119 };
25120
25121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
25122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25123 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25127
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
093d3ff1
RD
25131 {
25132 resultobj = SWIG_From_long((long)(result));
25133 }
d14a1e28
RD
25134 return resultobj;
25135 fail:
25136 return NULL;
25137}
25138
25139
c32bde28 25140static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25141 PyObject *resultobj;
25142 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25143 long arg2 ;
ae8162c8 25144 bool arg3 = (bool) true ;
d14a1e28 25145 PyObject * obj0 = 0 ;
994141e6 25146 PyObject * obj1 = 0 ;
d14a1e28
RD
25147 PyObject * obj2 = 0 ;
25148 char *kwnames[] = {
25149 (char *) "self",(char *) "style",(char *) "add", NULL
25150 };
25151
994141e6 25152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25154 if (SWIG_arg_fail(1)) SWIG_fail;
25155 {
25156 arg2 = (long)(SWIG_As_long(obj1));
25157 if (SWIG_arg_fail(2)) SWIG_fail;
25158 }
d14a1e28 25159 if (obj2) {
093d3ff1
RD
25160 {
25161 arg3 = (bool)(SWIG_As_bool(obj2));
25162 if (SWIG_arg_fail(3)) SWIG_fail;
25163 }
d14a1e28
RD
25164 }
25165 {
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 (arg1)->SetSingleStyle(arg2,arg3);
25168
25169 wxPyEndAllowThreads(__tstate);
25170 if (PyErr_Occurred()) SWIG_fail;
25171 }
25172 Py_INCREF(Py_None); resultobj = Py_None;
25173 return resultobj;
25174 fail:
25175 return NULL;
25176}
25177
25178
c32bde28 25179static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25180 PyObject *resultobj;
25181 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25182 long arg2 ;
25183 PyObject * obj0 = 0 ;
994141e6 25184 PyObject * obj1 = 0 ;
d14a1e28
RD
25185 char *kwnames[] = {
25186 (char *) "self",(char *) "style", NULL
25187 };
25188
994141e6 25189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25191 if (SWIG_arg_fail(1)) SWIG_fail;
25192 {
25193 arg2 = (long)(SWIG_As_long(obj1));
25194 if (SWIG_arg_fail(2)) SWIG_fail;
25195 }
d14a1e28
RD
25196 {
25197 PyThreadState* __tstate = wxPyBeginAllowThreads();
25198 (arg1)->SetWindowStyleFlag(arg2);
25199
25200 wxPyEndAllowThreads(__tstate);
25201 if (PyErr_Occurred()) SWIG_fail;
25202 }
25203 Py_INCREF(Py_None); resultobj = Py_None;
25204 return resultobj;
25205 fail:
25206 return NULL;
25207}
25208
25209
c32bde28 25210static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25211 PyObject *resultobj;
25212 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25213 long arg2 ;
25214 int arg3 = (int) wxLIST_NEXT_ALL ;
25215 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25216 long result;
25217 PyObject * obj0 = 0 ;
994141e6
RD
25218 PyObject * obj1 = 0 ;
25219 PyObject * obj2 = 0 ;
25220 PyObject * obj3 = 0 ;
d14a1e28
RD
25221 char *kwnames[] = {
25222 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25223 };
25224
994141e6 25225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25227 if (SWIG_arg_fail(1)) SWIG_fail;
25228 {
25229 arg2 = (long)(SWIG_As_long(obj1));
25230 if (SWIG_arg_fail(2)) SWIG_fail;
25231 }
994141e6 25232 if (obj2) {
093d3ff1
RD
25233 {
25234 arg3 = (int)(SWIG_As_int(obj2));
25235 if (SWIG_arg_fail(3)) SWIG_fail;
25236 }
994141e6
RD
25237 }
25238 if (obj3) {
093d3ff1
RD
25239 {
25240 arg4 = (int)(SWIG_As_int(obj3));
25241 if (SWIG_arg_fail(4)) SWIG_fail;
25242 }
994141e6 25243 }
d14a1e28
RD
25244 {
25245 PyThreadState* __tstate = wxPyBeginAllowThreads();
25246 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25247
25248 wxPyEndAllowThreads(__tstate);
25249 if (PyErr_Occurred()) SWIG_fail;
25250 }
093d3ff1
RD
25251 {
25252 resultobj = SWIG_From_long((long)(result));
25253 }
d14a1e28
RD
25254 return resultobj;
25255 fail:
25256 return NULL;
25257}
25258
25259
c32bde28 25260static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25261 PyObject *resultobj;
25262 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25263 int arg2 ;
25264 wxImageList *result;
25265 PyObject * obj0 = 0 ;
994141e6 25266 PyObject * obj1 = 0 ;
d14a1e28
RD
25267 char *kwnames[] = {
25268 (char *) "self",(char *) "which", NULL
25269 };
25270
994141e6 25271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25273 if (SWIG_arg_fail(1)) SWIG_fail;
25274 {
25275 arg2 = (int)(SWIG_As_int(obj1));
25276 if (SWIG_arg_fail(2)) SWIG_fail;
25277 }
d14a1e28
RD
25278 {
25279 PyThreadState* __tstate = wxPyBeginAllowThreads();
25280 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25281
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
25285 {
412d302d 25286 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25287 }
25288 return resultobj;
25289 fail:
25290 return NULL;
25291}
25292
25293
c32bde28 25294static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25295 PyObject *resultobj;
25296 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25297 wxImageList *arg2 = (wxImageList *) 0 ;
25298 int arg3 ;
25299 PyObject * obj0 = 0 ;
25300 PyObject * obj1 = 0 ;
994141e6 25301 PyObject * obj2 = 0 ;
d14a1e28
RD
25302 char *kwnames[] = {
25303 (char *) "self",(char *) "imageList",(char *) "which", NULL
25304 };
25305
994141e6 25306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25308 if (SWIG_arg_fail(1)) SWIG_fail;
25309 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25310 if (SWIG_arg_fail(2)) SWIG_fail;
25311 {
25312 arg3 = (int)(SWIG_As_int(obj2));
25313 if (SWIG_arg_fail(3)) SWIG_fail;
25314 }
d14a1e28
RD
25315 {
25316 PyThreadState* __tstate = wxPyBeginAllowThreads();
25317 (arg1)->SetImageList(arg2,arg3);
25318
25319 wxPyEndAllowThreads(__tstate);
25320 if (PyErr_Occurred()) SWIG_fail;
25321 }
25322 Py_INCREF(Py_None); resultobj = Py_None;
25323 return resultobj;
25324 fail:
25325 return NULL;
25326}
25327
25328
c32bde28 25329static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25330 PyObject *resultobj;
25331 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25332 wxImageList *arg2 = (wxImageList *) 0 ;
25333 int arg3 ;
25334 PyObject * obj0 = 0 ;
25335 PyObject * obj1 = 0 ;
994141e6 25336 PyObject * obj2 = 0 ;
d14a1e28
RD
25337 char *kwnames[] = {
25338 (char *) "self",(char *) "imageList",(char *) "which", NULL
25339 };
25340
994141e6 25341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25343 if (SWIG_arg_fail(1)) SWIG_fail;
25344 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25345 if (SWIG_arg_fail(2)) SWIG_fail;
25346 {
25347 arg3 = (int)(SWIG_As_int(obj2));
25348 if (SWIG_arg_fail(3)) SWIG_fail;
25349 }
d14a1e28
RD
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 (arg1)->AssignImageList(arg2,arg3);
25353
25354 wxPyEndAllowThreads(__tstate);
25355 if (PyErr_Occurred()) SWIG_fail;
25356 }
25357 Py_INCREF(Py_None); resultobj = Py_None;
25358 return resultobj;
25359 fail:
25360 return NULL;
25361}
25362
25363
c32bde28 25364static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
25365 PyObject *resultobj;
25366 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25367 bool result;
25368 PyObject * obj0 = 0 ;
25369 char *kwnames[] = {
25370 (char *) "self", NULL
25371 };
25372
25373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
093d3ff1
RD
25374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25375 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
25376 {
25377 PyThreadState* __tstate = wxPyBeginAllowThreads();
25378 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25379
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
4f89f6a3
RD
25383 {
25384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25385 }
4276dc52
RD
25386 return resultobj;
25387 fail:
25388 return NULL;
25389}
25390
25391
c32bde28 25392static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25393 PyObject *resultobj;
25394 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25395 bool result;
25396 PyObject * obj0 = 0 ;
25397 char *kwnames[] = {
25398 (char *) "self", NULL
25399 };
25400
25401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
093d3ff1
RD
25402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25403 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25404 {
25405 PyThreadState* __tstate = wxPyBeginAllowThreads();
25406 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25407
25408 wxPyEndAllowThreads(__tstate);
25409 if (PyErr_Occurred()) SWIG_fail;
25410 }
4f89f6a3
RD
25411 {
25412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25413 }
d14a1e28
RD
25414 return resultobj;
25415 fail:
25416 return NULL;
25417}
25418
25419
c32bde28 25420static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25421 PyObject *resultobj;
25422 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25423 long arg2 ;
25424 PyObject * obj0 = 0 ;
994141e6 25425 PyObject * obj1 = 0 ;
d14a1e28
RD
25426 char *kwnames[] = {
25427 (char *) "self",(char *) "item", NULL
25428 };
25429
994141e6 25430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25432 if (SWIG_arg_fail(1)) SWIG_fail;
25433 {
25434 arg2 = (long)(SWIG_As_long(obj1));
25435 if (SWIG_arg_fail(2)) SWIG_fail;
25436 }
d14a1e28
RD
25437 {
25438 PyThreadState* __tstate = wxPyBeginAllowThreads();
25439 (arg1)->RefreshItem(arg2);
25440
25441 wxPyEndAllowThreads(__tstate);
25442 if (PyErr_Occurred()) SWIG_fail;
25443 }
25444 Py_INCREF(Py_None); resultobj = Py_None;
25445 return resultobj;
25446 fail:
25447 return NULL;
25448}
25449
25450
c32bde28 25451static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25452 PyObject *resultobj;
25453 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25454 long arg2 ;
25455 long arg3 ;
25456 PyObject * obj0 = 0 ;
994141e6
RD
25457 PyObject * obj1 = 0 ;
25458 PyObject * obj2 = 0 ;
d14a1e28
RD
25459 char *kwnames[] = {
25460 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25461 };
25462
994141e6 25463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25465 if (SWIG_arg_fail(1)) SWIG_fail;
25466 {
25467 arg2 = (long)(SWIG_As_long(obj1));
25468 if (SWIG_arg_fail(2)) SWIG_fail;
25469 }
25470 {
25471 arg3 = (long)(SWIG_As_long(obj2));
25472 if (SWIG_arg_fail(3)) SWIG_fail;
25473 }
d14a1e28
RD
25474 {
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 (arg1)->RefreshItems(arg2,arg3);
25477
25478 wxPyEndAllowThreads(__tstate);
25479 if (PyErr_Occurred()) SWIG_fail;
25480 }
25481 Py_INCREF(Py_None); resultobj = Py_None;
25482 return resultobj;
25483 fail:
25484 return NULL;
25485}
25486
25487
c32bde28 25488static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25489 PyObject *resultobj;
25490 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25491 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25492 bool result;
25493 PyObject * obj0 = 0 ;
994141e6 25494 PyObject * obj1 = 0 ;
d14a1e28
RD
25495 char *kwnames[] = {
25496 (char *) "self",(char *) "flag", NULL
25497 };
25498
994141e6 25499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25501 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 25502 if (obj1) {
093d3ff1
RD
25503 {
25504 arg2 = (int)(SWIG_As_int(obj1));
25505 if (SWIG_arg_fail(2)) SWIG_fail;
25506 }
994141e6 25507 }
d14a1e28
RD
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 result = (bool)(arg1)->Arrange(arg2);
25511
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
4f89f6a3
RD
25515 {
25516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25517 }
d14a1e28
RD
25518 return resultobj;
25519 fail:
25520 return NULL;
25521}
25522
25523
c32bde28 25524static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25525 PyObject *resultobj;
25526 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25527 long arg2 ;
25528 bool result;
25529 PyObject * obj0 = 0 ;
994141e6 25530 PyObject * obj1 = 0 ;
d14a1e28
RD
25531 char *kwnames[] = {
25532 (char *) "self",(char *) "item", NULL
25533 };
25534
994141e6 25535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25537 if (SWIG_arg_fail(1)) SWIG_fail;
25538 {
25539 arg2 = (long)(SWIG_As_long(obj1));
25540 if (SWIG_arg_fail(2)) SWIG_fail;
25541 }
d14a1e28
RD
25542 {
25543 PyThreadState* __tstate = wxPyBeginAllowThreads();
25544 result = (bool)(arg1)->DeleteItem(arg2);
25545
25546 wxPyEndAllowThreads(__tstate);
25547 if (PyErr_Occurred()) SWIG_fail;
25548 }
4f89f6a3
RD
25549 {
25550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25551 }
d14a1e28
RD
25552 return resultobj;
25553 fail:
25554 return NULL;
25555}
25556
25557
c32bde28 25558static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25559 PyObject *resultobj;
25560 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25561 bool result;
25562 PyObject * obj0 = 0 ;
25563 char *kwnames[] = {
25564 (char *) "self", NULL
25565 };
25566
25567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
25568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25569 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25570 {
25571 PyThreadState* __tstate = wxPyBeginAllowThreads();
25572 result = (bool)(arg1)->DeleteAllItems();
25573
25574 wxPyEndAllowThreads(__tstate);
25575 if (PyErr_Occurred()) SWIG_fail;
25576 }
4f89f6a3
RD
25577 {
25578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25579 }
d14a1e28
RD
25580 return resultobj;
25581 fail:
25582 return NULL;
25583}
25584
25585
c32bde28 25586static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25587 PyObject *resultobj;
25588 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25589 int arg2 ;
25590 bool result;
25591 PyObject * obj0 = 0 ;
994141e6 25592 PyObject * obj1 = 0 ;
d14a1e28
RD
25593 char *kwnames[] = {
25594 (char *) "self",(char *) "col", NULL
25595 };
25596
994141e6 25597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25599 if (SWIG_arg_fail(1)) SWIG_fail;
25600 {
25601 arg2 = (int)(SWIG_As_int(obj1));
25602 if (SWIG_arg_fail(2)) SWIG_fail;
25603 }
d14a1e28
RD
25604 {
25605 PyThreadState* __tstate = wxPyBeginAllowThreads();
25606 result = (bool)(arg1)->DeleteColumn(arg2);
25607
25608 wxPyEndAllowThreads(__tstate);
25609 if (PyErr_Occurred()) SWIG_fail;
25610 }
4f89f6a3
RD
25611 {
25612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25613 }
d14a1e28
RD
25614 return resultobj;
25615 fail:
25616 return NULL;
25617}
25618
25619
c32bde28 25620static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25621 PyObject *resultobj;
25622 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25623 bool result;
25624 PyObject * obj0 = 0 ;
25625 char *kwnames[] = {
25626 (char *) "self", NULL
25627 };
25628
25629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
093d3ff1
RD
25630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25631 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25632 {
25633 PyThreadState* __tstate = wxPyBeginAllowThreads();
25634 result = (bool)(arg1)->DeleteAllColumns();
25635
25636 wxPyEndAllowThreads(__tstate);
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
4f89f6a3
RD
25639 {
25640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25641 }
d14a1e28
RD
25642 return resultobj;
25643 fail:
25644 return NULL;
25645}
25646
25647
c32bde28 25648static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25649 PyObject *resultobj;
25650 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25651 PyObject * obj0 = 0 ;
25652 char *kwnames[] = {
25653 (char *) "self", NULL
25654 };
25655
25656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
25657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25658 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25659 {
25660 PyThreadState* __tstate = wxPyBeginAllowThreads();
25661 (arg1)->ClearAll();
25662
25663 wxPyEndAllowThreads(__tstate);
25664 if (PyErr_Occurred()) SWIG_fail;
25665 }
25666 Py_INCREF(Py_None); resultobj = Py_None;
25667 return resultobj;
25668 fail:
25669 return NULL;
25670}
25671
25672
c32bde28 25673static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25674 PyObject *resultobj;
25675 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25676 long arg2 ;
25677 PyObject * obj0 = 0 ;
994141e6 25678 PyObject * obj1 = 0 ;
d14a1e28
RD
25679 char *kwnames[] = {
25680 (char *) "self",(char *) "item", NULL
25681 };
25682
994141e6 25683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25685 if (SWIG_arg_fail(1)) SWIG_fail;
25686 {
25687 arg2 = (long)(SWIG_As_long(obj1));
25688 if (SWIG_arg_fail(2)) SWIG_fail;
25689 }
d14a1e28
RD
25690 {
25691 PyThreadState* __tstate = wxPyBeginAllowThreads();
25692 (arg1)->EditLabel(arg2);
25693
25694 wxPyEndAllowThreads(__tstate);
25695 if (PyErr_Occurred()) SWIG_fail;
25696 }
25697 Py_INCREF(Py_None); resultobj = Py_None;
25698 return resultobj;
25699 fail:
25700 return NULL;
25701}
25702
25703
c32bde28 25704static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25705 PyObject *resultobj;
25706 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25707 long arg2 ;
25708 bool result;
25709 PyObject * obj0 = 0 ;
994141e6 25710 PyObject * obj1 = 0 ;
d14a1e28
RD
25711 char *kwnames[] = {
25712 (char *) "self",(char *) "item", NULL
25713 };
25714
994141e6 25715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25717 if (SWIG_arg_fail(1)) SWIG_fail;
25718 {
25719 arg2 = (long)(SWIG_As_long(obj1));
25720 if (SWIG_arg_fail(2)) SWIG_fail;
25721 }
d14a1e28
RD
25722 {
25723 PyThreadState* __tstate = wxPyBeginAllowThreads();
25724 result = (bool)(arg1)->EnsureVisible(arg2);
25725
25726 wxPyEndAllowThreads(__tstate);
25727 if (PyErr_Occurred()) SWIG_fail;
25728 }
4f89f6a3
RD
25729 {
25730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25731 }
d14a1e28
RD
25732 return resultobj;
25733 fail:
25734 return NULL;
25735}
25736
25737
c32bde28 25738static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25739 PyObject *resultobj;
25740 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25741 long arg2 ;
25742 wxString *arg3 = 0 ;
ae8162c8 25743 bool arg4 = (bool) false ;
d14a1e28 25744 long result;
ae8162c8 25745 bool temp3 = false ;
d14a1e28 25746 PyObject * obj0 = 0 ;
994141e6 25747 PyObject * obj1 = 0 ;
d14a1e28
RD
25748 PyObject * obj2 = 0 ;
25749 PyObject * obj3 = 0 ;
25750 char *kwnames[] = {
25751 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25752 };
25753
994141e6 25754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25756 if (SWIG_arg_fail(1)) SWIG_fail;
25757 {
25758 arg2 = (long)(SWIG_As_long(obj1));
25759 if (SWIG_arg_fail(2)) SWIG_fail;
25760 }
d14a1e28
RD
25761 {
25762 arg3 = wxString_in_helper(obj2);
25763 if (arg3 == NULL) SWIG_fail;
ae8162c8 25764 temp3 = true;
d14a1e28
RD
25765 }
25766 if (obj3) {
093d3ff1
RD
25767 {
25768 arg4 = (bool)(SWIG_As_bool(obj3));
25769 if (SWIG_arg_fail(4)) SWIG_fail;
25770 }
d14a1e28
RD
25771 }
25772 {
25773 PyThreadState* __tstate = wxPyBeginAllowThreads();
25774 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25775
25776 wxPyEndAllowThreads(__tstate);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 }
093d3ff1
RD
25779 {
25780 resultobj = SWIG_From_long((long)(result));
25781 }
d14a1e28
RD
25782 {
25783 if (temp3)
25784 delete arg3;
25785 }
25786 return resultobj;
25787 fail:
25788 {
25789 if (temp3)
25790 delete arg3;
25791 }
25792 return NULL;
25793}
25794
25795
c32bde28 25796static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25797 PyObject *resultobj;
25798 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25799 long arg2 ;
25800 long arg3 ;
25801 long result;
25802 PyObject * obj0 = 0 ;
994141e6
RD
25803 PyObject * obj1 = 0 ;
25804 PyObject * obj2 = 0 ;
d14a1e28
RD
25805 char *kwnames[] = {
25806 (char *) "self",(char *) "start",(char *) "data", NULL
25807 };
25808
994141e6 25809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25811 if (SWIG_arg_fail(1)) SWIG_fail;
25812 {
25813 arg2 = (long)(SWIG_As_long(obj1));
25814 if (SWIG_arg_fail(2)) SWIG_fail;
25815 }
25816 {
25817 arg3 = (long)(SWIG_As_long(obj2));
25818 if (SWIG_arg_fail(3)) SWIG_fail;
25819 }
d14a1e28
RD
25820 {
25821 PyThreadState* __tstate = wxPyBeginAllowThreads();
25822 result = (long)(arg1)->FindItem(arg2,arg3);
25823
25824 wxPyEndAllowThreads(__tstate);
25825 if (PyErr_Occurred()) SWIG_fail;
25826 }
093d3ff1
RD
25827 {
25828 resultobj = SWIG_From_long((long)(result));
25829 }
d14a1e28
RD
25830 return resultobj;
25831 fail:
25832 return NULL;
25833}
25834
25835
c32bde28 25836static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25837 PyObject *resultobj;
25838 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25839 long arg2 ;
25840 wxPoint *arg3 = 0 ;
25841 int arg4 ;
25842 long result;
25843 wxPoint temp3 ;
25844 PyObject * obj0 = 0 ;
994141e6 25845 PyObject * obj1 = 0 ;
d14a1e28 25846 PyObject * obj2 = 0 ;
994141e6 25847 PyObject * obj3 = 0 ;
d14a1e28
RD
25848 char *kwnames[] = {
25849 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25850 };
25851
994141e6 25852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25854 if (SWIG_arg_fail(1)) SWIG_fail;
25855 {
25856 arg2 = (long)(SWIG_As_long(obj1));
25857 if (SWIG_arg_fail(2)) SWIG_fail;
25858 }
d14a1e28
RD
25859 {
25860 arg3 = &temp3;
25861 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25862 }
093d3ff1
RD
25863 {
25864 arg4 = (int)(SWIG_As_int(obj3));
25865 if (SWIG_arg_fail(4)) SWIG_fail;
25866 }
d14a1e28
RD
25867 {
25868 PyThreadState* __tstate = wxPyBeginAllowThreads();
25869 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25870
25871 wxPyEndAllowThreads(__tstate);
25872 if (PyErr_Occurred()) SWIG_fail;
25873 }
093d3ff1
RD
25874 {
25875 resultobj = SWIG_From_long((long)(result));
25876 }
d14a1e28
RD
25877 return resultobj;
25878 fail:
25879 return NULL;
25880}
25881
25882
c32bde28 25883static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25884 PyObject *resultobj;
25885 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25886 wxPoint *arg2 = 0 ;
25887 int *arg3 = 0 ;
25888 long result;
25889 wxPoint temp2 ;
25890 int temp3 ;
c32bde28 25891 int res3 = 0 ;
d14a1e28
RD
25892 PyObject * obj0 = 0 ;
25893 PyObject * obj1 = 0 ;
25894 char *kwnames[] = {
25895 (char *) "self",(char *) "point", NULL
25896 };
25897
c32bde28 25898 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 25899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25901 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25902 {
25903 arg2 = &temp2;
25904 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25905 }
25906 {
25907 PyThreadState* __tstate = wxPyBeginAllowThreads();
25908 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25909
25910 wxPyEndAllowThreads(__tstate);
25911 if (PyErr_Occurred()) SWIG_fail;
25912 }
093d3ff1
RD
25913 {
25914 resultobj = SWIG_From_long((long)(result));
25915 }
c32bde28
RD
25916 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25917 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
25918 return resultobj;
25919 fail:
25920 return NULL;
25921}
25922
25923
c32bde28 25924static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25925 PyObject *resultobj;
25926 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25927 wxListItem *arg2 = 0 ;
25928 long result;
25929 PyObject * obj0 = 0 ;
25930 PyObject * obj1 = 0 ;
25931 char *kwnames[] = {
25932 (char *) "self",(char *) "info", NULL
25933 };
25934
25935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25937 if (SWIG_arg_fail(1)) SWIG_fail;
25938 {
25939 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25940 if (SWIG_arg_fail(2)) SWIG_fail;
25941 if (arg2 == NULL) {
25942 SWIG_null_ref("wxListItem");
25943 }
25944 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25945 }
25946 {
25947 PyThreadState* __tstate = wxPyBeginAllowThreads();
25948 result = (long)(arg1)->InsertItem(*arg2);
25949
25950 wxPyEndAllowThreads(__tstate);
25951 if (PyErr_Occurred()) SWIG_fail;
25952 }
093d3ff1
RD
25953 {
25954 resultobj = SWIG_From_long((long)(result));
25955 }
d14a1e28
RD
25956 return resultobj;
25957 fail:
25958 return NULL;
25959}
25960
25961
c32bde28 25962static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25963 PyObject *resultobj;
25964 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25965 long arg2 ;
25966 wxString *arg3 = 0 ;
25967 long result;
ae8162c8 25968 bool temp3 = false ;
d14a1e28 25969 PyObject * obj0 = 0 ;
994141e6 25970 PyObject * obj1 = 0 ;
d14a1e28
RD
25971 PyObject * obj2 = 0 ;
25972 char *kwnames[] = {
25973 (char *) "self",(char *) "index",(char *) "label", NULL
25974 };
25975
994141e6 25976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25978 if (SWIG_arg_fail(1)) SWIG_fail;
25979 {
25980 arg2 = (long)(SWIG_As_long(obj1));
25981 if (SWIG_arg_fail(2)) SWIG_fail;
25982 }
d14a1e28
RD
25983 {
25984 arg3 = wxString_in_helper(obj2);
25985 if (arg3 == NULL) SWIG_fail;
ae8162c8 25986 temp3 = true;
d14a1e28
RD
25987 }
25988 {
25989 PyThreadState* __tstate = wxPyBeginAllowThreads();
25990 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25991
25992 wxPyEndAllowThreads(__tstate);
25993 if (PyErr_Occurred()) SWIG_fail;
25994 }
093d3ff1
RD
25995 {
25996 resultobj = SWIG_From_long((long)(result));
25997 }
d14a1e28
RD
25998 {
25999 if (temp3)
26000 delete arg3;
26001 }
26002 return resultobj;
26003 fail:
26004 {
26005 if (temp3)
26006 delete arg3;
26007 }
26008 return NULL;
26009}
26010
26011
c32bde28 26012static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26013 PyObject *resultobj;
26014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26015 long arg2 ;
26016 int arg3 ;
26017 long result;
26018 PyObject * obj0 = 0 ;
994141e6
RD
26019 PyObject * obj1 = 0 ;
26020 PyObject * obj2 = 0 ;
d14a1e28
RD
26021 char *kwnames[] = {
26022 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26023 };
26024
994141e6 26025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26027 if (SWIG_arg_fail(1)) SWIG_fail;
26028 {
26029 arg2 = (long)(SWIG_As_long(obj1));
26030 if (SWIG_arg_fail(2)) SWIG_fail;
26031 }
26032 {
26033 arg3 = (int)(SWIG_As_int(obj2));
26034 if (SWIG_arg_fail(3)) SWIG_fail;
26035 }
d14a1e28
RD
26036 {
26037 PyThreadState* __tstate = wxPyBeginAllowThreads();
26038 result = (long)(arg1)->InsertItem(arg2,arg3);
26039
26040 wxPyEndAllowThreads(__tstate);
26041 if (PyErr_Occurred()) SWIG_fail;
26042 }
093d3ff1
RD
26043 {
26044 resultobj = SWIG_From_long((long)(result));
26045 }
d14a1e28
RD
26046 return resultobj;
26047 fail:
26048 return NULL;
26049}
26050
26051
c32bde28 26052static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26053 PyObject *resultobj;
26054 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26055 long arg2 ;
26056 wxString *arg3 = 0 ;
26057 int arg4 ;
26058 long result;
ae8162c8 26059 bool temp3 = false ;
d14a1e28 26060 PyObject * obj0 = 0 ;
994141e6 26061 PyObject * obj1 = 0 ;
d14a1e28 26062 PyObject * obj2 = 0 ;
994141e6 26063 PyObject * obj3 = 0 ;
d14a1e28
RD
26064 char *kwnames[] = {
26065 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26066 };
26067
994141e6 26068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
26069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26070 if (SWIG_arg_fail(1)) SWIG_fail;
26071 {
26072 arg2 = (long)(SWIG_As_long(obj1));
26073 if (SWIG_arg_fail(2)) SWIG_fail;
26074 }
d14a1e28
RD
26075 {
26076 arg3 = wxString_in_helper(obj2);
26077 if (arg3 == NULL) SWIG_fail;
ae8162c8 26078 temp3 = true;
d14a1e28 26079 }
093d3ff1
RD
26080 {
26081 arg4 = (int)(SWIG_As_int(obj3));
26082 if (SWIG_arg_fail(4)) SWIG_fail;
26083 }
d14a1e28
RD
26084 {
26085 PyThreadState* __tstate = wxPyBeginAllowThreads();
26086 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26087
26088 wxPyEndAllowThreads(__tstate);
26089 if (PyErr_Occurred()) SWIG_fail;
26090 }
093d3ff1
RD
26091 {
26092 resultobj = SWIG_From_long((long)(result));
26093 }
d14a1e28
RD
26094 {
26095 if (temp3)
26096 delete arg3;
26097 }
26098 return resultobj;
26099 fail:
26100 {
26101 if (temp3)
26102 delete arg3;
26103 }
26104 return NULL;
26105}
26106
26107
a3957d3d 26108static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26109 PyObject *resultobj;
26110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26111 long arg2 ;
26112 wxListItem *arg3 = 0 ;
26113 long result;
26114 PyObject * obj0 = 0 ;
994141e6 26115 PyObject * obj1 = 0 ;
d14a1e28
RD
26116 PyObject * obj2 = 0 ;
26117 char *kwnames[] = {
26118 (char *) "self",(char *) "col",(char *) "info", NULL
26119 };
26120
a3957d3d 26121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26123 if (SWIG_arg_fail(1)) SWIG_fail;
26124 {
26125 arg2 = (long)(SWIG_As_long(obj1));
26126 if (SWIG_arg_fail(2)) SWIG_fail;
26127 }
26128 {
26129 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26130 if (SWIG_arg_fail(3)) SWIG_fail;
26131 if (arg3 == NULL) {
26132 SWIG_null_ref("wxListItem");
26133 }
26134 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26135 }
26136 {
26137 PyThreadState* __tstate = wxPyBeginAllowThreads();
26138 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26139
26140 wxPyEndAllowThreads(__tstate);
26141 if (PyErr_Occurred()) SWIG_fail;
26142 }
093d3ff1
RD
26143 {
26144 resultobj = SWIG_From_long((long)(result));
26145 }
d14a1e28
RD
26146 return resultobj;
26147 fail:
26148 return NULL;
26149}
26150
26151
c32bde28 26152static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26153 PyObject *resultobj;
26154 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26155 long arg2 ;
26156 wxString *arg3 = 0 ;
26157 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26158 int arg5 = (int) -1 ;
26159 long result;
ae8162c8 26160 bool temp3 = false ;
d14a1e28 26161 PyObject * obj0 = 0 ;
994141e6 26162 PyObject * obj1 = 0 ;
d14a1e28 26163 PyObject * obj2 = 0 ;
994141e6
RD
26164 PyObject * obj3 = 0 ;
26165 PyObject * obj4 = 0 ;
d14a1e28
RD
26166 char *kwnames[] = {
26167 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26168 };
26169
994141e6 26170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
26171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26172 if (SWIG_arg_fail(1)) SWIG_fail;
26173 {
26174 arg2 = (long)(SWIG_As_long(obj1));
26175 if (SWIG_arg_fail(2)) SWIG_fail;
26176 }
d14a1e28
RD
26177 {
26178 arg3 = wxString_in_helper(obj2);
26179 if (arg3 == NULL) SWIG_fail;
ae8162c8 26180 temp3 = true;
d14a1e28 26181 }
994141e6 26182 if (obj3) {
093d3ff1
RD
26183 {
26184 arg4 = (int)(SWIG_As_int(obj3));
26185 if (SWIG_arg_fail(4)) SWIG_fail;
26186 }
994141e6
RD
26187 }
26188 if (obj4) {
093d3ff1
RD
26189 {
26190 arg5 = (int)(SWIG_As_int(obj4));
26191 if (SWIG_arg_fail(5)) SWIG_fail;
26192 }
994141e6 26193 }
d14a1e28
RD
26194 {
26195 PyThreadState* __tstate = wxPyBeginAllowThreads();
26196 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26197
26198 wxPyEndAllowThreads(__tstate);
26199 if (PyErr_Occurred()) SWIG_fail;
26200 }
093d3ff1
RD
26201 {
26202 resultobj = SWIG_From_long((long)(result));
26203 }
d14a1e28
RD
26204 {
26205 if (temp3)
26206 delete arg3;
26207 }
26208 return resultobj;
26209 fail:
26210 {
26211 if (temp3)
26212 delete arg3;
26213 }
26214 return NULL;
26215}
26216
26217
c32bde28 26218static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26219 PyObject *resultobj;
26220 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26221 long arg2 ;
26222 PyObject * obj0 = 0 ;
994141e6 26223 PyObject * obj1 = 0 ;
d14a1e28
RD
26224 char *kwnames[] = {
26225 (char *) "self",(char *) "count", NULL
26226 };
26227
994141e6 26228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26230 if (SWIG_arg_fail(1)) SWIG_fail;
26231 {
26232 arg2 = (long)(SWIG_As_long(obj1));
26233 if (SWIG_arg_fail(2)) SWIG_fail;
26234 }
d14a1e28
RD
26235 {
26236 PyThreadState* __tstate = wxPyBeginAllowThreads();
26237 (arg1)->SetItemCount(arg2);
26238
26239 wxPyEndAllowThreads(__tstate);
26240 if (PyErr_Occurred()) SWIG_fail;
26241 }
26242 Py_INCREF(Py_None); resultobj = Py_None;
26243 return resultobj;
26244 fail:
26245 return NULL;
26246}
26247
26248
c32bde28 26249static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26250 PyObject *resultobj;
26251 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26252 int arg2 ;
26253 int arg3 ;
26254 bool result;
26255 PyObject * obj0 = 0 ;
994141e6
RD
26256 PyObject * obj1 = 0 ;
26257 PyObject * obj2 = 0 ;
d14a1e28
RD
26258 char *kwnames[] = {
26259 (char *) "self",(char *) "dx",(char *) "dy", NULL
26260 };
26261
994141e6 26262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26264 if (SWIG_arg_fail(1)) SWIG_fail;
26265 {
26266 arg2 = (int)(SWIG_As_int(obj1));
26267 if (SWIG_arg_fail(2)) SWIG_fail;
26268 }
26269 {
26270 arg3 = (int)(SWIG_As_int(obj2));
26271 if (SWIG_arg_fail(3)) SWIG_fail;
26272 }
d14a1e28
RD
26273 {
26274 PyThreadState* __tstate = wxPyBeginAllowThreads();
26275 result = (bool)(arg1)->ScrollList(arg2,arg3);
26276
26277 wxPyEndAllowThreads(__tstate);
26278 if (PyErr_Occurred()) SWIG_fail;
26279 }
4f89f6a3
RD
26280 {
26281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26282 }
d14a1e28
RD
26283 return resultobj;
26284 fail:
26285 return NULL;
26286}
26287
26288
c32bde28 26289static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26290 PyObject *resultobj;
26291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26292 long arg2 ;
26293 wxColour *arg3 = 0 ;
26294 wxColour temp3 ;
26295 PyObject * obj0 = 0 ;
994141e6 26296 PyObject * obj1 = 0 ;
d14a1e28
RD
26297 PyObject * obj2 = 0 ;
26298 char *kwnames[] = {
26299 (char *) "self",(char *) "item",(char *) "col", NULL
26300 };
26301
994141e6 26302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26304 if (SWIG_arg_fail(1)) SWIG_fail;
26305 {
26306 arg2 = (long)(SWIG_As_long(obj1));
26307 if (SWIG_arg_fail(2)) SWIG_fail;
26308 }
d14a1e28
RD
26309 {
26310 arg3 = &temp3;
26311 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26312 }
26313 {
26314 PyThreadState* __tstate = wxPyBeginAllowThreads();
26315 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26316
26317 wxPyEndAllowThreads(__tstate);
26318 if (PyErr_Occurred()) SWIG_fail;
26319 }
26320 Py_INCREF(Py_None); resultobj = Py_None;
26321 return resultobj;
26322 fail:
26323 return NULL;
26324}
26325
26326
c32bde28 26327static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26328 PyObject *resultobj;
26329 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26330 long arg2 ;
26331 wxColour result;
26332 PyObject * obj0 = 0 ;
994141e6 26333 PyObject * obj1 = 0 ;
d14a1e28
RD
26334 char *kwnames[] = {
26335 (char *) "self",(char *) "item", NULL
26336 };
26337
994141e6 26338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26340 if (SWIG_arg_fail(1)) SWIG_fail;
26341 {
26342 arg2 = (long)(SWIG_As_long(obj1));
26343 if (SWIG_arg_fail(2)) SWIG_fail;
26344 }
d14a1e28
RD
26345 {
26346 PyThreadState* __tstate = wxPyBeginAllowThreads();
26347 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26348
26349 wxPyEndAllowThreads(__tstate);
26350 if (PyErr_Occurred()) SWIG_fail;
26351 }
26352 {
26353 wxColour * resultptr;
093d3ff1 26354 resultptr = new wxColour((wxColour &)(result));
15afbcd0 26355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26356 }
26357 return resultobj;
26358 fail:
26359 return NULL;
26360}
26361
26362
c32bde28 26363static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26364 PyObject *resultobj;
26365 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26366 long arg2 ;
26367 wxColour *arg3 = 0 ;
26368 wxColour temp3 ;
26369 PyObject * obj0 = 0 ;
994141e6 26370 PyObject * obj1 = 0 ;
d14a1e28
RD
26371 PyObject * obj2 = 0 ;
26372 char *kwnames[] = {
26373 (char *) "self",(char *) "item",(char *) "col", NULL
26374 };
26375
994141e6 26376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26378 if (SWIG_arg_fail(1)) SWIG_fail;
26379 {
26380 arg2 = (long)(SWIG_As_long(obj1));
26381 if (SWIG_arg_fail(2)) SWIG_fail;
26382 }
d14a1e28
RD
26383 {
26384 arg3 = &temp3;
26385 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26386 }
26387 {
26388 PyThreadState* __tstate = wxPyBeginAllowThreads();
26389 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26390
26391 wxPyEndAllowThreads(__tstate);
26392 if (PyErr_Occurred()) SWIG_fail;
26393 }
26394 Py_INCREF(Py_None); resultobj = Py_None;
26395 return resultobj;
26396 fail:
26397 return NULL;
26398}
26399
26400
c32bde28 26401static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26402 PyObject *resultobj;
26403 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26404 long arg2 ;
26405 wxColour result;
26406 PyObject * obj0 = 0 ;
994141e6 26407 PyObject * obj1 = 0 ;
d14a1e28
RD
26408 char *kwnames[] = {
26409 (char *) "self",(char *) "item", NULL
26410 };
26411
994141e6 26412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26414 if (SWIG_arg_fail(1)) SWIG_fail;
26415 {
26416 arg2 = (long)(SWIG_As_long(obj1));
26417 if (SWIG_arg_fail(2)) SWIG_fail;
26418 }
d14a1e28
RD
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26422
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 {
26427 wxColour * resultptr;
093d3ff1 26428 resultptr = new wxColour((wxColour &)(result));
15afbcd0 26429 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26430 }
26431 return resultobj;
26432 fail:
26433 return NULL;
26434}
26435
26436
c32bde28 26437static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26438 PyObject *resultobj;
26439 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26440 PyObject *arg2 = (PyObject *) 0 ;
26441 bool result;
26442 PyObject * obj0 = 0 ;
26443 PyObject * obj1 = 0 ;
26444 char *kwnames[] = {
26445 (char *) "self",(char *) "func", NULL
26446 };
26447
26448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26450 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26451 arg2 = obj1;
26452 {
26453 PyThreadState* __tstate = wxPyBeginAllowThreads();
26454 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26455
26456 wxPyEndAllowThreads(__tstate);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 }
4f89f6a3
RD
26459 {
26460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26461 }
d14a1e28
RD
26462 return resultobj;
26463 fail:
26464 return NULL;
26465}
26466
26467
c32bde28 26468static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26469 PyObject *resultobj;
26470 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26471 wxWindow *result;
26472 PyObject * obj0 = 0 ;
26473 char *kwnames[] = {
26474 (char *) "self", NULL
26475 };
26476
26477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
26478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26480 {
26481 PyThreadState* __tstate = wxPyBeginAllowThreads();
26482 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26483
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 {
412d302d 26488 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26489 }
26490 return resultobj;
26491 fail:
26492 return NULL;
26493}
26494
26495
c32bde28 26496static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 26497 PyObject *resultobj;
093d3ff1 26498 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
26499 wxVisualAttributes result;
26500 PyObject * obj0 = 0 ;
26501 char *kwnames[] = {
26502 (char *) "variant", NULL
26503 };
26504
26505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26506 if (obj0) {
093d3ff1
RD
26507 {
26508 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26509 if (SWIG_arg_fail(1)) SWIG_fail;
26510 }
74a57fcd
RD
26511 }
26512 {
110da5b0 26513 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
26514 PyThreadState* __tstate = wxPyBeginAllowThreads();
26515 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26516
26517 wxPyEndAllowThreads(__tstate);
dfbb5885 26518 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
26519 }
26520 {
26521 wxVisualAttributes * resultptr;
093d3ff1 26522 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
74a57fcd
RD
26523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26524 }
26525 return resultobj;
26526 fail:
26527 return NULL;
26528}
26529
26530
c32bde28 26531static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26532 PyObject *obj;
26533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26534 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26535 Py_INCREF(obj);
26536 return Py_BuildValue((char *)"");
26537}
c32bde28 26538static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26539 PyObject *resultobj;
26540 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 26541 int arg2 = (int) -1 ;
d14a1e28
RD
26542 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26543 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26544 wxSize const &arg4_defvalue = wxDefaultSize ;
26545 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26546 long arg5 = (long) wxLC_REPORT ;
26547 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26548 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26549 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26550 wxString *arg7 = (wxString *) &arg7_defvalue ;
26551 wxListView *result;
26552 wxPoint temp3 ;
26553 wxSize temp4 ;
ae8162c8 26554 bool temp7 = false ;
d14a1e28 26555 PyObject * obj0 = 0 ;
994141e6 26556 PyObject * obj1 = 0 ;
d14a1e28
RD
26557 PyObject * obj2 = 0 ;
26558 PyObject * obj3 = 0 ;
994141e6 26559 PyObject * obj4 = 0 ;
d14a1e28
RD
26560 PyObject * obj5 = 0 ;
26561 PyObject * obj6 = 0 ;
26562 char *kwnames[] = {
26563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26564 };
26565
994141e6 26566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
26567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26568 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 26569 if (obj1) {
093d3ff1
RD
26570 {
26571 arg2 = (int)(SWIG_As_int(obj1));
26572 if (SWIG_arg_fail(2)) SWIG_fail;
26573 }
994141e6 26574 }
d14a1e28
RD
26575 if (obj2) {
26576 {
26577 arg3 = &temp3;
26578 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26579 }
26580 }
26581 if (obj3) {
26582 {
26583 arg4 = &temp4;
26584 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26585 }
26586 }
994141e6 26587 if (obj4) {
093d3ff1
RD
26588 {
26589 arg5 = (long)(SWIG_As_long(obj4));
26590 if (SWIG_arg_fail(5)) SWIG_fail;
26591 }
994141e6 26592 }
d14a1e28 26593 if (obj5) {
093d3ff1
RD
26594 {
26595 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26596 if (SWIG_arg_fail(6)) SWIG_fail;
26597 if (arg6 == NULL) {
26598 SWIG_null_ref("wxValidator");
26599 }
26600 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
26601 }
26602 }
26603 if (obj6) {
26604 {
26605 arg7 = wxString_in_helper(obj6);
26606 if (arg7 == NULL) SWIG_fail;
ae8162c8 26607 temp7 = true;
d14a1e28
RD
26608 }
26609 }
26610 {
e3b71cb8 26611 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26612 PyThreadState* __tstate = wxPyBeginAllowThreads();
26613 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26614
26615 wxPyEndAllowThreads(__tstate);
110da5b0 26616 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26617 }
15afbcd0 26618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
26619 {
26620 if (temp7)
26621 delete arg7;
26622 }
26623 return resultobj;
26624 fail:
26625 {
26626 if (temp7)
26627 delete arg7;
26628 }
26629 return NULL;
26630}
26631
26632
c32bde28 26633static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26634 PyObject *resultobj;
26635 wxListView *result;
26636 char *kwnames[] = {
26637 NULL
26638 };
26639
26640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26641 {
e3b71cb8 26642 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26643 PyThreadState* __tstate = wxPyBeginAllowThreads();
26644 result = (wxListView *)new wxListView();
26645
26646 wxPyEndAllowThreads(__tstate);
110da5b0 26647 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26648 }
15afbcd0 26649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
26650 return resultobj;
26651 fail:
26652 return NULL;
26653}
26654
26655
c32bde28 26656static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26657 PyObject *resultobj;
26658 wxListView *arg1 = (wxListView *) 0 ;
26659 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 26660 int arg3 = (int) -1 ;
d14a1e28
RD
26661 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26662 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26663 wxSize const &arg5_defvalue = wxDefaultSize ;
26664 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26665 long arg6 = (long) wxLC_REPORT ;
26666 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26667 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26668 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26669 wxString *arg8 = (wxString *) &arg8_defvalue ;
26670 bool result;
26671 wxPoint temp4 ;
26672 wxSize temp5 ;
ae8162c8 26673 bool temp8 = false ;
d14a1e28
RD
26674 PyObject * obj0 = 0 ;
26675 PyObject * obj1 = 0 ;
994141e6 26676 PyObject * obj2 = 0 ;
d14a1e28
RD
26677 PyObject * obj3 = 0 ;
26678 PyObject * obj4 = 0 ;
994141e6 26679 PyObject * obj5 = 0 ;
d14a1e28
RD
26680 PyObject * obj6 = 0 ;
26681 PyObject * obj7 = 0 ;
26682 char *kwnames[] = {
26683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26684 };
26685
994141e6 26686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
26687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26688 if (SWIG_arg_fail(1)) SWIG_fail;
26689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26690 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 26691 if (obj2) {
093d3ff1
RD
26692 {
26693 arg3 = (int)(SWIG_As_int(obj2));
26694 if (SWIG_arg_fail(3)) SWIG_fail;
26695 }
994141e6 26696 }
d14a1e28
RD
26697 if (obj3) {
26698 {
26699 arg4 = &temp4;
26700 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26701 }
26702 }
26703 if (obj4) {
26704 {
26705 arg5 = &temp5;
26706 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26707 }
26708 }
994141e6 26709 if (obj5) {
093d3ff1
RD
26710 {
26711 arg6 = (long)(SWIG_As_long(obj5));
26712 if (SWIG_arg_fail(6)) SWIG_fail;
26713 }
994141e6 26714 }
d14a1e28 26715 if (obj6) {
093d3ff1
RD
26716 {
26717 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26718 if (SWIG_arg_fail(7)) SWIG_fail;
26719 if (arg7 == NULL) {
26720 SWIG_null_ref("wxValidator");
26721 }
26722 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
26723 }
26724 }
26725 if (obj7) {
26726 {
26727 arg8 = wxString_in_helper(obj7);
26728 if (arg8 == NULL) SWIG_fail;
ae8162c8 26729 temp8 = true;
d14a1e28
RD
26730 }
26731 }
26732 {
26733 PyThreadState* __tstate = wxPyBeginAllowThreads();
26734 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26735
26736 wxPyEndAllowThreads(__tstate);
26737 if (PyErr_Occurred()) SWIG_fail;
26738 }
4f89f6a3
RD
26739 {
26740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26741 }
d14a1e28
RD
26742 {
26743 if (temp8)
26744 delete arg8;
26745 }
26746 return resultobj;
26747 fail:
26748 {
26749 if (temp8)
26750 delete arg8;
26751 }
26752 return NULL;
26753}
26754
26755
c32bde28 26756static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26757 PyObject *resultobj;
26758 wxListView *arg1 = (wxListView *) 0 ;
26759 long arg2 ;
ae8162c8 26760 bool arg3 = (bool) true ;
d14a1e28 26761 PyObject * obj0 = 0 ;
994141e6 26762 PyObject * obj1 = 0 ;
d14a1e28
RD
26763 PyObject * obj2 = 0 ;
26764 char *kwnames[] = {
26765 (char *) "self",(char *) "n",(char *) "on", NULL
26766 };
26767
15afbcd0 26768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26770 if (SWIG_arg_fail(1)) SWIG_fail;
26771 {
26772 arg2 = (long)(SWIG_As_long(obj1));
26773 if (SWIG_arg_fail(2)) SWIG_fail;
26774 }
d14a1e28 26775 if (obj2) {
093d3ff1
RD
26776 {
26777 arg3 = (bool)(SWIG_As_bool(obj2));
26778 if (SWIG_arg_fail(3)) SWIG_fail;
26779 }
d14a1e28
RD
26780 }
26781 {
26782 PyThreadState* __tstate = wxPyBeginAllowThreads();
26783 (arg1)->Select(arg2,arg3);
26784
26785 wxPyEndAllowThreads(__tstate);
26786 if (PyErr_Occurred()) SWIG_fail;
26787 }
26788 Py_INCREF(Py_None); resultobj = Py_None;
26789 return resultobj;
26790 fail:
26791 return NULL;
26792}
26793
26794
c32bde28 26795static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26796 PyObject *resultobj;
26797 wxListView *arg1 = (wxListView *) 0 ;
26798 long arg2 ;
26799 PyObject * obj0 = 0 ;
994141e6 26800 PyObject * obj1 = 0 ;
d14a1e28
RD
26801 char *kwnames[] = {
26802 (char *) "self",(char *) "index", NULL
26803 };
26804
994141e6 26805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26807 if (SWIG_arg_fail(1)) SWIG_fail;
26808 {
26809 arg2 = (long)(SWIG_As_long(obj1));
26810 if (SWIG_arg_fail(2)) SWIG_fail;
26811 }
d14a1e28
RD
26812 {
26813 PyThreadState* __tstate = wxPyBeginAllowThreads();
26814 (arg1)->Focus(arg2);
26815
26816 wxPyEndAllowThreads(__tstate);
26817 if (PyErr_Occurred()) SWIG_fail;
26818 }
26819 Py_INCREF(Py_None); resultobj = Py_None;
26820 return resultobj;
26821 fail:
26822 return NULL;
26823}
26824
26825
c32bde28 26826static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26827 PyObject *resultobj;
26828 wxListView *arg1 = (wxListView *) 0 ;
26829 long result;
26830 PyObject * obj0 = 0 ;
26831 char *kwnames[] = {
26832 (char *) "self", NULL
26833 };
26834
26835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
26836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26837 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26838 {
26839 PyThreadState* __tstate = wxPyBeginAllowThreads();
26840 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26841
26842 wxPyEndAllowThreads(__tstate);
26843 if (PyErr_Occurred()) SWIG_fail;
26844 }
093d3ff1
RD
26845 {
26846 resultobj = SWIG_From_long((long)(result));
26847 }
d14a1e28
RD
26848 return resultobj;
26849 fail:
26850 return NULL;
26851}
26852
26853
c32bde28 26854static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26855 PyObject *resultobj;
26856 wxListView *arg1 = (wxListView *) 0 ;
26857 long arg2 ;
26858 long result;
26859 PyObject * obj0 = 0 ;
994141e6 26860 PyObject * obj1 = 0 ;
d14a1e28
RD
26861 char *kwnames[] = {
26862 (char *) "self",(char *) "item", NULL
26863 };
26864
994141e6 26865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26867 if (SWIG_arg_fail(1)) SWIG_fail;
26868 {
26869 arg2 = (long)(SWIG_As_long(obj1));
26870 if (SWIG_arg_fail(2)) SWIG_fail;
26871 }
d14a1e28
RD
26872 {
26873 PyThreadState* __tstate = wxPyBeginAllowThreads();
26874 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26875
26876 wxPyEndAllowThreads(__tstate);
26877 if (PyErr_Occurred()) SWIG_fail;
26878 }
093d3ff1
RD
26879 {
26880 resultobj = SWIG_From_long((long)(result));
26881 }
d14a1e28
RD
26882 return resultobj;
26883 fail:
26884 return NULL;
26885}
26886
26887
c32bde28 26888static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26889 PyObject *resultobj;
26890 wxListView *arg1 = (wxListView *) 0 ;
26891 long result;
26892 PyObject * obj0 = 0 ;
26893 char *kwnames[] = {
26894 (char *) "self", NULL
26895 };
26896
26897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
26898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26899 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26900 {
26901 PyThreadState* __tstate = wxPyBeginAllowThreads();
26902 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26903
26904 wxPyEndAllowThreads(__tstate);
26905 if (PyErr_Occurred()) SWIG_fail;
26906 }
093d3ff1
RD
26907 {
26908 resultobj = SWIG_From_long((long)(result));
26909 }
d14a1e28
RD
26910 return resultobj;
26911 fail:
26912 return NULL;
26913}
26914
26915
c32bde28 26916static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26917 PyObject *resultobj;
26918 wxListView *arg1 = (wxListView *) 0 ;
26919 long arg2 ;
26920 bool result;
26921 PyObject * obj0 = 0 ;
994141e6 26922 PyObject * obj1 = 0 ;
d14a1e28
RD
26923 char *kwnames[] = {
26924 (char *) "self",(char *) "index", NULL
26925 };
26926
994141e6 26927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26929 if (SWIG_arg_fail(1)) SWIG_fail;
26930 {
26931 arg2 = (long)(SWIG_As_long(obj1));
26932 if (SWIG_arg_fail(2)) SWIG_fail;
26933 }
d14a1e28
RD
26934 {
26935 PyThreadState* __tstate = wxPyBeginAllowThreads();
26936 result = (bool)(arg1)->IsSelected(arg2);
26937
26938 wxPyEndAllowThreads(__tstate);
26939 if (PyErr_Occurred()) SWIG_fail;
26940 }
4f89f6a3
RD
26941 {
26942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26943 }
d14a1e28
RD
26944 return resultobj;
26945 fail:
26946 return NULL;
26947}
26948
26949
c32bde28 26950static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26951 PyObject *resultobj;
26952 wxListView *arg1 = (wxListView *) 0 ;
26953 int arg2 ;
26954 int arg3 ;
26955 PyObject * obj0 = 0 ;
994141e6
RD
26956 PyObject * obj1 = 0 ;
26957 PyObject * obj2 = 0 ;
d14a1e28
RD
26958 char *kwnames[] = {
26959 (char *) "self",(char *) "col",(char *) "image", NULL
26960 };
26961
994141e6 26962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26964 if (SWIG_arg_fail(1)) SWIG_fail;
26965 {
26966 arg2 = (int)(SWIG_As_int(obj1));
26967 if (SWIG_arg_fail(2)) SWIG_fail;
26968 }
26969 {
26970 arg3 = (int)(SWIG_As_int(obj2));
26971 if (SWIG_arg_fail(3)) SWIG_fail;
26972 }
d14a1e28
RD
26973 {
26974 PyThreadState* __tstate = wxPyBeginAllowThreads();
26975 (arg1)->SetColumnImage(arg2,arg3);
26976
26977 wxPyEndAllowThreads(__tstate);
26978 if (PyErr_Occurred()) SWIG_fail;
26979 }
26980 Py_INCREF(Py_None); resultobj = Py_None;
26981 return resultobj;
26982 fail:
26983 return NULL;
26984}
26985
26986
c32bde28 26987static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26988 PyObject *resultobj;
26989 wxListView *arg1 = (wxListView *) 0 ;
26990 int arg2 ;
26991 PyObject * obj0 = 0 ;
994141e6 26992 PyObject * obj1 = 0 ;
d14a1e28
RD
26993 char *kwnames[] = {
26994 (char *) "self",(char *) "col", NULL
26995 };
26996
994141e6 26997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26999 if (SWIG_arg_fail(1)) SWIG_fail;
27000 {
27001 arg2 = (int)(SWIG_As_int(obj1));
27002 if (SWIG_arg_fail(2)) SWIG_fail;
27003 }
d14a1e28
RD
27004 {
27005 PyThreadState* __tstate = wxPyBeginAllowThreads();
27006 (arg1)->ClearColumnImage(arg2);
27007
27008 wxPyEndAllowThreads(__tstate);
27009 if (PyErr_Occurred()) SWIG_fail;
27010 }
27011 Py_INCREF(Py_None); resultobj = Py_None;
27012 return resultobj;
27013 fail:
27014 return NULL;
27015}
27016
27017
c32bde28 27018static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27019 PyObject *obj;
27020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27021 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27022 Py_INCREF(obj);
27023 return Py_BuildValue((char *)"");
27024}
c32bde28 27025static int _wrap_TreeCtrlNameStr_set(PyObject *) {
b2dc1044
RD
27026 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27027 return 1;
27028}
27029
27030
093d3ff1 27031static PyObject *_wrap_TreeCtrlNameStr_get(void) {
b2dc1044
RD
27032 PyObject *pyobj;
27033
27034 {
27035#if wxUSE_UNICODE
27036 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27037#else
27038 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27039#endif
27040 }
27041 return pyobj;
27042}
27043
27044
c32bde28 27045static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27046 PyObject *resultobj;
27047 wxTreeItemId *result;
27048 char *kwnames[] = {
27049 NULL
27050 };
27051
27052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27053 {
27054 PyThreadState* __tstate = wxPyBeginAllowThreads();
27055 result = (wxTreeItemId *)new wxTreeItemId();
27056
27057 wxPyEndAllowThreads(__tstate);
27058 if (PyErr_Occurred()) SWIG_fail;
27059 }
15afbcd0 27060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27061 return resultobj;
27062 fail:
27063 return NULL;
27064}
27065
27066
c32bde28 27067static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27068 PyObject *resultobj;
27069 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27070 PyObject * obj0 = 0 ;
27071 char *kwnames[] = {
27072 (char *) "self", NULL
27073 };
27074
27075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27077 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27078 {
27079 PyThreadState* __tstate = wxPyBeginAllowThreads();
27080 delete arg1;
27081
27082 wxPyEndAllowThreads(__tstate);
27083 if (PyErr_Occurred()) SWIG_fail;
27084 }
27085 Py_INCREF(Py_None); resultobj = Py_None;
27086 return resultobj;
27087 fail:
27088 return NULL;
27089}
27090
27091
c32bde28 27092static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27093 PyObject *resultobj;
27094 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27095 bool result;
27096 PyObject * obj0 = 0 ;
27097 char *kwnames[] = {
27098 (char *) "self", NULL
27099 };
27100
27101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
27102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27103 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27104 {
27105 PyThreadState* __tstate = wxPyBeginAllowThreads();
27106 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27107
27108 wxPyEndAllowThreads(__tstate);
27109 if (PyErr_Occurred()) SWIG_fail;
27110 }
4f89f6a3
RD
27111 {
27112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27113 }
d14a1e28
RD
27114 return resultobj;
27115 fail:
27116 return NULL;
27117}
27118
27119
c32bde28 27120static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27121 PyObject *resultobj;
27122 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27123 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27124 bool result;
27125 PyObject * obj0 = 0 ;
27126 PyObject * obj1 = 0 ;
27127 char *kwnames[] = {
27128 (char *) "self",(char *) "other", NULL
27129 };
27130
27131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27133 if (SWIG_arg_fail(1)) SWIG_fail;
27134 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27135 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27136 {
27137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 27138 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
27139
27140 wxPyEndAllowThreads(__tstate);
27141 if (PyErr_Occurred()) SWIG_fail;
27142 }
4f89f6a3
RD
27143 {
27144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27145 }
d14a1e28
RD
27146 return resultobj;
27147 fail:
27148 return NULL;
27149}
27150
27151
c32bde28 27152static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27153 PyObject *resultobj;
27154 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27155 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27156 bool result;
27157 PyObject * obj0 = 0 ;
27158 PyObject * obj1 = 0 ;
27159 char *kwnames[] = {
27160 (char *) "self",(char *) "other", NULL
27161 };
27162
27163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27165 if (SWIG_arg_fail(1)) SWIG_fail;
27166 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27167 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27168 {
27169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 27170 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
27171
27172 wxPyEndAllowThreads(__tstate);
27173 if (PyErr_Occurred()) SWIG_fail;
27174 }
4f89f6a3
RD
27175 {
27176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27177 }
d14a1e28
RD
27178 return resultobj;
27179 fail:
27180 return NULL;
27181}
27182
27183
c32bde28 27184static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27185 PyObject *resultobj;
27186 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 27187 void *arg2 = (void *) 0 ;
d14a1e28
RD
27188 PyObject * obj0 = 0 ;
27189 PyObject * obj1 = 0 ;
27190 char *kwnames[] = {
27191 (char *) "self",(char *) "m_pItem", NULL
27192 };
27193
27194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27196 if (SWIG_arg_fail(1)) SWIG_fail;
27197 {
27198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27199 SWIG_arg_fail(2);SWIG_fail;
27200 }
27201 }
d14a1e28
RD
27202 if (arg1) (arg1)->m_pItem = arg2;
27203
27204 Py_INCREF(Py_None); resultobj = Py_None;
27205 return resultobj;
27206 fail:
27207 return NULL;
27208}
27209
27210
c32bde28 27211static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27212 PyObject *resultobj;
27213 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 27214 void *result;
d14a1e28
RD
27215 PyObject * obj0 = 0 ;
27216 char *kwnames[] = {
27217 (char *) "self", NULL
27218 };
27219
27220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
27221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27222 if (SWIG_arg_fail(1)) SWIG_fail;
58203fa6 27223 result = (void *) ((arg1)->m_pItem);
d14a1e28 27224
15afbcd0 27225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
d14a1e28
RD
27226 return resultobj;
27227 fail:
27228 return NULL;
27229}
27230
27231
c32bde28 27232static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27233 PyObject *obj;
27234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27235 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27236 Py_INCREF(obj);
27237 return Py_BuildValue((char *)"");
27238}
c32bde28 27239static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27240 PyObject *resultobj;
27241 PyObject *arg1 = (PyObject *) NULL ;
27242 wxPyTreeItemData *result;
27243 PyObject * obj0 = 0 ;
27244 char *kwnames[] = {
27245 (char *) "obj", NULL
27246 };
27247
27248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27249 if (obj0) {
27250 arg1 = obj0;
27251 }
27252 {
27253 PyThreadState* __tstate = wxPyBeginAllowThreads();
27254 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27255
27256 wxPyEndAllowThreads(__tstate);
27257 if (PyErr_Occurred()) SWIG_fail;
27258 }
15afbcd0 27259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
d14a1e28
RD
27260 return resultobj;
27261 fail:
27262 return NULL;
27263}
27264
27265
c32bde28 27266static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27267 PyObject *resultobj;
27268 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27269 PyObject *result;
27270 PyObject * obj0 = 0 ;
27271 char *kwnames[] = {
27272 (char *) "self", NULL
27273 };
27274
27275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
27276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27277 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27278 {
27279 PyThreadState* __tstate = wxPyBeginAllowThreads();
27280 result = (PyObject *)(arg1)->GetData();
27281
27282 wxPyEndAllowThreads(__tstate);
27283 if (PyErr_Occurred()) SWIG_fail;
27284 }
27285 resultobj = result;
27286 return resultobj;
27287 fail:
27288 return NULL;
27289}
27290
27291
c32bde28 27292static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27293 PyObject *resultobj;
27294 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27295 PyObject *arg2 = (PyObject *) 0 ;
27296 PyObject * obj0 = 0 ;
27297 PyObject * obj1 = 0 ;
27298 char *kwnames[] = {
27299 (char *) "self",(char *) "obj", NULL
27300 };
27301
27302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27304 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27305 arg2 = obj1;
27306 {
27307 PyThreadState* __tstate = wxPyBeginAllowThreads();
27308 (arg1)->SetData(arg2);
27309
27310 wxPyEndAllowThreads(__tstate);
27311 if (PyErr_Occurred()) SWIG_fail;
27312 }
27313 Py_INCREF(Py_None); resultobj = Py_None;
27314 return resultobj;
27315 fail:
27316 return NULL;
27317}
27318
27319
c32bde28 27320static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27321 PyObject *resultobj;
27322 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27323 wxTreeItemId *result;
27324 PyObject * obj0 = 0 ;
27325 char *kwnames[] = {
27326 (char *) "self", NULL
27327 };
27328
27329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27332 {
27333 PyThreadState* __tstate = wxPyBeginAllowThreads();
27334 {
27335 wxTreeItemId const &_result_ref = (arg1)->GetId();
27336 result = (wxTreeItemId *) &_result_ref;
27337 }
27338
27339 wxPyEndAllowThreads(__tstate);
27340 if (PyErr_Occurred()) SWIG_fail;
27341 }
15afbcd0 27342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
d14a1e28
RD
27343 return resultobj;
27344 fail:
27345 return NULL;
27346}
27347
27348
c32bde28 27349static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27350 PyObject *resultobj;
27351 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27352 wxTreeItemId *arg2 = 0 ;
27353 PyObject * obj0 = 0 ;
27354 PyObject * obj1 = 0 ;
27355 char *kwnames[] = {
27356 (char *) "self",(char *) "id", NULL
27357 };
27358
27359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27361 if (SWIG_arg_fail(1)) SWIG_fail;
27362 {
27363 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27364 if (SWIG_arg_fail(2)) SWIG_fail;
27365 if (arg2 == NULL) {
27366 SWIG_null_ref("wxTreeItemId");
27367 }
27368 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27369 }
27370 {
27371 PyThreadState* __tstate = wxPyBeginAllowThreads();
27372 (arg1)->SetId((wxTreeItemId const &)*arg2);
27373
27374 wxPyEndAllowThreads(__tstate);
27375 if (PyErr_Occurred()) SWIG_fail;
27376 }
27377 Py_INCREF(Py_None); resultobj = Py_None;
27378 return resultobj;
27379 fail:
27380 return NULL;
27381}
27382
27383
c32bde28 27384static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27385 PyObject *resultobj;
27386 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27387 PyObject * obj0 = 0 ;
27388 char *kwnames[] = {
27389 (char *) "self", NULL
27390 };
27391
27392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
27393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27394 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27395 {
27396 PyThreadState* __tstate = wxPyBeginAllowThreads();
27397 wxPyTreeItemData_Destroy(arg1);
27398
27399 wxPyEndAllowThreads(__tstate);
27400 if (PyErr_Occurred()) SWIG_fail;
27401 }
27402 Py_INCREF(Py_None); resultobj = Py_None;
27403 return resultobj;
27404 fail:
27405 return NULL;
27406}
27407
27408
c32bde28 27409static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27410 PyObject *obj;
27411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27412 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27413 Py_INCREF(obj);
27414 return Py_BuildValue((char *)"");
27415}
c32bde28 27416static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27417 PyObject *resultobj;
27418 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27419 int arg2 = (int) 0 ;
27420 wxTreeEvent *result;
994141e6
RD
27421 PyObject * obj0 = 0 ;
27422 PyObject * obj1 = 0 ;
d14a1e28
RD
27423 char *kwnames[] = {
27424 (char *) "commandType",(char *) "id", NULL
27425 };
27426
994141e6
RD
27427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27428 if (obj0) {
093d3ff1
RD
27429 {
27430 arg1 = (wxEventType)(SWIG_As_int(obj0));
27431 if (SWIG_arg_fail(1)) SWIG_fail;
27432 }
994141e6
RD
27433 }
27434 if (obj1) {
093d3ff1
RD
27435 {
27436 arg2 = (int)(SWIG_As_int(obj1));
27437 if (SWIG_arg_fail(2)) SWIG_fail;
27438 }
994141e6 27439 }
d14a1e28
RD
27440 {
27441 PyThreadState* __tstate = wxPyBeginAllowThreads();
27442 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27443
27444 wxPyEndAllowThreads(__tstate);
27445 if (PyErr_Occurred()) SWIG_fail;
27446 }
15afbcd0 27447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
d14a1e28
RD
27448 return resultobj;
27449 fail:
27450 return NULL;
27451}
27452
27453
c32bde28 27454static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27455 PyObject *resultobj;
27456 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27457 wxTreeItemId result;
27458 PyObject * obj0 = 0 ;
27459 char *kwnames[] = {
27460 (char *) "self", NULL
27461 };
27462
27463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27465 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27466 {
27467 PyThreadState* __tstate = wxPyBeginAllowThreads();
27468 result = ((wxTreeEvent const *)arg1)->GetItem();
27469
27470 wxPyEndAllowThreads(__tstate);
27471 if (PyErr_Occurred()) SWIG_fail;
27472 }
27473 {
27474 wxTreeItemId * resultptr;
093d3ff1 27475 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 27476 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27477 }
27478 return resultobj;
27479 fail:
27480 return NULL;
27481}
27482
27483
c32bde28 27484static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27485 PyObject *resultobj;
27486 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27487 wxTreeItemId *arg2 = 0 ;
27488 PyObject * obj0 = 0 ;
27489 PyObject * obj1 = 0 ;
27490 char *kwnames[] = {
27491 (char *) "self",(char *) "item", NULL
27492 };
27493
27494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27496 if (SWIG_arg_fail(1)) SWIG_fail;
27497 {
27498 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27499 if (SWIG_arg_fail(2)) SWIG_fail;
27500 if (arg2 == NULL) {
27501 SWIG_null_ref("wxTreeItemId");
27502 }
27503 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27504 }
27505 {
27506 PyThreadState* __tstate = wxPyBeginAllowThreads();
27507 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27508
27509 wxPyEndAllowThreads(__tstate);
27510 if (PyErr_Occurred()) SWIG_fail;
27511 }
27512 Py_INCREF(Py_None); resultobj = Py_None;
27513 return resultobj;
27514 fail:
27515 return NULL;
27516}
27517
27518
c32bde28 27519static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27520 PyObject *resultobj;
27521 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27522 wxTreeItemId result;
27523 PyObject * obj0 = 0 ;
27524 char *kwnames[] = {
27525 (char *) "self", NULL
27526 };
27527
27528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
27529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27530 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27531 {
27532 PyThreadState* __tstate = wxPyBeginAllowThreads();
27533 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27534
27535 wxPyEndAllowThreads(__tstate);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 }
27538 {
27539 wxTreeItemId * resultptr;
093d3ff1 27540 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 27541 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27542 }
27543 return resultobj;
27544 fail:
27545 return NULL;
27546}
27547
27548
c32bde28 27549static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27550 PyObject *resultobj;
27551 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27552 wxTreeItemId *arg2 = 0 ;
27553 PyObject * obj0 = 0 ;
27554 PyObject * obj1 = 0 ;
27555 char *kwnames[] = {
27556 (char *) "self",(char *) "item", NULL
27557 };
27558
27559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27561 if (SWIG_arg_fail(1)) SWIG_fail;
27562 {
27563 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27564 if (SWIG_arg_fail(2)) SWIG_fail;
27565 if (arg2 == NULL) {
27566 SWIG_null_ref("wxTreeItemId");
27567 }
27568 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27569 }
27570 {
27571 PyThreadState* __tstate = wxPyBeginAllowThreads();
27572 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27573
27574 wxPyEndAllowThreads(__tstate);
27575 if (PyErr_Occurred()) SWIG_fail;
27576 }
27577 Py_INCREF(Py_None); resultobj = Py_None;
27578 return resultobj;
27579 fail:
27580 return NULL;
27581}
27582
27583
c32bde28 27584static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27585 PyObject *resultobj;
27586 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27587 wxPoint result;
27588 PyObject * obj0 = 0 ;
27589 char *kwnames[] = {
27590 (char *) "self", NULL
27591 };
27592
27593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
27594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27595 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27596 {
27597 PyThreadState* __tstate = wxPyBeginAllowThreads();
27598 result = ((wxTreeEvent const *)arg1)->GetPoint();
27599
27600 wxPyEndAllowThreads(__tstate);
27601 if (PyErr_Occurred()) SWIG_fail;
27602 }
27603 {
27604 wxPoint * resultptr;
093d3ff1 27605 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 27606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
27607 }
27608 return resultobj;
27609 fail:
27610 return NULL;
27611}
27612
27613
c32bde28 27614static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27615 PyObject *resultobj;
27616 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27617 wxPoint *arg2 = 0 ;
27618 wxPoint temp2 ;
27619 PyObject * obj0 = 0 ;
27620 PyObject * obj1 = 0 ;
27621 char *kwnames[] = {
27622 (char *) "self",(char *) "pt", NULL
27623 };
27624
27625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27627 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27628 {
27629 arg2 = &temp2;
27630 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27631 }
27632 {
27633 PyThreadState* __tstate = wxPyBeginAllowThreads();
27634 (arg1)->SetPoint((wxPoint const &)*arg2);
27635
27636 wxPyEndAllowThreads(__tstate);
27637 if (PyErr_Occurred()) SWIG_fail;
27638 }
27639 Py_INCREF(Py_None); resultobj = Py_None;
27640 return resultobj;
27641 fail:
27642 return NULL;
27643}
27644
27645
c32bde28 27646static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27647 PyObject *resultobj;
27648 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27649 wxKeyEvent *result;
27650 PyObject * obj0 = 0 ;
27651 char *kwnames[] = {
27652 (char *) "self", NULL
27653 };
27654
27655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
27656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27657 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27658 {
27659 PyThreadState* __tstate = wxPyBeginAllowThreads();
27660 {
27661 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27662 result = (wxKeyEvent *) &_result_ref;
27663 }
27664
27665 wxPyEndAllowThreads(__tstate);
27666 if (PyErr_Occurred()) SWIG_fail;
27667 }
15afbcd0 27668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
d14a1e28
RD
27669 return resultobj;
27670 fail:
27671 return NULL;
27672}
27673
27674
c32bde28 27675static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27676 PyObject *resultobj;
27677 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27678 int result;
27679 PyObject * obj0 = 0 ;
27680 char *kwnames[] = {
27681 (char *) "self", NULL
27682 };
27683
27684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
27685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27686 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27687 {
27688 PyThreadState* __tstate = wxPyBeginAllowThreads();
27689 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27690
27691 wxPyEndAllowThreads(__tstate);
27692 if (PyErr_Occurred()) SWIG_fail;
27693 }
093d3ff1
RD
27694 {
27695 resultobj = SWIG_From_int((int)(result));
27696 }
d14a1e28
RD
27697 return resultobj;
27698 fail:
27699 return NULL;
27700}
27701
27702
c32bde28 27703static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27704 PyObject *resultobj;
27705 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27706 wxKeyEvent *arg2 = 0 ;
27707 PyObject * obj0 = 0 ;
27708 PyObject * obj1 = 0 ;
27709 char *kwnames[] = {
27710 (char *) "self",(char *) "evt", NULL
27711 };
27712
27713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27715 if (SWIG_arg_fail(1)) SWIG_fail;
27716 {
27717 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27718 if (SWIG_arg_fail(2)) SWIG_fail;
27719 if (arg2 == NULL) {
27720 SWIG_null_ref("wxKeyEvent");
27721 }
27722 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27723 }
27724 {
27725 PyThreadState* __tstate = wxPyBeginAllowThreads();
27726 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27727
27728 wxPyEndAllowThreads(__tstate);
27729 if (PyErr_Occurred()) SWIG_fail;
27730 }
27731 Py_INCREF(Py_None); resultobj = Py_None;
27732 return resultobj;
27733 fail:
27734 return NULL;
27735}
27736
27737
c32bde28 27738static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27739 PyObject *resultobj;
27740 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27741 wxString *result;
27742 PyObject * obj0 = 0 ;
27743 char *kwnames[] = {
27744 (char *) "self", NULL
27745 };
27746
27747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
27748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27749 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27750 {
27751 PyThreadState* __tstate = wxPyBeginAllowThreads();
27752 {
27753 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27754 result = (wxString *) &_result_ref;
27755 }
27756
27757 wxPyEndAllowThreads(__tstate);
27758 if (PyErr_Occurred()) SWIG_fail;
27759 }
cc6dd355
RD
27760 {
27761#if wxUSE_UNICODE
27762 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27763#else
27764 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27765#endif
27766 }
d14a1e28
RD
27767 return resultobj;
27768 fail:
27769 return NULL;
27770}
27771
27772
c32bde28 27773static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27774 PyObject *resultobj;
27775 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27776 wxString *arg2 = 0 ;
ae8162c8 27777 bool temp2 = false ;
d14a1e28
RD
27778 PyObject * obj0 = 0 ;
27779 PyObject * obj1 = 0 ;
27780 char *kwnames[] = {
27781 (char *) "self",(char *) "label", NULL
27782 };
27783
27784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27786 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27787 {
27788 arg2 = wxString_in_helper(obj1);
27789 if (arg2 == NULL) SWIG_fail;
ae8162c8 27790 temp2 = true;
d14a1e28
RD
27791 }
27792 {
27793 PyThreadState* __tstate = wxPyBeginAllowThreads();
27794 (arg1)->SetLabel((wxString const &)*arg2);
27795
27796 wxPyEndAllowThreads(__tstate);
27797 if (PyErr_Occurred()) SWIG_fail;
27798 }
27799 Py_INCREF(Py_None); resultobj = Py_None;
27800 {
27801 if (temp2)
27802 delete arg2;
27803 }
27804 return resultobj;
27805 fail:
27806 {
27807 if (temp2)
27808 delete arg2;
27809 }
27810 return NULL;
27811}
27812
27813
c32bde28 27814static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27815 PyObject *resultobj;
27816 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27817 bool result;
27818 PyObject * obj0 = 0 ;
27819 char *kwnames[] = {
27820 (char *) "self", NULL
27821 };
27822
27823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
093d3ff1
RD
27824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27826 {
27827 PyThreadState* __tstate = wxPyBeginAllowThreads();
27828 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27829
27830 wxPyEndAllowThreads(__tstate);
27831 if (PyErr_Occurred()) SWIG_fail;
27832 }
4f89f6a3
RD
27833 {
27834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27835 }
d14a1e28
RD
27836 return resultobj;
27837 fail:
27838 return NULL;
27839}
27840
27841
c32bde28 27842static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27843 PyObject *resultobj;
27844 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27845 bool arg2 ;
27846 PyObject * obj0 = 0 ;
27847 PyObject * obj1 = 0 ;
27848 char *kwnames[] = {
27849 (char *) "self",(char *) "editCancelled", NULL
27850 };
27851
27852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27854 if (SWIG_arg_fail(1)) SWIG_fail;
27855 {
27856 arg2 = (bool)(SWIG_As_bool(obj1));
27857 if (SWIG_arg_fail(2)) SWIG_fail;
27858 }
d14a1e28
RD
27859 {
27860 PyThreadState* __tstate = wxPyBeginAllowThreads();
27861 (arg1)->SetEditCanceled(arg2);
27862
27863 wxPyEndAllowThreads(__tstate);
27864 if (PyErr_Occurred()) SWIG_fail;
27865 }
27866 Py_INCREF(Py_None); resultobj = Py_None;
27867 return resultobj;
27868 fail:
27869 return NULL;
27870}
27871
27872
c32bde28 27873static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
27874 PyObject *resultobj;
27875 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27876 wxString *arg2 = 0 ;
ae8162c8 27877 bool temp2 = false ;
c9c7117a
RD
27878 PyObject * obj0 = 0 ;
27879 PyObject * obj1 = 0 ;
27880 char *kwnames[] = {
27881 (char *) "self",(char *) "toolTip", NULL
27882 };
27883
27884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27886 if (SWIG_arg_fail(1)) SWIG_fail;
c9c7117a
RD
27887 {
27888 arg2 = wxString_in_helper(obj1);
27889 if (arg2 == NULL) SWIG_fail;
ae8162c8 27890 temp2 = true;
c9c7117a
RD
27891 }
27892 {
27893 PyThreadState* __tstate = wxPyBeginAllowThreads();
27894 (arg1)->SetToolTip((wxString const &)*arg2);
27895
27896 wxPyEndAllowThreads(__tstate);
27897 if (PyErr_Occurred()) SWIG_fail;
27898 }
27899 Py_INCREF(Py_None); resultobj = Py_None;
27900 {
27901 if (temp2)
27902 delete arg2;
27903 }
27904 return resultobj;
27905 fail:
27906 {
27907 if (temp2)
27908 delete arg2;
27909 }
27910 return NULL;
27911}
27912
27913
562ecc31
RD
27914static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27915 PyObject *resultobj;
27916 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27917 wxString result;
27918 PyObject * obj0 = 0 ;
27919 char *kwnames[] = {
27920 (char *) "self", NULL
27921 };
27922
27923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27925 if (SWIG_arg_fail(1)) SWIG_fail;
27926 {
27927 PyThreadState* __tstate = wxPyBeginAllowThreads();
27928 result = (arg1)->GetToolTip();
27929
27930 wxPyEndAllowThreads(__tstate);
27931 if (PyErr_Occurred()) SWIG_fail;
27932 }
27933 {
27934#if wxUSE_UNICODE
27935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27936#else
27937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27938#endif
27939 }
27940 return resultobj;
27941 fail:
27942 return NULL;
27943}
27944
27945
c32bde28 27946static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27947 PyObject *obj;
27948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27949 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27950 Py_INCREF(obj);
27951 return Py_BuildValue((char *)"");
27952}
c32bde28 27953static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27954 PyObject *resultobj;
27955 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 27956 int arg2 = (int) -1 ;
d14a1e28
RD
27957 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27958 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27959 wxSize const &arg4_defvalue = wxDefaultSize ;
27960 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27961 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27962 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27963 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
b2dc1044 27964 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
27965 wxString *arg7 = (wxString *) &arg7_defvalue ;
27966 wxPyTreeCtrl *result;
27967 wxPoint temp3 ;
27968 wxSize temp4 ;
ae8162c8 27969 bool temp7 = false ;
d14a1e28 27970 PyObject * obj0 = 0 ;
994141e6 27971 PyObject * obj1 = 0 ;
d14a1e28
RD
27972 PyObject * obj2 = 0 ;
27973 PyObject * obj3 = 0 ;
994141e6 27974 PyObject * obj4 = 0 ;
d14a1e28
RD
27975 PyObject * obj5 = 0 ;
27976 PyObject * obj6 = 0 ;
27977 char *kwnames[] = {
27978 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27979 };
27980
994141e6 27981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27983 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 27984 if (obj1) {
093d3ff1
RD
27985 {
27986 arg2 = (int)(SWIG_As_int(obj1));
27987 if (SWIG_arg_fail(2)) SWIG_fail;
27988 }
994141e6 27989 }
d14a1e28
RD
27990 if (obj2) {
27991 {
27992 arg3 = &temp3;
27993 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27994 }
27995 }
27996 if (obj3) {
27997 {
994141e6
RD
27998 arg4 = &temp4;
27999 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28000 }
28001 }
28002 if (obj4) {
093d3ff1
RD
28003 {
28004 arg5 = (long)(SWIG_As_long(obj4));
28005 if (SWIG_arg_fail(5)) SWIG_fail;
28006 }
d14a1e28
RD
28007 }
28008 if (obj5) {
093d3ff1
RD
28009 {
28010 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28011 if (SWIG_arg_fail(6)) SWIG_fail;
28012 if (arg6 == NULL) {
28013 SWIG_null_ref("wxValidator");
28014 }
28015 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
28016 }
28017 }
28018 if (obj6) {
28019 {
28020 arg7 = wxString_in_helper(obj6);
28021 if (arg7 == NULL) SWIG_fail;
ae8162c8 28022 temp7 = true;
d14a1e28
RD
28023 }
28024 }
28025 {
e3b71cb8 28026 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28027 PyThreadState* __tstate = wxPyBeginAllowThreads();
28028 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28029
28030 wxPyEndAllowThreads(__tstate);
110da5b0 28031 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28032 }
b0f7404b 28033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d14a1e28
RD
28034 {
28035 if (temp7)
28036 delete arg7;
28037 }
28038 return resultobj;
28039 fail:
28040 {
28041 if (temp7)
28042 delete arg7;
28043 }
28044 return NULL;
28045}
28046
28047
c32bde28 28048static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28049 PyObject *resultobj;
28050 wxPyTreeCtrl *result;
28051 char *kwnames[] = {
28052 NULL
28053 };
28054
28055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28056 {
e3b71cb8 28057 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28058 PyThreadState* __tstate = wxPyBeginAllowThreads();
28059 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28060
28061 wxPyEndAllowThreads(__tstate);
110da5b0 28062 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28063 }
b0f7404b 28064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d14a1e28
RD
28065 return resultobj;
28066 fail:
28067 return NULL;
28068}
28069
28070
c32bde28 28071static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28072 PyObject *resultobj;
28073 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28074 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 28075 int arg3 = (int) -1 ;
d14a1e28
RD
28076 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28077 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28078 wxSize const &arg5_defvalue = wxDefaultSize ;
28079 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28080 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28081 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28082 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
b2dc1044 28083 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
28084 wxString *arg8 = (wxString *) &arg8_defvalue ;
28085 bool result;
28086 wxPoint temp4 ;
28087 wxSize temp5 ;
ae8162c8 28088 bool temp8 = false ;
d14a1e28
RD
28089 PyObject * obj0 = 0 ;
28090 PyObject * obj1 = 0 ;
994141e6 28091 PyObject * obj2 = 0 ;
d14a1e28
RD
28092 PyObject * obj3 = 0 ;
28093 PyObject * obj4 = 0 ;
994141e6 28094 PyObject * obj5 = 0 ;
d14a1e28
RD
28095 PyObject * obj6 = 0 ;
28096 PyObject * obj7 = 0 ;
28097 char *kwnames[] = {
28098 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28099 };
28100
994141e6 28101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
28102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28103 if (SWIG_arg_fail(1)) SWIG_fail;
28104 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28105 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 28106 if (obj2) {
093d3ff1
RD
28107 {
28108 arg3 = (int)(SWIG_As_int(obj2));
28109 if (SWIG_arg_fail(3)) SWIG_fail;
28110 }
994141e6 28111 }
d14a1e28
RD
28112 if (obj3) {
28113 {
28114 arg4 = &temp4;
28115 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28116 }
28117 }
28118 if (obj4) {
28119 {
28120 arg5 = &temp5;
28121 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28122 }
28123 }
994141e6 28124 if (obj5) {
093d3ff1
RD
28125 {
28126 arg6 = (long)(SWIG_As_long(obj5));
28127 if (SWIG_arg_fail(6)) SWIG_fail;
28128 }
994141e6 28129 }
d14a1e28 28130 if (obj6) {
093d3ff1
RD
28131 {
28132 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28133 if (SWIG_arg_fail(7)) SWIG_fail;
28134 if (arg7 == NULL) {
28135 SWIG_null_ref("wxValidator");
28136 }
28137 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
28138 }
28139 }
28140 if (obj7) {
28141 {
28142 arg8 = wxString_in_helper(obj7);
28143 if (arg8 == NULL) SWIG_fail;
ae8162c8 28144 temp8 = true;
d14a1e28
RD
28145 }
28146 }
28147 {
28148 PyThreadState* __tstate = wxPyBeginAllowThreads();
28149 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28150
28151 wxPyEndAllowThreads(__tstate);
28152 if (PyErr_Occurred()) SWIG_fail;
28153 }
4f89f6a3
RD
28154 {
28155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28156 }
d14a1e28
RD
28157 {
28158 if (temp8)
28159 delete arg8;
28160 }
28161 return resultobj;
28162 fail:
28163 {
28164 if (temp8)
28165 delete arg8;
28166 }
28167 return NULL;
28168}
28169
28170
c32bde28 28171static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28172 PyObject *resultobj;
28173 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28174 PyObject *arg2 = (PyObject *) 0 ;
28175 PyObject *arg3 = (PyObject *) 0 ;
28176 PyObject * obj0 = 0 ;
28177 PyObject * obj1 = 0 ;
28178 PyObject * obj2 = 0 ;
28179 char *kwnames[] = {
28180 (char *) "self",(char *) "self",(char *) "_class", NULL
28181 };
28182
28183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28185 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28186 arg2 = obj1;
28187 arg3 = obj2;
28188 {
28189 PyThreadState* __tstate = wxPyBeginAllowThreads();
28190 (arg1)->_setCallbackInfo(arg2,arg3);
28191
28192 wxPyEndAllowThreads(__tstate);
28193 if (PyErr_Occurred()) SWIG_fail;
28194 }
28195 Py_INCREF(Py_None); resultobj = Py_None;
28196 return resultobj;
28197 fail:
28198 return NULL;
28199}
28200
28201
c32bde28 28202static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28203 PyObject *resultobj;
28204 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28205 size_t result;
28206 PyObject * obj0 = 0 ;
28207 char *kwnames[] = {
28208 (char *) "self", NULL
28209 };
28210
28211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
28212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28214 {
28215 PyThreadState* __tstate = wxPyBeginAllowThreads();
28216 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28217
28218 wxPyEndAllowThreads(__tstate);
28219 if (PyErr_Occurred()) SWIG_fail;
28220 }
093d3ff1
RD
28221 {
28222 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28223 }
d14a1e28
RD
28224 return resultobj;
28225 fail:
28226 return NULL;
28227}
28228
28229
c32bde28 28230static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28231 PyObject *resultobj;
28232 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28233 unsigned int result;
28234 PyObject * obj0 = 0 ;
28235 char *kwnames[] = {
28236 (char *) "self", NULL
28237 };
28238
28239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
28240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28241 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28242 {
28243 PyThreadState* __tstate = wxPyBeginAllowThreads();
28244 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28245
28246 wxPyEndAllowThreads(__tstate);
28247 if (PyErr_Occurred()) SWIG_fail;
28248 }
093d3ff1
RD
28249 {
28250 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28251 }
d14a1e28
RD
28252 return resultobj;
28253 fail:
28254 return NULL;
28255}
28256
28257
c32bde28 28258static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28259 PyObject *resultobj;
28260 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28261 unsigned int arg2 ;
28262 PyObject * obj0 = 0 ;
28263 PyObject * obj1 = 0 ;
28264 char *kwnames[] = {
28265 (char *) "self",(char *) "indent", NULL
28266 };
28267
28268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28270 if (SWIG_arg_fail(1)) SWIG_fail;
28271 {
28272 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28273 if (SWIG_arg_fail(2)) SWIG_fail;
28274 }
d14a1e28
RD
28275 {
28276 PyThreadState* __tstate = wxPyBeginAllowThreads();
28277 (arg1)->SetIndent(arg2);
28278
28279 wxPyEndAllowThreads(__tstate);
28280 if (PyErr_Occurred()) SWIG_fail;
28281 }
28282 Py_INCREF(Py_None); resultobj = Py_None;
28283 return resultobj;
28284 fail:
28285 return NULL;
28286}
28287
28288
c32bde28 28289static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28290 PyObject *resultobj;
28291 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28292 unsigned int result;
28293 PyObject * obj0 = 0 ;
28294 char *kwnames[] = {
28295 (char *) "self", NULL
28296 };
28297
28298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
28299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28300 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28301 {
28302 PyThreadState* __tstate = wxPyBeginAllowThreads();
28303 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28304
28305 wxPyEndAllowThreads(__tstate);
28306 if (PyErr_Occurred()) SWIG_fail;
28307 }
093d3ff1
RD
28308 {
28309 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28310 }
d14a1e28
RD
28311 return resultobj;
28312 fail:
28313 return NULL;
28314}
28315
28316
c32bde28 28317static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28318 PyObject *resultobj;
28319 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28320 unsigned int arg2 ;
28321 PyObject * obj0 = 0 ;
28322 PyObject * obj1 = 0 ;
28323 char *kwnames[] = {
28324 (char *) "self",(char *) "spacing", NULL
28325 };
28326
28327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28329 if (SWIG_arg_fail(1)) SWIG_fail;
28330 {
28331 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28332 if (SWIG_arg_fail(2)) SWIG_fail;
28333 }
d14a1e28
RD
28334 {
28335 PyThreadState* __tstate = wxPyBeginAllowThreads();
28336 (arg1)->SetSpacing(arg2);
28337
28338 wxPyEndAllowThreads(__tstate);
28339 if (PyErr_Occurred()) SWIG_fail;
28340 }
28341 Py_INCREF(Py_None); resultobj = Py_None;
28342 return resultobj;
28343 fail:
28344 return NULL;
28345}
28346
28347
c32bde28 28348static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28349 PyObject *resultobj;
28350 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28351 wxImageList *result;
28352 PyObject * obj0 = 0 ;
28353 char *kwnames[] = {
28354 (char *) "self", NULL
28355 };
28356
28357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
28358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28360 {
28361 PyThreadState* __tstate = wxPyBeginAllowThreads();
28362 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28363
28364 wxPyEndAllowThreads(__tstate);
28365 if (PyErr_Occurred()) SWIG_fail;
28366 }
28367 {
412d302d 28368 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28369 }
28370 return resultobj;
28371 fail:
28372 return NULL;
28373}
28374
28375
c32bde28 28376static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28377 PyObject *resultobj;
28378 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28379 wxImageList *result;
28380 PyObject * obj0 = 0 ;
28381 char *kwnames[] = {
28382 (char *) "self", NULL
28383 };
28384
28385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
28386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28387 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28388 {
28389 PyThreadState* __tstate = wxPyBeginAllowThreads();
28390 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28391
28392 wxPyEndAllowThreads(__tstate);
28393 if (PyErr_Occurred()) SWIG_fail;
28394 }
28395 {
412d302d 28396 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28397 }
28398 return resultobj;
28399 fail:
28400 return NULL;
28401}
28402
28403
c32bde28 28404static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28405 PyObject *resultobj;
28406 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28407 wxImageList *arg2 = (wxImageList *) 0 ;
28408 PyObject * obj0 = 0 ;
28409 PyObject * obj1 = 0 ;
28410 char *kwnames[] = {
28411 (char *) "self",(char *) "imageList", NULL
28412 };
28413
28414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28416 if (SWIG_arg_fail(1)) SWIG_fail;
28417 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28418 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28419 {
28420 PyThreadState* __tstate = wxPyBeginAllowThreads();
28421 (arg1)->SetImageList(arg2);
28422
28423 wxPyEndAllowThreads(__tstate);
28424 if (PyErr_Occurred()) SWIG_fail;
28425 }
28426 Py_INCREF(Py_None); resultobj = Py_None;
28427 return resultobj;
28428 fail:
28429 return NULL;
28430}
28431
28432
c32bde28 28433static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28434 PyObject *resultobj;
28435 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28436 wxImageList *arg2 = (wxImageList *) 0 ;
28437 PyObject * obj0 = 0 ;
28438 PyObject * obj1 = 0 ;
28439 char *kwnames[] = {
28440 (char *) "self",(char *) "imageList", NULL
28441 };
28442
28443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28445 if (SWIG_arg_fail(1)) SWIG_fail;
28446 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28447 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28448 {
28449 PyThreadState* __tstate = wxPyBeginAllowThreads();
28450 (arg1)->SetStateImageList(arg2);
28451
28452 wxPyEndAllowThreads(__tstate);
28453 if (PyErr_Occurred()) SWIG_fail;
28454 }
28455 Py_INCREF(Py_None); resultobj = Py_None;
28456 return resultobj;
28457 fail:
28458 return NULL;
28459}
28460
28461
c32bde28 28462static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28463 PyObject *resultobj;
28464 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28465 wxImageList *arg2 = (wxImageList *) 0 ;
28466 PyObject * obj0 = 0 ;
28467 PyObject * obj1 = 0 ;
28468 char *kwnames[] = {
28469 (char *) "self",(char *) "imageList", NULL
28470 };
28471
28472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28474 if (SWIG_arg_fail(1)) SWIG_fail;
28475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28476 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28477 {
28478 PyThreadState* __tstate = wxPyBeginAllowThreads();
28479 (arg1)->AssignImageList(arg2);
28480
28481 wxPyEndAllowThreads(__tstate);
28482 if (PyErr_Occurred()) SWIG_fail;
28483 }
28484 Py_INCREF(Py_None); resultobj = Py_None;
28485 return resultobj;
28486 fail:
28487 return NULL;
28488}
28489
28490
c32bde28 28491static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28492 PyObject *resultobj;
28493 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28494 wxImageList *arg2 = (wxImageList *) 0 ;
28495 PyObject * obj0 = 0 ;
28496 PyObject * obj1 = 0 ;
28497 char *kwnames[] = {
28498 (char *) "self",(char *) "imageList", NULL
28499 };
28500
28501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28503 if (SWIG_arg_fail(1)) SWIG_fail;
28504 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28505 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28506 {
28507 PyThreadState* __tstate = wxPyBeginAllowThreads();
28508 (arg1)->AssignStateImageList(arg2);
28509
28510 wxPyEndAllowThreads(__tstate);
28511 if (PyErr_Occurred()) SWIG_fail;
28512 }
28513 Py_INCREF(Py_None); resultobj = Py_None;
28514 return resultobj;
28515 fail:
28516 return NULL;
28517}
28518
28519
c32bde28 28520static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28521 PyObject *resultobj;
28522 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28523 wxTreeItemId *arg2 = 0 ;
28524 wxString result;
28525 PyObject * obj0 = 0 ;
28526 PyObject * obj1 = 0 ;
28527 char *kwnames[] = {
28528 (char *) "self",(char *) "item", NULL
28529 };
28530
28531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28533 if (SWIG_arg_fail(1)) SWIG_fail;
28534 {
28535 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28536 if (SWIG_arg_fail(2)) SWIG_fail;
28537 if (arg2 == NULL) {
28538 SWIG_null_ref("wxTreeItemId");
28539 }
28540 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28541 }
28542 {
28543 PyThreadState* __tstate = wxPyBeginAllowThreads();
28544 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28545
28546 wxPyEndAllowThreads(__tstate);
28547 if (PyErr_Occurred()) SWIG_fail;
28548 }
28549 {
28550#if wxUSE_UNICODE
28551 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28552#else
28553 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28554#endif
28555 }
28556 return resultobj;
28557 fail:
28558 return NULL;
28559}
28560
28561
c32bde28 28562static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28563 PyObject *resultobj;
28564 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28565 wxTreeItemId *arg2 = 0 ;
093d3ff1 28566 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d14a1e28
RD
28567 int result;
28568 PyObject * obj0 = 0 ;
28569 PyObject * obj1 = 0 ;
994141e6 28570 PyObject * obj2 = 0 ;
d14a1e28
RD
28571 char *kwnames[] = {
28572 (char *) "self",(char *) "item",(char *) "which", NULL
28573 };
28574
994141e6 28575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28577 if (SWIG_arg_fail(1)) SWIG_fail;
28578 {
28579 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28580 if (SWIG_arg_fail(2)) SWIG_fail;
28581 if (arg2 == NULL) {
28582 SWIG_null_ref("wxTreeItemId");
28583 }
28584 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 28585 }
994141e6 28586 if (obj2) {
093d3ff1
RD
28587 {
28588 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28589 if (SWIG_arg_fail(3)) SWIG_fail;
28590 }
994141e6 28591 }
d14a1e28
RD
28592 {
28593 PyThreadState* __tstate = wxPyBeginAllowThreads();
28594 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28595
28596 wxPyEndAllowThreads(__tstate);
28597 if (PyErr_Occurred()) SWIG_fail;
28598 }
093d3ff1
RD
28599 {
28600 resultobj = SWIG_From_int((int)(result));
28601 }
d14a1e28
RD
28602 return resultobj;
28603 fail:
28604 return NULL;
28605}
28606
28607
c32bde28 28608static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28609 PyObject *resultobj;
28610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28611 wxTreeItemId *arg2 = 0 ;
28612 wxPyTreeItemData *result;
28613 PyObject * obj0 = 0 ;
28614 PyObject * obj1 = 0 ;
28615 char *kwnames[] = {
28616 (char *) "self",(char *) "item", NULL
28617 };
28618
28619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28621 if (SWIG_arg_fail(1)) SWIG_fail;
28622 {
28623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28624 if (SWIG_arg_fail(2)) SWIG_fail;
28625 if (arg2 == NULL) {
28626 SWIG_null_ref("wxTreeItemId");
28627 }
28628 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28629 }
28630 {
28631 PyThreadState* __tstate = wxPyBeginAllowThreads();
28632 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28633
28634 wxPyEndAllowThreads(__tstate);
28635 if (PyErr_Occurred()) SWIG_fail;
28636 }
15afbcd0 28637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
d14a1e28
RD
28638 return resultobj;
28639 fail:
28640 return NULL;
28641}
28642
28643
c32bde28 28644static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28645 PyObject *resultobj;
28646 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28647 wxTreeItemId *arg2 = 0 ;
28648 PyObject *result;
28649 PyObject * obj0 = 0 ;
28650 PyObject * obj1 = 0 ;
28651 char *kwnames[] = {
28652 (char *) "self",(char *) "item", NULL
28653 };
28654
28655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28657 if (SWIG_arg_fail(1)) SWIG_fail;
28658 {
28659 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28660 if (SWIG_arg_fail(2)) SWIG_fail;
28661 if (arg2 == NULL) {
28662 SWIG_null_ref("wxTreeItemId");
28663 }
28664 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28665 }
28666 {
28667 PyThreadState* __tstate = wxPyBeginAllowThreads();
28668 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28669
28670 wxPyEndAllowThreads(__tstate);
28671 if (PyErr_Occurred()) SWIG_fail;
28672 }
28673 resultobj = result;
28674 return resultobj;
28675 fail:
28676 return NULL;
28677}
28678
28679
c32bde28 28680static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28681 PyObject *resultobj;
28682 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28683 wxTreeItemId *arg2 = 0 ;
28684 wxColour result;
28685 PyObject * obj0 = 0 ;
28686 PyObject * obj1 = 0 ;
28687 char *kwnames[] = {
28688 (char *) "self",(char *) "item", NULL
28689 };
28690
28691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28693 if (SWIG_arg_fail(1)) SWIG_fail;
28694 {
28695 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28696 if (SWIG_arg_fail(2)) SWIG_fail;
28697 if (arg2 == NULL) {
28698 SWIG_null_ref("wxTreeItemId");
28699 }
28700 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28701 }
28702 {
28703 PyThreadState* __tstate = wxPyBeginAllowThreads();
28704 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28705
28706 wxPyEndAllowThreads(__tstate);
28707 if (PyErr_Occurred()) SWIG_fail;
28708 }
28709 {
28710 wxColour * resultptr;
093d3ff1 28711 resultptr = new wxColour((wxColour &)(result));
15afbcd0 28712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
28713 }
28714 return resultobj;
28715 fail:
28716 return NULL;
28717}
28718
28719
c32bde28 28720static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28721 PyObject *resultobj;
28722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28723 wxTreeItemId *arg2 = 0 ;
28724 wxColour result;
28725 PyObject * obj0 = 0 ;
28726 PyObject * obj1 = 0 ;
28727 char *kwnames[] = {
28728 (char *) "self",(char *) "item", NULL
28729 };
28730
28731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28733 if (SWIG_arg_fail(1)) SWIG_fail;
28734 {
28735 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28736 if (SWIG_arg_fail(2)) SWIG_fail;
28737 if (arg2 == NULL) {
28738 SWIG_null_ref("wxTreeItemId");
28739 }
28740 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28741 }
28742 {
28743 PyThreadState* __tstate = wxPyBeginAllowThreads();
28744 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28745
28746 wxPyEndAllowThreads(__tstate);
28747 if (PyErr_Occurred()) SWIG_fail;
28748 }
28749 {
28750 wxColour * resultptr;
093d3ff1 28751 resultptr = new wxColour((wxColour &)(result));
15afbcd0 28752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
28753 }
28754 return resultobj;
28755 fail:
28756 return NULL;
28757}
28758
28759
c32bde28 28760static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28761 PyObject *resultobj;
28762 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28763 wxTreeItemId *arg2 = 0 ;
28764 wxFont result;
28765 PyObject * obj0 = 0 ;
28766 PyObject * obj1 = 0 ;
28767 char *kwnames[] = {
28768 (char *) "self",(char *) "item", NULL
28769 };
28770
28771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28773 if (SWIG_arg_fail(1)) SWIG_fail;
28774 {
28775 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28776 if (SWIG_arg_fail(2)) SWIG_fail;
28777 if (arg2 == NULL) {
28778 SWIG_null_ref("wxTreeItemId");
28779 }
28780 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28781 }
28782 {
28783 PyThreadState* __tstate = wxPyBeginAllowThreads();
28784 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28785
28786 wxPyEndAllowThreads(__tstate);
28787 if (PyErr_Occurred()) SWIG_fail;
28788 }
28789 {
28790 wxFont * resultptr;
093d3ff1 28791 resultptr = new wxFont((wxFont &)(result));
15afbcd0 28792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
28793 }
28794 return resultobj;
28795 fail:
28796 return NULL;
28797}
28798
28799
c32bde28 28800static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28801 PyObject *resultobj;
28802 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28803 wxTreeItemId *arg2 = 0 ;
28804 wxString *arg3 = 0 ;
ae8162c8 28805 bool temp3 = false ;
d14a1e28
RD
28806 PyObject * obj0 = 0 ;
28807 PyObject * obj1 = 0 ;
28808 PyObject * obj2 = 0 ;
28809 char *kwnames[] = {
28810 (char *) "self",(char *) "item",(char *) "text", NULL
28811 };
28812
28813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28815 if (SWIG_arg_fail(1)) SWIG_fail;
28816 {
28817 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28818 if (SWIG_arg_fail(2)) SWIG_fail;
28819 if (arg2 == NULL) {
28820 SWIG_null_ref("wxTreeItemId");
28821 }
28822 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28823 }
28824 {
28825 arg3 = wxString_in_helper(obj2);
28826 if (arg3 == NULL) SWIG_fail;
ae8162c8 28827 temp3 = true;
d14a1e28
RD
28828 }
28829 {
28830 PyThreadState* __tstate = wxPyBeginAllowThreads();
28831 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28832
28833 wxPyEndAllowThreads(__tstate);
28834 if (PyErr_Occurred()) SWIG_fail;
28835 }
28836 Py_INCREF(Py_None); resultobj = Py_None;
28837 {
28838 if (temp3)
28839 delete arg3;
28840 }
28841 return resultobj;
28842 fail:
28843 {
28844 if (temp3)
28845 delete arg3;
28846 }
28847 return NULL;
28848}
28849
28850
c32bde28 28851static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28852 PyObject *resultobj;
28853 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28854 wxTreeItemId *arg2 = 0 ;
28855 int arg3 ;
093d3ff1 28856 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d14a1e28
RD
28857 PyObject * obj0 = 0 ;
28858 PyObject * obj1 = 0 ;
994141e6
RD
28859 PyObject * obj2 = 0 ;
28860 PyObject * obj3 = 0 ;
d14a1e28
RD
28861 char *kwnames[] = {
28862 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28863 };
28864
994141e6 28865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28867 if (SWIG_arg_fail(1)) SWIG_fail;
28868 {
28869 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28870 if (SWIG_arg_fail(2)) SWIG_fail;
28871 if (arg2 == NULL) {
28872 SWIG_null_ref("wxTreeItemId");
28873 }
28874 if (SWIG_arg_fail(2)) SWIG_fail;
28875 }
28876 {
28877 arg3 = (int)(SWIG_As_int(obj2));
28878 if (SWIG_arg_fail(3)) SWIG_fail;
28879 }
994141e6 28880 if (obj3) {
093d3ff1
RD
28881 {
28882 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28883 if (SWIG_arg_fail(4)) SWIG_fail;
28884 }
994141e6 28885 }
d14a1e28
RD
28886 {
28887 PyThreadState* __tstate = wxPyBeginAllowThreads();
28888 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28889
28890 wxPyEndAllowThreads(__tstate);
28891 if (PyErr_Occurred()) SWIG_fail;
28892 }
28893 Py_INCREF(Py_None); resultobj = Py_None;
28894 return resultobj;
28895 fail:
28896 return NULL;
28897}
28898
28899
c32bde28 28900static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28901 PyObject *resultobj;
28902 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28903 wxTreeItemId *arg2 = 0 ;
28904 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28905 PyObject * obj0 = 0 ;
28906 PyObject * obj1 = 0 ;
28907 PyObject * obj2 = 0 ;
28908 char *kwnames[] = {
28909 (char *) "self",(char *) "item",(char *) "data", NULL
28910 };
28911
28912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28914 if (SWIG_arg_fail(1)) SWIG_fail;
28915 {
28916 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28917 if (SWIG_arg_fail(2)) SWIG_fail;
28918 if (arg2 == NULL) {
28919 SWIG_null_ref("wxTreeItemId");
28920 }
28921 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 28922 }
093d3ff1
RD
28923 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28924 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
28925 {
28926 PyThreadState* __tstate = wxPyBeginAllowThreads();
28927 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28928
28929 wxPyEndAllowThreads(__tstate);
28930 if (PyErr_Occurred()) SWIG_fail;
28931 }
28932 Py_INCREF(Py_None); resultobj = Py_None;
28933 return resultobj;
28934 fail:
28935 return NULL;
28936}
28937
28938
c32bde28 28939static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28940 PyObject *resultobj;
28941 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28942 wxTreeItemId *arg2 = 0 ;
28943 PyObject *arg3 = (PyObject *) 0 ;
28944 PyObject * obj0 = 0 ;
28945 PyObject * obj1 = 0 ;
28946 PyObject * obj2 = 0 ;
28947 char *kwnames[] = {
28948 (char *) "self",(char *) "item",(char *) "obj", NULL
28949 };
28950
28951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28953 if (SWIG_arg_fail(1)) SWIG_fail;
28954 {
28955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28956 if (SWIG_arg_fail(2)) SWIG_fail;
28957 if (arg2 == NULL) {
28958 SWIG_null_ref("wxTreeItemId");
28959 }
28960 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28961 }
28962 arg3 = obj2;
28963 {
28964 PyThreadState* __tstate = wxPyBeginAllowThreads();
28965 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28966
28967 wxPyEndAllowThreads(__tstate);
28968 if (PyErr_Occurred()) SWIG_fail;
28969 }
28970 Py_INCREF(Py_None); resultobj = Py_None;
28971 return resultobj;
28972 fail:
28973 return NULL;
28974}
28975
28976
c32bde28 28977static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28978 PyObject *resultobj;
28979 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28980 wxTreeItemId *arg2 = 0 ;
ae8162c8 28981 bool arg3 = (bool) true ;
d14a1e28
RD
28982 PyObject * obj0 = 0 ;
28983 PyObject * obj1 = 0 ;
28984 PyObject * obj2 = 0 ;
28985 char *kwnames[] = {
28986 (char *) "self",(char *) "item",(char *) "has", NULL
28987 };
28988
28989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28991 if (SWIG_arg_fail(1)) SWIG_fail;
28992 {
28993 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28994 if (SWIG_arg_fail(2)) SWIG_fail;
28995 if (arg2 == NULL) {
28996 SWIG_null_ref("wxTreeItemId");
28997 }
28998 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28999 }
29000 if (obj2) {
093d3ff1
RD
29001 {
29002 arg3 = (bool)(SWIG_As_bool(obj2));
29003 if (SWIG_arg_fail(3)) SWIG_fail;
29004 }
d14a1e28
RD
29005 }
29006 {
29007 PyThreadState* __tstate = wxPyBeginAllowThreads();
29008 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
29009
29010 wxPyEndAllowThreads(__tstate);
29011 if (PyErr_Occurred()) SWIG_fail;
29012 }
29013 Py_INCREF(Py_None); resultobj = Py_None;
29014 return resultobj;
29015 fail:
29016 return NULL;
29017}
29018
29019
c32bde28 29020static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29021 PyObject *resultobj;
29022 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29023 wxTreeItemId *arg2 = 0 ;
ae8162c8 29024 bool arg3 = (bool) true ;
d14a1e28
RD
29025 PyObject * obj0 = 0 ;
29026 PyObject * obj1 = 0 ;
29027 PyObject * obj2 = 0 ;
29028 char *kwnames[] = {
29029 (char *) "self",(char *) "item",(char *) "bold", NULL
29030 };
29031
29032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29034 if (SWIG_arg_fail(1)) SWIG_fail;
29035 {
29036 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29037 if (SWIG_arg_fail(2)) SWIG_fail;
29038 if (arg2 == NULL) {
29039 SWIG_null_ref("wxTreeItemId");
29040 }
29041 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29042 }
29043 if (obj2) {
093d3ff1
RD
29044 {
29045 arg3 = (bool)(SWIG_As_bool(obj2));
29046 if (SWIG_arg_fail(3)) SWIG_fail;
29047 }
d14a1e28
RD
29048 }
29049 {
29050 PyThreadState* __tstate = wxPyBeginAllowThreads();
29051 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29052
29053 wxPyEndAllowThreads(__tstate);
29054 if (PyErr_Occurred()) SWIG_fail;
29055 }
29056 Py_INCREF(Py_None); resultobj = Py_None;
29057 return resultobj;
29058 fail:
29059 return NULL;
29060}
29061
29062
fef4c27a
RD
29063static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
29064 PyObject *resultobj;
29065 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29066 wxTreeItemId *arg2 = 0 ;
29067 bool arg3 = (bool) true ;
29068 PyObject * obj0 = 0 ;
29069 PyObject * obj1 = 0 ;
29070 PyObject * obj2 = 0 ;
29071 char *kwnames[] = {
29072 (char *) "self",(char *) "item",(char *) "highlight", NULL
29073 };
29074
29075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
29076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29077 if (SWIG_arg_fail(1)) SWIG_fail;
29078 {
29079 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29080 if (SWIG_arg_fail(2)) SWIG_fail;
29081 if (arg2 == NULL) {
29082 SWIG_null_ref("wxTreeItemId");
29083 }
29084 if (SWIG_arg_fail(2)) SWIG_fail;
29085 }
29086 if (obj2) {
29087 {
29088 arg3 = (bool)(SWIG_As_bool(obj2));
29089 if (SWIG_arg_fail(3)) SWIG_fail;
29090 }
29091 }
29092 {
29093 PyThreadState* __tstate = wxPyBeginAllowThreads();
29094 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29095
29096 wxPyEndAllowThreads(__tstate);
29097 if (PyErr_Occurred()) SWIG_fail;
29098 }
29099 Py_INCREF(Py_None); resultobj = Py_None;
29100 return resultobj;
29101 fail:
29102 return NULL;
29103}
29104
29105
c32bde28 29106static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29107 PyObject *resultobj;
29108 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29109 wxTreeItemId *arg2 = 0 ;
29110 wxColour *arg3 = 0 ;
29111 wxColour temp3 ;
29112 PyObject * obj0 = 0 ;
29113 PyObject * obj1 = 0 ;
29114 PyObject * obj2 = 0 ;
29115 char *kwnames[] = {
29116 (char *) "self",(char *) "item",(char *) "col", NULL
29117 };
29118
29119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29121 if (SWIG_arg_fail(1)) SWIG_fail;
29122 {
29123 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29124 if (SWIG_arg_fail(2)) SWIG_fail;
29125 if (arg2 == NULL) {
29126 SWIG_null_ref("wxTreeItemId");
29127 }
29128 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29129 }
29130 {
29131 arg3 = &temp3;
29132 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29133 }
29134 {
29135 PyThreadState* __tstate = wxPyBeginAllowThreads();
29136 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29137
29138 wxPyEndAllowThreads(__tstate);
29139 if (PyErr_Occurred()) SWIG_fail;
29140 }
29141 Py_INCREF(Py_None); resultobj = Py_None;
29142 return resultobj;
29143 fail:
29144 return NULL;
29145}
29146
29147
c32bde28 29148static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29149 PyObject *resultobj;
29150 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29151 wxTreeItemId *arg2 = 0 ;
29152 wxColour *arg3 = 0 ;
29153 wxColour temp3 ;
29154 PyObject * obj0 = 0 ;
29155 PyObject * obj1 = 0 ;
29156 PyObject * obj2 = 0 ;
29157 char *kwnames[] = {
29158 (char *) "self",(char *) "item",(char *) "col", NULL
29159 };
29160
29161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29163 if (SWIG_arg_fail(1)) SWIG_fail;
29164 {
29165 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29166 if (SWIG_arg_fail(2)) SWIG_fail;
29167 if (arg2 == NULL) {
29168 SWIG_null_ref("wxTreeItemId");
29169 }
29170 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29171 }
29172 {
29173 arg3 = &temp3;
29174 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29175 }
29176 {
29177 PyThreadState* __tstate = wxPyBeginAllowThreads();
29178 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29179
29180 wxPyEndAllowThreads(__tstate);
29181 if (PyErr_Occurred()) SWIG_fail;
29182 }
29183 Py_INCREF(Py_None); resultobj = Py_None;
29184 return resultobj;
29185 fail:
29186 return NULL;
29187}
29188
29189
c32bde28 29190static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29191 PyObject *resultobj;
29192 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29193 wxTreeItemId *arg2 = 0 ;
29194 wxFont *arg3 = 0 ;
29195 PyObject * obj0 = 0 ;
29196 PyObject * obj1 = 0 ;
29197 PyObject * obj2 = 0 ;
29198 char *kwnames[] = {
29199 (char *) "self",(char *) "item",(char *) "font", NULL
29200 };
29201
29202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29204 if (SWIG_arg_fail(1)) SWIG_fail;
29205 {
29206 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29207 if (SWIG_arg_fail(2)) SWIG_fail;
29208 if (arg2 == NULL) {
29209 SWIG_null_ref("wxTreeItemId");
29210 }
29211 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 29212 }
093d3ff1
RD
29213 {
29214 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29215 if (SWIG_arg_fail(3)) SWIG_fail;
29216 if (arg3 == NULL) {
29217 SWIG_null_ref("wxFont");
29218 }
29219 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
29220 }
29221 {
29222 PyThreadState* __tstate = wxPyBeginAllowThreads();
29223 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29224
29225 wxPyEndAllowThreads(__tstate);
29226 if (PyErr_Occurred()) SWIG_fail;
29227 }
29228 Py_INCREF(Py_None); resultobj = Py_None;
29229 return resultobj;
29230 fail:
29231 return NULL;
29232}
29233
29234
c32bde28 29235static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29236 PyObject *resultobj;
29237 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29238 wxTreeItemId *arg2 = 0 ;
29239 bool result;
29240 PyObject * obj0 = 0 ;
29241 PyObject * obj1 = 0 ;
29242 char *kwnames[] = {
29243 (char *) "self",(char *) "item", NULL
29244 };
29245
29246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29248 if (SWIG_arg_fail(1)) SWIG_fail;
29249 {
29250 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29251 if (SWIG_arg_fail(2)) SWIG_fail;
29252 if (arg2 == NULL) {
29253 SWIG_null_ref("wxTreeItemId");
29254 }
29255 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29256 }
29257 {
29258 PyThreadState* __tstate = wxPyBeginAllowThreads();
29259 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29260
29261 wxPyEndAllowThreads(__tstate);
29262 if (PyErr_Occurred()) SWIG_fail;
29263 }
4f89f6a3
RD
29264 {
29265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29266 }
d14a1e28
RD
29267 return resultobj;
29268 fail:
29269 return NULL;
29270}
29271
29272
c32bde28 29273static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29274 PyObject *resultobj;
29275 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29276 wxTreeItemId *arg2 = 0 ;
29277 bool result;
29278 PyObject * obj0 = 0 ;
29279 PyObject * obj1 = 0 ;
29280 char *kwnames[] = {
29281 (char *) "self",(char *) "item", NULL
29282 };
29283
29284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29286 if (SWIG_arg_fail(1)) SWIG_fail;
29287 {
29288 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29289 if (SWIG_arg_fail(2)) SWIG_fail;
29290 if (arg2 == NULL) {
29291 SWIG_null_ref("wxTreeItemId");
29292 }
29293 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29294 }
29295 {
29296 PyThreadState* __tstate = wxPyBeginAllowThreads();
29297 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29298
29299 wxPyEndAllowThreads(__tstate);
29300 if (PyErr_Occurred()) SWIG_fail;
29301 }
4f89f6a3
RD
29302 {
29303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29304 }
d14a1e28
RD
29305 return resultobj;
29306 fail:
29307 return NULL;
29308}
29309
29310
c32bde28 29311static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29312 PyObject *resultobj;
29313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29314 wxTreeItemId *arg2 = 0 ;
29315 bool result;
29316 PyObject * obj0 = 0 ;
29317 PyObject * obj1 = 0 ;
29318 char *kwnames[] = {
29319 (char *) "self",(char *) "item", NULL
29320 };
29321
29322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29324 if (SWIG_arg_fail(1)) SWIG_fail;
29325 {
29326 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29327 if (SWIG_arg_fail(2)) SWIG_fail;
29328 if (arg2 == NULL) {
29329 SWIG_null_ref("wxTreeItemId");
29330 }
29331 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29332 }
29333 {
29334 PyThreadState* __tstate = wxPyBeginAllowThreads();
29335 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29336
29337 wxPyEndAllowThreads(__tstate);
29338 if (PyErr_Occurred()) SWIG_fail;
29339 }
4f89f6a3
RD
29340 {
29341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29342 }
d14a1e28
RD
29343 return resultobj;
29344 fail:
29345 return NULL;
29346}
29347
29348
c32bde28 29349static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29350 PyObject *resultobj;
29351 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29352 wxTreeItemId *arg2 = 0 ;
29353 bool result;
29354 PyObject * obj0 = 0 ;
29355 PyObject * obj1 = 0 ;
29356 char *kwnames[] = {
29357 (char *) "self",(char *) "item", NULL
29358 };
29359
29360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29362 if (SWIG_arg_fail(1)) SWIG_fail;
29363 {
29364 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29365 if (SWIG_arg_fail(2)) SWIG_fail;
29366 if (arg2 == NULL) {
29367 SWIG_null_ref("wxTreeItemId");
29368 }
29369 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29370 }
29371 {
29372 PyThreadState* __tstate = wxPyBeginAllowThreads();
29373 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29374
29375 wxPyEndAllowThreads(__tstate);
29376 if (PyErr_Occurred()) SWIG_fail;
29377 }
4f89f6a3
RD
29378 {
29379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29380 }
d14a1e28
RD
29381 return resultobj;
29382 fail:
29383 return NULL;
29384}
29385
29386
c32bde28 29387static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29388 PyObject *resultobj;
29389 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29390 wxTreeItemId *arg2 = 0 ;
29391 bool result;
29392 PyObject * obj0 = 0 ;
29393 PyObject * obj1 = 0 ;
29394 char *kwnames[] = {
29395 (char *) "self",(char *) "item", NULL
29396 };
29397
29398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29400 if (SWIG_arg_fail(1)) SWIG_fail;
29401 {
29402 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29403 if (SWIG_arg_fail(2)) SWIG_fail;
29404 if (arg2 == NULL) {
29405 SWIG_null_ref("wxTreeItemId");
29406 }
29407 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29408 }
29409 {
29410 PyThreadState* __tstate = wxPyBeginAllowThreads();
29411 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29412
29413 wxPyEndAllowThreads(__tstate);
29414 if (PyErr_Occurred()) SWIG_fail;
29415 }
4f89f6a3
RD
29416 {
29417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29418 }
d14a1e28
RD
29419 return resultobj;
29420 fail:
29421 return NULL;
29422}
29423
29424
c32bde28 29425static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29426 PyObject *resultobj;
29427 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29428 wxTreeItemId *arg2 = 0 ;
ae8162c8 29429 bool arg3 = (bool) true ;
d14a1e28
RD
29430 size_t result;
29431 PyObject * obj0 = 0 ;
29432 PyObject * obj1 = 0 ;
29433 PyObject * obj2 = 0 ;
29434 char *kwnames[] = {
29435 (char *) "self",(char *) "item",(char *) "recursively", NULL
29436 };
29437
29438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29440 if (SWIG_arg_fail(1)) SWIG_fail;
29441 {
29442 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29443 if (SWIG_arg_fail(2)) SWIG_fail;
29444 if (arg2 == NULL) {
29445 SWIG_null_ref("wxTreeItemId");
29446 }
29447 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29448 }
29449 if (obj2) {
093d3ff1
RD
29450 {
29451 arg3 = (bool)(SWIG_As_bool(obj2));
29452 if (SWIG_arg_fail(3)) SWIG_fail;
29453 }
d14a1e28
RD
29454 }
29455 {
29456 PyThreadState* __tstate = wxPyBeginAllowThreads();
29457 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29458
29459 wxPyEndAllowThreads(__tstate);
29460 if (PyErr_Occurred()) SWIG_fail;
29461 }
093d3ff1
RD
29462 {
29463 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29464 }
d14a1e28
RD
29465 return resultobj;
29466 fail:
29467 return NULL;
29468}
29469
29470
c32bde28 29471static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29472 PyObject *resultobj;
29473 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29474 wxTreeItemId result;
29475 PyObject * obj0 = 0 ;
29476 char *kwnames[] = {
29477 (char *) "self", NULL
29478 };
29479
29480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
29481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29482 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29483 {
29484 PyThreadState* __tstate = wxPyBeginAllowThreads();
29485 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29486
29487 wxPyEndAllowThreads(__tstate);
29488 if (PyErr_Occurred()) SWIG_fail;
29489 }
29490 {
29491 wxTreeItemId * resultptr;
093d3ff1 29492 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29493 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29494 }
29495 return resultobj;
29496 fail:
29497 return NULL;
29498}
29499
29500
c32bde28 29501static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29502 PyObject *resultobj;
29503 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29504 wxTreeItemId result;
29505 PyObject * obj0 = 0 ;
29506 char *kwnames[] = {
29507 (char *) "self", NULL
29508 };
29509
29510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
29511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29512 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29513 {
29514 PyThreadState* __tstate = wxPyBeginAllowThreads();
29515 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29516
29517 wxPyEndAllowThreads(__tstate);
29518 if (PyErr_Occurred()) SWIG_fail;
29519 }
29520 {
29521 wxTreeItemId * resultptr;
093d3ff1 29522 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29524 }
29525 return resultobj;
29526 fail:
29527 return NULL;
29528}
29529
29530
c32bde28 29531static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29532 PyObject *resultobj;
29533 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29534 PyObject *result;
29535 PyObject * obj0 = 0 ;
29536 char *kwnames[] = {
29537 (char *) "self", NULL
29538 };
29539
29540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
29541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29542 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29543 {
29544 PyThreadState* __tstate = wxPyBeginAllowThreads();
29545 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29546
29547 wxPyEndAllowThreads(__tstate);
29548 if (PyErr_Occurred()) SWIG_fail;
29549 }
29550 resultobj = result;
29551 return resultobj;
29552 fail:
29553 return NULL;
29554}
29555
29556
c32bde28 29557static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29558 PyObject *resultobj;
29559 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29560 wxTreeItemId *arg2 = 0 ;
29561 wxTreeItemId result;
29562 PyObject * obj0 = 0 ;
29563 PyObject * obj1 = 0 ;
29564 char *kwnames[] = {
29565 (char *) "self",(char *) "item", NULL
29566 };
29567
29568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29570 if (SWIG_arg_fail(1)) SWIG_fail;
29571 {
29572 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29573 if (SWIG_arg_fail(2)) SWIG_fail;
29574 if (arg2 == NULL) {
29575 SWIG_null_ref("wxTreeItemId");
29576 }
29577 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29578 }
29579 {
29580 PyThreadState* __tstate = wxPyBeginAllowThreads();
29581 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29582
29583 wxPyEndAllowThreads(__tstate);
29584 if (PyErr_Occurred()) SWIG_fail;
29585 }
29586 {
29587 wxTreeItemId * resultptr;
093d3ff1 29588 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29590 }
29591 return resultobj;
29592 fail:
29593 return NULL;
29594}
29595
29596
c32bde28 29597static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29598 PyObject *resultobj;
29599 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29600 wxTreeItemId *arg2 = 0 ;
29601 PyObject *result;
29602 PyObject * obj0 = 0 ;
29603 PyObject * obj1 = 0 ;
29604 char *kwnames[] = {
29605 (char *) "self",(char *) "item", NULL
29606 };
29607
29608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29610 if (SWIG_arg_fail(1)) SWIG_fail;
29611 {
29612 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29613 if (SWIG_arg_fail(2)) SWIG_fail;
29614 if (arg2 == NULL) {
29615 SWIG_null_ref("wxTreeItemId");
29616 }
29617 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29618 }
29619 {
29620 PyThreadState* __tstate = wxPyBeginAllowThreads();
29621 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29622
29623 wxPyEndAllowThreads(__tstate);
29624 if (PyErr_Occurred()) SWIG_fail;
29625 }
29626 resultobj = result;
29627 return resultobj;
29628 fail:
29629 return NULL;
29630}
29631
29632
c32bde28 29633static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29634 PyObject *resultobj;
29635 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29636 wxTreeItemId *arg2 = 0 ;
58203fa6 29637 void *arg3 = (void *) 0 ;
d14a1e28
RD
29638 PyObject *result;
29639 PyObject * obj0 = 0 ;
29640 PyObject * obj1 = 0 ;
29641 PyObject * obj2 = 0 ;
29642 char *kwnames[] = {
29643 (char *) "self",(char *) "item",(char *) "cookie", NULL
29644 };
29645
29646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29648 if (SWIG_arg_fail(1)) SWIG_fail;
29649 {
29650 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29651 if (SWIG_arg_fail(2)) SWIG_fail;
29652 if (arg2 == NULL) {
29653 SWIG_null_ref("wxTreeItemId");
29654 }
29655 if (SWIG_arg_fail(2)) SWIG_fail;
29656 }
29657 {
29658 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29659 SWIG_arg_fail(3);SWIG_fail;
29660 }
d14a1e28 29661 }
d14a1e28
RD
29662 {
29663 PyThreadState* __tstate = wxPyBeginAllowThreads();
58203fa6 29664 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
d14a1e28
RD
29665
29666 wxPyEndAllowThreads(__tstate);
29667 if (PyErr_Occurred()) SWIG_fail;
29668 }
29669 resultobj = result;
29670 return resultobj;
29671 fail:
29672 return NULL;
29673}
29674
29675
c32bde28 29676static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29677 PyObject *resultobj;
29678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29679 wxTreeItemId *arg2 = 0 ;
29680 wxTreeItemId result;
29681 PyObject * obj0 = 0 ;
29682 PyObject * obj1 = 0 ;
29683 char *kwnames[] = {
29684 (char *) "self",(char *) "item", NULL
29685 };
29686
29687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29689 if (SWIG_arg_fail(1)) SWIG_fail;
29690 {
29691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29692 if (SWIG_arg_fail(2)) SWIG_fail;
29693 if (arg2 == NULL) {
29694 SWIG_null_ref("wxTreeItemId");
29695 }
29696 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29697 }
29698 {
29699 PyThreadState* __tstate = wxPyBeginAllowThreads();
29700 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29701
29702 wxPyEndAllowThreads(__tstate);
29703 if (PyErr_Occurred()) SWIG_fail;
29704 }
29705 {
29706 wxTreeItemId * resultptr;
093d3ff1 29707 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29709 }
29710 return resultobj;
29711 fail:
29712 return NULL;
29713}
29714
29715
c32bde28 29716static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29717 PyObject *resultobj;
29718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29719 wxTreeItemId *arg2 = 0 ;
29720 wxTreeItemId result;
29721 PyObject * obj0 = 0 ;
29722 PyObject * obj1 = 0 ;
29723 char *kwnames[] = {
29724 (char *) "self",(char *) "item", NULL
29725 };
29726
29727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29729 if (SWIG_arg_fail(1)) SWIG_fail;
29730 {
29731 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29732 if (SWIG_arg_fail(2)) SWIG_fail;
29733 if (arg2 == NULL) {
29734 SWIG_null_ref("wxTreeItemId");
29735 }
29736 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29737 }
29738 {
29739 PyThreadState* __tstate = wxPyBeginAllowThreads();
29740 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29741
29742 wxPyEndAllowThreads(__tstate);
29743 if (PyErr_Occurred()) SWIG_fail;
29744 }
29745 {
29746 wxTreeItemId * resultptr;
093d3ff1 29747 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29749 }
29750 return resultobj;
29751 fail:
29752 return NULL;
29753}
29754
29755
c32bde28 29756static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29757 PyObject *resultobj;
29758 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29759 wxTreeItemId *arg2 = 0 ;
29760 wxTreeItemId result;
29761 PyObject * obj0 = 0 ;
29762 PyObject * obj1 = 0 ;
29763 char *kwnames[] = {
29764 (char *) "self",(char *) "item", NULL
29765 };
29766
29767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29769 if (SWIG_arg_fail(1)) SWIG_fail;
29770 {
29771 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29772 if (SWIG_arg_fail(2)) SWIG_fail;
29773 if (arg2 == NULL) {
29774 SWIG_null_ref("wxTreeItemId");
29775 }
29776 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29777 }
29778 {
29779 PyThreadState* __tstate = wxPyBeginAllowThreads();
29780 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29781
29782 wxPyEndAllowThreads(__tstate);
29783 if (PyErr_Occurred()) SWIG_fail;
29784 }
29785 {
29786 wxTreeItemId * resultptr;
093d3ff1 29787 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29789 }
29790 return resultobj;
29791 fail:
29792 return NULL;
29793}
29794
29795
c32bde28 29796static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29797 PyObject *resultobj;
29798 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29799 wxTreeItemId result;
29800 PyObject * obj0 = 0 ;
29801 char *kwnames[] = {
29802 (char *) "self", NULL
29803 };
29804
29805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
29806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29807 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29808 {
29809 PyThreadState* __tstate = wxPyBeginAllowThreads();
29810 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29811
29812 wxPyEndAllowThreads(__tstate);
29813 if (PyErr_Occurred()) SWIG_fail;
29814 }
29815 {
29816 wxTreeItemId * resultptr;
093d3ff1 29817 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29818 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29819 }
29820 return resultobj;
29821 fail:
29822 return NULL;
29823}
29824
29825
c32bde28 29826static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29827 PyObject *resultobj;
29828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29829 wxTreeItemId *arg2 = 0 ;
29830 wxTreeItemId result;
29831 PyObject * obj0 = 0 ;
29832 PyObject * obj1 = 0 ;
29833 char *kwnames[] = {
29834 (char *) "self",(char *) "item", NULL
29835 };
29836
29837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29839 if (SWIG_arg_fail(1)) SWIG_fail;
29840 {
29841 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29842 if (SWIG_arg_fail(2)) SWIG_fail;
29843 if (arg2 == NULL) {
29844 SWIG_null_ref("wxTreeItemId");
29845 }
29846 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29847 }
29848 {
29849 PyThreadState* __tstate = wxPyBeginAllowThreads();
29850 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29851
29852 wxPyEndAllowThreads(__tstate);
29853 if (PyErr_Occurred()) SWIG_fail;
29854 }
29855 {
29856 wxTreeItemId * resultptr;
093d3ff1 29857 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29858 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29859 }
29860 return resultobj;
29861 fail:
29862 return NULL;
29863}
29864
29865
c32bde28 29866static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29867 PyObject *resultobj;
29868 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29869 wxTreeItemId *arg2 = 0 ;
29870 wxTreeItemId result;
29871 PyObject * obj0 = 0 ;
29872 PyObject * obj1 = 0 ;
29873 char *kwnames[] = {
29874 (char *) "self",(char *) "item", NULL
29875 };
29876
29877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29879 if (SWIG_arg_fail(1)) SWIG_fail;
29880 {
29881 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29882 if (SWIG_arg_fail(2)) SWIG_fail;
29883 if (arg2 == NULL) {
29884 SWIG_null_ref("wxTreeItemId");
29885 }
29886 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29887 }
29888 {
29889 PyThreadState* __tstate = wxPyBeginAllowThreads();
29890 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29891
29892 wxPyEndAllowThreads(__tstate);
29893 if (PyErr_Occurred()) SWIG_fail;
29894 }
29895 {
29896 wxTreeItemId * resultptr;
093d3ff1 29897 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29898 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29899 }
29900 return resultobj;
29901 fail:
29902 return NULL;
29903}
29904
29905
c32bde28 29906static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29907 PyObject *resultobj;
29908 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29909 wxString *arg2 = 0 ;
29910 int arg3 = (int) -1 ;
29911 int arg4 = (int) -1 ;
29912 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29913 wxTreeItemId result;
ae8162c8 29914 bool temp2 = false ;
d14a1e28
RD
29915 PyObject * obj0 = 0 ;
29916 PyObject * obj1 = 0 ;
994141e6
RD
29917 PyObject * obj2 = 0 ;
29918 PyObject * obj3 = 0 ;
d14a1e28
RD
29919 PyObject * obj4 = 0 ;
29920 char *kwnames[] = {
29921 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29922 };
29923
994141e6 29924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
29925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29926 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29927 {
29928 arg2 = wxString_in_helper(obj1);
29929 if (arg2 == NULL) SWIG_fail;
ae8162c8 29930 temp2 = true;
d14a1e28 29931 }
994141e6 29932 if (obj2) {
093d3ff1
RD
29933 {
29934 arg3 = (int)(SWIG_As_int(obj2));
29935 if (SWIG_arg_fail(3)) SWIG_fail;
29936 }
994141e6
RD
29937 }
29938 if (obj3) {
093d3ff1
RD
29939 {
29940 arg4 = (int)(SWIG_As_int(obj3));
29941 if (SWIG_arg_fail(4)) SWIG_fail;
29942 }
994141e6 29943 }
d14a1e28 29944 if (obj4) {
093d3ff1
RD
29945 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29946 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
29947 }
29948 {
29949 PyThreadState* __tstate = wxPyBeginAllowThreads();
29950 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29951
29952 wxPyEndAllowThreads(__tstate);
29953 if (PyErr_Occurred()) SWIG_fail;
29954 }
29955 {
29956 wxTreeItemId * resultptr;
093d3ff1 29957 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 29958 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
29959 }
29960 {
29961 if (temp2)
29962 delete arg2;
29963 }
29964 return resultobj;
29965 fail:
29966 {
29967 if (temp2)
29968 delete arg2;
29969 }
29970 return NULL;
29971}
29972
29973
c32bde28 29974static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29975 PyObject *resultobj;
29976 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29977 wxTreeItemId *arg2 = 0 ;
29978 wxString *arg3 = 0 ;
29979 int arg4 = (int) -1 ;
29980 int arg5 = (int) -1 ;
29981 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29982 wxTreeItemId result;
ae8162c8 29983 bool temp3 = false ;
d14a1e28
RD
29984 PyObject * obj0 = 0 ;
29985 PyObject * obj1 = 0 ;
29986 PyObject * obj2 = 0 ;
994141e6
RD
29987 PyObject * obj3 = 0 ;
29988 PyObject * obj4 = 0 ;
d14a1e28
RD
29989 PyObject * obj5 = 0 ;
29990 char *kwnames[] = {
29991 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29992 };
29993
994141e6 29994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
29995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29996 if (SWIG_arg_fail(1)) SWIG_fail;
29997 {
29998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29999 if (SWIG_arg_fail(2)) SWIG_fail;
30000 if (arg2 == NULL) {
30001 SWIG_null_ref("wxTreeItemId");
30002 }
30003 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30004 }
30005 {
30006 arg3 = wxString_in_helper(obj2);
30007 if (arg3 == NULL) SWIG_fail;
ae8162c8 30008 temp3 = true;
d14a1e28 30009 }
994141e6 30010 if (obj3) {
093d3ff1
RD
30011 {
30012 arg4 = (int)(SWIG_As_int(obj3));
30013 if (SWIG_arg_fail(4)) SWIG_fail;
30014 }
994141e6
RD
30015 }
30016 if (obj4) {
093d3ff1
RD
30017 {
30018 arg5 = (int)(SWIG_As_int(obj4));
30019 if (SWIG_arg_fail(5)) SWIG_fail;
30020 }
994141e6 30021 }
d14a1e28 30022 if (obj5) {
093d3ff1
RD
30023 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30024 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
30025 }
30026 {
30027 PyThreadState* __tstate = wxPyBeginAllowThreads();
30028 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30029
30030 wxPyEndAllowThreads(__tstate);
30031 if (PyErr_Occurred()) SWIG_fail;
30032 }
30033 {
30034 wxTreeItemId * resultptr;
093d3ff1 30035 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30037 }
30038 {
30039 if (temp3)
30040 delete arg3;
30041 }
30042 return resultobj;
30043 fail:
30044 {
30045 if (temp3)
30046 delete arg3;
30047 }
30048 return NULL;
30049}
30050
30051
c32bde28 30052static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30053 PyObject *resultobj;
30054 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30055 wxTreeItemId *arg2 = 0 ;
30056 wxTreeItemId *arg3 = 0 ;
30057 wxString *arg4 = 0 ;
30058 int arg5 = (int) -1 ;
30059 int arg6 = (int) -1 ;
30060 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30061 wxTreeItemId result;
ae8162c8 30062 bool temp4 = false ;
d14a1e28
RD
30063 PyObject * obj0 = 0 ;
30064 PyObject * obj1 = 0 ;
30065 PyObject * obj2 = 0 ;
30066 PyObject * obj3 = 0 ;
994141e6
RD
30067 PyObject * obj4 = 0 ;
30068 PyObject * obj5 = 0 ;
d14a1e28
RD
30069 PyObject * obj6 = 0 ;
30070 char *kwnames[] = {
30071 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30072 };
30073
994141e6 30074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
30075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30076 if (SWIG_arg_fail(1)) SWIG_fail;
30077 {
30078 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30079 if (SWIG_arg_fail(2)) SWIG_fail;
30080 if (arg2 == NULL) {
30081 SWIG_null_ref("wxTreeItemId");
30082 }
30083 if (SWIG_arg_fail(2)) SWIG_fail;
30084 }
30085 {
30086 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30087 if (SWIG_arg_fail(3)) SWIG_fail;
30088 if (arg3 == NULL) {
30089 SWIG_null_ref("wxTreeItemId");
30090 }
30091 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
30092 }
30093 {
30094 arg4 = wxString_in_helper(obj3);
30095 if (arg4 == NULL) SWIG_fail;
ae8162c8 30096 temp4 = true;
d14a1e28 30097 }
994141e6 30098 if (obj4) {
093d3ff1
RD
30099 {
30100 arg5 = (int)(SWIG_As_int(obj4));
30101 if (SWIG_arg_fail(5)) SWIG_fail;
30102 }
994141e6
RD
30103 }
30104 if (obj5) {
093d3ff1
RD
30105 {
30106 arg6 = (int)(SWIG_As_int(obj5));
30107 if (SWIG_arg_fail(6)) SWIG_fail;
30108 }
994141e6 30109 }
d14a1e28 30110 if (obj6) {
093d3ff1
RD
30111 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30112 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
30113 }
30114 {
30115 PyThreadState* __tstate = wxPyBeginAllowThreads();
30116 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30117
30118 wxPyEndAllowThreads(__tstate);
30119 if (PyErr_Occurred()) SWIG_fail;
30120 }
30121 {
30122 wxTreeItemId * resultptr;
093d3ff1 30123 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30124 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30125 }
30126 {
30127 if (temp4)
30128 delete arg4;
30129 }
30130 return resultobj;
30131 fail:
30132 {
30133 if (temp4)
30134 delete arg4;
30135 }
30136 return NULL;
30137}
30138
30139
c32bde28 30140static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30141 PyObject *resultobj;
30142 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30143 wxTreeItemId *arg2 = 0 ;
30144 size_t arg3 ;
30145 wxString *arg4 = 0 ;
30146 int arg5 = (int) -1 ;
30147 int arg6 = (int) -1 ;
30148 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30149 wxTreeItemId result;
ae8162c8 30150 bool temp4 = false ;
d14a1e28
RD
30151 PyObject * obj0 = 0 ;
30152 PyObject * obj1 = 0 ;
30153 PyObject * obj2 = 0 ;
30154 PyObject * obj3 = 0 ;
994141e6
RD
30155 PyObject * obj4 = 0 ;
30156 PyObject * obj5 = 0 ;
d14a1e28
RD
30157 PyObject * obj6 = 0 ;
30158 char *kwnames[] = {
30159 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30160 };
30161
994141e6 30162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
30163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30164 if (SWIG_arg_fail(1)) SWIG_fail;
30165 {
30166 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30167 if (SWIG_arg_fail(2)) SWIG_fail;
30168 if (arg2 == NULL) {
30169 SWIG_null_ref("wxTreeItemId");
30170 }
30171 if (SWIG_arg_fail(2)) SWIG_fail;
30172 }
30173 {
30174 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30175 if (SWIG_arg_fail(3)) SWIG_fail;
30176 }
d14a1e28
RD
30177 {
30178 arg4 = wxString_in_helper(obj3);
30179 if (arg4 == NULL) SWIG_fail;
ae8162c8 30180 temp4 = true;
d14a1e28 30181 }
994141e6 30182 if (obj4) {
093d3ff1
RD
30183 {
30184 arg5 = (int)(SWIG_As_int(obj4));
30185 if (SWIG_arg_fail(5)) SWIG_fail;
30186 }
994141e6
RD
30187 }
30188 if (obj5) {
093d3ff1
RD
30189 {
30190 arg6 = (int)(SWIG_As_int(obj5));
30191 if (SWIG_arg_fail(6)) SWIG_fail;
30192 }
994141e6 30193 }
d14a1e28 30194 if (obj6) {
093d3ff1
RD
30195 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30196 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
30197 }
30198 {
30199 PyThreadState* __tstate = wxPyBeginAllowThreads();
30200 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30201
30202 wxPyEndAllowThreads(__tstate);
30203 if (PyErr_Occurred()) SWIG_fail;
30204 }
30205 {
30206 wxTreeItemId * resultptr;
093d3ff1 30207 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30208 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30209 }
30210 {
30211 if (temp4)
30212 delete arg4;
30213 }
30214 return resultobj;
30215 fail:
30216 {
30217 if (temp4)
30218 delete arg4;
30219 }
30220 return NULL;
30221}
30222
30223
c32bde28 30224static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30225 PyObject *resultobj;
30226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30227 wxTreeItemId *arg2 = 0 ;
30228 wxString *arg3 = 0 ;
30229 int arg4 = (int) -1 ;
30230 int arg5 = (int) -1 ;
30231 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30232 wxTreeItemId result;
ae8162c8 30233 bool temp3 = false ;
d14a1e28
RD
30234 PyObject * obj0 = 0 ;
30235 PyObject * obj1 = 0 ;
30236 PyObject * obj2 = 0 ;
994141e6
RD
30237 PyObject * obj3 = 0 ;
30238 PyObject * obj4 = 0 ;
d14a1e28
RD
30239 PyObject * obj5 = 0 ;
30240 char *kwnames[] = {
30241 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30242 };
30243
994141e6 30244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
30245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30246 if (SWIG_arg_fail(1)) SWIG_fail;
30247 {
30248 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30249 if (SWIG_arg_fail(2)) SWIG_fail;
30250 if (arg2 == NULL) {
30251 SWIG_null_ref("wxTreeItemId");
30252 }
30253 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30254 }
30255 {
30256 arg3 = wxString_in_helper(obj2);
30257 if (arg3 == NULL) SWIG_fail;
ae8162c8 30258 temp3 = true;
d14a1e28 30259 }
994141e6 30260 if (obj3) {
093d3ff1
RD
30261 {
30262 arg4 = (int)(SWIG_As_int(obj3));
30263 if (SWIG_arg_fail(4)) SWIG_fail;
30264 }
994141e6
RD
30265 }
30266 if (obj4) {
093d3ff1
RD
30267 {
30268 arg5 = (int)(SWIG_As_int(obj4));
30269 if (SWIG_arg_fail(5)) SWIG_fail;
30270 }
994141e6 30271 }
d14a1e28 30272 if (obj5) {
093d3ff1
RD
30273 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30274 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
30275 }
30276 {
30277 PyThreadState* __tstate = wxPyBeginAllowThreads();
30278 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30279
30280 wxPyEndAllowThreads(__tstate);
30281 if (PyErr_Occurred()) SWIG_fail;
30282 }
30283 {
30284 wxTreeItemId * resultptr;
093d3ff1 30285 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
30287 }
30288 {
30289 if (temp3)
30290 delete arg3;
30291 }
30292 return resultobj;
30293 fail:
30294 {
30295 if (temp3)
30296 delete arg3;
30297 }
30298 return NULL;
30299}
30300
30301
c32bde28 30302static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30303 PyObject *resultobj;
30304 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30305 wxTreeItemId *arg2 = 0 ;
30306 PyObject * obj0 = 0 ;
30307 PyObject * obj1 = 0 ;
30308 char *kwnames[] = {
30309 (char *) "self",(char *) "item", NULL
30310 };
30311
30312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30314 if (SWIG_arg_fail(1)) SWIG_fail;
30315 {
30316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30317 if (SWIG_arg_fail(2)) SWIG_fail;
30318 if (arg2 == NULL) {
30319 SWIG_null_ref("wxTreeItemId");
30320 }
30321 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30322 }
30323 {
30324 PyThreadState* __tstate = wxPyBeginAllowThreads();
30325 (arg1)->Delete((wxTreeItemId const &)*arg2);
30326
30327 wxPyEndAllowThreads(__tstate);
30328 if (PyErr_Occurred()) SWIG_fail;
30329 }
30330 Py_INCREF(Py_None); resultobj = Py_None;
30331 return resultobj;
30332 fail:
30333 return NULL;
30334}
30335
30336
c32bde28 30337static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30338 PyObject *resultobj;
30339 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30340 wxTreeItemId *arg2 = 0 ;
30341 PyObject * obj0 = 0 ;
30342 PyObject * obj1 = 0 ;
30343 char *kwnames[] = {
30344 (char *) "self",(char *) "item", NULL
30345 };
30346
30347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30349 if (SWIG_arg_fail(1)) SWIG_fail;
30350 {
30351 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30352 if (SWIG_arg_fail(2)) SWIG_fail;
30353 if (arg2 == NULL) {
30354 SWIG_null_ref("wxTreeItemId");
30355 }
30356 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30357 }
30358 {
30359 PyThreadState* __tstate = wxPyBeginAllowThreads();
30360 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30361
30362 wxPyEndAllowThreads(__tstate);
30363 if (PyErr_Occurred()) SWIG_fail;
30364 }
30365 Py_INCREF(Py_None); resultobj = Py_None;
30366 return resultobj;
30367 fail:
30368 return NULL;
30369}
30370
30371
c32bde28 30372static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30373 PyObject *resultobj;
30374 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30375 PyObject * obj0 = 0 ;
30376 char *kwnames[] = {
30377 (char *) "self", NULL
30378 };
30379
30380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
30381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30382 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30383 {
30384 PyThreadState* __tstate = wxPyBeginAllowThreads();
30385 (arg1)->DeleteAllItems();
30386
30387 wxPyEndAllowThreads(__tstate);
30388 if (PyErr_Occurred()) SWIG_fail;
30389 }
30390 Py_INCREF(Py_None); resultobj = Py_None;
30391 return resultobj;
30392 fail:
30393 return NULL;
30394}
30395
30396
c32bde28 30397static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30398 PyObject *resultobj;
30399 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30400 wxTreeItemId *arg2 = 0 ;
30401 PyObject * obj0 = 0 ;
30402 PyObject * obj1 = 0 ;
30403 char *kwnames[] = {
30404 (char *) "self",(char *) "item", NULL
30405 };
30406
30407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30409 if (SWIG_arg_fail(1)) SWIG_fail;
30410 {
30411 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30412 if (SWIG_arg_fail(2)) SWIG_fail;
30413 if (arg2 == NULL) {
30414 SWIG_null_ref("wxTreeItemId");
30415 }
30416 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30417 }
30418 {
30419 PyThreadState* __tstate = wxPyBeginAllowThreads();
30420 (arg1)->Expand((wxTreeItemId const &)*arg2);
30421
30422 wxPyEndAllowThreads(__tstate);
30423 if (PyErr_Occurred()) SWIG_fail;
30424 }
30425 Py_INCREF(Py_None); resultobj = Py_None;
30426 return resultobj;
30427 fail:
30428 return NULL;
30429}
30430
30431
c32bde28 30432static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30433 PyObject *resultobj;
30434 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30435 wxTreeItemId *arg2 = 0 ;
30436 PyObject * obj0 = 0 ;
30437 PyObject * obj1 = 0 ;
30438 char *kwnames[] = {
30439 (char *) "self",(char *) "item", NULL
30440 };
30441
30442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30444 if (SWIG_arg_fail(1)) SWIG_fail;
30445 {
30446 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30447 if (SWIG_arg_fail(2)) SWIG_fail;
30448 if (arg2 == NULL) {
30449 SWIG_null_ref("wxTreeItemId");
30450 }
30451 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30452 }
30453 {
30454 PyThreadState* __tstate = wxPyBeginAllowThreads();
30455 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30456
30457 wxPyEndAllowThreads(__tstate);
30458 if (PyErr_Occurred()) SWIG_fail;
30459 }
30460 Py_INCREF(Py_None); resultobj = Py_None;
30461 return resultobj;
30462 fail:
30463 return NULL;
30464}
30465
30466
c32bde28 30467static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30468 PyObject *resultobj;
30469 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30470 wxTreeItemId *arg2 = 0 ;
30471 PyObject * obj0 = 0 ;
30472 PyObject * obj1 = 0 ;
30473 char *kwnames[] = {
30474 (char *) "self",(char *) "item", NULL
30475 };
30476
30477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30479 if (SWIG_arg_fail(1)) SWIG_fail;
30480 {
30481 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30482 if (SWIG_arg_fail(2)) SWIG_fail;
30483 if (arg2 == NULL) {
30484 SWIG_null_ref("wxTreeItemId");
30485 }
30486 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30487 }
30488 {
30489 PyThreadState* __tstate = wxPyBeginAllowThreads();
30490 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30491
30492 wxPyEndAllowThreads(__tstate);
30493 if (PyErr_Occurred()) SWIG_fail;
30494 }
30495 Py_INCREF(Py_None); resultobj = Py_None;
30496 return resultobj;
30497 fail:
30498 return NULL;
30499}
30500
30501
c32bde28 30502static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30503 PyObject *resultobj;
30504 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30505 wxTreeItemId *arg2 = 0 ;
30506 PyObject * obj0 = 0 ;
30507 PyObject * obj1 = 0 ;
30508 char *kwnames[] = {
30509 (char *) "self",(char *) "item", NULL
30510 };
30511
30512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30514 if (SWIG_arg_fail(1)) SWIG_fail;
30515 {
30516 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30517 if (SWIG_arg_fail(2)) SWIG_fail;
30518 if (arg2 == NULL) {
30519 SWIG_null_ref("wxTreeItemId");
30520 }
30521 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30522 }
30523 {
30524 PyThreadState* __tstate = wxPyBeginAllowThreads();
30525 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30526
30527 wxPyEndAllowThreads(__tstate);
30528 if (PyErr_Occurred()) SWIG_fail;
30529 }
30530 Py_INCREF(Py_None); resultobj = Py_None;
30531 return resultobj;
30532 fail:
30533 return NULL;
30534}
30535
30536
c32bde28 30537static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30538 PyObject *resultobj;
30539 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30540 PyObject * obj0 = 0 ;
30541 char *kwnames[] = {
30542 (char *) "self", NULL
30543 };
30544
30545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
093d3ff1
RD
30546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30547 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30548 {
30549 PyThreadState* __tstate = wxPyBeginAllowThreads();
30550 (arg1)->Unselect();
30551
30552 wxPyEndAllowThreads(__tstate);
30553 if (PyErr_Occurred()) SWIG_fail;
30554 }
30555 Py_INCREF(Py_None); resultobj = Py_None;
30556 return resultobj;
30557 fail:
30558 return NULL;
30559}
30560
30561
c32bde28 30562static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
30563 PyObject *resultobj;
30564 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30565 wxTreeItemId *arg2 = 0 ;
30566 PyObject * obj0 = 0 ;
30567 PyObject * obj1 = 0 ;
30568 char *kwnames[] = {
30569 (char *) "self",(char *) "item", NULL
30570 };
30571
30572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30574 if (SWIG_arg_fail(1)) SWIG_fail;
30575 {
30576 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30577 if (SWIG_arg_fail(2)) SWIG_fail;
30578 if (arg2 == NULL) {
30579 SWIG_null_ref("wxTreeItemId");
30580 }
30581 if (SWIG_arg_fail(2)) SWIG_fail;
3adfb63b
RD
30582 }
30583 {
30584 PyThreadState* __tstate = wxPyBeginAllowThreads();
30585 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30586
30587 wxPyEndAllowThreads(__tstate);
30588 if (PyErr_Occurred()) SWIG_fail;
30589 }
30590 Py_INCREF(Py_None); resultobj = Py_None;
30591 return resultobj;
30592 fail:
30593 return NULL;
30594}
30595
30596
c32bde28 30597static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30598 PyObject *resultobj;
30599 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30600 PyObject * obj0 = 0 ;
30601 char *kwnames[] = {
30602 (char *) "self", NULL
30603 };
30604
30605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
30606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30607 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30608 {
30609 PyThreadState* __tstate = wxPyBeginAllowThreads();
30610 (arg1)->UnselectAll();
30611
30612 wxPyEndAllowThreads(__tstate);
30613 if (PyErr_Occurred()) SWIG_fail;
30614 }
30615 Py_INCREF(Py_None); resultobj = Py_None;
30616 return resultobj;
30617 fail:
30618 return NULL;
30619}
30620
30621
c32bde28 30622static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
30623 PyObject *resultobj;
30624 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30625 wxTreeItemId *arg2 = 0 ;
ae8162c8 30626 bool arg3 = (bool) true ;
3adfb63b
RD
30627 PyObject * obj0 = 0 ;
30628 PyObject * obj1 = 0 ;
30629 PyObject * obj2 = 0 ;
30630 char *kwnames[] = {
30631 (char *) "self",(char *) "item",(char *) "select", NULL
30632 };
30633
30634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30636 if (SWIG_arg_fail(1)) SWIG_fail;
30637 {
30638 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30639 if (SWIG_arg_fail(2)) SWIG_fail;
30640 if (arg2 == NULL) {
30641 SWIG_null_ref("wxTreeItemId");
30642 }
30643 if (SWIG_arg_fail(2)) SWIG_fail;
3adfb63b
RD
30644 }
30645 if (obj2) {
093d3ff1
RD
30646 {
30647 arg3 = (bool)(SWIG_As_bool(obj2));
30648 if (SWIG_arg_fail(3)) SWIG_fail;
30649 }
3adfb63b
RD
30650 }
30651 {
30652 PyThreadState* __tstate = wxPyBeginAllowThreads();
30653 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30654
30655 wxPyEndAllowThreads(__tstate);
30656 if (PyErr_Occurred()) SWIG_fail;
30657 }
30658 Py_INCREF(Py_None); resultobj = Py_None;
30659 return resultobj;
30660 fail:
30661 return NULL;
30662}
30663
30664
c32bde28 30665static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30666 PyObject *resultobj;
30667 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30668 wxTreeItemId *arg2 = 0 ;
30669 PyObject * obj0 = 0 ;
30670 PyObject * obj1 = 0 ;
30671 char *kwnames[] = {
30672 (char *) "self",(char *) "item", NULL
30673 };
30674
3adfb63b 30675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30677 if (SWIG_arg_fail(1)) SWIG_fail;
30678 {
30679 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30680 if (SWIG_arg_fail(2)) SWIG_fail;
30681 if (arg2 == NULL) {
30682 SWIG_null_ref("wxTreeItemId");
30683 }
30684 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30685 }
30686 {
30687 PyThreadState* __tstate = wxPyBeginAllowThreads();
3adfb63b 30688 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
d14a1e28
RD
30689
30690 wxPyEndAllowThreads(__tstate);
30691 if (PyErr_Occurred()) SWIG_fail;
30692 }
30693 Py_INCREF(Py_None); resultobj = Py_None;
30694 return resultobj;
30695 fail:
30696 return NULL;
30697}
30698
30699
c32bde28 30700static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30701 PyObject *resultobj;
30702 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30703 wxTreeItemId *arg2 = 0 ;
30704 PyObject * obj0 = 0 ;
30705 PyObject * obj1 = 0 ;
30706 char *kwnames[] = {
30707 (char *) "self",(char *) "item", NULL
30708 };
30709
30710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30712 if (SWIG_arg_fail(1)) SWIG_fail;
30713 {
30714 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30715 if (SWIG_arg_fail(2)) SWIG_fail;
30716 if (arg2 == NULL) {
30717 SWIG_null_ref("wxTreeItemId");
30718 }
30719 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30720 }
30721 {
30722 PyThreadState* __tstate = wxPyBeginAllowThreads();
30723 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30724
30725 wxPyEndAllowThreads(__tstate);
30726 if (PyErr_Occurred()) SWIG_fail;
30727 }
30728 Py_INCREF(Py_None); resultobj = Py_None;
30729 return resultobj;
30730 fail:
30731 return NULL;
30732}
30733
30734
c32bde28 30735static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30736 PyObject *resultobj;
30737 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30738 wxTreeItemId *arg2 = 0 ;
30739 PyObject * obj0 = 0 ;
30740 PyObject * obj1 = 0 ;
30741 char *kwnames[] = {
30742 (char *) "self",(char *) "item", NULL
30743 };
30744
30745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30747 if (SWIG_arg_fail(1)) SWIG_fail;
30748 {
30749 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30750 if (SWIG_arg_fail(2)) SWIG_fail;
30751 if (arg2 == NULL) {
30752 SWIG_null_ref("wxTreeItemId");
30753 }
30754 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30755 }
30756 {
30757 PyThreadState* __tstate = wxPyBeginAllowThreads();
30758 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30759
30760 wxPyEndAllowThreads(__tstate);
30761 if (PyErr_Occurred()) SWIG_fail;
30762 }
30763 Py_INCREF(Py_None); resultobj = Py_None;
30764 return resultobj;
30765 fail:
30766 return NULL;
30767}
30768
30769
c32bde28 30770static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30771 PyObject *resultobj;
30772 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30773 wxTreeItemId *arg2 = 0 ;
30774 PyObject * obj0 = 0 ;
30775 PyObject * obj1 = 0 ;
30776 char *kwnames[] = {
30777 (char *) "self",(char *) "item", NULL
30778 };
30779
30780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30782 if (SWIG_arg_fail(1)) SWIG_fail;
30783 {
30784 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30785 if (SWIG_arg_fail(2)) SWIG_fail;
30786 if (arg2 == NULL) {
30787 SWIG_null_ref("wxTreeItemId");
30788 }
30789 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30790 }
30791 {
30792 PyThreadState* __tstate = wxPyBeginAllowThreads();
30793 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30794
30795 wxPyEndAllowThreads(__tstate);
30796 if (PyErr_Occurred()) SWIG_fail;
30797 }
30798 Py_INCREF(Py_None); resultobj = Py_None;
30799 return resultobj;
30800 fail:
30801 return NULL;
30802}
30803
30804
c32bde28 30805static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30806 PyObject *resultobj;
30807 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30808 wxTextCtrl *result;
30809 PyObject * obj0 = 0 ;
30810 char *kwnames[] = {
30811 (char *) "self", NULL
30812 };
30813
30814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
30815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30816 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30817 {
30818 PyThreadState* __tstate = wxPyBeginAllowThreads();
30819 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30820
30821 wxPyEndAllowThreads(__tstate);
30822 if (PyErr_Occurred()) SWIG_fail;
30823 }
30824 {
412d302d 30825 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30826 }
30827 return resultobj;
30828 fail:
30829 return NULL;
30830}
30831
30832
c32bde28 30833static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30834 PyObject *resultobj;
30835 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30836 wxTreeItemId *arg2 = 0 ;
30837 PyObject * obj0 = 0 ;
30838 PyObject * obj1 = 0 ;
30839 char *kwnames[] = {
30840 (char *) "self",(char *) "item", NULL
30841 };
30842
30843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30845 if (SWIG_arg_fail(1)) SWIG_fail;
30846 {
30847 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30848 if (SWIG_arg_fail(2)) SWIG_fail;
30849 if (arg2 == NULL) {
30850 SWIG_null_ref("wxTreeItemId");
30851 }
30852 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30853 }
30854 {
30855 PyThreadState* __tstate = wxPyBeginAllowThreads();
30856 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30857
30858 wxPyEndAllowThreads(__tstate);
30859 if (PyErr_Occurred()) SWIG_fail;
30860 }
30861 Py_INCREF(Py_None); resultobj = Py_None;
30862 return resultobj;
30863 fail:
30864 return NULL;
30865}
30866
30867
c32bde28 30868static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30869 PyObject *resultobj;
30870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30871 wxPoint *arg2 = 0 ;
30872 int *arg3 = 0 ;
30873 wxTreeItemId result;
30874 wxPoint temp2 ;
30875 int temp3 ;
c32bde28 30876 int res3 = 0 ;
d14a1e28
RD
30877 PyObject * obj0 = 0 ;
30878 PyObject * obj1 = 0 ;
30879 char *kwnames[] = {
30880 (char *) "self",(char *) "point", NULL
30881 };
30882
c32bde28 30883 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 30884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30886 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30887 {
30888 arg2 = &temp2;
30889 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30890 }
30891 {
30892 PyThreadState* __tstate = wxPyBeginAllowThreads();
30893 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30894
30895 wxPyEndAllowThreads(__tstate);
30896 if (PyErr_Occurred()) SWIG_fail;
30897 }
30898 {
30899 wxTreeItemId * resultptr;
093d3ff1 30900 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 30901 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28 30902 }
c32bde28
RD
30903 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30904 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
30905 return resultobj;
30906 fail:
30907 return NULL;
30908}
30909
30910
c32bde28 30911static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30912 PyObject *resultobj;
30913 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30914 wxTreeItemId *arg2 = 0 ;
ae8162c8 30915 bool arg3 = (bool) false ;
d14a1e28
RD
30916 PyObject *result;
30917 PyObject * obj0 = 0 ;
30918 PyObject * obj1 = 0 ;
30919 PyObject * obj2 = 0 ;
30920 char *kwnames[] = {
30921 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30922 };
30923
30924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30926 if (SWIG_arg_fail(1)) SWIG_fail;
30927 {
30928 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30929 if (SWIG_arg_fail(2)) SWIG_fail;
30930 if (arg2 == NULL) {
30931 SWIG_null_ref("wxTreeItemId");
30932 }
30933 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30934 }
30935 if (obj2) {
093d3ff1
RD
30936 {
30937 arg3 = (bool)(SWIG_As_bool(obj2));
30938 if (SWIG_arg_fail(3)) SWIG_fail;
30939 }
d14a1e28
RD
30940 }
30941 {
30942 PyThreadState* __tstate = wxPyBeginAllowThreads();
30943 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30944
30945 wxPyEndAllowThreads(__tstate);
30946 if (PyErr_Occurred()) SWIG_fail;
30947 }
30948 resultobj = result;
30949 return resultobj;
30950 fail:
30951 return NULL;
30952}
30953
30954
c32bde28 30955static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 30956 PyObject *resultobj;
093d3ff1 30957 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
30958 wxVisualAttributes result;
30959 PyObject * obj0 = 0 ;
30960 char *kwnames[] = {
30961 (char *) "variant", NULL
30962 };
30963
30964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30965 if (obj0) {
093d3ff1
RD
30966 {
30967 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30968 if (SWIG_arg_fail(1)) SWIG_fail;
30969 }
74a57fcd
RD
30970 }
30971 {
110da5b0 30972 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
30973 PyThreadState* __tstate = wxPyBeginAllowThreads();
30974 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30975
30976 wxPyEndAllowThreads(__tstate);
dfbb5885 30977 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
30978 }
30979 {
30980 wxVisualAttributes * resultptr;
093d3ff1 30981 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
74a57fcd
RD
30982 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30983 }
30984 return resultobj;
30985 fail:
30986 return NULL;
30987}
30988
30989
c32bde28 30990static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30991 PyObject *obj;
30992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30993 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30994 Py_INCREF(obj);
30995 return Py_BuildValue((char *)"");
30996}
c32bde28 30997static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
b2dc1044
RD
30998 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30999 return 1;
31000}
31001
31002
093d3ff1 31003static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
b2dc1044
RD
31004 PyObject *pyobj;
31005
31006 {
31007#if wxUSE_UNICODE
31008 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31009#else
31010 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31011#endif
31012 }
31013 return pyobj;
31014}
31015
31016
c32bde28 31017static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31018 PyObject *resultobj;
31019 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 31020 int arg2 = (int) (int)-1 ;
d14a1e28
RD
31021 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
31022 wxString *arg3 = (wxString *) &arg3_defvalue ;
31023 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31024 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31025 wxSize const &arg5_defvalue = wxDefaultSize ;
31026 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31027 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31028 wxString const &arg7_defvalue = wxPyEmptyString ;
31029 wxString *arg7 = (wxString *) &arg7_defvalue ;
31030 int arg8 = (int) 0 ;
b2dc1044 31031 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
31032 wxString *arg9 = (wxString *) &arg9_defvalue ;
31033 wxGenericDirCtrl *result;
ae8162c8 31034 bool temp3 = false ;
d14a1e28
RD
31035 wxPoint temp4 ;
31036 wxSize temp5 ;
ae8162c8
RD
31037 bool temp7 = false ;
31038 bool temp9 = false ;
d14a1e28 31039 PyObject * obj0 = 0 ;
994141e6 31040 PyObject * obj1 = 0 ;
d14a1e28
RD
31041 PyObject * obj2 = 0 ;
31042 PyObject * obj3 = 0 ;
31043 PyObject * obj4 = 0 ;
994141e6 31044 PyObject * obj5 = 0 ;
d14a1e28 31045 PyObject * obj6 = 0 ;
994141e6 31046 PyObject * obj7 = 0 ;
d14a1e28
RD
31047 PyObject * obj8 = 0 ;
31048 char *kwnames[] = {
31049 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31050 };
31051
994141e6 31052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
093d3ff1
RD
31053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31054 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 31055 if (obj1) {
093d3ff1
RD
31056 {
31057 arg2 = (int const)(SWIG_As_int(obj1));
31058 if (SWIG_arg_fail(2)) SWIG_fail;
31059 }
994141e6 31060 }
d14a1e28
RD
31061 if (obj2) {
31062 {
31063 arg3 = wxString_in_helper(obj2);
31064 if (arg3 == NULL) SWIG_fail;
ae8162c8 31065 temp3 = true;
d14a1e28
RD
31066 }
31067 }
31068 if (obj3) {
31069 {
31070 arg4 = &temp4;
31071 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31072 }
31073 }
31074 if (obj4) {
31075 {
31076 arg5 = &temp5;
31077 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31078 }
31079 }
994141e6 31080 if (obj5) {
093d3ff1
RD
31081 {
31082 arg6 = (long)(SWIG_As_long(obj5));
31083 if (SWIG_arg_fail(6)) SWIG_fail;
31084 }
994141e6 31085 }
d14a1e28
RD
31086 if (obj6) {
31087 {
31088 arg7 = wxString_in_helper(obj6);
31089 if (arg7 == NULL) SWIG_fail;
ae8162c8 31090 temp7 = true;
d14a1e28
RD
31091 }
31092 }
994141e6 31093 if (obj7) {
093d3ff1
RD
31094 {
31095 arg8 = (int)(SWIG_As_int(obj7));
31096 if (SWIG_arg_fail(8)) SWIG_fail;
31097 }
994141e6 31098 }
d14a1e28
RD
31099 if (obj8) {
31100 {
31101 arg9 = wxString_in_helper(obj8);
31102 if (arg9 == NULL) SWIG_fail;
ae8162c8 31103 temp9 = true;
d14a1e28
RD
31104 }
31105 }
31106 {
e3b71cb8 31107 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31108 PyThreadState* __tstate = wxPyBeginAllowThreads();
31109 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31110
31111 wxPyEndAllowThreads(__tstate);
110da5b0 31112 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31113 }
15afbcd0 31114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
31115 {
31116 if (temp3)
31117 delete arg3;
31118 }
31119 {
31120 if (temp7)
31121 delete arg7;
31122 }
31123 {
31124 if (temp9)
31125 delete arg9;
31126 }
31127 return resultobj;
31128 fail:
31129 {
31130 if (temp3)
31131 delete arg3;
31132 }
31133 {
31134 if (temp7)
31135 delete arg7;
31136 }
31137 {
31138 if (temp9)
31139 delete arg9;
31140 }
31141 return NULL;
31142}
31143
31144
c32bde28 31145static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31146 PyObject *resultobj;
31147 wxGenericDirCtrl *result;
31148 char *kwnames[] = {
31149 NULL
31150 };
31151
31152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31153 {
e3b71cb8 31154 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31155 PyThreadState* __tstate = wxPyBeginAllowThreads();
31156 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31157
31158 wxPyEndAllowThreads(__tstate);
110da5b0 31159 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31160 }
15afbcd0 31161 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
31162 return resultobj;
31163 fail:
31164 return NULL;
31165}
31166
31167
c32bde28 31168static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31169 PyObject *resultobj;
31170 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31171 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 31172 int arg3 = (int) (int)-1 ;
d14a1e28
RD
31173 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31174 wxString *arg4 = (wxString *) &arg4_defvalue ;
31175 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31176 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31177 wxSize const &arg6_defvalue = wxDefaultSize ;
31178 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31179 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31180 wxString const &arg8_defvalue = wxPyEmptyString ;
31181 wxString *arg8 = (wxString *) &arg8_defvalue ;
31182 int arg9 = (int) 0 ;
b2dc1044 31183 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
31184 wxString *arg10 = (wxString *) &arg10_defvalue ;
31185 bool result;
ae8162c8 31186 bool temp4 = false ;
d14a1e28
RD
31187 wxPoint temp5 ;
31188 wxSize temp6 ;
ae8162c8
RD
31189 bool temp8 = false ;
31190 bool temp10 = false ;
d14a1e28
RD
31191 PyObject * obj0 = 0 ;
31192 PyObject * obj1 = 0 ;
994141e6 31193 PyObject * obj2 = 0 ;
d14a1e28
RD
31194 PyObject * obj3 = 0 ;
31195 PyObject * obj4 = 0 ;
31196 PyObject * obj5 = 0 ;
994141e6 31197 PyObject * obj6 = 0 ;
d14a1e28 31198 PyObject * obj7 = 0 ;
994141e6 31199 PyObject * obj8 = 0 ;
d14a1e28
RD
31200 PyObject * obj9 = 0 ;
31201 char *kwnames[] = {
31202 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31203 };
31204
994141e6 31205 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
31206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31207 if (SWIG_arg_fail(1)) SWIG_fail;
31208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31209 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 31210 if (obj2) {
093d3ff1
RD
31211 {
31212 arg3 = (int const)(SWIG_As_int(obj2));
31213 if (SWIG_arg_fail(3)) SWIG_fail;
31214 }
994141e6 31215 }
d14a1e28
RD
31216 if (obj3) {
31217 {
31218 arg4 = wxString_in_helper(obj3);
31219 if (arg4 == NULL) SWIG_fail;
ae8162c8 31220 temp4 = true;
d14a1e28
RD
31221 }
31222 }
31223 if (obj4) {
31224 {
31225 arg5 = &temp5;
31226 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31227 }
31228 }
31229 if (obj5) {
31230 {
31231 arg6 = &temp6;
31232 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31233 }
31234 }
994141e6 31235 if (obj6) {
093d3ff1
RD
31236 {
31237 arg7 = (long)(SWIG_As_long(obj6));
31238 if (SWIG_arg_fail(7)) SWIG_fail;
31239 }
994141e6 31240 }
d14a1e28
RD
31241 if (obj7) {
31242 {
31243 arg8 = wxString_in_helper(obj7);
31244 if (arg8 == NULL) SWIG_fail;
ae8162c8 31245 temp8 = true;
d14a1e28
RD
31246 }
31247 }
994141e6 31248 if (obj8) {
093d3ff1
RD
31249 {
31250 arg9 = (int)(SWIG_As_int(obj8));
31251 if (SWIG_arg_fail(9)) SWIG_fail;
31252 }
994141e6 31253 }
d14a1e28
RD
31254 if (obj9) {
31255 {
31256 arg10 = wxString_in_helper(obj9);
31257 if (arg10 == NULL) SWIG_fail;
ae8162c8 31258 temp10 = true;
d14a1e28
RD
31259 }
31260 }
31261 {
31262 PyThreadState* __tstate = wxPyBeginAllowThreads();
31263 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31264
31265 wxPyEndAllowThreads(__tstate);
31266 if (PyErr_Occurred()) SWIG_fail;
31267 }
4f89f6a3
RD
31268 {
31269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31270 }
d14a1e28
RD
31271 {
31272 if (temp4)
31273 delete arg4;
31274 }
31275 {
31276 if (temp8)
31277 delete arg8;
31278 }
31279 {
31280 if (temp10)
31281 delete arg10;
31282 }
31283 return resultobj;
31284 fail:
31285 {
31286 if (temp4)
31287 delete arg4;
31288 }
31289 {
31290 if (temp8)
31291 delete arg8;
31292 }
31293 {
31294 if (temp10)
31295 delete arg10;
31296 }
31297 return NULL;
31298}
31299
31300
c32bde28 31301static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31302 PyObject *resultobj;
31303 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31304 wxString *arg2 = 0 ;
31305 bool result;
ae8162c8 31306 bool temp2 = false ;
d14a1e28
RD
31307 PyObject * obj0 = 0 ;
31308 PyObject * obj1 = 0 ;
31309 char *kwnames[] = {
31310 (char *) "self",(char *) "path", NULL
31311 };
31312
31313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31315 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31316 {
31317 arg2 = wxString_in_helper(obj1);
31318 if (arg2 == NULL) SWIG_fail;
ae8162c8 31319 temp2 = true;
d14a1e28
RD
31320 }
31321 {
31322 PyThreadState* __tstate = wxPyBeginAllowThreads();
31323 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31324
31325 wxPyEndAllowThreads(__tstate);
31326 if (PyErr_Occurred()) SWIG_fail;
31327 }
4f89f6a3
RD
31328 {
31329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31330 }
d14a1e28
RD
31331 {
31332 if (temp2)
31333 delete arg2;
31334 }
31335 return resultobj;
31336 fail:
31337 {
31338 if (temp2)
31339 delete arg2;
31340 }
31341 return NULL;
31342}
31343
31344
c32bde28 31345static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31346 PyObject *resultobj;
31347 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31348 wxString result;
31349 PyObject * obj0 = 0 ;
31350 char *kwnames[] = {
31351 (char *) "self", NULL
31352 };
31353
31354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31356 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31357 {
31358 PyThreadState* __tstate = wxPyBeginAllowThreads();
31359 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31360
31361 wxPyEndAllowThreads(__tstate);
31362 if (PyErr_Occurred()) SWIG_fail;
31363 }
31364 {
31365#if wxUSE_UNICODE
31366 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31367#else
31368 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31369#endif
31370 }
31371 return resultobj;
31372 fail:
31373 return NULL;
31374}
31375
31376
c32bde28 31377static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31378 PyObject *resultobj;
31379 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31380 wxString *arg2 = 0 ;
ae8162c8 31381 bool temp2 = false ;
d14a1e28
RD
31382 PyObject * obj0 = 0 ;
31383 PyObject * obj1 = 0 ;
31384 char *kwnames[] = {
31385 (char *) "self",(char *) "path", NULL
31386 };
31387
31388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31390 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31391 {
31392 arg2 = wxString_in_helper(obj1);
31393 if (arg2 == NULL) SWIG_fail;
ae8162c8 31394 temp2 = true;
d14a1e28
RD
31395 }
31396 {
31397 PyThreadState* __tstate = wxPyBeginAllowThreads();
31398 (arg1)->SetDefaultPath((wxString const &)*arg2);
31399
31400 wxPyEndAllowThreads(__tstate);
31401 if (PyErr_Occurred()) SWIG_fail;
31402 }
31403 Py_INCREF(Py_None); resultobj = Py_None;
31404 {
31405 if (temp2)
31406 delete arg2;
31407 }
31408 return resultobj;
31409 fail:
31410 {
31411 if (temp2)
31412 delete arg2;
31413 }
31414 return NULL;
31415}
31416
31417
c32bde28 31418static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31419 PyObject *resultobj;
31420 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31421 wxString result;
31422 PyObject * obj0 = 0 ;
31423 char *kwnames[] = {
31424 (char *) "self", NULL
31425 };
31426
31427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31429 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31430 {
31431 PyThreadState* __tstate = wxPyBeginAllowThreads();
31432 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31433
31434 wxPyEndAllowThreads(__tstate);
31435 if (PyErr_Occurred()) SWIG_fail;
31436 }
31437 {
31438#if wxUSE_UNICODE
31439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31440#else
31441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31442#endif
31443 }
31444 return resultobj;
31445 fail:
31446 return NULL;
31447}
31448
31449
c32bde28 31450static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31451 PyObject *resultobj;
31452 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31453 wxString result;
31454 PyObject * obj0 = 0 ;
31455 char *kwnames[] = {
31456 (char *) "self", NULL
31457 };
31458
31459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
093d3ff1
RD
31460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31461 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31462 {
31463 PyThreadState* __tstate = wxPyBeginAllowThreads();
31464 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31465
31466 wxPyEndAllowThreads(__tstate);
31467 if (PyErr_Occurred()) SWIG_fail;
31468 }
31469 {
31470#if wxUSE_UNICODE
31471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31472#else
31473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31474#endif
31475 }
31476 return resultobj;
31477 fail:
31478 return NULL;
31479}
31480
31481
c32bde28 31482static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31483 PyObject *resultobj;
31484 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31485 wxString *arg2 = 0 ;
ae8162c8 31486 bool temp2 = false ;
d14a1e28
RD
31487 PyObject * obj0 = 0 ;
31488 PyObject * obj1 = 0 ;
31489 char *kwnames[] = {
31490 (char *) "self",(char *) "path", NULL
31491 };
31492
31493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31495 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31496 {
31497 arg2 = wxString_in_helper(obj1);
31498 if (arg2 == NULL) SWIG_fail;
ae8162c8 31499 temp2 = true;
d14a1e28
RD
31500 }
31501 {
31502 PyThreadState* __tstate = wxPyBeginAllowThreads();
31503 (arg1)->SetPath((wxString const &)*arg2);
31504
31505 wxPyEndAllowThreads(__tstate);
31506 if (PyErr_Occurred()) SWIG_fail;
31507 }
31508 Py_INCREF(Py_None); resultobj = Py_None;
31509 {
31510 if (temp2)
31511 delete arg2;
31512 }
31513 return resultobj;
31514 fail:
31515 {
31516 if (temp2)
31517 delete arg2;
31518 }
31519 return NULL;
31520}
31521
31522
c32bde28 31523static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31524 PyObject *resultobj;
31525 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31526 bool arg2 ;
31527 PyObject * obj0 = 0 ;
31528 PyObject * obj1 = 0 ;
31529 char *kwnames[] = {
31530 (char *) "self",(char *) "show", NULL
31531 };
31532
31533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31535 if (SWIG_arg_fail(1)) SWIG_fail;
31536 {
31537 arg2 = (bool)(SWIG_As_bool(obj1));
31538 if (SWIG_arg_fail(2)) SWIG_fail;
31539 }
d14a1e28
RD
31540 {
31541 PyThreadState* __tstate = wxPyBeginAllowThreads();
31542 (arg1)->ShowHidden(arg2);
31543
31544 wxPyEndAllowThreads(__tstate);
31545 if (PyErr_Occurred()) SWIG_fail;
31546 }
31547 Py_INCREF(Py_None); resultobj = Py_None;
31548 return resultobj;
31549 fail:
31550 return NULL;
31551}
31552
31553
c32bde28 31554static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31555 PyObject *resultobj;
31556 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31557 bool result;
31558 PyObject * obj0 = 0 ;
31559 char *kwnames[] = {
31560 (char *) "self", NULL
31561 };
31562
31563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
093d3ff1
RD
31564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31565 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31566 {
31567 PyThreadState* __tstate = wxPyBeginAllowThreads();
31568 result = (bool)(arg1)->GetShowHidden();
31569
31570 wxPyEndAllowThreads(__tstate);
31571 if (PyErr_Occurred()) SWIG_fail;
31572 }
4f89f6a3
RD
31573 {
31574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31575 }
d14a1e28
RD
31576 return resultobj;
31577 fail:
31578 return NULL;
31579}
31580
31581
c32bde28 31582static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31583 PyObject *resultobj;
31584 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31585 wxString result;
31586 PyObject * obj0 = 0 ;
31587 char *kwnames[] = {
31588 (char *) "self", NULL
31589 };
31590
31591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
093d3ff1
RD
31592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31593 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31594 {
31595 PyThreadState* __tstate = wxPyBeginAllowThreads();
31596 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31597
31598 wxPyEndAllowThreads(__tstate);
31599 if (PyErr_Occurred()) SWIG_fail;
31600 }
31601 {
31602#if wxUSE_UNICODE
31603 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31604#else
31605 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31606#endif
31607 }
31608 return resultobj;
31609 fail:
31610 return NULL;
31611}
31612
31613
c32bde28 31614static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31615 PyObject *resultobj;
31616 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31617 wxString *arg2 = 0 ;
ae8162c8 31618 bool temp2 = false ;
d14a1e28
RD
31619 PyObject * obj0 = 0 ;
31620 PyObject * obj1 = 0 ;
31621 char *kwnames[] = {
31622 (char *) "self",(char *) "filter", NULL
31623 };
31624
31625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31627 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31628 {
31629 arg2 = wxString_in_helper(obj1);
31630 if (arg2 == NULL) SWIG_fail;
ae8162c8 31631 temp2 = true;
d14a1e28
RD
31632 }
31633 {
31634 PyThreadState* __tstate = wxPyBeginAllowThreads();
31635 (arg1)->SetFilter((wxString const &)*arg2);
31636
31637 wxPyEndAllowThreads(__tstate);
31638 if (PyErr_Occurred()) SWIG_fail;
31639 }
31640 Py_INCREF(Py_None); resultobj = Py_None;
31641 {
31642 if (temp2)
31643 delete arg2;
31644 }
31645 return resultobj;
31646 fail:
31647 {
31648 if (temp2)
31649 delete arg2;
31650 }
31651 return NULL;
31652}
31653
31654
c32bde28 31655static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31656 PyObject *resultobj;
31657 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31658 int result;
31659 PyObject * obj0 = 0 ;
31660 char *kwnames[] = {
31661 (char *) "self", NULL
31662 };
31663
31664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
31665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31666 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31667 {
31668 PyThreadState* __tstate = wxPyBeginAllowThreads();
31669 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31670
31671 wxPyEndAllowThreads(__tstate);
31672 if (PyErr_Occurred()) SWIG_fail;
31673 }
093d3ff1
RD
31674 {
31675 resultobj = SWIG_From_int((int)(result));
31676 }
d14a1e28
RD
31677 return resultobj;
31678 fail:
31679 return NULL;
31680}
31681
31682
c32bde28 31683static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31684 PyObject *resultobj;
31685 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31686 int arg2 ;
31687 PyObject * obj0 = 0 ;
994141e6 31688 PyObject * obj1 = 0 ;
d14a1e28
RD
31689 char *kwnames[] = {
31690 (char *) "self",(char *) "n", NULL
31691 };
31692
994141e6 31693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31695 if (SWIG_arg_fail(1)) SWIG_fail;
31696 {
31697 arg2 = (int)(SWIG_As_int(obj1));
31698 if (SWIG_arg_fail(2)) SWIG_fail;
31699 }
d14a1e28
RD
31700 {
31701 PyThreadState* __tstate = wxPyBeginAllowThreads();
31702 (arg1)->SetFilterIndex(arg2);
31703
31704 wxPyEndAllowThreads(__tstate);
31705 if (PyErr_Occurred()) SWIG_fail;
31706 }
31707 Py_INCREF(Py_None); resultobj = Py_None;
31708 return resultobj;
31709 fail:
31710 return NULL;
31711}
31712
31713
c32bde28 31714static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31715 PyObject *resultobj;
31716 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31717 wxTreeItemId result;
31718 PyObject * obj0 = 0 ;
31719 char *kwnames[] = {
31720 (char *) "self", NULL
31721 };
31722
31723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
093d3ff1
RD
31724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31725 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31726 {
31727 PyThreadState* __tstate = wxPyBeginAllowThreads();
31728 result = (arg1)->GetRootId();
31729
31730 wxPyEndAllowThreads(__tstate);
31731 if (PyErr_Occurred()) SWIG_fail;
31732 }
31733 {
31734 wxTreeItemId * resultptr;
093d3ff1 31735 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 31736 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
31737 }
31738 return resultobj;
31739 fail:
31740 return NULL;
31741}
31742
31743
c32bde28 31744static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31745 PyObject *resultobj;
31746 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
b2dc1044 31747 wxPyTreeCtrl *result;
d14a1e28
RD
31748 PyObject * obj0 = 0 ;
31749 char *kwnames[] = {
31750 (char *) "self", NULL
31751 };
31752
31753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
31754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31755 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31756 {
31757 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 31758 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
d14a1e28
RD
31759
31760 wxPyEndAllowThreads(__tstate);
31761 if (PyErr_Occurred()) SWIG_fail;
31762 }
31763 {
412d302d 31764 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31765 }
31766 return resultobj;
31767 fail:
31768 return NULL;
31769}
31770
31771
c32bde28 31772static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31773 PyObject *resultobj;
31774 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31775 wxDirFilterListCtrl *result;
31776 PyObject * obj0 = 0 ;
31777 char *kwnames[] = {
31778 (char *) "self", NULL
31779 };
31780
31781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
31782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31783 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31784 {
31785 PyThreadState* __tstate = wxPyBeginAllowThreads();
31786 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31787
31788 wxPyEndAllowThreads(__tstate);
31789 if (PyErr_Occurred()) SWIG_fail;
31790 }
15afbcd0 31791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
d14a1e28
RD
31792 return resultobj;
31793 fail:
31794 return NULL;
31795}
31796
31797
c32bde28 31798static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31799 PyObject *resultobj;
31800 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31801 wxTreeItemId arg2 ;
31802 wxString *arg3 = 0 ;
31803 bool *arg4 = 0 ;
31804 wxTreeItemId result;
ae8162c8 31805 bool temp3 = false ;
d14a1e28 31806 bool temp4 ;
c32bde28 31807 int res4 = 0 ;
d14a1e28
RD
31808 PyObject * obj0 = 0 ;
31809 PyObject * obj1 = 0 ;
31810 PyObject * obj2 = 0 ;
31811 char *kwnames[] = {
31812 (char *) "self",(char *) "parentId",(char *) "path", NULL
31813 };
31814
c32bde28 31815 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 31816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31818 if (SWIG_arg_fail(1)) SWIG_fail;
31819 {
31820 wxTreeItemId * argp;
31821 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31822 if (SWIG_arg_fail(2)) SWIG_fail;
31823 if (argp == NULL) {
31824 SWIG_null_ref("wxTreeItemId");
31825 }
31826 if (SWIG_arg_fail(2)) SWIG_fail;
31827 arg2 = *argp;
31828 }
d14a1e28
RD
31829 {
31830 arg3 = wxString_in_helper(obj2);
31831 if (arg3 == NULL) SWIG_fail;
ae8162c8 31832 temp3 = true;
d14a1e28
RD
31833 }
31834 {
31835 PyThreadState* __tstate = wxPyBeginAllowThreads();
31836 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31837
31838 wxPyEndAllowThreads(__tstate);
31839 if (PyErr_Occurred()) SWIG_fail;
31840 }
31841 {
31842 wxTreeItemId * resultptr;
093d3ff1 31843 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
15afbcd0 31844 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28 31845 }
c32bde28
RD
31846 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31847 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d14a1e28
RD
31848 {
31849 if (temp3)
31850 delete arg3;
31851 }
31852 return resultobj;
31853 fail:
31854 {
31855 if (temp3)
31856 delete arg3;
31857 }
31858 return NULL;
31859}
31860
31861
c32bde28 31862static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31863 PyObject *resultobj;
31864 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31865 PyObject * obj0 = 0 ;
31866 char *kwnames[] = {
31867 (char *) "self", NULL
31868 };
31869
31870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
093d3ff1
RD
31871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31872 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31873 {
31874 PyThreadState* __tstate = wxPyBeginAllowThreads();
31875 (arg1)->DoResize();
31876
31877 wxPyEndAllowThreads(__tstate);
31878 if (PyErr_Occurred()) SWIG_fail;
31879 }
31880 Py_INCREF(Py_None); resultobj = Py_None;
31881 return resultobj;
31882 fail:
31883 return NULL;
31884}
31885
31886
c32bde28 31887static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31888 PyObject *resultobj;
31889 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31890 PyObject * obj0 = 0 ;
31891 char *kwnames[] = {
31892 (char *) "self", NULL
31893 };
31894
31895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
093d3ff1
RD
31896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31897 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31898 {
31899 PyThreadState* __tstate = wxPyBeginAllowThreads();
31900 (arg1)->ReCreateTree();
31901
31902 wxPyEndAllowThreads(__tstate);
31903 if (PyErr_Occurred()) SWIG_fail;
31904 }
31905 Py_INCREF(Py_None); resultobj = Py_None;
31906 return resultobj;
31907 fail:
31908 return NULL;
31909}
31910
31911
c32bde28 31912static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
31913 PyObject *obj;
31914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31915 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31916 Py_INCREF(obj);
31917 return Py_BuildValue((char *)"");
31918}
c32bde28 31919static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31920 PyObject *resultobj;
31921 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
e811c8ce 31922 int arg2 = (int) (int)-1 ;
d14a1e28
RD
31923 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31924 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31925 wxSize const &arg4_defvalue = wxDefaultSize ;
31926 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31927 long arg5 = (long) 0 ;
31928 wxDirFilterListCtrl *result;
31929 wxPoint temp3 ;
31930 wxSize temp4 ;
31931 PyObject * obj0 = 0 ;
994141e6 31932 PyObject * obj1 = 0 ;
d14a1e28
RD
31933 PyObject * obj2 = 0 ;
31934 PyObject * obj3 = 0 ;
994141e6 31935 PyObject * obj4 = 0 ;
d14a1e28
RD
31936 char *kwnames[] = {
31937 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31938 };
31939
994141e6 31940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
31941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31942 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 31943 if (obj1) {
093d3ff1
RD
31944 {
31945 arg2 = (int const)(SWIG_As_int(obj1));
31946 if (SWIG_arg_fail(2)) SWIG_fail;
31947 }
994141e6 31948 }
d14a1e28
RD
31949 if (obj2) {
31950 {
31951 arg3 = &temp3;
31952 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31953 }
31954 }
31955 if (obj3) {
31956 {
31957 arg4 = &temp4;
31958 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31959 }
31960 }
994141e6 31961 if (obj4) {
093d3ff1
RD
31962 {
31963 arg5 = (long)(SWIG_As_long(obj4));
31964 if (SWIG_arg_fail(5)) SWIG_fail;
31965 }
994141e6 31966 }
d14a1e28 31967 {
e3b71cb8 31968 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31969 PyThreadState* __tstate = wxPyBeginAllowThreads();
31970 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31971
31972 wxPyEndAllowThreads(__tstate);
110da5b0 31973 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31974 }
15afbcd0 31975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
31976 return resultobj;
31977 fail:
31978 return NULL;
31979}
31980
31981
c32bde28 31982static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31983 PyObject *resultobj;
31984 wxDirFilterListCtrl *result;
31985 char *kwnames[] = {
31986 NULL
31987 };
31988
31989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31990 {
e3b71cb8 31991 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31992 PyThreadState* __tstate = wxPyBeginAllowThreads();
31993 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31994
31995 wxPyEndAllowThreads(__tstate);
110da5b0 31996 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31997 }
15afbcd0 31998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
31999 return resultobj;
32000 fail:
32001 return NULL;
32002}
32003
32004
c32bde28 32005static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32006 PyObject *resultobj;
32007 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32008 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
e811c8ce 32009 int arg3 = (int) (int)-1 ;
d14a1e28
RD
32010 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32011 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32012 wxSize const &arg5_defvalue = wxDefaultSize ;
32013 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32014 long arg6 = (long) 0 ;
32015 bool result;
32016 wxPoint temp4 ;
32017 wxSize temp5 ;
32018 PyObject * obj0 = 0 ;
32019 PyObject * obj1 = 0 ;
994141e6 32020 PyObject * obj2 = 0 ;
d14a1e28
RD
32021 PyObject * obj3 = 0 ;
32022 PyObject * obj4 = 0 ;
994141e6 32023 PyObject * obj5 = 0 ;
d14a1e28
RD
32024 char *kwnames[] = {
32025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32026 };
32027
994141e6 32028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
32029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32030 if (SWIG_arg_fail(1)) SWIG_fail;
32031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32032 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 32033 if (obj2) {
093d3ff1
RD
32034 {
32035 arg3 = (int const)(SWIG_As_int(obj2));
32036 if (SWIG_arg_fail(3)) SWIG_fail;
32037 }
994141e6 32038 }
d14a1e28
RD
32039 if (obj3) {
32040 {
32041 arg4 = &temp4;
32042 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32043 }
32044 }
32045 if (obj4) {
32046 {
32047 arg5 = &temp5;
32048 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32049 }
32050 }
994141e6 32051 if (obj5) {
093d3ff1
RD
32052 {
32053 arg6 = (long)(SWIG_As_long(obj5));
32054 if (SWIG_arg_fail(6)) SWIG_fail;
32055 }
994141e6 32056 }
d14a1e28
RD
32057 {
32058 PyThreadState* __tstate = wxPyBeginAllowThreads();
32059 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32060
32061 wxPyEndAllowThreads(__tstate);
32062 if (PyErr_Occurred()) SWIG_fail;
32063 }
4f89f6a3
RD
32064 {
32065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32066 }
d14a1e28
RD
32067 return resultobj;
32068 fail:
32069 return NULL;
32070}
32071
32072
c32bde28 32073static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32074 PyObject *resultobj;
32075 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32076 wxString *arg2 = 0 ;
32077 int arg3 ;
ae8162c8 32078 bool temp2 = false ;
d14a1e28
RD
32079 PyObject * obj0 = 0 ;
32080 PyObject * obj1 = 0 ;
994141e6 32081 PyObject * obj2 = 0 ;
d14a1e28
RD
32082 char *kwnames[] = {
32083 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32084 };
32085
994141e6 32086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32088 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32089 {
32090 arg2 = wxString_in_helper(obj1);
32091 if (arg2 == NULL) SWIG_fail;
ae8162c8 32092 temp2 = true;
d14a1e28 32093 }
093d3ff1
RD
32094 {
32095 arg3 = (int)(SWIG_As_int(obj2));
32096 if (SWIG_arg_fail(3)) SWIG_fail;
32097 }
d14a1e28
RD
32098 {
32099 PyThreadState* __tstate = wxPyBeginAllowThreads();
32100 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32101
32102 wxPyEndAllowThreads(__tstate);
32103 if (PyErr_Occurred()) SWIG_fail;
32104 }
32105 Py_INCREF(Py_None); resultobj = Py_None;
32106 {
32107 if (temp2)
32108 delete arg2;
32109 }
32110 return resultobj;
32111 fail:
32112 {
32113 if (temp2)
32114 delete arg2;
32115 }
32116 return NULL;
32117}
32118
32119
c32bde28 32120static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32121 PyObject *obj;
32122 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32123 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32124 Py_INCREF(obj);
32125 return Py_BuildValue((char *)"");
32126}
c32bde28 32127static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32128 PyObject *resultobj;
32129 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 32130 int arg2 = (int) (int)-1 ;
d14a1e28
RD
32131 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32132 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32133 wxSize const &arg4_defvalue = wxDefaultSize ;
32134 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32135 long arg5 = (long) 0 ;
32136 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32137 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32138 wxString const &arg7_defvalue = wxPyControlNameStr ;
32139 wxString *arg7 = (wxString *) &arg7_defvalue ;
32140 wxPyControl *result;
32141 wxPoint temp3 ;
32142 wxSize temp4 ;
ae8162c8 32143 bool temp7 = false ;
d14a1e28 32144 PyObject * obj0 = 0 ;
994141e6 32145 PyObject * obj1 = 0 ;
d14a1e28
RD
32146 PyObject * obj2 = 0 ;
32147 PyObject * obj3 = 0 ;
994141e6 32148 PyObject * obj4 = 0 ;
d14a1e28
RD
32149 PyObject * obj5 = 0 ;
32150 PyObject * obj6 = 0 ;
32151 char *kwnames[] = {
32152 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32153 };
32154
248ed943 32155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
32156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32157 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 32158 if (obj1) {
093d3ff1
RD
32159 {
32160 arg2 = (int const)(SWIG_As_int(obj1));
32161 if (SWIG_arg_fail(2)) SWIG_fail;
32162 }
248ed943 32163 }
d14a1e28
RD
32164 if (obj2) {
32165 {
32166 arg3 = &temp3;
32167 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32168 }
32169 }
32170 if (obj3) {
32171 {
32172 arg4 = &temp4;
32173 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32174 }
32175 }
994141e6 32176 if (obj4) {
093d3ff1
RD
32177 {
32178 arg5 = (long)(SWIG_As_long(obj4));
32179 if (SWIG_arg_fail(5)) SWIG_fail;
32180 }
994141e6 32181 }
d14a1e28 32182 if (obj5) {
093d3ff1
RD
32183 {
32184 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32185 if (SWIG_arg_fail(6)) SWIG_fail;
32186 if (arg6 == NULL) {
32187 SWIG_null_ref("wxValidator");
32188 }
32189 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
32190 }
32191 }
32192 if (obj6) {
32193 {
32194 arg7 = wxString_in_helper(obj6);
32195 if (arg7 == NULL) SWIG_fail;
ae8162c8 32196 temp7 = true;
d14a1e28
RD
32197 }
32198 }
32199 {
e3b71cb8 32200 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
32201 PyThreadState* __tstate = wxPyBeginAllowThreads();
32202 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32203
32204 wxPyEndAllowThreads(__tstate);
110da5b0 32205 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 32206 }
15afbcd0 32207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
d14a1e28
RD
32208 {
32209 if (temp7)
32210 delete arg7;
32211 }
32212 return resultobj;
32213 fail:
32214 {
32215 if (temp7)
32216 delete arg7;
32217 }
32218 return NULL;
32219}
32220
32221
c32bde28 32222static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
32223 PyObject *resultobj;
32224 wxPyControl *result;
32225 char *kwnames[] = {
32226 NULL
32227 };
32228
32229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32230 {
e3b71cb8 32231 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
32232 PyThreadState* __tstate = wxPyBeginAllowThreads();
32233 result = (wxPyControl *)new wxPyControl();
32234
32235 wxPyEndAllowThreads(__tstate);
110da5b0 32236 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
32237 }
32238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32239 return resultobj;
32240 fail:
32241 return NULL;
32242}
32243
32244
c32bde28 32245static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32246 PyObject *resultobj;
32247 wxPyControl *arg1 = (wxPyControl *) 0 ;
32248 PyObject *arg2 = (PyObject *) 0 ;
32249 PyObject *arg3 = (PyObject *) 0 ;
32250 PyObject * obj0 = 0 ;
32251 PyObject * obj1 = 0 ;
32252 PyObject * obj2 = 0 ;
32253 char *kwnames[] = {
32254 (char *) "self",(char *) "self",(char *) "_class", NULL
32255 };
32256
32257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32259 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32260 arg2 = obj1;
32261 arg3 = obj2;
32262 {
32263 PyThreadState* __tstate = wxPyBeginAllowThreads();
32264 (arg1)->_setCallbackInfo(arg2,arg3);
32265
32266 wxPyEndAllowThreads(__tstate);
32267 if (PyErr_Occurred()) SWIG_fail;
32268 }
32269 Py_INCREF(Py_None); resultobj = Py_None;
32270 return resultobj;
32271 fail:
32272 return NULL;
32273}
32274
32275
c32bde28 32276static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
32277 PyObject *resultobj;
32278 wxPyControl *arg1 = (wxPyControl *) 0 ;
32279 wxSize *arg2 = 0 ;
32280 wxSize temp2 ;
32281 PyObject * obj0 = 0 ;
32282 PyObject * obj1 = 0 ;
32283 char *kwnames[] = {
32284 (char *) "self",(char *) "size", NULL
32285 };
32286
32287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32289 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
32290 {
32291 arg2 = &temp2;
32292 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32293 }
32294 {
32295 PyThreadState* __tstate = wxPyBeginAllowThreads();
32296 (arg1)->SetBestSize((wxSize const &)*arg2);
32297
32298 wxPyEndAllowThreads(__tstate);
32299 if (PyErr_Occurred()) SWIG_fail;
32300 }
32301 Py_INCREF(Py_None); resultobj = Py_None;
32302 return resultobj;
32303 fail:
32304 return NULL;
32305}
32306
32307
c32bde28 32308static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32309 PyObject *resultobj;
32310 wxPyControl *arg1 = (wxPyControl *) 0 ;
32311 int arg2 ;
32312 int arg3 ;
32313 int arg4 ;
32314 int arg5 ;
32315 PyObject * obj0 = 0 ;
994141e6
RD
32316 PyObject * obj1 = 0 ;
32317 PyObject * obj2 = 0 ;
32318 PyObject * obj3 = 0 ;
32319 PyObject * obj4 = 0 ;
d14a1e28
RD
32320 char *kwnames[] = {
32321 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32322 };
32323
994141e6 32324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
32325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32326 if (SWIG_arg_fail(1)) SWIG_fail;
32327 {
32328 arg2 = (int)(SWIG_As_int(obj1));
32329 if (SWIG_arg_fail(2)) SWIG_fail;
32330 }
32331 {
32332 arg3 = (int)(SWIG_As_int(obj2));
32333 if (SWIG_arg_fail(3)) SWIG_fail;
32334 }
32335 {
32336 arg4 = (int)(SWIG_As_int(obj3));
32337 if (SWIG_arg_fail(4)) SWIG_fail;
32338 }
32339 {
32340 arg5 = (int)(SWIG_As_int(obj4));
32341 if (SWIG_arg_fail(5)) SWIG_fail;
32342 }
d14a1e28
RD
32343 {
32344 PyThreadState* __tstate = wxPyBeginAllowThreads();
32345 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32346
32347 wxPyEndAllowThreads(__tstate);
32348 if (PyErr_Occurred()) SWIG_fail;
32349 }
32350 Py_INCREF(Py_None); resultobj = Py_None;
32351 return resultobj;
32352 fail:
32353 return NULL;
32354}
32355
32356
c32bde28 32357static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32358 PyObject *resultobj;
32359 wxPyControl *arg1 = (wxPyControl *) 0 ;
32360 int arg2 ;
32361 int arg3 ;
32362 int arg4 ;
32363 int arg5 ;
32364 int arg6 = (int) wxSIZE_AUTO ;
32365 PyObject * obj0 = 0 ;
994141e6
RD
32366 PyObject * obj1 = 0 ;
32367 PyObject * obj2 = 0 ;
32368 PyObject * obj3 = 0 ;
32369 PyObject * obj4 = 0 ;
32370 PyObject * obj5 = 0 ;
d14a1e28
RD
32371 char *kwnames[] = {
32372 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32373 };
32374
994141e6 32375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
32376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32377 if (SWIG_arg_fail(1)) SWIG_fail;
32378 {
32379 arg2 = (int)(SWIG_As_int(obj1));
32380 if (SWIG_arg_fail(2)) SWIG_fail;
32381 }
32382 {
32383 arg3 = (int)(SWIG_As_int(obj2));
32384 if (SWIG_arg_fail(3)) SWIG_fail;
32385 }
32386 {
32387 arg4 = (int)(SWIG_As_int(obj3));
32388 if (SWIG_arg_fail(4)) SWIG_fail;
32389 }
32390 {
32391 arg5 = (int)(SWIG_As_int(obj4));
32392 if (SWIG_arg_fail(5)) SWIG_fail;
32393 }
994141e6 32394 if (obj5) {
093d3ff1
RD
32395 {
32396 arg6 = (int)(SWIG_As_int(obj5));
32397 if (SWIG_arg_fail(6)) SWIG_fail;
32398 }
994141e6 32399 }
d14a1e28
RD
32400 {
32401 PyThreadState* __tstate = wxPyBeginAllowThreads();
32402 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32403
32404 wxPyEndAllowThreads(__tstate);
32405 if (PyErr_Occurred()) SWIG_fail;
32406 }
32407 Py_INCREF(Py_None); resultobj = Py_None;
32408 return resultobj;
32409 fail:
32410 return NULL;
32411}
32412
32413
c32bde28 32414static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32415 PyObject *resultobj;
32416 wxPyControl *arg1 = (wxPyControl *) 0 ;
32417 int arg2 ;
32418 int arg3 ;
32419 PyObject * obj0 = 0 ;
994141e6
RD
32420 PyObject * obj1 = 0 ;
32421 PyObject * obj2 = 0 ;
d14a1e28
RD
32422 char *kwnames[] = {
32423 (char *) "self",(char *) "width",(char *) "height", NULL
32424 };
32425
994141e6 32426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32428 if (SWIG_arg_fail(1)) SWIG_fail;
32429 {
32430 arg2 = (int)(SWIG_As_int(obj1));
32431 if (SWIG_arg_fail(2)) SWIG_fail;
32432 }
32433 {
32434 arg3 = (int)(SWIG_As_int(obj2));
32435 if (SWIG_arg_fail(3)) SWIG_fail;
32436 }
d14a1e28
RD
32437 {
32438 PyThreadState* __tstate = wxPyBeginAllowThreads();
32439 (arg1)->base_DoSetClientSize(arg2,arg3);
32440
32441 wxPyEndAllowThreads(__tstate);
32442 if (PyErr_Occurred()) SWIG_fail;
32443 }
32444 Py_INCREF(Py_None); resultobj = Py_None;
32445 return resultobj;
32446 fail:
32447 return NULL;
32448}
32449
32450
c32bde28 32451static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32452 PyObject *resultobj;
32453 wxPyControl *arg1 = (wxPyControl *) 0 ;
32454 int arg2 ;
32455 int arg3 ;
32456 PyObject * obj0 = 0 ;
994141e6
RD
32457 PyObject * obj1 = 0 ;
32458 PyObject * obj2 = 0 ;
d14a1e28
RD
32459 char *kwnames[] = {
32460 (char *) "self",(char *) "x",(char *) "y", NULL
32461 };
32462
994141e6 32463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32465 if (SWIG_arg_fail(1)) SWIG_fail;
32466 {
32467 arg2 = (int)(SWIG_As_int(obj1));
32468 if (SWIG_arg_fail(2)) SWIG_fail;
32469 }
32470 {
32471 arg3 = (int)(SWIG_As_int(obj2));
32472 if (SWIG_arg_fail(3)) SWIG_fail;
32473 }
d14a1e28
RD
32474 {
32475 PyThreadState* __tstate = wxPyBeginAllowThreads();
32476 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32477
32478 wxPyEndAllowThreads(__tstate);
32479 if (PyErr_Occurred()) SWIG_fail;
32480 }
32481 Py_INCREF(Py_None); resultobj = Py_None;
32482 return resultobj;
32483 fail:
32484 return NULL;
32485}
32486
32487
c32bde28 32488static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32489 PyObject *resultobj;
32490 wxPyControl *arg1 = (wxPyControl *) 0 ;
32491 int *arg2 = (int *) 0 ;
32492 int *arg3 = (int *) 0 ;
32493 int temp2 ;
c32bde28 32494 int res2 = 0 ;
d14a1e28 32495 int temp3 ;
c32bde28 32496 int res3 = 0 ;
d14a1e28
RD
32497 PyObject * obj0 = 0 ;
32498 char *kwnames[] = {
32499 (char *) "self", NULL
32500 };
32501
c32bde28
RD
32502 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32503 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 32504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32506 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32507 {
32508 PyThreadState* __tstate = wxPyBeginAllowThreads();
32509 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32510
32511 wxPyEndAllowThreads(__tstate);
32512 if (PyErr_Occurred()) SWIG_fail;
32513 }
32514 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32515 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32516 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32517 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32518 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
32519 return resultobj;
32520 fail:
32521 return NULL;
32522}
32523
32524
c32bde28 32525static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32526 PyObject *resultobj;
32527 wxPyControl *arg1 = (wxPyControl *) 0 ;
32528 int *arg2 = (int *) 0 ;
32529 int *arg3 = (int *) 0 ;
32530 int temp2 ;
c32bde28 32531 int res2 = 0 ;
d14a1e28 32532 int temp3 ;
c32bde28 32533 int res3 = 0 ;
d14a1e28
RD
32534 PyObject * obj0 = 0 ;
32535 char *kwnames[] = {
32536 (char *) "self", NULL
32537 };
32538
c32bde28
RD
32539 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32540 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 32541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32543 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32544 {
32545 PyThreadState* __tstate = wxPyBeginAllowThreads();
32546 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32547
32548 wxPyEndAllowThreads(__tstate);
32549 if (PyErr_Occurred()) SWIG_fail;
32550 }
32551 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32552 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32553 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32554 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32555 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
32556 return resultobj;
32557 fail:
32558 return NULL;
32559}
32560
32561
c32bde28 32562static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32563 PyObject *resultobj;
32564 wxPyControl *arg1 = (wxPyControl *) 0 ;
32565 int *arg2 = (int *) 0 ;
32566 int *arg3 = (int *) 0 ;
32567 int temp2 ;
c32bde28 32568 int res2 = 0 ;
d14a1e28 32569 int temp3 ;
c32bde28 32570 int res3 = 0 ;
d14a1e28
RD
32571 PyObject * obj0 = 0 ;
32572 char *kwnames[] = {
32573 (char *) "self", NULL
32574 };
32575
c32bde28
RD
32576 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32577 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 32578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
32579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32580 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32581 {
32582 PyThreadState* __tstate = wxPyBeginAllowThreads();
32583 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32584
32585 wxPyEndAllowThreads(__tstate);
32586 if (PyErr_Occurred()) SWIG_fail;
32587 }
32588 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
32589 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32590 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32591 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32592 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
32593 return resultobj;
32594 fail:
32595 return NULL;
32596}
32597
32598
c32bde28 32599static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32600 PyObject *resultobj;
32601 wxPyControl *arg1 = (wxPyControl *) 0 ;
32602 wxSize result;
32603 PyObject * obj0 = 0 ;
32604 char *kwnames[] = {
32605 (char *) "self", NULL
32606 };
32607
32608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32610 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32611 {
32612 PyThreadState* __tstate = wxPyBeginAllowThreads();
32613 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32614
32615 wxPyEndAllowThreads(__tstate);
32616 if (PyErr_Occurred()) SWIG_fail;
32617 }
32618 {
32619 wxSize * resultptr;
093d3ff1 32620 resultptr = new wxSize((wxSize &)(result));
15afbcd0 32621 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32622 }
32623 return resultobj;
32624 fail:
32625 return NULL;
32626}
32627
32628
c32bde28 32629static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32630 PyObject *resultobj;
32631 wxPyControl *arg1 = (wxPyControl *) 0 ;
32632 wxSize result;
32633 PyObject * obj0 = 0 ;
32634 char *kwnames[] = {
32635 (char *) "self", NULL
32636 };
32637
32638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32640 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32641 {
32642 PyThreadState* __tstate = wxPyBeginAllowThreads();
32643 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32644
32645 wxPyEndAllowThreads(__tstate);
32646 if (PyErr_Occurred()) SWIG_fail;
32647 }
32648 {
32649 wxSize * resultptr;
093d3ff1 32650 resultptr = new wxSize((wxSize &)(result));
15afbcd0 32651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32652 }
32653 return resultobj;
32654 fail:
32655 return NULL;
32656}
32657
32658
c32bde28 32659static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32660 PyObject *resultobj;
32661 wxPyControl *arg1 = (wxPyControl *) 0 ;
32662 PyObject * obj0 = 0 ;
32663 char *kwnames[] = {
32664 (char *) "self", NULL
32665 };
32666
32667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
32668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32669 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32670 {
32671 PyThreadState* __tstate = wxPyBeginAllowThreads();
32672 (arg1)->base_InitDialog();
32673
32674 wxPyEndAllowThreads(__tstate);
32675 if (PyErr_Occurred()) SWIG_fail;
32676 }
32677 Py_INCREF(Py_None); resultobj = Py_None;
32678 return resultobj;
32679 fail:
32680 return NULL;
32681}
32682
32683
c32bde28 32684static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32685 PyObject *resultobj;
32686 wxPyControl *arg1 = (wxPyControl *) 0 ;
32687 bool result;
32688 PyObject * obj0 = 0 ;
32689 char *kwnames[] = {
32690 (char *) "self", NULL
32691 };
32692
32693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32695 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32696 {
32697 PyThreadState* __tstate = wxPyBeginAllowThreads();
32698 result = (bool)(arg1)->base_TransferDataToWindow();
32699
32700 wxPyEndAllowThreads(__tstate);
32701 if (PyErr_Occurred()) SWIG_fail;
32702 }
4f89f6a3
RD
32703 {
32704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32705 }
d14a1e28
RD
32706 return resultobj;
32707 fail:
32708 return NULL;
32709}
32710
32711
c32bde28 32712static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32713 PyObject *resultobj;
32714 wxPyControl *arg1 = (wxPyControl *) 0 ;
32715 bool result;
32716 PyObject * obj0 = 0 ;
32717 char *kwnames[] = {
32718 (char *) "self", NULL
32719 };
32720
32721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32723 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32724 {
32725 PyThreadState* __tstate = wxPyBeginAllowThreads();
32726 result = (bool)(arg1)->base_TransferDataFromWindow();
32727
32728 wxPyEndAllowThreads(__tstate);
32729 if (PyErr_Occurred()) SWIG_fail;
32730 }
4f89f6a3
RD
32731 {
32732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32733 }
d14a1e28
RD
32734 return resultobj;
32735 fail:
32736 return NULL;
32737}
32738
32739
c32bde28 32740static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32741 PyObject *resultobj;
32742 wxPyControl *arg1 = (wxPyControl *) 0 ;
32743 bool result;
32744 PyObject * obj0 = 0 ;
32745 char *kwnames[] = {
32746 (char *) "self", NULL
32747 };
32748
32749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
32750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32751 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32752 {
32753 PyThreadState* __tstate = wxPyBeginAllowThreads();
32754 result = (bool)(arg1)->base_Validate();
32755
32756 wxPyEndAllowThreads(__tstate);
32757 if (PyErr_Occurred()) SWIG_fail;
32758 }
4f89f6a3
RD
32759 {
32760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32761 }
d14a1e28
RD
32762 return resultobj;
32763 fail:
32764 return NULL;
32765}
32766
32767
c32bde28 32768static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32769 PyObject *resultobj;
32770 wxPyControl *arg1 = (wxPyControl *) 0 ;
32771 bool result;
32772 PyObject * obj0 = 0 ;
32773 char *kwnames[] = {
32774 (char *) "self", NULL
32775 };
32776
32777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
32778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32779 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32780 {
32781 PyThreadState* __tstate = wxPyBeginAllowThreads();
32782 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32783
32784 wxPyEndAllowThreads(__tstate);
32785 if (PyErr_Occurred()) SWIG_fail;
32786 }
4f89f6a3
RD
32787 {
32788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32789 }
d14a1e28
RD
32790 return resultobj;
32791 fail:
32792 return NULL;
32793}
32794
32795
c32bde28 32796static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32797 PyObject *resultobj;
32798 wxPyControl *arg1 = (wxPyControl *) 0 ;
32799 bool result;
32800 PyObject * obj0 = 0 ;
32801 char *kwnames[] = {
32802 (char *) "self", NULL
32803 };
32804
32805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
32806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32807 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32808 {
32809 PyThreadState* __tstate = wxPyBeginAllowThreads();
32810 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32811
32812 wxPyEndAllowThreads(__tstate);
32813 if (PyErr_Occurred()) SWIG_fail;
32814 }
4f89f6a3
RD
32815 {
32816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32817 }
d14a1e28
RD
32818 return resultobj;
32819 fail:
32820 return NULL;
32821}
32822
32823
c32bde28 32824static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32825 PyObject *resultobj;
32826 wxPyControl *arg1 = (wxPyControl *) 0 ;
32827 wxSize result;
32828 PyObject * obj0 = 0 ;
32829 char *kwnames[] = {
32830 (char *) "self", NULL
32831 };
32832
32833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
32834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32835 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32836 {
32837 PyThreadState* __tstate = wxPyBeginAllowThreads();
32838 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32839
32840 wxPyEndAllowThreads(__tstate);
32841 if (PyErr_Occurred()) SWIG_fail;
32842 }
32843 {
32844 wxSize * resultptr;
093d3ff1 32845 resultptr = new wxSize((wxSize &)(result));
15afbcd0 32846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32847 }
32848 return resultobj;
32849 fail:
32850 return NULL;
32851}
32852
32853
c32bde28 32854static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32855 PyObject *resultobj;
32856 wxPyControl *arg1 = (wxPyControl *) 0 ;
32857 wxWindow *arg2 = (wxWindow *) 0 ;
32858 PyObject * obj0 = 0 ;
32859 PyObject * obj1 = 0 ;
32860 char *kwnames[] = {
32861 (char *) "self",(char *) "child", NULL
32862 };
32863
32864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32866 if (SWIG_arg_fail(1)) SWIG_fail;
32867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32868 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32869 {
32870 PyThreadState* __tstate = wxPyBeginAllowThreads();
32871 (arg1)->base_AddChild(arg2);
32872
32873 wxPyEndAllowThreads(__tstate);
32874 if (PyErr_Occurred()) SWIG_fail;
32875 }
32876 Py_INCREF(Py_None); resultobj = Py_None;
32877 return resultobj;
32878 fail:
32879 return NULL;
32880}
32881
32882
c32bde28 32883static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32884 PyObject *resultobj;
32885 wxPyControl *arg1 = (wxPyControl *) 0 ;
32886 wxWindow *arg2 = (wxWindow *) 0 ;
32887 PyObject * obj0 = 0 ;
32888 PyObject * obj1 = 0 ;
32889 char *kwnames[] = {
32890 (char *) "self",(char *) "child", NULL
32891 };
32892
32893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32895 if (SWIG_arg_fail(1)) SWIG_fail;
32896 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32897 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32898 {
32899 PyThreadState* __tstate = wxPyBeginAllowThreads();
32900 (arg1)->base_RemoveChild(arg2);
32901
32902 wxPyEndAllowThreads(__tstate);
32903 if (PyErr_Occurred()) SWIG_fail;
32904 }
32905 Py_INCREF(Py_None); resultobj = Py_None;
32906 return resultobj;
32907 fail:
32908 return NULL;
32909}
32910
32911
c32bde28 32912static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
32913 PyObject *resultobj;
32914 wxPyControl *arg1 = (wxPyControl *) 0 ;
32915 bool result;
32916 PyObject * obj0 = 0 ;
32917 char *kwnames[] = {
32918 (char *) "self", NULL
32919 };
32920
32921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
32922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32923 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
32924 {
32925 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 32926 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
32927
32928 wxPyEndAllowThreads(__tstate);
32929 if (PyErr_Occurred()) SWIG_fail;
32930 }
32931 {
32932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32933 }
32934 return resultobj;
32935 fail:
32936 return NULL;
32937}
32938
32939
c32bde28 32940static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
32941 PyObject *resultobj;
32942 wxPyControl *arg1 = (wxPyControl *) 0 ;
32943 wxVisualAttributes result;
32944 PyObject * obj0 = 0 ;
32945 char *kwnames[] = {
32946 (char *) "self", NULL
32947 };
32948
32949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
32950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32951 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
32952 {
32953 PyThreadState* __tstate = wxPyBeginAllowThreads();
32954 result = (arg1)->base_GetDefaultAttributes();
32955
32956 wxPyEndAllowThreads(__tstate);
32957 if (PyErr_Occurred()) SWIG_fail;
32958 }
32959 {
32960 wxVisualAttributes * resultptr;
093d3ff1 32961 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
db3e571a
RD
32962 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32963 }
32964 return resultobj;
32965 fail:
32966 return NULL;
32967}
32968
32969
c32bde28 32970static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32971 PyObject *obj;
32972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32973 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32974 Py_INCREF(obj);
32975 return Py_BuildValue((char *)"");
32976}
c32bde28 32977static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32978 PyObject *resultobj;
32979 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 32980 int arg2 = (int) 0 ;
d14a1e28
RD
32981 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32982 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32983 wxHelpEvent *result;
32984 wxPoint temp3 ;
994141e6
RD
32985 PyObject * obj0 = 0 ;
32986 PyObject * obj1 = 0 ;
d14a1e28
RD
32987 PyObject * obj2 = 0 ;
32988 char *kwnames[] = {
32989 (char *) "type",(char *) "winid",(char *) "pt", NULL
32990 };
32991
994141e6
RD
32992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
32993 if (obj0) {
093d3ff1
RD
32994 {
32995 arg1 = (wxEventType)(SWIG_As_int(obj0));
32996 if (SWIG_arg_fail(1)) SWIG_fail;
32997 }
994141e6
RD
32998 }
32999 if (obj1) {
093d3ff1
RD
33000 {
33001 arg2 = (int)(SWIG_As_int(obj1));
33002 if (SWIG_arg_fail(2)) SWIG_fail;
33003 }
994141e6 33004 }
d14a1e28
RD
33005 if (obj2) {
33006 {
33007 arg3 = &temp3;
33008 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33009 }
33010 }
33011 {
33012 PyThreadState* __tstate = wxPyBeginAllowThreads();
33013 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33014
33015 wxPyEndAllowThreads(__tstate);
33016 if (PyErr_Occurred()) SWIG_fail;
33017 }
15afbcd0 33018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
d14a1e28
RD
33019 return resultobj;
33020 fail:
33021 return NULL;
33022}
33023
33024
c32bde28 33025static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33026 PyObject *resultobj;
33027 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
15afbcd0 33028 wxPoint result;
d14a1e28
RD
33029 PyObject * obj0 = 0 ;
33030 char *kwnames[] = {
33031 (char *) "self", NULL
33032 };
33033
33034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
33035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33036 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33037 {
33038 PyThreadState* __tstate = wxPyBeginAllowThreads();
15afbcd0 33039 result = ((wxHelpEvent const *)arg1)->GetPosition();
d14a1e28
RD
33040
33041 wxPyEndAllowThreads(__tstate);
33042 if (PyErr_Occurred()) SWIG_fail;
33043 }
15afbcd0
RD
33044 {
33045 wxPoint * resultptr;
093d3ff1 33046 resultptr = new wxPoint((wxPoint const &)(result));
15afbcd0
RD
33047 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33048 }
d14a1e28
RD
33049 return resultobj;
33050 fail:
33051 return NULL;
33052}
33053
33054
c32bde28 33055static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33056 PyObject *resultobj;
33057 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33058 wxPoint *arg2 = 0 ;
33059 wxPoint temp2 ;
33060 PyObject * obj0 = 0 ;
33061 PyObject * obj1 = 0 ;
33062 char *kwnames[] = {
33063 (char *) "self",(char *) "pos", NULL
33064 };
33065
33066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33068 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33069 {
33070 arg2 = &temp2;
33071 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33072 }
33073 {
33074 PyThreadState* __tstate = wxPyBeginAllowThreads();
33075 (arg1)->SetPosition((wxPoint const &)*arg2);
33076
33077 wxPyEndAllowThreads(__tstate);
33078 if (PyErr_Occurred()) SWIG_fail;
33079 }
33080 Py_INCREF(Py_None); resultobj = Py_None;
33081 return resultobj;
33082 fail:
33083 return NULL;
33084}
33085
33086
c32bde28 33087static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33088 PyObject *resultobj;
33089 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33090 wxString *result;
33091 PyObject * obj0 = 0 ;
33092 char *kwnames[] = {
33093 (char *) "self", NULL
33094 };
33095
33096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
093d3ff1
RD
33097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33098 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33099 {
33100 PyThreadState* __tstate = wxPyBeginAllowThreads();
33101 {
33102 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33103 result = (wxString *) &_result_ref;
33104 }
33105
33106 wxPyEndAllowThreads(__tstate);
33107 if (PyErr_Occurred()) SWIG_fail;
33108 }
cc6dd355
RD
33109 {
33110#if wxUSE_UNICODE
33111 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33112#else
33113 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33114#endif
33115 }
d14a1e28
RD
33116 return resultobj;
33117 fail:
33118 return NULL;
33119}
33120
33121
c32bde28 33122static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33123 PyObject *resultobj;
33124 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33125 wxString *arg2 = 0 ;
ae8162c8 33126 bool temp2 = false ;
d14a1e28
RD
33127 PyObject * obj0 = 0 ;
33128 PyObject * obj1 = 0 ;
33129 char *kwnames[] = {
33130 (char *) "self",(char *) "link", NULL
33131 };
33132
33133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33135 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33136 {
33137 arg2 = wxString_in_helper(obj1);
33138 if (arg2 == NULL) SWIG_fail;
ae8162c8 33139 temp2 = true;
d14a1e28
RD
33140 }
33141 {
33142 PyThreadState* __tstate = wxPyBeginAllowThreads();
33143 (arg1)->SetLink((wxString const &)*arg2);
33144
33145 wxPyEndAllowThreads(__tstate);
33146 if (PyErr_Occurred()) SWIG_fail;
33147 }
33148 Py_INCREF(Py_None); resultobj = Py_None;
33149 {
33150 if (temp2)
33151 delete arg2;
33152 }
33153 return resultobj;
33154 fail:
33155 {
33156 if (temp2)
33157 delete arg2;
33158 }
33159 return NULL;
33160}
33161
33162
c32bde28 33163static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33164 PyObject *resultobj;
33165 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33166 wxString *result;
33167 PyObject * obj0 = 0 ;
33168 char *kwnames[] = {
33169 (char *) "self", NULL
33170 };
33171
33172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
33173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33174 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33175 {
33176 PyThreadState* __tstate = wxPyBeginAllowThreads();
33177 {
33178 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33179 result = (wxString *) &_result_ref;
33180 }
33181
33182 wxPyEndAllowThreads(__tstate);
33183 if (PyErr_Occurred()) SWIG_fail;
33184 }
cc6dd355
RD
33185 {
33186#if wxUSE_UNICODE
33187 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33188#else
33189 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33190#endif
33191 }
d14a1e28
RD
33192 return resultobj;
33193 fail:
33194 return NULL;
33195}
33196
33197
c32bde28 33198static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33199 PyObject *resultobj;
33200 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33201 wxString *arg2 = 0 ;
ae8162c8 33202 bool temp2 = false ;
d14a1e28
RD
33203 PyObject * obj0 = 0 ;
33204 PyObject * obj1 = 0 ;
33205 char *kwnames[] = {
33206 (char *) "self",(char *) "target", NULL
33207 };
33208
33209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33211 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33212 {
33213 arg2 = wxString_in_helper(obj1);
33214 if (arg2 == NULL) SWIG_fail;
ae8162c8 33215 temp2 = true;
d14a1e28
RD
33216 }
33217 {
33218 PyThreadState* __tstate = wxPyBeginAllowThreads();
33219 (arg1)->SetTarget((wxString const &)*arg2);
33220
33221 wxPyEndAllowThreads(__tstate);
33222 if (PyErr_Occurred()) SWIG_fail;
33223 }
33224 Py_INCREF(Py_None); resultobj = Py_None;
33225 {
33226 if (temp2)
33227 delete arg2;
33228 }
33229 return resultobj;
33230 fail:
33231 {
33232 if (temp2)
33233 delete arg2;
33234 }
33235 return NULL;
33236}
33237
33238
c32bde28 33239static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33240 PyObject *obj;
33241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33242 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33243 Py_INCREF(obj);
33244 return Py_BuildValue((char *)"");
33245}
c32bde28 33246static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33247 PyObject *resultobj;
33248 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 33249 bool arg2 = (bool) true ;
d14a1e28
RD
33250 wxContextHelp *result;
33251 PyObject * obj0 = 0 ;
33252 PyObject * obj1 = 0 ;
33253 char *kwnames[] = {
33254 (char *) "window",(char *) "doNow", NULL
33255 };
33256
33257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33258 if (obj0) {
093d3ff1
RD
33259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33260 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33261 }
33262 if (obj1) {
093d3ff1
RD
33263 {
33264 arg2 = (bool)(SWIG_As_bool(obj1));
33265 if (SWIG_arg_fail(2)) SWIG_fail;
33266 }
d14a1e28
RD
33267 }
33268 {
e3b71cb8 33269 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33270 PyThreadState* __tstate = wxPyBeginAllowThreads();
33271 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33272
33273 wxPyEndAllowThreads(__tstate);
110da5b0 33274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33275 }
15afbcd0 33276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
d14a1e28
RD
33277 return resultobj;
33278 fail:
33279 return NULL;
33280}
33281
33282
c32bde28 33283static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33284 PyObject *resultobj;
33285 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33286 PyObject * obj0 = 0 ;
33287 char *kwnames[] = {
33288 (char *) "self", NULL
33289 };
33290
33291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
33292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33293 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33294 {
33295 PyThreadState* __tstate = wxPyBeginAllowThreads();
33296 delete arg1;
33297
33298 wxPyEndAllowThreads(__tstate);
33299 if (PyErr_Occurred()) SWIG_fail;
33300 }
33301 Py_INCREF(Py_None); resultobj = Py_None;
33302 return resultobj;
33303 fail:
33304 return NULL;
33305}
33306
33307
c32bde28 33308static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33309 PyObject *resultobj;
33310 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33311 wxWindow *arg2 = (wxWindow *) NULL ;
33312 bool result;
33313 PyObject * obj0 = 0 ;
33314 PyObject * obj1 = 0 ;
33315 char *kwnames[] = {
33316 (char *) "self",(char *) "window", NULL
33317 };
33318
33319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33321 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 33322 if (obj1) {
093d3ff1
RD
33323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33324 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33325 }
33326 {
33327 PyThreadState* __tstate = wxPyBeginAllowThreads();
33328 result = (bool)(arg1)->BeginContextHelp(arg2);
33329
33330 wxPyEndAllowThreads(__tstate);
33331 if (PyErr_Occurred()) SWIG_fail;
33332 }
4f89f6a3
RD
33333 {
33334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33335 }
d14a1e28
RD
33336 return resultobj;
33337 fail:
33338 return NULL;
33339}
33340
33341
c32bde28 33342static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33343 PyObject *resultobj;
33344 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33345 bool result;
33346 PyObject * obj0 = 0 ;
33347 char *kwnames[] = {
33348 (char *) "self", NULL
33349 };
33350
33351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
33352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33353 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33354 {
33355 PyThreadState* __tstate = wxPyBeginAllowThreads();
33356 result = (bool)(arg1)->EndContextHelp();
33357
33358 wxPyEndAllowThreads(__tstate);
33359 if (PyErr_Occurred()) SWIG_fail;
33360 }
4f89f6a3
RD
33361 {
33362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33363 }
d14a1e28
RD
33364 return resultobj;
33365 fail:
33366 return NULL;
33367}
33368
33369
c32bde28 33370static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33371 PyObject *obj;
33372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33373 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33374 Py_INCREF(obj);
33375 return Py_BuildValue((char *)"");
33376}
c32bde28 33377static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33378 PyObject *resultobj;
33379 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 33380 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
33381 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33382 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33383 wxSize const &arg4_defvalue = wxDefaultSize ;
33384 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33385 long arg5 = (long) wxBU_AUTODRAW ;
33386 wxContextHelpButton *result;
33387 wxPoint temp3 ;
33388 wxSize temp4 ;
33389 PyObject * obj0 = 0 ;
994141e6 33390 PyObject * obj1 = 0 ;
d14a1e28
RD
33391 PyObject * obj2 = 0 ;
33392 PyObject * obj3 = 0 ;
994141e6 33393 PyObject * obj4 = 0 ;
d14a1e28
RD
33394 char *kwnames[] = {
33395 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33396 };
33397
994141e6 33398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33400 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 33401 if (obj1) {
093d3ff1
RD
33402 {
33403 arg2 = (int)(SWIG_As_int(obj1));
33404 if (SWIG_arg_fail(2)) SWIG_fail;
33405 }
994141e6 33406 }
d14a1e28
RD
33407 if (obj2) {
33408 {
33409 arg3 = &temp3;
33410 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33411 }
33412 }
33413 if (obj3) {
33414 {
33415 arg4 = &temp4;
33416 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33417 }
33418 }
994141e6 33419 if (obj4) {
093d3ff1
RD
33420 {
33421 arg5 = (long)(SWIG_As_long(obj4));
33422 if (SWIG_arg_fail(5)) SWIG_fail;
33423 }
994141e6 33424 }
d14a1e28 33425 {
e3b71cb8 33426 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33427 PyThreadState* __tstate = wxPyBeginAllowThreads();
33428 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33429
33430 wxPyEndAllowThreads(__tstate);
110da5b0 33431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33432 }
15afbcd0 33433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
d14a1e28
RD
33434 return resultobj;
33435 fail:
33436 return NULL;
33437}
33438
33439
c32bde28 33440static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33441 PyObject *obj;
33442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33443 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33444 Py_INCREF(obj);
33445 return Py_BuildValue((char *)"");
33446}
c32bde28 33447static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33448 PyObject *resultobj;
33449 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33450 wxHelpProvider *result;
33451 PyObject * obj0 = 0 ;
33452 char *kwnames[] = {
33453 (char *) "helpProvider", NULL
33454 };
33455
33456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
093d3ff1
RD
33457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33458 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33459 {
33460 PyThreadState* __tstate = wxPyBeginAllowThreads();
33461 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33462
33463 wxPyEndAllowThreads(__tstate);
33464 if (PyErr_Occurred()) SWIG_fail;
33465 }
15afbcd0 33466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
33467 return resultobj;
33468 fail:
33469 return NULL;
33470}
33471
33472
c32bde28 33473static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33474 PyObject *resultobj;
33475 wxHelpProvider *result;
33476 char *kwnames[] = {
33477 NULL
33478 };
33479
33480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33481 {
33482 PyThreadState* __tstate = wxPyBeginAllowThreads();
33483 result = (wxHelpProvider *)wxHelpProvider::Get();
33484
33485 wxPyEndAllowThreads(__tstate);
33486 if (PyErr_Occurred()) SWIG_fail;
33487 }
15afbcd0 33488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
33489 return resultobj;
33490 fail:
33491 return NULL;
33492}
33493
33494
c32bde28 33495static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33496 PyObject *resultobj;
33497 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33498 wxWindow *arg2 = (wxWindow *) 0 ;
33499 wxString result;
33500 PyObject * obj0 = 0 ;
33501 PyObject * obj1 = 0 ;
33502 char *kwnames[] = {
33503 (char *) "self",(char *) "window", NULL
33504 };
33505
33506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33508 if (SWIG_arg_fail(1)) SWIG_fail;
33509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33510 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33511 {
33512 PyThreadState* __tstate = wxPyBeginAllowThreads();
33513 result = (arg1)->GetHelp((wxWindow const *)arg2);
33514
33515 wxPyEndAllowThreads(__tstate);
33516 if (PyErr_Occurred()) SWIG_fail;
33517 }
33518 {
33519#if wxUSE_UNICODE
33520 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33521#else
33522 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33523#endif
33524 }
33525 return resultobj;
33526 fail:
33527 return NULL;
33528}
33529
33530
c32bde28 33531static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33532 PyObject *resultobj;
33533 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33534 wxWindow *arg2 = (wxWindow *) 0 ;
33535 bool result;
33536 PyObject * obj0 = 0 ;
33537 PyObject * obj1 = 0 ;
33538 char *kwnames[] = {
33539 (char *) "self",(char *) "window", NULL
33540 };
33541
33542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33544 if (SWIG_arg_fail(1)) SWIG_fail;
33545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33546 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33547 {
33548 PyThreadState* __tstate = wxPyBeginAllowThreads();
33549 result = (bool)(arg1)->ShowHelp(arg2);
33550
33551 wxPyEndAllowThreads(__tstate);
33552 if (PyErr_Occurred()) SWIG_fail;
33553 }
4f89f6a3
RD
33554 {
33555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33556 }
d14a1e28
RD
33557 return resultobj;
33558 fail:
33559 return NULL;
33560}
33561
33562
c32bde28 33563static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33564 PyObject *resultobj;
33565 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33566 wxWindow *arg2 = (wxWindow *) 0 ;
33567 wxString *arg3 = 0 ;
ae8162c8 33568 bool temp3 = false ;
d14a1e28
RD
33569 PyObject * obj0 = 0 ;
33570 PyObject * obj1 = 0 ;
33571 PyObject * obj2 = 0 ;
33572 char *kwnames[] = {
33573 (char *) "self",(char *) "window",(char *) "text", NULL
33574 };
33575
33576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33578 if (SWIG_arg_fail(1)) SWIG_fail;
33579 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33580 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33581 {
33582 arg3 = wxString_in_helper(obj2);
33583 if (arg3 == NULL) SWIG_fail;
ae8162c8 33584 temp3 = true;
d14a1e28
RD
33585 }
33586 {
33587 PyThreadState* __tstate = wxPyBeginAllowThreads();
33588 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33589
33590 wxPyEndAllowThreads(__tstate);
33591 if (PyErr_Occurred()) SWIG_fail;
33592 }
33593 Py_INCREF(Py_None); resultobj = Py_None;
33594 {
33595 if (temp3)
33596 delete arg3;
33597 }
33598 return resultobj;
33599 fail:
33600 {
33601 if (temp3)
33602 delete arg3;
33603 }
33604 return NULL;
33605}
33606
33607
c32bde28 33608static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33609 PyObject *resultobj;
33610 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
e811c8ce 33611 int arg2 ;
d14a1e28 33612 wxString *arg3 = 0 ;
ae8162c8 33613 bool temp3 = false ;
d14a1e28 33614 PyObject * obj0 = 0 ;
994141e6 33615 PyObject * obj1 = 0 ;
d14a1e28
RD
33616 PyObject * obj2 = 0 ;
33617 char *kwnames[] = {
33618 (char *) "self",(char *) "id",(char *) "text", NULL
33619 };
33620
994141e6 33621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
33622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33623 if (SWIG_arg_fail(1)) SWIG_fail;
33624 {
33625 arg2 = (int)(SWIG_As_int(obj1));
33626 if (SWIG_arg_fail(2)) SWIG_fail;
33627 }
d14a1e28
RD
33628 {
33629 arg3 = wxString_in_helper(obj2);
33630 if (arg3 == NULL) SWIG_fail;
ae8162c8 33631 temp3 = true;
d14a1e28
RD
33632 }
33633 {
33634 PyThreadState* __tstate = wxPyBeginAllowThreads();
33635 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33636
33637 wxPyEndAllowThreads(__tstate);
33638 if (PyErr_Occurred()) SWIG_fail;
33639 }
33640 Py_INCREF(Py_None); resultobj = Py_None;
33641 {
33642 if (temp3)
33643 delete arg3;
33644 }
33645 return resultobj;
33646 fail:
33647 {
33648 if (temp3)
33649 delete arg3;
33650 }
33651 return NULL;
33652}
33653
33654
c32bde28 33655static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15afbcd0
RD
33656 PyObject *resultobj;
33657 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33658 wxWindow *arg2 = (wxWindow *) 0 ;
33659 PyObject * obj0 = 0 ;
33660 PyObject * obj1 = 0 ;
33661 char *kwnames[] = {
33662 (char *) "self",(char *) "window", NULL
33663 };
33664
33665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33667 if (SWIG_arg_fail(1)) SWIG_fail;
33668 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33669 if (SWIG_arg_fail(2)) SWIG_fail;
15afbcd0
RD
33670 {
33671 PyThreadState* __tstate = wxPyBeginAllowThreads();
33672 (arg1)->RemoveHelp(arg2);
33673
33674 wxPyEndAllowThreads(__tstate);
33675 if (PyErr_Occurred()) SWIG_fail;
33676 }
33677 Py_INCREF(Py_None); resultobj = Py_None;
33678 return resultobj;
33679 fail:
33680 return NULL;
33681}
33682
33683
c32bde28 33684static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33685 PyObject *resultobj;
33686 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33687 PyObject * obj0 = 0 ;
33688 char *kwnames[] = {
33689 (char *) "self", NULL
33690 };
33691
33692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
33693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33694 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33695 {
33696 PyThreadState* __tstate = wxPyBeginAllowThreads();
33697 wxHelpProvider_Destroy(arg1);
33698
33699 wxPyEndAllowThreads(__tstate);
33700 if (PyErr_Occurred()) SWIG_fail;
33701 }
33702 Py_INCREF(Py_None); resultobj = Py_None;
33703 return resultobj;
33704 fail:
33705 return NULL;
33706}
33707
33708
c32bde28 33709static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33710 PyObject *obj;
33711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33712 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33713 Py_INCREF(obj);
33714 return Py_BuildValue((char *)"");
33715}
c32bde28 33716static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33717 PyObject *resultobj;
33718 wxSimpleHelpProvider *result;
33719 char *kwnames[] = {
33720 NULL
33721 };
33722
33723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33724 {
33725 PyThreadState* __tstate = wxPyBeginAllowThreads();
33726 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33727
33728 wxPyEndAllowThreads(__tstate);
33729 if (PyErr_Occurred()) SWIG_fail;
33730 }
15afbcd0 33731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
d14a1e28
RD
33732 return resultobj;
33733 fail:
33734 return NULL;
33735}
33736
33737
c32bde28 33738static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33739 PyObject *obj;
33740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33741 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33742 Py_INCREF(obj);
33743 return Py_BuildValue((char *)"");
33744}
c32bde28 33745static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33746 PyObject *resultobj;
33747 wxBitmap *arg1 = 0 ;
33748 wxCursor const &arg2_defvalue = wxNullCursor ;
33749 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33750 wxGenericDragImage *result;
33751 PyObject * obj0 = 0 ;
33752 PyObject * obj1 = 0 ;
33753 char *kwnames[] = {
33754 (char *) "image",(char *) "cursor", NULL
33755 };
33756
33757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33758 {
33759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33760 if (SWIG_arg_fail(1)) SWIG_fail;
33761 if (arg1 == NULL) {
33762 SWIG_null_ref("wxBitmap");
33763 }
33764 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
33765 }
33766 if (obj1) {
093d3ff1
RD
33767 {
33768 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33769 if (SWIG_arg_fail(2)) SWIG_fail;
33770 if (arg2 == NULL) {
33771 SWIG_null_ref("wxCursor");
33772 }
33773 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33774 }
33775 }
33776 {
e3b71cb8 33777 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33778 PyThreadState* __tstate = wxPyBeginAllowThreads();
33779 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33780
33781 wxPyEndAllowThreads(__tstate);
110da5b0 33782 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33783 }
15afbcd0 33784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33785 return resultobj;
33786 fail:
33787 return NULL;
33788}
33789
33790
c32bde28 33791static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33792 PyObject *resultobj;
33793 wxIcon *arg1 = 0 ;
33794 wxCursor const &arg2_defvalue = wxNullCursor ;
33795 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33796 wxGenericDragImage *result;
33797 PyObject * obj0 = 0 ;
33798 PyObject * obj1 = 0 ;
33799 char *kwnames[] = {
33800 (char *) "image",(char *) "cursor", NULL
33801 };
33802
33803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33804 {
33805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33806 if (SWIG_arg_fail(1)) SWIG_fail;
33807 if (arg1 == NULL) {
33808 SWIG_null_ref("wxIcon");
33809 }
33810 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
33811 }
33812 if (obj1) {
093d3ff1
RD
33813 {
33814 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33815 if (SWIG_arg_fail(2)) SWIG_fail;
33816 if (arg2 == NULL) {
33817 SWIG_null_ref("wxCursor");
33818 }
33819 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33820 }
33821 }
33822 {
e3b71cb8 33823 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33824 PyThreadState* __tstate = wxPyBeginAllowThreads();
33825 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33826
33827 wxPyEndAllowThreads(__tstate);
110da5b0 33828 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33829 }
15afbcd0 33830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33831 return resultobj;
33832 fail:
33833 return NULL;
33834}
33835
33836
c32bde28 33837static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33838 PyObject *resultobj;
33839 wxString *arg1 = 0 ;
33840 wxCursor const &arg2_defvalue = wxNullCursor ;
33841 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33842 wxGenericDragImage *result;
ae8162c8 33843 bool temp1 = false ;
e811c8ce
RD
33844 PyObject * obj0 = 0 ;
33845 PyObject * obj1 = 0 ;
33846 char *kwnames[] = {
33847 (char *) "str",(char *) "cursor", NULL
33848 };
33849
33850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33851 {
33852 arg1 = wxString_in_helper(obj0);
33853 if (arg1 == NULL) SWIG_fail;
ae8162c8 33854 temp1 = true;
e811c8ce
RD
33855 }
33856 if (obj1) {
093d3ff1
RD
33857 {
33858 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33859 if (SWIG_arg_fail(2)) SWIG_fail;
33860 if (arg2 == NULL) {
33861 SWIG_null_ref("wxCursor");
33862 }
33863 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33864 }
33865 }
33866 {
e3b71cb8 33867 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33868 PyThreadState* __tstate = wxPyBeginAllowThreads();
33869 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33870
33871 wxPyEndAllowThreads(__tstate);
110da5b0 33872 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33873 }
15afbcd0 33874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33875 {
33876 if (temp1)
33877 delete arg1;
33878 }
33879 return resultobj;
33880 fail:
33881 {
33882 if (temp1)
33883 delete arg1;
33884 }
33885 return NULL;
33886}
33887
33888
c32bde28 33889static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33890 PyObject *resultobj;
33891 wxPyTreeCtrl *arg1 = 0 ;
33892 wxTreeItemId *arg2 = 0 ;
33893 wxGenericDragImage *result;
33894 PyObject * obj0 = 0 ;
33895 PyObject * obj1 = 0 ;
33896 char *kwnames[] = {
33897 (char *) "treeCtrl",(char *) "id", NULL
33898 };
33899
33900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33901 {
33902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33903 if (SWIG_arg_fail(1)) SWIG_fail;
33904 if (arg1 == NULL) {
33905 SWIG_null_ref("wxPyTreeCtrl");
33906 }
33907 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce 33908 }
093d3ff1
RD
33909 {
33910 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33911 if (SWIG_arg_fail(2)) SWIG_fail;
33912 if (arg2 == NULL) {
33913 SWIG_null_ref("wxTreeItemId");
33914 }
33915 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
33916 }
33917 {
e3b71cb8 33918 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33919 PyThreadState* __tstate = wxPyBeginAllowThreads();
33920 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33921
33922 wxPyEndAllowThreads(__tstate);
110da5b0 33923 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33924 }
15afbcd0 33925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33926 return resultobj;
33927 fail:
33928 return NULL;
33929}
33930
33931
c32bde28 33932static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33933 PyObject *resultobj;
33934 wxPyListCtrl *arg1 = 0 ;
33935 long arg2 ;
33936 wxGenericDragImage *result;
33937 PyObject * obj0 = 0 ;
994141e6 33938 PyObject * obj1 = 0 ;
e811c8ce
RD
33939 char *kwnames[] = {
33940 (char *) "listCtrl",(char *) "id", NULL
33941 };
33942
994141e6 33943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33944 {
33945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33946 if (SWIG_arg_fail(1)) SWIG_fail;
33947 if (arg1 == NULL) {
33948 SWIG_null_ref("wxPyListCtrl");
33949 }
33950 if (SWIG_arg_fail(1)) SWIG_fail;
33951 }
33952 {
33953 arg2 = (long)(SWIG_As_long(obj1));
33954 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 33955 }
e811c8ce 33956 {
e3b71cb8 33957 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
33958 PyThreadState* __tstate = wxPyBeginAllowThreads();
33959 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33960
33961 wxPyEndAllowThreads(__tstate);
110da5b0 33962 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 33963 }
15afbcd0 33964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
33965 return resultobj;
33966 fail:
33967 return NULL;
33968}
33969
33970
c32bde28 33971static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33972 PyObject *resultobj;
33973 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33974 PyObject * obj0 = 0 ;
33975 char *kwnames[] = {
33976 (char *) "self", NULL
33977 };
33978
33979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
33980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33981 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
33982 {
33983 PyThreadState* __tstate = wxPyBeginAllowThreads();
33984 delete arg1;
33985
33986 wxPyEndAllowThreads(__tstate);
33987 if (PyErr_Occurred()) SWIG_fail;
33988 }
33989 Py_INCREF(Py_None); resultobj = Py_None;
33990 return resultobj;
33991 fail:
33992 return NULL;
33993}
33994
33995
c32bde28 33996static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
33997 PyObject *resultobj;
33998 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33999 wxBitmap *arg2 = (wxBitmap *) 0 ;
34000 PyObject * obj0 = 0 ;
34001 PyObject * obj1 = 0 ;
34002 char *kwnames[] = {
34003 (char *) "self",(char *) "bitmap", NULL
34004 };
34005
34006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34008 if (SWIG_arg_fail(1)) SWIG_fail;
34009 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34010 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
34011 {
34012 PyThreadState* __tstate = wxPyBeginAllowThreads();
34013 (arg1)->SetBackingBitmap(arg2);
34014
34015 wxPyEndAllowThreads(__tstate);
34016 if (PyErr_Occurred()) SWIG_fail;
34017 }
34018 Py_INCREF(Py_None); resultobj = Py_None;
34019 return resultobj;
34020 fail:
34021 return NULL;
34022}
34023
34024
c32bde28 34025static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34026 PyObject *resultobj;
34027 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34028 wxPoint *arg2 = 0 ;
34029 wxWindow *arg3 = (wxWindow *) 0 ;
ae8162c8 34030 bool arg4 = (bool) false ;
e811c8ce
RD
34031 wxRect *arg5 = (wxRect *) NULL ;
34032 bool result;
34033 wxPoint temp2 ;
34034 PyObject * obj0 = 0 ;
34035 PyObject * obj1 = 0 ;
34036 PyObject * obj2 = 0 ;
34037 PyObject * obj3 = 0 ;
34038 PyObject * obj4 = 0 ;
34039 char *kwnames[] = {
34040 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34041 };
34042
34043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34045 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34046 {
34047 arg2 = &temp2;
34048 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34049 }
093d3ff1
RD
34050 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34051 if (SWIG_arg_fail(3)) SWIG_fail;
e811c8ce 34052 if (obj3) {
093d3ff1
RD
34053 {
34054 arg4 = (bool)(SWIG_As_bool(obj3));
34055 if (SWIG_arg_fail(4)) SWIG_fail;
34056 }
e811c8ce
RD
34057 }
34058 if (obj4) {
093d3ff1
RD
34059 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34060 if (SWIG_arg_fail(5)) SWIG_fail;
e811c8ce
RD
34061 }
34062 {
34063 PyThreadState* __tstate = wxPyBeginAllowThreads();
34064 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34065
34066 wxPyEndAllowThreads(__tstate);
34067 if (PyErr_Occurred()) SWIG_fail;
34068 }
4f89f6a3
RD
34069 {
34070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34071 }
e811c8ce
RD
34072 return resultobj;
34073 fail:
34074 return NULL;
34075}
34076
34077
c32bde28 34078static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34079 PyObject *resultobj;
34080 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34081 wxPoint *arg2 = 0 ;
34082 wxWindow *arg3 = (wxWindow *) 0 ;
34083 wxWindow *arg4 = (wxWindow *) 0 ;
34084 bool result;
34085 wxPoint temp2 ;
34086 PyObject * obj0 = 0 ;
34087 PyObject * obj1 = 0 ;
34088 PyObject * obj2 = 0 ;
34089 PyObject * obj3 = 0 ;
34090 char *kwnames[] = {
34091 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34092 };
34093
34094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
34095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34096 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34097 {
34098 arg2 = &temp2;
34099 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34100 }
093d3ff1
RD
34101 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34102 if (SWIG_arg_fail(3)) SWIG_fail;
34103 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34104 if (SWIG_arg_fail(4)) SWIG_fail;
e811c8ce
RD
34105 {
34106 PyThreadState* __tstate = wxPyBeginAllowThreads();
34107 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34108
34109 wxPyEndAllowThreads(__tstate);
34110 if (PyErr_Occurred()) SWIG_fail;
34111 }
4f89f6a3
RD
34112 {
34113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34114 }
e811c8ce
RD
34115 return resultobj;
34116 fail:
34117 return NULL;
34118}
34119
34120
c32bde28 34121static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34122 PyObject *resultobj;
34123 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34124 bool result;
34125 PyObject * obj0 = 0 ;
34126 char *kwnames[] = {
34127 (char *) "self", NULL
34128 };
34129
34130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
093d3ff1
RD
34131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34132 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34133 {
34134 PyThreadState* __tstate = wxPyBeginAllowThreads();
34135 result = (bool)(arg1)->EndDrag();
34136
34137 wxPyEndAllowThreads(__tstate);
34138 if (PyErr_Occurred()) SWIG_fail;
34139 }
4f89f6a3
RD
34140 {
34141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34142 }
e811c8ce
RD
34143 return resultobj;
34144 fail:
34145 return NULL;
34146}
34147
34148
c32bde28 34149static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34150 PyObject *resultobj;
34151 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34152 wxPoint *arg2 = 0 ;
34153 bool result;
34154 wxPoint temp2 ;
34155 PyObject * obj0 = 0 ;
34156 PyObject * obj1 = 0 ;
34157 char *kwnames[] = {
34158 (char *) "self",(char *) "pt", NULL
34159 };
34160
34161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34163 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34164 {
34165 arg2 = &temp2;
34166 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34167 }
34168 {
34169 PyThreadState* __tstate = wxPyBeginAllowThreads();
34170 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34171
34172 wxPyEndAllowThreads(__tstate);
34173 if (PyErr_Occurred()) SWIG_fail;
34174 }
4f89f6a3
RD
34175 {
34176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34177 }
e811c8ce
RD
34178 return resultobj;
34179 fail:
34180 return NULL;
34181}
34182
34183
c32bde28 34184static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34185 PyObject *resultobj;
34186 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34187 bool result;
34188 PyObject * obj0 = 0 ;
34189 char *kwnames[] = {
34190 (char *) "self", NULL
34191 };
34192
34193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
093d3ff1
RD
34194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34195 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34196 {
34197 PyThreadState* __tstate = wxPyBeginAllowThreads();
34198 result = (bool)(arg1)->Show();
34199
34200 wxPyEndAllowThreads(__tstate);
34201 if (PyErr_Occurred()) SWIG_fail;
34202 }
4f89f6a3
RD
34203 {
34204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34205 }
e811c8ce
RD
34206 return resultobj;
34207 fail:
34208 return NULL;
34209}
34210
34211
c32bde28 34212static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34213 PyObject *resultobj;
34214 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34215 bool result;
34216 PyObject * obj0 = 0 ;
34217 char *kwnames[] = {
34218 (char *) "self", NULL
34219 };
34220
34221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
34222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34223 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34224 {
34225 PyThreadState* __tstate = wxPyBeginAllowThreads();
34226 result = (bool)(arg1)->Hide();
34227
34228 wxPyEndAllowThreads(__tstate);
34229 if (PyErr_Occurred()) SWIG_fail;
34230 }
4f89f6a3
RD
34231 {
34232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34233 }
e811c8ce
RD
34234 return resultobj;
34235 fail:
34236 return NULL;
34237}
34238
34239
c32bde28 34240static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34241 PyObject *resultobj;
34242 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34243 wxPoint *arg2 = 0 ;
34244 wxRect result;
34245 wxPoint temp2 ;
34246 PyObject * obj0 = 0 ;
34247 PyObject * obj1 = 0 ;
34248 char *kwnames[] = {
34249 (char *) "self",(char *) "pos", NULL
34250 };
34251
34252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34254 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34255 {
34256 arg2 = &temp2;
34257 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34258 }
34259 {
34260 PyThreadState* __tstate = wxPyBeginAllowThreads();
34261 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34262
34263 wxPyEndAllowThreads(__tstate);
34264 if (PyErr_Occurred()) SWIG_fail;
34265 }
34266 {
34267 wxRect * resultptr;
093d3ff1 34268 resultptr = new wxRect((wxRect &)(result));
15afbcd0 34269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
e811c8ce
RD
34270 }
34271 return resultobj;
34272 fail:
34273 return NULL;
34274}
34275
34276
c32bde28 34277static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34278 PyObject *resultobj;
34279 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34280 wxDC *arg2 = 0 ;
34281 wxPoint *arg3 = 0 ;
34282 bool result;
34283 wxPoint temp3 ;
34284 PyObject * obj0 = 0 ;
34285 PyObject * obj1 = 0 ;
34286 PyObject * obj2 = 0 ;
34287 char *kwnames[] = {
34288 (char *) "self",(char *) "dc",(char *) "pos", NULL
34289 };
34290
34291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34293 if (SWIG_arg_fail(1)) SWIG_fail;
34294 {
34295 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34296 if (SWIG_arg_fail(2)) SWIG_fail;
34297 if (arg2 == NULL) {
34298 SWIG_null_ref("wxDC");
34299 }
34300 if (SWIG_arg_fail(2)) SWIG_fail;
e811c8ce
RD
34301 }
34302 {
34303 arg3 = &temp3;
34304 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34305 }
34306 {
34307 PyThreadState* __tstate = wxPyBeginAllowThreads();
34308 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34309
34310 wxPyEndAllowThreads(__tstate);
34311 if (PyErr_Occurred()) SWIG_fail;
34312 }
4f89f6a3
RD
34313 {
34314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34315 }
e811c8ce
RD
34316 return resultobj;
34317 fail:
34318 return NULL;
34319}
34320
34321
c32bde28 34322static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34323 PyObject *resultobj;
34324 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34325 wxDC *arg2 = 0 ;
34326 wxMemoryDC *arg3 = 0 ;
34327 wxRect *arg4 = 0 ;
34328 wxRect *arg5 = 0 ;
34329 bool result;
34330 wxRect temp4 ;
34331 wxRect temp5 ;
34332 PyObject * obj0 = 0 ;
34333 PyObject * obj1 = 0 ;
34334 PyObject * obj2 = 0 ;
34335 PyObject * obj3 = 0 ;
34336 PyObject * obj4 = 0 ;
34337 char *kwnames[] = {
34338 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34339 };
34340
34341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34343 if (SWIG_arg_fail(1)) SWIG_fail;
34344 {
34345 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34346 if (SWIG_arg_fail(2)) SWIG_fail;
34347 if (arg2 == NULL) {
34348 SWIG_null_ref("wxDC");
34349 }
34350 if (SWIG_arg_fail(2)) SWIG_fail;
34351 }
34352 {
34353 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34354 if (SWIG_arg_fail(3)) SWIG_fail;
34355 if (arg3 == NULL) {
34356 SWIG_null_ref("wxMemoryDC");
34357 }
34358 if (SWIG_arg_fail(3)) SWIG_fail;
e811c8ce
RD
34359 }
34360 {
34361 arg4 = &temp4;
34362 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34363 }
34364 {
34365 arg5 = &temp5;
34366 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34367 }
34368 {
34369 PyThreadState* __tstate = wxPyBeginAllowThreads();
34370 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34371
34372 wxPyEndAllowThreads(__tstate);
34373 if (PyErr_Occurred()) SWIG_fail;
34374 }
4f89f6a3
RD
34375 {
34376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34377 }
e811c8ce
RD
34378 return resultobj;
34379 fail:
34380 return NULL;
34381}
34382
34383
c32bde28 34384static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
34385 PyObject *resultobj;
34386 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34387 wxPoint *arg2 = 0 ;
34388 wxPoint *arg3 = 0 ;
34389 bool arg4 ;
34390 bool arg5 ;
34391 bool result;
34392 wxPoint temp2 ;
34393 wxPoint temp3 ;
34394 PyObject * obj0 = 0 ;
34395 PyObject * obj1 = 0 ;
34396 PyObject * obj2 = 0 ;
34397 PyObject * obj3 = 0 ;
34398 PyObject * obj4 = 0 ;
34399 char *kwnames[] = {
34400 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34401 };
34402
34403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34405 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
34406 {
34407 arg2 = &temp2;
34408 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34409 }
34410 {
34411 arg3 = &temp3;
34412 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34413 }
093d3ff1
RD
34414 {
34415 arg4 = (bool)(SWIG_As_bool(obj3));
34416 if (SWIG_arg_fail(4)) SWIG_fail;
34417 }
34418 {
34419 arg5 = (bool)(SWIG_As_bool(obj4));
34420 if (SWIG_arg_fail(5)) SWIG_fail;
34421 }
e811c8ce
RD
34422 {
34423 PyThreadState* __tstate = wxPyBeginAllowThreads();
34424 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34425
34426 wxPyEndAllowThreads(__tstate);
34427 if (PyErr_Occurred()) SWIG_fail;
34428 }
4f89f6a3
RD
34429 {
34430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34431 }
e811c8ce
RD
34432 return resultobj;
34433 fail:
34434 return NULL;
34435}
34436
34437
c32bde28 34438static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
e811c8ce
RD
34439 PyObject *obj;
34440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34441 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34442 Py_INCREF(obj);
34443 return Py_BuildValue((char *)"");
34444}
53aa7709
RD
34445static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34446 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34447 return 1;
34448}
34449
34450
34451static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34452 PyObject *pyobj;
34453
34454 {
34455#if wxUSE_UNICODE
34456 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34457#else
34458 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34459#endif
34460 }
34461 return pyobj;
34462}
34463
34464
34465static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34466 PyObject *resultobj;
34467 wxWindow *arg1 = (wxWindow *) 0 ;
34468 int arg2 = (int) -1 ;
34469 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34470 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34471 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34472 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34473 wxSize const &arg5_defvalue = wxDefaultSize ;
34474 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34475 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34476 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34477 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34478 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34479 wxString *arg8 = (wxString *) &arg8_defvalue ;
34480 wxDatePickerCtrl *result;
34481 wxPoint temp4 ;
34482 wxSize temp5 ;
34483 bool temp8 = false ;
34484 PyObject * obj0 = 0 ;
34485 PyObject * obj1 = 0 ;
34486 PyObject * obj2 = 0 ;
34487 PyObject * obj3 = 0 ;
34488 PyObject * obj4 = 0 ;
34489 PyObject * obj5 = 0 ;
34490 PyObject * obj6 = 0 ;
34491 PyObject * obj7 = 0 ;
34492 char *kwnames[] = {
34493 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34494 };
34495
34496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34498 if (SWIG_arg_fail(1)) SWIG_fail;
34499 if (obj1) {
34500 {
34501 arg2 = (int)(SWIG_As_int(obj1));
34502 if (SWIG_arg_fail(2)) SWIG_fail;
34503 }
34504 }
34505 if (obj2) {
34506 {
34507 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34508 if (SWIG_arg_fail(3)) SWIG_fail;
34509 if (arg3 == NULL) {
34510 SWIG_null_ref("wxDateTime");
34511 }
34512 if (SWIG_arg_fail(3)) SWIG_fail;
34513 }
34514 }
34515 if (obj3) {
34516 {
34517 arg4 = &temp4;
34518 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34519 }
34520 }
34521 if (obj4) {
34522 {
34523 arg5 = &temp5;
34524 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34525 }
34526 }
34527 if (obj5) {
34528 {
34529 arg6 = (long)(SWIG_As_long(obj5));
34530 if (SWIG_arg_fail(6)) SWIG_fail;
34531 }
34532 }
34533 if (obj6) {
34534 {
34535 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34536 if (SWIG_arg_fail(7)) SWIG_fail;
34537 if (arg7 == NULL) {
34538 SWIG_null_ref("wxValidator");
34539 }
34540 if (SWIG_arg_fail(7)) SWIG_fail;
34541 }
34542 }
34543 if (obj7) {
34544 {
34545 arg8 = wxString_in_helper(obj7);
34546 if (arg8 == NULL) SWIG_fail;
34547 temp8 = true;
34548 }
34549 }
34550 {
34551 if (!wxPyCheckForApp()) SWIG_fail;
34552 PyThreadState* __tstate = wxPyBeginAllowThreads();
34553 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34554
34555 wxPyEndAllowThreads(__tstate);
34556 if (PyErr_Occurred()) SWIG_fail;
34557 }
34558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34559 {
34560 if (temp8)
34561 delete arg8;
34562 }
34563 return resultobj;
34564 fail:
34565 {
34566 if (temp8)
34567 delete arg8;
34568 }
34569 return NULL;
34570}
34571
34572
34573static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34574 PyObject *resultobj;
34575 wxDatePickerCtrl *result;
34576 char *kwnames[] = {
34577 NULL
34578 };
34579
34580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34581 {
34582 if (!wxPyCheckForApp()) SWIG_fail;
34583 PyThreadState* __tstate = wxPyBeginAllowThreads();
34584 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34585
34586 wxPyEndAllowThreads(__tstate);
34587 if (PyErr_Occurred()) SWIG_fail;
34588 }
34589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34590 return resultobj;
34591 fail:
34592 return NULL;
34593}
34594
34595
34596static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34597 PyObject *resultobj;
34598 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34599 wxWindow *arg2 = (wxWindow *) 0 ;
34600 int arg3 = (int) -1 ;
34601 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34602 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34603 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34604 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34605 wxSize const &arg6_defvalue = wxDefaultSize ;
34606 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34607 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34608 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34609 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34610 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34611 wxString *arg9 = (wxString *) &arg9_defvalue ;
34612 bool result;
34613 wxPoint temp5 ;
34614 wxSize temp6 ;
34615 bool temp9 = false ;
34616 PyObject * obj0 = 0 ;
34617 PyObject * obj1 = 0 ;
34618 PyObject * obj2 = 0 ;
34619 PyObject * obj3 = 0 ;
34620 PyObject * obj4 = 0 ;
34621 PyObject * obj5 = 0 ;
34622 PyObject * obj6 = 0 ;
34623 PyObject * obj7 = 0 ;
34624 PyObject * obj8 = 0 ;
34625 char *kwnames[] = {
34626 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34627 };
34628
34629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34631 if (SWIG_arg_fail(1)) SWIG_fail;
34632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34633 if (SWIG_arg_fail(2)) SWIG_fail;
34634 if (obj2) {
34635 {
34636 arg3 = (int)(SWIG_As_int(obj2));
34637 if (SWIG_arg_fail(3)) SWIG_fail;
34638 }
34639 }
34640 if (obj3) {
34641 {
34642 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34643 if (SWIG_arg_fail(4)) SWIG_fail;
34644 if (arg4 == NULL) {
34645 SWIG_null_ref("wxDateTime");
34646 }
34647 if (SWIG_arg_fail(4)) SWIG_fail;
34648 }
34649 }
34650 if (obj4) {
34651 {
34652 arg5 = &temp5;
34653 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34654 }
34655 }
34656 if (obj5) {
34657 {
34658 arg6 = &temp6;
34659 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34660 }
34661 }
34662 if (obj6) {
34663 {
34664 arg7 = (long)(SWIG_As_long(obj6));
34665 if (SWIG_arg_fail(7)) SWIG_fail;
34666 }
34667 }
34668 if (obj7) {
34669 {
34670 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34671 if (SWIG_arg_fail(8)) SWIG_fail;
34672 if (arg8 == NULL) {
34673 SWIG_null_ref("wxValidator");
34674 }
34675 if (SWIG_arg_fail(8)) SWIG_fail;
34676 }
34677 }
34678 if (obj8) {
34679 {
34680 arg9 = wxString_in_helper(obj8);
34681 if (arg9 == NULL) SWIG_fail;
34682 temp9 = true;
34683 }
34684 }
34685 {
34686 PyThreadState* __tstate = wxPyBeginAllowThreads();
34687 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34688
34689 wxPyEndAllowThreads(__tstate);
34690 if (PyErr_Occurred()) SWIG_fail;
34691 }
34692 {
34693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34694 }
34695 {
34696 if (temp9)
34697 delete arg9;
34698 }
34699 return resultobj;
34700 fail:
34701 {
34702 if (temp9)
34703 delete arg9;
34704 }
34705 return NULL;
34706}
34707
34708
34709static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34710 PyObject *resultobj;
34711 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34712 wxDateTime *arg2 = 0 ;
34713 PyObject * obj0 = 0 ;
34714 PyObject * obj1 = 0 ;
34715 char *kwnames[] = {
34716 (char *) "self",(char *) "dt", NULL
34717 };
34718
34719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34721 if (SWIG_arg_fail(1)) SWIG_fail;
34722 {
34723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34724 if (SWIG_arg_fail(2)) SWIG_fail;
34725 if (arg2 == NULL) {
34726 SWIG_null_ref("wxDateTime");
34727 }
34728 if (SWIG_arg_fail(2)) SWIG_fail;
34729 }
34730 {
34731 PyThreadState* __tstate = wxPyBeginAllowThreads();
34732 (arg1)->SetValue((wxDateTime const &)*arg2);
34733
34734 wxPyEndAllowThreads(__tstate);
34735 if (PyErr_Occurred()) SWIG_fail;
34736 }
34737 Py_INCREF(Py_None); resultobj = Py_None;
34738 return resultobj;
34739 fail:
34740 return NULL;
34741}
34742
34743
34744static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34745 PyObject *resultobj;
34746 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34747 wxDateTime result;
34748 PyObject * obj0 = 0 ;
34749 char *kwnames[] = {
34750 (char *) "self", NULL
34751 };
34752
34753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34755 if (SWIG_arg_fail(1)) SWIG_fail;
34756 {
34757 PyThreadState* __tstate = wxPyBeginAllowThreads();
34758 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34759
34760 wxPyEndAllowThreads(__tstate);
34761 if (PyErr_Occurred()) SWIG_fail;
34762 }
34763 {
34764 wxDateTime * resultptr;
34765 resultptr = new wxDateTime((wxDateTime &)(result));
34766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34767 }
34768 return resultobj;
34769 fail:
34770 return NULL;
34771}
34772
34773
34774static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34775 PyObject *resultobj;
34776 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34777 wxDateTime *arg2 = 0 ;
34778 wxDateTime *arg3 = 0 ;
34779 PyObject * obj0 = 0 ;
34780 PyObject * obj1 = 0 ;
34781 PyObject * obj2 = 0 ;
34782 char *kwnames[] = {
34783 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34784 };
34785
34786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34788 if (SWIG_arg_fail(1)) SWIG_fail;
34789 {
34790 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34791 if (SWIG_arg_fail(2)) SWIG_fail;
34792 if (arg2 == NULL) {
34793 SWIG_null_ref("wxDateTime");
34794 }
34795 if (SWIG_arg_fail(2)) SWIG_fail;
34796 }
34797 {
34798 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34799 if (SWIG_arg_fail(3)) SWIG_fail;
34800 if (arg3 == NULL) {
34801 SWIG_null_ref("wxDateTime");
34802 }
34803 if (SWIG_arg_fail(3)) SWIG_fail;
34804 }
34805 {
34806 PyThreadState* __tstate = wxPyBeginAllowThreads();
34807 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34808
34809 wxPyEndAllowThreads(__tstate);
34810 if (PyErr_Occurred()) SWIG_fail;
34811 }
34812 Py_INCREF(Py_None); resultobj = Py_None;
34813 return resultobj;
34814 fail:
34815 return NULL;
34816}
34817
34818
34819static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34820 PyObject *resultobj;
34821 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34822 wxDateTime result;
34823 PyObject * obj0 = 0 ;
34824 char *kwnames[] = {
34825 (char *) "self", NULL
34826 };
34827
34828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34830 if (SWIG_arg_fail(1)) SWIG_fail;
34831 {
34832 PyThreadState* __tstate = wxPyBeginAllowThreads();
34833 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34834
34835 wxPyEndAllowThreads(__tstate);
34836 if (PyErr_Occurred()) SWIG_fail;
34837 }
34838 {
34839 wxDateTime * resultptr;
34840 resultptr = new wxDateTime((wxDateTime &)(result));
34841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34842 }
34843 return resultobj;
34844 fail:
34845 return NULL;
34846}
34847
34848
34849static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34850 PyObject *resultobj;
34851 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34852 wxDateTime result;
34853 PyObject * obj0 = 0 ;
34854 char *kwnames[] = {
34855 (char *) "self", NULL
34856 };
34857
34858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
34859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34860 if (SWIG_arg_fail(1)) SWIG_fail;
34861 {
34862 PyThreadState* __tstate = wxPyBeginAllowThreads();
34863 result = wxDatePickerCtrl_GetUpperLimit(arg1);
34864
34865 wxPyEndAllowThreads(__tstate);
34866 if (PyErr_Occurred()) SWIG_fail;
34867 }
34868 {
34869 wxDateTime * resultptr;
34870 resultptr = new wxDateTime((wxDateTime &)(result));
34871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34872 }
34873 return resultobj;
34874 fail:
34875 return NULL;
34876}
34877
34878
34879static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
34880 PyObject *obj;
34881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34882 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
34883 Py_INCREF(obj);
34884 return Py_BuildValue((char *)"");
34885}
e811c8ce 34886static PyMethodDef SwigMethods[] = {
093d3ff1
RD
34887 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34889 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34890 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34893 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34894 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34895 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34902 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34909 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34921 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
34924 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34926 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34934 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
b9d6a5f3 34940 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
34941 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34957 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34971 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34976 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34983 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34988 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34996 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
35019 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35028 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35059 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35115 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35120 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35132 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35145 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35157 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35161 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35179 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35186 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35212 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35220 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35242 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35248 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
8e738329 35256 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35257 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35259 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35261 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35267 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35269 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
70b7a5fe 35273 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35274 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35276 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35278 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35283 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35288 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35318 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35363 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35369 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35381 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35433 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35460 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
a3957d3d 35519 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35520 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35531 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35543 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35551 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35558 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
562ecc31 35573 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35574 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35575 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a 35603 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35604 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35651 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35673 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35678 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35697 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
35701 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35702 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35703 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35709 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35711 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35714 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35716 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35718 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35719 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35722 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35723 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35724 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35725 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35726 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35727 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35729 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35731 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35732 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35733 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35734 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35735 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35736 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35737 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35738 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35739 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35740 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35741 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35742 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35743 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35744 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35745 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35746 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
53aa7709
RD
35747 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35748 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35749 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35750 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35751 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35752 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35753 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35754 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35755 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
c32bde28 35756 { NULL, NULL, 0, NULL }
d14a1e28
RD
35757};
35758
35759
35760/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35761
d14a1e28
RD
35762static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35763 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35764}
35765static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35766 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35767}
e505d15e
RD
35768static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35769 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35770}
d14a1e28
RD
35771static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35772 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35773}
35774static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35775 return (void *)((wxSizer *) ((wxGridSizer *) x));
35776}
35777static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35778 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35779}
35780static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35781 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35782}
35783static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35784 return (void *)((wxSizer *) ((wxPySizer *) x));
35785}
35786static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35787 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35788}
35789static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35790 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35791}
35792static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35793 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35794}
35795static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35796 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35797}
35798static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35799 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35800}
35801static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35802 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35803}
8ac8dba0
RD
35804static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35805 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35806}
d14a1e28
RD
35807static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35808 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35809}
35810static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35811 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35812}
35813static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35814 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35815}
35816static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35817 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35818}
35819static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35820 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35821}
d14a1e28
RD
35822static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35823 return (void *)((wxEvent *) ((wxPyEvent *) x));
35824}
35825static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35826 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35827}
35828static void *_p_wxListEventTo_p_wxEvent(void *x) {
35829 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35830}
35831static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 35832 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28
RD
35833}
35834static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 35835 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28 35836}
2ef75293 35837static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 35838 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
2ef75293 35839}
d14a1e28
RD
35840static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35841 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35842}
35843static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35844 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35845}
35846static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35847 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35848}
35849static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35850 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35851}
35852static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35853 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35854}
35855static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35856 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35857}
35858static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35859 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35860}
35861static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35862 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35863}
35864static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35865 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35866}
53aa7709
RD
35867static void *_p_wxDateEventTo_p_wxEvent(void *x) {
35868 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
35869}
d14a1e28
RD
35870static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35871 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35872}
35873static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35874 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35875}
35876static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35877 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35878}
35879static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35880 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35881}
35882static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35883 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35884}
35885static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35886 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35887}
35888static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35889 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35890}
35891static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35892 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35893}
35894static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35895 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35896}
35897static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35898 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35899}
35900static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35901 return (void *)((wxEvent *) ((wxShowEvent *) x));
35902}
35903static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35904 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35905}
35906static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35907 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35908}
35909static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35910 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35911}
35912static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35913 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35914}
35915static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35916 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35917}
35918static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35919 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35920}
d1e20054
RD
35921static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35922 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35923}
d14a1e28
RD
35924static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35925 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35926}
35927static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35928 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35929}
35930static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35931 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35932}
35933static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35934 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35935}
35936static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35937 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35938}
35939static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35940 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35941}
35942static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35943 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35944}
8ac8dba0
RD
35945static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35946 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d14a1e28
RD
35947}
35948static void *_p_wxToolBarTo_p_wxControl(void *x) {
35949 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35950}
2ef75293
RD
35951static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35952 return (void *)((wxControl *) ((wxToggleButton *) x));
d14a1e28 35953}
2ef75293
RD
35954static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35955 return (void *)((wxControl *) ((wxRadioButton *) x));
d14a1e28 35956}
2ef75293
RD
35957static void *_p_wxPyControlTo_p_wxControl(void *x) {
35958 return (void *)((wxControl *) ((wxPyControl *) x));
d14a1e28 35959}
2ef75293
RD
35960static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35961 return (void *)((wxControl *) ((wxToolBarBase *) x));
35962}
35963static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35964 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d14a1e28
RD
35965}
35966static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35967 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35968}
2ef75293
RD
35969static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35970 return (void *)((wxControl *) ((wxComboBox *) x));
d14a1e28 35971}
2ef75293
RD
35972static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35973 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d14a1e28
RD
35974}
35975static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35976 return (void *)((wxControl *) ((wxScrollBar *) x));
35977}
2ef75293
RD
35978static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35979 return (void *)((wxControl *) ((wxControlWithItems *) x));
d14a1e28
RD
35980}
35981static void *_p_wxGaugeTo_p_wxControl(void *x) {
35982 return (void *)((wxControl *) ((wxGauge *) x));
35983}
2ef75293
RD
35984static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35985 return (void *)((wxControl *) ((wxStaticLine *) x));
d14a1e28 35986}
2ef75293 35987static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 35988 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d14a1e28 35989}
2ef75293 35990static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 35991 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28 35992}
2ef75293
RD
35993static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35994 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d14a1e28 35995}
2ef75293
RD
35996static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35997 return (void *)((wxControl *) ((wxCheckBox *) x));
d14a1e28
RD
35998}
35999static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
36000 return (void *)((wxControl *) ((wxRadioBox *) x));
36001}
2ef75293
RD
36002static void *_p_wxChoiceTo_p_wxControl(void *x) {
36003 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
36004}
36005static void *_p_wxListBoxTo_p_wxControl(void *x) {
36006 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
36007}
36008static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
36009 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36010}
36011static void *_p_wxListViewTo_p_wxControl(void *x) {
36012 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
36013}
d14a1e28 36014static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 36015 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28 36016}
2ef75293
RD
36017static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
36018 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d14a1e28 36019}
2ef75293
RD
36020static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
36021 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d14a1e28 36022}
2ef75293
RD
36023static void *_p_wxStaticTextTo_p_wxControl(void *x) {
36024 return (void *)((wxControl *) ((wxStaticText *) x));
d14a1e28 36025}
2ef75293
RD
36026static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
36027 return (void *)((wxControl *) ((wxStaticBox *) x));
d14a1e28
RD
36028}
36029static void *_p_wxSliderTo_p_wxControl(void *x) {
36030 return (void *)((wxControl *) ((wxSlider *) x));
36031}
2ef75293
RD
36032static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36033 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
d14a1e28 36034}
2ef75293
RD
36035static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36036 return (void *)((wxControl *) ((wxSpinButton *) x));
d14a1e28 36037}
2ef75293
RD
36038static void *_p_wxButtonTo_p_wxControl(void *x) {
36039 return (void *)((wxControl *) ((wxButton *) x));
d14a1e28 36040}
2ef75293
RD
36041static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36042 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36043}
53aa7709
RD
36044static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36045 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36046}
2ef75293
RD
36047static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36048 return (void *)((wxControl *) ((wxTextCtrl *) x));
d14a1e28
RD
36049}
36050static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36051 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36052}
36053static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36054 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36055}
8ac8dba0
RD
36056static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36057 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36058}
d14a1e28
RD
36059static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36060 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36061}
d14a1e28
RD
36062static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36063 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36064}
d1e20054
RD
36065static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36066 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36067}
d14a1e28 36068static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 36069 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28
RD
36070}
36071static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0 36072 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28 36073}
2ef75293 36074static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
8ac8dba0
RD
36075 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36076}
36077static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36078 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36079}
36080static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36081 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
2ef75293 36082}
8ac8dba0
RD
36083static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36084 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
36085}
36086static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36087 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36088}
8ac8dba0
RD
36089static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36090 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36091}
d14a1e28
RD
36092static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36093 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36094}
36095static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36096 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36097}
36098static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36099 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36100}
36101static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36102 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36103}
36104static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36105 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36106}
36107static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36108 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36109}
36110static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36111 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36112}
36113static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36114 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36115}
36116static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36117 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36118}
d14a1e28
RD
36119static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36120 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
36121}
2ef75293
RD
36122static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36123 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36124}
d14a1e28
RD
36125static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36126 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36127}
36128static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36129 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36130}
36131static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36132 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36133}
36134static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36135 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36136}
36137static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36138 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36139}
36140static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36141 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36142}
36143static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36144 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36145}
36146static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36147 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36148}
2ef75293 36149static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 36150 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
2ef75293 36151}
d14a1e28 36152static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 36153 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28
RD
36154}
36155static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36156 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36157}
36158static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36159 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36160}
36161static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36162 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36163}
36164static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36165 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36166}
36167static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36168 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36169}
36170static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36171 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36172}
36173static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 36174 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
36175}
36176static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36177 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36178}
36179static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36180 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36181}
36182static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36183 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36184}
36185static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36186 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36187}
36188static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36189 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36190}
36191static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36192 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36193}
36194static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36195 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36196}
36197static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36198 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36199}
36200static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36201 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36202}
36203static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36204 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36205}
53aa7709
RD
36206static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36207 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36208}
d14a1e28
RD
36209static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36210 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36211}
36212static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36213 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36214}
d14a1e28
RD
36215static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36216 return (void *)((wxButton *) ((wxBitmapButton *) x));
36217}
36218static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36219 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36220}
36221static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36222 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36223}
36224static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36225 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36226}
36227static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36228 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36229}
36230static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36231 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36232}
36233static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36234 return (void *)((wxObject *) ((wxSizerItem *) x));
36235}
36236static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36237 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36238}
36239static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36240 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36241}
36242static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36243 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36244}
d14a1e28
RD
36245static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36246 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36247}
36248static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36249 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36250}
36251static void *_p_wxSizerTo_p_wxObject(void *x) {
36252 return (void *)((wxObject *) ((wxSizer *) x));
36253}
36254static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36255 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36256}
36257static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36259}
36260static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36261 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36262}
36263static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36264 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36265}
36266static void *_p_wxEventTo_p_wxObject(void *x) {
36267 return (void *)((wxObject *) ((wxEvent *) x));
36268}
36269static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36270 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36271}
36272static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36273 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36274}
36275static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36276 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36277}
36278static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36280}
36281static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36283}
36284static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36286}
36287static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36288 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36289}
36290static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36291 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36292}
36293static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36294 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36295}
36296static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36297 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36298}
36299static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36300 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36301}
36302static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36303 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36304}
36305static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36307}
36308static void *_p_wxControlTo_p_wxObject(void *x) {
36309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36310}
36311static void *_p_wxPyControlTo_p_wxObject(void *x) {
36312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36313}
36314static void *_p_wxGaugeTo_p_wxObject(void *x) {
36315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36316}
36317static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36318 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36319}
36320static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36322}
36323static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36325}
36326static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36327 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36328}
36329static void *_p_wxChoiceTo_p_wxObject(void *x) {
36330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36331}
36332static void *_p_wxFSFileTo_p_wxObject(void *x) {
36333 return (void *)((wxObject *) ((wxFSFile *) x));
36334}
36335static void *_p_wxPySizerTo_p_wxObject(void *x) {
36336 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36337}
36338static void *_p_wxListViewTo_p_wxObject(void *x) {
36339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36340}
36341static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36343}
36344static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 36345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
36346}
36347static void *_p_wxPyEventTo_p_wxObject(void *x) {
36348 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36349}
36350static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36351 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36352}
2ef75293 36353static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0 36354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
2ef75293 36355}
d14a1e28 36356static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 36357 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28
RD
36358}
36359static void *_p_wxShowEventTo_p_wxObject(void *x) {
36360 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36361}
36362static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36364}
36365static void *_p_wxSliderTo_p_wxObject(void *x) {
36366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36367}
36368static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36369 return (void *)((wxObject *) ((wxMenuItem *) x));
36370}
53aa7709
RD
36371static void *_p_wxDateEventTo_p_wxObject(void *x) {
36372 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36373}
d14a1e28
RD
36374static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36375 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36376}
36377static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36378 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36379}
36380static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36381 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36382}
36383static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36384 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36385}
36386static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36387 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36388}
36389static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36390 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36391}
36392static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36393 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36394}
36395static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36396 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36397}
36398static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36400}
36401static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36402 return (void *)((wxObject *) ((wxContextHelp *) x));
36403}
8ac8dba0
RD
36404static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36406}
d14a1e28
RD
36407static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36408 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36409}
36410static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36411 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36412}
36413static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36414 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36415}
36416static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36417 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36418}
36419static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36420 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36421}
36422static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36423 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36424}
36425static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36426 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36427}
36428static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36429 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36430}
36431static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36432 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36433}
36434static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36435 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36436}
36437static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36438 return (void *)((wxObject *) ((wxImageHandler *) x));
36439}
36440static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36441 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36442}
36443static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36444 return (void *)((wxObject *) ((wxEvtHandler *) x));
36445}
36446static void *_p_wxListEventTo_p_wxObject(void *x) {
36447 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36448}
36449static void *_p_wxListBoxTo_p_wxObject(void *x) {
36450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36451}
36452static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36454}
d14a1e28
RD
36455static void *_p_wxButtonTo_p_wxObject(void *x) {
36456 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36457}
1e0c8722
RD
36458static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36460}
d14a1e28
RD
36461static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36463}
36464static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36466}
e505d15e
RD
36467static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36468 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36469}
1e0c8722
RD
36470static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36471 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36472}
d14a1e28
RD
36473static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36475}
36476static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36478}
36479static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
36481}
36482static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36483 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36484}
36485static void *_p_wxListItemTo_p_wxObject(void *x) {
36486 return (void *)((wxObject *) ((wxListItem *) x));
36487}
36488static void *_p_wxImageTo_p_wxObject(void *x) {
36489 return (void *)((wxObject *) ((wxImage *) x));
36490}
36491static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36492 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36493}
36494static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36495 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36496}
d1e20054
RD
36497static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36499}
e811c8ce
RD
36500static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36501 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36502}
d14a1e28
RD
36503static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36505}
36506static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 36507 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28
RD
36508}
36509static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 36510 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28 36511}
2ef75293 36512static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 36513 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
2ef75293 36514}
d14a1e28
RD
36515static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36516 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36517}
36518static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36519 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36520}
36521static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36522 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36523}
36524static void *_p_wxWindowTo_p_wxObject(void *x) {
36525 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36526}
36527static void *_p_wxMenuTo_p_wxObject(void *x) {
36528 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36529}
36530static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36532}
36533static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36534 return (void *)((wxObject *) ((wxFileSystem *) x));
36535}
36536static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36537 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36538}
36539static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36540 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36541}
36542static void *_p_wxPyAppTo_p_wxObject(void *x) {
36543 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36544}
36545static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36546 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36547}
36548static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36549 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36550}
36551static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36552 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36553}
8ac8dba0
RD
36554static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36555 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36556}
d14a1e28
RD
36557static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36558 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36559}
36560static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36561 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36562}
36563static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36564 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36565}
36566static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36568}
36569static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36570 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36571}
36572static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36573 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36574}
36575static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36576 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36577}
53aa7709
RD
36578static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36580}
d14a1e28
RD
36581static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36583}
36584static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36585 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36586}
36587static void *_p_wxToolBarTo_p_wxObject(void *x) {
36588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36589}
36590static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36591 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36592}
36593static void *_p_wxValidatorTo_p_wxObject(void *x) {
36594 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36595}
36596static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36597 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36598}
d14a1e28
RD
36599static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36600 return (void *)((wxWindow *) ((wxMenuBar *) x));
36601}
8ac8dba0
RD
36602static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36603 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36604}
d14a1e28
RD
36605static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36606 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36607}
36608static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36609 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36610}
36611static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36612 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36613}
d14a1e28
RD
36614static void *_p_wxControlTo_p_wxWindow(void *x) {
36615 return (void *)((wxWindow *) ((wxControl *) x));
36616}
36617static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36618 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36619}
36620static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36621 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36622}
36623static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36624 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36625}
36626static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36627 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36628}
2ef75293
RD
36629static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36630 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36631}
d14a1e28
RD
36632static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36633 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36634}
36635static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36636 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36637}
36638static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36639 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36640}
36641static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36642 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36643}
36644static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36645 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36646}
2ef75293 36647static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 36648 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
2ef75293 36649}
d14a1e28 36650static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 36651 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d14a1e28
RD
36652}
36653static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36654 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36655}
36656static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36657 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36658}
36659static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36660 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36661}
36662static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36663 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36664}
36665static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36666 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36667}
36668static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36669 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36670}
36671static void *_p_wxListViewTo_p_wxWindow(void *x) {
36672 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36673}
36674static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 36675 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d14a1e28
RD
36676}
36677static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36678 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36679}
36680static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36681 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36682}
36683static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36684 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36685}
36686static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36687 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36688}
36689static void *_p_wxSliderTo_p_wxWindow(void *x) {
36690 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36691}
36692static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36693 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36694}
36695static void *_p_wxButtonTo_p_wxWindow(void *x) {
36696 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36697}
36698static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36699 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36700}
36701static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36702 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36703}
53aa7709
RD
36704static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36705 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36706}
d14a1e28
RD
36707static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36708 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36709}
8ac8dba0
RD
36710static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36711 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36712}
36713static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36714 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36715}
36716static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36717 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36718}
d14a1e28
RD
36719static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36720 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36721}
d14a1e28
RD
36722static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36723 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36724}
36725static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36726 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36727}
36728static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36729 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36730}
36731static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36732 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36733}
36734static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36735 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36736}
36737static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36738 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d14a1e28
RD
36739}
36740static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 36741 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d14a1e28 36742}
53aa7709
RD
36743static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36744 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36745}
36746static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36747 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36748}
d14a1e28
RD
36749static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36750 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36751}
2ef75293
RD
36752static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36753 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36754}
8ac8dba0
RD
36755static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36756 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36757}
d14a1e28
RD
36758static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36759 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36760}
d1e20054
RD
36761static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36762 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36763}
d14a1e28
RD
36764static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36765 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36766}
36767static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36768 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36769}
36770static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36771 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36772}
36773static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36774 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36775}
36776static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36777 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36778}
36779static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36780 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36781}
36782static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36783 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36784}
36785static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36786 return (void *)((wxValidator *) ((wxPyValidator *) x));
36787}
15afbcd0 36788static 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 36789static 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
36790static 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}};
36791static 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 36792static 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
36793static 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}};
36794static 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 36795static 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 36796static 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 36797static 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 36798static 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 36799static 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 36800static 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
36801static 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}};
36802static 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}};
36803static 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}};
36804static 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}};
36805static 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}};
36806static 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}};
36807static 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}};
36808static 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
36809static 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}};
36810static 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
36811static 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}};
36812static 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}};
36813static 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}};
36814static 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}};
36815static 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}};
36816static 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}};
36817static 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 36818static 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
36819static 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}};
36820static 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 36821static 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 36822static 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 36823static 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 36824static 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
36825static 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}};
36826static 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}};
36827static 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}};
36828static 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}};
36829static 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}};
36830static 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}};
36831static 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 36832static 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 36833static 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 36834static 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 36835static 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 36836static 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 36837static 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
36838static 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}};
36839static 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}};
36840static 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}};
36841static 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}};
36842static 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}};
36843static 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}};
36844static 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}};
36845static 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 36846static 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 36847static 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
36848static 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}};
36849static 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}};
36850static 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}};
36851static 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}};
36852static 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}};
36853static 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 36854static 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
36855static 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}};
36856static 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}};
36857static 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}};
36858static 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 36859static 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
36860static 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}};
36861static 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 36862static 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 36863static 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 36864static 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 36865static 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 36866static 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 36867static 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 36868static 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
36869static 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}};
36870static 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
36871static 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}};
36872static 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}};
36873static 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 36874static 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 36875static 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 36876static 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 36877static 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 36878static 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 36879static 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
36880static 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}};
36881static 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}};
36882static 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}};
36883static 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}};
36884static 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}};
36885static 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
36886
36887static swig_type_info *swig_types_initial[] = {
36888_swigt__p_wxTextUrlEvent,
d14a1e28 36889_swigt__p_wxSizer,
d14a1e28
RD
36890_swigt__p_wxCheckBox,
36891_swigt__p_wxPyTreeCtrl,
36892_swigt__p_wxEvent,
36893_swigt__p_wxGenericDirCtrl,
36894_swigt__p_bool,
d14a1e28 36895_swigt__p_wxItemContainer,
d14a1e28 36896_swigt__p_wxPyListCtrl,
093d3ff1 36897_swigt__p_wxPyTreeItemData,
74a57fcd 36898_swigt__p_wxDirFilterListCtrl,
d14a1e28
RD
36899_swigt__p_wxStaticLine,
36900_swigt__p_wxControl,
36901_swigt__p_wxPyControl,
36902_swigt__p_wxGauge,
36903_swigt__p_wxToolBarBase,
36904_swigt__p_wxFont,
36905_swigt__p_wxToggleButton,
36906_swigt__p_wxRadioButton,
36907_swigt__p_wxChoice,
e811c8ce 36908_swigt__p_wxMemoryDC,
093d3ff1
RD
36909_swigt__ptrdiff_t,
36910_swigt__std__ptrdiff_t,
d14a1e28 36911_swigt__p_wxListItemAttr,
58203fa6 36912_swigt__p_void,
d14a1e28
RD
36913_swigt__p_int,
36914_swigt__p_wxSize,
e811c8ce 36915_swigt__p_wxDC,
d14a1e28
RD
36916_swigt__p_wxListView,
36917_swigt__p_wxIcon,
74a57fcd 36918_swigt__p_wxVisualAttributes,
d14a1e28
RD
36919_swigt__p_wxTextCtrl,
36920_swigt__p_wxNotebook,
2ef75293 36921_swigt__p_wxChoicebook,
d14a1e28
RD
36922_swigt__p_wxNotifyEvent,
36923_swigt__p_wxArrayString,
093d3ff1 36924_swigt__p_form_ops_t,
d14a1e28
RD
36925_swigt__p_wxListbook,
36926_swigt__p_wxStaticBitmap,
36927_swigt__p_wxSlider,
36928_swigt__p_wxStaticBox,
36929_swigt__p_wxArrayInt,
36930_swigt__p_wxContextHelp,
36931_swigt__p_long,
093d3ff1 36932_swigt__p_wxDuplexMode,
8ac8dba0 36933_swigt__p_wxBookCtrlBase,
d14a1e28
RD
36934_swigt__p_wxEvtHandler,
36935_swigt__p_wxListEvent,
d14a1e28 36936_swigt__p_wxCheckListBox,
74a57fcd 36937_swigt__p_wxListBox,
d14a1e28
RD
36938_swigt__p_wxSpinButton,
36939_swigt__p_wxButton,
36940_swigt__p_wxBitmapButton,
36941_swigt__p_wxRect,
36942_swigt__p_wxContextHelpButton,
36943_swigt__p_wxRadioBox,
36944_swigt__p_wxScrollBar,
994141e6 36945_swigt__p_char,
d14a1e28 36946_swigt__p_wxComboBox,
093d3ff1 36947_swigt__p_wxTreeItemId,
d14a1e28
RD
36948_swigt__p_wxHelpEvent,
36949_swigt__p_wxListItem,
36950_swigt__p_wxNotebookSizer,
d1e20054 36951_swigt__p_wxSpinEvent,
e811c8ce 36952_swigt__p_wxGenericDragImage,
d14a1e28 36953_swigt__p_wxSpinCtrl,
093d3ff1 36954_swigt__p_wxPaperSize,
d14a1e28
RD
36955_swigt__p_wxImageList,
36956_swigt__p_wxHelpProvider,
36957_swigt__p_wxTextAttr,
36958_swigt__p_wxSimpleHelpProvider,
2ef75293 36959_swigt__p_wxChoicebookEvent,
d14a1e28
RD
36960_swigt__p_wxListbookEvent,
36961_swigt__p_wxNotebookEvent,
093d3ff1 36962_swigt__p_wxPoint,
d14a1e28 36963_swigt__p_wxObject,
e811c8ce 36964_swigt__p_wxCursor,
53aa7709 36965_swigt__p_wxDateTime,
d14a1e28 36966_swigt__p_wxKeyEvent,
093d3ff1 36967_swigt__p_unsigned_long,
d14a1e28
RD
36968_swigt__p_wxWindow,
36969_swigt__p_wxString,
36970_swigt__p_wxBitmap,
093d3ff1
RD
36971_swigt__unsigned_int,
36972_swigt__p_unsigned_int,
36973_swigt__p_unsigned_char,
d14a1e28 36974_swigt__p_wxMouseEvent,
8ac8dba0 36975_swigt__p_wxBookCtrlBaseEvent,
093d3ff1 36976_swigt__p_wxTreeEvent,
d14a1e28
RD
36977_swigt__p_wxCommandEvent,
36978_swigt__p_wxStaticText,
53aa7709 36979_swigt__p_wxDatePickerCtrl,
d14a1e28
RD
36980_swigt__p_wxControlWithItems,
36981_swigt__p_wxToolBarToolBase,
36982_swigt__p_wxColour,
36983_swigt__p_wxToolBar,
36984_swigt__p_wxBookCtrlSizer,
36985_swigt__p_wxValidator,
369860
36987};
36988
36989
36990/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36991
36992static swig_const_info swig_const_table[] = {
c32bde28 36993{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
36994
36995#ifdef __cplusplus
36996}
36997#endif
36998
093d3ff1
RD
36999
37000#ifdef __cplusplus
37001extern "C" {
37002#endif
37003
37004 /* Python-specific SWIG API */
37005#define SWIG_newvarlink() SWIG_Python_newvarlink()
37006#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37007#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37008
37009 /* -----------------------------------------------------------------------------
37010 * global variable support code.
37011 * ----------------------------------------------------------------------------- */
37012
37013 typedef struct swig_globalvar {
37014 char *name; /* Name of global variable */
37015 PyObject *(*get_attr)(); /* Return the current value */
37016 int (*set_attr)(PyObject *); /* Set the value */
37017 struct swig_globalvar *next;
37018 } swig_globalvar;
37019
37020 typedef struct swig_varlinkobject {
37021 PyObject_HEAD
37022 swig_globalvar *vars;
37023 } swig_varlinkobject;
37024
37025 static PyObject *
37026 swig_varlink_repr(swig_varlinkobject *v) {
37027 v = v;
37028 return PyString_FromString("<Swig global variables>");
37029 }
37030
37031 static int
37032 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
37033 swig_globalvar *var;
37034 flags = flags;
37035 fprintf(fp,"Swig global variables { ");
37036 for (var = v->vars; var; var=var->next) {
37037 fprintf(fp,"%s", var->name);
37038 if (var->next) fprintf(fp,", ");
37039 }
37040 fprintf(fp," }\n");
37041 return 0;
37042 }
37043
37044 static PyObject *
37045 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37046 swig_globalvar *var = v->vars;
37047 while (var) {
37048 if (strcmp(var->name,n) == 0) {
37049 return (*var->get_attr)();
37050 }
37051 var = var->next;
37052 }
37053 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37054 return NULL;
37055 }
37056
37057 static int
37058 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37059 swig_globalvar *var = v->vars;
37060 while (var) {
37061 if (strcmp(var->name,n) == 0) {
37062 return (*var->set_attr)(p);
37063 }
37064 var = var->next;
37065 }
37066 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37067 return 1;
37068 }
37069
37070 static PyTypeObject varlinktype = {
37071 PyObject_HEAD_INIT(0)
37072 0, /* Number of items in variable part (ob_size) */
37073 (char *)"swigvarlink", /* Type name (tp_name) */
37074 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37075 0, /* Itemsize (tp_itemsize) */
37076 0, /* Deallocator (tp_dealloc) */
37077 (printfunc) swig_varlink_print, /* Print (tp_print) */
37078 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37079 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37080 0, /* tp_compare */
37081 (reprfunc) swig_varlink_repr, /* tp_repr */
37082 0, /* tp_as_number */
37083 0, /* tp_as_sequence */
37084 0, /* tp_as_mapping */
37085 0, /* tp_hash */
37086 0, /* tp_call */
37087 0, /* tp_str */
37088 0, /* tp_getattro */
37089 0, /* tp_setattro */
37090 0, /* tp_as_buffer */
37091 0, /* tp_flags */
37092 0, /* tp_doc */
37093#if PY_VERSION_HEX >= 0x02000000
37094 0, /* tp_traverse */
37095 0, /* tp_clear */
37096#endif
37097#if PY_VERSION_HEX >= 0x02010000
37098 0, /* tp_richcompare */
37099 0, /* tp_weaklistoffset */
37100#endif
37101#if PY_VERSION_HEX >= 0x02020000
37102 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37103#endif
37104#if PY_VERSION_HEX >= 0x02030000
37105 0, /* tp_del */
37106#endif
37107#ifdef COUNT_ALLOCS
37108 0,0,0,0 /* tp_alloc -> tp_next */
37109#endif
37110 };
37111
37112 /* Create a variable linking object for use later */
37113 static PyObject *
37114 SWIG_Python_newvarlink(void) {
37115 swig_varlinkobject *result = 0;
37116 result = PyMem_NEW(swig_varlinkobject,1);
37117 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37118 result->ob_type = &varlinktype;
37119 result->vars = 0;
37120 result->ob_refcnt = 0;
37121 Py_XINCREF((PyObject *) result);
37122 return ((PyObject*) result);
37123 }
37124
37125 static void
37126 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37127 swig_varlinkobject *v;
37128 swig_globalvar *gv;
37129 v= (swig_varlinkobject *) p;
37130 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37131 gv->name = (char *) malloc(strlen(name)+1);
37132 strcpy(gv->name,name);
37133 gv->get_attr = get_attr;
37134 gv->set_attr = set_attr;
37135 gv->next = v->vars;
37136 v->vars = gv;
37137 }
37138
37139 /* -----------------------------------------------------------------------------
37140 * constants/methods manipulation
37141 * ----------------------------------------------------------------------------- */
37142
37143 /* Install Constants */
37144 static void
37145 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37146 PyObject *obj = 0;
37147 size_t i;
37148 for (i = 0; constants[i].type; i++) {
37149 switch(constants[i].type) {
37150 case SWIG_PY_INT:
37151 obj = PyInt_FromLong(constants[i].lvalue);
37152 break;
37153 case SWIG_PY_FLOAT:
37154 obj = PyFloat_FromDouble(constants[i].dvalue);
37155 break;
37156 case SWIG_PY_STRING:
37157 if (constants[i].pvalue) {
37158 obj = PyString_FromString((char *) constants[i].pvalue);
37159 } else {
37160 Py_INCREF(Py_None);
37161 obj = Py_None;
37162 }
37163 break;
37164 case SWIG_PY_POINTER:
37165 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37166 break;
37167 case SWIG_PY_BINARY:
37168 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37169 break;
37170 default:
37171 obj = 0;
37172 break;
37173 }
37174 if (obj) {
37175 PyDict_SetItemString(d,constants[i].name,obj);
37176 Py_DECREF(obj);
37177 }
37178 }
37179 }
37180
37181 /* -----------------------------------------------------------------------------*/
37182 /* Fix SwigMethods to carry the callback ptrs when needed */
37183 /* -----------------------------------------------------------------------------*/
37184
37185 static void
37186 SWIG_Python_FixMethods(PyMethodDef *methods,
37187 swig_const_info *const_table,
37188 swig_type_info **types,
37189 swig_type_info **types_initial) {
37190 size_t i;
37191 for (i = 0; methods[i].ml_name; ++i) {
37192 char *c = methods[i].ml_doc;
37193 if (c && (c = strstr(c, "swig_ptr: "))) {
37194 int j;
37195 swig_const_info *ci = 0;
37196 char *name = c + 10;
37197 for (j = 0; const_table[j].type; j++) {
37198 if (strncmp(const_table[j].name, name,
37199 strlen(const_table[j].name)) == 0) {
37200 ci = &(const_table[j]);
37201 break;
37202 }
37203 }
37204 if (ci) {
37205 size_t shift = (ci->ptype) - types;
37206 swig_type_info *ty = types_initial[shift];
37207 size_t ldoc = (c - methods[i].ml_doc);
37208 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37209 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37210 char *buff = ndoc;
37211 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37212 strncpy(buff, methods[i].ml_doc, ldoc);
37213 buff += ldoc;
37214 strncpy(buff, "swig_ptr: ", 10);
37215 buff += 10;
37216 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37217 methods[i].ml_doc = ndoc;
37218 }
37219 }
37220 }
37221 }
37222
37223 /* -----------------------------------------------------------------------------*
37224 * Initialize type list
37225 * -----------------------------------------------------------------------------*/
37226
37227#if PY_MAJOR_VERSION < 2
37228 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37229 is copied out of Python/modsupport.c in python version 2.3.4 */
37230 static int
37231 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37232 {
37233 PyObject *dict;
37234 if (!PyModule_Check(m)) {
37235 PyErr_SetString(PyExc_TypeError,
37236 "PyModule_AddObject() needs module as first arg");
37237 return -1;
37238 }
37239 if (!o) {
37240 PyErr_SetString(PyExc_TypeError,
37241 "PyModule_AddObject() needs non-NULL value");
37242 return -1;
37243 }
37244
37245 dict = PyModule_GetDict(m);
37246 if (dict == NULL) {
37247 /* Internal error -- modules must have a dict! */
37248 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37249 PyModule_GetName(m));
37250 return -1;
37251 }
37252 if (PyDict_SetItemString(dict, name, o))
37253 return -1;
37254 Py_DECREF(o);
37255 return 0;
37256 }
37257#endif
37258
37259 static swig_type_info **
37260 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37261 static PyMethodDef swig_empty_runtime_method_table[] = {
37262 {
37263 NULL, NULL, 0, NULL
37264 }
37265 };/* Sentinel */
37266
37267 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37268 swig_empty_runtime_method_table);
37269 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37270 if (pointer && module) {
37271 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37272 }
37273 return type_list_handle;
37274 }
37275
37276 static swig_type_info **
37277 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37278 swig_type_info **type_pointer;
37279
37280 /* first check if module already created */
37281 type_pointer = SWIG_Python_GetTypeListHandle();
37282 if (type_pointer) {
37283 return type_pointer;
37284 } else {
37285 /* create a new module and variable */
37286 return SWIG_Python_SetTypeListHandle(type_list_handle);
37287 }
37288 }
37289
37290#ifdef __cplusplus
37291}
37292#endif
37293
37294/* -----------------------------------------------------------------------------*
37295 * Partial Init method
37296 * -----------------------------------------------------------------------------*/
37297
37298#ifdef SWIG_LINK_RUNTIME
37299#ifdef __cplusplus
37300extern "C"
37301#endif
37302SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37303#endif
37304
d14a1e28
RD
37305#ifdef __cplusplus
37306extern "C"
37307#endif
37308SWIGEXPORT(void) SWIG_init(void) {
37309 static PyObject *SWIG_globals = 0;
37310 static int typeinit = 0;
37311 PyObject *m, *d;
37312 int i;
37313 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
37314
37315 /* Fix SwigMethods to carry the callback ptrs when needed */
37316 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37317
d14a1e28
RD
37318 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37319 d = PyModule_GetDict(m);
37320
37321 if (!typeinit) {
093d3ff1
RD
37322#ifdef SWIG_LINK_RUNTIME
37323 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37324#else
37325# ifndef SWIG_STATIC_RUNTIME
37326 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37327# endif
37328#endif
d14a1e28
RD
37329 for (i = 0; swig_types_initial[i]; i++) {
37330 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37331 }
37332 typeinit = 1;
37333 }
37334 SWIG_InstallConstants(d,swig_const_table);
37335
b2dc1044
RD
37336 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37337 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
093d3ff1
RD
37338 {
37339 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37340 }
37341 {
37342 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37343 }
37344 {
37345 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37346 }
37347 {
37348 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37349 }
37350 {
37351 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37352 }
37353 {
37354 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37355 }
37356 {
37357 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37358 }
b2dc1044 37359 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
093d3ff1
RD
37360 {
37361 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37362 }
37363 {
37364 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37365 }
37366 {
37367 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37368 }
37369 {
37370 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37371 }
37372 {
37373 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37374 }
37375 {
37376 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37377 }
b2dc1044
RD
37378 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37379 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37380 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
093d3ff1
RD
37381 {
37382 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37383 }
37384 {
37385 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37386 }
37387 {
37388 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37389 }
37390 {
37391 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37392 }
b2dc1044
RD
37393 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37394 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37395 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37396 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37397 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
093d3ff1
RD
37398 {
37399 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37400 }
37401 {
37402 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37403 }
37404 {
37405 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37406 }
37407 {
37408 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37409 }
37410 {
37411 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37412 }
37413 {
37414 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37415 }
37416 {
37417 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37418 }
37419 {
37420 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37421 }
37422 {
37423 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37424 }
37425 {
37426 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37427 }
37428 {
37429 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37430 }
37431 {
37432 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37433 }
37434 {
37435 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37436 }
37437 {
37438 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37439 }
37440 {
37441 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37442 }
37443 {
08d9e66e 37444 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
093d3ff1
RD
37445 }
37446 {
37447 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37448 }
08d9e66e
RD
37449 {
37450 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37451 }
37452 {
37453 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37454 }
093d3ff1
RD
37455 {
37456 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37457 }
88c6b281
RD
37458 {
37459 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37460 }
093d3ff1
RD
37461 {
37462 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37463 }
37464 {
37465 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37466 }
37467 {
37468 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37469 }
37470 {
37471 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37472 }
37473 {
37474 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37475 }
37476 {
37477 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37478 }
37479 {
37480 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37481 }
37482 {
37483 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37484 }
37485 {
37486 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37487 }
37488 {
37489 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37490 }
37491 {
37492 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37493 }
37494 {
37495 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37496 }
37497 {
37498 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37499 }
37500 {
37501 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37502 }
37503 {
37504 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37505 }
37506 {
37507 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37508 }
37509 {
37510 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37511 }
37512 {
37513 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37514 }
37515 {
37516 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37517 }
37518 {
37519 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37520 }
37521 {
37522 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37523 }
37524 {
37525 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37526 }
37527 {
37528 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37529 }
7557b9b5
RD
37530 {
37531 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37532 }
37533 {
37534 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37535 }
d14a1e28
RD
37536 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37537 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37538 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37539 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
b2dc1044
RD
37540 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37541 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37542 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
093d3ff1
RD
37543 {
37544 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37545 }
37546 {
37547 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37548 }
37549 {
37550 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37551 }
37552 {
37553 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37554 }
d14a1e28 37555 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
b2dc1044
RD
37556 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37557 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37558 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
7557b9b5
RD
37559 {
37560 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37561 }
37562 {
37563 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37564 }
70b7a5fe
RD
37565 {
37566 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
37567 }
7557b9b5
RD
37568 {
37569 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37570 }
37571 {
37572 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37573 }
37574 {
37575 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37576 }
37577 {
37578 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37579 }
37580 {
37581 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37582 }
37583 {
37584 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37585 }
37586 {
37587 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37588 }
37589 {
37590 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37591 }
37592 {
37593 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37594 }
b2dc1044 37595 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
d14a1e28 37596 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 37597 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
093d3ff1
RD
37598 {
37599 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37600 }
37601 {
37602 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37603 }
37604 {
37605 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37606 }
37607 {
37608 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37609 }
37610 {
37611 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37612 }
37613 {
37614 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37615 }
8e738329
RD
37616 {
37617 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37618 }
093d3ff1
RD
37619 {
37620 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37621 }
37622 {
37623 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37624 }
37625 {
37626 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37627 }
37628 {
37629 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37630 }
d14a1e28
RD
37631 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37632 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
093d3ff1
RD
37633 {
37634 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37635 }
37636 {
37637 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37638 }
37639 {
37640 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37641 }
37642 {
37643 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37644 }
37645 {
37646 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37647 }
37648 {
37649 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37650 }
d14a1e28
RD
37651 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37652 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
093d3ff1
RD
37653 {
37654 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37655 }
37656 {
37657 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37658 }
37659 {
37660 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37661 }
37662 {
37663 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37664 }
37665 {
37666 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37667 }
37668 {
37669 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37670 }
2ef75293
RD
37671 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37672 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
093d3ff1
RD
37673 {
37674 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37675 }
37676 {
37677 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37678 }
37679 {
37680 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37681 }
37682 {
37683 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37684 }
37685 {
37686 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37687 }
37688 {
37689 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37690 }
37691 {
37692 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37693 }
37694 {
37695 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37696 }
37697 {
37698 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37699 }
37700 {
37701 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37702 }
37703 {
37704 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37705 }
37706 {
37707 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37708 }
37709 {
37710 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37711 }
37712 {
37713 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37714 }
b2dc1044 37715 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
093d3ff1
RD
37716 {
37717 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37718 }
37719 {
37720 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37721 }
37722 {
37723 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37724 }
37725 {
37726 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37727 }
37728 {
37729 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37730 }
37731 {
37732 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37733 }
37734 {
37735 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37736 }
37737 {
37738 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37739 }
37740 {
37741 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37742 }
37743 {
37744 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37745 }
37746 {
37747 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37748 }
37749 {
37750 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37751 }
37752 {
37753 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37754 }
37755 {
37756 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37757 }
37758 {
37759 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37760 }
37761 {
37762 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37763 }
37764 {
37765 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37766 }
37767 {
37768 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37769 }
37770 {
37771 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37772 }
37773 {
37774 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37775 }
37776 {
37777 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37778 }
37779 {
37780 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37781 }
37782 {
37783 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37784 }
37785 {
37786 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37787 }
37788 {
37789 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37790 }
37791 {
37792 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37793 }
37794 {
37795 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37796 }
37797 {
37798 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37799 }
37800 {
37801 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37802 }
37803 {
37804 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37805 }
37806 {
37807 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37808 }
37809 {
37810 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37811 }
37812 {
37813 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37814 }
37815 {
37816 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37817 }
37818 {
37819 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37820 }
37821 {
37822 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37823 }
37824 {
37825 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37826 }
37827 {
37828 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37829 }
37830 {
37831 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37832 }
37833 {
37834 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37835 }
37836 {
37837 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37838 }
37839 {
37840 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37841 }
37842 {
37843 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37844 }
37845 {
37846 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37847 }
37848 {
37849 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37850 }
37851 {
37852 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37853 }
37854 {
37855 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37856 }
37857 {
37858 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37859 }
37860 {
37861 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37862 }
37863 {
37864 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37865 }
37866 {
37867 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37868 }
37869 {
37870 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37871 }
37872 {
37873 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37874 }
37875 {
37876 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37877 }
37878 {
37879 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37880 }
37881 {
37882 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37883 }
37884 {
37885 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37886 }
37887 {
37888 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37889 }
37890 {
37891 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37892 }
37893 {
37894 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37895 }
37896 {
37897 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37898 }
37899 {
37900 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37901 }
37902 {
37903 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37904 }
37905 {
37906 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37907 }
37908 {
37909 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37910 }
37911 {
37912 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37913 }
37914 {
37915 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37916 }
37917 {
37918 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37919 }
d14a1e28
RD
37920 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37921 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37922 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37923 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37924 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37925 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
d14a1e28
RD
37926 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37927 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37928 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37929 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37930 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37931 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37932 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37933 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37934 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37935 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37936 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37937 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37938 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37939 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
7557b9b5
RD
37940 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37941 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
d14a1e28
RD
37942
37943 // Map renamed classes back to their common name for OOR
37944 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37945
b2dc1044 37946 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
093d3ff1
RD
37947 {
37948 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37949 }
37950 {
37951 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37952 }
37953 {
37954 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37955 }
37956 {
37957 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37958 }
37959 {
37960 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37961 }
37962 {
37963 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37964 }
37965 {
37966 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37967 }
37968 {
37969 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37970 }
37971 {
37972 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37973 }
37974 {
37975 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37976 }
37977 {
37978 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37979 }
37980 {
37981 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37982 }
37983 {
37984 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37985 }
37986 {
37987 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37988 }
37989 {
37990 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37991 }
37992 {
37993 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37994 }
37995 {
37996 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37997 }
37998 {
37999 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
38000 }
38001 {
38002 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
38003 }
38004 {
38005 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
38006 }
38007 {
38008 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
38009 }
38010 {
38011 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
38012 }
38013 {
38014 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
38015 }
38016 {
38017 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
38018 }
38019 {
38020 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
38021 }
38022 {
38023 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
38024 }
38025 {
38026 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
38027 }
38028 {
38029 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
38030 }
38031 {
38032 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
38033 }
38034 {
38035 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
38036 }
38037 {
38038 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
38039 }
38040 {
38041 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
38042 }
38043 {
38044 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
38045 }
38046 {
38047 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
38048 }
38049 {
38050 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
38051 }
d14a1e28
RD
38052 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38053 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38054 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38055 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38056 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38057 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38058 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38059 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38060 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38061 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38062 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38063 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38064 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38065 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38066 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38067 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38068 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38069 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38070 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
c9c7117a 38071 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
e505d15e 38072 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d14a1e28
RD
38073
38074 // Map renamed classes back to their common name for OOR
38075 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38076 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38077
b2dc1044 38078 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
093d3ff1
RD
38079 {
38080 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38081 }
38082 {
38083 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38084 }
38085 {
38086 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38087 }
38088 {
38089 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38090 }
38091 {
38092 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38093 }
38094 {
38095 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38096 }
38097 {
38098 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38099 }
d14a1e28
RD
38100 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38101 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
e811c8ce
RD
38102
38103 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38104
53aa7709
RD
38105 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38106 {
38107 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38108 }
38109 {
38110 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38111 }
38112 {
38113 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38114 }
38115 {
38116 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38117 }
38118 {
38119 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38120 }
d14a1e28
RD
38121}
38122