]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_controls_wrap.cpp
Updates for MouseGestures
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
36ed4f51 3 * Version 1.3.24
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d55e5bfc
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 26};
d55e5bfc
RD
27#endif
28
29
36ed4f51
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
d55e5bfc 37
d55e5bfc 38
36ed4f51 39#include <Python.h>
d55e5bfc
RD
40
41/***********************************************************************
36ed4f51 42 * swigrun.swg
d55e5bfc 43 *
36ed4f51
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d55e5bfc
RD
46 *
47 ************************************************************************/
48
36ed4f51
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
d55e5bfc 52
36ed4f51
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 58#else
36ed4f51 59#define SWIG_TYPE_TABLE_NAME
d55e5bfc
RD
60#endif
61
36ed4f51
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d55e5bfc 67#else
36ed4f51
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
85#endif
86
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
36ed4f51
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
218
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
283
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
306
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
d55e5bfc 375
36ed4f51
RD
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
d55e5bfc 417
36ed4f51
RD
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
d55e5bfc
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
36ed4f51
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
d55e5bfc 441 *
36ed4f51 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d55e5bfc 443 *
36ed4f51
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
d55e5bfc
RD
448 ************************************************************************/
449
36ed4f51
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
d55e5bfc
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
d55e5bfc 465
36ed4f51 466/*************************************************************************/
d55e5bfc 467
d55e5bfc 468
36ed4f51 469/* The static type info list */
d55e5bfc 470
36ed4f51
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d55e5bfc 474
36ed4f51
RD
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
d55e5bfc 480
36ed4f51
RD
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
d55e5bfc 486
36ed4f51
RD
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
d55e5bfc 492
36ed4f51
RD
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
d55e5bfc
RD
502
503#ifdef __cplusplus
504}
505#endif
506
36ed4f51
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d55e5bfc 510
36ed4f51
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c370783e 514
36ed4f51
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d55e5bfc 518
36ed4f51
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d55e5bfc 522
36ed4f51
RD
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
d55e5bfc
RD
530
531
36ed4f51
RD
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
d55e5bfc 551
36ed4f51
RD
552/* Constant Types */
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
d55e5bfc 568
c370783e 569
36ed4f51
RD
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
c370783e
RD
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
576
577#ifdef __cplusplus
36ed4f51
RD
578}
579#endif
d55e5bfc 580
d55e5bfc 581
36ed4f51
RD
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
d55e5bfc 591
36ed4f51
RD
592/* Common SWIG API */
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
d55e5bfc 597
36ed4f51
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 601
d55e5bfc 602
36ed4f51
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
d55e5bfc 614
36ed4f51
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 618
d55e5bfc 619
36ed4f51
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
d55e5bfc 623
36ed4f51
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
d55e5bfc 627
36ed4f51
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
d55e5bfc 631
36ed4f51
RD
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
d55e5bfc 637
36ed4f51
RD
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
643
644/* Declarations for objects of type PySwigObject */
645
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 648{
36ed4f51
RD
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
d55e5bfc 655 }
36ed4f51
RD
656}
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
660{
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
d55e5bfc
RD
664}
665
36ed4f51
RD
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
668{
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672}
d55e5bfc 673
36ed4f51
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
d55e5bfc 676{
36ed4f51
RD
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678}
679
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
682{
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
d55e5bfc
RD
690}
691
36ed4f51
RD
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
694{
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698}
d55e5bfc 699
36ed4f51
RD
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702{
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
c370783e 706 } else {
36ed4f51
RD
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
c370783e 710 }
d55e5bfc 711}
36ed4f51
RD
712
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
c370783e 715{
36ed4f51 716 PyObject_DEL(self);
c370783e 717}
36ed4f51
RD
718
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
d55e5bfc 789#endif
36ed4f51
RD
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792#endif
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795#endif
796 };
d55e5bfc 797
36ed4f51
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
d55e5bfc 801
36ed4f51
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];
36ed4f51
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
c370783e 1538SWIG_As_int(PyObject* obj)
d55e5bfc 1539{
c370783e
RD
1540 int v;
1541 if (!SWIG_AsVal_int(obj, &v)) {
1542 /*
36ed4f51 1543 this is needed to make valgrind/purify happier.
c370783e
RD
1544 */
1545 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1546 }
c370783e 1547 return v;
d55e5bfc
RD
1548}
1549
1550
36ed4f51 1551SWIGINTERNSHORT long
c370783e 1552SWIG_As_long(PyObject* obj)
d55e5bfc 1553{
c370783e
RD
1554 long v;
1555 if (!SWIG_AsVal_long(obj, &v)) {
1556 /*
36ed4f51 1557 this is needed to make valgrind/purify happier.
c370783e
RD
1558 */
1559 memset((void*)&v, 0, sizeof(long));
d55e5bfc 1560 }
c370783e 1561 return v;
d55e5bfc
RD
1562}
1563
c370783e 1564
36ed4f51 1565SWIGINTERNSHORT int
c370783e
RD
1566SWIG_Check_int(PyObject* obj)
1567{
1568 return SWIG_AsVal_int(obj, (int*)0);
1569}
d55e5bfc 1570
c370783e 1571
36ed4f51 1572SWIGINTERNSHORT int
c370783e 1573SWIG_Check_long(PyObject* obj)
d55e5bfc 1574{
c370783e 1575 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
1576}
1577
c370783e 1578 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 1579
36ed4f51 1580SWIGINTERN int
c370783e 1581 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 1582{
c370783e
RD
1583 if (obj == Py_True) {
1584 if (val) *val = true;
1585 return 1;
1586 }
1587 if (obj == Py_False) {
1588 if (val) *val = false;
d55e5bfc
RD
1589 return 1;
1590 }
c370783e
RD
1591 int res = 0;
1592 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1593 if (val) *val = res ? true : false;
c370783e 1594 return 1;
36ed4f51
RD
1595 } else {
1596 PyErr_Clear();
1597 }
c370783e 1598 if (val) {
36ed4f51 1599 SWIG_type_error("bool", obj);
c370783e
RD
1600 }
1601 return 0;
1602}
1603
1604
36ed4f51 1605SWIGINTERNSHORT bool
c370783e
RD
1606SWIG_As_bool(PyObject* obj)
1607{
1608 bool v;
1609 if (!SWIG_AsVal_bool(obj, &v)) {
1610 /*
36ed4f51 1611 this is needed to make valgrind/purify happier.
c370783e
RD
1612 */
1613 memset((void*)&v, 0, sizeof(bool));
1614 }
1615 return v;
1616}
1617
1618
36ed4f51 1619SWIGINTERNSHORT int
c370783e
RD
1620SWIG_Check_bool(PyObject* obj)
1621{
1622 return SWIG_AsVal_bool(obj, (bool*)0);
d55e5bfc
RD
1623}
1624
1625 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1626 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
36ed4f51
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
d55e5bfc
RD
1632 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1633 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1634 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1635 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1636
1637#include <wx/checklst.h>
1638
1639
1640 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
36ed4f51 1641static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d55e5bfc
RD
1642 if (clientData) {
1643 wxPyClientData* data = new wxPyClientData(clientData);
1644 self->Insert(item, pos, data);
1645 } else
1646 self->Insert(item, pos);
1647 }
36ed4f51 1648static PyObject *wxListBox_GetSelections(wxListBox *self){
d55e5bfc
RD
1649 wxArrayInt lst;
1650 self->GetSelections(lst);
1651 PyObject *tup = PyTuple_New(lst.GetCount());
1652 for(size_t i=0; i<lst.GetCount(); i++) {
1653 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1654 }
1655 return tup;
1656 }
36ed4f51 1657static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1658 #ifdef __WXMSW__
1659 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1660 self->GetItem(item)->SetTextColour(c);
1661 #endif
1662 }
36ed4f51 1663static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1664 #ifdef __WXMSW__
1665 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1666 self->GetItem(item)->SetBackgroundColour(c);
1667 #endif
1668 }
36ed4f51 1669static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
1670 #ifdef __WXMSW__
1671 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1672 self->GetItem(item)->SetFont(f);
1673 #endif
1674 }
1675 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1676
c370783e 1677 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d55e5bfc
RD
1678 PyObject* o2;
1679 PyObject* o3;
c370783e 1680
d55e5bfc
RD
1681 if (!target) {
1682 target = o;
1683 } else if (target == Py_None) {
1684 Py_DECREF(Py_None);
1685 target = o;
629e65c2
RD
1686 } else {
1687 if (!PyTuple_Check(target)) {
1688 o2 = target;
1689 target = PyTuple_New(1);
1690 PyTuple_SetItem(target, 0, o2);
1691 }
d55e5bfc
RD
1692 o3 = PyTuple_New(1);
1693 PyTuple_SetItem(o3, 0, o);
1694
1695 o2 = target;
1696 target = PySequence_Concat(o2, o3);
1697 Py_DECREF(o2);
1698 Py_DECREF(o3);
1699 }
1700 return target;
629e65c2 1701 }
d55e5bfc
RD
1702
1703
c370783e 1704
36ed4f51 1705SWIGINTERN int
c370783e 1706SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1707{
c370783e
RD
1708 long v = 0;
1709 if (SWIG_AsVal_long(obj, &v) && v < 0) {
36ed4f51 1710 SWIG_type_error("unsigned number", obj);
d55e5bfc 1711 }
c370783e
RD
1712 else if (val)
1713 *val = (unsigned long)v;
1714 return 1;
d55e5bfc
RD
1715}
1716
1717
36ed4f51 1718SWIGINTERNSHORT unsigned long
c370783e 1719SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1720{
c370783e
RD
1721 unsigned long v;
1722 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1723 /*
36ed4f51 1724 this is needed to make valgrind/purify happier.
c370783e
RD
1725 */
1726 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1727 }
c370783e
RD
1728 return v;
1729}
1730
1731
36ed4f51 1732SWIGINTERNSHORT int
c370783e
RD
1733SWIG_Check_unsigned_SS_long(PyObject* obj)
1734{
1735 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1736}
1737
36ed4f51 1738static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
1739 self->AppendText(text);
1740 }
36ed4f51 1741static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
1742 return self->GetValue().Mid(from, to - from);
1743 }
1744 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1745 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1746 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1747 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1748 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1749
1750#include <wx/slider.h>
1751
1752
1753 static const wxString wxPySliderNameStr(wxSliderNameStr);
1754 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1755
1756#if !wxUSE_TOGGLEBTN
1757// implement dummy items for platforms that don't have this class
1758
1759#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1760
1761class wxToggleButton : public wxControl
1762{
1763public:
1764 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1765 const wxPoint&, const wxSize&, long,
1766 const wxValidator&, const wxString&)
1767 { wxPyRaiseNotImplemented(); }
1768
1769 wxToggleButton()
1770 { wxPyRaiseNotImplemented(); }
1771};
1772#endif
1773
51b83b37 1774 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 1775
36ed4f51 1776SWIGINTERNSHORT PyObject*
c370783e 1777 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1778{
1779 return (value > LONG_MAX) ?
1780 PyLong_FromUnsignedLong(value)
36ed4f51 1781 : PyInt_FromLong((long)(value));
d55e5bfc
RD
1782}
1783
1784 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
36ed4f51 1785static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
1786 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1787 if (udata) {
1788 Py_INCREF(udata->m_obj);
1789 return udata->m_obj;
1790 } else {
1791 Py_INCREF(Py_None);
1792 return Py_None;
1793 }
1794 }
36ed4f51 1795static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
1796 self->SetClientData(new wxPyUserData(clientData));
1797 }
36ed4f51 1798static wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d55e5bfc
RD
1799 wxPyUserData* udata = NULL;
1800 if (clientData && clientData != Py_None)
1801 udata = new wxPyUserData(clientData);
1802 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1803 shortHelp, longHelp, udata);
1804 }
36ed4f51 1805static wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d55e5bfc
RD
1806 wxPyUserData* udata = NULL;
1807 if (clientData && clientData != Py_None)
1808 udata = new wxPyUserData(clientData);
1809 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1810 shortHelp, longHelp, udata);
1811 }
36ed4f51 1812static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
1813 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1814 if (udata) {
1815 Py_INCREF(udata->m_obj);
1816 return udata->m_obj;
1817 } else {
1818 Py_INCREF(Py_None);
1819 return Py_None;
1820 }
1821 }
36ed4f51 1822static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
1823 self->SetToolClientData(id, new wxPyUserData(clientData));
1824 }
1825
1826#include <wx/listctrl.h>
1827
fef4c27a 1828 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
36ed4f51 1829static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
1830 // Python aware sorting function for wxPyListCtrl
1831 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1832 int retval = 0;
1833 PyObject* func = (PyObject*)funcPtr;
1834 bool blocked = wxPyBeginBlockThreads();
1835
1836 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1837 PyObject* result = PyEval_CallObject(func, args);
1838 Py_DECREF(args);
1839 if (result) {
1840 retval = PyInt_AsLong(result);
1841 Py_DECREF(result);
1842 }
1843
1844 wxPyEndBlockThreads(blocked);
1845 return retval;
1846 }
1847
1848 // C++ Version of a Python aware class
1849class wxPyListCtrl : public wxListCtrl {
1850 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1851public:
1852 wxPyListCtrl() : wxListCtrl() {}
1853 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1854 const wxPoint& pos,
1855 const wxSize& size,
1856 long style,
1857 const wxValidator& validator,
1858 const wxString& name) :
1859 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1860
1861 bool Create(wxWindow* parent, wxWindowID id,
1862 const wxPoint& pos,
1863 const wxSize& size,
1864 long style,
1865 const wxValidator& validator,
1866 const wxString& name) {
1867 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1868 }
1869
1870 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
1871 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1872
84f85550
RD
1873 // use the virtual version to avoid a confusing assert in the base class
1874 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1875
d55e5bfc
RD
1876 PYPRIVATE;
1877};
1878
1879IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1880
1881IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 1882IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550
RD
1883IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1884
d55e5bfc 1885
36ed4f51 1886static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
1887 wxListItem item;
1888 item.SetMask( wxLIST_MASK_STATE |
1889 wxLIST_MASK_TEXT |
1890 wxLIST_MASK_IMAGE |
1891 wxLIST_MASK_DATA |
1892 wxLIST_SET_ITEM |
1893 wxLIST_MASK_WIDTH |
1894 wxLIST_MASK_FORMAT
1895 );
1896 if (self->GetColumn(col, item))
1897 return new wxListItem(item);
1898 else
1899 return NULL;
1900 }
36ed4f51 1901static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
1902 wxListItem* info = new wxListItem;
1903 info->m_itemId = itemId;
1904 info->m_col = col;
1905 info->m_mask = 0xFFFF;
1906 self->GetItem(*info);
1907 return info;
1908 }
36ed4f51 1909static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
1910 wxPoint pos;
1911 self->GetItemPosition(item, pos);
1912 return pos;
1913 }
36ed4f51 1914static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
1915 wxRect rect;
1916 self->GetItemRect(item, rect, code);
1917 return rect;
1918 }
c370783e 1919
36ed4f51 1920static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 1921 if (!PyCallable_Check(func))
b411df4a 1922 return false;
d55e5bfc
RD
1923 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1924 }
36ed4f51 1925static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
1926
1927
1928
1929 return (wxWindow*)self->m_mainWin;
1930
1931 }
1932
1933#include <wx/treectrl.h>
1934#include "wx/wxPython/pytree.h"
1935
1936 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
36ed4f51
RD
1937static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1938static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1939static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d55e5bfc
RD
1940 // C++ version of Python aware wxTreeCtrl
1941class wxPyTreeCtrl : public wxTreeCtrl {
1942 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1943public:
1944 wxPyTreeCtrl() : wxTreeCtrl() {}
1945 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1946 const wxPoint& pos,
1947 const wxSize& size,
1948 long style,
1949 const wxValidator& validator,
1950 const wxString& name) :
1951 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1952
1953 bool Create(wxWindow *parent, wxWindowID id,
1954 const wxPoint& pos,
1955 const wxSize& size,
1956 long style,
1957 const wxValidator& validator,
1958 const wxString& name) {
1959 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1960 }
1961
1962
1963 int OnCompareItems(const wxTreeItemId& item1,
1964 const wxTreeItemId& item2) {
1965 int rval = 0;
1966 bool found;
1967 bool blocked = wxPyBeginBlockThreads();
1968 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
b411df4a
RD
1969 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1970 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
1971 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1972 Py_DECREF(o1);
1973 Py_DECREF(o2);
1974 }
1975 wxPyEndBlockThreads(blocked);
1976 if (! found)
1977 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1978 return rval;
1979 }
1980 PYPRIVATE;
1981};
1982
1983IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1984
1985
1986
1987#if UINT_MAX < LONG_MAX
36ed4f51 1988/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1989#define SWIG_From_unsigned_SS_int SWIG_From_long
1990/*@@*/
d55e5bfc 1991#else
36ed4f51 1992/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1993#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1994/*@@*/
d55e5bfc
RD
1995#endif
1996
1997
36ed4f51 1998SWIGINTERNSHORT int
c370783e
RD
1999 SWIG_CheckUnsignedLongInRange(unsigned long value,
2000 unsigned long max_value,
2001 const char *errmsg)
d55e5bfc 2002{
c370783e
RD
2003 if (value > max_value) {
2004 if (errmsg) {
2005 PyErr_Format(PyExc_OverflowError,
36ed4f51 2006 "value %lu is greater than '%s' minimum %lu",
c370783e 2007 value, errmsg, max_value);
d55e5bfc 2008 }
c370783e 2009 return 0;
d55e5bfc 2010 }
c370783e
RD
2011 return 1;
2012 }
d55e5bfc
RD
2013
2014
2015#if UINT_MAX != ULONG_MAX
36ed4f51 2016SWIGINTERN int
c370783e 2017 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
d55e5bfc 2018{
36ed4f51 2019 const char* errmsg = val ? "unsigned int" : (char*)0;
c370783e
RD
2020 unsigned long v;
2021 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2022 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
36ed4f51 2023 if (val) *val = (unsigned int)(v);
c370783e
RD
2024 return 1;
2025 }
2026 } else {
2027 PyErr_Clear();
2028 }
2029 if (val) {
36ed4f51 2030 SWIG_type_error(errmsg, obj);
c370783e
RD
2031 }
2032 return 0;
d55e5bfc
RD
2033}
2034#else
36ed4f51 2035SWIGINTERNSHORT unsigned int
c370783e
RD
2036 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2037{
2038 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2039}
d55e5bfc
RD
2040#endif
2041
2042
36ed4f51 2043SWIGINTERNSHORT unsigned int
c370783e 2044SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 2045{
c370783e
RD
2046 unsigned int v;
2047 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2048 /*
36ed4f51 2049 this is needed to make valgrind/purify happier.
c370783e
RD
2050 */
2051 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 2052 }
c370783e
RD
2053 return v;
2054}
2055
2056
36ed4f51 2057SWIGINTERNSHORT int
c370783e
RD
2058SWIG_Check_unsigned_SS_int(PyObject* obj)
2059{
2060 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
2061}
2062
36ed4f51 2063static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2064 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2065 if (data == NULL) {
2066 data = new wxPyTreeItemData();
2067 data->SetId(item); // set the id
2068 self->SetItemData(item, data);
2069 }
2070 return data;
2071 }
36ed4f51 2072static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2073 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2074 if (data == NULL) {
2075 data = new wxPyTreeItemData();
2076 data->SetId(item); // set the id
2077 self->SetItemData(item, data);
2078 }
2079 return data->GetData();
2080 }
36ed4f51 2081static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
2082 data->SetId(item); // set the id
2083 self->SetItemData(item, data);
2084 }
36ed4f51 2085static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
2086 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2087 if (data == NULL) {
2088 data = new wxPyTreeItemData(obj);
2089 data->SetId(item); // set the id
2090 self->SetItemData(item, data);
2091 } else
2092 data->SetData(obj);
2093 }
36ed4f51 2094static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
d55e5bfc
RD
2095 bool blocked = wxPyBeginBlockThreads();
2096 PyObject* rval = PyList_New(0);
2097 wxArrayTreeItemIds array;
2098 size_t num, x;
2099 num = self->GetSelections(array);
2100 for (x=0; x < num; x++) {
2101 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
b411df4a 2102 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 2103 PyList_Append(rval, item);
68e533f8 2104 Py_DECREF(item);
d55e5bfc
RD
2105 }
2106 wxPyEndBlockThreads(blocked);
2107 return rval;
2108 }
36ed4f51 2109static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2110 void* cookie = 0;
2111 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2112 bool blocked = wxPyBeginBlockThreads();
2113 PyObject* tup = PyTuple_New(2);
b411df4a 2114 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2115 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2116 wxPyEndBlockThreads(blocked);
2117 return tup;
2118 }
36ed4f51 2119static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc
RD
2120 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2121 bool blocked = wxPyBeginBlockThreads();
2122 PyObject* tup = PyTuple_New(2);
b411df4a 2123 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2124 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2125 wxPyEndBlockThreads(blocked);
2126 return tup;
2127 }
36ed4f51 2128static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
2129 wxRect rect;
2130 if (self->GetBoundingRect(item, rect, textOnly)) {
2131 bool blocked = wxPyBeginBlockThreads();
2132 wxRect* r = new wxRect(rect);
b411df4a 2133 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
2134 wxPyEndBlockThreads(blocked);
2135 return val;
2136 }
2137 else
2138 RETURN_NONE();
2139 }
2140 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c370783e 2141
36ed4f51 2142SWIGINTERNSHORT PyObject*
c370783e
RD
2143 SWIG_From_bool(bool value)
2144{
2145 PyObject *obj = value ? Py_True : Py_False;
2146 Py_INCREF(obj);
2147 return obj;
2148}
2149
2150
d55e5bfc
RD
2151 // C++ version of Python aware wxControl
2152class wxPyControl : public wxControl
2153{
2154 DECLARE_DYNAMIC_CLASS(wxPyControl)
2155public:
2156 wxPyControl() : wxControl() {}
2157 wxPyControl(wxWindow* parent, const wxWindowID id,
2158 const wxPoint& pos = wxDefaultPosition,
2159 const wxSize& size = wxDefaultSize,
2160 long style = 0,
2161 const wxValidator& validator=wxDefaultValidator,
2162 const wxString& name = wxPyControlNameStr)
2163 : wxControl(parent, id, pos, size, style, validator, name) {}
2164
a5ee0656 2165 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc
RD
2166
2167 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2168 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2169 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2171
2172 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2175
2176 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2177 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2178
2179 DEC_PYCALLBACK__(InitDialog);
2180 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2181 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2182 DEC_PYCALLBACK_BOOL_(Validate);
2183
2184 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2186 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2187
2188 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2189 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2190
a5ee0656 2191 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2192 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
a5ee0656 2193 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2194
51b83b37
RD
2195 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2196
d55e5bfc
RD
2197 PYPRIVATE;
2198};
2199
2200IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2201
2202IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2203IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2204IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2205IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2206
2207IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2208IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2209IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2210
2211IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2212IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2213
2214IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2215IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2216IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2217IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2218
2219IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2220IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2221IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2222
2223IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2224IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2225
a5ee0656 2226IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
d55e5bfc 2227IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
a5ee0656 2228IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 2229
51b83b37
RD
2230IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2231
d55e5bfc
RD
2232
2233
36ed4f51 2234static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
2235
2236#include <wx/generic/dragimgg.h>
2237
53aa7709
RD
2238 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2239static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2240 wxDateTime rv;
2241 self->GetRange(&rv, NULL);
2242 return rv;
2243 }
2244static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2245 wxDateTime rv;
2246 self->GetRange(NULL, &rv);
2247 return rv;
2248 }
d55e5bfc
RD
2249#ifdef __cplusplus
2250extern "C" {
2251#endif
c370783e 2252static int _wrap_ButtonNameStr_set(PyObject *) {
d55e5bfc
RD
2253 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2254 return 1;
2255}
2256
2257
36ed4f51 2258static PyObject *_wrap_ButtonNameStr_get(void) {
d55e5bfc
RD
2259 PyObject *pyobj;
2260
2261 {
2262#if wxUSE_UNICODE
2263 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2264#else
2265 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2266#endif
2267 }
2268 return pyobj;
2269}
2270
2271
c370783e 2272static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2273 PyObject *resultobj;
2274 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
2275 int arg2 = (int) -1 ;
2276 wxString const &arg3_defvalue = wxPyEmptyString ;
2277 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
2278 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2279 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2280 wxSize const &arg5_defvalue = wxDefaultSize ;
2281 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2282 long arg6 = (long) 0 ;
2283 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2284 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2285 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2286 wxString *arg8 = (wxString *) &arg8_defvalue ;
2287 wxButton *result;
b411df4a 2288 bool temp3 = false ;
d55e5bfc
RD
2289 wxPoint temp4 ;
2290 wxSize temp5 ;
b411df4a 2291 bool temp8 = false ;
d55e5bfc
RD
2292 PyObject * obj0 = 0 ;
2293 PyObject * obj1 = 0 ;
2294 PyObject * obj2 = 0 ;
2295 PyObject * obj3 = 0 ;
2296 PyObject * obj4 = 0 ;
2297 PyObject * obj5 = 0 ;
2298 PyObject * obj6 = 0 ;
2299 PyObject * obj7 = 0 ;
2300 char *kwnames[] = {
2301 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2302 };
2303
bfddbb17 2304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
2305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2306 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2307 if (obj1) {
36ed4f51
RD
2308 {
2309 arg2 = (int)(SWIG_As_int(obj1));
2310 if (SWIG_arg_fail(2)) SWIG_fail;
2311 }
bfddbb17
RD
2312 }
2313 if (obj2) {
2314 {
2315 arg3 = wxString_in_helper(obj2);
2316 if (arg3 == NULL) SWIG_fail;
b411df4a 2317 temp3 = true;
bfddbb17 2318 }
d55e5bfc
RD
2319 }
2320 if (obj3) {
2321 {
2322 arg4 = &temp4;
2323 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2324 }
2325 }
2326 if (obj4) {
2327 {
2328 arg5 = &temp5;
2329 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2330 }
2331 }
2332 if (obj5) {
36ed4f51
RD
2333 {
2334 arg6 = (long)(SWIG_As_long(obj5));
2335 if (SWIG_arg_fail(6)) SWIG_fail;
2336 }
d55e5bfc
RD
2337 }
2338 if (obj6) {
36ed4f51
RD
2339 {
2340 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2341 if (SWIG_arg_fail(7)) SWIG_fail;
2342 if (arg7 == NULL) {
2343 SWIG_null_ref("wxValidator");
2344 }
2345 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2346 }
2347 }
2348 if (obj7) {
2349 {
2350 arg8 = wxString_in_helper(obj7);
2351 if (arg8 == NULL) SWIG_fail;
b411df4a 2352 temp8 = true;
d55e5bfc
RD
2353 }
2354 }
2355 {
0439c23b 2356 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2357 PyThreadState* __tstate = wxPyBeginAllowThreads();
2358 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2359
2360 wxPyEndAllowThreads(__tstate);
110da5b0 2361 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2362 }
b0f7404b 2363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2364 {
2365 if (temp3)
2366 delete arg3;
2367 }
2368 {
2369 if (temp8)
2370 delete arg8;
2371 }
2372 return resultobj;
2373 fail:
2374 {
2375 if (temp3)
2376 delete arg3;
2377 }
2378 {
2379 if (temp8)
2380 delete arg8;
2381 }
2382 return NULL;
2383}
2384
2385
c370783e 2386static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2387 PyObject *resultobj;
2388 wxButton *result;
2389 char *kwnames[] = {
2390 NULL
2391 };
2392
2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2394 {
0439c23b 2395 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2396 PyThreadState* __tstate = wxPyBeginAllowThreads();
2397 result = (wxButton *)new wxButton();
2398
2399 wxPyEndAllowThreads(__tstate);
110da5b0 2400 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2401 }
b0f7404b 2402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2403 return resultobj;
2404 fail:
2405 return NULL;
2406}
2407
2408
c370783e 2409static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2410 PyObject *resultobj;
2411 wxButton *arg1 = (wxButton *) 0 ;
2412 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
2413 int arg3 = (int) -1 ;
2414 wxString const &arg4_defvalue = wxPyEmptyString ;
2415 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
2416 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2417 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2418 wxSize const &arg6_defvalue = wxDefaultSize ;
2419 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2420 long arg7 = (long) 0 ;
2421 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2422 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2423 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2424 wxString *arg9 = (wxString *) &arg9_defvalue ;
2425 bool result;
b411df4a 2426 bool temp4 = false ;
d55e5bfc
RD
2427 wxPoint temp5 ;
2428 wxSize temp6 ;
b411df4a 2429 bool temp9 = false ;
d55e5bfc
RD
2430 PyObject * obj0 = 0 ;
2431 PyObject * obj1 = 0 ;
2432 PyObject * obj2 = 0 ;
2433 PyObject * obj3 = 0 ;
2434 PyObject * obj4 = 0 ;
2435 PyObject * obj5 = 0 ;
2436 PyObject * obj6 = 0 ;
2437 PyObject * obj7 = 0 ;
2438 PyObject * obj8 = 0 ;
2439 char *kwnames[] = {
2440 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2441 };
2442
bfddbb17 2443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
2444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2445 if (SWIG_arg_fail(1)) SWIG_fail;
2446 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2447 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 2448 if (obj2) {
36ed4f51
RD
2449 {
2450 arg3 = (int)(SWIG_As_int(obj2));
2451 if (SWIG_arg_fail(3)) SWIG_fail;
2452 }
bfddbb17
RD
2453 }
2454 if (obj3) {
2455 {
2456 arg4 = wxString_in_helper(obj3);
2457 if (arg4 == NULL) SWIG_fail;
b411df4a 2458 temp4 = true;
bfddbb17 2459 }
d55e5bfc
RD
2460 }
2461 if (obj4) {
2462 {
2463 arg5 = &temp5;
2464 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2465 }
2466 }
2467 if (obj5) {
2468 {
2469 arg6 = &temp6;
2470 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2471 }
2472 }
2473 if (obj6) {
36ed4f51
RD
2474 {
2475 arg7 = (long)(SWIG_As_long(obj6));
2476 if (SWIG_arg_fail(7)) SWIG_fail;
2477 }
d55e5bfc
RD
2478 }
2479 if (obj7) {
36ed4f51
RD
2480 {
2481 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2482 if (SWIG_arg_fail(8)) SWIG_fail;
2483 if (arg8 == NULL) {
2484 SWIG_null_ref("wxValidator");
2485 }
2486 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2487 }
2488 }
2489 if (obj8) {
2490 {
2491 arg9 = wxString_in_helper(obj8);
2492 if (arg9 == NULL) SWIG_fail;
b411df4a 2493 temp9 = true;
d55e5bfc
RD
2494 }
2495 }
2496 {
2497 PyThreadState* __tstate = wxPyBeginAllowThreads();
2498 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2499
2500 wxPyEndAllowThreads(__tstate);
2501 if (PyErr_Occurred()) SWIG_fail;
2502 }
2503 {
2504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2505 }
2506 {
2507 if (temp4)
2508 delete arg4;
2509 }
2510 {
2511 if (temp9)
2512 delete arg9;
2513 }
2514 return resultobj;
2515 fail:
2516 {
2517 if (temp4)
2518 delete arg4;
2519 }
2520 {
2521 if (temp9)
2522 delete arg9;
2523 }
2524 return NULL;
2525}
2526
2527
c370783e 2528static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2529 PyObject *resultobj;
2530 wxButton *arg1 = (wxButton *) 0 ;
2531 PyObject * obj0 = 0 ;
2532 char *kwnames[] = {
2533 (char *) "self", NULL
2534 };
2535
2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
36ed4f51
RD
2537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2538 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2539 {
2540 PyThreadState* __tstate = wxPyBeginAllowThreads();
2541 (arg1)->SetDefault();
2542
2543 wxPyEndAllowThreads(__tstate);
2544 if (PyErr_Occurred()) SWIG_fail;
2545 }
2546 Py_INCREF(Py_None); resultobj = Py_None;
2547 return resultobj;
2548 fail:
2549 return NULL;
2550}
2551
2552
c370783e 2553static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2554 PyObject *resultobj;
2555 wxSize result;
2556 char *kwnames[] = {
2557 NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2561 {
2562 PyThreadState* __tstate = wxPyBeginAllowThreads();
2563 result = wxButton::GetDefaultSize();
2564
2565 wxPyEndAllowThreads(__tstate);
2566 if (PyErr_Occurred()) SWIG_fail;
2567 }
2568 {
2569 wxSize * resultptr;
36ed4f51 2570 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
2571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2572 }
2573 return resultobj;
2574 fail:
2575 return NULL;
2576}
2577
2578
c370783e 2579static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 2580 PyObject *resultobj;
36ed4f51 2581 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
2582 wxVisualAttributes result;
2583 PyObject * obj0 = 0 ;
2584 char *kwnames[] = {
2585 (char *) "variant", NULL
2586 };
2587
2588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2589 if (obj0) {
36ed4f51
RD
2590 {
2591 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2592 if (SWIG_arg_fail(1)) SWIG_fail;
2593 }
f20a2e1f
RD
2594 }
2595 {
0439c23b 2596 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
2598 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2599
2600 wxPyEndAllowThreads(__tstate);
110da5b0 2601 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2602 }
2603 {
2604 wxVisualAttributes * resultptr;
36ed4f51 2605 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
2606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2607 }
2608 return resultobj;
2609 fail:
2610 return NULL;
2611}
2612
2613
c370783e 2614static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2615 PyObject *obj;
2616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2617 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2618 Py_INCREF(obj);
2619 return Py_BuildValue((char *)"");
2620}
c370783e 2621static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2622 PyObject *resultobj;
2623 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
2624 int arg2 = (int) -1 ;
2625 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2626 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
2627 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2628 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2629 wxSize const &arg5_defvalue = wxDefaultSize ;
2630 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2631 long arg6 = (long) wxBU_AUTODRAW ;
2632 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2633 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2634 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2635 wxString *arg8 = (wxString *) &arg8_defvalue ;
2636 wxBitmapButton *result;
2637 wxPoint temp4 ;
2638 wxSize temp5 ;
b411df4a 2639 bool temp8 = false ;
d55e5bfc
RD
2640 PyObject * obj0 = 0 ;
2641 PyObject * obj1 = 0 ;
2642 PyObject * obj2 = 0 ;
2643 PyObject * obj3 = 0 ;
2644 PyObject * obj4 = 0 ;
2645 PyObject * obj5 = 0 ;
2646 PyObject * obj6 = 0 ;
2647 PyObject * obj7 = 0 ;
2648 char *kwnames[] = {
2649 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2650 };
2651
bfddbb17 2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
2653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2654 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2655 if (obj1) {
36ed4f51
RD
2656 {
2657 arg2 = (int)(SWIG_As_int(obj1));
2658 if (SWIG_arg_fail(2)) SWIG_fail;
2659 }
bfddbb17
RD
2660 }
2661 if (obj2) {
36ed4f51
RD
2662 {
2663 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2664 if (SWIG_arg_fail(3)) SWIG_fail;
2665 if (arg3 == NULL) {
2666 SWIG_null_ref("wxBitmap");
2667 }
2668 if (SWIG_arg_fail(3)) SWIG_fail;
bfddbb17 2669 }
d55e5bfc
RD
2670 }
2671 if (obj3) {
2672 {
2673 arg4 = &temp4;
2674 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2675 }
2676 }
2677 if (obj4) {
2678 {
2679 arg5 = &temp5;
2680 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2681 }
2682 }
2683 if (obj5) {
36ed4f51
RD
2684 {
2685 arg6 = (long)(SWIG_As_long(obj5));
2686 if (SWIG_arg_fail(6)) SWIG_fail;
2687 }
d55e5bfc
RD
2688 }
2689 if (obj6) {
36ed4f51
RD
2690 {
2691 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2692 if (SWIG_arg_fail(7)) SWIG_fail;
2693 if (arg7 == NULL) {
2694 SWIG_null_ref("wxValidator");
2695 }
2696 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2697 }
2698 }
2699 if (obj7) {
2700 {
2701 arg8 = wxString_in_helper(obj7);
2702 if (arg8 == NULL) SWIG_fail;
b411df4a 2703 temp8 = true;
d55e5bfc
RD
2704 }
2705 }
2706 {
0439c23b 2707 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2708 PyThreadState* __tstate = wxPyBeginAllowThreads();
2709 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2710
2711 wxPyEndAllowThreads(__tstate);
110da5b0 2712 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2713 }
b0f7404b 2714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2715 {
2716 if (temp8)
2717 delete arg8;
2718 }
2719 return resultobj;
2720 fail:
2721 {
2722 if (temp8)
2723 delete arg8;
2724 }
2725 return NULL;
2726}
2727
2728
c370783e 2729static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2730 PyObject *resultobj;
2731 wxBitmapButton *result;
2732 char *kwnames[] = {
2733 NULL
2734 };
2735
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2737 {
0439c23b 2738 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 result = (wxBitmapButton *)new wxBitmapButton();
2741
2742 wxPyEndAllowThreads(__tstate);
110da5b0 2743 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2744 }
b0f7404b 2745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2746 return resultobj;
2747 fail:
2748 return NULL;
2749}
2750
2751
c370783e 2752static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2753 PyObject *resultobj;
2754 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2755 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
2756 int arg3 = (int) -1 ;
2757 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2758 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
2759 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2760 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2761 wxSize const &arg6_defvalue = wxDefaultSize ;
2762 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2763 long arg7 = (long) wxBU_AUTODRAW ;
2764 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2765 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2766 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2767 wxString *arg9 = (wxString *) &arg9_defvalue ;
2768 bool result;
2769 wxPoint temp5 ;
2770 wxSize temp6 ;
b411df4a 2771 bool temp9 = false ;
d55e5bfc
RD
2772 PyObject * obj0 = 0 ;
2773 PyObject * obj1 = 0 ;
2774 PyObject * obj2 = 0 ;
2775 PyObject * obj3 = 0 ;
2776 PyObject * obj4 = 0 ;
2777 PyObject * obj5 = 0 ;
2778 PyObject * obj6 = 0 ;
2779 PyObject * obj7 = 0 ;
2780 PyObject * obj8 = 0 ;
2781 char *kwnames[] = {
2782 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2783 };
2784
bfddbb17 2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
2786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2787 if (SWIG_arg_fail(1)) SWIG_fail;
2788 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2789 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 2790 if (obj2) {
36ed4f51
RD
2791 {
2792 arg3 = (int)(SWIG_As_int(obj2));
2793 if (SWIG_arg_fail(3)) SWIG_fail;
2794 }
bfddbb17
RD
2795 }
2796 if (obj3) {
36ed4f51
RD
2797 {
2798 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2799 if (SWIG_arg_fail(4)) SWIG_fail;
2800 if (arg4 == NULL) {
2801 SWIG_null_ref("wxBitmap");
2802 }
2803 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 2804 }
d55e5bfc
RD
2805 }
2806 if (obj4) {
2807 {
2808 arg5 = &temp5;
2809 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2810 }
2811 }
2812 if (obj5) {
2813 {
2814 arg6 = &temp6;
2815 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2816 }
2817 }
2818 if (obj6) {
36ed4f51
RD
2819 {
2820 arg7 = (long)(SWIG_As_long(obj6));
2821 if (SWIG_arg_fail(7)) SWIG_fail;
2822 }
d55e5bfc
RD
2823 }
2824 if (obj7) {
36ed4f51
RD
2825 {
2826 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2827 if (SWIG_arg_fail(8)) SWIG_fail;
2828 if (arg8 == NULL) {
2829 SWIG_null_ref("wxValidator");
2830 }
2831 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2832 }
2833 }
2834 if (obj8) {
2835 {
2836 arg9 = wxString_in_helper(obj8);
2837 if (arg9 == NULL) SWIG_fail;
b411df4a 2838 temp9 = true;
d55e5bfc
RD
2839 }
2840 }
2841 {
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2844
2845 wxPyEndAllowThreads(__tstate);
2846 if (PyErr_Occurred()) SWIG_fail;
2847 }
2848 {
2849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2850 }
2851 {
2852 if (temp9)
2853 delete arg9;
2854 }
2855 return resultobj;
2856 fail:
2857 {
2858 if (temp9)
2859 delete arg9;
2860 }
2861 return NULL;
2862}
2863
2864
c370783e 2865static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2866 PyObject *resultobj;
2867 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2868 wxBitmap result;
2869 PyObject * obj0 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
2875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2876 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 result = (arg1)->GetBitmapLabel();
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 {
2885 wxBitmap * resultptr;
36ed4f51 2886 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2887 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2888 }
2889 return resultobj;
2890 fail:
2891 return NULL;
2892}
2893
2894
c370783e 2895static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2896 PyObject *resultobj;
2897 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2898 wxBitmap result;
2899 PyObject * obj0 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
36ed4f51
RD
2905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2906 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2907 {
2908 PyThreadState* __tstate = wxPyBeginAllowThreads();
2909 result = (arg1)->GetBitmapDisabled();
2910
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 {
2915 wxBitmap * resultptr;
36ed4f51 2916 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2918 }
2919 return resultobj;
2920 fail:
2921 return NULL;
2922}
2923
2924
c370783e 2925static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2926 PyObject *resultobj;
2927 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2928 wxBitmap result;
2929 PyObject * obj0 = 0 ;
2930 char *kwnames[] = {
2931 (char *) "self", NULL
2932 };
2933
2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
2935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2936 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 result = (arg1)->GetBitmapFocus();
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 {
2945 wxBitmap * resultptr;
36ed4f51 2946 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2947 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2948 }
2949 return resultobj;
2950 fail:
2951 return NULL;
2952}
2953
2954
c370783e 2955static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2956 PyObject *resultobj;
2957 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2958 wxBitmap result;
2959 PyObject * obj0 = 0 ;
2960 char *kwnames[] = {
2961 (char *) "self", NULL
2962 };
2963
2964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
2965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2966 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2967 {
2968 PyThreadState* __tstate = wxPyBeginAllowThreads();
2969 result = (arg1)->GetBitmapSelected();
2970
2971 wxPyEndAllowThreads(__tstate);
2972 if (PyErr_Occurred()) SWIG_fail;
2973 }
2974 {
2975 wxBitmap * resultptr;
36ed4f51 2976 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2978 }
2979 return resultobj;
2980 fail:
2981 return NULL;
2982}
2983
2984
c370783e 2985static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2986 PyObject *resultobj;
2987 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2988 wxBitmap *arg2 = 0 ;
2989 PyObject * obj0 = 0 ;
2990 PyObject * obj1 = 0 ;
2991 char *kwnames[] = {
2992 (char *) "self",(char *) "bitmap", NULL
2993 };
2994
2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2997 if (SWIG_arg_fail(1)) SWIG_fail;
2998 {
2999 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3000 if (SWIG_arg_fail(2)) SWIG_fail;
3001 if (arg2 == NULL) {
3002 SWIG_null_ref("wxBitmap");
3003 }
3004 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3005 }
3006 {
3007 PyThreadState* __tstate = wxPyBeginAllowThreads();
3008 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3009
3010 wxPyEndAllowThreads(__tstate);
3011 if (PyErr_Occurred()) SWIG_fail;
3012 }
3013 Py_INCREF(Py_None); resultobj = Py_None;
3014 return resultobj;
3015 fail:
3016 return NULL;
3017}
3018
3019
c370783e 3020static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3021 PyObject *resultobj;
3022 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3023 wxBitmap *arg2 = 0 ;
3024 PyObject * obj0 = 0 ;
3025 PyObject * obj1 = 0 ;
3026 char *kwnames[] = {
3027 (char *) "self",(char *) "bitmap", NULL
3028 };
3029
3030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3032 if (SWIG_arg_fail(1)) SWIG_fail;
3033 {
3034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3035 if (SWIG_arg_fail(2)) SWIG_fail;
3036 if (arg2 == NULL) {
3037 SWIG_null_ref("wxBitmap");
3038 }
3039 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3040 }
3041 {
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
3043 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 }
3048 Py_INCREF(Py_None); resultobj = Py_None;
3049 return resultobj;
3050 fail:
3051 return NULL;
3052}
3053
3054
c370783e 3055static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3056 PyObject *resultobj;
3057 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3058 wxBitmap *arg2 = 0 ;
3059 PyObject * obj0 = 0 ;
3060 PyObject * obj1 = 0 ;
3061 char *kwnames[] = {
3062 (char *) "self",(char *) "bitmap", NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3067 if (SWIG_arg_fail(1)) SWIG_fail;
3068 {
3069 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3070 if (SWIG_arg_fail(2)) SWIG_fail;
3071 if (arg2 == NULL) {
3072 SWIG_null_ref("wxBitmap");
3073 }
3074 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3075 }
3076 {
3077 PyThreadState* __tstate = wxPyBeginAllowThreads();
3078 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3079
3080 wxPyEndAllowThreads(__tstate);
3081 if (PyErr_Occurred()) SWIG_fail;
3082 }
3083 Py_INCREF(Py_None); resultobj = Py_None;
3084 return resultobj;
3085 fail:
3086 return NULL;
3087}
3088
3089
c370783e 3090static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3091 PyObject *resultobj;
3092 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3093 wxBitmap *arg2 = 0 ;
3094 PyObject * obj0 = 0 ;
3095 PyObject * obj1 = 0 ;
3096 char *kwnames[] = {
3097 (char *) "self",(char *) "bitmap", NULL
3098 };
3099
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3102 if (SWIG_arg_fail(1)) SWIG_fail;
3103 {
3104 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3105 if (SWIG_arg_fail(2)) SWIG_fail;
3106 if (arg2 == NULL) {
3107 SWIG_null_ref("wxBitmap");
3108 }
3109 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3110 }
3111 {
3112 PyThreadState* __tstate = wxPyBeginAllowThreads();
3113 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3114
3115 wxPyEndAllowThreads(__tstate);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
3118 Py_INCREF(Py_None); resultobj = Py_None;
3119 return resultobj;
3120 fail:
3121 return NULL;
3122}
3123
3124
c370783e 3125static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3126 PyObject *resultobj;
3127 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3128 int arg2 ;
3129 int arg3 ;
3130 PyObject * obj0 = 0 ;
3131 PyObject * obj1 = 0 ;
3132 PyObject * obj2 = 0 ;
3133 char *kwnames[] = {
3134 (char *) "self",(char *) "x",(char *) "y", NULL
3135 };
3136
3137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3139 if (SWIG_arg_fail(1)) SWIG_fail;
3140 {
3141 arg2 = (int)(SWIG_As_int(obj1));
3142 if (SWIG_arg_fail(2)) SWIG_fail;
3143 }
3144 {
3145 arg3 = (int)(SWIG_As_int(obj2));
3146 if (SWIG_arg_fail(3)) SWIG_fail;
3147 }
d55e5bfc
RD
3148 {
3149 PyThreadState* __tstate = wxPyBeginAllowThreads();
3150 (arg1)->SetMargins(arg2,arg3);
3151
3152 wxPyEndAllowThreads(__tstate);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
3155 Py_INCREF(Py_None); resultobj = Py_None;
3156 return resultobj;
3157 fail:
3158 return NULL;
3159}
3160
3161
c370783e 3162static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3163 PyObject *resultobj;
3164 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3165 int result;
3166 PyObject * obj0 = 0 ;
3167 char *kwnames[] = {
3168 (char *) "self", NULL
3169 };
3170
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
36ed4f51
RD
3172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3173 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3174 {
3175 PyThreadState* __tstate = wxPyBeginAllowThreads();
3176 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3177
3178 wxPyEndAllowThreads(__tstate);
3179 if (PyErr_Occurred()) SWIG_fail;
3180 }
36ed4f51
RD
3181 {
3182 resultobj = SWIG_From_int((int)(result));
3183 }
d55e5bfc
RD
3184 return resultobj;
3185 fail:
3186 return NULL;
3187}
3188
3189
c370783e 3190static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3191 PyObject *resultobj;
3192 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3193 int result;
3194 PyObject * obj0 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
36ed4f51
RD
3200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
36ed4f51
RD
3209 {
3210 resultobj = SWIG_From_int((int)(result));
3211 }
d55e5bfc
RD
3212 return resultobj;
3213 fail:
3214 return NULL;
3215}
3216
3217
c370783e 3218static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3219 PyObject *obj;
3220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3221 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3222 Py_INCREF(obj);
3223 return Py_BuildValue((char *)"");
3224}
c370783e 3225static int _wrap_CheckBoxNameStr_set(PyObject *) {
d55e5bfc
RD
3226 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3227 return 1;
3228}
3229
3230
36ed4f51 3231static PyObject *_wrap_CheckBoxNameStr_get(void) {
d55e5bfc
RD
3232 PyObject *pyobj;
3233
3234 {
3235#if wxUSE_UNICODE
3236 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3237#else
3238 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3239#endif
3240 }
3241 return pyobj;
3242}
3243
3244
c370783e 3245static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3246 PyObject *resultobj;
3247 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
3248 int arg2 = (int) -1 ;
3249 wxString const &arg3_defvalue = wxPyEmptyString ;
3250 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
3251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3253 wxSize const &arg5_defvalue = wxDefaultSize ;
3254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3255 long arg6 = (long) 0 ;
3256 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3257 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3258 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3259 wxString *arg8 = (wxString *) &arg8_defvalue ;
3260 wxCheckBox *result;
b411df4a 3261 bool temp3 = false ;
d55e5bfc
RD
3262 wxPoint temp4 ;
3263 wxSize temp5 ;
b411df4a 3264 bool temp8 = false ;
d55e5bfc
RD
3265 PyObject * obj0 = 0 ;
3266 PyObject * obj1 = 0 ;
3267 PyObject * obj2 = 0 ;
3268 PyObject * obj3 = 0 ;
3269 PyObject * obj4 = 0 ;
3270 PyObject * obj5 = 0 ;
3271 PyObject * obj6 = 0 ;
3272 PyObject * obj7 = 0 ;
3273 char *kwnames[] = {
3274 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3275 };
3276
bfddbb17 3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 3280 if (obj1) {
36ed4f51
RD
3281 {
3282 arg2 = (int)(SWIG_As_int(obj1));
3283 if (SWIG_arg_fail(2)) SWIG_fail;
3284 }
bfddbb17
RD
3285 }
3286 if (obj2) {
3287 {
3288 arg3 = wxString_in_helper(obj2);
3289 if (arg3 == NULL) SWIG_fail;
b411df4a 3290 temp3 = true;
bfddbb17 3291 }
d55e5bfc
RD
3292 }
3293 if (obj3) {
3294 {
3295 arg4 = &temp4;
3296 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3297 }
3298 }
3299 if (obj4) {
3300 {
3301 arg5 = &temp5;
3302 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3303 }
3304 }
3305 if (obj5) {
36ed4f51
RD
3306 {
3307 arg6 = (long)(SWIG_As_long(obj5));
3308 if (SWIG_arg_fail(6)) SWIG_fail;
3309 }
d55e5bfc
RD
3310 }
3311 if (obj6) {
36ed4f51
RD
3312 {
3313 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3314 if (SWIG_arg_fail(7)) SWIG_fail;
3315 if (arg7 == NULL) {
3316 SWIG_null_ref("wxValidator");
3317 }
3318 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3319 }
3320 }
3321 if (obj7) {
3322 {
3323 arg8 = wxString_in_helper(obj7);
3324 if (arg8 == NULL) SWIG_fail;
b411df4a 3325 temp8 = true;
d55e5bfc
RD
3326 }
3327 }
3328 {
0439c23b 3329 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3332
3333 wxPyEndAllowThreads(__tstate);
110da5b0 3334 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3335 }
3336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3337 {
3338 if (temp3)
3339 delete arg3;
3340 }
3341 {
3342 if (temp8)
3343 delete arg8;
3344 }
3345 return resultobj;
3346 fail:
3347 {
3348 if (temp3)
3349 delete arg3;
3350 }
3351 {
3352 if (temp8)
3353 delete arg8;
3354 }
3355 return NULL;
3356}
3357
3358
c370783e 3359static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3360 PyObject *resultobj;
3361 wxCheckBox *result;
3362 char *kwnames[] = {
3363 NULL
3364 };
3365
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3367 {
0439c23b 3368 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3369 PyThreadState* __tstate = wxPyBeginAllowThreads();
3370 result = (wxCheckBox *)new wxCheckBox();
3371
3372 wxPyEndAllowThreads(__tstate);
110da5b0 3373 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3374 }
3375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3376 return resultobj;
3377 fail:
3378 return NULL;
3379}
3380
3381
c370783e 3382static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3383 PyObject *resultobj;
3384 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3385 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
3386 int arg3 = (int) -1 ;
3387 wxString const &arg4_defvalue = wxPyEmptyString ;
3388 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
3389 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3390 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3391 wxSize const &arg6_defvalue = wxDefaultSize ;
3392 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3393 long arg7 = (long) 0 ;
3394 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3395 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3396 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3397 wxString *arg9 = (wxString *) &arg9_defvalue ;
3398 bool result;
b411df4a 3399 bool temp4 = false ;
d55e5bfc
RD
3400 wxPoint temp5 ;
3401 wxSize temp6 ;
b411df4a 3402 bool temp9 = false ;
d55e5bfc
RD
3403 PyObject * obj0 = 0 ;
3404 PyObject * obj1 = 0 ;
3405 PyObject * obj2 = 0 ;
3406 PyObject * obj3 = 0 ;
3407 PyObject * obj4 = 0 ;
3408 PyObject * obj5 = 0 ;
3409 PyObject * obj6 = 0 ;
3410 PyObject * obj7 = 0 ;
3411 PyObject * obj8 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3414 };
3415
bfddbb17 3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
3417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3418 if (SWIG_arg_fail(1)) SWIG_fail;
3419 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3420 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 3421 if (obj2) {
36ed4f51
RD
3422 {
3423 arg3 = (int)(SWIG_As_int(obj2));
3424 if (SWIG_arg_fail(3)) SWIG_fail;
3425 }
bfddbb17
RD
3426 }
3427 if (obj3) {
3428 {
3429 arg4 = wxString_in_helper(obj3);
3430 if (arg4 == NULL) SWIG_fail;
b411df4a 3431 temp4 = true;
bfddbb17 3432 }
d55e5bfc
RD
3433 }
3434 if (obj4) {
3435 {
3436 arg5 = &temp5;
3437 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3438 }
3439 }
3440 if (obj5) {
3441 {
3442 arg6 = &temp6;
3443 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3444 }
3445 }
3446 if (obj6) {
36ed4f51
RD
3447 {
3448 arg7 = (long)(SWIG_As_long(obj6));
3449 if (SWIG_arg_fail(7)) SWIG_fail;
3450 }
d55e5bfc
RD
3451 }
3452 if (obj7) {
36ed4f51
RD
3453 {
3454 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3455 if (SWIG_arg_fail(8)) SWIG_fail;
3456 if (arg8 == NULL) {
3457 SWIG_null_ref("wxValidator");
3458 }
3459 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
3460 }
3461 }
3462 if (obj8) {
3463 {
3464 arg9 = wxString_in_helper(obj8);
3465 if (arg9 == NULL) SWIG_fail;
b411df4a 3466 temp9 = true;
d55e5bfc
RD
3467 }
3468 }
3469 {
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3472
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
3476 {
3477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3478 }
3479 {
3480 if (temp4)
3481 delete arg4;
3482 }
3483 {
3484 if (temp9)
3485 delete arg9;
3486 }
3487 return resultobj;
3488 fail:
3489 {
3490 if (temp4)
3491 delete arg4;
3492 }
3493 {
3494 if (temp9)
3495 delete arg9;
3496 }
3497 return NULL;
3498}
3499
3500
c370783e 3501static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3502 PyObject *resultobj;
3503 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3504 bool result;
3505 PyObject * obj0 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self", NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
3511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3513 {
3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
3515 result = (bool)(arg1)->GetValue();
3516
3517 wxPyEndAllowThreads(__tstate);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
3520 {
3521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3522 }
3523 return resultobj;
3524 fail:
3525 return NULL;
3526}
3527
3528
c370783e 3529static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3530 PyObject *resultobj;
3531 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3532 bool result;
3533 PyObject * obj0 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "self", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
36ed4f51
RD
3539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3540 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3541 {
3542 PyThreadState* __tstate = wxPyBeginAllowThreads();
3543 result = (bool)(arg1)->IsChecked();
3544
3545 wxPyEndAllowThreads(__tstate);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 }
3548 {
3549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3550 }
3551 return resultobj;
3552 fail:
3553 return NULL;
3554}
3555
3556
c370783e 3557static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3558 PyObject *resultobj;
3559 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3560 bool arg2 ;
3561 PyObject * obj0 = 0 ;
3562 PyObject * obj1 = 0 ;
3563 char *kwnames[] = {
3564 (char *) "self",(char *) "state", NULL
3565 };
3566
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3569 if (SWIG_arg_fail(1)) SWIG_fail;
3570 {
3571 arg2 = (bool const)(SWIG_As_bool(obj1));
3572 if (SWIG_arg_fail(2)) SWIG_fail;
3573 }
d55e5bfc
RD
3574 {
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
3576 (arg1)->SetValue(arg2);
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
3581 Py_INCREF(Py_None); resultobj = Py_None;
3582 return resultobj;
3583 fail:
3584 return NULL;
3585}
3586
3587
c370783e 3588static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3589 PyObject *resultobj;
3590 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
36ed4f51 3591 wxCheckBoxState result;
d55e5bfc
RD
3592 PyObject * obj0 = 0 ;
3593 char *kwnames[] = {
3594 (char *) "self", NULL
3595 };
3596
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
3598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3599 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3602 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d55e5bfc
RD
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
36ed4f51 3607 resultobj = SWIG_From_int((result));
d55e5bfc
RD
3608 return resultobj;
3609 fail:
3610 return NULL;
3611}
3612
3613
c370783e 3614static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3615 PyObject *resultobj;
3616 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
36ed4f51 3617 wxCheckBoxState arg2 ;
d55e5bfc
RD
3618 PyObject * obj0 = 0 ;
3619 PyObject * obj1 = 0 ;
3620 char *kwnames[] = {
3621 (char *) "self",(char *) "state", NULL
3622 };
3623
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3626 if (SWIG_arg_fail(1)) SWIG_fail;
3627 {
3628 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3629 if (SWIG_arg_fail(2)) SWIG_fail;
3630 }
d55e5bfc
RD
3631 {
3632 PyThreadState* __tstate = wxPyBeginAllowThreads();
3633 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3634
3635 wxPyEndAllowThreads(__tstate);
3636 if (PyErr_Occurred()) SWIG_fail;
3637 }
3638 Py_INCREF(Py_None); resultobj = Py_None;
3639 return resultobj;
3640 fail:
3641 return NULL;
3642}
3643
3644
c370783e 3645static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3646 PyObject *resultobj;
3647 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3648 bool result;
3649 PyObject * obj0 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
36ed4f51
RD
3655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3657 {
3658 PyThreadState* __tstate = wxPyBeginAllowThreads();
3659 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3660
3661 wxPyEndAllowThreads(__tstate);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
3664 {
3665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3666 }
3667 return resultobj;
3668 fail:
3669 return NULL;
3670}
3671
3672
c370783e 3673static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3674 PyObject *resultobj;
3675 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3676 bool result;
3677 PyObject * obj0 = 0 ;
3678 char *kwnames[] = {
3679 (char *) "self", NULL
3680 };
3681
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
36ed4f51
RD
3683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3684 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 {
3693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3694 }
3695 return resultobj;
3696 fail:
3697 return NULL;
3698}
3699
3700
c370783e 3701static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 3702 PyObject *resultobj;
36ed4f51 3703 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3704 wxVisualAttributes result;
3705 PyObject * obj0 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "variant", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3711 if (obj0) {
36ed4f51
RD
3712 {
3713 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3714 if (SWIG_arg_fail(1)) SWIG_fail;
3715 }
f20a2e1f
RD
3716 }
3717 {
0439c23b 3718 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3721
3722 wxPyEndAllowThreads(__tstate);
110da5b0 3723 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3724 }
3725 {
3726 wxVisualAttributes * resultptr;
36ed4f51 3727 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
3728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3729 }
3730 return resultobj;
3731 fail:
3732 return NULL;
3733}
3734
3735
c370783e 3736static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3737 PyObject *obj;
3738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3739 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3740 Py_INCREF(obj);
3741 return Py_BuildValue((char *)"");
3742}
c370783e 3743static int _wrap_ChoiceNameStr_set(PyObject *) {
d55e5bfc
RD
3744 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3745 return 1;
3746}
3747
3748
36ed4f51 3749static PyObject *_wrap_ChoiceNameStr_get(void) {
d55e5bfc
RD
3750 PyObject *pyobj;
3751
3752 {
3753#if wxUSE_UNICODE
3754 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3755#else
3756 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3757#endif
3758 }
3759 return pyobj;
3760}
3761
3762
c370783e 3763static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3764 PyObject *resultobj;
3765 wxWindow *arg1 = (wxWindow *) 0 ;
3766 int arg2 = (int) -1 ;
3767 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3768 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3769 wxSize const &arg4_defvalue = wxDefaultSize ;
3770 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3771 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3772 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3773 long arg6 = (long) 0 ;
3774 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3775 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3776 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3777 wxString *arg8 = (wxString *) &arg8_defvalue ;
3778 wxChoice *result;
3779 wxPoint temp3 ;
3780 wxSize temp4 ;
b411df4a
RD
3781 bool temp5 = false ;
3782 bool temp8 = false ;
d55e5bfc
RD
3783 PyObject * obj0 = 0 ;
3784 PyObject * obj1 = 0 ;
3785 PyObject * obj2 = 0 ;
3786 PyObject * obj3 = 0 ;
3787 PyObject * obj4 = 0 ;
3788 PyObject * obj5 = 0 ;
3789 PyObject * obj6 = 0 ;
3790 PyObject * obj7 = 0 ;
3791 char *kwnames[] = {
3792 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3797 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3798 if (obj1) {
36ed4f51
RD
3799 {
3800 arg2 = (int)(SWIG_As_int(obj1));
3801 if (SWIG_arg_fail(2)) SWIG_fail;
3802 }
d55e5bfc
RD
3803 }
3804 if (obj2) {
3805 {
3806 arg3 = &temp3;
3807 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3808 }
3809 }
3810 if (obj3) {
3811 {
3812 arg4 = &temp4;
3813 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3814 }
3815 }
3816 if (obj4) {
3817 {
3818 if (! PySequence_Check(obj4)) {
3819 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3820 SWIG_fail;
3821 }
3822 arg5 = new wxArrayString;
b411df4a 3823 temp5 = true;
d55e5bfc
RD
3824 int i, len=PySequence_Length(obj4);
3825 for (i=0; i<len; i++) {
3826 PyObject* item = PySequence_GetItem(obj4, i);
3827#if wxUSE_UNICODE
3828 PyObject* str = PyObject_Unicode(item);
3829#else
3830 PyObject* str = PyObject_Str(item);
3831#endif
3832 if (PyErr_Occurred()) SWIG_fail;
3833 arg5->Add(Py2wxString(str));
3834 Py_DECREF(item);
3835 Py_DECREF(str);
3836 }
3837 }
3838 }
3839 if (obj5) {
36ed4f51
RD
3840 {
3841 arg6 = (long)(SWIG_As_long(obj5));
3842 if (SWIG_arg_fail(6)) SWIG_fail;
3843 }
d55e5bfc
RD
3844 }
3845 if (obj6) {
36ed4f51
RD
3846 {
3847 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3848 if (SWIG_arg_fail(7)) SWIG_fail;
3849 if (arg7 == NULL) {
3850 SWIG_null_ref("wxValidator");
3851 }
3852 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3853 }
3854 }
3855 if (obj7) {
3856 {
3857 arg8 = wxString_in_helper(obj7);
3858 if (arg8 == NULL) SWIG_fail;
b411df4a 3859 temp8 = true;
d55e5bfc
RD
3860 }
3861 }
3862 {
0439c23b 3863 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3866
3867 wxPyEndAllowThreads(__tstate);
110da5b0 3868 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3869 }
3870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3871 {
3872 if (temp5) delete arg5;
3873 }
3874 {
3875 if (temp8)
3876 delete arg8;
3877 }
3878 return resultobj;
3879 fail:
3880 {
3881 if (temp5) delete arg5;
3882 }
3883 {
3884 if (temp8)
3885 delete arg8;
3886 }
3887 return NULL;
3888}
3889
3890
c370783e 3891static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3892 PyObject *resultobj;
3893 wxChoice *result;
3894 char *kwnames[] = {
3895 NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3899 {
0439c23b 3900 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 result = (wxChoice *)new wxChoice();
3903
3904 wxPyEndAllowThreads(__tstate);
110da5b0 3905 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3906 }
3907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3908 return resultobj;
3909 fail:
3910 return NULL;
3911}
3912
3913
c370783e 3914static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3915 PyObject *resultobj;
3916 wxChoice *arg1 = (wxChoice *) 0 ;
3917 wxWindow *arg2 = (wxWindow *) 0 ;
3918 int arg3 = (int) -1 ;
3919 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3920 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3921 wxSize const &arg5_defvalue = wxDefaultSize ;
3922 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3923 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3924 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3925 long arg7 = (long) 0 ;
3926 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3927 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3928 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3929 wxString *arg9 = (wxString *) &arg9_defvalue ;
3930 bool result;
3931 wxPoint temp4 ;
3932 wxSize temp5 ;
b411df4a
RD
3933 bool temp6 = false ;
3934 bool temp9 = false ;
d55e5bfc
RD
3935 PyObject * obj0 = 0 ;
3936 PyObject * obj1 = 0 ;
3937 PyObject * obj2 = 0 ;
3938 PyObject * obj3 = 0 ;
3939 PyObject * obj4 = 0 ;
3940 PyObject * obj5 = 0 ;
3941 PyObject * obj6 = 0 ;
3942 PyObject * obj7 = 0 ;
3943 PyObject * obj8 = 0 ;
3944 char *kwnames[] = {
3945 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3946 };
3947
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
3949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3950 if (SWIG_arg_fail(1)) SWIG_fail;
3951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3952 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 3953 if (obj2) {
36ed4f51
RD
3954 {
3955 arg3 = (int)(SWIG_As_int(obj2));
3956 if (SWIG_arg_fail(3)) SWIG_fail;
3957 }
d55e5bfc
RD
3958 }
3959 if (obj3) {
3960 {
3961 arg4 = &temp4;
3962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3963 }
3964 }
3965 if (obj4) {
3966 {
3967 arg5 = &temp5;
3968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3969 }
3970 }
3971 if (obj5) {
3972 {
3973 if (! PySequence_Check(obj5)) {
3974 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3975 SWIG_fail;
3976 }
3977 arg6 = new wxArrayString;
b411df4a 3978 temp6 = true;
d55e5bfc
RD
3979 int i, len=PySequence_Length(obj5);
3980 for (i=0; i<len; i++) {
3981 PyObject* item = PySequence_GetItem(obj5, i);
3982#if wxUSE_UNICODE
3983 PyObject* str = PyObject_Unicode(item);
3984#else
3985 PyObject* str = PyObject_Str(item);
3986#endif
3987 if (PyErr_Occurred()) SWIG_fail;
3988 arg6->Add(Py2wxString(str));
3989 Py_DECREF(item);
3990 Py_DECREF(str);
3991 }
3992 }
3993 }
3994 if (obj6) {
36ed4f51
RD
3995 {
3996 arg7 = (long)(SWIG_As_long(obj6));
3997 if (SWIG_arg_fail(7)) SWIG_fail;
3998 }
d55e5bfc
RD
3999 }
4000 if (obj7) {
36ed4f51
RD
4001 {
4002 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4003 if (SWIG_arg_fail(8)) SWIG_fail;
4004 if (arg8 == NULL) {
4005 SWIG_null_ref("wxValidator");
4006 }
4007 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4008 }
4009 }
4010 if (obj8) {
4011 {
4012 arg9 = wxString_in_helper(obj8);
4013 if (arg9 == NULL) SWIG_fail;
b411df4a 4014 temp9 = true;
d55e5bfc
RD
4015 }
4016 }
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4020
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4026 }
4027 {
4028 if (temp6) delete arg6;
4029 }
4030 {
4031 if (temp9)
4032 delete arg9;
4033 }
4034 return resultobj;
4035 fail:
4036 {
4037 if (temp6) delete arg6;
4038 }
4039 {
4040 if (temp9)
4041 delete arg9;
4042 }
4043 return NULL;
4044}
4045
4046
c370783e 4047static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 4048 PyObject *resultobj;
36ed4f51 4049 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
4050 wxVisualAttributes result;
4051 PyObject * obj0 = 0 ;
4052 char *kwnames[] = {
4053 (char *) "variant", NULL
4054 };
4055
4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4057 if (obj0) {
36ed4f51
RD
4058 {
4059 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4060 if (SWIG_arg_fail(1)) SWIG_fail;
4061 }
f20a2e1f
RD
4062 }
4063 {
0439c23b 4064 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4067
4068 wxPyEndAllowThreads(__tstate);
110da5b0 4069 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4070 }
4071 {
4072 wxVisualAttributes * resultptr;
36ed4f51 4073 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
4074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4075 }
4076 return resultobj;
4077 fail:
4078 return NULL;
4079}
4080
4081
c370783e 4082static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4083 PyObject *obj;
4084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4085 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4086 Py_INCREF(obj);
4087 return Py_BuildValue((char *)"");
4088}
c370783e 4089static int _wrap_ComboBoxNameStr_set(PyObject *) {
d55e5bfc
RD
4090 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4091 return 1;
4092}
4093
4094
36ed4f51 4095static PyObject *_wrap_ComboBoxNameStr_get(void) {
d55e5bfc
RD
4096 PyObject *pyobj;
4097
4098 {
4099#if wxUSE_UNICODE
4100 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4101#else
4102 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4103#endif
4104 }
4105 return pyobj;
4106}
4107
4108
c370783e 4109static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4110 PyObject *resultobj;
4111 wxWindow *arg1 = (wxWindow *) 0 ;
4112 int arg2 = (int) -1 ;
4113 wxString const &arg3_defvalue = wxPyEmptyString ;
4114 wxString *arg3 = (wxString *) &arg3_defvalue ;
4115 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4116 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4117 wxSize const &arg5_defvalue = wxDefaultSize ;
4118 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4119 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4120 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4121 long arg7 = (long) 0 ;
4122 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4123 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4124 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4125 wxString *arg9 = (wxString *) &arg9_defvalue ;
4126 wxComboBox *result;
b411df4a 4127 bool temp3 = false ;
d55e5bfc
RD
4128 wxPoint temp4 ;
4129 wxSize temp5 ;
b411df4a
RD
4130 bool temp6 = false ;
4131 bool temp9 = false ;
d55e5bfc
RD
4132 PyObject * obj0 = 0 ;
4133 PyObject * obj1 = 0 ;
4134 PyObject * obj2 = 0 ;
4135 PyObject * obj3 = 0 ;
4136 PyObject * obj4 = 0 ;
4137 PyObject * obj5 = 0 ;
4138 PyObject * obj6 = 0 ;
4139 PyObject * obj7 = 0 ;
4140 PyObject * obj8 = 0 ;
4141 char *kwnames[] = {
4142 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4143 };
4144
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
4146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4147 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4148 if (obj1) {
36ed4f51
RD
4149 {
4150 arg2 = (int)(SWIG_As_int(obj1));
4151 if (SWIG_arg_fail(2)) SWIG_fail;
4152 }
d55e5bfc
RD
4153 }
4154 if (obj2) {
4155 {
4156 arg3 = wxString_in_helper(obj2);
4157 if (arg3 == NULL) SWIG_fail;
b411df4a 4158 temp3 = true;
d55e5bfc
RD
4159 }
4160 }
4161 if (obj3) {
4162 {
4163 arg4 = &temp4;
4164 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4165 }
4166 }
4167 if (obj4) {
4168 {
4169 arg5 = &temp5;
4170 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4171 }
4172 }
4173 if (obj5) {
4174 {
4175 if (! PySequence_Check(obj5)) {
4176 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4177 SWIG_fail;
4178 }
4179 arg6 = new wxArrayString;
b411df4a 4180 temp6 = true;
d55e5bfc
RD
4181 int i, len=PySequence_Length(obj5);
4182 for (i=0; i<len; i++) {
4183 PyObject* item = PySequence_GetItem(obj5, i);
4184#if wxUSE_UNICODE
4185 PyObject* str = PyObject_Unicode(item);
4186#else
4187 PyObject* str = PyObject_Str(item);
4188#endif
4189 if (PyErr_Occurred()) SWIG_fail;
4190 arg6->Add(Py2wxString(str));
4191 Py_DECREF(item);
4192 Py_DECREF(str);
4193 }
4194 }
4195 }
4196 if (obj6) {
36ed4f51
RD
4197 {
4198 arg7 = (long)(SWIG_As_long(obj6));
4199 if (SWIG_arg_fail(7)) SWIG_fail;
4200 }
d55e5bfc
RD
4201 }
4202 if (obj7) {
36ed4f51
RD
4203 {
4204 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4205 if (SWIG_arg_fail(8)) SWIG_fail;
4206 if (arg8 == NULL) {
4207 SWIG_null_ref("wxValidator");
4208 }
4209 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4210 }
4211 }
4212 if (obj8) {
4213 {
4214 arg9 = wxString_in_helper(obj8);
4215 if (arg9 == NULL) SWIG_fail;
b411df4a 4216 temp9 = true;
d55e5bfc
RD
4217 }
4218 }
4219 {
0439c23b 4220 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4221 PyThreadState* __tstate = wxPyBeginAllowThreads();
4222 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4223
4224 wxPyEndAllowThreads(__tstate);
110da5b0 4225 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4226 }
4227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4228 {
4229 if (temp3)
4230 delete arg3;
4231 }
4232 {
4233 if (temp6) delete arg6;
4234 }
4235 {
4236 if (temp9)
4237 delete arg9;
4238 }
4239 return resultobj;
4240 fail:
4241 {
4242 if (temp3)
4243 delete arg3;
4244 }
4245 {
4246 if (temp6) delete arg6;
4247 }
4248 {
4249 if (temp9)
4250 delete arg9;
4251 }
4252 return NULL;
4253}
4254
4255
c370783e 4256static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4257 PyObject *resultobj;
4258 wxComboBox *result;
4259 char *kwnames[] = {
4260 NULL
4261 };
4262
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4264 {
0439c23b 4265 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
4267 result = (wxComboBox *)new wxComboBox();
4268
4269 wxPyEndAllowThreads(__tstate);
110da5b0 4270 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4271 }
4272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4273 return resultobj;
4274 fail:
4275 return NULL;
4276}
4277
4278
c370783e 4279static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4280 PyObject *resultobj;
4281 wxComboBox *arg1 = (wxComboBox *) 0 ;
4282 wxWindow *arg2 = (wxWindow *) 0 ;
4283 int arg3 = (int) -1 ;
4284 wxString const &arg4_defvalue = wxPyEmptyString ;
4285 wxString *arg4 = (wxString *) &arg4_defvalue ;
4286 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4287 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4288 wxSize const &arg6_defvalue = wxDefaultSize ;
4289 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4290 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4291 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4292 long arg8 = (long) 0 ;
4293 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4294 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4295 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4296 wxString *arg10 = (wxString *) &arg10_defvalue ;
4297 bool result;
b411df4a 4298 bool temp4 = false ;
d55e5bfc
RD
4299 wxPoint temp5 ;
4300 wxSize temp6 ;
b411df4a
RD
4301 bool temp7 = false ;
4302 bool temp10 = false ;
d55e5bfc
RD
4303 PyObject * obj0 = 0 ;
4304 PyObject * obj1 = 0 ;
4305 PyObject * obj2 = 0 ;
4306 PyObject * obj3 = 0 ;
4307 PyObject * obj4 = 0 ;
4308 PyObject * obj5 = 0 ;
4309 PyObject * obj6 = 0 ;
4310 PyObject * obj7 = 0 ;
4311 PyObject * obj8 = 0 ;
4312 PyObject * obj9 = 0 ;
4313 char *kwnames[] = {
4314 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4315 };
4316
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
4318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail;
4320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4321 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 4322 if (obj2) {
36ed4f51
RD
4323 {
4324 arg3 = (int)(SWIG_As_int(obj2));
4325 if (SWIG_arg_fail(3)) SWIG_fail;
4326 }
d55e5bfc
RD
4327 }
4328 if (obj3) {
4329 {
4330 arg4 = wxString_in_helper(obj3);
4331 if (arg4 == NULL) SWIG_fail;
b411df4a 4332 temp4 = true;
d55e5bfc
RD
4333 }
4334 }
4335 if (obj4) {
4336 {
4337 arg5 = &temp5;
4338 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4339 }
4340 }
4341 if (obj5) {
4342 {
4343 arg6 = &temp6;
4344 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4345 }
4346 }
4347 if (obj6) {
4348 {
4349 if (! PySequence_Check(obj6)) {
4350 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4351 SWIG_fail;
4352 }
4353 arg7 = new wxArrayString;
b411df4a 4354 temp7 = true;
d55e5bfc
RD
4355 int i, len=PySequence_Length(obj6);
4356 for (i=0; i<len; i++) {
4357 PyObject* item = PySequence_GetItem(obj6, i);
4358#if wxUSE_UNICODE
4359 PyObject* str = PyObject_Unicode(item);
4360#else
4361 PyObject* str = PyObject_Str(item);
4362#endif
4363 if (PyErr_Occurred()) SWIG_fail;
4364 arg7->Add(Py2wxString(str));
4365 Py_DECREF(item);
4366 Py_DECREF(str);
4367 }
4368 }
4369 }
4370 if (obj7) {
36ed4f51
RD
4371 {
4372 arg8 = (long)(SWIG_As_long(obj7));
4373 if (SWIG_arg_fail(8)) SWIG_fail;
4374 }
d55e5bfc
RD
4375 }
4376 if (obj8) {
36ed4f51
RD
4377 {
4378 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4379 if (SWIG_arg_fail(9)) SWIG_fail;
4380 if (arg9 == NULL) {
4381 SWIG_null_ref("wxValidator");
4382 }
4383 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
4384 }
4385 }
4386 if (obj9) {
4387 {
4388 arg10 = wxString_in_helper(obj9);
4389 if (arg10 == NULL) SWIG_fail;
b411df4a 4390 temp10 = true;
d55e5bfc
RD
4391 }
4392 }
4393 {
4394 PyThreadState* __tstate = wxPyBeginAllowThreads();
4395 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4396
4397 wxPyEndAllowThreads(__tstate);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 }
4400 {
4401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4402 }
4403 {
4404 if (temp4)
4405 delete arg4;
4406 }
4407 {
4408 if (temp7) delete arg7;
4409 }
4410 {
4411 if (temp10)
4412 delete arg10;
4413 }
4414 return resultobj;
4415 fail:
4416 {
4417 if (temp4)
4418 delete arg4;
4419 }
4420 {
4421 if (temp7) delete arg7;
4422 }
4423 {
4424 if (temp10)
4425 delete arg10;
4426 }
4427 return NULL;
4428}
4429
4430
c370783e 4431static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4432 PyObject *resultobj;
4433 wxComboBox *arg1 = (wxComboBox *) 0 ;
4434 wxString result;
4435 PyObject * obj0 = 0 ;
4436 char *kwnames[] = {
4437 (char *) "self", NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
4441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4442 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4443 {
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 result = ((wxComboBox const *)arg1)->GetValue();
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 {
4451#if wxUSE_UNICODE
4452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4453#else
4454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4455#endif
4456 }
4457 return resultobj;
4458 fail:
4459 return NULL;
4460}
4461
4462
c370783e 4463static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4464 PyObject *resultobj;
4465 wxComboBox *arg1 = (wxComboBox *) 0 ;
4466 wxString *arg2 = 0 ;
b411df4a 4467 bool temp2 = false ;
d55e5bfc
RD
4468 PyObject * obj0 = 0 ;
4469 PyObject * obj1 = 0 ;
4470 char *kwnames[] = {
4471 (char *) "self",(char *) "value", NULL
4472 };
4473
4474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4476 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4477 {
4478 arg2 = wxString_in_helper(obj1);
4479 if (arg2 == NULL) SWIG_fail;
b411df4a 4480 temp2 = true;
d55e5bfc
RD
4481 }
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 (arg1)->SetValue((wxString const &)*arg2);
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 Py_INCREF(Py_None); resultobj = Py_None;
4490 {
4491 if (temp2)
4492 delete arg2;
4493 }
4494 return resultobj;
4495 fail:
4496 {
4497 if (temp2)
4498 delete arg2;
4499 }
4500 return NULL;
4501}
4502
4503
c370783e 4504static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4505 PyObject *resultobj;
4506 wxComboBox *arg1 = (wxComboBox *) 0 ;
4507 PyObject * obj0 = 0 ;
4508 char *kwnames[] = {
4509 (char *) "self", NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
36ed4f51
RD
4513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4514 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4515 {
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 (arg1)->Copy();
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 }
4522 Py_INCREF(Py_None); resultobj = Py_None;
4523 return resultobj;
4524 fail:
4525 return NULL;
4526}
4527
4528
c370783e 4529static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4530 PyObject *resultobj;
4531 wxComboBox *arg1 = (wxComboBox *) 0 ;
4532 PyObject * obj0 = 0 ;
4533 char *kwnames[] = {
4534 (char *) "self", NULL
4535 };
4536
4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
36ed4f51
RD
4538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4540 {
4541 PyThreadState* __tstate = wxPyBeginAllowThreads();
4542 (arg1)->Cut();
4543
4544 wxPyEndAllowThreads(__tstate);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 Py_INCREF(Py_None); resultobj = Py_None;
4548 return resultobj;
4549 fail:
4550 return NULL;
4551}
4552
4553
c370783e 4554static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4555 PyObject *resultobj;
4556 wxComboBox *arg1 = (wxComboBox *) 0 ;
4557 PyObject * obj0 = 0 ;
4558 char *kwnames[] = {
4559 (char *) "self", NULL
4560 };
4561
4562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
36ed4f51
RD
4563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4564 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 (arg1)->Paste();
4568
4569 wxPyEndAllowThreads(__tstate);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 Py_INCREF(Py_None); resultobj = Py_None;
4573 return resultobj;
4574 fail:
4575 return NULL;
4576}
4577
4578
c370783e 4579static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4580 PyObject *resultobj;
4581 wxComboBox *arg1 = (wxComboBox *) 0 ;
4582 long arg2 ;
4583 PyObject * obj0 = 0 ;
4584 PyObject * obj1 = 0 ;
4585 char *kwnames[] = {
4586 (char *) "self",(char *) "pos", NULL
4587 };
4588
4589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail;
4592 {
4593 arg2 = (long)(SWIG_As_long(obj1));
4594 if (SWIG_arg_fail(2)) SWIG_fail;
4595 }
d55e5bfc
RD
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 (arg1)->SetInsertionPoint(arg2);
4599
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 }
4603 Py_INCREF(Py_None); resultobj = Py_None;
4604 return resultobj;
4605 fail:
4606 return NULL;
4607}
4608
4609
c370783e 4610static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4611 PyObject *resultobj;
4612 wxComboBox *arg1 = (wxComboBox *) 0 ;
4613 long result;
4614 PyObject * obj0 = 0 ;
4615 char *kwnames[] = {
4616 (char *) "self", NULL
4617 };
4618
4619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
4620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4621 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
36ed4f51
RD
4629 {
4630 resultobj = SWIG_From_long((long)(result));
4631 }
d55e5bfc
RD
4632 return resultobj;
4633 fail:
4634 return NULL;
4635}
4636
4637
c370783e 4638static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4639 PyObject *resultobj;
4640 wxComboBox *arg1 = (wxComboBox *) 0 ;
4641 long result;
4642 PyObject * obj0 = 0 ;
4643 char *kwnames[] = {
4644 (char *) "self", NULL
4645 };
4646
4647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
4648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4649 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
36ed4f51
RD
4657 {
4658 resultobj = SWIG_From_long((long)(result));
4659 }
d55e5bfc
RD
4660 return resultobj;
4661 fail:
4662 return NULL;
4663}
4664
4665
c370783e 4666static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4667 PyObject *resultobj;
4668 wxComboBox *arg1 = (wxComboBox *) 0 ;
4669 long arg2 ;
4670 long arg3 ;
4671 wxString *arg4 = 0 ;
b411df4a 4672 bool temp4 = false ;
d55e5bfc
RD
4673 PyObject * obj0 = 0 ;
4674 PyObject * obj1 = 0 ;
4675 PyObject * obj2 = 0 ;
4676 PyObject * obj3 = 0 ;
4677 char *kwnames[] = {
4678 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4679 };
4680
4681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
4682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4683 if (SWIG_arg_fail(1)) SWIG_fail;
4684 {
4685 arg2 = (long)(SWIG_As_long(obj1));
4686 if (SWIG_arg_fail(2)) SWIG_fail;
4687 }
4688 {
4689 arg3 = (long)(SWIG_As_long(obj2));
4690 if (SWIG_arg_fail(3)) SWIG_fail;
4691 }
d55e5bfc
RD
4692 {
4693 arg4 = wxString_in_helper(obj3);
4694 if (arg4 == NULL) SWIG_fail;
b411df4a 4695 temp4 = true;
d55e5bfc
RD
4696 }
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 Py_INCREF(Py_None); resultobj = Py_None;
4705 {
4706 if (temp4)
4707 delete arg4;
4708 }
4709 return resultobj;
4710 fail:
4711 {
4712 if (temp4)
4713 delete arg4;
4714 }
4715 return NULL;
4716}
4717
4718
c370783e 4719static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4720 PyObject *resultobj;
4721 wxComboBox *arg1 = (wxComboBox *) 0 ;
4722 int arg2 ;
4723 PyObject * obj0 = 0 ;
4724 PyObject * obj1 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self",(char *) "n", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4731 if (SWIG_arg_fail(1)) SWIG_fail;
4732 {
4733 arg2 = (int)(SWIG_As_int(obj1));
4734 if (SWIG_arg_fail(2)) SWIG_fail;
4735 }
d55e5bfc
RD
4736 {
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 (arg1)->SetSelection(arg2);
4739
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 Py_INCREF(Py_None); resultobj = Py_None;
4744 return resultobj;
4745 fail:
4746 return NULL;
4747}
4748
4749
c370783e 4750static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4751 PyObject *resultobj;
4752 wxComboBox *arg1 = (wxComboBox *) 0 ;
4753 long arg2 ;
4754 long arg3 ;
4755 PyObject * obj0 = 0 ;
4756 PyObject * obj1 = 0 ;
4757 PyObject * obj2 = 0 ;
4758 char *kwnames[] = {
4759 (char *) "self",(char *) "from",(char *) "to", NULL
4760 };
4761
4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4764 if (SWIG_arg_fail(1)) SWIG_fail;
4765 {
4766 arg2 = (long)(SWIG_As_long(obj1));
4767 if (SWIG_arg_fail(2)) SWIG_fail;
4768 }
4769 {
4770 arg3 = (long)(SWIG_As_long(obj2));
4771 if (SWIG_arg_fail(3)) SWIG_fail;
4772 }
d55e5bfc
RD
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 (arg1)->SetSelection(arg2,arg3);
4776
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 Py_INCREF(Py_None); resultobj = Py_None;
4781 return resultobj;
4782 fail:
4783 return NULL;
4784}
4785
4786
c370783e 4787static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4788 PyObject *resultobj;
4789 wxComboBox *arg1 = (wxComboBox *) 0 ;
4790 wxString *arg2 = 0 ;
4791 bool result;
b411df4a 4792 bool temp2 = false ;
121b9a67
RD
4793 PyObject * obj0 = 0 ;
4794 PyObject * obj1 = 0 ;
4795 char *kwnames[] = {
4796 (char *) "self",(char *) "string", NULL
4797 };
4798
4799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4801 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
4802 {
4803 arg2 = wxString_in_helper(obj1);
4804 if (arg2 == NULL) SWIG_fail;
b411df4a 4805 temp2 = true;
121b9a67
RD
4806 }
4807 {
4808 PyThreadState* __tstate = wxPyBeginAllowThreads();
4809 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4810
4811 wxPyEndAllowThreads(__tstate);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 {
4815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4816 }
4817 {
4818 if (temp2)
4819 delete arg2;
4820 }
4821 return resultobj;
4822 fail:
4823 {
4824 if (temp2)
4825 delete arg2;
4826 }
4827 return NULL;
4828}
4829
4830
c370783e 4831static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4832 PyObject *resultobj;
4833 wxComboBox *arg1 = (wxComboBox *) 0 ;
4834 int arg2 ;
4835 wxString *arg3 = 0 ;
b411df4a 4836 bool temp3 = false ;
121b9a67
RD
4837 PyObject * obj0 = 0 ;
4838 PyObject * obj1 = 0 ;
4839 PyObject * obj2 = 0 ;
4840 char *kwnames[] = {
4841 (char *) "self",(char *) "n",(char *) "string", NULL
4842 };
4843
4844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4846 if (SWIG_arg_fail(1)) SWIG_fail;
4847 {
4848 arg2 = (int)(SWIG_As_int(obj1));
4849 if (SWIG_arg_fail(2)) SWIG_fail;
4850 }
121b9a67
RD
4851 {
4852 arg3 = wxString_in_helper(obj2);
4853 if (arg3 == NULL) SWIG_fail;
b411df4a 4854 temp3 = true;
121b9a67
RD
4855 }
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 (arg1)->SetString(arg2,(wxString const &)*arg3);
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 Py_INCREF(Py_None); resultobj = Py_None;
4864 {
4865 if (temp3)
4866 delete arg3;
4867 }
4868 return resultobj;
4869 fail:
4870 {
4871 if (temp3)
4872 delete arg3;
4873 }
4874 return NULL;
4875}
4876
4877
c370783e 4878static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4879 PyObject *resultobj;
4880 wxComboBox *arg1 = (wxComboBox *) 0 ;
4881 bool arg2 ;
4882 PyObject * obj0 = 0 ;
4883 PyObject * obj1 = 0 ;
4884 char *kwnames[] = {
4885 (char *) "self",(char *) "editable", NULL
4886 };
4887
4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4890 if (SWIG_arg_fail(1)) SWIG_fail;
4891 {
4892 arg2 = (bool)(SWIG_As_bool(obj1));
4893 if (SWIG_arg_fail(2)) SWIG_fail;
4894 }
d55e5bfc
RD
4895 {
4896 PyThreadState* __tstate = wxPyBeginAllowThreads();
4897 (arg1)->SetEditable(arg2);
4898
4899 wxPyEndAllowThreads(__tstate);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 Py_INCREF(Py_None); resultobj = Py_None;
4903 return resultobj;
4904 fail:
4905 return NULL;
4906}
4907
4908
c370783e 4909static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4910 PyObject *resultobj;
4911 wxComboBox *arg1 = (wxComboBox *) 0 ;
4912 PyObject * obj0 = 0 ;
4913 char *kwnames[] = {
4914 (char *) "self", NULL
4915 };
4916
4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
4918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4919 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4920 {
4921 PyThreadState* __tstate = wxPyBeginAllowThreads();
4922 (arg1)->SetInsertionPointEnd();
4923
4924 wxPyEndAllowThreads(__tstate);
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
4927 Py_INCREF(Py_None); resultobj = Py_None;
4928 return resultobj;
4929 fail:
4930 return NULL;
4931}
4932
4933
c370783e 4934static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4935 PyObject *resultobj;
4936 wxComboBox *arg1 = (wxComboBox *) 0 ;
4937 long arg2 ;
4938 long arg3 ;
4939 PyObject * obj0 = 0 ;
4940 PyObject * obj1 = 0 ;
4941 PyObject * obj2 = 0 ;
4942 char *kwnames[] = {
4943 (char *) "self",(char *) "from",(char *) "to", NULL
4944 };
4945
4946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4948 if (SWIG_arg_fail(1)) SWIG_fail;
4949 {
4950 arg2 = (long)(SWIG_As_long(obj1));
4951 if (SWIG_arg_fail(2)) SWIG_fail;
4952 }
4953 {
4954 arg3 = (long)(SWIG_As_long(obj2));
4955 if (SWIG_arg_fail(3)) SWIG_fail;
4956 }
d55e5bfc
RD
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 (arg1)->Remove(arg2,arg3);
4960
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 Py_INCREF(Py_None); resultobj = Py_None;
4965 return resultobj;
4966 fail:
4967 return NULL;
4968}
4969
4970
5cbf236d
RD
4971static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4972 PyObject *resultobj;
4973 wxComboBox *arg1 = (wxComboBox *) 0 ;
4974 bool result;
4975 PyObject * obj0 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "self", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
36ed4f51
RD
4981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4982 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
4983 {
4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
4985 result = (bool)((wxComboBox const *)arg1)->IsEditable();
4986
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 {
4991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4992 }
4993 return resultobj;
4994 fail:
4995 return NULL;
4996}
4997
4998
4999static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxComboBox *arg1 = (wxComboBox *) 0 ;
5002 PyObject * obj0 = 0 ;
5003 char *kwnames[] = {
5004 (char *) "self", NULL
5005 };
5006
5007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5009 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 (arg1)->Undo();
5013
5014 wxPyEndAllowThreads(__tstate);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 Py_INCREF(Py_None); resultobj = Py_None;
5018 return resultobj;
5019 fail:
5020 return NULL;
5021}
5022
5023
5024static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5025 PyObject *resultobj;
5026 wxComboBox *arg1 = (wxComboBox *) 0 ;
5027 PyObject * obj0 = 0 ;
5028 char *kwnames[] = {
5029 (char *) "self", NULL
5030 };
5031
5032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5034 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 (arg1)->Redo();
5038
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 Py_INCREF(Py_None); resultobj = Py_None;
5043 return resultobj;
5044 fail:
5045 return NULL;
5046}
5047
5048
5049static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5050 PyObject *resultobj;
5051 wxComboBox *arg1 = (wxComboBox *) 0 ;
5052 PyObject * obj0 = 0 ;
5053 char *kwnames[] = {
5054 (char *) "self", NULL
5055 };
5056
5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
5058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5059 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5060 {
5061 PyThreadState* __tstate = wxPyBeginAllowThreads();
5062 (arg1)->SelectAll();
5063
5064 wxPyEndAllowThreads(__tstate);
5065 if (PyErr_Occurred()) SWIG_fail;
5066 }
5067 Py_INCREF(Py_None); resultobj = Py_None;
5068 return resultobj;
5069 fail:
5070 return NULL;
5071}
5072
5073
5074static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5075 PyObject *resultobj;
5076 wxComboBox *arg1 = (wxComboBox *) 0 ;
5077 bool result;
5078 PyObject * obj0 = 0 ;
5079 char *kwnames[] = {
5080 (char *) "self", NULL
5081 };
5082
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
36ed4f51
RD
5084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5085 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5086 {
5087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5088 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5089
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 {
5094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5095 }
5096 return resultobj;
5097 fail:
5098 return NULL;
5099}
5100
5101
5102static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5103 PyObject *resultobj;
5104 wxComboBox *arg1 = (wxComboBox *) 0 ;
5105 bool result;
5106 PyObject * obj0 = 0 ;
5107 char *kwnames[] = {
5108 (char *) "self", NULL
5109 };
5110
5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
36ed4f51
RD
5112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5113 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 result = (bool)((wxComboBox const *)arg1)->CanCut();
5117
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 {
5122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5123 }
5124 return resultobj;
5125 fail:
5126 return NULL;
5127}
5128
5129
5130static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5131 PyObject *resultobj;
5132 wxComboBox *arg1 = (wxComboBox *) 0 ;
5133 bool result;
5134 PyObject * obj0 = 0 ;
5135 char *kwnames[] = {
5136 (char *) "self", NULL
5137 };
5138
5139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
36ed4f51
RD
5140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5141 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5145
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 {
5150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5151 }
5152 return resultobj;
5153 fail:
5154 return NULL;
5155}
5156
5157
5158static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5159 PyObject *resultobj;
5160 wxComboBox *arg1 = (wxComboBox *) 0 ;
5161 bool result;
5162 PyObject * obj0 = 0 ;
5163 char *kwnames[] = {
5164 (char *) "self", NULL
5165 };
5166
5167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5169 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5170 {
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5173
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 {
5178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5179 }
5180 return resultobj;
5181 fail:
5182 return NULL;
5183}
5184
5185
5186static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5187 PyObject *resultobj;
5188 wxComboBox *arg1 = (wxComboBox *) 0 ;
5189 bool result;
5190 PyObject * obj0 = 0 ;
5191 char *kwnames[] = {
5192 (char *) "self", NULL
5193 };
5194
5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5197 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5198 {
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5201
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 {
5206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5207 }
5208 return resultobj;
5209 fail:
5210 return NULL;
5211}
5212
5213
c370783e 5214static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5215 PyObject *resultobj;
36ed4f51 5216 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5217 wxVisualAttributes result;
5218 PyObject * obj0 = 0 ;
5219 char *kwnames[] = {
5220 (char *) "variant", NULL
5221 };
5222
5223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5224 if (obj0) {
36ed4f51
RD
5225 {
5226 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5227 if (SWIG_arg_fail(1)) SWIG_fail;
5228 }
f20a2e1f
RD
5229 }
5230 {
0439c23b 5231 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5234
5235 wxPyEndAllowThreads(__tstate);
110da5b0 5236 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5237 }
5238 {
5239 wxVisualAttributes * resultptr;
36ed4f51 5240 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5241 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5242 }
5243 return resultobj;
5244 fail:
5245 return NULL;
5246}
5247
5248
c370783e 5249static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5250 PyObject *obj;
5251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5252 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5253 Py_INCREF(obj);
5254 return Py_BuildValue((char *)"");
5255}
c370783e 5256static int _wrap_GaugeNameStr_set(PyObject *) {
d55e5bfc
RD
5257 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5258 return 1;
5259}
5260
5261
36ed4f51 5262static PyObject *_wrap_GaugeNameStr_get(void) {
d55e5bfc
RD
5263 PyObject *pyobj;
5264
5265 {
5266#if wxUSE_UNICODE
5267 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5268#else
5269 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5270#endif
5271 }
5272 return pyobj;
5273}
5274
5275
c370783e 5276static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5277 PyObject *resultobj;
5278 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5279 int arg2 = (int) -1 ;
5280 int arg3 = (int) 100 ;
d55e5bfc
RD
5281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5283 wxSize const &arg5_defvalue = wxDefaultSize ;
5284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5285 long arg6 = (long) wxGA_HORIZONTAL ;
5286 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5287 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5288 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5289 wxString *arg8 = (wxString *) &arg8_defvalue ;
5290 wxGauge *result;
5291 wxPoint temp4 ;
5292 wxSize temp5 ;
b411df4a 5293 bool temp8 = false ;
d55e5bfc
RD
5294 PyObject * obj0 = 0 ;
5295 PyObject * obj1 = 0 ;
5296 PyObject * obj2 = 0 ;
5297 PyObject * obj3 = 0 ;
5298 PyObject * obj4 = 0 ;
5299 PyObject * obj5 = 0 ;
5300 PyObject * obj6 = 0 ;
5301 PyObject * obj7 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5304 };
5305
bfddbb17 5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
5307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5308 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 5309 if (obj1) {
36ed4f51
RD
5310 {
5311 arg2 = (int)(SWIG_As_int(obj1));
5312 if (SWIG_arg_fail(2)) SWIG_fail;
5313 }
bfddbb17
RD
5314 }
5315 if (obj2) {
36ed4f51
RD
5316 {
5317 arg3 = (int)(SWIG_As_int(obj2));
5318 if (SWIG_arg_fail(3)) SWIG_fail;
5319 }
bfddbb17 5320 }
d55e5bfc
RD
5321 if (obj3) {
5322 {
5323 arg4 = &temp4;
5324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5325 }
5326 }
5327 if (obj4) {
5328 {
5329 arg5 = &temp5;
5330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5331 }
5332 }
5333 if (obj5) {
36ed4f51
RD
5334 {
5335 arg6 = (long)(SWIG_As_long(obj5));
5336 if (SWIG_arg_fail(6)) SWIG_fail;
5337 }
d55e5bfc
RD
5338 }
5339 if (obj6) {
36ed4f51
RD
5340 {
5341 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5342 if (SWIG_arg_fail(7)) SWIG_fail;
5343 if (arg7 == NULL) {
5344 SWIG_null_ref("wxValidator");
5345 }
5346 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
5347 }
5348 }
5349 if (obj7) {
5350 {
5351 arg8 = wxString_in_helper(obj7);
5352 if (arg8 == NULL) SWIG_fail;
b411df4a 5353 temp8 = true;
d55e5bfc
RD
5354 }
5355 }
5356 {
0439c23b 5357 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
5359 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5360
5361 wxPyEndAllowThreads(__tstate);
110da5b0 5362 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5363 }
5364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5365 {
5366 if (temp8)
5367 delete arg8;
5368 }
5369 return resultobj;
5370 fail:
5371 {
5372 if (temp8)
5373 delete arg8;
5374 }
5375 return NULL;
5376}
5377
5378
c370783e 5379static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5380 PyObject *resultobj;
5381 wxGauge *result;
5382 char *kwnames[] = {
5383 NULL
5384 };
5385
5386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5387 {
0439c23b 5388 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 result = (wxGauge *)new wxGauge();
5391
5392 wxPyEndAllowThreads(__tstate);
110da5b0 5393 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5394 }
5395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5396 return resultobj;
5397 fail:
5398 return NULL;
5399}
5400
5401
c370783e 5402static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5403 PyObject *resultobj;
5404 wxGauge *arg1 = (wxGauge *) 0 ;
5405 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5406 int arg3 = (int) -1 ;
5407 int arg4 = (int) 100 ;
d55e5bfc
RD
5408 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5409 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5410 wxSize const &arg6_defvalue = wxDefaultSize ;
5411 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5412 long arg7 = (long) wxGA_HORIZONTAL ;
5413 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5414 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5415 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5416 wxString *arg9 = (wxString *) &arg9_defvalue ;
5417 bool result;
5418 wxPoint temp5 ;
5419 wxSize temp6 ;
b411df4a 5420 bool temp9 = false ;
d55e5bfc
RD
5421 PyObject * obj0 = 0 ;
5422 PyObject * obj1 = 0 ;
5423 PyObject * obj2 = 0 ;
5424 PyObject * obj3 = 0 ;
5425 PyObject * obj4 = 0 ;
5426 PyObject * obj5 = 0 ;
5427 PyObject * obj6 = 0 ;
5428 PyObject * obj7 = 0 ;
5429 PyObject * obj8 = 0 ;
5430 char *kwnames[] = {
5431 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5432 };
5433
bfddbb17 5434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
5435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5436 if (SWIG_arg_fail(1)) SWIG_fail;
5437 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5438 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 5439 if (obj2) {
36ed4f51
RD
5440 {
5441 arg3 = (int)(SWIG_As_int(obj2));
5442 if (SWIG_arg_fail(3)) SWIG_fail;
5443 }
bfddbb17
RD
5444 }
5445 if (obj3) {
36ed4f51
RD
5446 {
5447 arg4 = (int)(SWIG_As_int(obj3));
5448 if (SWIG_arg_fail(4)) SWIG_fail;
5449 }
bfddbb17 5450 }
d55e5bfc
RD
5451 if (obj4) {
5452 {
5453 arg5 = &temp5;
5454 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5455 }
5456 }
5457 if (obj5) {
5458 {
5459 arg6 = &temp6;
5460 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5461 }
5462 }
5463 if (obj6) {
36ed4f51
RD
5464 {
5465 arg7 = (long)(SWIG_As_long(obj6));
5466 if (SWIG_arg_fail(7)) SWIG_fail;
5467 }
d55e5bfc
RD
5468 }
5469 if (obj7) {
36ed4f51
RD
5470 {
5471 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5472 if (SWIG_arg_fail(8)) SWIG_fail;
5473 if (arg8 == NULL) {
5474 SWIG_null_ref("wxValidator");
5475 }
5476 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
5477 }
5478 }
5479 if (obj8) {
5480 {
5481 arg9 = wxString_in_helper(obj8);
5482 if (arg9 == NULL) SWIG_fail;
b411df4a 5483 temp9 = true;
d55e5bfc
RD
5484 }
5485 }
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 {
5494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5495 }
5496 {
5497 if (temp9)
5498 delete arg9;
5499 }
5500 return resultobj;
5501 fail:
5502 {
5503 if (temp9)
5504 delete arg9;
5505 }
5506 return NULL;
5507}
5508
5509
c370783e 5510static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5511 PyObject *resultobj;
5512 wxGauge *arg1 = (wxGauge *) 0 ;
5513 int arg2 ;
5514 PyObject * obj0 = 0 ;
5515 PyObject * obj1 = 0 ;
5516 char *kwnames[] = {
5517 (char *) "self",(char *) "range", NULL
5518 };
5519
5520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5522 if (SWIG_arg_fail(1)) SWIG_fail;
5523 {
5524 arg2 = (int)(SWIG_As_int(obj1));
5525 if (SWIG_arg_fail(2)) SWIG_fail;
5526 }
d55e5bfc
RD
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 (arg1)->SetRange(arg2);
5530
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 Py_INCREF(Py_None); resultobj = Py_None;
5535 return resultobj;
5536 fail:
5537 return NULL;
5538}
5539
5540
c370783e 5541static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5542 PyObject *resultobj;
5543 wxGauge *arg1 = (wxGauge *) 0 ;
5544 int result;
5545 PyObject * obj0 = 0 ;
5546 char *kwnames[] = {
5547 (char *) "self", NULL
5548 };
5549
5550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
36ed4f51
RD
5551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5552 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5553 {
5554 PyThreadState* __tstate = wxPyBeginAllowThreads();
5555 result = (int)((wxGauge const *)arg1)->GetRange();
5556
5557 wxPyEndAllowThreads(__tstate);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
36ed4f51
RD
5560 {
5561 resultobj = SWIG_From_int((int)(result));
5562 }
d55e5bfc
RD
5563 return resultobj;
5564 fail:
5565 return NULL;
5566}
5567
5568
c370783e 5569static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5570 PyObject *resultobj;
5571 wxGauge *arg1 = (wxGauge *) 0 ;
5572 int arg2 ;
5573 PyObject * obj0 = 0 ;
5574 PyObject * obj1 = 0 ;
5575 char *kwnames[] = {
5576 (char *) "self",(char *) "pos", NULL
5577 };
5578
5579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5581 if (SWIG_arg_fail(1)) SWIG_fail;
5582 {
5583 arg2 = (int)(SWIG_As_int(obj1));
5584 if (SWIG_arg_fail(2)) SWIG_fail;
5585 }
d55e5bfc
RD
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 (arg1)->SetValue(arg2);
5589
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 Py_INCREF(Py_None); resultobj = Py_None;
5594 return resultobj;
5595 fail:
5596 return NULL;
5597}
5598
5599
c370783e 5600static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5601 PyObject *resultobj;
5602 wxGauge *arg1 = (wxGauge *) 0 ;
5603 int result;
5604 PyObject * obj0 = 0 ;
5605 char *kwnames[] = {
5606 (char *) "self", NULL
5607 };
5608
5609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
5610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 result = (int)((wxGauge const *)arg1)->GetValue();
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
36ed4f51
RD
5619 {
5620 resultobj = SWIG_From_int((int)(result));
5621 }
d55e5bfc
RD
5622 return resultobj;
5623 fail:
5624 return NULL;
5625}
5626
5627
c370783e 5628static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5629 PyObject *resultobj;
5630 wxGauge *arg1 = (wxGauge *) 0 ;
5631 bool result;
5632 PyObject * obj0 = 0 ;
5633 char *kwnames[] = {
5634 (char *) "self", NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
5638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5639 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 result = (bool)((wxGauge const *)arg1)->IsVertical();
5643
5644 wxPyEndAllowThreads(__tstate);
5645 if (PyErr_Occurred()) SWIG_fail;
5646 }
5647 {
5648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5649 }
5650 return resultobj;
5651 fail:
5652 return NULL;
5653}
5654
5655
c370783e 5656static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5657 PyObject *resultobj;
5658 wxGauge *arg1 = (wxGauge *) 0 ;
5659 int arg2 ;
5660 PyObject * obj0 = 0 ;
5661 PyObject * obj1 = 0 ;
5662 char *kwnames[] = {
5663 (char *) "self",(char *) "w", NULL
5664 };
5665
5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5668 if (SWIG_arg_fail(1)) SWIG_fail;
5669 {
5670 arg2 = (int)(SWIG_As_int(obj1));
5671 if (SWIG_arg_fail(2)) SWIG_fail;
5672 }
d55e5bfc
RD
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 (arg1)->SetShadowWidth(arg2);
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 Py_INCREF(Py_None); resultobj = Py_None;
5681 return resultobj;
5682 fail:
5683 return NULL;
5684}
5685
5686
c370783e 5687static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5688 PyObject *resultobj;
5689 wxGauge *arg1 = (wxGauge *) 0 ;
5690 int result;
5691 PyObject * obj0 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
5697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5702
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
36ed4f51
RD
5706 {
5707 resultobj = SWIG_From_int((int)(result));
5708 }
d55e5bfc
RD
5709 return resultobj;
5710 fail:
5711 return NULL;
5712}
5713
5714
c370783e 5715static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5716 PyObject *resultobj;
5717 wxGauge *arg1 = (wxGauge *) 0 ;
5718 int arg2 ;
5719 PyObject * obj0 = 0 ;
5720 PyObject * obj1 = 0 ;
5721 char *kwnames[] = {
5722 (char *) "self",(char *) "w", NULL
5723 };
5724
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5727 if (SWIG_arg_fail(1)) SWIG_fail;
5728 {
5729 arg2 = (int)(SWIG_As_int(obj1));
5730 if (SWIG_arg_fail(2)) SWIG_fail;
5731 }
d55e5bfc
RD
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 (arg1)->SetBezelFace(arg2);
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 Py_INCREF(Py_None); resultobj = Py_None;
5740 return resultobj;
5741 fail:
5742 return NULL;
5743}
5744
5745
c370783e 5746static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5747 PyObject *resultobj;
5748 wxGauge *arg1 = (wxGauge *) 0 ;
5749 int result;
5750 PyObject * obj0 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
36ed4f51
RD
5756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5757 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
36ed4f51
RD
5765 {
5766 resultobj = SWIG_From_int((int)(result));
5767 }
d55e5bfc
RD
5768 return resultobj;
5769 fail:
5770 return NULL;
5771}
5772
5773
c370783e 5774static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5775 PyObject *resultobj;
36ed4f51 5776 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5777 wxVisualAttributes result;
5778 PyObject * obj0 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "variant", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5784 if (obj0) {
36ed4f51
RD
5785 {
5786 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5787 if (SWIG_arg_fail(1)) SWIG_fail;
5788 }
f20a2e1f
RD
5789 }
5790 {
0439c23b 5791 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5792 PyThreadState* __tstate = wxPyBeginAllowThreads();
5793 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5794
5795 wxPyEndAllowThreads(__tstate);
110da5b0 5796 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5797 }
5798 {
5799 wxVisualAttributes * resultptr;
36ed4f51 5800 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5802 }
5803 return resultobj;
5804 fail:
5805 return NULL;
5806}
5807
5808
c370783e 5809static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5810 PyObject *obj;
5811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5812 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5813 Py_INCREF(obj);
5814 return Py_BuildValue((char *)"");
5815}
c370783e 5816static int _wrap_StaticBitmapNameStr_set(PyObject *) {
d55e5bfc
RD
5817 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5818 return 1;
5819}
5820
5821
36ed4f51 5822static PyObject *_wrap_StaticBitmapNameStr_get(void) {
d55e5bfc
RD
5823 PyObject *pyobj;
5824
5825 {
5826#if wxUSE_UNICODE
5827 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5828#else
5829 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5830#endif
5831 }
5832 return pyobj;
5833}
5834
5835
c370783e 5836static int _wrap_StaticBoxNameStr_set(PyObject *) {
d55e5bfc
RD
5837 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5838 return 1;
5839}
5840
5841
36ed4f51 5842static PyObject *_wrap_StaticBoxNameStr_get(void) {
d55e5bfc
RD
5843 PyObject *pyobj;
5844
5845 {
5846#if wxUSE_UNICODE
5847 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5848#else
5849 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5850#endif
5851 }
5852 return pyobj;
5853}
5854
5855
c370783e 5856static int _wrap_StaticTextNameStr_set(PyObject *) {
d55e5bfc
RD
5857 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5858 return 1;
5859}
5860
5861
36ed4f51 5862static PyObject *_wrap_StaticTextNameStr_get(void) {
d55e5bfc
RD
5863 PyObject *pyobj;
5864
5865 {
5866#if wxUSE_UNICODE
5867 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5868#else
5869 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5870#endif
5871 }
5872 return pyobj;
5873}
5874
5875
c370783e 5876static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5877 PyObject *resultobj;
5878 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5879 int arg2 = (int) -1 ;
5880 wxString const &arg3_defvalue = wxPyEmptyString ;
5881 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5882 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5883 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5884 wxSize const &arg5_defvalue = wxDefaultSize ;
5885 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5886 long arg6 = (long) 0 ;
5887 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5888 wxString *arg7 = (wxString *) &arg7_defvalue ;
5889 wxStaticBox *result;
b411df4a 5890 bool temp3 = false ;
d55e5bfc
RD
5891 wxPoint temp4 ;
5892 wxSize temp5 ;
b411df4a 5893 bool temp7 = false ;
d55e5bfc
RD
5894 PyObject * obj0 = 0 ;
5895 PyObject * obj1 = 0 ;
5896 PyObject * obj2 = 0 ;
5897 PyObject * obj3 = 0 ;
5898 PyObject * obj4 = 0 ;
5899 PyObject * obj5 = 0 ;
5900 PyObject * obj6 = 0 ;
5901 char *kwnames[] = {
5902 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5903 };
5904
bfddbb17 5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
5906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5907 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 5908 if (obj1) {
36ed4f51
RD
5909 {
5910 arg2 = (int)(SWIG_As_int(obj1));
5911 if (SWIG_arg_fail(2)) SWIG_fail;
5912 }
bfddbb17
RD
5913 }
5914 if (obj2) {
5915 {
5916 arg3 = wxString_in_helper(obj2);
5917 if (arg3 == NULL) SWIG_fail;
b411df4a 5918 temp3 = true;
bfddbb17 5919 }
d55e5bfc
RD
5920 }
5921 if (obj3) {
5922 {
5923 arg4 = &temp4;
5924 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5925 }
5926 }
5927 if (obj4) {
5928 {
5929 arg5 = &temp5;
5930 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5931 }
5932 }
5933 if (obj5) {
36ed4f51
RD
5934 {
5935 arg6 = (long)(SWIG_As_long(obj5));
5936 if (SWIG_arg_fail(6)) SWIG_fail;
5937 }
d55e5bfc
RD
5938 }
5939 if (obj6) {
5940 {
5941 arg7 = wxString_in_helper(obj6);
5942 if (arg7 == NULL) SWIG_fail;
b411df4a 5943 temp7 = true;
d55e5bfc
RD
5944 }
5945 }
5946 {
0439c23b 5947 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5950
5951 wxPyEndAllowThreads(__tstate);
110da5b0 5952 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5953 }
b0f7404b 5954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
5955 {
5956 if (temp3)
5957 delete arg3;
5958 }
5959 {
5960 if (temp7)
5961 delete arg7;
5962 }
5963 return resultobj;
5964 fail:
5965 {
5966 if (temp3)
5967 delete arg3;
5968 }
5969 {
5970 if (temp7)
5971 delete arg7;
5972 }
5973 return NULL;
5974}
5975
5976
c370783e 5977static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5978 PyObject *resultobj;
5979 wxStaticBox *result;
5980 char *kwnames[] = {
5981 NULL
5982 };
5983
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
5985 {
0439c23b 5986 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5987 PyThreadState* __tstate = wxPyBeginAllowThreads();
5988 result = (wxStaticBox *)new wxStaticBox();
5989
5990 wxPyEndAllowThreads(__tstate);
110da5b0 5991 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5992 }
b0f7404b 5993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
5994 return resultobj;
5995 fail:
5996 return NULL;
5997}
5998
5999
c370783e 6000static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6001 PyObject *resultobj;
6002 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6003 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6004 int arg3 = (int) -1 ;
6005 wxString const &arg4_defvalue = wxPyEmptyString ;
6006 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6007 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6008 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6009 wxSize const &arg6_defvalue = wxDefaultSize ;
6010 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6011 long arg7 = (long) 0 ;
6012 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6013 wxString *arg8 = (wxString *) &arg8_defvalue ;
6014 bool result;
b411df4a 6015 bool temp4 = false ;
d55e5bfc
RD
6016 wxPoint temp5 ;
6017 wxSize temp6 ;
b411df4a 6018 bool temp8 = false ;
d55e5bfc
RD
6019 PyObject * obj0 = 0 ;
6020 PyObject * obj1 = 0 ;
6021 PyObject * obj2 = 0 ;
6022 PyObject * obj3 = 0 ;
6023 PyObject * obj4 = 0 ;
6024 PyObject * obj5 = 0 ;
6025 PyObject * obj6 = 0 ;
6026 PyObject * obj7 = 0 ;
6027 char *kwnames[] = {
6028 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6029 };
6030
bfddbb17 6031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6033 if (SWIG_arg_fail(1)) SWIG_fail;
6034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6035 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6036 if (obj2) {
36ed4f51
RD
6037 {
6038 arg3 = (int)(SWIG_As_int(obj2));
6039 if (SWIG_arg_fail(3)) SWIG_fail;
6040 }
bfddbb17
RD
6041 }
6042 if (obj3) {
6043 {
6044 arg4 = wxString_in_helper(obj3);
6045 if (arg4 == NULL) SWIG_fail;
b411df4a 6046 temp4 = true;
bfddbb17 6047 }
d55e5bfc
RD
6048 }
6049 if (obj4) {
6050 {
6051 arg5 = &temp5;
6052 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6053 }
6054 }
6055 if (obj5) {
6056 {
6057 arg6 = &temp6;
6058 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6059 }
6060 }
6061 if (obj6) {
36ed4f51
RD
6062 {
6063 arg7 = (long)(SWIG_As_long(obj6));
6064 if (SWIG_arg_fail(7)) SWIG_fail;
6065 }
d55e5bfc
RD
6066 }
6067 if (obj7) {
6068 {
6069 arg8 = wxString_in_helper(obj7);
6070 if (arg8 == NULL) SWIG_fail;
b411df4a 6071 temp8 = true;
d55e5bfc
RD
6072 }
6073 }
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6077
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
6081 {
6082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6083 }
6084 {
6085 if (temp4)
6086 delete arg4;
6087 }
6088 {
6089 if (temp8)
6090 delete arg8;
6091 }
6092 return resultobj;
6093 fail:
6094 {
6095 if (temp4)
6096 delete arg4;
6097 }
6098 {
6099 if (temp8)
6100 delete arg8;
6101 }
6102 return NULL;
6103}
6104
6105
c370783e 6106static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6107 PyObject *resultobj;
36ed4f51 6108 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6109 wxVisualAttributes result;
6110 PyObject * obj0 = 0 ;
6111 char *kwnames[] = {
6112 (char *) "variant", NULL
6113 };
6114
6115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6116 if (obj0) {
36ed4f51
RD
6117 {
6118 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6119 if (SWIG_arg_fail(1)) SWIG_fail;
6120 }
f20a2e1f
RD
6121 }
6122 {
0439c23b 6123 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6125 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6126
6127 wxPyEndAllowThreads(__tstate);
110da5b0 6128 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6129 }
6130 {
6131 wxVisualAttributes * resultptr;
36ed4f51 6132 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6134 }
6135 return resultobj;
6136 fail:
6137 return NULL;
6138}
6139
6140
c370783e 6141static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6142 PyObject *obj;
6143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6144 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6145 Py_INCREF(obj);
6146 return Py_BuildValue((char *)"");
6147}
c370783e 6148static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6149 PyObject *resultobj;
6150 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 6151 int arg2 = (int) -1 ;
d55e5bfc
RD
6152 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6153 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6154 wxSize const &arg4_defvalue = wxDefaultSize ;
6155 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6156 long arg5 = (long) wxLI_HORIZONTAL ;
6157 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6158 wxString *arg6 = (wxString *) &arg6_defvalue ;
6159 wxStaticLine *result;
6160 wxPoint temp3 ;
6161 wxSize temp4 ;
b411df4a 6162 bool temp6 = false ;
d55e5bfc
RD
6163 PyObject * obj0 = 0 ;
6164 PyObject * obj1 = 0 ;
6165 PyObject * obj2 = 0 ;
6166 PyObject * obj3 = 0 ;
6167 PyObject * obj4 = 0 ;
6168 PyObject * obj5 = 0 ;
6169 char *kwnames[] = {
6170 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6171 };
6172
bfddbb17 6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
6174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6175 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6176 if (obj1) {
36ed4f51
RD
6177 {
6178 arg2 = (int)(SWIG_As_int(obj1));
6179 if (SWIG_arg_fail(2)) SWIG_fail;
6180 }
bfddbb17 6181 }
d55e5bfc
RD
6182 if (obj2) {
6183 {
6184 arg3 = &temp3;
6185 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6186 }
6187 }
6188 if (obj3) {
6189 {
6190 arg4 = &temp4;
6191 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6192 }
6193 }
6194 if (obj4) {
36ed4f51
RD
6195 {
6196 arg5 = (long)(SWIG_As_long(obj4));
6197 if (SWIG_arg_fail(5)) SWIG_fail;
6198 }
d55e5bfc
RD
6199 }
6200 if (obj5) {
6201 {
6202 arg6 = wxString_in_helper(obj5);
6203 if (arg6 == NULL) SWIG_fail;
b411df4a 6204 temp6 = true;
d55e5bfc
RD
6205 }
6206 }
6207 {
0439c23b 6208 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6209 PyThreadState* __tstate = wxPyBeginAllowThreads();
6210 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6211
6212 wxPyEndAllowThreads(__tstate);
110da5b0 6213 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6214 }
6215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6216 {
6217 if (temp6)
6218 delete arg6;
6219 }
6220 return resultobj;
6221 fail:
6222 {
6223 if (temp6)
6224 delete arg6;
6225 }
6226 return NULL;
6227}
6228
6229
c370783e 6230static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6231 PyObject *resultobj;
6232 wxStaticLine *result;
6233 char *kwnames[] = {
6234 NULL
6235 };
6236
6237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6238 {
0439c23b 6239 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (wxStaticLine *)new wxStaticLine();
6242
6243 wxPyEndAllowThreads(__tstate);
110da5b0 6244 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6245 }
6246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6247 return resultobj;
6248 fail:
6249 return NULL;
6250}
6251
6252
c370783e 6253static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6254 PyObject *resultobj;
6255 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6256 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 6257 int arg3 = (int) -1 ;
d55e5bfc
RD
6258 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6259 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6260 wxSize const &arg5_defvalue = wxDefaultSize ;
6261 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6262 long arg6 = (long) wxLI_HORIZONTAL ;
6263 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6264 wxString *arg7 = (wxString *) &arg7_defvalue ;
6265 bool result;
6266 wxPoint temp4 ;
6267 wxSize temp5 ;
b411df4a 6268 bool temp7 = false ;
d55e5bfc
RD
6269 PyObject * obj0 = 0 ;
6270 PyObject * obj1 = 0 ;
6271 PyObject * obj2 = 0 ;
6272 PyObject * obj3 = 0 ;
6273 PyObject * obj4 = 0 ;
6274 PyObject * obj5 = 0 ;
6275 PyObject * obj6 = 0 ;
6276 char *kwnames[] = {
6277 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6278 };
6279
bfddbb17 6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6282 if (SWIG_arg_fail(1)) SWIG_fail;
6283 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6284 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6285 if (obj2) {
36ed4f51
RD
6286 {
6287 arg3 = (int)(SWIG_As_int(obj2));
6288 if (SWIG_arg_fail(3)) SWIG_fail;
6289 }
bfddbb17 6290 }
d55e5bfc
RD
6291 if (obj3) {
6292 {
6293 arg4 = &temp4;
6294 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6295 }
6296 }
6297 if (obj4) {
6298 {
6299 arg5 = &temp5;
6300 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6301 }
6302 }
6303 if (obj5) {
36ed4f51
RD
6304 {
6305 arg6 = (long)(SWIG_As_long(obj5));
6306 if (SWIG_arg_fail(6)) SWIG_fail;
6307 }
d55e5bfc
RD
6308 }
6309 if (obj6) {
6310 {
6311 arg7 = wxString_in_helper(obj6);
6312 if (arg7 == NULL) SWIG_fail;
b411df4a 6313 temp7 = true;
d55e5bfc
RD
6314 }
6315 }
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6319
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 {
6324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6325 }
6326 {
6327 if (temp7)
6328 delete arg7;
6329 }
6330 return resultobj;
6331 fail:
6332 {
6333 if (temp7)
6334 delete arg7;
6335 }
6336 return NULL;
6337}
6338
6339
c370783e 6340static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6341 PyObject *resultobj;
6342 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6343 bool result;
6344 PyObject * obj0 = 0 ;
6345 char *kwnames[] = {
6346 (char *) "self", NULL
6347 };
6348
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
6350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6351 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6352 {
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6355
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 {
6360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6361 }
6362 return resultobj;
6363 fail:
6364 return NULL;
6365}
6366
6367
c370783e 6368static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6369 PyObject *resultobj;
6370 int result;
6371 char *kwnames[] = {
6372 NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6376 {
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 result = (int)wxStaticLine::GetDefaultSize();
6379
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
36ed4f51
RD
6383 {
6384 resultobj = SWIG_From_int((int)(result));
6385 }
d55e5bfc
RD
6386 return resultobj;
6387 fail:
6388 return NULL;
6389}
6390
6391
c370783e 6392static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6393 PyObject *resultobj;
36ed4f51 6394 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6395 wxVisualAttributes result;
6396 PyObject * obj0 = 0 ;
6397 char *kwnames[] = {
6398 (char *) "variant", NULL
6399 };
6400
6401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6402 if (obj0) {
36ed4f51
RD
6403 {
6404 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6405 if (SWIG_arg_fail(1)) SWIG_fail;
6406 }
f20a2e1f
RD
6407 }
6408 {
0439c23b 6409 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6410 PyThreadState* __tstate = wxPyBeginAllowThreads();
6411 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6412
6413 wxPyEndAllowThreads(__tstate);
110da5b0 6414 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6415 }
6416 {
6417 wxVisualAttributes * resultptr;
36ed4f51 6418 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6420 }
6421 return resultobj;
6422 fail:
6423 return NULL;
6424}
6425
6426
c370783e 6427static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6428 PyObject *obj;
6429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6430 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6431 Py_INCREF(obj);
6432 return Py_BuildValue((char *)"");
6433}
c370783e 6434static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6435 PyObject *resultobj;
6436 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6437 int arg2 = (int) -1 ;
6438 wxString const &arg3_defvalue = wxPyEmptyString ;
6439 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6440 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6441 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6442 wxSize const &arg5_defvalue = wxDefaultSize ;
6443 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6444 long arg6 = (long) 0 ;
6445 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6446 wxString *arg7 = (wxString *) &arg7_defvalue ;
6447 wxStaticText *result;
b411df4a 6448 bool temp3 = false ;
d55e5bfc
RD
6449 wxPoint temp4 ;
6450 wxSize temp5 ;
b411df4a 6451 bool temp7 = false ;
d55e5bfc
RD
6452 PyObject * obj0 = 0 ;
6453 PyObject * obj1 = 0 ;
6454 PyObject * obj2 = 0 ;
6455 PyObject * obj3 = 0 ;
6456 PyObject * obj4 = 0 ;
6457 PyObject * obj5 = 0 ;
6458 PyObject * obj6 = 0 ;
6459 char *kwnames[] = {
6460 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6461 };
6462
bfddbb17 6463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6465 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6466 if (obj1) {
36ed4f51
RD
6467 {
6468 arg2 = (int)(SWIG_As_int(obj1));
6469 if (SWIG_arg_fail(2)) SWIG_fail;
6470 }
bfddbb17
RD
6471 }
6472 if (obj2) {
6473 {
6474 arg3 = wxString_in_helper(obj2);
6475 if (arg3 == NULL) SWIG_fail;
b411df4a 6476 temp3 = true;
bfddbb17 6477 }
d55e5bfc
RD
6478 }
6479 if (obj3) {
6480 {
6481 arg4 = &temp4;
6482 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6483 }
6484 }
6485 if (obj4) {
6486 {
6487 arg5 = &temp5;
6488 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6489 }
6490 }
6491 if (obj5) {
36ed4f51
RD
6492 {
6493 arg6 = (long)(SWIG_As_long(obj5));
6494 if (SWIG_arg_fail(6)) SWIG_fail;
6495 }
d55e5bfc
RD
6496 }
6497 if (obj6) {
6498 {
6499 arg7 = wxString_in_helper(obj6);
6500 if (arg7 == NULL) SWIG_fail;
b411df4a 6501 temp7 = true;
d55e5bfc
RD
6502 }
6503 }
6504 {
0439c23b 6505 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6508
6509 wxPyEndAllowThreads(__tstate);
110da5b0 6510 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6511 }
6512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6513 {
6514 if (temp3)
6515 delete arg3;
6516 }
6517 {
6518 if (temp7)
6519 delete arg7;
6520 }
6521 return resultobj;
6522 fail:
6523 {
6524 if (temp3)
6525 delete arg3;
6526 }
6527 {
6528 if (temp7)
6529 delete arg7;
6530 }
6531 return NULL;
6532}
6533
6534
c370783e 6535static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6536 PyObject *resultobj;
6537 wxStaticText *result;
6538 char *kwnames[] = {
6539 NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6543 {
0439c23b 6544 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 result = (wxStaticText *)new wxStaticText();
6547
6548 wxPyEndAllowThreads(__tstate);
110da5b0 6549 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6550 }
6551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6552 return resultobj;
6553 fail:
6554 return NULL;
6555}
6556
6557
c370783e 6558static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6559 PyObject *resultobj;
6560 wxStaticText *arg1 = (wxStaticText *) 0 ;
6561 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6562 int arg3 = (int) -1 ;
6563 wxString const &arg4_defvalue = wxPyEmptyString ;
6564 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6565 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6566 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6567 wxSize const &arg6_defvalue = wxDefaultSize ;
6568 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6569 long arg7 = (long) 0 ;
6570 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6571 wxString *arg8 = (wxString *) &arg8_defvalue ;
6572 bool result;
b411df4a 6573 bool temp4 = false ;
d55e5bfc
RD
6574 wxPoint temp5 ;
6575 wxSize temp6 ;
b411df4a 6576 bool temp8 = false ;
d55e5bfc
RD
6577 PyObject * obj0 = 0 ;
6578 PyObject * obj1 = 0 ;
6579 PyObject * obj2 = 0 ;
6580 PyObject * obj3 = 0 ;
6581 PyObject * obj4 = 0 ;
6582 PyObject * obj5 = 0 ;
6583 PyObject * obj6 = 0 ;
6584 PyObject * obj7 = 0 ;
6585 char *kwnames[] = {
6586 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6587 };
6588
bfddbb17 6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6591 if (SWIG_arg_fail(1)) SWIG_fail;
6592 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6593 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6594 if (obj2) {
36ed4f51
RD
6595 {
6596 arg3 = (int)(SWIG_As_int(obj2));
6597 if (SWIG_arg_fail(3)) SWIG_fail;
6598 }
bfddbb17
RD
6599 }
6600 if (obj3) {
6601 {
6602 arg4 = wxString_in_helper(obj3);
6603 if (arg4 == NULL) SWIG_fail;
b411df4a 6604 temp4 = true;
bfddbb17 6605 }
d55e5bfc
RD
6606 }
6607 if (obj4) {
6608 {
6609 arg5 = &temp5;
6610 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6611 }
6612 }
6613 if (obj5) {
6614 {
6615 arg6 = &temp6;
6616 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6617 }
6618 }
6619 if (obj6) {
36ed4f51
RD
6620 {
6621 arg7 = (long)(SWIG_As_long(obj6));
6622 if (SWIG_arg_fail(7)) SWIG_fail;
6623 }
d55e5bfc
RD
6624 }
6625 if (obj7) {
6626 {
6627 arg8 = wxString_in_helper(obj7);
6628 if (arg8 == NULL) SWIG_fail;
b411df4a 6629 temp8 = true;
d55e5bfc
RD
6630 }
6631 }
6632 {
6633 PyThreadState* __tstate = wxPyBeginAllowThreads();
6634 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6635
6636 wxPyEndAllowThreads(__tstate);
6637 if (PyErr_Occurred()) SWIG_fail;
6638 }
6639 {
6640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6641 }
6642 {
6643 if (temp4)
6644 delete arg4;
6645 }
6646 {
6647 if (temp8)
6648 delete arg8;
6649 }
6650 return resultobj;
6651 fail:
6652 {
6653 if (temp4)
6654 delete arg4;
6655 }
6656 {
6657 if (temp8)
6658 delete arg8;
6659 }
6660 return NULL;
6661}
6662
6663
c370783e 6664static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6665 PyObject *resultobj;
36ed4f51 6666 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6667 wxVisualAttributes result;
6668 PyObject * obj0 = 0 ;
6669 char *kwnames[] = {
6670 (char *) "variant", NULL
6671 };
6672
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6674 if (obj0) {
36ed4f51
RD
6675 {
6676 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6677 if (SWIG_arg_fail(1)) SWIG_fail;
6678 }
f20a2e1f
RD
6679 }
6680 {
0439c23b 6681 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6684
6685 wxPyEndAllowThreads(__tstate);
110da5b0 6686 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6687 }
6688 {
6689 wxVisualAttributes * resultptr;
36ed4f51 6690 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6692 }
6693 return resultobj;
6694 fail:
6695 return NULL;
6696}
6697
6698
c370783e 6699static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6700 PyObject *obj;
6701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6702 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6703 Py_INCREF(obj);
6704 return Py_BuildValue((char *)"");
6705}
c370783e 6706static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6707 PyObject *resultobj;
6708 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6709 int arg2 = (int) -1 ;
6710 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6711 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
6712 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6713 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6714 wxSize const &arg5_defvalue = wxDefaultSize ;
6715 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6716 long arg6 = (long) 0 ;
6717 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6718 wxString *arg7 = (wxString *) &arg7_defvalue ;
6719 wxStaticBitmap *result;
6720 wxPoint temp4 ;
6721 wxSize temp5 ;
b411df4a 6722 bool temp7 = false ;
d55e5bfc
RD
6723 PyObject * obj0 = 0 ;
6724 PyObject * obj1 = 0 ;
6725 PyObject * obj2 = 0 ;
6726 PyObject * obj3 = 0 ;
6727 PyObject * obj4 = 0 ;
6728 PyObject * obj5 = 0 ;
6729 PyObject * obj6 = 0 ;
6730 char *kwnames[] = {
6731 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6732 };
6733
bfddbb17 6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6736 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6737 if (obj1) {
36ed4f51
RD
6738 {
6739 arg2 = (int)(SWIG_As_int(obj1));
6740 if (SWIG_arg_fail(2)) SWIG_fail;
6741 }
bfddbb17
RD
6742 }
6743 if (obj2) {
36ed4f51
RD
6744 {
6745 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6746 if (SWIG_arg_fail(3)) SWIG_fail;
6747 if (arg3 == NULL) {
6748 SWIG_null_ref("wxBitmap");
6749 }
6750 if (SWIG_arg_fail(3)) SWIG_fail;
bfddbb17 6751 }
d55e5bfc
RD
6752 }
6753 if (obj3) {
6754 {
6755 arg4 = &temp4;
6756 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6757 }
6758 }
6759 if (obj4) {
6760 {
6761 arg5 = &temp5;
6762 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6763 }
6764 }
6765 if (obj5) {
36ed4f51
RD
6766 {
6767 arg6 = (long)(SWIG_As_long(obj5));
6768 if (SWIG_arg_fail(6)) SWIG_fail;
6769 }
d55e5bfc
RD
6770 }
6771 if (obj6) {
6772 {
6773 arg7 = wxString_in_helper(obj6);
6774 if (arg7 == NULL) SWIG_fail;
b411df4a 6775 temp7 = true;
d55e5bfc
RD
6776 }
6777 }
6778 {
0439c23b 6779 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6780 PyThreadState* __tstate = wxPyBeginAllowThreads();
6781 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6782
6783 wxPyEndAllowThreads(__tstate);
110da5b0 6784 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6785 }
6786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6787 {
6788 if (temp7)
6789 delete arg7;
6790 }
6791 return resultobj;
6792 fail:
6793 {
6794 if (temp7)
6795 delete arg7;
6796 }
6797 return NULL;
6798}
6799
6800
c370783e 6801static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6802 PyObject *resultobj;
6803 wxStaticBitmap *result;
6804 char *kwnames[] = {
6805 NULL
6806 };
6807
6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6809 {
0439c23b 6810 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6811 PyThreadState* __tstate = wxPyBeginAllowThreads();
6812 result = (wxStaticBitmap *)new wxStaticBitmap();
6813
6814 wxPyEndAllowThreads(__tstate);
110da5b0 6815 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6816 }
6817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6818 return resultobj;
6819 fail:
6820 return NULL;
6821}
6822
6823
c370783e 6824static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6825 PyObject *resultobj;
6826 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6827 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6828 int arg3 = (int) -1 ;
6829 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6830 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
6831 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6832 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6833 wxSize const &arg6_defvalue = wxDefaultSize ;
6834 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6835 long arg7 = (long) 0 ;
6836 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6837 wxString *arg8 = (wxString *) &arg8_defvalue ;
6838 bool result;
6839 wxPoint temp5 ;
6840 wxSize temp6 ;
b411df4a 6841 bool temp8 = false ;
d55e5bfc
RD
6842 PyObject * obj0 = 0 ;
6843 PyObject * obj1 = 0 ;
6844 PyObject * obj2 = 0 ;
6845 PyObject * obj3 = 0 ;
6846 PyObject * obj4 = 0 ;
6847 PyObject * obj5 = 0 ;
6848 PyObject * obj6 = 0 ;
6849 PyObject * obj7 = 0 ;
6850 char *kwnames[] = {
6851 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6852 };
6853
bfddbb17 6854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6856 if (SWIG_arg_fail(1)) SWIG_fail;
6857 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6858 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6859 if (obj2) {
36ed4f51
RD
6860 {
6861 arg3 = (int)(SWIG_As_int(obj2));
6862 if (SWIG_arg_fail(3)) SWIG_fail;
6863 }
bfddbb17
RD
6864 }
6865 if (obj3) {
36ed4f51
RD
6866 {
6867 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6868 if (SWIG_arg_fail(4)) SWIG_fail;
6869 if (arg4 == NULL) {
6870 SWIG_null_ref("wxBitmap");
6871 }
6872 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 6873 }
d55e5bfc
RD
6874 }
6875 if (obj4) {
6876 {
6877 arg5 = &temp5;
6878 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6879 }
6880 }
6881 if (obj5) {
6882 {
6883 arg6 = &temp6;
6884 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6885 }
6886 }
6887 if (obj6) {
36ed4f51
RD
6888 {
6889 arg7 = (long)(SWIG_As_long(obj6));
6890 if (SWIG_arg_fail(7)) SWIG_fail;
6891 }
d55e5bfc
RD
6892 }
6893 if (obj7) {
6894 {
6895 arg8 = wxString_in_helper(obj7);
6896 if (arg8 == NULL) SWIG_fail;
b411df4a 6897 temp8 = true;
d55e5bfc
RD
6898 }
6899 }
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 {
6908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6909 }
6910 {
6911 if (temp8)
6912 delete arg8;
6913 }
6914 return resultobj;
6915 fail:
6916 {
6917 if (temp8)
6918 delete arg8;
6919 }
6920 return NULL;
6921}
6922
6923
c370783e 6924static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6925 PyObject *resultobj;
6926 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6927 wxBitmap result;
6928 PyObject * obj0 = 0 ;
6929 char *kwnames[] = {
6930 (char *) "self", NULL
6931 };
6932
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
6934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6935 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6936 {
6937 PyThreadState* __tstate = wxPyBeginAllowThreads();
6938 result = (arg1)->GetBitmap();
6939
6940 wxPyEndAllowThreads(__tstate);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 {
6944 wxBitmap * resultptr;
36ed4f51 6945 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
6946 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6947 }
6948 return resultobj;
6949 fail:
6950 return NULL;
6951}
6952
6953
c370783e 6954static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6955 PyObject *resultobj;
6956 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6957 wxBitmap *arg2 = 0 ;
6958 PyObject * obj0 = 0 ;
6959 PyObject * obj1 = 0 ;
6960 char *kwnames[] = {
6961 (char *) "self",(char *) "bitmap", NULL
6962 };
6963
6964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6966 if (SWIG_arg_fail(1)) SWIG_fail;
6967 {
6968 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6969 if (SWIG_arg_fail(2)) SWIG_fail;
6970 if (arg2 == NULL) {
6971 SWIG_null_ref("wxBitmap");
6972 }
6973 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6974 }
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6978
6979 wxPyEndAllowThreads(__tstate);
6980 if (PyErr_Occurred()) SWIG_fail;
6981 }
6982 Py_INCREF(Py_None); resultobj = Py_None;
6983 return resultobj;
6984 fail:
6985 return NULL;
6986}
6987
6988
c370783e 6989static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6990 PyObject *resultobj;
6991 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6992 wxIcon *arg2 = 0 ;
6993 PyObject * obj0 = 0 ;
6994 PyObject * obj1 = 0 ;
6995 char *kwnames[] = {
6996 (char *) "self",(char *) "icon", NULL
6997 };
6998
6999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7001 if (SWIG_arg_fail(1)) SWIG_fail;
7002 {
7003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7004 if (SWIG_arg_fail(2)) SWIG_fail;
7005 if (arg2 == NULL) {
7006 SWIG_null_ref("wxIcon");
7007 }
7008 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7009 }
7010 {
7011 PyThreadState* __tstate = wxPyBeginAllowThreads();
7012 (arg1)->SetIcon((wxIcon const &)*arg2);
7013
7014 wxPyEndAllowThreads(__tstate);
7015 if (PyErr_Occurred()) SWIG_fail;
7016 }
7017 Py_INCREF(Py_None); resultobj = Py_None;
7018 return resultobj;
7019 fail:
7020 return NULL;
7021}
7022
7023
c370783e 7024static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 7025 PyObject *resultobj;
36ed4f51 7026 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7027 wxVisualAttributes result;
7028 PyObject * obj0 = 0 ;
7029 char *kwnames[] = {
7030 (char *) "variant", NULL
7031 };
7032
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7034 if (obj0) {
36ed4f51
RD
7035 {
7036 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7037 if (SWIG_arg_fail(1)) SWIG_fail;
7038 }
f20a2e1f
RD
7039 }
7040 {
0439c23b 7041 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7044
7045 wxPyEndAllowThreads(__tstate);
110da5b0 7046 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7047 }
7048 {
7049 wxVisualAttributes * resultptr;
36ed4f51 7050 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
7051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7052 }
7053 return resultobj;
7054 fail:
7055 return NULL;
7056}
7057
7058
c370783e 7059static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7060 PyObject *obj;
7061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7062 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7063 Py_INCREF(obj);
7064 return Py_BuildValue((char *)"");
7065}
c370783e 7066static int _wrap_ListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
7067 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7068 return 1;
7069}
7070
7071
36ed4f51 7072static PyObject *_wrap_ListBoxNameStr_get(void) {
d55e5bfc
RD
7073 PyObject *pyobj;
7074
7075 {
7076#if wxUSE_UNICODE
7077 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7078#else
7079 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7080#endif
7081 }
7082 return pyobj;
7083}
7084
7085
c370783e 7086static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7087 PyObject *resultobj;
7088 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 7089 int arg2 = (int) -1 ;
d55e5bfc
RD
7090 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7091 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7092 wxSize const &arg4_defvalue = wxDefaultSize ;
7093 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7094 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7095 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7096 long arg6 = (long) 0 ;
7097 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7098 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7099 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7100 wxString *arg8 = (wxString *) &arg8_defvalue ;
7101 wxListBox *result;
7102 wxPoint temp3 ;
7103 wxSize temp4 ;
b411df4a
RD
7104 bool temp5 = false ;
7105 bool temp8 = false ;
d55e5bfc
RD
7106 PyObject * obj0 = 0 ;
7107 PyObject * obj1 = 0 ;
7108 PyObject * obj2 = 0 ;
7109 PyObject * obj3 = 0 ;
7110 PyObject * obj4 = 0 ;
7111 PyObject * obj5 = 0 ;
7112 PyObject * obj6 = 0 ;
7113 PyObject * obj7 = 0 ;
7114 char *kwnames[] = {
7115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7116 };
7117
bfddbb17 7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
7119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7120 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 7121 if (obj1) {
36ed4f51
RD
7122 {
7123 arg2 = (int)(SWIG_As_int(obj1));
7124 if (SWIG_arg_fail(2)) SWIG_fail;
7125 }
bfddbb17 7126 }
d55e5bfc
RD
7127 if (obj2) {
7128 {
7129 arg3 = &temp3;
7130 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7131 }
7132 }
7133 if (obj3) {
7134 {
7135 arg4 = &temp4;
7136 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7137 }
7138 }
7139 if (obj4) {
7140 {
7141 if (! PySequence_Check(obj4)) {
7142 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7143 SWIG_fail;
7144 }
7145 arg5 = new wxArrayString;
b411df4a 7146 temp5 = true;
d55e5bfc
RD
7147 int i, len=PySequence_Length(obj4);
7148 for (i=0; i<len; i++) {
7149 PyObject* item = PySequence_GetItem(obj4, i);
7150#if wxUSE_UNICODE
7151 PyObject* str = PyObject_Unicode(item);
7152#else
7153 PyObject* str = PyObject_Str(item);
7154#endif
7155 if (PyErr_Occurred()) SWIG_fail;
7156 arg5->Add(Py2wxString(str));
7157 Py_DECREF(item);
7158 Py_DECREF(str);
7159 }
7160 }
7161 }
7162 if (obj5) {
36ed4f51
RD
7163 {
7164 arg6 = (long)(SWIG_As_long(obj5));
7165 if (SWIG_arg_fail(6)) SWIG_fail;
7166 }
d55e5bfc
RD
7167 }
7168 if (obj6) {
36ed4f51
RD
7169 {
7170 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7171 if (SWIG_arg_fail(7)) SWIG_fail;
7172 if (arg7 == NULL) {
7173 SWIG_null_ref("wxValidator");
7174 }
7175 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
7176 }
7177 }
7178 if (obj7) {
7179 {
7180 arg8 = wxString_in_helper(obj7);
7181 if (arg8 == NULL) SWIG_fail;
b411df4a 7182 temp8 = true;
d55e5bfc
RD
7183 }
7184 }
7185 {
0439c23b 7186 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7189
7190 wxPyEndAllowThreads(__tstate);
110da5b0 7191 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7192 }
7193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7194 {
7195 if (temp5) delete arg5;
7196 }
7197 {
7198 if (temp8)
7199 delete arg8;
7200 }
7201 return resultobj;
7202 fail:
7203 {
7204 if (temp5) delete arg5;
7205 }
7206 {
7207 if (temp8)
7208 delete arg8;
7209 }
7210 return NULL;
7211}
7212
7213
c370783e 7214static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7215 PyObject *resultobj;
7216 wxListBox *result;
7217 char *kwnames[] = {
7218 NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7222 {
0439c23b 7223 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7224 PyThreadState* __tstate = wxPyBeginAllowThreads();
7225 result = (wxListBox *)new wxListBox();
7226
7227 wxPyEndAllowThreads(__tstate);
110da5b0 7228 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7229 }
7230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7231 return resultobj;
7232 fail:
7233 return NULL;
7234}
7235
7236
c370783e 7237static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7238 PyObject *resultobj;
7239 wxListBox *arg1 = (wxListBox *) 0 ;
7240 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 7241 int arg3 = (int) -1 ;
d55e5bfc
RD
7242 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7243 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7244 wxSize const &arg5_defvalue = wxDefaultSize ;
7245 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7246 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7247 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7248 long arg7 = (long) 0 ;
7249 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7250 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7251 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7252 wxString *arg9 = (wxString *) &arg9_defvalue ;
7253 bool result;
7254 wxPoint temp4 ;
7255 wxSize temp5 ;
b411df4a
RD
7256 bool temp6 = false ;
7257 bool temp9 = false ;
d55e5bfc
RD
7258 PyObject * obj0 = 0 ;
7259 PyObject * obj1 = 0 ;
7260 PyObject * obj2 = 0 ;
7261 PyObject * obj3 = 0 ;
7262 PyObject * obj4 = 0 ;
7263 PyObject * obj5 = 0 ;
7264 PyObject * obj6 = 0 ;
7265 PyObject * obj7 = 0 ;
7266 PyObject * obj8 = 0 ;
7267 char *kwnames[] = {
7268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7269 };
7270
bfddbb17 7271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
7272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7273 if (SWIG_arg_fail(1)) SWIG_fail;
7274 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7275 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 7276 if (obj2) {
36ed4f51
RD
7277 {
7278 arg3 = (int)(SWIG_As_int(obj2));
7279 if (SWIG_arg_fail(3)) SWIG_fail;
7280 }
bfddbb17 7281 }
d55e5bfc
RD
7282 if (obj3) {
7283 {
7284 arg4 = &temp4;
7285 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7286 }
7287 }
7288 if (obj4) {
7289 {
7290 arg5 = &temp5;
7291 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7292 }
7293 }
7294 if (obj5) {
7295 {
7296 if (! PySequence_Check(obj5)) {
7297 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7298 SWIG_fail;
7299 }
7300 arg6 = new wxArrayString;
b411df4a 7301 temp6 = true;
d55e5bfc
RD
7302 int i, len=PySequence_Length(obj5);
7303 for (i=0; i<len; i++) {
7304 PyObject* item = PySequence_GetItem(obj5, i);
7305#if wxUSE_UNICODE
7306 PyObject* str = PyObject_Unicode(item);
7307#else
7308 PyObject* str = PyObject_Str(item);
7309#endif
7310 if (PyErr_Occurred()) SWIG_fail;
7311 arg6->Add(Py2wxString(str));
7312 Py_DECREF(item);
7313 Py_DECREF(str);
7314 }
7315 }
7316 }
7317 if (obj6) {
36ed4f51
RD
7318 {
7319 arg7 = (long)(SWIG_As_long(obj6));
7320 if (SWIG_arg_fail(7)) SWIG_fail;
7321 }
d55e5bfc
RD
7322 }
7323 if (obj7) {
36ed4f51
RD
7324 {
7325 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7326 if (SWIG_arg_fail(8)) SWIG_fail;
7327 if (arg8 == NULL) {
7328 SWIG_null_ref("wxValidator");
7329 }
7330 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
7331 }
7332 }
7333 if (obj8) {
7334 {
7335 arg9 = wxString_in_helper(obj8);
7336 if (arg9 == NULL) SWIG_fail;
b411df4a 7337 temp9 = true;
d55e5bfc
RD
7338 }
7339 }
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 {
7348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7349 }
7350 {
7351 if (temp6) delete arg6;
7352 }
7353 {
7354 if (temp9)
7355 delete arg9;
7356 }
7357 return resultobj;
7358 fail:
7359 {
7360 if (temp6) delete arg6;
7361 }
7362 {
7363 if (temp9)
7364 delete arg9;
7365 }
7366 return NULL;
7367}
7368
7369
c370783e 7370static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7371 PyObject *resultobj;
7372 wxListBox *arg1 = (wxListBox *) 0 ;
7373 wxString *arg2 = 0 ;
7374 int arg3 ;
7375 PyObject *arg4 = (PyObject *) NULL ;
b411df4a 7376 bool temp2 = false ;
d55e5bfc
RD
7377 PyObject * obj0 = 0 ;
7378 PyObject * obj1 = 0 ;
7379 PyObject * obj2 = 0 ;
7380 PyObject * obj3 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7388 {
7389 arg2 = wxString_in_helper(obj1);
7390 if (arg2 == NULL) SWIG_fail;
b411df4a 7391 temp2 = true;
d55e5bfc 7392 }
36ed4f51
RD
7393 {
7394 arg3 = (int)(SWIG_As_int(obj2));
7395 if (SWIG_arg_fail(3)) SWIG_fail;
7396 }
d55e5bfc
RD
7397 if (obj3) {
7398 arg4 = obj3;
7399 }
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7403
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 Py_INCREF(Py_None); resultobj = Py_None;
7408 {
7409 if (temp2)
7410 delete arg2;
7411 }
7412 return resultobj;
7413 fail:
7414 {
7415 if (temp2)
7416 delete arg2;
7417 }
7418 return NULL;
7419}
7420
7421
c370783e 7422static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7423 PyObject *resultobj;
7424 wxListBox *arg1 = (wxListBox *) 0 ;
7425 wxArrayString *arg2 = 0 ;
7426 int arg3 ;
b411df4a 7427 bool temp2 = false ;
d55e5bfc
RD
7428 PyObject * obj0 = 0 ;
7429 PyObject * obj1 = 0 ;
7430 PyObject * obj2 = 0 ;
7431 char *kwnames[] = {
7432 (char *) "self",(char *) "items",(char *) "pos", NULL
7433 };
7434
7435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7437 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7438 {
7439 if (! PySequence_Check(obj1)) {
7440 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7441 SWIG_fail;
7442 }
7443 arg2 = new wxArrayString;
b411df4a 7444 temp2 = true;
d55e5bfc
RD
7445 int i, len=PySequence_Length(obj1);
7446 for (i=0; i<len; i++) {
7447 PyObject* item = PySequence_GetItem(obj1, i);
7448#if wxUSE_UNICODE
7449 PyObject* str = PyObject_Unicode(item);
7450#else
7451 PyObject* str = PyObject_Str(item);
7452#endif
7453 if (PyErr_Occurred()) SWIG_fail;
7454 arg2->Add(Py2wxString(str));
7455 Py_DECREF(item);
7456 Py_DECREF(str);
7457 }
7458 }
36ed4f51
RD
7459 {
7460 arg3 = (int)(SWIG_As_int(obj2));
7461 if (SWIG_arg_fail(3)) SWIG_fail;
7462 }
d55e5bfc
RD
7463 {
7464 PyThreadState* __tstate = wxPyBeginAllowThreads();
7465 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7466
7467 wxPyEndAllowThreads(__tstate);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 }
7470 Py_INCREF(Py_None); resultobj = Py_None;
7471 {
7472 if (temp2) delete arg2;
7473 }
7474 return resultobj;
7475 fail:
7476 {
7477 if (temp2) delete arg2;
7478 }
7479 return NULL;
7480}
7481
7482
c370783e 7483static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7484 PyObject *resultobj;
7485 wxListBox *arg1 = (wxListBox *) 0 ;
7486 wxArrayString *arg2 = 0 ;
b411df4a 7487 bool temp2 = false ;
d55e5bfc
RD
7488 PyObject * obj0 = 0 ;
7489 PyObject * obj1 = 0 ;
7490 char *kwnames[] = {
7491 (char *) "self",(char *) "items", NULL
7492 };
7493
7494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7496 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7497 {
7498 if (! PySequence_Check(obj1)) {
7499 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7500 SWIG_fail;
7501 }
7502 arg2 = new wxArrayString;
b411df4a 7503 temp2 = true;
d55e5bfc
RD
7504 int i, len=PySequence_Length(obj1);
7505 for (i=0; i<len; i++) {
7506 PyObject* item = PySequence_GetItem(obj1, i);
7507#if wxUSE_UNICODE
7508 PyObject* str = PyObject_Unicode(item);
7509#else
7510 PyObject* str = PyObject_Str(item);
7511#endif
7512 if (PyErr_Occurred()) SWIG_fail;
7513 arg2->Add(Py2wxString(str));
7514 Py_DECREF(item);
7515 Py_DECREF(str);
7516 }
7517 }
7518 {
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
7520 (arg1)->Set((wxArrayString const &)*arg2);
7521
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) SWIG_fail;
7524 }
7525 Py_INCREF(Py_None); resultobj = Py_None;
7526 {
7527 if (temp2) delete arg2;
7528 }
7529 return resultobj;
7530 fail:
7531 {
7532 if (temp2) delete arg2;
7533 }
7534 return NULL;
7535}
7536
7537
c370783e 7538static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7539 PyObject *resultobj;
7540 wxListBox *arg1 = (wxListBox *) 0 ;
7541 int arg2 ;
7542 bool result;
7543 PyObject * obj0 = 0 ;
7544 PyObject * obj1 = 0 ;
7545 char *kwnames[] = {
7546 (char *) "self",(char *) "n", NULL
7547 };
7548
7549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7551 if (SWIG_arg_fail(1)) SWIG_fail;
7552 {
7553 arg2 = (int)(SWIG_As_int(obj1));
7554 if (SWIG_arg_fail(2)) SWIG_fail;
7555 }
d55e5bfc
RD
7556 {
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7559
7560 wxPyEndAllowThreads(__tstate);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 }
7563 {
7564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7565 }
7566 return resultobj;
7567 fail:
7568 return NULL;
7569}
7570
7571
c370783e 7572static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7573 PyObject *resultobj;
7574 wxListBox *arg1 = (wxListBox *) 0 ;
7575 int arg2 ;
b411df4a 7576 bool arg3 = (bool) true ;
d55e5bfc
RD
7577 PyObject * obj0 = 0 ;
7578 PyObject * obj1 = 0 ;
7579 PyObject * obj2 = 0 ;
7580 char *kwnames[] = {
7581 (char *) "self",(char *) "n",(char *) "select", NULL
7582 };
7583
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7586 if (SWIG_arg_fail(1)) SWIG_fail;
7587 {
7588 arg2 = (int)(SWIG_As_int(obj1));
7589 if (SWIG_arg_fail(2)) SWIG_fail;
7590 }
d55e5bfc 7591 if (obj2) {
36ed4f51
RD
7592 {
7593 arg3 = (bool)(SWIG_As_bool(obj2));
7594 if (SWIG_arg_fail(3)) SWIG_fail;
7595 }
d55e5bfc
RD
7596 }
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 (arg1)->SetSelection(arg2,arg3);
7600
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 Py_INCREF(Py_None); resultobj = Py_None;
7605 return resultobj;
7606 fail:
7607 return NULL;
7608}
7609
7610
c370783e 7611static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7612 PyObject *resultobj;
7613 wxListBox *arg1 = (wxListBox *) 0 ;
7614 int arg2 ;
7615 PyObject * obj0 = 0 ;
7616 PyObject * obj1 = 0 ;
7617 char *kwnames[] = {
7618 (char *) "self",(char *) "n", NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7623 if (SWIG_arg_fail(1)) SWIG_fail;
7624 {
7625 arg2 = (int)(SWIG_As_int(obj1));
7626 if (SWIG_arg_fail(2)) SWIG_fail;
7627 }
d55e5bfc
RD
7628 {
7629 PyThreadState* __tstate = wxPyBeginAllowThreads();
7630 (arg1)->Select(arg2);
7631
7632 wxPyEndAllowThreads(__tstate);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 Py_INCREF(Py_None); resultobj = Py_None;
7636 return resultobj;
7637 fail:
7638 return NULL;
7639}
7640
7641
c370783e 7642static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7643 PyObject *resultobj;
7644 wxListBox *arg1 = (wxListBox *) 0 ;
7645 int arg2 ;
7646 PyObject * obj0 = 0 ;
7647 PyObject * obj1 = 0 ;
7648 char *kwnames[] = {
7649 (char *) "self",(char *) "n", NULL
7650 };
7651
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7654 if (SWIG_arg_fail(1)) SWIG_fail;
7655 {
7656 arg2 = (int)(SWIG_As_int(obj1));
7657 if (SWIG_arg_fail(2)) SWIG_fail;
7658 }
d55e5bfc
RD
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 (arg1)->Deselect(arg2);
7662
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 Py_INCREF(Py_None); resultobj = Py_None;
7667 return resultobj;
7668 fail:
7669 return NULL;
7670}
7671
7672
c370783e 7673static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7674 PyObject *resultobj;
7675 wxListBox *arg1 = (wxListBox *) 0 ;
7676 int arg2 = (int) -1 ;
7677 PyObject * obj0 = 0 ;
7678 PyObject * obj1 = 0 ;
7679 char *kwnames[] = {
7680 (char *) "self",(char *) "itemToLeaveSelected", NULL
7681 };
7682
7683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7685 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7686 if (obj1) {
36ed4f51
RD
7687 {
7688 arg2 = (int)(SWIG_As_int(obj1));
7689 if (SWIG_arg_fail(2)) SWIG_fail;
7690 }
d55e5bfc
RD
7691 }
7692 {
7693 PyThreadState* __tstate = wxPyBeginAllowThreads();
7694 (arg1)->DeselectAll(arg2);
7695
7696 wxPyEndAllowThreads(__tstate);
7697 if (PyErr_Occurred()) SWIG_fail;
7698 }
7699 Py_INCREF(Py_None); resultobj = Py_None;
7700 return resultobj;
7701 fail:
7702 return NULL;
7703}
7704
7705
c370783e 7706static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7707 PyObject *resultobj;
7708 wxListBox *arg1 = (wxListBox *) 0 ;
7709 wxString *arg2 = 0 ;
b411df4a 7710 bool arg3 = (bool) true ;
d55e5bfc 7711 bool result;
b411df4a 7712 bool temp2 = false ;
d55e5bfc
RD
7713 PyObject * obj0 = 0 ;
7714 PyObject * obj1 = 0 ;
7715 PyObject * obj2 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "self",(char *) "s",(char *) "select", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7722 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7723 {
7724 arg2 = wxString_in_helper(obj1);
7725 if (arg2 == NULL) SWIG_fail;
b411df4a 7726 temp2 = true;
d55e5bfc
RD
7727 }
7728 if (obj2) {
36ed4f51
RD
7729 {
7730 arg3 = (bool)(SWIG_As_bool(obj2));
7731 if (SWIG_arg_fail(3)) SWIG_fail;
7732 }
d55e5bfc
RD
7733 }
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 {
7742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7743 }
7744 {
7745 if (temp2)
7746 delete arg2;
7747 }
7748 return resultobj;
7749 fail:
7750 {
7751 if (temp2)
7752 delete arg2;
7753 }
7754 return NULL;
7755}
7756
7757
c370783e 7758static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7759 PyObject *resultobj;
7760 wxListBox *arg1 = (wxListBox *) 0 ;
7761 PyObject *result;
7762 PyObject * obj0 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "self", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
7768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7769 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 result = (PyObject *)wxListBox_GetSelections(arg1);
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 resultobj = result;
7778 return resultobj;
7779 fail:
7780 return NULL;
7781}
7782
7783
c370783e 7784static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7785 PyObject *resultobj;
7786 wxListBox *arg1 = (wxListBox *) 0 ;
7787 int arg2 ;
7788 PyObject * obj0 = 0 ;
7789 PyObject * obj1 = 0 ;
7790 char *kwnames[] = {
7791 (char *) "self",(char *) "n", NULL
7792 };
7793
7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7796 if (SWIG_arg_fail(1)) SWIG_fail;
7797 {
7798 arg2 = (int)(SWIG_As_int(obj1));
7799 if (SWIG_arg_fail(2)) SWIG_fail;
7800 }
d55e5bfc
RD
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 (arg1)->SetFirstItem(arg2);
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 Py_INCREF(Py_None); resultobj = Py_None;
7809 return resultobj;
7810 fail:
7811 return NULL;
7812}
7813
7814
c370783e 7815static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7816 PyObject *resultobj;
7817 wxListBox *arg1 = (wxListBox *) 0 ;
7818 wxString *arg2 = 0 ;
b411df4a 7819 bool temp2 = false ;
d55e5bfc
RD
7820 PyObject * obj0 = 0 ;
7821 PyObject * obj1 = 0 ;
7822 char *kwnames[] = {
7823 (char *) "self",(char *) "s", NULL
7824 };
7825
7826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7828 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7829 {
7830 arg2 = wxString_in_helper(obj1);
7831 if (arg2 == NULL) SWIG_fail;
b411df4a 7832 temp2 = true;
d55e5bfc
RD
7833 }
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 (arg1)->SetFirstItem((wxString const &)*arg2);
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 Py_INCREF(Py_None); resultobj = Py_None;
7842 {
7843 if (temp2)
7844 delete arg2;
7845 }
7846 return resultobj;
7847 fail:
7848 {
7849 if (temp2)
7850 delete arg2;
7851 }
7852 return NULL;
7853}
7854
7855
c370783e 7856static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7857 PyObject *resultobj;
7858 wxListBox *arg1 = (wxListBox *) 0 ;
7859 int arg2 ;
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self",(char *) "n", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail;
7869 {
7870 arg2 = (int)(SWIG_As_int(obj1));
7871 if (SWIG_arg_fail(2)) SWIG_fail;
7872 }
d55e5bfc
RD
7873 {
7874 PyThreadState* __tstate = wxPyBeginAllowThreads();
7875 (arg1)->EnsureVisible(arg2);
7876
7877 wxPyEndAllowThreads(__tstate);
7878 if (PyErr_Occurred()) SWIG_fail;
7879 }
7880 Py_INCREF(Py_None); resultobj = Py_None;
7881 return resultobj;
7882 fail:
7883 return NULL;
7884}
7885
7886
c370783e 7887static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7888 PyObject *resultobj;
7889 wxListBox *arg1 = (wxListBox *) 0 ;
7890 wxString *arg2 = 0 ;
b411df4a 7891 bool temp2 = false ;
d55e5bfc
RD
7892 PyObject * obj0 = 0 ;
7893 PyObject * obj1 = 0 ;
7894 char *kwnames[] = {
7895 (char *) "self",(char *) "s", NULL
7896 };
7897
7898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7901 {
7902 arg2 = wxString_in_helper(obj1);
7903 if (arg2 == NULL) SWIG_fail;
b411df4a 7904 temp2 = true;
d55e5bfc
RD
7905 }
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 Py_INCREF(Py_None); resultobj = Py_None;
7914 {
7915 if (temp2)
7916 delete arg2;
7917 }
7918 return resultobj;
7919 fail:
7920 {
7921 if (temp2)
7922 delete arg2;
7923 }
7924 return NULL;
7925}
7926
7927
c370783e 7928static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7929 PyObject *resultobj;
7930 wxListBox *arg1 = (wxListBox *) 0 ;
7931 bool result;
7932 PyObject * obj0 = 0 ;
7933 char *kwnames[] = {
7934 (char *) "self", NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
36ed4f51
RD
7938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7939 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 result = (bool)((wxListBox const *)arg1)->IsSorted();
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 {
7948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7949 }
7950 return resultobj;
7951 fail:
7952 return NULL;
7953}
7954
7955
c370783e 7956static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7957 PyObject *resultobj;
7958 wxListBox *arg1 = (wxListBox *) 0 ;
7959 int arg2 ;
7960 wxColour *arg3 = 0 ;
7961 wxColour temp3 ;
7962 PyObject * obj0 = 0 ;
7963 PyObject * obj1 = 0 ;
7964 PyObject * obj2 = 0 ;
7965 char *kwnames[] = {
7966 (char *) "self",(char *) "item",(char *) "c", NULL
7967 };
7968
7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7971 if (SWIG_arg_fail(1)) SWIG_fail;
7972 {
7973 arg2 = (int)(SWIG_As_int(obj1));
7974 if (SWIG_arg_fail(2)) SWIG_fail;
7975 }
d55e5bfc
RD
7976 {
7977 arg3 = &temp3;
7978 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7979 }
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 Py_INCREF(Py_None); resultobj = Py_None;
7988 return resultobj;
7989 fail:
7990 return NULL;
7991}
7992
7993
c370783e 7994static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
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_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
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 }
d55e5bfc
RD
8014 {
8015 arg3 = &temp3;
8016 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8017 }
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 wxListBox_SetItemBackgroundColour(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
c370783e 8032static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8033 PyObject *resultobj;
8034 wxListBox *arg1 = (wxListBox *) 0 ;
8035 int arg2 ;
8036 wxFont *arg3 = 0 ;
8037 PyObject * obj0 = 0 ;
8038 PyObject * obj1 = 0 ;
8039 PyObject * obj2 = 0 ;
8040 char *kwnames[] = {
8041 (char *) "self",(char *) "item",(char *) "f", NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8046 if (SWIG_arg_fail(1)) SWIG_fail;
8047 {
8048 arg2 = (int)(SWIG_As_int(obj1));
8049 if (SWIG_arg_fail(2)) SWIG_fail;
8050 }
8051 {
8052 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8053 if (SWIG_arg_fail(3)) SWIG_fail;
8054 if (arg3 == NULL) {
8055 SWIG_null_ref("wxFont");
8056 }
8057 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8058 }
8059 {
8060 PyThreadState* __tstate = wxPyBeginAllowThreads();
8061 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8062
8063 wxPyEndAllowThreads(__tstate);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 }
8066 Py_INCREF(Py_None); resultobj = Py_None;
8067 return resultobj;
8068 fail:
8069 return NULL;
8070}
8071
8072
c370783e 8073static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8074 PyObject *resultobj;
36ed4f51 8075 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
8076 wxVisualAttributes result;
8077 PyObject * obj0 = 0 ;
8078 char *kwnames[] = {
8079 (char *) "variant", NULL
8080 };
8081
8082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8083 if (obj0) {
36ed4f51
RD
8084 {
8085 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8086 if (SWIG_arg_fail(1)) SWIG_fail;
8087 }
d55e5bfc
RD
8088 }
8089 {
0439c23b 8090 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8093
8094 wxPyEndAllowThreads(__tstate);
110da5b0 8095 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8096 }
8097 {
8098 wxVisualAttributes * resultptr;
36ed4f51 8099 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
8100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8101 }
8102 return resultobj;
8103 fail:
8104 return NULL;
8105}
8106
8107
c370783e 8108static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8109 PyObject *obj;
8110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8111 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8112 Py_INCREF(obj);
8113 return Py_BuildValue((char *)"");
8114}
c370783e 8115static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8116 PyObject *resultobj;
8117 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 8118 int arg2 = (int) -1 ;
d55e5bfc
RD
8119 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8120 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8121 wxSize const &arg4_defvalue = wxDefaultSize ;
8122 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8123 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8124 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8125 long arg6 = (long) 0 ;
8126 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8127 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8128 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8129 wxString *arg8 = (wxString *) &arg8_defvalue ;
8130 wxCheckListBox *result;
8131 wxPoint temp3 ;
8132 wxSize temp4 ;
b411df4a
RD
8133 bool temp5 = false ;
8134 bool temp8 = false ;
d55e5bfc
RD
8135 PyObject * obj0 = 0 ;
8136 PyObject * obj1 = 0 ;
8137 PyObject * obj2 = 0 ;
8138 PyObject * obj3 = 0 ;
8139 PyObject * obj4 = 0 ;
8140 PyObject * obj5 = 0 ;
8141 PyObject * obj6 = 0 ;
8142 PyObject * obj7 = 0 ;
8143 char *kwnames[] = {
8144 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8145 };
8146
bfddbb17 8147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
8148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8149 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 8150 if (obj1) {
36ed4f51
RD
8151 {
8152 arg2 = (int)(SWIG_As_int(obj1));
8153 if (SWIG_arg_fail(2)) SWIG_fail;
8154 }
bfddbb17 8155 }
d55e5bfc
RD
8156 if (obj2) {
8157 {
8158 arg3 = &temp3;
8159 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8160 }
8161 }
8162 if (obj3) {
8163 {
8164 arg4 = &temp4;
8165 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8166 }
8167 }
8168 if (obj4) {
8169 {
8170 if (! PySequence_Check(obj4)) {
8171 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8172 SWIG_fail;
8173 }
8174 arg5 = new wxArrayString;
b411df4a 8175 temp5 = true;
d55e5bfc
RD
8176 int i, len=PySequence_Length(obj4);
8177 for (i=0; i<len; i++) {
8178 PyObject* item = PySequence_GetItem(obj4, i);
8179#if wxUSE_UNICODE
8180 PyObject* str = PyObject_Unicode(item);
8181#else
8182 PyObject* str = PyObject_Str(item);
8183#endif
8184 if (PyErr_Occurred()) SWIG_fail;
8185 arg5->Add(Py2wxString(str));
8186 Py_DECREF(item);
8187 Py_DECREF(str);
8188 }
8189 }
8190 }
8191 if (obj5) {
36ed4f51
RD
8192 {
8193 arg6 = (long)(SWIG_As_long(obj5));
8194 if (SWIG_arg_fail(6)) SWIG_fail;
8195 }
d55e5bfc
RD
8196 }
8197 if (obj6) {
36ed4f51
RD
8198 {
8199 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8200 if (SWIG_arg_fail(7)) SWIG_fail;
8201 if (arg7 == NULL) {
8202 SWIG_null_ref("wxValidator");
8203 }
8204 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
8205 }
8206 }
8207 if (obj7) {
8208 {
8209 arg8 = wxString_in_helper(obj7);
8210 if (arg8 == NULL) SWIG_fail;
b411df4a 8211 temp8 = true;
d55e5bfc
RD
8212 }
8213 }
8214 {
0439c23b 8215 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8218
8219 wxPyEndAllowThreads(__tstate);
110da5b0 8220 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8221 }
8222 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8223 {
8224 if (temp5) delete arg5;
8225 }
8226 {
8227 if (temp8)
8228 delete arg8;
8229 }
8230 return resultobj;
8231 fail:
8232 {
8233 if (temp5) delete arg5;
8234 }
8235 {
8236 if (temp8)
8237 delete arg8;
8238 }
8239 return NULL;
8240}
8241
8242
c370783e 8243static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8244 PyObject *resultobj;
8245 wxCheckListBox *result;
8246 char *kwnames[] = {
8247 NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8251 {
0439c23b 8252 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (wxCheckListBox *)new wxCheckListBox();
8255
8256 wxPyEndAllowThreads(__tstate);
110da5b0 8257 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8258 }
8259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8260 return resultobj;
8261 fail:
8262 return NULL;
8263}
8264
8265
c370783e 8266static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8267 PyObject *resultobj;
8268 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8269 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 8270 int arg3 = (int) -1 ;
d55e5bfc
RD
8271 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8272 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8273 wxSize const &arg5_defvalue = wxDefaultSize ;
8274 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8275 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8276 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8277 long arg7 = (long) 0 ;
8278 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8279 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8280 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8281 wxString *arg9 = (wxString *) &arg9_defvalue ;
8282 bool result;
8283 wxPoint temp4 ;
8284 wxSize temp5 ;
b411df4a
RD
8285 bool temp6 = false ;
8286 bool temp9 = false ;
d55e5bfc
RD
8287 PyObject * obj0 = 0 ;
8288 PyObject * obj1 = 0 ;
8289 PyObject * obj2 = 0 ;
8290 PyObject * obj3 = 0 ;
8291 PyObject * obj4 = 0 ;
8292 PyObject * obj5 = 0 ;
8293 PyObject * obj6 = 0 ;
8294 PyObject * obj7 = 0 ;
8295 PyObject * obj8 = 0 ;
8296 char *kwnames[] = {
8297 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8298 };
8299
bfddbb17 8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
8301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8302 if (SWIG_arg_fail(1)) SWIG_fail;
8303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8304 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 8305 if (obj2) {
36ed4f51
RD
8306 {
8307 arg3 = (int)(SWIG_As_int(obj2));
8308 if (SWIG_arg_fail(3)) SWIG_fail;
8309 }
bfddbb17 8310 }
d55e5bfc
RD
8311 if (obj3) {
8312 {
8313 arg4 = &temp4;
8314 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8315 }
8316 }
8317 if (obj4) {
8318 {
8319 arg5 = &temp5;
8320 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8321 }
8322 }
8323 if (obj5) {
8324 {
8325 if (! PySequence_Check(obj5)) {
8326 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8327 SWIG_fail;
8328 }
8329 arg6 = new wxArrayString;
b411df4a 8330 temp6 = true;
d55e5bfc
RD
8331 int i, len=PySequence_Length(obj5);
8332 for (i=0; i<len; i++) {
8333 PyObject* item = PySequence_GetItem(obj5, i);
8334#if wxUSE_UNICODE
8335 PyObject* str = PyObject_Unicode(item);
8336#else
8337 PyObject* str = PyObject_Str(item);
8338#endif
8339 if (PyErr_Occurred()) SWIG_fail;
8340 arg6->Add(Py2wxString(str));
8341 Py_DECREF(item);
8342 Py_DECREF(str);
8343 }
8344 }
8345 }
8346 if (obj6) {
36ed4f51
RD
8347 {
8348 arg7 = (long)(SWIG_As_long(obj6));
8349 if (SWIG_arg_fail(7)) SWIG_fail;
8350 }
d55e5bfc
RD
8351 }
8352 if (obj7) {
36ed4f51
RD
8353 {
8354 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8355 if (SWIG_arg_fail(8)) SWIG_fail;
8356 if (arg8 == NULL) {
8357 SWIG_null_ref("wxValidator");
8358 }
8359 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
8360 }
8361 }
8362 if (obj8) {
8363 {
8364 arg9 = wxString_in_helper(obj8);
8365 if (arg9 == NULL) SWIG_fail;
b411df4a 8366 temp9 = true;
d55e5bfc
RD
8367 }
8368 }
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 {
8377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8378 }
8379 {
8380 if (temp6) delete arg6;
8381 }
8382 {
8383 if (temp9)
8384 delete arg9;
8385 }
8386 return resultobj;
8387 fail:
8388 {
8389 if (temp6) delete arg6;
8390 }
8391 {
8392 if (temp9)
8393 delete arg9;
8394 }
8395 return NULL;
8396}
8397
8398
c370783e 8399static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8400 PyObject *resultobj;
8401 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8402 int arg2 ;
8403 bool result;
8404 PyObject * obj0 = 0 ;
8405 PyObject * obj1 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "self",(char *) "index", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8412 if (SWIG_arg_fail(1)) SWIG_fail;
8413 {
8414 arg2 = (int)(SWIG_As_int(obj1));
8415 if (SWIG_arg_fail(2)) SWIG_fail;
8416 }
d55e5bfc
RD
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 result = (bool)(arg1)->IsChecked(arg2);
8420
8421 wxPyEndAllowThreads(__tstate);
8422 if (PyErr_Occurred()) SWIG_fail;
8423 }
8424 {
8425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8426 }
8427 return resultobj;
8428 fail:
8429 return NULL;
8430}
8431
8432
c370783e 8433static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8434 PyObject *resultobj;
8435 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8436 int arg2 ;
b411df4a 8437 int arg3 = (int) true ;
d55e5bfc
RD
8438 PyObject * obj0 = 0 ;
8439 PyObject * obj1 = 0 ;
8440 PyObject * obj2 = 0 ;
8441 char *kwnames[] = {
8442 (char *) "self",(char *) "index",(char *) "check", NULL
8443 };
8444
8445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8447 if (SWIG_arg_fail(1)) SWIG_fail;
8448 {
8449 arg2 = (int)(SWIG_As_int(obj1));
8450 if (SWIG_arg_fail(2)) SWIG_fail;
8451 }
d55e5bfc 8452 if (obj2) {
36ed4f51
RD
8453 {
8454 arg3 = (int)(SWIG_As_int(obj2));
8455 if (SWIG_arg_fail(3)) SWIG_fail;
8456 }
d55e5bfc
RD
8457 }
8458 {
8459 PyThreadState* __tstate = wxPyBeginAllowThreads();
8460 (arg1)->Check(arg2,arg3);
8461
8462 wxPyEndAllowThreads(__tstate);
8463 if (PyErr_Occurred()) SWIG_fail;
8464 }
8465 Py_INCREF(Py_None); resultobj = Py_None;
8466 return resultobj;
8467 fail:
8468 return NULL;
8469}
8470
8471
c370783e 8472static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8473 PyObject *resultobj;
8474 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8475 wxPoint *arg2 = 0 ;
8476 int result;
8477 wxPoint temp2 ;
8478 PyObject * obj0 = 0 ;
8479 PyObject * obj1 = 0 ;
8480 char *kwnames[] = {
8481 (char *) "self",(char *) "pt", NULL
8482 };
8483
8484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8487 {
8488 arg2 = &temp2;
8489 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8490 }
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
36ed4f51
RD
8498 {
8499 resultobj = SWIG_From_int((int)(result));
8500 }
d55e5bfc
RD
8501 return resultobj;
8502 fail:
8503 return NULL;
8504}
8505
8506
c370783e 8507static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8508 PyObject *resultobj;
8509 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8510 int arg2 ;
8511 int arg3 ;
8512 int result;
8513 PyObject * obj0 = 0 ;
8514 PyObject * obj1 = 0 ;
8515 PyObject * obj2 = 0 ;
8516 char *kwnames[] = {
8517 (char *) "self",(char *) "x",(char *) "y", NULL
8518 };
8519
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8522 if (SWIG_arg_fail(1)) SWIG_fail;
8523 {
8524 arg2 = (int)(SWIG_As_int(obj1));
8525 if (SWIG_arg_fail(2)) SWIG_fail;
8526 }
8527 {
8528 arg3 = (int)(SWIG_As_int(obj2));
8529 if (SWIG_arg_fail(3)) SWIG_fail;
8530 }
d55e5bfc
RD
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8534
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
36ed4f51
RD
8538 {
8539 resultobj = SWIG_From_int((int)(result));
8540 }
d55e5bfc
RD
8541 return resultobj;
8542 fail:
8543 return NULL;
8544}
8545
8546
c370783e 8547static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8548 PyObject *obj;
8549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8550 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8551 Py_INCREF(obj);
8552 return Py_BuildValue((char *)"");
8553}
c370783e 8554static int _wrap_TextCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
8555 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8556 return 1;
8557}
8558
8559
36ed4f51 8560static PyObject *_wrap_TextCtrlNameStr_get(void) {
d55e5bfc
RD
8561 PyObject *pyobj;
8562
8563 {
8564#if wxUSE_UNICODE
8565 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8566#else
8567 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8568#endif
8569 }
8570 return pyobj;
8571}
8572
8573
c370783e 8574static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8575 PyObject *resultobj;
908b74cd
RD
8576 wxColour const &arg1_defvalue = wxNullColour ;
8577 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d55e5bfc
RD
8578 wxColour const &arg2_defvalue = wxNullColour ;
8579 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8580 wxFont const &arg3_defvalue = wxNullFont ;
8581 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
36ed4f51 8582 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d55e5bfc
RD
8583 wxTextAttr *result;
8584 wxColour temp1 ;
8585 wxColour temp2 ;
8586 PyObject * obj0 = 0 ;
8587 PyObject * obj1 = 0 ;
8588 PyObject * obj2 = 0 ;
8589 PyObject * obj3 = 0 ;
908b74cd
RD
8590 char *kwnames[] = {
8591 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8592 };
d55e5bfc 8593
908b74cd
RD
8594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8595 if (obj0) {
8596 {
8597 arg1 = &temp1;
8598 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8599 }
d55e5bfc
RD
8600 }
8601 if (obj1) {
8602 {
8603 arg2 = &temp2;
8604 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8605 }
8606 }
8607 if (obj2) {
36ed4f51
RD
8608 {
8609 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8610 if (SWIG_arg_fail(3)) SWIG_fail;
8611 if (arg3 == NULL) {
8612 SWIG_null_ref("wxFont");
8613 }
8614 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8615 }
8616 }
8617 if (obj3) {
36ed4f51
RD
8618 {
8619 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8620 if (SWIG_arg_fail(4)) SWIG_fail;
8621 }
d55e5bfc
RD
8622 }
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8626
8627 wxPyEndAllowThreads(__tstate);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8631 return resultobj;
8632 fail:
8633 return NULL;
8634}
8635
8636
c370783e 8637static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8638 PyObject *resultobj;
8639 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8640 PyObject * obj0 = 0 ;
8641 char *kwnames[] = {
8642 (char *) "self", NULL
8643 };
8644
8645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
36ed4f51
RD
8646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8647 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8648 {
8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
8650 delete arg1;
8651
8652 wxPyEndAllowThreads(__tstate);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 Py_INCREF(Py_None); resultobj = Py_None;
8656 return resultobj;
8657 fail:
8658 return NULL;
8659}
8660
8661
c370783e 8662static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8663 PyObject *resultobj;
8664 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8665 PyObject * obj0 = 0 ;
8666 char *kwnames[] = {
8667 (char *) "self", NULL
8668 };
8669
8670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
36ed4f51
RD
8671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8672 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8673 {
8674 PyThreadState* __tstate = wxPyBeginAllowThreads();
8675 (arg1)->Init();
8676
8677 wxPyEndAllowThreads(__tstate);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 }
8680 Py_INCREF(Py_None); resultobj = Py_None;
8681 return resultobj;
8682 fail:
8683 return NULL;
8684}
8685
8686
c370783e 8687static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8688 PyObject *resultobj;
8689 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8690 wxColour *arg2 = 0 ;
8691 wxColour temp2 ;
8692 PyObject * obj0 = 0 ;
8693 PyObject * obj1 = 0 ;
8694 char *kwnames[] = {
8695 (char *) "self",(char *) "colText", NULL
8696 };
8697
8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8700 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8701 {
8702 arg2 = &temp2;
8703 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8704 }
8705 {
8706 PyThreadState* __tstate = wxPyBeginAllowThreads();
8707 (arg1)->SetTextColour((wxColour const &)*arg2);
8708
8709 wxPyEndAllowThreads(__tstate);
8710 if (PyErr_Occurred()) SWIG_fail;
8711 }
8712 Py_INCREF(Py_None); resultobj = Py_None;
8713 return resultobj;
8714 fail:
8715 return NULL;
8716}
8717
8718
c370783e 8719static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8720 PyObject *resultobj;
8721 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8722 wxColour *arg2 = 0 ;
8723 wxColour temp2 ;
8724 PyObject * obj0 = 0 ;
8725 PyObject * obj1 = 0 ;
8726 char *kwnames[] = {
8727 (char *) "self",(char *) "colBack", NULL
8728 };
8729
8730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8732 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8733 {
8734 arg2 = &temp2;
8735 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8736 }
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 Py_INCREF(Py_None); resultobj = Py_None;
8745 return resultobj;
8746 fail:
8747 return NULL;
8748}
8749
8750
c370783e 8751static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8752 PyObject *resultobj;
8753 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8754 wxFont *arg2 = 0 ;
8755 long arg3 = (long) wxTEXT_ATTR_FONT ;
8756 PyObject * obj0 = 0 ;
8757 PyObject * obj1 = 0 ;
8758 PyObject * obj2 = 0 ;
8759 char *kwnames[] = {
8760 (char *) "self",(char *) "font",(char *) "flags", NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8765 if (SWIG_arg_fail(1)) SWIG_fail;
8766 {
8767 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8768 if (SWIG_arg_fail(2)) SWIG_fail;
8769 if (arg2 == NULL) {
8770 SWIG_null_ref("wxFont");
8771 }
8772 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8773 }
8774 if (obj2) {
36ed4f51
RD
8775 {
8776 arg3 = (long)(SWIG_As_long(obj2));
8777 if (SWIG_arg_fail(3)) SWIG_fail;
8778 }
d55e5bfc
RD
8779 }
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 Py_INCREF(Py_None); resultobj = Py_None;
8788 return resultobj;
8789 fail:
8790 return NULL;
8791}
8792
8793
c370783e 8794static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8795 PyObject *resultobj;
8796 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
36ed4f51 8797 wxTextAttrAlignment arg2 ;
d55e5bfc
RD
8798 PyObject * obj0 = 0 ;
8799 PyObject * obj1 = 0 ;
8800 char *kwnames[] = {
8801 (char *) "self",(char *) "alignment", NULL
8802 };
8803
8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8806 if (SWIG_arg_fail(1)) SWIG_fail;
8807 {
8808 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8809 if (SWIG_arg_fail(2)) SWIG_fail;
8810 }
d55e5bfc
RD
8811 {
8812 PyThreadState* __tstate = wxPyBeginAllowThreads();
8813 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8814
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
8818 Py_INCREF(Py_None); resultobj = Py_None;
8819 return resultobj;
8820 fail:
8821 return NULL;
8822}
8823
8824
c370783e 8825static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8826 PyObject *resultobj;
8827 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8828 wxArrayInt *arg2 = 0 ;
b411df4a 8829 bool temp2 = false ;
d55e5bfc
RD
8830 PyObject * obj0 = 0 ;
8831 PyObject * obj1 = 0 ;
8832 char *kwnames[] = {
8833 (char *) "self",(char *) "tabs", NULL
8834 };
8835
8836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8838 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8839 {
8840 if (! PySequence_Check(obj1)) {
8841 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8842 SWIG_fail;
8843 }
8844 arg2 = new wxArrayInt;
b411df4a 8845 temp2 = true;
d55e5bfc
RD
8846 int i, len=PySequence_Length(obj1);
8847 for (i=0; i<len; i++) {
8848 PyObject* item = PySequence_GetItem(obj1, i);
8849 PyObject* number = PyNumber_Int(item);
8850 arg2->Add(PyInt_AS_LONG(number));
8851 Py_DECREF(item);
8852 Py_DECREF(number);
8853 }
8854 }
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8858
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 Py_INCREF(Py_None); resultobj = Py_None;
8863 {
8864 if (temp2) delete arg2;
8865 }
8866 return resultobj;
8867 fail:
8868 {
8869 if (temp2) delete arg2;
8870 }
8871 return NULL;
8872}
8873
8874
c370783e 8875static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8876 PyObject *resultobj;
8877 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8878 int arg2 ;
68e533f8 8879 int arg3 = (int) 0 ;
d55e5bfc
RD
8880 PyObject * obj0 = 0 ;
8881 PyObject * obj1 = 0 ;
68e533f8 8882 PyObject * obj2 = 0 ;
d55e5bfc 8883 char *kwnames[] = {
68e533f8 8884 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
8885 };
8886
68e533f8 8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8889 if (SWIG_arg_fail(1)) SWIG_fail;
8890 {
8891 arg2 = (int)(SWIG_As_int(obj1));
8892 if (SWIG_arg_fail(2)) SWIG_fail;
8893 }
68e533f8 8894 if (obj2) {
36ed4f51
RD
8895 {
8896 arg3 = (int)(SWIG_As_int(obj2));
8897 if (SWIG_arg_fail(3)) SWIG_fail;
8898 }
68e533f8 8899 }
d55e5bfc
RD
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 8902 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 Py_INCREF(Py_None); resultobj = Py_None;
8908 return resultobj;
8909 fail:
8910 return NULL;
8911}
8912
8913
c370783e 8914static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8915 PyObject *resultobj;
8916 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8917 int arg2 ;
8918 PyObject * obj0 = 0 ;
8919 PyObject * obj1 = 0 ;
8920 char *kwnames[] = {
8921 (char *) "self",(char *) "indent", NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8926 if (SWIG_arg_fail(1)) SWIG_fail;
8927 {
8928 arg2 = (int)(SWIG_As_int(obj1));
8929 if (SWIG_arg_fail(2)) SWIG_fail;
8930 }
d55e5bfc
RD
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 (arg1)->SetRightIndent(arg2);
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 Py_INCREF(Py_None); resultobj = Py_None;
8939 return resultobj;
8940 fail:
8941 return NULL;
8942}
8943
8944
c370783e 8945static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8946 PyObject *resultobj;
8947 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8948 long arg2 ;
8949 PyObject * obj0 = 0 ;
8950 PyObject * obj1 = 0 ;
8951 char *kwnames[] = {
8952 (char *) "self",(char *) "flags", NULL
8953 };
8954
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8957 if (SWIG_arg_fail(1)) SWIG_fail;
8958 {
8959 arg2 = (long)(SWIG_As_long(obj1));
8960 if (SWIG_arg_fail(2)) SWIG_fail;
8961 }
d55e5bfc
RD
8962 {
8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
8964 (arg1)->SetFlags(arg2);
8965
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 Py_INCREF(Py_None); resultobj = Py_None;
8970 return resultobj;
8971 fail:
8972 return NULL;
8973}
8974
8975
c370783e 8976static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8977 PyObject *resultobj;
8978 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8979 bool result;
8980 PyObject * obj0 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "self", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
8986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
8991
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 {
8996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8997 }
8998 return resultobj;
8999 fail:
9000 return NULL;
9001}
9002
9003
c370783e 9004static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9005 PyObject *resultobj;
9006 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9007 bool result;
9008 PyObject * obj0 = 0 ;
9009 char *kwnames[] = {
9010 (char *) "self", NULL
9011 };
9012
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9015 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 {
9024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9025 }
9026 return resultobj;
9027 fail:
9028 return NULL;
9029}
9030
9031
c370783e 9032static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9033 PyObject *resultobj;
9034 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9035 bool result;
9036 PyObject * obj0 = 0 ;
9037 char *kwnames[] = {
9038 (char *) "self", NULL
9039 };
9040
9041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
9042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9043 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9044 {
9045 PyThreadState* __tstate = wxPyBeginAllowThreads();
9046 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9047
9048 wxPyEndAllowThreads(__tstate);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 }
9051 {
9052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9053 }
9054 return resultobj;
9055 fail:
9056 return NULL;
9057}
9058
9059
c370783e 9060static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9061 PyObject *resultobj;
9062 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9063 bool result;
9064 PyObject * obj0 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "self", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
9070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9071 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9072 {
9073 PyThreadState* __tstate = wxPyBeginAllowThreads();
9074 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9075
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 }
9079 {
9080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9081 }
9082 return resultobj;
9083 fail:
9084 return NULL;
9085}
9086
9087
c370783e 9088static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9089 PyObject *resultobj;
9090 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9091 bool result;
9092 PyObject * obj0 = 0 ;
9093 char *kwnames[] = {
9094 (char *) "self", NULL
9095 };
9096
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
36ed4f51
RD
9098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 {
9108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9109 }
9110 return resultobj;
9111 fail:
9112 return NULL;
9113}
9114
9115
c370783e 9116static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9117 PyObject *resultobj;
9118 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9119 bool result;
9120 PyObject * obj0 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "self", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9127 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9131
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 {
9136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9137 }
9138 return resultobj;
9139 fail:
9140 return NULL;
9141}
9142
9143
c370783e 9144static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9145 PyObject *resultobj;
9146 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9147 bool result;
9148 PyObject * obj0 = 0 ;
9149 char *kwnames[] = {
9150 (char *) "self", NULL
9151 };
9152
9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 {
9164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9165 }
9166 return resultobj;
9167 fail:
9168 return NULL;
9169}
9170
9171
c370783e 9172static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9173 PyObject *resultobj;
9174 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9175 long arg2 ;
9176 bool result;
9177 PyObject * obj0 = 0 ;
9178 PyObject * obj1 = 0 ;
9179 char *kwnames[] = {
9180 (char *) "self",(char *) "flag", NULL
9181 };
9182
9183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9185 if (SWIG_arg_fail(1)) SWIG_fail;
9186 {
9187 arg2 = (long)(SWIG_As_long(obj1));
9188 if (SWIG_arg_fail(2)) SWIG_fail;
9189 }
d55e5bfc
RD
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 {
9198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9199 }
9200 return resultobj;
9201 fail:
9202 return NULL;
9203}
9204
9205
c370783e 9206static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9207 PyObject *resultobj;
9208 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9209 wxColour *result;
9210 PyObject * obj0 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 {
9221 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9222 result = (wxColour *) &_result_ref;
9223 }
9224
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9229 return resultobj;
9230 fail:
9231 return NULL;
9232}
9233
9234
c370783e 9235static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9236 PyObject *resultobj;
9237 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9238 wxColour *result;
9239 PyObject * obj0 = 0 ;
9240 char *kwnames[] = {
9241 (char *) "self", NULL
9242 };
9243
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9247 {
9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
9249 {
9250 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9251 result = (wxColour *) &_result_ref;
9252 }
9253
9254 wxPyEndAllowThreads(__tstate);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
9257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9258 return resultobj;
9259 fail:
9260 return NULL;
9261}
9262
9263
c370783e 9264static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9265 PyObject *resultobj;
9266 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9267 wxFont *result;
9268 PyObject * obj0 = 0 ;
9269 char *kwnames[] = {
9270 (char *) "self", NULL
9271 };
9272
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
9274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9275 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 {
9279 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9280 result = (wxFont *) &_result_ref;
9281 }
9282
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
9286 {
9287 wxFont* resultptr = new wxFont(*result);
9288 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9289 }
9290 return resultobj;
9291 fail:
9292 return NULL;
9293}
9294
9295
c370783e 9296static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9297 PyObject *resultobj;
9298 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
36ed4f51 9299 wxTextAttrAlignment result;
d55e5bfc
RD
9300 PyObject * obj0 = 0 ;
9301 char *kwnames[] = {
9302 (char *) "self", NULL
9303 };
9304
9305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
9306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9308 {
9309 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9310 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d55e5bfc
RD
9311
9312 wxPyEndAllowThreads(__tstate);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 }
36ed4f51 9315 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9316 return resultobj;
9317 fail:
9318 return NULL;
9319}
9320
9321
c370783e 9322static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9323 PyObject *resultobj;
9324 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9325 wxArrayInt *result;
9326 PyObject * obj0 = 0 ;
9327 char *kwnames[] = {
9328 (char *) "self", NULL
9329 };
9330
9331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
36ed4f51
RD
9332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9333 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 {
9337 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9338 result = (wxArrayInt *) &_result_ref;
9339 }
9340
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
9344 {
9345 resultobj = PyList_New(0);
9346 size_t idx;
9347 for (idx = 0; idx < result->GetCount(); idx += 1) {
9348 PyObject* val = PyInt_FromLong( result->Item(idx) );
9349 PyList_Append(resultobj, val);
9350 Py_DECREF(val);
9351 }
9352 }
9353 return resultobj;
9354 fail:
9355 return NULL;
9356}
9357
9358
c370783e 9359static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9360 PyObject *resultobj;
9361 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9362 long result;
9363 PyObject * obj0 = 0 ;
9364 char *kwnames[] = {
9365 (char *) "self", NULL
9366 };
9367
9368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9370 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9371 {
9372 PyThreadState* __tstate = wxPyBeginAllowThreads();
9373 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9374
9375 wxPyEndAllowThreads(__tstate);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 }
36ed4f51
RD
9378 {
9379 resultobj = SWIG_From_long((long)(result));
9380 }
d55e5bfc
RD
9381 return resultobj;
9382 fail:
9383 return NULL;
9384}
9385
9386
c370783e 9387static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
68e533f8
RD
9388 PyObject *resultobj;
9389 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9390 long result;
9391 PyObject * obj0 = 0 ;
9392 char *kwnames[] = {
9393 (char *) "self", NULL
9394 };
9395
9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9398 if (SWIG_arg_fail(1)) SWIG_fail;
68e533f8
RD
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9402
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
36ed4f51
RD
9406 {
9407 resultobj = SWIG_From_long((long)(result));
9408 }
68e533f8
RD
9409 return resultobj;
9410 fail:
9411 return NULL;
9412}
9413
9414
c370783e 9415static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9416 PyObject *resultobj;
9417 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9418 long result;
9419 PyObject * obj0 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self", NULL
9422 };
9423
9424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9426 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9427 {
9428 PyThreadState* __tstate = wxPyBeginAllowThreads();
9429 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9430
9431 wxPyEndAllowThreads(__tstate);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 }
36ed4f51
RD
9434 {
9435 resultobj = SWIG_From_long((long)(result));
9436 }
d55e5bfc
RD
9437 return resultobj;
9438 fail:
9439 return NULL;
9440}
9441
9442
c370783e 9443static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9444 PyObject *resultobj;
9445 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9446 long result;
9447 PyObject * obj0 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
9453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 }
36ed4f51
RD
9462 {
9463 resultobj = SWIG_From_long((long)(result));
9464 }
d55e5bfc
RD
9465 return resultobj;
9466 fail:
9467 return NULL;
9468}
9469
9470
c370783e 9471static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9472 PyObject *resultobj;
9473 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9474 bool result;
9475 PyObject * obj0 = 0 ;
9476 char *kwnames[] = {
9477 (char *) "self", NULL
9478 };
9479
9480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
36ed4f51
RD
9481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9482 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9486
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 {
9491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9492 }
9493 return resultobj;
9494 fail:
9495 return NULL;
9496}
9497
9498
c370783e 9499static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9500 PyObject *resultobj;
9501 wxTextAttr *arg1 = 0 ;
9502 wxTextAttr *arg2 = 0 ;
9503 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9504 wxTextAttr result;
9505 PyObject * obj0 = 0 ;
9506 PyObject * obj1 = 0 ;
9507 PyObject * obj2 = 0 ;
9508 char *kwnames[] = {
9509 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9510 };
9511
9512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9513 {
9514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9515 if (SWIG_arg_fail(1)) SWIG_fail;
9516 if (arg1 == NULL) {
9517 SWIG_null_ref("wxTextAttr");
9518 }
9519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9520 }
36ed4f51
RD
9521 {
9522 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9523 if (SWIG_arg_fail(2)) SWIG_fail;
9524 if (arg2 == NULL) {
9525 SWIG_null_ref("wxTextAttr");
9526 }
9527 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9528 }
36ed4f51
RD
9529 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9530 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 {
9539 wxTextAttr * resultptr;
36ed4f51 9540 resultptr = new wxTextAttr((wxTextAttr &)(result));
d55e5bfc
RD
9541 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9542 }
9543 return resultobj;
9544 fail:
9545 return NULL;
9546}
9547
9548
c370783e 9549static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9550 PyObject *obj;
9551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9552 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9553 Py_INCREF(obj);
9554 return Py_BuildValue((char *)"");
9555}
c370783e 9556static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9557 PyObject *resultobj;
9558 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 9559 int arg2 = (int) -1 ;
d55e5bfc
RD
9560 wxString const &arg3_defvalue = wxPyEmptyString ;
9561 wxString *arg3 = (wxString *) &arg3_defvalue ;
9562 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9563 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9564 wxSize const &arg5_defvalue = wxDefaultSize ;
9565 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9566 long arg6 = (long) 0 ;
9567 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9568 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9569 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9570 wxString *arg8 = (wxString *) &arg8_defvalue ;
9571 wxTextCtrl *result;
b411df4a 9572 bool temp3 = false ;
d55e5bfc
RD
9573 wxPoint temp4 ;
9574 wxSize temp5 ;
b411df4a 9575 bool temp8 = false ;
d55e5bfc
RD
9576 PyObject * obj0 = 0 ;
9577 PyObject * obj1 = 0 ;
9578 PyObject * obj2 = 0 ;
9579 PyObject * obj3 = 0 ;
9580 PyObject * obj4 = 0 ;
9581 PyObject * obj5 = 0 ;
9582 PyObject * obj6 = 0 ;
9583 PyObject * obj7 = 0 ;
9584 char *kwnames[] = {
9585 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9586 };
9587
bfddbb17 9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
9589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9590 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 9591 if (obj1) {
36ed4f51
RD
9592 {
9593 arg2 = (int)(SWIG_As_int(obj1));
9594 if (SWIG_arg_fail(2)) SWIG_fail;
9595 }
bfddbb17 9596 }
d55e5bfc
RD
9597 if (obj2) {
9598 {
9599 arg3 = wxString_in_helper(obj2);
9600 if (arg3 == NULL) SWIG_fail;
b411df4a 9601 temp3 = true;
d55e5bfc
RD
9602 }
9603 }
9604 if (obj3) {
9605 {
9606 arg4 = &temp4;
9607 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9608 }
9609 }
9610 if (obj4) {
9611 {
9612 arg5 = &temp5;
9613 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9614 }
9615 }
9616 if (obj5) {
36ed4f51
RD
9617 {
9618 arg6 = (long)(SWIG_As_long(obj5));
9619 if (SWIG_arg_fail(6)) SWIG_fail;
9620 }
d55e5bfc
RD
9621 }
9622 if (obj6) {
36ed4f51
RD
9623 {
9624 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9625 if (SWIG_arg_fail(7)) SWIG_fail;
9626 if (arg7 == NULL) {
9627 SWIG_null_ref("wxValidator");
9628 }
9629 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
9630 }
9631 }
9632 if (obj7) {
9633 {
9634 arg8 = wxString_in_helper(obj7);
9635 if (arg8 == NULL) SWIG_fail;
b411df4a 9636 temp8 = true;
d55e5bfc
RD
9637 }
9638 }
9639 {
0439c23b 9640 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9643
9644 wxPyEndAllowThreads(__tstate);
110da5b0 9645 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9646 }
b0f7404b 9647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9648 {
9649 if (temp3)
9650 delete arg3;
9651 }
9652 {
9653 if (temp8)
9654 delete arg8;
9655 }
9656 return resultobj;
9657 fail:
9658 {
9659 if (temp3)
9660 delete arg3;
9661 }
9662 {
9663 if (temp8)
9664 delete arg8;
9665 }
9666 return NULL;
9667}
9668
9669
c370783e 9670static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9671 PyObject *resultobj;
9672 wxTextCtrl *result;
9673 char *kwnames[] = {
9674 NULL
9675 };
9676
9677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9678 {
0439c23b 9679 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9680 PyThreadState* __tstate = wxPyBeginAllowThreads();
9681 result = (wxTextCtrl *)new wxTextCtrl();
9682
9683 wxPyEndAllowThreads(__tstate);
110da5b0 9684 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9685 }
b0f7404b 9686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9687 return resultobj;
9688 fail:
9689 return NULL;
9690}
9691
9692
c370783e 9693static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9694 PyObject *resultobj;
9695 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9696 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 9697 int arg3 = (int) -1 ;
d55e5bfc
RD
9698 wxString const &arg4_defvalue = wxPyEmptyString ;
9699 wxString *arg4 = (wxString *) &arg4_defvalue ;
9700 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9701 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9702 wxSize const &arg6_defvalue = wxDefaultSize ;
9703 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9704 long arg7 = (long) 0 ;
9705 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9706 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9707 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9708 wxString *arg9 = (wxString *) &arg9_defvalue ;
9709 bool result;
b411df4a 9710 bool temp4 = false ;
d55e5bfc
RD
9711 wxPoint temp5 ;
9712 wxSize temp6 ;
b411df4a 9713 bool temp9 = false ;
d55e5bfc
RD
9714 PyObject * obj0 = 0 ;
9715 PyObject * obj1 = 0 ;
9716 PyObject * obj2 = 0 ;
9717 PyObject * obj3 = 0 ;
9718 PyObject * obj4 = 0 ;
9719 PyObject * obj5 = 0 ;
9720 PyObject * obj6 = 0 ;
9721 PyObject * obj7 = 0 ;
9722 PyObject * obj8 = 0 ;
9723 char *kwnames[] = {
9724 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9725 };
9726
bfddbb17 9727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
9728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9729 if (SWIG_arg_fail(1)) SWIG_fail;
9730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9731 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 9732 if (obj2) {
36ed4f51
RD
9733 {
9734 arg3 = (int)(SWIG_As_int(obj2));
9735 if (SWIG_arg_fail(3)) SWIG_fail;
9736 }
bfddbb17 9737 }
d55e5bfc
RD
9738 if (obj3) {
9739 {
9740 arg4 = wxString_in_helper(obj3);
9741 if (arg4 == NULL) SWIG_fail;
b411df4a 9742 temp4 = true;
d55e5bfc
RD
9743 }
9744 }
9745 if (obj4) {
9746 {
9747 arg5 = &temp5;
9748 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9749 }
9750 }
9751 if (obj5) {
9752 {
9753 arg6 = &temp6;
9754 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9755 }
9756 }
9757 if (obj6) {
36ed4f51
RD
9758 {
9759 arg7 = (long)(SWIG_As_long(obj6));
9760 if (SWIG_arg_fail(7)) SWIG_fail;
9761 }
d55e5bfc
RD
9762 }
9763 if (obj7) {
36ed4f51
RD
9764 {
9765 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9766 if (SWIG_arg_fail(8)) SWIG_fail;
9767 if (arg8 == NULL) {
9768 SWIG_null_ref("wxValidator");
9769 }
9770 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
9771 }
9772 }
9773 if (obj8) {
9774 {
9775 arg9 = wxString_in_helper(obj8);
9776 if (arg9 == NULL) SWIG_fail;
b411df4a 9777 temp9 = true;
d55e5bfc
RD
9778 }
9779 }
9780 {
9781 PyThreadState* __tstate = wxPyBeginAllowThreads();
9782 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9783
9784 wxPyEndAllowThreads(__tstate);
9785 if (PyErr_Occurred()) SWIG_fail;
9786 }
9787 {
9788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9789 }
9790 {
9791 if (temp4)
9792 delete arg4;
9793 }
9794 {
9795 if (temp9)
9796 delete arg9;
9797 }
9798 return resultobj;
9799 fail:
9800 {
9801 if (temp4)
9802 delete arg4;
9803 }
9804 {
9805 if (temp9)
9806 delete arg9;
9807 }
9808 return NULL;
9809}
9810
9811
c370783e 9812static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9813 PyObject *resultobj;
9814 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9815 wxString result;
9816 PyObject * obj0 = 0 ;
9817 char *kwnames[] = {
9818 (char *) "self", NULL
9819 };
9820
9821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
9822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9823 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 result = ((wxTextCtrl const *)arg1)->GetValue();
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 {
9832#if wxUSE_UNICODE
9833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9834#else
9835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9836#endif
9837 }
9838 return resultobj;
9839 fail:
9840 return NULL;
9841}
9842
9843
c370783e 9844static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9845 PyObject *resultobj;
9846 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9847 wxString *arg2 = 0 ;
b411df4a 9848 bool temp2 = false ;
d55e5bfc
RD
9849 PyObject * obj0 = 0 ;
9850 PyObject * obj1 = 0 ;
9851 char *kwnames[] = {
9852 (char *) "self",(char *) "value", NULL
9853 };
9854
9855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9857 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9858 {
9859 arg2 = wxString_in_helper(obj1);
9860 if (arg2 == NULL) SWIG_fail;
b411df4a 9861 temp2 = true;
d55e5bfc
RD
9862 }
9863 {
9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
9865 (arg1)->SetValue((wxString const &)*arg2);
9866
9867 wxPyEndAllowThreads(__tstate);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 }
9870 Py_INCREF(Py_None); resultobj = Py_None;
9871 {
9872 if (temp2)
9873 delete arg2;
9874 }
9875 return resultobj;
9876 fail:
9877 {
9878 if (temp2)
9879 delete arg2;
9880 }
9881 return NULL;
9882}
9883
9884
c370783e 9885static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9886 PyObject *resultobj;
9887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9888 long arg2 ;
9889 long arg3 ;
9890 wxString result;
9891 PyObject * obj0 = 0 ;
9892 PyObject * obj1 = 0 ;
9893 PyObject * obj2 = 0 ;
9894 char *kwnames[] = {
9895 (char *) "self",(char *) "from",(char *) "to", NULL
9896 };
9897
9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9900 if (SWIG_arg_fail(1)) SWIG_fail;
9901 {
9902 arg2 = (long)(SWIG_As_long(obj1));
9903 if (SWIG_arg_fail(2)) SWIG_fail;
9904 }
9905 {
9906 arg3 = (long)(SWIG_As_long(obj2));
9907 if (SWIG_arg_fail(3)) SWIG_fail;
9908 }
d55e5bfc
RD
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9912
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 {
9917#if wxUSE_UNICODE
9918 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9919#else
9920 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9921#endif
9922 }
9923 return resultobj;
9924 fail:
9925 return NULL;
9926}
9927
9928
c370783e 9929static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9930 PyObject *resultobj;
9931 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9932 long arg2 ;
9933 int result;
9934 PyObject * obj0 = 0 ;
9935 PyObject * obj1 = 0 ;
9936 char *kwnames[] = {
9937 (char *) "self",(char *) "lineNo", NULL
9938 };
9939
9940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9942 if (SWIG_arg_fail(1)) SWIG_fail;
9943 {
9944 arg2 = (long)(SWIG_As_long(obj1));
9945 if (SWIG_arg_fail(2)) SWIG_fail;
9946 }
d55e5bfc
RD
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
9950
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
36ed4f51
RD
9954 {
9955 resultobj = SWIG_From_int((int)(result));
9956 }
d55e5bfc
RD
9957 return resultobj;
9958 fail:
9959 return NULL;
9960}
9961
9962
c370783e 9963static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9964 PyObject *resultobj;
9965 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9966 long arg2 ;
9967 wxString result;
9968 PyObject * obj0 = 0 ;
9969 PyObject * obj1 = 0 ;
9970 char *kwnames[] = {
9971 (char *) "self",(char *) "lineNo", NULL
9972 };
9973
9974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9976 if (SWIG_arg_fail(1)) SWIG_fail;
9977 {
9978 arg2 = (long)(SWIG_As_long(obj1));
9979 if (SWIG_arg_fail(2)) SWIG_fail;
9980 }
d55e5bfc
RD
9981 {
9982 PyThreadState* __tstate = wxPyBeginAllowThreads();
9983 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
9984
9985 wxPyEndAllowThreads(__tstate);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
9988 {
9989#if wxUSE_UNICODE
9990 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9991#else
9992 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9993#endif
9994 }
9995 return resultobj;
9996 fail:
9997 return NULL;
9998}
9999
10000
c370783e 10001static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10002 PyObject *resultobj;
10003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10004 int result;
10005 PyObject * obj0 = 0 ;
10006 char *kwnames[] = {
10007 (char *) "self", NULL
10008 };
10009
10010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
36ed4f51
RD
10011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10013 {
10014 PyThreadState* __tstate = wxPyBeginAllowThreads();
10015 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10016
10017 wxPyEndAllowThreads(__tstate);
10018 if (PyErr_Occurred()) SWIG_fail;
10019 }
36ed4f51
RD
10020 {
10021 resultobj = SWIG_From_int((int)(result));
10022 }
d55e5bfc
RD
10023 return resultobj;
10024 fail:
10025 return NULL;
10026}
10027
10028
c370783e 10029static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10030 PyObject *resultobj;
10031 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10032 bool result;
10033 PyObject * obj0 = 0 ;
10034 char *kwnames[] = {
10035 (char *) "self", NULL
10036 };
10037
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
36ed4f51
RD
10039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10040 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10041 {
10042 PyThreadState* __tstate = wxPyBeginAllowThreads();
10043 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10044
10045 wxPyEndAllowThreads(__tstate);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 }
10048 {
10049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10050 }
10051 return resultobj;
10052 fail:
10053 return NULL;
10054}
10055
10056
c370783e 10057static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10058 PyObject *resultobj;
10059 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10060 bool result;
10061 PyObject * obj0 = 0 ;
10062 char *kwnames[] = {
10063 (char *) "self", NULL
10064 };
10065
10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
36ed4f51
RD
10067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10068 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 {
10077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10078 }
10079 return resultobj;
10080 fail:
10081 return NULL;
10082}
10083
10084
c370783e 10085static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10086 PyObject *resultobj;
10087 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10088 bool result;
10089 PyObject * obj0 = 0 ;
10090 char *kwnames[] = {
10091 (char *) "self", NULL
10092 };
10093
10094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
36ed4f51
RD
10095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 {
10105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10106 }
10107 return resultobj;
10108 fail:
10109 return NULL;
10110}
10111
10112
c370783e 10113static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10114 PyObject *resultobj;
10115 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10116 bool result;
10117 PyObject * obj0 = 0 ;
10118 char *kwnames[] = {
10119 (char *) "self", NULL
10120 };
10121
10122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
36ed4f51
RD
10123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10124 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10125 {
10126 PyThreadState* __tstate = wxPyBeginAllowThreads();
10127 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10128
10129 wxPyEndAllowThreads(__tstate);
10130 if (PyErr_Occurred()) SWIG_fail;
10131 }
10132 {
10133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10134 }
10135 return resultobj;
10136 fail:
10137 return NULL;
10138}
10139
10140
c370783e 10141static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10142 PyObject *resultobj;
10143 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10144 long *arg2 = (long *) 0 ;
10145 long *arg3 = (long *) 0 ;
10146 long temp2 ;
c370783e 10147 int res2 = 0 ;
d55e5bfc 10148 long temp3 ;
c370783e 10149 int res3 = 0 ;
d55e5bfc
RD
10150 PyObject * obj0 = 0 ;
10151 char *kwnames[] = {
10152 (char *) "self", NULL
10153 };
10154
c370783e
RD
10155 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10156 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 10157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
10158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10159 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10160 {
10161 PyThreadState* __tstate = wxPyBeginAllowThreads();
10162 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10163
10164 wxPyEndAllowThreads(__tstate);
10165 if (PyErr_Occurred()) SWIG_fail;
10166 }
10167 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
10168 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10169 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10170 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10171 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10172 return resultobj;
10173 fail:
10174 return NULL;
10175}
10176
10177
c370783e 10178static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10179 PyObject *resultobj;
10180 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10181 wxString result;
10182 PyObject * obj0 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
10188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10189 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10193
10194 wxPyEndAllowThreads(__tstate);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
10197 {
10198#if wxUSE_UNICODE
10199 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10200#else
10201 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10202#endif
10203 }
10204 return resultobj;
10205 fail:
10206 return NULL;
10207}
10208
10209
c370783e 10210static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10211 PyObject *resultobj;
10212 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10213 PyObject * obj0 = 0 ;
10214 char *kwnames[] = {
10215 (char *) "self", NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
10219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10220 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10221 {
10222 PyThreadState* __tstate = wxPyBeginAllowThreads();
10223 (arg1)->Clear();
10224
10225 wxPyEndAllowThreads(__tstate);
10226 if (PyErr_Occurred()) SWIG_fail;
10227 }
10228 Py_INCREF(Py_None); resultobj = Py_None;
10229 return resultobj;
10230 fail:
10231 return NULL;
10232}
10233
10234
c370783e 10235static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10236 PyObject *resultobj;
10237 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10238 long arg2 ;
10239 long arg3 ;
10240 wxString *arg4 = 0 ;
b411df4a 10241 bool temp4 = false ;
d55e5bfc
RD
10242 PyObject * obj0 = 0 ;
10243 PyObject * obj1 = 0 ;
10244 PyObject * obj2 = 0 ;
10245 PyObject * obj3 = 0 ;
10246 char *kwnames[] = {
10247 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10248 };
10249
10250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10252 if (SWIG_arg_fail(1)) SWIG_fail;
10253 {
10254 arg2 = (long)(SWIG_As_long(obj1));
10255 if (SWIG_arg_fail(2)) SWIG_fail;
10256 }
10257 {
10258 arg3 = (long)(SWIG_As_long(obj2));
10259 if (SWIG_arg_fail(3)) SWIG_fail;
10260 }
d55e5bfc
RD
10261 {
10262 arg4 = wxString_in_helper(obj3);
10263 if (arg4 == NULL) SWIG_fail;
b411df4a 10264 temp4 = true;
d55e5bfc
RD
10265 }
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 Py_INCREF(Py_None); resultobj = Py_None;
10274 {
10275 if (temp4)
10276 delete arg4;
10277 }
10278 return resultobj;
10279 fail:
10280 {
10281 if (temp4)
10282 delete arg4;
10283 }
10284 return NULL;
10285}
10286
10287
c370783e 10288static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10289 PyObject *resultobj;
10290 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10291 long arg2 ;
10292 long arg3 ;
10293 PyObject * obj0 = 0 ;
10294 PyObject * obj1 = 0 ;
10295 PyObject * obj2 = 0 ;
10296 char *kwnames[] = {
10297 (char *) "self",(char *) "from",(char *) "to", NULL
10298 };
10299
10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10302 if (SWIG_arg_fail(1)) SWIG_fail;
10303 {
10304 arg2 = (long)(SWIG_As_long(obj1));
10305 if (SWIG_arg_fail(2)) SWIG_fail;
10306 }
10307 {
10308 arg3 = (long)(SWIG_As_long(obj2));
10309 if (SWIG_arg_fail(3)) SWIG_fail;
10310 }
d55e5bfc
RD
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 (arg1)->Remove(arg2,arg3);
10314
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 Py_INCREF(Py_None); resultobj = Py_None;
10319 return resultobj;
10320 fail:
10321 return NULL;
10322}
10323
10324
c370783e 10325static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10326 PyObject *resultobj;
10327 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10328 wxString *arg2 = 0 ;
10329 bool result;
b411df4a 10330 bool temp2 = false ;
d55e5bfc
RD
10331 PyObject * obj0 = 0 ;
10332 PyObject * obj1 = 0 ;
10333 char *kwnames[] = {
10334 (char *) "self",(char *) "file", NULL
10335 };
10336
10337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10339 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10340 {
10341 arg2 = wxString_in_helper(obj1);
10342 if (arg2 == NULL) SWIG_fail;
b411df4a 10343 temp2 = true;
d55e5bfc
RD
10344 }
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 {
10353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10354 }
10355 {
10356 if (temp2)
10357 delete arg2;
10358 }
10359 return resultobj;
10360 fail:
10361 {
10362 if (temp2)
10363 delete arg2;
10364 }
10365 return NULL;
10366}
10367
10368
c370783e 10369static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10370 PyObject *resultobj;
10371 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10372 wxString const &arg2_defvalue = wxPyEmptyString ;
10373 wxString *arg2 = (wxString *) &arg2_defvalue ;
10374 bool result;
b411df4a 10375 bool temp2 = false ;
d55e5bfc
RD
10376 PyObject * obj0 = 0 ;
10377 PyObject * obj1 = 0 ;
10378 char *kwnames[] = {
10379 (char *) "self",(char *) "file", NULL
10380 };
10381
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10384 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10385 if (obj1) {
10386 {
10387 arg2 = wxString_in_helper(obj1);
10388 if (arg2 == NULL) SWIG_fail;
b411df4a 10389 temp2 = true;
d55e5bfc
RD
10390 }
10391 }
10392 {
10393 PyThreadState* __tstate = wxPyBeginAllowThreads();
10394 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10395
10396 wxPyEndAllowThreads(__tstate);
10397 if (PyErr_Occurred()) SWIG_fail;
10398 }
10399 {
10400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10401 }
10402 {
10403 if (temp2)
10404 delete arg2;
10405 }
10406 return resultobj;
10407 fail:
10408 {
10409 if (temp2)
10410 delete arg2;
10411 }
10412 return NULL;
10413}
10414
10415
c370783e 10416static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10417 PyObject *resultobj;
10418 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10419 PyObject * obj0 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "self", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
36ed4f51
RD
10425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10426 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10427 {
10428 PyThreadState* __tstate = wxPyBeginAllowThreads();
10429 (arg1)->MarkDirty();
10430
10431 wxPyEndAllowThreads(__tstate);
10432 if (PyErr_Occurred()) SWIG_fail;
10433 }
10434 Py_INCREF(Py_None); resultobj = Py_None;
10435 return resultobj;
10436 fail:
10437 return NULL;
10438}
10439
10440
c370783e 10441static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10442 PyObject *resultobj;
10443 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10444 PyObject * obj0 = 0 ;
10445 char *kwnames[] = {
10446 (char *) "self", NULL
10447 };
10448
10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
36ed4f51
RD
10450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10452 {
10453 PyThreadState* __tstate = wxPyBeginAllowThreads();
10454 (arg1)->DiscardEdits();
10455
10456 wxPyEndAllowThreads(__tstate);
10457 if (PyErr_Occurred()) SWIG_fail;
10458 }
10459 Py_INCREF(Py_None); resultobj = Py_None;
10460 return resultobj;
10461 fail:
10462 return NULL;
10463}
10464
10465
c370783e 10466static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10467 PyObject *resultobj;
10468 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10469 unsigned long arg2 ;
10470 PyObject * obj0 = 0 ;
10471 PyObject * obj1 = 0 ;
10472 char *kwnames[] = {
10473 (char *) "self",(char *) "len", NULL
10474 };
10475
10476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10478 if (SWIG_arg_fail(1)) SWIG_fail;
10479 {
10480 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10481 if (SWIG_arg_fail(2)) SWIG_fail;
10482 }
d55e5bfc
RD
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 (arg1)->SetMaxLength(arg2);
10486
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 Py_INCREF(Py_None); resultobj = Py_None;
10491 return resultobj;
10492 fail:
10493 return NULL;
10494}
10495
10496
c370783e 10497static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10498 PyObject *resultobj;
10499 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10500 wxString *arg2 = 0 ;
b411df4a 10501 bool temp2 = false ;
d55e5bfc
RD
10502 PyObject * obj0 = 0 ;
10503 PyObject * obj1 = 0 ;
10504 char *kwnames[] = {
10505 (char *) "self",(char *) "text", NULL
10506 };
10507
10508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10510 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10511 {
10512 arg2 = wxString_in_helper(obj1);
10513 if (arg2 == NULL) SWIG_fail;
b411df4a 10514 temp2 = true;
d55e5bfc
RD
10515 }
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 (arg1)->WriteText((wxString const &)*arg2);
10519
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 Py_INCREF(Py_None); resultobj = Py_None;
10524 {
10525 if (temp2)
10526 delete arg2;
10527 }
10528 return resultobj;
10529 fail:
10530 {
10531 if (temp2)
10532 delete arg2;
10533 }
10534 return NULL;
10535}
10536
10537
c370783e 10538static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10539 PyObject *resultobj;
10540 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10541 wxString *arg2 = 0 ;
b411df4a 10542 bool temp2 = false ;
d55e5bfc
RD
10543 PyObject * obj0 = 0 ;
10544 PyObject * obj1 = 0 ;
10545 char *kwnames[] = {
10546 (char *) "self",(char *) "text", NULL
10547 };
10548
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10551 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10552 {
10553 arg2 = wxString_in_helper(obj1);
10554 if (arg2 == NULL) SWIG_fail;
b411df4a 10555 temp2 = true;
d55e5bfc
RD
10556 }
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 (arg1)->AppendText((wxString const &)*arg2);
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 Py_INCREF(Py_None); resultobj = Py_None;
10565 {
10566 if (temp2)
10567 delete arg2;
10568 }
10569 return resultobj;
10570 fail:
10571 {
10572 if (temp2)
10573 delete arg2;
10574 }
10575 return NULL;
10576}
10577
10578
c370783e 10579static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10580 PyObject *resultobj;
10581 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10582 wxKeyEvent *arg2 = 0 ;
10583 bool result;
10584 PyObject * obj0 = 0 ;
10585 PyObject * obj1 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "self",(char *) "event", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10592 if (SWIG_arg_fail(1)) SWIG_fail;
10593 {
10594 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10595 if (SWIG_arg_fail(2)) SWIG_fail;
10596 if (arg2 == NULL) {
10597 SWIG_null_ref("wxKeyEvent");
10598 }
10599 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10600 }
10601 {
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10604
10605 wxPyEndAllowThreads(__tstate);
10606 if (PyErr_Occurred()) SWIG_fail;
10607 }
10608 {
10609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10610 }
10611 return resultobj;
10612 fail:
10613 return NULL;
10614}
10615
10616
c370783e 10617static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10618 PyObject *resultobj;
10619 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10620 long arg2 ;
10621 long arg3 ;
10622 wxTextAttr *arg4 = 0 ;
10623 bool result;
10624 PyObject * obj0 = 0 ;
10625 PyObject * obj1 = 0 ;
10626 PyObject * obj2 = 0 ;
10627 PyObject * obj3 = 0 ;
10628 char *kwnames[] = {
10629 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10630 };
10631
10632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10634 if (SWIG_arg_fail(1)) SWIG_fail;
10635 {
10636 arg2 = (long)(SWIG_As_long(obj1));
10637 if (SWIG_arg_fail(2)) SWIG_fail;
10638 }
10639 {
10640 arg3 = (long)(SWIG_As_long(obj2));
10641 if (SWIG_arg_fail(3)) SWIG_fail;
10642 }
10643 {
10644 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10645 if (SWIG_arg_fail(4)) SWIG_fail;
10646 if (arg4 == NULL) {
10647 SWIG_null_ref("wxTextAttr");
10648 }
10649 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10650 }
10651 {
10652 PyThreadState* __tstate = wxPyBeginAllowThreads();
10653 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10654
10655 wxPyEndAllowThreads(__tstate);
10656 if (PyErr_Occurred()) SWIG_fail;
10657 }
10658 {
10659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10660 }
10661 return resultobj;
10662 fail:
10663 return NULL;
10664}
10665
10666
c370783e 10667static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10668 PyObject *resultobj;
10669 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10670 long arg2 ;
10671 wxTextAttr *arg3 = 0 ;
10672 bool result;
10673 PyObject * obj0 = 0 ;
10674 PyObject * obj1 = 0 ;
10675 PyObject * obj2 = 0 ;
10676 char *kwnames[] = {
10677 (char *) "self",(char *) "position",(char *) "style", NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10682 if (SWIG_arg_fail(1)) SWIG_fail;
10683 {
10684 arg2 = (long)(SWIG_As_long(obj1));
10685 if (SWIG_arg_fail(2)) SWIG_fail;
10686 }
10687 {
10688 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10689 if (SWIG_arg_fail(3)) SWIG_fail;
10690 if (arg3 == NULL) {
10691 SWIG_null_ref("wxTextAttr");
10692 }
10693 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10694 }
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 {
10703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10704 }
10705 return resultobj;
10706 fail:
10707 return NULL;
10708}
10709
10710
c370783e 10711static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10712 PyObject *resultobj;
10713 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10714 wxTextAttr *arg2 = 0 ;
10715 bool result;
10716 PyObject * obj0 = 0 ;
10717 PyObject * obj1 = 0 ;
10718 char *kwnames[] = {
10719 (char *) "self",(char *) "style", NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10724 if (SWIG_arg_fail(1)) SWIG_fail;
10725 {
10726 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10727 if (SWIG_arg_fail(2)) SWIG_fail;
10728 if (arg2 == NULL) {
10729 SWIG_null_ref("wxTextAttr");
10730 }
10731 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10732 }
10733 {
10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
10735 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10736
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 {
10741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10742 }
10743 return resultobj;
10744 fail:
10745 return NULL;
10746}
10747
10748
c370783e 10749static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10750 PyObject *resultobj;
10751 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10752 wxTextAttr *result;
10753 PyObject * obj0 = 0 ;
10754 char *kwnames[] = {
10755 (char *) "self", NULL
10756 };
10757
10758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
10759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10760 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 {
10764 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10765 result = (wxTextAttr *) &_result_ref;
10766 }
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
10771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10772 return resultobj;
10773 fail:
10774 return NULL;
10775}
10776
10777
c370783e 10778static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10779 PyObject *resultobj;
10780 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10781 long arg2 ;
10782 long arg3 ;
10783 long result;
10784 PyObject * obj0 = 0 ;
10785 PyObject * obj1 = 0 ;
10786 PyObject * obj2 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self",(char *) "x",(char *) "y", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10793 if (SWIG_arg_fail(1)) SWIG_fail;
10794 {
10795 arg2 = (long)(SWIG_As_long(obj1));
10796 if (SWIG_arg_fail(2)) SWIG_fail;
10797 }
10798 {
10799 arg3 = (long)(SWIG_As_long(obj2));
10800 if (SWIG_arg_fail(3)) SWIG_fail;
10801 }
d55e5bfc
RD
10802 {
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
36ed4f51
RD
10809 {
10810 resultobj = SWIG_From_long((long)(result));
10811 }
d55e5bfc
RD
10812 return resultobj;
10813 fail:
10814 return NULL;
10815}
10816
10817
c370783e 10818static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10819 PyObject *resultobj;
10820 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10821 long arg2 ;
10822 long *arg3 = (long *) 0 ;
10823 long *arg4 = (long *) 0 ;
10824 long temp3 ;
c370783e 10825 int res3 = 0 ;
d55e5bfc 10826 long temp4 ;
c370783e 10827 int res4 = 0 ;
d55e5bfc
RD
10828 PyObject * obj0 = 0 ;
10829 PyObject * obj1 = 0 ;
10830 char *kwnames[] = {
10831 (char *) "self",(char *) "pos", NULL
10832 };
10833
c370783e
RD
10834 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10835 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 10836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10838 if (SWIG_arg_fail(1)) SWIG_fail;
10839 {
10840 arg2 = (long)(SWIG_As_long(obj1));
10841 if (SWIG_arg_fail(2)) SWIG_fail;
10842 }
d55e5bfc
RD
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10846
10847 wxPyEndAllowThreads(__tstate);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
10851 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10852 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10853 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10854 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10855 return resultobj;
10856 fail:
10857 return NULL;
10858}
10859
10860
c370783e 10861static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10862 PyObject *resultobj;
10863 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10864 long arg2 ;
10865 PyObject * obj0 = 0 ;
10866 PyObject * obj1 = 0 ;
10867 char *kwnames[] = {
10868 (char *) "self",(char *) "pos", NULL
10869 };
10870
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10873 if (SWIG_arg_fail(1)) SWIG_fail;
10874 {
10875 arg2 = (long)(SWIG_As_long(obj1));
10876 if (SWIG_arg_fail(2)) SWIG_fail;
10877 }
d55e5bfc
RD
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 (arg1)->ShowPosition(arg2);
10881
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 Py_INCREF(Py_None); resultobj = Py_None;
10886 return resultobj;
10887 fail:
10888 return NULL;
10889}
10890
10891
c370783e 10892static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10893 PyObject *resultobj;
10894 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10895 wxPoint *arg2 = 0 ;
10896 long *arg3 = (long *) 0 ;
10897 long *arg4 = (long *) 0 ;
36ed4f51 10898 wxTextCtrlHitTestResult result;
d55e5bfc
RD
10899 wxPoint temp2 ;
10900 long temp3 ;
c370783e 10901 int res3 = 0 ;
d55e5bfc 10902 long temp4 ;
c370783e 10903 int res4 = 0 ;
d55e5bfc
RD
10904 PyObject * obj0 = 0 ;
10905 PyObject * obj1 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self",(char *) "pt", NULL
10908 };
10909
c370783e
RD
10910 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10911 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10914 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10915 {
10916 arg2 = &temp2;
10917 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10918 }
10919 {
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10921 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
d55e5bfc
RD
10922
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) SWIG_fail;
10925 }
36ed4f51 10926 resultobj = SWIG_From_int((result));
c370783e
RD
10927 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10928 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10929 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10930 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10931 return resultobj;
10932 fail:
10933 return NULL;
10934}
10935
10936
c370783e 10937static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
4896ac9e
RD
10938 PyObject *resultobj;
10939 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10940 wxPoint *arg2 = 0 ;
10941 long *arg3 = (long *) 0 ;
36ed4f51 10942 wxTextCtrlHitTestResult result;
4896ac9e
RD
10943 wxPoint temp2 ;
10944 long temp3 ;
c370783e 10945 int res3 = 0 ;
4896ac9e
RD
10946 PyObject * obj0 = 0 ;
10947 PyObject * obj1 = 0 ;
10948 char *kwnames[] = {
10949 (char *) "self",(char *) "pt", NULL
10950 };
10951
c370783e 10952 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10955 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
10956 {
10957 arg2 = &temp2;
10958 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10959 }
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10962 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
36ed4f51 10967 resultobj = SWIG_From_int((result));
c370783e
RD
10968 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10969 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
10970 return resultobj;
10971 fail:
10972 return NULL;
10973}
10974
10975
c370783e 10976static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10977 PyObject *resultobj;
10978 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10979 PyObject * obj0 = 0 ;
10980 char *kwnames[] = {
10981 (char *) "self", NULL
10982 };
10983
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
36ed4f51
RD
10985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10986 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 (arg1)->Copy();
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 Py_INCREF(Py_None); resultobj = Py_None;
10995 return resultobj;
10996 fail:
10997 return NULL;
10998}
10999
11000
c370783e 11001static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11002 PyObject *resultobj;
11003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11004 PyObject * obj0 = 0 ;
11005 char *kwnames[] = {
11006 (char *) "self", NULL
11007 };
11008
11009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
36ed4f51
RD
11010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11011 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11012 {
11013 PyThreadState* __tstate = wxPyBeginAllowThreads();
11014 (arg1)->Cut();
11015
11016 wxPyEndAllowThreads(__tstate);
11017 if (PyErr_Occurred()) SWIG_fail;
11018 }
11019 Py_INCREF(Py_None); resultobj = Py_None;
11020 return resultobj;
11021 fail:
11022 return NULL;
11023}
11024
11025
c370783e 11026static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11027 PyObject *resultobj;
11028 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11029 PyObject * obj0 = 0 ;
11030 char *kwnames[] = {
11031 (char *) "self", NULL
11032 };
11033
11034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
36ed4f51
RD
11035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11036 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11037 {
11038 PyThreadState* __tstate = wxPyBeginAllowThreads();
11039 (arg1)->Paste();
11040
11041 wxPyEndAllowThreads(__tstate);
11042 if (PyErr_Occurred()) SWIG_fail;
11043 }
11044 Py_INCREF(Py_None); resultobj = Py_None;
11045 return resultobj;
11046 fail:
11047 return NULL;
11048}
11049
11050
c370783e 11051static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11052 PyObject *resultobj;
11053 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11054 bool result;
11055 PyObject * obj0 = 0 ;
11056 char *kwnames[] = {
11057 (char *) "self", NULL
11058 };
11059
11060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
36ed4f51
RD
11061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11063 {
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11066
11067 wxPyEndAllowThreads(__tstate);
11068 if (PyErr_Occurred()) SWIG_fail;
11069 }
11070 {
11071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11072 }
11073 return resultobj;
11074 fail:
11075 return NULL;
11076}
11077
11078
c370783e 11079static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11080 PyObject *resultobj;
11081 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11082 bool result;
11083 PyObject * obj0 = 0 ;
11084 char *kwnames[] = {
11085 (char *) "self", NULL
11086 };
11087
11088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
36ed4f51
RD
11089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11090 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11094
11095 wxPyEndAllowThreads(__tstate);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
11098 {
11099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11100 }
11101 return resultobj;
11102 fail:
11103 return NULL;
11104}
11105
11106
c370783e 11107static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11108 PyObject *resultobj;
11109 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11110 bool result;
11111 PyObject * obj0 = 0 ;
11112 char *kwnames[] = {
11113 (char *) "self", NULL
11114 };
11115
11116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
36ed4f51
RD
11117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11118 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11119 {
11120 PyThreadState* __tstate = wxPyBeginAllowThreads();
11121 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11122
11123 wxPyEndAllowThreads(__tstate);
11124 if (PyErr_Occurred()) SWIG_fail;
11125 }
11126 {
11127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11128 }
11129 return resultobj;
11130 fail:
11131 return NULL;
11132}
11133
11134
c370783e 11135static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11136 PyObject *resultobj;
11137 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11138 PyObject * obj0 = 0 ;
11139 char *kwnames[] = {
11140 (char *) "self", NULL
11141 };
11142
11143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11145 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11146 {
11147 PyThreadState* __tstate = wxPyBeginAllowThreads();
11148 (arg1)->Undo();
11149
11150 wxPyEndAllowThreads(__tstate);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 Py_INCREF(Py_None); resultobj = Py_None;
11154 return resultobj;
11155 fail:
11156 return NULL;
11157}
11158
11159
c370783e 11160static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11161 PyObject *resultobj;
11162 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11163 PyObject * obj0 = 0 ;
11164 char *kwnames[] = {
11165 (char *) "self", NULL
11166 };
11167
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11170 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 (arg1)->Redo();
11174
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 Py_INCREF(Py_None); resultobj = Py_None;
11179 return resultobj;
11180 fail:
11181 return NULL;
11182}
11183
11184
c370783e 11185static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11186 PyObject *resultobj;
11187 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11188 bool result;
11189 PyObject * obj0 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11197 {
11198 PyThreadState* __tstate = wxPyBeginAllowThreads();
11199 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11200
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 {
11205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11206 }
11207 return resultobj;
11208 fail:
11209 return NULL;
11210}
11211
11212
c370783e 11213static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11214 PyObject *resultobj;
11215 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11216 bool result;
11217 PyObject * obj0 = 0 ;
11218 char *kwnames[] = {
11219 (char *) "self", NULL
11220 };
11221
11222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11224 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 {
11233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11234 }
11235 return resultobj;
11236 fail:
11237 return NULL;
11238}
11239
11240
c370783e 11241static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11242 PyObject *resultobj;
11243 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11244 long arg2 ;
11245 PyObject * obj0 = 0 ;
11246 PyObject * obj1 = 0 ;
11247 char *kwnames[] = {
11248 (char *) "self",(char *) "pos", NULL
11249 };
11250
11251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11253 if (SWIG_arg_fail(1)) SWIG_fail;
11254 {
11255 arg2 = (long)(SWIG_As_long(obj1));
11256 if (SWIG_arg_fail(2)) SWIG_fail;
11257 }
d55e5bfc
RD
11258 {
11259 PyThreadState* __tstate = wxPyBeginAllowThreads();
11260 (arg1)->SetInsertionPoint(arg2);
11261
11262 wxPyEndAllowThreads(__tstate);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 }
11265 Py_INCREF(Py_None); resultobj = Py_None;
11266 return resultobj;
11267 fail:
11268 return NULL;
11269}
11270
11271
c370783e 11272static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11273 PyObject *resultobj;
11274 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11275 PyObject * obj0 = 0 ;
11276 char *kwnames[] = {
11277 (char *) "self", NULL
11278 };
11279
11280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11282 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 (arg1)->SetInsertionPointEnd();
11286
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 Py_INCREF(Py_None); resultobj = Py_None;
11291 return resultobj;
11292 fail:
11293 return NULL;
11294}
11295
11296
c370783e 11297static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11298 PyObject *resultobj;
11299 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11300 long result;
11301 PyObject * obj0 = 0 ;
11302 char *kwnames[] = {
11303 (char *) "self", NULL
11304 };
11305
11306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
11307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11308 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11309 {
11310 PyThreadState* __tstate = wxPyBeginAllowThreads();
11311 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11312
11313 wxPyEndAllowThreads(__tstate);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
36ed4f51
RD
11316 {
11317 resultobj = SWIG_From_long((long)(result));
11318 }
d55e5bfc
RD
11319 return resultobj;
11320 fail:
11321 return NULL;
11322}
11323
11324
c370783e 11325static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11326 PyObject *resultobj;
11327 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11328 long result;
11329 PyObject * obj0 = 0 ;
11330 char *kwnames[] = {
11331 (char *) "self", NULL
11332 };
11333
11334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
11335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11336 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11340
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
36ed4f51
RD
11344 {
11345 resultobj = SWIG_From_long((long)(result));
11346 }
d55e5bfc
RD
11347 return resultobj;
11348 fail:
11349 return NULL;
11350}
11351
11352
c370783e 11353static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11354 PyObject *resultobj;
11355 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11356 long arg2 ;
11357 long arg3 ;
11358 PyObject * obj0 = 0 ;
11359 PyObject * obj1 = 0 ;
11360 PyObject * obj2 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "self",(char *) "from",(char *) "to", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11367 if (SWIG_arg_fail(1)) SWIG_fail;
11368 {
11369 arg2 = (long)(SWIG_As_long(obj1));
11370 if (SWIG_arg_fail(2)) SWIG_fail;
11371 }
11372 {
11373 arg3 = (long)(SWIG_As_long(obj2));
11374 if (SWIG_arg_fail(3)) SWIG_fail;
11375 }
d55e5bfc
RD
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 (arg1)->SetSelection(arg2,arg3);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 Py_INCREF(Py_None); resultobj = Py_None;
11384 return resultobj;
11385 fail:
11386 return NULL;
11387}
11388
11389
c370783e 11390static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11391 PyObject *resultobj;
11392 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11393 PyObject * obj0 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
11399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11401 {
11402 PyThreadState* __tstate = wxPyBeginAllowThreads();
11403 (arg1)->SelectAll();
11404
11405 wxPyEndAllowThreads(__tstate);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
11408 Py_INCREF(Py_None); resultobj = Py_None;
11409 return resultobj;
11410 fail:
11411 return NULL;
11412}
11413
11414
c370783e 11415static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11416 PyObject *resultobj;
11417 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11418 bool arg2 ;
11419 PyObject * obj0 = 0 ;
11420 PyObject * obj1 = 0 ;
11421 char *kwnames[] = {
11422 (char *) "self",(char *) "editable", NULL
11423 };
11424
11425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11427 if (SWIG_arg_fail(1)) SWIG_fail;
11428 {
11429 arg2 = (bool)(SWIG_As_bool(obj1));
11430 if (SWIG_arg_fail(2)) SWIG_fail;
11431 }
d55e5bfc
RD
11432 {
11433 PyThreadState* __tstate = wxPyBeginAllowThreads();
11434 (arg1)->SetEditable(arg2);
11435
11436 wxPyEndAllowThreads(__tstate);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 }
11439 Py_INCREF(Py_None); resultobj = Py_None;
11440 return resultobj;
11441 fail:
11442 return NULL;
11443}
11444
11445
c370783e 11446static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11447 PyObject *resultobj;
11448 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11449 wxString *arg2 = 0 ;
b411df4a 11450 bool temp2 = false ;
d55e5bfc
RD
11451 PyObject * obj0 = 0 ;
11452 PyObject * obj1 = 0 ;
11453 char *kwnames[] = {
11454 (char *) "self",(char *) "text", NULL
11455 };
11456
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11460 {
11461 arg2 = wxString_in_helper(obj1);
11462 if (arg2 == NULL) SWIG_fail;
b411df4a 11463 temp2 = true;
d55e5bfc
RD
11464 }
11465 {
11466 PyThreadState* __tstate = wxPyBeginAllowThreads();
11467 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11468
11469 wxPyEndAllowThreads(__tstate);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 }
11472 Py_INCREF(Py_None); resultobj = Py_None;
11473 {
11474 if (temp2)
11475 delete arg2;
11476 }
11477 return resultobj;
11478 fail:
11479 {
11480 if (temp2)
11481 delete arg2;
11482 }
11483 return NULL;
11484}
11485
11486
c370783e 11487static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11488 PyObject *resultobj;
11489 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11490 long arg2 ;
11491 long arg3 ;
11492 wxString result;
11493 PyObject * obj0 = 0 ;
11494 PyObject * obj1 = 0 ;
11495 PyObject * obj2 = 0 ;
11496 char *kwnames[] = {
11497 (char *) "self",(char *) "from",(char *) "to", NULL
11498 };
11499
11500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11502 if (SWIG_arg_fail(1)) SWIG_fail;
11503 {
11504 arg2 = (long)(SWIG_As_long(obj1));
11505 if (SWIG_arg_fail(2)) SWIG_fail;
11506 }
11507 {
11508 arg3 = (long)(SWIG_As_long(obj2));
11509 if (SWIG_arg_fail(3)) SWIG_fail;
11510 }
d55e5bfc
RD
11511 {
11512 PyThreadState* __tstate = wxPyBeginAllowThreads();
11513 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11514
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 {
11519#if wxUSE_UNICODE
11520 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11521#else
11522 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11523#endif
11524 }
11525 return resultobj;
11526 fail:
11527 return NULL;
11528}
11529
11530
c370783e 11531static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 11532 PyObject *resultobj;
36ed4f51 11533 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
11534 wxVisualAttributes result;
11535 PyObject * obj0 = 0 ;
11536 char *kwnames[] = {
11537 (char *) "variant", NULL
11538 };
11539
11540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11541 if (obj0) {
36ed4f51
RD
11542 {
11543 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11544 if (SWIG_arg_fail(1)) SWIG_fail;
11545 }
f20a2e1f
RD
11546 }
11547 {
0439c23b 11548 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11551
11552 wxPyEndAllowThreads(__tstate);
110da5b0 11553 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11554 }
11555 {
11556 wxVisualAttributes * resultptr;
36ed4f51 11557 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
11558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11559 }
11560 return resultobj;
11561 fail:
11562 return NULL;
11563}
11564
11565
c370783e 11566static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11567 PyObject *obj;
11568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11569 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11570 Py_INCREF(obj);
11571 return Py_BuildValue((char *)"");
11572}
c370783e 11573static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11574 PyObject *resultobj;
11575 int arg1 ;
11576 wxMouseEvent *arg2 = 0 ;
11577 long arg3 ;
11578 long arg4 ;
11579 wxTextUrlEvent *result;
11580 PyObject * obj0 = 0 ;
11581 PyObject * obj1 = 0 ;
11582 PyObject * obj2 = 0 ;
11583 PyObject * obj3 = 0 ;
11584 char *kwnames[] = {
11585 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11586 };
11587
11588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
11589 {
11590 arg1 = (int)(SWIG_As_int(obj0));
11591 if (SWIG_arg_fail(1)) SWIG_fail;
11592 }
11593 {
11594 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11595 if (SWIG_arg_fail(2)) SWIG_fail;
11596 if (arg2 == NULL) {
11597 SWIG_null_ref("wxMouseEvent");
11598 }
11599 if (SWIG_arg_fail(2)) SWIG_fail;
11600 }
11601 {
11602 arg3 = (long)(SWIG_As_long(obj2));
11603 if (SWIG_arg_fail(3)) SWIG_fail;
11604 }
11605 {
11606 arg4 = (long)(SWIG_As_long(obj3));
11607 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 11608 }
d55e5bfc
RD
11609 {
11610 PyThreadState* __tstate = wxPyBeginAllowThreads();
11611 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11612
11613 wxPyEndAllowThreads(__tstate);
11614 if (PyErr_Occurred()) SWIG_fail;
11615 }
11616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11617 return resultobj;
11618 fail:
11619 return NULL;
11620}
11621
11622
c370783e 11623static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11624 PyObject *resultobj;
11625 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11626 wxMouseEvent *result;
11627 PyObject * obj0 = 0 ;
11628 char *kwnames[] = {
11629 (char *) "self", NULL
11630 };
11631
11632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
11633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11634 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11635 {
11636 PyThreadState* __tstate = wxPyBeginAllowThreads();
11637 {
11638 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11639 result = (wxMouseEvent *) &_result_ref;
11640 }
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11646 return resultobj;
11647 fail:
11648 return NULL;
11649}
11650
11651
c370783e 11652static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11653 PyObject *resultobj;
11654 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11655 long result;
11656 PyObject * obj0 = 0 ;
11657 char *kwnames[] = {
11658 (char *) "self", NULL
11659 };
11660
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
11662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11663 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
36ed4f51
RD
11671 {
11672 resultobj = SWIG_From_long((long)(result));
11673 }
d55e5bfc
RD
11674 return resultobj;
11675 fail:
11676 return NULL;
11677}
11678
11679
c370783e 11680static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11681 PyObject *resultobj;
11682 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11683 long result;
11684 PyObject * obj0 = 0 ;
11685 char *kwnames[] = {
11686 (char *) "self", NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
36ed4f51
RD
11699 {
11700 resultobj = SWIG_From_long((long)(result));
11701 }
d55e5bfc
RD
11702 return resultobj;
11703 fail:
11704 return NULL;
11705}
11706
11707
c370783e 11708static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11709 PyObject *obj;
11710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11711 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11712 Py_INCREF(obj);
11713 return Py_BuildValue((char *)"");
11714}
c370783e 11715static int _wrap_ScrollBarNameStr_set(PyObject *) {
d55e5bfc
RD
11716 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11717 return 1;
11718}
11719
11720
36ed4f51 11721static PyObject *_wrap_ScrollBarNameStr_get(void) {
d55e5bfc
RD
11722 PyObject *pyobj;
11723
11724 {
11725#if wxUSE_UNICODE
11726 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11727#else
11728 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11729#endif
11730 }
11731 return pyobj;
11732}
11733
11734
c370783e 11735static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11736 PyObject *resultobj;
11737 wxWindow *arg1 = (wxWindow *) 0 ;
11738 int arg2 = (int) -1 ;
11739 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11740 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11741 wxSize const &arg4_defvalue = wxDefaultSize ;
11742 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11743 long arg5 = (long) wxSB_HORIZONTAL ;
11744 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11745 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11746 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11747 wxString *arg7 = (wxString *) &arg7_defvalue ;
11748 wxScrollBar *result;
11749 wxPoint temp3 ;
11750 wxSize temp4 ;
b411df4a 11751 bool temp7 = false ;
d55e5bfc
RD
11752 PyObject * obj0 = 0 ;
11753 PyObject * obj1 = 0 ;
11754 PyObject * obj2 = 0 ;
11755 PyObject * obj3 = 0 ;
11756 PyObject * obj4 = 0 ;
11757 PyObject * obj5 = 0 ;
11758 PyObject * obj6 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11766 if (obj1) {
36ed4f51
RD
11767 {
11768 arg2 = (int)(SWIG_As_int(obj1));
11769 if (SWIG_arg_fail(2)) SWIG_fail;
11770 }
d55e5bfc
RD
11771 }
11772 if (obj2) {
11773 {
11774 arg3 = &temp3;
11775 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11776 }
11777 }
11778 if (obj3) {
11779 {
11780 arg4 = &temp4;
11781 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11782 }
11783 }
11784 if (obj4) {
36ed4f51
RD
11785 {
11786 arg5 = (long)(SWIG_As_long(obj4));
11787 if (SWIG_arg_fail(5)) SWIG_fail;
11788 }
d55e5bfc
RD
11789 }
11790 if (obj5) {
36ed4f51
RD
11791 {
11792 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11793 if (SWIG_arg_fail(6)) SWIG_fail;
11794 if (arg6 == NULL) {
11795 SWIG_null_ref("wxValidator");
11796 }
11797 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
11798 }
11799 }
11800 if (obj6) {
11801 {
11802 arg7 = wxString_in_helper(obj6);
11803 if (arg7 == NULL) SWIG_fail;
b411df4a 11804 temp7 = true;
d55e5bfc
RD
11805 }
11806 }
11807 {
0439c23b 11808 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11809 PyThreadState* __tstate = wxPyBeginAllowThreads();
11810 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11811
11812 wxPyEndAllowThreads(__tstate);
110da5b0 11813 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11814 }
11815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11816 {
11817 if (temp7)
11818 delete arg7;
11819 }
11820 return resultobj;
11821 fail:
11822 {
11823 if (temp7)
11824 delete arg7;
11825 }
11826 return NULL;
11827}
11828
11829
c370783e 11830static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11831 PyObject *resultobj;
11832 wxScrollBar *result;
11833 char *kwnames[] = {
11834 NULL
11835 };
11836
11837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11838 {
0439c23b 11839 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 result = (wxScrollBar *)new wxScrollBar();
11842
11843 wxPyEndAllowThreads(__tstate);
110da5b0 11844 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11845 }
11846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11847 return resultobj;
11848 fail:
11849 return NULL;
11850}
11851
11852
c370783e 11853static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11854 PyObject *resultobj;
11855 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11856 wxWindow *arg2 = (wxWindow *) 0 ;
11857 int arg3 = (int) -1 ;
11858 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11859 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11860 wxSize const &arg5_defvalue = wxDefaultSize ;
11861 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11862 long arg6 = (long) wxSB_HORIZONTAL ;
11863 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11864 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11865 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11866 wxString *arg8 = (wxString *) &arg8_defvalue ;
11867 bool result;
11868 wxPoint temp4 ;
11869 wxSize temp5 ;
b411df4a 11870 bool temp8 = false ;
d55e5bfc
RD
11871 PyObject * obj0 = 0 ;
11872 PyObject * obj1 = 0 ;
11873 PyObject * obj2 = 0 ;
11874 PyObject * obj3 = 0 ;
11875 PyObject * obj4 = 0 ;
11876 PyObject * obj5 = 0 ;
11877 PyObject * obj6 = 0 ;
11878 PyObject * obj7 = 0 ;
11879 char *kwnames[] = {
11880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11881 };
11882
11883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
11884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11885 if (SWIG_arg_fail(1)) SWIG_fail;
11886 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11887 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11888 if (obj2) {
36ed4f51
RD
11889 {
11890 arg3 = (int)(SWIG_As_int(obj2));
11891 if (SWIG_arg_fail(3)) SWIG_fail;
11892 }
d55e5bfc
RD
11893 }
11894 if (obj3) {
11895 {
11896 arg4 = &temp4;
11897 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11898 }
11899 }
11900 if (obj4) {
11901 {
11902 arg5 = &temp5;
11903 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11904 }
11905 }
11906 if (obj5) {
36ed4f51
RD
11907 {
11908 arg6 = (long)(SWIG_As_long(obj5));
11909 if (SWIG_arg_fail(6)) SWIG_fail;
11910 }
d55e5bfc
RD
11911 }
11912 if (obj6) {
36ed4f51
RD
11913 {
11914 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11915 if (SWIG_arg_fail(7)) SWIG_fail;
11916 if (arg7 == NULL) {
11917 SWIG_null_ref("wxValidator");
11918 }
11919 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
11920 }
11921 }
11922 if (obj7) {
11923 {
11924 arg8 = wxString_in_helper(obj7);
11925 if (arg8 == NULL) SWIG_fail;
b411df4a 11926 temp8 = true;
d55e5bfc
RD
11927 }
11928 }
11929 {
11930 PyThreadState* __tstate = wxPyBeginAllowThreads();
11931 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11932
11933 wxPyEndAllowThreads(__tstate);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 }
11936 {
11937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11938 }
11939 {
11940 if (temp8)
11941 delete arg8;
11942 }
11943 return resultobj;
11944 fail:
11945 {
11946 if (temp8)
11947 delete arg8;
11948 }
11949 return NULL;
11950}
11951
11952
c370783e 11953static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11954 PyObject *resultobj;
11955 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11956 int result;
11957 PyObject * obj0 = 0 ;
11958 char *kwnames[] = {
11959 (char *) "self", NULL
11960 };
11961
11962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
11963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11964 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11965 {
11966 PyThreadState* __tstate = wxPyBeginAllowThreads();
11967 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
11968
11969 wxPyEndAllowThreads(__tstate);
11970 if (PyErr_Occurred()) SWIG_fail;
11971 }
36ed4f51
RD
11972 {
11973 resultobj = SWIG_From_int((int)(result));
11974 }
d55e5bfc
RD
11975 return resultobj;
11976 fail:
11977 return NULL;
11978}
11979
11980
c370783e 11981static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11982 PyObject *resultobj;
11983 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11984 int result;
11985 PyObject * obj0 = 0 ;
11986 char *kwnames[] = {
11987 (char *) "self", NULL
11988 };
11989
11990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
11991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11993 {
11994 PyThreadState* __tstate = wxPyBeginAllowThreads();
11995 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
11996
11997 wxPyEndAllowThreads(__tstate);
11998 if (PyErr_Occurred()) SWIG_fail;
11999 }
36ed4f51
RD
12000 {
12001 resultobj = SWIG_From_int((int)(result));
12002 }
d55e5bfc
RD
12003 return resultobj;
12004 fail:
12005 return NULL;
12006}
12007
12008
c370783e 12009static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12010 PyObject *resultobj;
12011 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12012 int result;
12013 PyObject * obj0 = 0 ;
12014 char *kwnames[] = {
12015 (char *) "self", NULL
12016 };
12017
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
12019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
36ed4f51
RD
12028 {
12029 resultobj = SWIG_From_int((int)(result));
12030 }
d55e5bfc
RD
12031 return resultobj;
12032 fail:
12033 return NULL;
12034}
12035
12036
c370783e 12037static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12038 PyObject *resultobj;
12039 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12040 int result;
12041 PyObject * obj0 = 0 ;
12042 char *kwnames[] = {
12043 (char *) "self", NULL
12044 };
12045
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
36ed4f51
RD
12047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (int)((wxScrollBar const *)arg1)->GetRange();
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
36ed4f51
RD
12056 {
12057 resultobj = SWIG_From_int((int)(result));
12058 }
d55e5bfc
RD
12059 return resultobj;
12060 fail:
12061 return NULL;
12062}
12063
12064
c370783e 12065static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12066 PyObject *resultobj;
12067 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12068 bool result;
12069 PyObject * obj0 = 0 ;
12070 char *kwnames[] = {
12071 (char *) "self", NULL
12072 };
12073
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
12075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12080
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 {
12085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12086 }
12087 return resultobj;
12088 fail:
12089 return NULL;
12090}
12091
12092
c370783e 12093static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12094 PyObject *resultobj;
12095 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12096 int arg2 ;
12097 PyObject * obj0 = 0 ;
12098 PyObject * obj1 = 0 ;
12099 char *kwnames[] = {
12100 (char *) "self",(char *) "viewStart", NULL
12101 };
12102
12103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12105 if (SWIG_arg_fail(1)) SWIG_fail;
12106 {
12107 arg2 = (int)(SWIG_As_int(obj1));
12108 if (SWIG_arg_fail(2)) SWIG_fail;
12109 }
d55e5bfc
RD
12110 {
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 (arg1)->SetThumbPosition(arg2);
12113
12114 wxPyEndAllowThreads(__tstate);
12115 if (PyErr_Occurred()) SWIG_fail;
12116 }
12117 Py_INCREF(Py_None); resultobj = Py_None;
12118 return resultobj;
12119 fail:
12120 return NULL;
12121}
12122
12123
c370783e 12124static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12125 PyObject *resultobj;
12126 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12127 int arg2 ;
12128 int arg3 ;
12129 int arg4 ;
12130 int arg5 ;
b411df4a 12131 bool arg6 = (bool) true ;
d55e5bfc
RD
12132 PyObject * obj0 = 0 ;
12133 PyObject * obj1 = 0 ;
12134 PyObject * obj2 = 0 ;
12135 PyObject * obj3 = 0 ;
12136 PyObject * obj4 = 0 ;
12137 PyObject * obj5 = 0 ;
12138 char *kwnames[] = {
12139 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12140 };
12141
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail;
12145 {
12146 arg2 = (int)(SWIG_As_int(obj1));
12147 if (SWIG_arg_fail(2)) SWIG_fail;
12148 }
12149 {
12150 arg3 = (int)(SWIG_As_int(obj2));
12151 if (SWIG_arg_fail(3)) SWIG_fail;
12152 }
12153 {
12154 arg4 = (int)(SWIG_As_int(obj3));
12155 if (SWIG_arg_fail(4)) SWIG_fail;
12156 }
12157 {
12158 arg5 = (int)(SWIG_As_int(obj4));
12159 if (SWIG_arg_fail(5)) SWIG_fail;
12160 }
d55e5bfc 12161 if (obj5) {
36ed4f51
RD
12162 {
12163 arg6 = (bool)(SWIG_As_bool(obj5));
12164 if (SWIG_arg_fail(6)) SWIG_fail;
12165 }
d55e5bfc
RD
12166 }
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 Py_INCREF(Py_None); resultobj = Py_None;
12175 return resultobj;
12176 fail:
12177 return NULL;
12178}
12179
12180
c370783e 12181static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 12182 PyObject *resultobj;
36ed4f51 12183 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
12184 wxVisualAttributes result;
12185 PyObject * obj0 = 0 ;
12186 char *kwnames[] = {
12187 (char *) "variant", NULL
12188 };
12189
12190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12191 if (obj0) {
36ed4f51
RD
12192 {
12193 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12194 if (SWIG_arg_fail(1)) SWIG_fail;
12195 }
f20a2e1f
RD
12196 }
12197 {
0439c23b 12198 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12199 PyThreadState* __tstate = wxPyBeginAllowThreads();
12200 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12201
12202 wxPyEndAllowThreads(__tstate);
110da5b0 12203 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12204 }
12205 {
12206 wxVisualAttributes * resultptr;
36ed4f51 12207 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
12208 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12209 }
12210 return resultobj;
12211 fail:
12212 return NULL;
12213}
12214
12215
c370783e 12216static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12217 PyObject *obj;
12218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12219 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12220 Py_INCREF(obj);
12221 return Py_BuildValue((char *)"");
12222}
c370783e 12223static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
d55e5bfc
RD
12224 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12225 return 1;
12226}
12227
12228
36ed4f51 12229static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
d55e5bfc
RD
12230 PyObject *pyobj;
12231
12232 {
12233#if wxUSE_UNICODE
12234 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12235#else
12236 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12237#endif
12238 }
12239 return pyobj;
12240}
12241
12242
c370783e 12243static int _wrap_SpinCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
12244 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12245 return 1;
12246}
12247
12248
36ed4f51 12249static PyObject *_wrap_SpinCtrlNameStr_get(void) {
d55e5bfc
RD
12250 PyObject *pyobj;
12251
12252 {
12253#if wxUSE_UNICODE
12254 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12255#else
12256 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12257#endif
12258 }
12259 return pyobj;
12260}
12261
12262
c370783e 12263static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12264 PyObject *resultobj;
12265 wxWindow *arg1 = (wxWindow *) 0 ;
12266 int arg2 = (int) -1 ;
12267 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12268 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12269 wxSize const &arg4_defvalue = wxDefaultSize ;
12270 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12271 long arg5 = (long) wxSP_HORIZONTAL ;
12272 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12273 wxString *arg6 = (wxString *) &arg6_defvalue ;
12274 wxSpinButton *result;
12275 wxPoint temp3 ;
12276 wxSize temp4 ;
b411df4a 12277 bool temp6 = false ;
d55e5bfc
RD
12278 PyObject * obj0 = 0 ;
12279 PyObject * obj1 = 0 ;
12280 PyObject * obj2 = 0 ;
12281 PyObject * obj3 = 0 ;
12282 PyObject * obj4 = 0 ;
12283 PyObject * obj5 = 0 ;
12284 char *kwnames[] = {
12285 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12286 };
12287
12288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12291 if (obj1) {
36ed4f51
RD
12292 {
12293 arg2 = (int)(SWIG_As_int(obj1));
12294 if (SWIG_arg_fail(2)) SWIG_fail;
12295 }
d55e5bfc
RD
12296 }
12297 if (obj2) {
12298 {
12299 arg3 = &temp3;
12300 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12301 }
12302 }
12303 if (obj3) {
12304 {
12305 arg4 = &temp4;
12306 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12307 }
12308 }
12309 if (obj4) {
36ed4f51
RD
12310 {
12311 arg5 = (long)(SWIG_As_long(obj4));
12312 if (SWIG_arg_fail(5)) SWIG_fail;
12313 }
d55e5bfc
RD
12314 }
12315 if (obj5) {
12316 {
12317 arg6 = wxString_in_helper(obj5);
12318 if (arg6 == NULL) SWIG_fail;
b411df4a 12319 temp6 = true;
d55e5bfc
RD
12320 }
12321 }
12322 {
0439c23b 12323 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12326
12327 wxPyEndAllowThreads(__tstate);
110da5b0 12328 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12329 }
12330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12331 {
12332 if (temp6)
12333 delete arg6;
12334 }
12335 return resultobj;
12336 fail:
12337 {
12338 if (temp6)
12339 delete arg6;
12340 }
12341 return NULL;
12342}
12343
12344
c370783e 12345static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12346 PyObject *resultobj;
12347 wxSpinButton *result;
12348 char *kwnames[] = {
12349 NULL
12350 };
12351
12352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12353 {
0439c23b 12354 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 result = (wxSpinButton *)new wxSpinButton();
12357
12358 wxPyEndAllowThreads(__tstate);
110da5b0 12359 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12360 }
12361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12362 return resultobj;
12363 fail:
12364 return NULL;
12365}
12366
12367
c370783e 12368static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12369 PyObject *resultobj;
12370 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12371 wxWindow *arg2 = (wxWindow *) 0 ;
12372 int arg3 = (int) -1 ;
12373 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12374 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12375 wxSize const &arg5_defvalue = wxDefaultSize ;
12376 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12377 long arg6 = (long) wxSP_HORIZONTAL ;
12378 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12379 wxString *arg7 = (wxString *) &arg7_defvalue ;
12380 bool result;
12381 wxPoint temp4 ;
12382 wxSize temp5 ;
b411df4a 12383 bool temp7 = false ;
d55e5bfc
RD
12384 PyObject * obj0 = 0 ;
12385 PyObject * obj1 = 0 ;
12386 PyObject * obj2 = 0 ;
12387 PyObject * obj3 = 0 ;
12388 PyObject * obj4 = 0 ;
12389 PyObject * obj5 = 0 ;
12390 PyObject * obj6 = 0 ;
12391 char *kwnames[] = {
12392 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12393 };
12394
12395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
12396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12397 if (SWIG_arg_fail(1)) SWIG_fail;
12398 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12399 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12400 if (obj2) {
36ed4f51
RD
12401 {
12402 arg3 = (int)(SWIG_As_int(obj2));
12403 if (SWIG_arg_fail(3)) SWIG_fail;
12404 }
d55e5bfc
RD
12405 }
12406 if (obj3) {
12407 {
12408 arg4 = &temp4;
12409 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12410 }
12411 }
12412 if (obj4) {
12413 {
12414 arg5 = &temp5;
12415 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12416 }
12417 }
12418 if (obj5) {
36ed4f51
RD
12419 {
12420 arg6 = (long)(SWIG_As_long(obj5));
12421 if (SWIG_arg_fail(6)) SWIG_fail;
12422 }
d55e5bfc
RD
12423 }
12424 if (obj6) {
12425 {
12426 arg7 = wxString_in_helper(obj6);
12427 if (arg7 == NULL) SWIG_fail;
b411df4a 12428 temp7 = true;
d55e5bfc
RD
12429 }
12430 }
12431 {
12432 PyThreadState* __tstate = wxPyBeginAllowThreads();
12433 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12434
12435 wxPyEndAllowThreads(__tstate);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 }
12438 {
12439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12440 }
12441 {
12442 if (temp7)
12443 delete arg7;
12444 }
12445 return resultobj;
12446 fail:
12447 {
12448 if (temp7)
12449 delete arg7;
12450 }
12451 return NULL;
12452}
12453
12454
c370783e 12455static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12456 PyObject *resultobj;
12457 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12458 int result;
12459 PyObject * obj0 = 0 ;
12460 char *kwnames[] = {
12461 (char *) "self", NULL
12462 };
12463
12464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
12465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12467 {
12468 PyThreadState* __tstate = wxPyBeginAllowThreads();
12469 result = (int)((wxSpinButton const *)arg1)->GetValue();
12470
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
36ed4f51
RD
12474 {
12475 resultobj = SWIG_From_int((int)(result));
12476 }
d55e5bfc
RD
12477 return resultobj;
12478 fail:
12479 return NULL;
12480}
12481
12482
c370783e 12483static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12484 PyObject *resultobj;
12485 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12486 int result;
12487 PyObject * obj0 = 0 ;
12488 char *kwnames[] = {
12489 (char *) "self", NULL
12490 };
12491
12492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
12493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12494 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12495 {
12496 PyThreadState* __tstate = wxPyBeginAllowThreads();
12497 result = (int)((wxSpinButton const *)arg1)->GetMin();
12498
12499 wxPyEndAllowThreads(__tstate);
12500 if (PyErr_Occurred()) SWIG_fail;
12501 }
36ed4f51
RD
12502 {
12503 resultobj = SWIG_From_int((int)(result));
12504 }
d55e5bfc
RD
12505 return resultobj;
12506 fail:
12507 return NULL;
12508}
12509
12510
c370783e 12511static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12512 PyObject *resultobj;
12513 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12514 int result;
12515 PyObject * obj0 = 0 ;
12516 char *kwnames[] = {
12517 (char *) "self", NULL
12518 };
12519
12520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
12521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12522 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 result = (int)((wxSpinButton const *)arg1)->GetMax();
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
36ed4f51
RD
12530 {
12531 resultobj = SWIG_From_int((int)(result));
12532 }
d55e5bfc
RD
12533 return resultobj;
12534 fail:
12535 return NULL;
12536}
12537
12538
c370783e 12539static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12540 PyObject *resultobj;
12541 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12542 int arg2 ;
12543 PyObject * obj0 = 0 ;
12544 PyObject * obj1 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "self",(char *) "val", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12551 if (SWIG_arg_fail(1)) SWIG_fail;
12552 {
12553 arg2 = (int)(SWIG_As_int(obj1));
12554 if (SWIG_arg_fail(2)) SWIG_fail;
12555 }
d55e5bfc
RD
12556 {
12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
12558 (arg1)->SetValue(arg2);
12559
12560 wxPyEndAllowThreads(__tstate);
12561 if (PyErr_Occurred()) SWIG_fail;
12562 }
12563 Py_INCREF(Py_None); resultobj = Py_None;
12564 return resultobj;
12565 fail:
12566 return NULL;
12567}
12568
12569
c370783e 12570static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12571 PyObject *resultobj;
12572 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12573 int arg2 ;
12574 PyObject * obj0 = 0 ;
12575 PyObject * obj1 = 0 ;
12576 char *kwnames[] = {
12577 (char *) "self",(char *) "minVal", NULL
12578 };
12579
12580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12582 if (SWIG_arg_fail(1)) SWIG_fail;
12583 {
12584 arg2 = (int)(SWIG_As_int(obj1));
12585 if (SWIG_arg_fail(2)) SWIG_fail;
12586 }
d55e5bfc
RD
12587 {
12588 PyThreadState* __tstate = wxPyBeginAllowThreads();
12589 (arg1)->SetMin(arg2);
12590
12591 wxPyEndAllowThreads(__tstate);
12592 if (PyErr_Occurred()) SWIG_fail;
12593 }
12594 Py_INCREF(Py_None); resultobj = Py_None;
12595 return resultobj;
12596 fail:
12597 return NULL;
12598}
12599
12600
c370783e 12601static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12602 PyObject *resultobj;
12603 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12604 int arg2 ;
12605 PyObject * obj0 = 0 ;
12606 PyObject * obj1 = 0 ;
12607 char *kwnames[] = {
12608 (char *) "self",(char *) "maxVal", NULL
12609 };
12610
12611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12613 if (SWIG_arg_fail(1)) SWIG_fail;
12614 {
12615 arg2 = (int)(SWIG_As_int(obj1));
12616 if (SWIG_arg_fail(2)) SWIG_fail;
12617 }
d55e5bfc
RD
12618 {
12619 PyThreadState* __tstate = wxPyBeginAllowThreads();
12620 (arg1)->SetMax(arg2);
12621
12622 wxPyEndAllowThreads(__tstate);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 }
12625 Py_INCREF(Py_None); resultobj = Py_None;
12626 return resultobj;
12627 fail:
12628 return NULL;
12629}
12630
12631
c370783e 12632static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12633 PyObject *resultobj;
12634 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12635 int arg2 ;
12636 int arg3 ;
12637 PyObject * obj0 = 0 ;
12638 PyObject * obj1 = 0 ;
12639 PyObject * obj2 = 0 ;
12640 char *kwnames[] = {
12641 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12642 };
12643
12644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12646 if (SWIG_arg_fail(1)) SWIG_fail;
12647 {
12648 arg2 = (int)(SWIG_As_int(obj1));
12649 if (SWIG_arg_fail(2)) SWIG_fail;
12650 }
12651 {
12652 arg3 = (int)(SWIG_As_int(obj2));
12653 if (SWIG_arg_fail(3)) SWIG_fail;
12654 }
d55e5bfc
RD
12655 {
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 (arg1)->SetRange(arg2,arg3);
12658
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
f20a2e1f
RD
12662 Py_INCREF(Py_None); resultobj = Py_None;
12663 return resultobj;
12664 fail:
12665 return NULL;
12666}
12667
12668
c370783e 12669static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
12670 PyObject *resultobj;
12671 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12672 bool result;
12673 PyObject * obj0 = 0 ;
12674 char *kwnames[] = {
12675 (char *) "self", NULL
12676 };
12677
12678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
12679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail;
f20a2e1f
RD
12681 {
12682 PyThreadState* __tstate = wxPyBeginAllowThreads();
12683 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12684
12685 wxPyEndAllowThreads(__tstate);
12686 if (PyErr_Occurred()) SWIG_fail;
12687 }
12688 {
12689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12690 }
d55e5bfc
RD
12691 return resultobj;
12692 fail:
12693 return NULL;
12694}
12695
12696
c370783e 12697static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12698 PyObject *resultobj;
36ed4f51 12699 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f 12700 wxVisualAttributes result;
d55e5bfc
RD
12701 PyObject * obj0 = 0 ;
12702 char *kwnames[] = {
f20a2e1f 12703 (char *) "variant", NULL
d55e5bfc
RD
12704 };
12705
f20a2e1f
RD
12706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12707 if (obj0) {
36ed4f51
RD
12708 {
12709 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12710 if (SWIG_arg_fail(1)) SWIG_fail;
12711 }
f20a2e1f 12712 }
d55e5bfc 12713 {
0439c23b 12714 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
f20a2e1f 12716 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d55e5bfc
RD
12717
12718 wxPyEndAllowThreads(__tstate);
110da5b0 12719 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12720 }
12721 {
f20a2e1f 12722 wxVisualAttributes * resultptr;
36ed4f51 12723 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f 12724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
12725 }
12726 return resultobj;
12727 fail:
12728 return NULL;
12729}
12730
12731
c370783e 12732static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12733 PyObject *obj;
12734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12735 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12736 Py_INCREF(obj);
12737 return Py_BuildValue((char *)"");
12738}
c370783e 12739static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12740 PyObject *resultobj;
12741 wxWindow *arg1 = (wxWindow *) 0 ;
12742 int arg2 = (int) -1 ;
12743 wxString const &arg3_defvalue = wxPyEmptyString ;
12744 wxString *arg3 = (wxString *) &arg3_defvalue ;
12745 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12746 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12747 wxSize const &arg5_defvalue = wxDefaultSize ;
12748 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12749 long arg6 = (long) wxSP_ARROW_KEYS ;
12750 int arg7 = (int) 0 ;
12751 int arg8 = (int) 100 ;
12752 int arg9 = (int) 0 ;
12753 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12754 wxString *arg10 = (wxString *) &arg10_defvalue ;
12755 wxSpinCtrl *result;
b411df4a 12756 bool temp3 = false ;
d55e5bfc
RD
12757 wxPoint temp4 ;
12758 wxSize temp5 ;
b411df4a 12759 bool temp10 = false ;
d55e5bfc
RD
12760 PyObject * obj0 = 0 ;
12761 PyObject * obj1 = 0 ;
12762 PyObject * obj2 = 0 ;
12763 PyObject * obj3 = 0 ;
12764 PyObject * obj4 = 0 ;
12765 PyObject * obj5 = 0 ;
12766 PyObject * obj6 = 0 ;
12767 PyObject * obj7 = 0 ;
12768 PyObject * obj8 = 0 ;
12769 PyObject * obj9 = 0 ;
12770 char *kwnames[] = {
12771 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12772 };
12773
12774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
12775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12776 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12777 if (obj1) {
36ed4f51
RD
12778 {
12779 arg2 = (int)(SWIG_As_int(obj1));
12780 if (SWIG_arg_fail(2)) SWIG_fail;
12781 }
d55e5bfc
RD
12782 }
12783 if (obj2) {
12784 {
12785 arg3 = wxString_in_helper(obj2);
12786 if (arg3 == NULL) SWIG_fail;
b411df4a 12787 temp3 = true;
d55e5bfc
RD
12788 }
12789 }
12790 if (obj3) {
12791 {
12792 arg4 = &temp4;
12793 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12794 }
12795 }
12796 if (obj4) {
12797 {
12798 arg5 = &temp5;
12799 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12800 }
12801 }
12802 if (obj5) {
36ed4f51
RD
12803 {
12804 arg6 = (long)(SWIG_As_long(obj5));
12805 if (SWIG_arg_fail(6)) SWIG_fail;
12806 }
d55e5bfc
RD
12807 }
12808 if (obj6) {
36ed4f51
RD
12809 {
12810 arg7 = (int)(SWIG_As_int(obj6));
12811 if (SWIG_arg_fail(7)) SWIG_fail;
12812 }
d55e5bfc
RD
12813 }
12814 if (obj7) {
36ed4f51
RD
12815 {
12816 arg8 = (int)(SWIG_As_int(obj7));
12817 if (SWIG_arg_fail(8)) SWIG_fail;
12818 }
d55e5bfc
RD
12819 }
12820 if (obj8) {
36ed4f51
RD
12821 {
12822 arg9 = (int)(SWIG_As_int(obj8));
12823 if (SWIG_arg_fail(9)) SWIG_fail;
12824 }
d55e5bfc
RD
12825 }
12826 if (obj9) {
12827 {
12828 arg10 = wxString_in_helper(obj9);
12829 if (arg10 == NULL) SWIG_fail;
b411df4a 12830 temp10 = true;
d55e5bfc
RD
12831 }
12832 }
12833 {
0439c23b 12834 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12837
12838 wxPyEndAllowThreads(__tstate);
110da5b0 12839 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12840 }
12841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12842 {
12843 if (temp3)
12844 delete arg3;
12845 }
12846 {
12847 if (temp10)
12848 delete arg10;
12849 }
12850 return resultobj;
12851 fail:
12852 {
12853 if (temp3)
12854 delete arg3;
12855 }
12856 {
12857 if (temp10)
12858 delete arg10;
12859 }
12860 return NULL;
12861}
12862
12863
c370783e 12864static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12865 PyObject *resultobj;
12866 wxSpinCtrl *result;
12867 char *kwnames[] = {
12868 NULL
12869 };
12870
12871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12872 {
0439c23b 12873 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12874 PyThreadState* __tstate = wxPyBeginAllowThreads();
12875 result = (wxSpinCtrl *)new wxSpinCtrl();
12876
12877 wxPyEndAllowThreads(__tstate);
110da5b0 12878 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12879 }
12880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12881 return resultobj;
12882 fail:
12883 return NULL;
12884}
12885
12886
c370783e 12887static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12888 PyObject *resultobj;
12889 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12890 wxWindow *arg2 = (wxWindow *) 0 ;
12891 int arg3 = (int) -1 ;
12892 wxString const &arg4_defvalue = wxPyEmptyString ;
12893 wxString *arg4 = (wxString *) &arg4_defvalue ;
12894 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12895 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12896 wxSize const &arg6_defvalue = wxDefaultSize ;
12897 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12898 long arg7 = (long) wxSP_ARROW_KEYS ;
12899 int arg8 = (int) 0 ;
12900 int arg9 = (int) 100 ;
12901 int arg10 = (int) 0 ;
12902 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
12903 wxString *arg11 = (wxString *) &arg11_defvalue ;
12904 bool result;
b411df4a 12905 bool temp4 = false ;
d55e5bfc
RD
12906 wxPoint temp5 ;
12907 wxSize temp6 ;
b411df4a 12908 bool temp11 = false ;
d55e5bfc
RD
12909 PyObject * obj0 = 0 ;
12910 PyObject * obj1 = 0 ;
12911 PyObject * obj2 = 0 ;
12912 PyObject * obj3 = 0 ;
12913 PyObject * obj4 = 0 ;
12914 PyObject * obj5 = 0 ;
12915 PyObject * obj6 = 0 ;
12916 PyObject * obj7 = 0 ;
12917 PyObject * obj8 = 0 ;
12918 PyObject * obj9 = 0 ;
12919 PyObject * obj10 = 0 ;
12920 char *kwnames[] = {
12921 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12922 };
12923
12924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
36ed4f51
RD
12925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
12926 if (SWIG_arg_fail(1)) SWIG_fail;
12927 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12928 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12929 if (obj2) {
36ed4f51
RD
12930 {
12931 arg3 = (int)(SWIG_As_int(obj2));
12932 if (SWIG_arg_fail(3)) SWIG_fail;
12933 }
d55e5bfc
RD
12934 }
12935 if (obj3) {
12936 {
12937 arg4 = wxString_in_helper(obj3);
12938 if (arg4 == NULL) SWIG_fail;
b411df4a 12939 temp4 = true;
d55e5bfc
RD
12940 }
12941 }
12942 if (obj4) {
12943 {
12944 arg5 = &temp5;
12945 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12946 }
12947 }
12948 if (obj5) {
12949 {
12950 arg6 = &temp6;
12951 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12952 }
12953 }
12954 if (obj6) {
36ed4f51
RD
12955 {
12956 arg7 = (long)(SWIG_As_long(obj6));
12957 if (SWIG_arg_fail(7)) SWIG_fail;
12958 }
d55e5bfc
RD
12959 }
12960 if (obj7) {
36ed4f51
RD
12961 {
12962 arg8 = (int)(SWIG_As_int(obj7));
12963 if (SWIG_arg_fail(8)) SWIG_fail;
12964 }
d55e5bfc
RD
12965 }
12966 if (obj8) {
36ed4f51
RD
12967 {
12968 arg9 = (int)(SWIG_As_int(obj8));
12969 if (SWIG_arg_fail(9)) SWIG_fail;
12970 }
d55e5bfc
RD
12971 }
12972 if (obj9) {
36ed4f51
RD
12973 {
12974 arg10 = (int)(SWIG_As_int(obj9));
12975 if (SWIG_arg_fail(10)) SWIG_fail;
12976 }
d55e5bfc
RD
12977 }
12978 if (obj10) {
12979 {
12980 arg11 = wxString_in_helper(obj10);
12981 if (arg11 == NULL) SWIG_fail;
b411df4a 12982 temp11 = true;
d55e5bfc
RD
12983 }
12984 }
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 {
12993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12994 }
12995 {
12996 if (temp4)
12997 delete arg4;
12998 }
12999 {
13000 if (temp11)
13001 delete arg11;
13002 }
13003 return resultobj;
13004 fail:
13005 {
13006 if (temp4)
13007 delete arg4;
13008 }
13009 {
13010 if (temp11)
13011 delete arg11;
13012 }
13013 return NULL;
13014}
13015
13016
c370783e 13017static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13018 PyObject *resultobj;
13019 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13020 int result;
13021 PyObject * obj0 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
13027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13029 {
13030 PyThreadState* __tstate = wxPyBeginAllowThreads();
13031 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13032
13033 wxPyEndAllowThreads(__tstate);
13034 if (PyErr_Occurred()) SWIG_fail;
13035 }
36ed4f51
RD
13036 {
13037 resultobj = SWIG_From_int((int)(result));
13038 }
d55e5bfc
RD
13039 return resultobj;
13040 fail:
13041 return NULL;
13042}
13043
13044
c370783e 13045static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13046 PyObject *resultobj;
13047 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13048 int arg2 ;
13049 PyObject * obj0 = 0 ;
13050 PyObject * obj1 = 0 ;
13051 char *kwnames[] = {
13052 (char *) "self",(char *) "value", NULL
13053 };
13054
13055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13057 if (SWIG_arg_fail(1)) SWIG_fail;
13058 {
13059 arg2 = (int)(SWIG_As_int(obj1));
13060 if (SWIG_arg_fail(2)) SWIG_fail;
13061 }
d55e5bfc
RD
13062 {
13063 PyThreadState* __tstate = wxPyBeginAllowThreads();
13064 (arg1)->SetValue(arg2);
13065
13066 wxPyEndAllowThreads(__tstate);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 }
13069 Py_INCREF(Py_None); resultobj = Py_None;
13070 return resultobj;
13071 fail:
13072 return NULL;
13073}
13074
13075
c370783e 13076static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13077 PyObject *resultobj;
13078 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13079 wxString *arg2 = 0 ;
b411df4a 13080 bool temp2 = false ;
d55e5bfc
RD
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self",(char *) "text", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13089 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13090 {
13091 arg2 = wxString_in_helper(obj1);
13092 if (arg2 == NULL) SWIG_fail;
b411df4a 13093 temp2 = true;
d55e5bfc
RD
13094 }
13095 {
13096 PyThreadState* __tstate = wxPyBeginAllowThreads();
13097 (arg1)->SetValue((wxString const &)*arg2);
13098
13099 wxPyEndAllowThreads(__tstate);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
13102 Py_INCREF(Py_None); resultobj = Py_None;
13103 {
13104 if (temp2)
13105 delete arg2;
13106 }
13107 return resultobj;
13108 fail:
13109 {
13110 if (temp2)
13111 delete arg2;
13112 }
13113 return NULL;
13114}
13115
13116
c370783e 13117static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13118 PyObject *resultobj;
13119 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13120 int arg2 ;
13121 int arg3 ;
13122 PyObject * obj0 = 0 ;
13123 PyObject * obj1 = 0 ;
13124 PyObject * obj2 = 0 ;
13125 char *kwnames[] = {
13126 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13127 };
13128
13129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13131 if (SWIG_arg_fail(1)) SWIG_fail;
13132 {
13133 arg2 = (int)(SWIG_As_int(obj1));
13134 if (SWIG_arg_fail(2)) SWIG_fail;
13135 }
13136 {
13137 arg3 = (int)(SWIG_As_int(obj2));
13138 if (SWIG_arg_fail(3)) SWIG_fail;
13139 }
d55e5bfc
RD
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 (arg1)->SetRange(arg2,arg3);
13143
13144 wxPyEndAllowThreads(__tstate);
13145 if (PyErr_Occurred()) SWIG_fail;
13146 }
13147 Py_INCREF(Py_None); resultobj = Py_None;
13148 return resultobj;
13149 fail:
13150 return NULL;
13151}
13152
13153
c370783e 13154static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13155 PyObject *resultobj;
13156 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13157 int result;
13158 PyObject * obj0 = 0 ;
13159 char *kwnames[] = {
13160 (char *) "self", NULL
13161 };
13162
13163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
13164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13165 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13166 {
13167 PyThreadState* __tstate = wxPyBeginAllowThreads();
13168 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13169
13170 wxPyEndAllowThreads(__tstate);
13171 if (PyErr_Occurred()) SWIG_fail;
13172 }
36ed4f51
RD
13173 {
13174 resultobj = SWIG_From_int((int)(result));
13175 }
d55e5bfc
RD
13176 return resultobj;
13177 fail:
13178 return NULL;
13179}
13180
13181
c370783e 13182static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13183 PyObject *resultobj;
13184 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13185 int result;
13186 PyObject * obj0 = 0 ;
13187 char *kwnames[] = {
13188 (char *) "self", NULL
13189 };
13190
13191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
13192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13193 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13197
13198 wxPyEndAllowThreads(__tstate);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
36ed4f51
RD
13201 {
13202 resultobj = SWIG_From_int((int)(result));
13203 }
d55e5bfc
RD
13204 return resultobj;
13205 fail:
13206 return NULL;
13207}
13208
13209
c370783e 13210static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13211 PyObject *resultobj;
13212 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13213 long arg2 ;
13214 long arg3 ;
13215 PyObject * obj0 = 0 ;
13216 PyObject * obj1 = 0 ;
13217 PyObject * obj2 = 0 ;
13218 char *kwnames[] = {
13219 (char *) "self",(char *) "from",(char *) "to", NULL
13220 };
13221
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13224 if (SWIG_arg_fail(1)) SWIG_fail;
13225 {
13226 arg2 = (long)(SWIG_As_long(obj1));
13227 if (SWIG_arg_fail(2)) SWIG_fail;
13228 }
13229 {
13230 arg3 = (long)(SWIG_As_long(obj2));
13231 if (SWIG_arg_fail(3)) SWIG_fail;
13232 }
d55e5bfc
RD
13233 {
13234 PyThreadState* __tstate = wxPyBeginAllowThreads();
13235 (arg1)->SetSelection(arg2,arg3);
13236
13237 wxPyEndAllowThreads(__tstate);
13238 if (PyErr_Occurred()) SWIG_fail;
13239 }
13240 Py_INCREF(Py_None); resultobj = Py_None;
13241 return resultobj;
13242 fail:
13243 return NULL;
13244}
13245
13246
c370783e 13247static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 13248 PyObject *resultobj;
36ed4f51 13249 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
13250 wxVisualAttributes result;
13251 PyObject * obj0 = 0 ;
13252 char *kwnames[] = {
13253 (char *) "variant", NULL
13254 };
13255
13256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13257 if (obj0) {
36ed4f51
RD
13258 {
13259 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13260 if (SWIG_arg_fail(1)) SWIG_fail;
13261 }
f20a2e1f
RD
13262 }
13263 {
0439c23b 13264 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13267
13268 wxPyEndAllowThreads(__tstate);
110da5b0 13269 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13270 }
13271 {
13272 wxVisualAttributes * resultptr;
36ed4f51 13273 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
13274 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13275 }
13276 return resultobj;
13277 fail:
13278 return NULL;
13279}
13280
13281
c370783e 13282static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13283 PyObject *obj;
13284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13285 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13286 Py_INCREF(obj);
13287 return Py_BuildValue((char *)"");
13288}
c370783e 13289static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13290 PyObject *resultobj;
13291 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13292 int arg2 = (int) 0 ;
13293 wxSpinEvent *result;
13294 PyObject * obj0 = 0 ;
13295 PyObject * obj1 = 0 ;
13296 char *kwnames[] = {
13297 (char *) "commandType",(char *) "winid", NULL
13298 };
13299
13300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13301 if (obj0) {
36ed4f51
RD
13302 {
13303 arg1 = (wxEventType)(SWIG_As_int(obj0));
13304 if (SWIG_arg_fail(1)) SWIG_fail;
13305 }
d55e5bfc
RD
13306 }
13307 if (obj1) {
36ed4f51
RD
13308 {
13309 arg2 = (int)(SWIG_As_int(obj1));
13310 if (SWIG_arg_fail(2)) SWIG_fail;
13311 }
d55e5bfc
RD
13312 }
13313 {
13314 PyThreadState* __tstate = wxPyBeginAllowThreads();
13315 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13316
13317 wxPyEndAllowThreads(__tstate);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
13320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13321 return resultobj;
13322 fail:
13323 return NULL;
13324}
13325
13326
c370783e 13327static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13328 PyObject *resultobj;
13329 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13330 int result;
13331 PyObject * obj0 = 0 ;
13332 char *kwnames[] = {
13333 (char *) "self", NULL
13334 };
13335
13336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
13337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13338 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
36ed4f51
RD
13346 {
13347 resultobj = SWIG_From_int((int)(result));
13348 }
d55e5bfc
RD
13349 return resultobj;
13350 fail:
13351 return NULL;
13352}
13353
13354
c370783e 13355static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13356 PyObject *resultobj;
13357 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13358 int arg2 ;
13359 PyObject * obj0 = 0 ;
13360 PyObject * obj1 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "self",(char *) "pos", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13367 if (SWIG_arg_fail(1)) SWIG_fail;
13368 {
13369 arg2 = (int)(SWIG_As_int(obj1));
13370 if (SWIG_arg_fail(2)) SWIG_fail;
13371 }
d55e5bfc
RD
13372 {
13373 PyThreadState* __tstate = wxPyBeginAllowThreads();
13374 (arg1)->SetPosition(arg2);
13375
13376 wxPyEndAllowThreads(__tstate);
13377 if (PyErr_Occurred()) SWIG_fail;
13378 }
13379 Py_INCREF(Py_None); resultobj = Py_None;
13380 return resultobj;
13381 fail:
13382 return NULL;
13383}
13384
13385
c370783e 13386static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13387 PyObject *obj;
13388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13389 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13390 Py_INCREF(obj);
13391 return Py_BuildValue((char *)"");
13392}
c370783e 13393static int _wrap_RadioBoxNameStr_set(PyObject *) {
d55e5bfc
RD
13394 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13395 return 1;
13396}
13397
13398
36ed4f51 13399static PyObject *_wrap_RadioBoxNameStr_get(void) {
d55e5bfc
RD
13400 PyObject *pyobj;
13401
13402 {
13403#if wxUSE_UNICODE
13404 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13405#else
13406 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13407#endif
13408 }
13409 return pyobj;
13410}
13411
13412
c370783e 13413static int _wrap_RadioButtonNameStr_set(PyObject *) {
d55e5bfc
RD
13414 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13415 return 1;
13416}
13417
13418
36ed4f51 13419static PyObject *_wrap_RadioButtonNameStr_get(void) {
d55e5bfc
RD
13420 PyObject *pyobj;
13421
13422 {
13423#if wxUSE_UNICODE
13424 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13425#else
13426 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13427#endif
13428 }
13429 return pyobj;
13430}
13431
13432
c370783e 13433static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13434 PyObject *resultobj;
13435 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
13436 int arg2 = (int) -1 ;
13437 wxString const &arg3_defvalue = wxPyEmptyString ;
13438 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13439 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13440 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13441 wxSize const &arg5_defvalue = wxDefaultSize ;
13442 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13443 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13444 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13445 int arg7 = (int) 0 ;
13446 long arg8 = (long) wxRA_HORIZONTAL ;
13447 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13448 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13449 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13450 wxString *arg10 = (wxString *) &arg10_defvalue ;
13451 wxRadioBox *result;
b411df4a 13452 bool temp3 = false ;
d55e5bfc
RD
13453 wxPoint temp4 ;
13454 wxSize temp5 ;
b411df4a
RD
13455 bool temp6 = false ;
13456 bool temp10 = false ;
d55e5bfc
RD
13457 PyObject * obj0 = 0 ;
13458 PyObject * obj1 = 0 ;
13459 PyObject * obj2 = 0 ;
13460 PyObject * obj3 = 0 ;
13461 PyObject * obj4 = 0 ;
13462 PyObject * obj5 = 0 ;
13463 PyObject * obj6 = 0 ;
13464 PyObject * obj7 = 0 ;
13465 PyObject * obj8 = 0 ;
13466 PyObject * obj9 = 0 ;
13467 char *kwnames[] = {
13468 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13469 };
13470
bfddbb17 13471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
13472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13473 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 13474 if (obj1) {
36ed4f51
RD
13475 {
13476 arg2 = (int)(SWIG_As_int(obj1));
13477 if (SWIG_arg_fail(2)) SWIG_fail;
13478 }
bfddbb17
RD
13479 }
13480 if (obj2) {
13481 {
13482 arg3 = wxString_in_helper(obj2);
13483 if (arg3 == NULL) SWIG_fail;
b411df4a 13484 temp3 = true;
bfddbb17 13485 }
d55e5bfc
RD
13486 }
13487 if (obj3) {
13488 {
13489 arg4 = &temp4;
13490 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13491 }
13492 }
13493 if (obj4) {
13494 {
13495 arg5 = &temp5;
13496 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13497 }
13498 }
13499 if (obj5) {
13500 {
13501 if (! PySequence_Check(obj5)) {
13502 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13503 SWIG_fail;
13504 }
13505 arg6 = new wxArrayString;
b411df4a 13506 temp6 = true;
d55e5bfc
RD
13507 int i, len=PySequence_Length(obj5);
13508 for (i=0; i<len; i++) {
13509 PyObject* item = PySequence_GetItem(obj5, i);
13510#if wxUSE_UNICODE
13511 PyObject* str = PyObject_Unicode(item);
13512#else
13513 PyObject* str = PyObject_Str(item);
13514#endif
13515 if (PyErr_Occurred()) SWIG_fail;
13516 arg6->Add(Py2wxString(str));
13517 Py_DECREF(item);
13518 Py_DECREF(str);
13519 }
13520 }
13521 }
13522 if (obj6) {
36ed4f51
RD
13523 {
13524 arg7 = (int)(SWIG_As_int(obj6));
13525 if (SWIG_arg_fail(7)) SWIG_fail;
13526 }
d55e5bfc
RD
13527 }
13528 if (obj7) {
36ed4f51
RD
13529 {
13530 arg8 = (long)(SWIG_As_long(obj7));
13531 if (SWIG_arg_fail(8)) SWIG_fail;
13532 }
d55e5bfc
RD
13533 }
13534 if (obj8) {
36ed4f51
RD
13535 {
13536 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13537 if (SWIG_arg_fail(9)) SWIG_fail;
13538 if (arg9 == NULL) {
13539 SWIG_null_ref("wxValidator");
13540 }
13541 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
13542 }
13543 }
13544 if (obj9) {
13545 {
13546 arg10 = wxString_in_helper(obj9);
13547 if (arg10 == NULL) SWIG_fail;
b411df4a 13548 temp10 = true;
d55e5bfc
RD
13549 }
13550 }
13551 {
0439c23b 13552 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 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);
13555
13556 wxPyEndAllowThreads(__tstate);
110da5b0 13557 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13558 }
13559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13560 {
13561 if (temp3)
13562 delete arg3;
13563 }
13564 {
13565 if (temp6) delete arg6;
13566 }
13567 {
13568 if (temp10)
13569 delete arg10;
13570 }
13571 return resultobj;
13572 fail:
13573 {
13574 if (temp3)
13575 delete arg3;
13576 }
13577 {
13578 if (temp6) delete arg6;
13579 }
13580 {
13581 if (temp10)
13582 delete arg10;
13583 }
13584 return NULL;
13585}
13586
13587
c370783e 13588static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13589 PyObject *resultobj;
13590 wxRadioBox *result;
13591 char *kwnames[] = {
13592 NULL
13593 };
13594
13595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13596 {
0439c23b 13597 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13598 PyThreadState* __tstate = wxPyBeginAllowThreads();
13599 result = (wxRadioBox *)new wxRadioBox();
13600
13601 wxPyEndAllowThreads(__tstate);
110da5b0 13602 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13603 }
13604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13605 return resultobj;
13606 fail:
13607 return NULL;
13608}
13609
13610
c370783e 13611static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13612 PyObject *resultobj;
13613 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13614 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
13615 int arg3 = (int) -1 ;
13616 wxString const &arg4_defvalue = wxPyEmptyString ;
13617 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
13618 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13619 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13620 wxSize const &arg6_defvalue = wxDefaultSize ;
13621 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13622 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13623 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13624 int arg8 = (int) 0 ;
13625 long arg9 = (long) wxRA_HORIZONTAL ;
13626 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13627 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13628 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13629 wxString *arg11 = (wxString *) &arg11_defvalue ;
13630 bool result;
b411df4a 13631 bool temp4 = false ;
d55e5bfc
RD
13632 wxPoint temp5 ;
13633 wxSize temp6 ;
b411df4a
RD
13634 bool temp7 = false ;
13635 bool temp11 = false ;
d55e5bfc
RD
13636 PyObject * obj0 = 0 ;
13637 PyObject * obj1 = 0 ;
13638 PyObject * obj2 = 0 ;
13639 PyObject * obj3 = 0 ;
13640 PyObject * obj4 = 0 ;
13641 PyObject * obj5 = 0 ;
13642 PyObject * obj6 = 0 ;
13643 PyObject * obj7 = 0 ;
13644 PyObject * obj8 = 0 ;
13645 PyObject * obj9 = 0 ;
13646 PyObject * obj10 = 0 ;
13647 char *kwnames[] = {
13648 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13649 };
13650
bfddbb17 13651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
36ed4f51
RD
13652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13653 if (SWIG_arg_fail(1)) SWIG_fail;
13654 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13655 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 13656 if (obj2) {
36ed4f51
RD
13657 {
13658 arg3 = (int)(SWIG_As_int(obj2));
13659 if (SWIG_arg_fail(3)) SWIG_fail;
13660 }
bfddbb17
RD
13661 }
13662 if (obj3) {
13663 {
13664 arg4 = wxString_in_helper(obj3);
13665 if (arg4 == NULL) SWIG_fail;
b411df4a 13666 temp4 = true;
bfddbb17 13667 }
d55e5bfc
RD
13668 }
13669 if (obj4) {
13670 {
13671 arg5 = &temp5;
13672 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13673 }
13674 }
13675 if (obj5) {
13676 {
13677 arg6 = &temp6;
13678 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13679 }
13680 }
13681 if (obj6) {
13682 {
13683 if (! PySequence_Check(obj6)) {
13684 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13685 SWIG_fail;
13686 }
13687 arg7 = new wxArrayString;
b411df4a 13688 temp7 = true;
d55e5bfc
RD
13689 int i, len=PySequence_Length(obj6);
13690 for (i=0; i<len; i++) {
13691 PyObject* item = PySequence_GetItem(obj6, i);
13692#if wxUSE_UNICODE
13693 PyObject* str = PyObject_Unicode(item);
13694#else
13695 PyObject* str = PyObject_Str(item);
13696#endif
13697 if (PyErr_Occurred()) SWIG_fail;
13698 arg7->Add(Py2wxString(str));
13699 Py_DECREF(item);
13700 Py_DECREF(str);
13701 }
13702 }
13703 }
13704 if (obj7) {
36ed4f51
RD
13705 {
13706 arg8 = (int)(SWIG_As_int(obj7));
13707 if (SWIG_arg_fail(8)) SWIG_fail;
13708 }
d55e5bfc
RD
13709 }
13710 if (obj8) {
36ed4f51
RD
13711 {
13712 arg9 = (long)(SWIG_As_long(obj8));
13713 if (SWIG_arg_fail(9)) SWIG_fail;
13714 }
d55e5bfc
RD
13715 }
13716 if (obj9) {
36ed4f51
RD
13717 {
13718 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13719 if (SWIG_arg_fail(10)) SWIG_fail;
13720 if (arg10 == NULL) {
13721 SWIG_null_ref("wxValidator");
13722 }
13723 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
13724 }
13725 }
13726 if (obj10) {
13727 {
13728 arg11 = wxString_in_helper(obj10);
13729 if (arg11 == NULL) SWIG_fail;
b411df4a 13730 temp11 = true;
d55e5bfc
RD
13731 }
13732 }
13733 {
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 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);
13736
13737 wxPyEndAllowThreads(__tstate);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
13740 {
13741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13742 }
13743 {
13744 if (temp4)
13745 delete arg4;
13746 }
13747 {
13748 if (temp7) delete arg7;
13749 }
13750 {
13751 if (temp11)
13752 delete arg11;
13753 }
13754 return resultobj;
13755 fail:
13756 {
13757 if (temp4)
13758 delete arg4;
13759 }
13760 {
13761 if (temp7) delete arg7;
13762 }
13763 {
13764 if (temp11)
13765 delete arg11;
13766 }
13767 return NULL;
13768}
13769
13770
c370783e 13771static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13772 PyObject *resultobj;
13773 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13774 int arg2 ;
13775 PyObject * obj0 = 0 ;
13776 PyObject * obj1 = 0 ;
13777 char *kwnames[] = {
13778 (char *) "self",(char *) "n", NULL
13779 };
13780
13781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13783 if (SWIG_arg_fail(1)) SWIG_fail;
13784 {
13785 arg2 = (int)(SWIG_As_int(obj1));
13786 if (SWIG_arg_fail(2)) SWIG_fail;
13787 }
d55e5bfc
RD
13788 {
13789 PyThreadState* __tstate = wxPyBeginAllowThreads();
13790 (arg1)->SetSelection(arg2);
13791
13792 wxPyEndAllowThreads(__tstate);
13793 if (PyErr_Occurred()) SWIG_fail;
13794 }
13795 Py_INCREF(Py_None); resultobj = Py_None;
13796 return resultobj;
13797 fail:
13798 return NULL;
13799}
13800
13801
c370783e 13802static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13803 PyObject *resultobj;
13804 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13805 int result;
13806 PyObject * obj0 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "self", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
13812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13813 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13814 {
13815 PyThreadState* __tstate = wxPyBeginAllowThreads();
13816 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13817
13818 wxPyEndAllowThreads(__tstate);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
36ed4f51
RD
13821 {
13822 resultobj = SWIG_From_int((int)(result));
13823 }
d55e5bfc
RD
13824 return resultobj;
13825 fail:
13826 return NULL;
13827}
13828
13829
c370783e 13830static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13831 PyObject *resultobj;
13832 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13833 wxString result;
13834 PyObject * obj0 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "self", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
13840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13842 {
13843 PyThreadState* __tstate = wxPyBeginAllowThreads();
13844 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13845
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 {
13850#if wxUSE_UNICODE
13851 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13852#else
13853 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13854#endif
13855 }
13856 return resultobj;
13857 fail:
13858 return NULL;
13859}
13860
13861
c370783e 13862static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13863 PyObject *resultobj;
13864 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13865 wxString *arg2 = 0 ;
13866 bool result;
b411df4a 13867 bool temp2 = false ;
d55e5bfc
RD
13868 PyObject * obj0 = 0 ;
13869 PyObject * obj1 = 0 ;
13870 char *kwnames[] = {
13871 (char *) "self",(char *) "s", NULL
13872 };
13873
13874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13876 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13877 {
13878 arg2 = wxString_in_helper(obj1);
13879 if (arg2 == NULL) SWIG_fail;
b411df4a 13880 temp2 = true;
d55e5bfc
RD
13881 }
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13885
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 {
13890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13891 }
13892 {
13893 if (temp2)
13894 delete arg2;
13895 }
13896 return resultobj;
13897 fail:
13898 {
13899 if (temp2)
13900 delete arg2;
13901 }
13902 return NULL;
13903}
13904
13905
c370783e 13906static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13907 PyObject *resultobj;
13908 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13909 int result;
13910 PyObject * obj0 = 0 ;
13911 char *kwnames[] = {
13912 (char *) "self", NULL
13913 };
13914
13915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
13916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13917 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 result = (int)((wxRadioBox const *)arg1)->GetCount();
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
36ed4f51
RD
13925 {
13926 resultobj = SWIG_From_int((int)(result));
13927 }
d55e5bfc
RD
13928 return resultobj;
13929 fail:
13930 return NULL;
13931}
13932
13933
c370783e 13934static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13935 PyObject *resultobj;
13936 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13937 wxString *arg2 = 0 ;
13938 int result;
b411df4a 13939 bool temp2 = false ;
d55e5bfc
RD
13940 PyObject * obj0 = 0 ;
13941 PyObject * obj1 = 0 ;
13942 char *kwnames[] = {
13943 (char *) "self",(char *) "s", NULL
13944 };
13945
13946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13948 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13949 {
13950 arg2 = wxString_in_helper(obj1);
13951 if (arg2 == NULL) SWIG_fail;
b411df4a 13952 temp2 = true;
d55e5bfc
RD
13953 }
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
36ed4f51
RD
13961 {
13962 resultobj = SWIG_From_int((int)(result));
13963 }
d55e5bfc
RD
13964 {
13965 if (temp2)
13966 delete arg2;
13967 }
13968 return resultobj;
13969 fail:
13970 {
13971 if (temp2)
13972 delete arg2;
13973 }
13974 return NULL;
13975}
13976
13977
c370783e 13978static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13979 PyObject *resultobj;
13980 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13981 int arg2 ;
13982 wxString result;
13983 PyObject * obj0 = 0 ;
13984 PyObject * obj1 = 0 ;
13985 char *kwnames[] = {
13986 (char *) "self",(char *) "n", NULL
13987 };
13988
13989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13991 if (SWIG_arg_fail(1)) SWIG_fail;
13992 {
13993 arg2 = (int)(SWIG_As_int(obj1));
13994 if (SWIG_arg_fail(2)) SWIG_fail;
13995 }
d55e5bfc
RD
13996 {
13997 PyThreadState* __tstate = wxPyBeginAllowThreads();
13998 result = ((wxRadioBox const *)arg1)->GetString(arg2);
13999
14000 wxPyEndAllowThreads(__tstate);
14001 if (PyErr_Occurred()) SWIG_fail;
14002 }
14003 {
14004#if wxUSE_UNICODE
14005 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14006#else
14007 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14008#endif
14009 }
14010 return resultobj;
14011 fail:
14012 return NULL;
14013}
14014
14015
c370783e 14016static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14017 PyObject *resultobj;
14018 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14019 int arg2 ;
14020 wxString *arg3 = 0 ;
b411df4a 14021 bool temp3 = false ;
d55e5bfc
RD
14022 PyObject * obj0 = 0 ;
14023 PyObject * obj1 = 0 ;
14024 PyObject * obj2 = 0 ;
14025 char *kwnames[] = {
14026 (char *) "self",(char *) "n",(char *) "label", NULL
14027 };
14028
14029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14031 if (SWIG_arg_fail(1)) SWIG_fail;
14032 {
14033 arg2 = (int)(SWIG_As_int(obj1));
14034 if (SWIG_arg_fail(2)) SWIG_fail;
14035 }
d55e5bfc
RD
14036 {
14037 arg3 = wxString_in_helper(obj2);
14038 if (arg3 == NULL) SWIG_fail;
b411df4a 14039 temp3 = true;
d55e5bfc
RD
14040 }
14041 {
14042 PyThreadState* __tstate = wxPyBeginAllowThreads();
14043 (arg1)->SetString(arg2,(wxString const &)*arg3);
14044
14045 wxPyEndAllowThreads(__tstate);
14046 if (PyErr_Occurred()) SWIG_fail;
14047 }
14048 Py_INCREF(Py_None); resultobj = Py_None;
14049 {
14050 if (temp3)
14051 delete arg3;
14052 }
14053 return resultobj;
14054 fail:
14055 {
14056 if (temp3)
14057 delete arg3;
14058 }
14059 return NULL;
14060}
14061
14062
c370783e 14063static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14064 PyObject *resultobj;
14065 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14066 int arg2 ;
b411df4a 14067 bool arg3 = (bool) true ;
d55e5bfc
RD
14068 PyObject * obj0 = 0 ;
14069 PyObject * obj1 = 0 ;
14070 PyObject * obj2 = 0 ;
14071 char *kwnames[] = {
14072 (char *) "self",(char *) "n",(char *) "enable", NULL
14073 };
14074
14075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14077 if (SWIG_arg_fail(1)) SWIG_fail;
14078 {
14079 arg2 = (int)(SWIG_As_int(obj1));
14080 if (SWIG_arg_fail(2)) SWIG_fail;
14081 }
d55e5bfc 14082 if (obj2) {
36ed4f51
RD
14083 {
14084 arg3 = (bool)(SWIG_As_bool(obj2));
14085 if (SWIG_arg_fail(3)) SWIG_fail;
14086 }
d55e5bfc
RD
14087 }
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 (arg1)->Enable(arg2,arg3);
14091
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 Py_INCREF(Py_None); resultobj = Py_None;
14096 return resultobj;
14097 fail:
14098 return NULL;
14099}
14100
14101
c370783e 14102static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14103 PyObject *resultobj;
14104 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14105 int arg2 ;
b411df4a 14106 bool arg3 = (bool) true ;
d55e5bfc
RD
14107 PyObject * obj0 = 0 ;
14108 PyObject * obj1 = 0 ;
14109 PyObject * obj2 = 0 ;
14110 char *kwnames[] = {
14111 (char *) "self",(char *) "n",(char *) "show", NULL
14112 };
14113
14114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14116 if (SWIG_arg_fail(1)) SWIG_fail;
14117 {
14118 arg2 = (int)(SWIG_As_int(obj1));
14119 if (SWIG_arg_fail(2)) SWIG_fail;
14120 }
d55e5bfc 14121 if (obj2) {
36ed4f51
RD
14122 {
14123 arg3 = (bool)(SWIG_As_bool(obj2));
14124 if (SWIG_arg_fail(3)) SWIG_fail;
14125 }
d55e5bfc
RD
14126 }
14127 {
14128 PyThreadState* __tstate = wxPyBeginAllowThreads();
14129 (arg1)->Show(arg2,arg3);
14130
14131 wxPyEndAllowThreads(__tstate);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 }
14134 Py_INCREF(Py_None); resultobj = Py_None;
14135 return resultobj;
14136 fail:
14137 return NULL;
14138}
14139
14140
c370783e 14141static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14142 PyObject *resultobj;
14143 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14144 int result;
14145 PyObject * obj0 = 0 ;
14146 char *kwnames[] = {
14147 (char *) "self", NULL
14148 };
14149
14150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
14151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14153 {
14154 PyThreadState* __tstate = wxPyBeginAllowThreads();
14155 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14156
14157 wxPyEndAllowThreads(__tstate);
14158 if (PyErr_Occurred()) SWIG_fail;
14159 }
36ed4f51
RD
14160 {
14161 resultobj = SWIG_From_int((int)(result));
14162 }
d55e5bfc
RD
14163 return resultobj;
14164 fail:
14165 return NULL;
14166}
14167
14168
c370783e 14169static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14170 PyObject *resultobj;
14171 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14172 int result;
14173 PyObject * obj0 = 0 ;
14174 char *kwnames[] = {
14175 (char *) "self", NULL
14176 };
14177
14178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
14179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14180 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14181 {
14182 PyThreadState* __tstate = wxPyBeginAllowThreads();
14183 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14184
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
36ed4f51
RD
14188 {
14189 resultobj = SWIG_From_int((int)(result));
14190 }
d55e5bfc
RD
14191 return resultobj;
14192 fail:
14193 return NULL;
14194}
14195
14196
c370783e 14197static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14198 PyObject *resultobj;
14199 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14200 int arg2 ;
36ed4f51 14201 wxDirection arg3 ;
d55e5bfc
RD
14202 long arg4 ;
14203 int result;
14204 PyObject * obj0 = 0 ;
14205 PyObject * obj1 = 0 ;
14206 PyObject * obj2 = 0 ;
14207 PyObject * obj3 = 0 ;
14208 char *kwnames[] = {
14209 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14210 };
14211
14212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
14213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14214 if (SWIG_arg_fail(1)) SWIG_fail;
14215 {
14216 arg2 = (int)(SWIG_As_int(obj1));
14217 if (SWIG_arg_fail(2)) SWIG_fail;
14218 }
14219 {
14220 arg3 = (wxDirection)(SWIG_As_int(obj2));
14221 if (SWIG_arg_fail(3)) SWIG_fail;
14222 }
14223 {
14224 arg4 = (long)(SWIG_As_long(obj3));
14225 if (SWIG_arg_fail(4)) SWIG_fail;
14226 }
d55e5bfc
RD
14227 {
14228 PyThreadState* __tstate = wxPyBeginAllowThreads();
14229 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14230
14231 wxPyEndAllowThreads(__tstate);
14232 if (PyErr_Occurred()) SWIG_fail;
14233 }
36ed4f51
RD
14234 {
14235 resultobj = SWIG_From_int((int)(result));
14236 }
d55e5bfc
RD
14237 return resultobj;
14238 fail:
14239 return NULL;
14240}
14241
14242
c370783e 14243static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14244 PyObject *resultobj;
36ed4f51 14245 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14246 wxVisualAttributes result;
14247 PyObject * obj0 = 0 ;
14248 char *kwnames[] = {
14249 (char *) "variant", NULL
14250 };
14251
14252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14253 if (obj0) {
36ed4f51
RD
14254 {
14255 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14256 if (SWIG_arg_fail(1)) SWIG_fail;
14257 }
f20a2e1f
RD
14258 }
14259 {
0439c23b 14260 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14261 PyThreadState* __tstate = wxPyBeginAllowThreads();
14262 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14263
14264 wxPyEndAllowThreads(__tstate);
110da5b0 14265 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14266 }
14267 {
14268 wxVisualAttributes * resultptr;
36ed4f51 14269 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14270 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14271 }
14272 return resultobj;
14273 fail:
14274 return NULL;
14275}
14276
14277
c370783e 14278static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14279 PyObject *obj;
14280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14281 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14282 Py_INCREF(obj);
14283 return Py_BuildValue((char *)"");
14284}
c370783e 14285static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14286 PyObject *resultobj;
14287 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
14288 int arg2 = (int) -1 ;
14289 wxString const &arg3_defvalue = wxPyEmptyString ;
14290 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14291 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14292 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14293 wxSize const &arg5_defvalue = wxDefaultSize ;
14294 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14295 long arg6 = (long) 0 ;
14296 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14297 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14298 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14299 wxString *arg8 = (wxString *) &arg8_defvalue ;
14300 wxRadioButton *result;
b411df4a 14301 bool temp3 = false ;
d55e5bfc
RD
14302 wxPoint temp4 ;
14303 wxSize temp5 ;
b411df4a 14304 bool temp8 = false ;
d55e5bfc
RD
14305 PyObject * obj0 = 0 ;
14306 PyObject * obj1 = 0 ;
14307 PyObject * obj2 = 0 ;
14308 PyObject * obj3 = 0 ;
14309 PyObject * obj4 = 0 ;
14310 PyObject * obj5 = 0 ;
14311 PyObject * obj6 = 0 ;
14312 PyObject * obj7 = 0 ;
14313 char *kwnames[] = {
14314 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14315 };
14316
bfddbb17 14317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
14318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14319 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 14320 if (obj1) {
36ed4f51
RD
14321 {
14322 arg2 = (int)(SWIG_As_int(obj1));
14323 if (SWIG_arg_fail(2)) SWIG_fail;
14324 }
bfddbb17
RD
14325 }
14326 if (obj2) {
14327 {
14328 arg3 = wxString_in_helper(obj2);
14329 if (arg3 == NULL) SWIG_fail;
b411df4a 14330 temp3 = true;
bfddbb17 14331 }
d55e5bfc
RD
14332 }
14333 if (obj3) {
14334 {
14335 arg4 = &temp4;
14336 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14337 }
14338 }
14339 if (obj4) {
14340 {
14341 arg5 = &temp5;
14342 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14343 }
14344 }
14345 if (obj5) {
36ed4f51
RD
14346 {
14347 arg6 = (long)(SWIG_As_long(obj5));
14348 if (SWIG_arg_fail(6)) SWIG_fail;
14349 }
d55e5bfc
RD
14350 }
14351 if (obj6) {
36ed4f51
RD
14352 {
14353 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14354 if (SWIG_arg_fail(7)) SWIG_fail;
14355 if (arg7 == NULL) {
14356 SWIG_null_ref("wxValidator");
14357 }
14358 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
14359 }
14360 }
14361 if (obj7) {
14362 {
14363 arg8 = wxString_in_helper(obj7);
14364 if (arg8 == NULL) SWIG_fail;
b411df4a 14365 temp8 = true;
d55e5bfc
RD
14366 }
14367 }
14368 {
0439c23b 14369 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14372
14373 wxPyEndAllowThreads(__tstate);
110da5b0 14374 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14375 }
14376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14377 {
14378 if (temp3)
14379 delete arg3;
14380 }
14381 {
14382 if (temp8)
14383 delete arg8;
14384 }
14385 return resultobj;
14386 fail:
14387 {
14388 if (temp3)
14389 delete arg3;
14390 }
14391 {
14392 if (temp8)
14393 delete arg8;
14394 }
14395 return NULL;
14396}
14397
14398
c370783e 14399static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14400 PyObject *resultobj;
14401 wxRadioButton *result;
14402 char *kwnames[] = {
14403 NULL
14404 };
14405
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14407 {
0439c23b 14408 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14409 PyThreadState* __tstate = wxPyBeginAllowThreads();
14410 result = (wxRadioButton *)new wxRadioButton();
14411
14412 wxPyEndAllowThreads(__tstate);
110da5b0 14413 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14414 }
14415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14416 return resultobj;
14417 fail:
14418 return NULL;
14419}
14420
14421
c370783e 14422static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14423 PyObject *resultobj;
14424 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14425 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
14426 int arg3 = (int) -1 ;
14427 wxString const &arg4_defvalue = wxPyEmptyString ;
14428 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14429 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14430 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14431 wxSize const &arg6_defvalue = wxDefaultSize ;
14432 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14433 long arg7 = (long) 0 ;
14434 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14435 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14436 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14437 wxString *arg9 = (wxString *) &arg9_defvalue ;
14438 bool result;
b411df4a 14439 bool temp4 = false ;
d55e5bfc
RD
14440 wxPoint temp5 ;
14441 wxSize temp6 ;
b411df4a 14442 bool temp9 = false ;
d55e5bfc
RD
14443 PyObject * obj0 = 0 ;
14444 PyObject * obj1 = 0 ;
14445 PyObject * obj2 = 0 ;
14446 PyObject * obj3 = 0 ;
14447 PyObject * obj4 = 0 ;
14448 PyObject * obj5 = 0 ;
14449 PyObject * obj6 = 0 ;
14450 PyObject * obj7 = 0 ;
14451 PyObject * obj8 = 0 ;
14452 char *kwnames[] = {
14453 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14454 };
14455
bfddbb17 14456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
14457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14458 if (SWIG_arg_fail(1)) SWIG_fail;
14459 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14460 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 14461 if (obj2) {
36ed4f51
RD
14462 {
14463 arg3 = (int)(SWIG_As_int(obj2));
14464 if (SWIG_arg_fail(3)) SWIG_fail;
14465 }
bfddbb17
RD
14466 }
14467 if (obj3) {
14468 {
14469 arg4 = wxString_in_helper(obj3);
14470 if (arg4 == NULL) SWIG_fail;
b411df4a 14471 temp4 = true;
bfddbb17 14472 }
d55e5bfc
RD
14473 }
14474 if (obj4) {
14475 {
14476 arg5 = &temp5;
14477 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14478 }
14479 }
14480 if (obj5) {
14481 {
14482 arg6 = &temp6;
14483 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14484 }
14485 }
14486 if (obj6) {
36ed4f51
RD
14487 {
14488 arg7 = (long)(SWIG_As_long(obj6));
14489 if (SWIG_arg_fail(7)) SWIG_fail;
14490 }
d55e5bfc
RD
14491 }
14492 if (obj7) {
36ed4f51
RD
14493 {
14494 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14495 if (SWIG_arg_fail(8)) SWIG_fail;
14496 if (arg8 == NULL) {
14497 SWIG_null_ref("wxValidator");
14498 }
14499 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
14500 }
14501 }
14502 if (obj8) {
14503 {
14504 arg9 = wxString_in_helper(obj8);
14505 if (arg9 == NULL) SWIG_fail;
b411df4a 14506 temp9 = true;
d55e5bfc
RD
14507 }
14508 }
14509 {
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
14511 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14512
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 {
14517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14518 }
14519 {
14520 if (temp4)
14521 delete arg4;
14522 }
14523 {
14524 if (temp9)
14525 delete arg9;
14526 }
14527 return resultobj;
14528 fail:
14529 {
14530 if (temp4)
14531 delete arg4;
14532 }
14533 {
14534 if (temp9)
14535 delete arg9;
14536 }
14537 return NULL;
14538}
14539
14540
c370783e 14541static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14542 PyObject *resultobj;
14543 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14544 bool result;
14545 PyObject * obj0 = 0 ;
14546 char *kwnames[] = {
14547 (char *) "self", NULL
14548 };
14549
14550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
14551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14552 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14553 {
14554 PyThreadState* __tstate = wxPyBeginAllowThreads();
14555 result = (bool)(arg1)->GetValue();
14556
14557 wxPyEndAllowThreads(__tstate);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 }
14560 {
14561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14562 }
14563 return resultobj;
14564 fail:
14565 return NULL;
14566}
14567
14568
c370783e 14569static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14570 PyObject *resultobj;
14571 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14572 bool arg2 ;
14573 PyObject * obj0 = 0 ;
14574 PyObject * obj1 = 0 ;
14575 char *kwnames[] = {
14576 (char *) "self",(char *) "value", NULL
14577 };
14578
14579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14581 if (SWIG_arg_fail(1)) SWIG_fail;
14582 {
14583 arg2 = (bool)(SWIG_As_bool(obj1));
14584 if (SWIG_arg_fail(2)) SWIG_fail;
14585 }
d55e5bfc
RD
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 (arg1)->SetValue(arg2);
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 Py_INCREF(Py_None); resultobj = Py_None;
14594 return resultobj;
14595 fail:
14596 return NULL;
14597}
14598
14599
c370783e 14600static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14601 PyObject *resultobj;
36ed4f51 14602 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14603 wxVisualAttributes result;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "variant", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14610 if (obj0) {
36ed4f51
RD
14611 {
14612 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14613 if (SWIG_arg_fail(1)) SWIG_fail;
14614 }
f20a2e1f
RD
14615 }
14616 {
0439c23b 14617 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14618 PyThreadState* __tstate = wxPyBeginAllowThreads();
14619 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14620
14621 wxPyEndAllowThreads(__tstate);
110da5b0 14622 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14623 }
14624 {
14625 wxVisualAttributes * resultptr;
36ed4f51 14626 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14628 }
14629 return resultobj;
14630 fail:
14631 return NULL;
14632}
14633
14634
c370783e 14635static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14636 PyObject *obj;
14637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14638 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14639 Py_INCREF(obj);
14640 return Py_BuildValue((char *)"");
14641}
c370783e 14642static int _wrap_SliderNameStr_set(PyObject *) {
d55e5bfc
RD
14643 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14644 return 1;
14645}
14646
14647
36ed4f51 14648static PyObject *_wrap_SliderNameStr_get(void) {
d55e5bfc
RD
14649 PyObject *pyobj;
14650
14651 {
14652#if wxUSE_UNICODE
14653 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14654#else
14655 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14656#endif
14657 }
14658 return pyobj;
14659}
14660
14661
c370783e 14662static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14663 PyObject *resultobj;
14664 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
14665 int arg2 = (int) -1 ;
14666 int arg3 = (int) 0 ;
14667 int arg4 = (int) 0 ;
14668 int arg5 = (int) 100 ;
d55e5bfc
RD
14669 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14670 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14671 wxSize const &arg7_defvalue = wxDefaultSize ;
14672 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14673 long arg8 = (long) wxSL_HORIZONTAL ;
14674 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14675 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14676 wxString const &arg10_defvalue = wxPySliderNameStr ;
14677 wxString *arg10 = (wxString *) &arg10_defvalue ;
14678 wxSlider *result;
14679 wxPoint temp6 ;
14680 wxSize temp7 ;
b411df4a 14681 bool temp10 = false ;
d55e5bfc
RD
14682 PyObject * obj0 = 0 ;
14683 PyObject * obj1 = 0 ;
14684 PyObject * obj2 = 0 ;
14685 PyObject * obj3 = 0 ;
14686 PyObject * obj4 = 0 ;
14687 PyObject * obj5 = 0 ;
14688 PyObject * obj6 = 0 ;
14689 PyObject * obj7 = 0 ;
14690 PyObject * obj8 = 0 ;
14691 PyObject * obj9 = 0 ;
14692 char *kwnames[] = {
14693 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14694 };
14695
bfddbb17 14696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
14697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14698 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 14699 if (obj1) {
36ed4f51
RD
14700 {
14701 arg2 = (int)(SWIG_As_int(obj1));
14702 if (SWIG_arg_fail(2)) SWIG_fail;
14703 }
bfddbb17
RD
14704 }
14705 if (obj2) {
36ed4f51
RD
14706 {
14707 arg3 = (int)(SWIG_As_int(obj2));
14708 if (SWIG_arg_fail(3)) SWIG_fail;
14709 }
bfddbb17
RD
14710 }
14711 if (obj3) {
36ed4f51
RD
14712 {
14713 arg4 = (int)(SWIG_As_int(obj3));
14714 if (SWIG_arg_fail(4)) SWIG_fail;
14715 }
bfddbb17
RD
14716 }
14717 if (obj4) {
36ed4f51
RD
14718 {
14719 arg5 = (int)(SWIG_As_int(obj4));
14720 if (SWIG_arg_fail(5)) SWIG_fail;
14721 }
bfddbb17 14722 }
d55e5bfc
RD
14723 if (obj5) {
14724 {
14725 arg6 = &temp6;
14726 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14727 }
14728 }
14729 if (obj6) {
14730 {
14731 arg7 = &temp7;
14732 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14733 }
14734 }
14735 if (obj7) {
36ed4f51
RD
14736 {
14737 arg8 = (long)(SWIG_As_long(obj7));
14738 if (SWIG_arg_fail(8)) SWIG_fail;
14739 }
d55e5bfc
RD
14740 }
14741 if (obj8) {
36ed4f51
RD
14742 {
14743 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14744 if (SWIG_arg_fail(9)) SWIG_fail;
14745 if (arg9 == NULL) {
14746 SWIG_null_ref("wxValidator");
14747 }
14748 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
14749 }
14750 }
14751 if (obj9) {
14752 {
14753 arg10 = wxString_in_helper(obj9);
14754 if (arg10 == NULL) SWIG_fail;
b411df4a 14755 temp10 = true;
d55e5bfc
RD
14756 }
14757 }
14758 {
0439c23b 14759 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14762
14763 wxPyEndAllowThreads(__tstate);
110da5b0 14764 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14765 }
14766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14767 {
14768 if (temp10)
14769 delete arg10;
14770 }
14771 return resultobj;
14772 fail:
14773 {
14774 if (temp10)
14775 delete arg10;
14776 }
14777 return NULL;
14778}
14779
14780
c370783e 14781static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14782 PyObject *resultobj;
14783 wxSlider *result;
14784 char *kwnames[] = {
14785 NULL
14786 };
14787
14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14789 {
0439c23b 14790 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 result = (wxSlider *)new wxSlider();
14793
14794 wxPyEndAllowThreads(__tstate);
110da5b0 14795 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14796 }
14797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14798 return resultobj;
14799 fail:
14800 return NULL;
14801}
14802
14803
c370783e 14804static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14805 PyObject *resultobj;
14806 wxSlider *arg1 = (wxSlider *) 0 ;
14807 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
14808 int arg3 = (int) -1 ;
14809 int arg4 = (int) 0 ;
14810 int arg5 = (int) 0 ;
14811 int arg6 = (int) 100 ;
d55e5bfc
RD
14812 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14813 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14814 wxSize const &arg8_defvalue = wxDefaultSize ;
14815 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14816 long arg9 = (long) wxSL_HORIZONTAL ;
14817 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14818 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14819 wxString const &arg11_defvalue = wxPySliderNameStr ;
14820 wxString *arg11 = (wxString *) &arg11_defvalue ;
14821 bool result;
14822 wxPoint temp7 ;
14823 wxSize temp8 ;
b411df4a 14824 bool temp11 = false ;
d55e5bfc
RD
14825 PyObject * obj0 = 0 ;
14826 PyObject * obj1 = 0 ;
14827 PyObject * obj2 = 0 ;
14828 PyObject * obj3 = 0 ;
14829 PyObject * obj4 = 0 ;
14830 PyObject * obj5 = 0 ;
14831 PyObject * obj6 = 0 ;
14832 PyObject * obj7 = 0 ;
14833 PyObject * obj8 = 0 ;
14834 PyObject * obj9 = 0 ;
14835 PyObject * obj10 = 0 ;
14836 char *kwnames[] = {
14837 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14838 };
14839
bfddbb17 14840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
36ed4f51
RD
14841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14842 if (SWIG_arg_fail(1)) SWIG_fail;
14843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14844 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 14845 if (obj2) {
36ed4f51
RD
14846 {
14847 arg3 = (int)(SWIG_As_int(obj2));
14848 if (SWIG_arg_fail(3)) SWIG_fail;
14849 }
bfddbb17
RD
14850 }
14851 if (obj3) {
36ed4f51
RD
14852 {
14853 arg4 = (int)(SWIG_As_int(obj3));
14854 if (SWIG_arg_fail(4)) SWIG_fail;
14855 }
bfddbb17
RD
14856 }
14857 if (obj4) {
36ed4f51
RD
14858 {
14859 arg5 = (int)(SWIG_As_int(obj4));
14860 if (SWIG_arg_fail(5)) SWIG_fail;
14861 }
bfddbb17
RD
14862 }
14863 if (obj5) {
36ed4f51
RD
14864 {
14865 arg6 = (int)(SWIG_As_int(obj5));
14866 if (SWIG_arg_fail(6)) SWIG_fail;
14867 }
bfddbb17 14868 }
d55e5bfc
RD
14869 if (obj6) {
14870 {
14871 arg7 = &temp7;
14872 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14873 }
14874 }
14875 if (obj7) {
14876 {
14877 arg8 = &temp8;
14878 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14879 }
14880 }
14881 if (obj8) {
36ed4f51
RD
14882 {
14883 arg9 = (long)(SWIG_As_long(obj8));
14884 if (SWIG_arg_fail(9)) SWIG_fail;
14885 }
d55e5bfc
RD
14886 }
14887 if (obj9) {
36ed4f51
RD
14888 {
14889 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14890 if (SWIG_arg_fail(10)) SWIG_fail;
14891 if (arg10 == NULL) {
14892 SWIG_null_ref("wxValidator");
14893 }
14894 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
14895 }
14896 }
14897 if (obj10) {
14898 {
14899 arg11 = wxString_in_helper(obj10);
14900 if (arg11 == NULL) SWIG_fail;
b411df4a 14901 temp11 = true;
d55e5bfc
RD
14902 }
14903 }
14904 {
14905 PyThreadState* __tstate = wxPyBeginAllowThreads();
14906 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14907
14908 wxPyEndAllowThreads(__tstate);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
14911 {
14912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14913 }
14914 {
14915 if (temp11)
14916 delete arg11;
14917 }
14918 return resultobj;
14919 fail:
14920 {
14921 if (temp11)
14922 delete arg11;
14923 }
14924 return NULL;
14925}
14926
14927
c370783e 14928static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14929 PyObject *resultobj;
14930 wxSlider *arg1 = (wxSlider *) 0 ;
14931 int result;
14932 PyObject * obj0 = 0 ;
14933 char *kwnames[] = {
14934 (char *) "self", NULL
14935 };
14936
14937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
14938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14939 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14940 {
14941 PyThreadState* __tstate = wxPyBeginAllowThreads();
14942 result = (int)((wxSlider const *)arg1)->GetValue();
14943
14944 wxPyEndAllowThreads(__tstate);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
36ed4f51
RD
14947 {
14948 resultobj = SWIG_From_int((int)(result));
14949 }
d55e5bfc
RD
14950 return resultobj;
14951 fail:
14952 return NULL;
14953}
14954
14955
c370783e 14956static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14957 PyObject *resultobj;
14958 wxSlider *arg1 = (wxSlider *) 0 ;
14959 int arg2 ;
14960 PyObject * obj0 = 0 ;
14961 PyObject * obj1 = 0 ;
14962 char *kwnames[] = {
14963 (char *) "self",(char *) "value", NULL
14964 };
14965
14966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14968 if (SWIG_arg_fail(1)) SWIG_fail;
14969 {
14970 arg2 = (int)(SWIG_As_int(obj1));
14971 if (SWIG_arg_fail(2)) SWIG_fail;
14972 }
d55e5bfc
RD
14973 {
14974 PyThreadState* __tstate = wxPyBeginAllowThreads();
14975 (arg1)->SetValue(arg2);
14976
14977 wxPyEndAllowThreads(__tstate);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 Py_INCREF(Py_None); resultobj = Py_None;
14981 return resultobj;
14982 fail:
14983 return NULL;
14984}
14985
14986
c370783e 14987static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14988 PyObject *resultobj;
14989 wxSlider *arg1 = (wxSlider *) 0 ;
14990 int arg2 ;
14991 int arg3 ;
14992 PyObject * obj0 = 0 ;
14993 PyObject * obj1 = 0 ;
14994 PyObject * obj2 = 0 ;
14995 char *kwnames[] = {
14996 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
14997 };
14998
14999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15001 if (SWIG_arg_fail(1)) SWIG_fail;
15002 {
15003 arg2 = (int)(SWIG_As_int(obj1));
15004 if (SWIG_arg_fail(2)) SWIG_fail;
15005 }
15006 {
15007 arg3 = (int)(SWIG_As_int(obj2));
15008 if (SWIG_arg_fail(3)) SWIG_fail;
15009 }
d55e5bfc
RD
15010 {
15011 PyThreadState* __tstate = wxPyBeginAllowThreads();
15012 (arg1)->SetRange(arg2,arg3);
15013
15014 wxPyEndAllowThreads(__tstate);
15015 if (PyErr_Occurred()) SWIG_fail;
15016 }
15017 Py_INCREF(Py_None); resultobj = Py_None;
15018 return resultobj;
15019 fail:
15020 return NULL;
15021}
15022
15023
c370783e 15024static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15025 PyObject *resultobj;
15026 wxSlider *arg1 = (wxSlider *) 0 ;
15027 int result;
15028 PyObject * obj0 = 0 ;
15029 char *kwnames[] = {
15030 (char *) "self", NULL
15031 };
15032
15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
15034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15035 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15036 {
15037 PyThreadState* __tstate = wxPyBeginAllowThreads();
15038 result = (int)((wxSlider const *)arg1)->GetMin();
15039
15040 wxPyEndAllowThreads(__tstate);
15041 if (PyErr_Occurred()) SWIG_fail;
15042 }
36ed4f51
RD
15043 {
15044 resultobj = SWIG_From_int((int)(result));
15045 }
d55e5bfc
RD
15046 return resultobj;
15047 fail:
15048 return NULL;
15049}
15050
15051
c370783e 15052static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15053 PyObject *resultobj;
15054 wxSlider *arg1 = (wxSlider *) 0 ;
15055 int result;
15056 PyObject * obj0 = 0 ;
15057 char *kwnames[] = {
15058 (char *) "self", NULL
15059 };
15060
15061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
15062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15064 {
15065 PyThreadState* __tstate = wxPyBeginAllowThreads();
15066 result = (int)((wxSlider const *)arg1)->GetMax();
15067
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
36ed4f51
RD
15071 {
15072 resultobj = SWIG_From_int((int)(result));
15073 }
d55e5bfc
RD
15074 return resultobj;
15075 fail:
15076 return NULL;
15077}
15078
15079
c370783e 15080static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15081 PyObject *resultobj;
15082 wxSlider *arg1 = (wxSlider *) 0 ;
15083 int arg2 ;
15084 PyObject * obj0 = 0 ;
15085 PyObject * obj1 = 0 ;
15086 char *kwnames[] = {
15087 (char *) "self",(char *) "minValue", NULL
15088 };
15089
15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail;
15093 {
15094 arg2 = (int)(SWIG_As_int(obj1));
15095 if (SWIG_arg_fail(2)) SWIG_fail;
15096 }
d55e5bfc
RD
15097 {
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 (arg1)->SetMin(arg2);
15100
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 Py_INCREF(Py_None); resultobj = Py_None;
15105 return resultobj;
15106 fail:
15107 return NULL;
15108}
15109
15110
c370783e 15111static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15112 PyObject *resultobj;
15113 wxSlider *arg1 = (wxSlider *) 0 ;
15114 int arg2 ;
15115 PyObject * obj0 = 0 ;
15116 PyObject * obj1 = 0 ;
15117 char *kwnames[] = {
15118 (char *) "self",(char *) "maxValue", NULL
15119 };
15120
15121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15123 if (SWIG_arg_fail(1)) SWIG_fail;
15124 {
15125 arg2 = (int)(SWIG_As_int(obj1));
15126 if (SWIG_arg_fail(2)) SWIG_fail;
15127 }
d55e5bfc
RD
15128 {
15129 PyThreadState* __tstate = wxPyBeginAllowThreads();
15130 (arg1)->SetMax(arg2);
15131
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 Py_INCREF(Py_None); resultobj = Py_None;
15136 return resultobj;
15137 fail:
15138 return NULL;
15139}
15140
15141
c370783e 15142static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15143 PyObject *resultobj;
15144 wxSlider *arg1 = (wxSlider *) 0 ;
15145 int arg2 ;
15146 PyObject * obj0 = 0 ;
15147 PyObject * obj1 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self",(char *) "lineSize", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15154 if (SWIG_arg_fail(1)) SWIG_fail;
15155 {
15156 arg2 = (int)(SWIG_As_int(obj1));
15157 if (SWIG_arg_fail(2)) SWIG_fail;
15158 }
d55e5bfc
RD
15159 {
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 (arg1)->SetLineSize(arg2);
15162
15163 wxPyEndAllowThreads(__tstate);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 Py_INCREF(Py_None); resultobj = Py_None;
15167 return resultobj;
15168 fail:
15169 return NULL;
15170}
15171
15172
c370783e 15173static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15174 PyObject *resultobj;
15175 wxSlider *arg1 = (wxSlider *) 0 ;
15176 int arg2 ;
15177 PyObject * obj0 = 0 ;
15178 PyObject * obj1 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self",(char *) "pageSize", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15185 if (SWIG_arg_fail(1)) SWIG_fail;
15186 {
15187 arg2 = (int)(SWIG_As_int(obj1));
15188 if (SWIG_arg_fail(2)) SWIG_fail;
15189 }
d55e5bfc
RD
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 (arg1)->SetPageSize(arg2);
15193
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 Py_INCREF(Py_None); resultobj = Py_None;
15198 return resultobj;
15199 fail:
15200 return NULL;
15201}
15202
15203
c370783e 15204static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15205 PyObject *resultobj;
15206 wxSlider *arg1 = (wxSlider *) 0 ;
15207 int result;
15208 PyObject * obj0 = 0 ;
15209 char *kwnames[] = {
15210 (char *) "self", NULL
15211 };
15212
15213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
15214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15215 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15216 {
15217 PyThreadState* __tstate = wxPyBeginAllowThreads();
15218 result = (int)((wxSlider const *)arg1)->GetLineSize();
15219
15220 wxPyEndAllowThreads(__tstate);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
36ed4f51
RD
15223 {
15224 resultobj = SWIG_From_int((int)(result));
15225 }
d55e5bfc
RD
15226 return resultobj;
15227 fail:
15228 return NULL;
15229}
15230
15231
c370783e 15232static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15233 PyObject *resultobj;
15234 wxSlider *arg1 = (wxSlider *) 0 ;
15235 int result;
15236 PyObject * obj0 = 0 ;
15237 char *kwnames[] = {
15238 (char *) "self", NULL
15239 };
15240
15241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
15242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15243 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15244 {
15245 PyThreadState* __tstate = wxPyBeginAllowThreads();
15246 result = (int)((wxSlider const *)arg1)->GetPageSize();
15247
15248 wxPyEndAllowThreads(__tstate);
15249 if (PyErr_Occurred()) SWIG_fail;
15250 }
36ed4f51
RD
15251 {
15252 resultobj = SWIG_From_int((int)(result));
15253 }
d55e5bfc
RD
15254 return resultobj;
15255 fail:
15256 return NULL;
15257}
15258
15259
c370783e 15260static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15261 PyObject *resultobj;
15262 wxSlider *arg1 = (wxSlider *) 0 ;
15263 int arg2 ;
15264 PyObject * obj0 = 0 ;
15265 PyObject * obj1 = 0 ;
15266 char *kwnames[] = {
15267 (char *) "self",(char *) "lenPixels", NULL
15268 };
15269
15270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15272 if (SWIG_arg_fail(1)) SWIG_fail;
15273 {
15274 arg2 = (int)(SWIG_As_int(obj1));
15275 if (SWIG_arg_fail(2)) SWIG_fail;
15276 }
d55e5bfc
RD
15277 {
15278 PyThreadState* __tstate = wxPyBeginAllowThreads();
15279 (arg1)->SetThumbLength(arg2);
15280
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 Py_INCREF(Py_None); resultobj = Py_None;
15285 return resultobj;
15286 fail:
15287 return NULL;
15288}
15289
15290
c370783e 15291static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15292 PyObject *resultobj;
15293 wxSlider *arg1 = (wxSlider *) 0 ;
15294 int result;
15295 PyObject * obj0 = 0 ;
15296 char *kwnames[] = {
15297 (char *) "self", NULL
15298 };
15299
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
36ed4f51
RD
15301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15302 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
36ed4f51
RD
15310 {
15311 resultobj = SWIG_From_int((int)(result));
15312 }
d55e5bfc
RD
15313 return resultobj;
15314 fail:
15315 return NULL;
15316}
15317
15318
c370783e 15319static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15320 PyObject *resultobj;
15321 wxSlider *arg1 = (wxSlider *) 0 ;
15322 int arg2 ;
15323 int arg3 = (int) 1 ;
15324 PyObject * obj0 = 0 ;
15325 PyObject * obj1 = 0 ;
15326 PyObject * obj2 = 0 ;
15327 char *kwnames[] = {
15328 (char *) "self",(char *) "n",(char *) "pos", NULL
15329 };
15330
15331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail;
15334 {
15335 arg2 = (int)(SWIG_As_int(obj1));
15336 if (SWIG_arg_fail(2)) SWIG_fail;
15337 }
d55e5bfc 15338 if (obj2) {
36ed4f51
RD
15339 {
15340 arg3 = (int)(SWIG_As_int(obj2));
15341 if (SWIG_arg_fail(3)) SWIG_fail;
15342 }
d55e5bfc
RD
15343 }
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 (arg1)->SetTickFreq(arg2,arg3);
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 Py_INCREF(Py_None); resultobj = Py_None;
15352 return resultobj;
15353 fail:
15354 return NULL;
15355}
15356
15357
c370783e 15358static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15359 PyObject *resultobj;
15360 wxSlider *arg1 = (wxSlider *) 0 ;
15361 int result;
15362 PyObject * obj0 = 0 ;
15363 char *kwnames[] = {
15364 (char *) "self", NULL
15365 };
15366
15367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
36ed4f51
RD
15368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15370 {
15371 PyThreadState* __tstate = wxPyBeginAllowThreads();
15372 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15373
15374 wxPyEndAllowThreads(__tstate);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
36ed4f51
RD
15377 {
15378 resultobj = SWIG_From_int((int)(result));
15379 }
d55e5bfc
RD
15380 return resultobj;
15381 fail:
15382 return NULL;
15383}
15384
15385
c370783e 15386static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15387 PyObject *resultobj;
15388 wxSlider *arg1 = (wxSlider *) 0 ;
15389 PyObject * obj0 = 0 ;
15390 char *kwnames[] = {
15391 (char *) "self", NULL
15392 };
15393
15394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
36ed4f51
RD
15395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15396 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15397 {
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 (arg1)->ClearTicks();
15400
15401 wxPyEndAllowThreads(__tstate);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 }
15404 Py_INCREF(Py_None); resultobj = Py_None;
15405 return resultobj;
15406 fail:
15407 return NULL;
15408}
15409
15410
c370783e 15411static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15412 PyObject *resultobj;
15413 wxSlider *arg1 = (wxSlider *) 0 ;
15414 int arg2 ;
15415 PyObject * obj0 = 0 ;
15416 PyObject * obj1 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self",(char *) "tickPos", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15423 if (SWIG_arg_fail(1)) SWIG_fail;
15424 {
15425 arg2 = (int)(SWIG_As_int(obj1));
15426 if (SWIG_arg_fail(2)) SWIG_fail;
15427 }
d55e5bfc
RD
15428 {
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 (arg1)->SetTick(arg2);
15431
15432 wxPyEndAllowThreads(__tstate);
15433 if (PyErr_Occurred()) SWIG_fail;
15434 }
15435 Py_INCREF(Py_None); resultobj = Py_None;
15436 return resultobj;
15437 fail:
15438 return NULL;
15439}
15440
15441
c370783e 15442static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15443 PyObject *resultobj;
15444 wxSlider *arg1 = (wxSlider *) 0 ;
15445 PyObject * obj0 = 0 ;
15446 char *kwnames[] = {
15447 (char *) "self", NULL
15448 };
15449
15450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
36ed4f51
RD
15451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15452 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15453 {
15454 PyThreadState* __tstate = wxPyBeginAllowThreads();
15455 (arg1)->ClearSel();
15456
15457 wxPyEndAllowThreads(__tstate);
15458 if (PyErr_Occurred()) SWIG_fail;
15459 }
15460 Py_INCREF(Py_None); resultobj = Py_None;
15461 return resultobj;
15462 fail:
15463 return NULL;
15464}
15465
15466
c370783e 15467static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15468 PyObject *resultobj;
15469 wxSlider *arg1 = (wxSlider *) 0 ;
15470 int result;
15471 PyObject * obj0 = 0 ;
15472 char *kwnames[] = {
15473 (char *) "self", NULL
15474 };
15475
15476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
15477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15478 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15479 {
15480 PyThreadState* __tstate = wxPyBeginAllowThreads();
15481 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15482
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
36ed4f51
RD
15486 {
15487 resultobj = SWIG_From_int((int)(result));
15488 }
d55e5bfc
RD
15489 return resultobj;
15490 fail:
15491 return NULL;
15492}
15493
15494
c370783e 15495static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15496 PyObject *resultobj;
15497 wxSlider *arg1 = (wxSlider *) 0 ;
15498 int result;
15499 PyObject * obj0 = 0 ;
15500 char *kwnames[] = {
15501 (char *) "self", NULL
15502 };
15503
15504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
15505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15506 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 result = (int)((wxSlider const *)arg1)->GetSelStart();
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
36ed4f51
RD
15514 {
15515 resultobj = SWIG_From_int((int)(result));
15516 }
d55e5bfc
RD
15517 return resultobj;
15518 fail:
15519 return NULL;
15520}
15521
15522
c370783e 15523static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15524 PyObject *resultobj;
15525 wxSlider *arg1 = (wxSlider *) 0 ;
15526 int arg2 ;
15527 int arg3 ;
15528 PyObject * obj0 = 0 ;
15529 PyObject * obj1 = 0 ;
15530 PyObject * obj2 = 0 ;
15531 char *kwnames[] = {
15532 (char *) "self",(char *) "min",(char *) "max", NULL
15533 };
15534
15535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15537 if (SWIG_arg_fail(1)) SWIG_fail;
15538 {
15539 arg2 = (int)(SWIG_As_int(obj1));
15540 if (SWIG_arg_fail(2)) SWIG_fail;
15541 }
15542 {
15543 arg3 = (int)(SWIG_As_int(obj2));
15544 if (SWIG_arg_fail(3)) SWIG_fail;
15545 }
d55e5bfc
RD
15546 {
15547 PyThreadState* __tstate = wxPyBeginAllowThreads();
15548 (arg1)->SetSelection(arg2,arg3);
15549
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 Py_INCREF(Py_None); resultobj = Py_None;
15554 return resultobj;
15555 fail:
15556 return NULL;
15557}
15558
15559
c370783e 15560static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 15561 PyObject *resultobj;
36ed4f51 15562 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15563 wxVisualAttributes result;
15564 PyObject * obj0 = 0 ;
15565 char *kwnames[] = {
15566 (char *) "variant", NULL
15567 };
15568
15569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15570 if (obj0) {
36ed4f51
RD
15571 {
15572 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15573 if (SWIG_arg_fail(1)) SWIG_fail;
15574 }
f20a2e1f
RD
15575 }
15576 {
0439c23b 15577 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15580
15581 wxPyEndAllowThreads(__tstate);
110da5b0 15582 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15583 }
15584 {
15585 wxVisualAttributes * resultptr;
36ed4f51 15586 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
15587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15588 }
15589 return resultobj;
15590 fail:
15591 return NULL;
15592}
15593
15594
c370783e 15595static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15596 PyObject *obj;
15597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15598 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15599 Py_INCREF(obj);
15600 return Py_BuildValue((char *)"");
15601}
c370783e 15602static int _wrap_ToggleButtonNameStr_set(PyObject *) {
d55e5bfc
RD
15603 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15604 return 1;
15605}
15606
15607
36ed4f51 15608static PyObject *_wrap_ToggleButtonNameStr_get(void) {
d55e5bfc
RD
15609 PyObject *pyobj;
15610
15611 {
15612#if wxUSE_UNICODE
15613 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15614#else
15615 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15616#endif
15617 }
15618 return pyobj;
15619}
15620
15621
c370783e 15622static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15623 PyObject *resultobj;
15624 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
15625 int arg2 = (int) -1 ;
15626 wxString const &arg3_defvalue = wxPyEmptyString ;
15627 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15628 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15629 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15630 wxSize const &arg5_defvalue = wxDefaultSize ;
15631 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15632 long arg6 = (long) 0 ;
15633 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15634 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15635 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15636 wxString *arg8 = (wxString *) &arg8_defvalue ;
15637 wxToggleButton *result;
b411df4a 15638 bool temp3 = false ;
d55e5bfc
RD
15639 wxPoint temp4 ;
15640 wxSize temp5 ;
b411df4a 15641 bool temp8 = false ;
d55e5bfc
RD
15642 PyObject * obj0 = 0 ;
15643 PyObject * obj1 = 0 ;
15644 PyObject * obj2 = 0 ;
15645 PyObject * obj3 = 0 ;
15646 PyObject * obj4 = 0 ;
15647 PyObject * obj5 = 0 ;
15648 PyObject * obj6 = 0 ;
15649 PyObject * obj7 = 0 ;
15650 char *kwnames[] = {
15651 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15652 };
15653
bfddbb17 15654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
15655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 15657 if (obj1) {
36ed4f51
RD
15658 {
15659 arg2 = (int)(SWIG_As_int(obj1));
15660 if (SWIG_arg_fail(2)) SWIG_fail;
15661 }
bfddbb17
RD
15662 }
15663 if (obj2) {
15664 {
15665 arg3 = wxString_in_helper(obj2);
15666 if (arg3 == NULL) SWIG_fail;
b411df4a 15667 temp3 = true;
bfddbb17 15668 }
d55e5bfc
RD
15669 }
15670 if (obj3) {
15671 {
15672 arg4 = &temp4;
15673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15674 }
15675 }
15676 if (obj4) {
15677 {
15678 arg5 = &temp5;
15679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15680 }
15681 }
15682 if (obj5) {
36ed4f51
RD
15683 {
15684 arg6 = (long)(SWIG_As_long(obj5));
15685 if (SWIG_arg_fail(6)) SWIG_fail;
15686 }
d55e5bfc
RD
15687 }
15688 if (obj6) {
36ed4f51
RD
15689 {
15690 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15691 if (SWIG_arg_fail(7)) SWIG_fail;
15692 if (arg7 == NULL) {
15693 SWIG_null_ref("wxValidator");
15694 }
15695 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
15696 }
15697 }
15698 if (obj7) {
15699 {
15700 arg8 = wxString_in_helper(obj7);
15701 if (arg8 == NULL) SWIG_fail;
b411df4a 15702 temp8 = true;
d55e5bfc
RD
15703 }
15704 }
15705 {
0439c23b 15706 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15707 PyThreadState* __tstate = wxPyBeginAllowThreads();
15708 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15709
15710 wxPyEndAllowThreads(__tstate);
110da5b0 15711 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15712 }
15713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15714 {
15715 if (temp3)
15716 delete arg3;
15717 }
15718 {
15719 if (temp8)
15720 delete arg8;
15721 }
15722 return resultobj;
15723 fail:
15724 {
15725 if (temp3)
15726 delete arg3;
15727 }
15728 {
15729 if (temp8)
15730 delete arg8;
15731 }
15732 return NULL;
15733}
15734
15735
c370783e 15736static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15737 PyObject *resultobj;
15738 wxToggleButton *result;
15739 char *kwnames[] = {
15740 NULL
15741 };
15742
15743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15744 {
0439c23b 15745 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15746 PyThreadState* __tstate = wxPyBeginAllowThreads();
15747 result = (wxToggleButton *)new wxToggleButton();
15748
15749 wxPyEndAllowThreads(__tstate);
110da5b0 15750 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15751 }
15752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15753 return resultobj;
15754 fail:
15755 return NULL;
15756}
15757
15758
c370783e 15759static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15760 PyObject *resultobj;
15761 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15762 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
15763 int arg3 = (int) -1 ;
15764 wxString const &arg4_defvalue = wxPyEmptyString ;
15765 wxString *arg4 = (wxString *) &arg4_defvalue ;
121b9a67
RD
15766 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15767 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15768 wxSize const &arg6_defvalue = wxDefaultSize ;
15769 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15770 long arg7 = (long) 0 ;
15771 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15772 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15773 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15774 wxString *arg9 = (wxString *) &arg9_defvalue ;
15775 bool result;
b411df4a 15776 bool temp4 = false ;
121b9a67
RD
15777 wxPoint temp5 ;
15778 wxSize temp6 ;
b411df4a 15779 bool temp9 = false ;
121b9a67
RD
15780 PyObject * obj0 = 0 ;
15781 PyObject * obj1 = 0 ;
15782 PyObject * obj2 = 0 ;
15783 PyObject * obj3 = 0 ;
15784 PyObject * obj4 = 0 ;
15785 PyObject * obj5 = 0 ;
15786 PyObject * obj6 = 0 ;
15787 PyObject * obj7 = 0 ;
15788 PyObject * obj8 = 0 ;
15789 char *kwnames[] = {
15790 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15791 };
15792
bfddbb17 15793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
15794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15795 if (SWIG_arg_fail(1)) SWIG_fail;
15796 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15797 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 15798 if (obj2) {
36ed4f51
RD
15799 {
15800 arg3 = (int)(SWIG_As_int(obj2));
15801 if (SWIG_arg_fail(3)) SWIG_fail;
15802 }
bfddbb17
RD
15803 }
15804 if (obj3) {
15805 {
15806 arg4 = wxString_in_helper(obj3);
15807 if (arg4 == NULL) SWIG_fail;
b411df4a 15808 temp4 = true;
bfddbb17 15809 }
121b9a67
RD
15810 }
15811 if (obj4) {
15812 {
15813 arg5 = &temp5;
15814 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15815 }
15816 }
15817 if (obj5) {
15818 {
15819 arg6 = &temp6;
15820 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15821 }
15822 }
15823 if (obj6) {
36ed4f51
RD
15824 {
15825 arg7 = (long)(SWIG_As_long(obj6));
15826 if (SWIG_arg_fail(7)) SWIG_fail;
15827 }
121b9a67
RD
15828 }
15829 if (obj7) {
36ed4f51
RD
15830 {
15831 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15832 if (SWIG_arg_fail(8)) SWIG_fail;
15833 if (arg8 == NULL) {
15834 SWIG_null_ref("wxValidator");
15835 }
15836 if (SWIG_arg_fail(8)) SWIG_fail;
121b9a67
RD
15837 }
15838 }
15839 if (obj8) {
15840 {
15841 arg9 = wxString_in_helper(obj8);
15842 if (arg9 == NULL) SWIG_fail;
b411df4a 15843 temp9 = true;
121b9a67
RD
15844 }
15845 }
15846 {
15847 PyThreadState* __tstate = wxPyBeginAllowThreads();
15848 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15849
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 {
15854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15855 }
15856 {
15857 if (temp4)
15858 delete arg4;
15859 }
15860 {
15861 if (temp9)
15862 delete arg9;
15863 }
15864 return resultobj;
15865 fail:
15866 {
15867 if (temp4)
15868 delete arg4;
15869 }
15870 {
15871 if (temp9)
15872 delete arg9;
15873 }
15874 return NULL;
15875}
15876
15877
c370783e 15878static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15879 PyObject *resultobj;
15880 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15881 bool arg2 ;
15882 PyObject * obj0 = 0 ;
15883 PyObject * obj1 = 0 ;
15884 char *kwnames[] = {
15885 (char *) "self",(char *) "value", NULL
15886 };
15887
15888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15890 if (SWIG_arg_fail(1)) SWIG_fail;
15891 {
15892 arg2 = (bool)(SWIG_As_bool(obj1));
15893 if (SWIG_arg_fail(2)) SWIG_fail;
15894 }
121b9a67
RD
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 (arg1)->SetValue(arg2);
15898
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 Py_INCREF(Py_None); resultobj = Py_None;
15903 return resultobj;
15904 fail:
15905 return NULL;
15906}
15907
15908
c370783e 15909static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15910 PyObject *resultobj;
15911 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15912 bool result;
15913 PyObject * obj0 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "self", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
15919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15920 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
15921 {
15922 PyThreadState* __tstate = wxPyBeginAllowThreads();
15923 result = (bool)((wxToggleButton const *)arg1)->GetValue();
15924
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 {
15929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15930 }
15931 return resultobj;
15932 fail:
15933 return NULL;
15934}
15935
15936
c370783e 15937static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15938 PyObject *resultobj;
15939 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15940 wxString *arg2 = 0 ;
b411df4a 15941 bool temp2 = false ;
121b9a67
RD
15942 PyObject * obj0 = 0 ;
15943 PyObject * obj1 = 0 ;
15944 char *kwnames[] = {
15945 (char *) "self",(char *) "label", NULL
15946 };
15947
15948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15950 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
15951 {
15952 arg2 = wxString_in_helper(obj1);
15953 if (arg2 == NULL) SWIG_fail;
b411df4a 15954 temp2 = true;
121b9a67
RD
15955 }
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 (arg1)->SetLabel((wxString const &)*arg2);
15959
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 Py_INCREF(Py_None); resultobj = Py_None;
15964 {
15965 if (temp2)
15966 delete arg2;
15967 }
15968 return resultobj;
15969 fail:
15970 {
15971 if (temp2)
15972 delete arg2;
15973 }
15974 return NULL;
15975}
15976
15977
c370783e 15978static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 15979 PyObject *resultobj;
36ed4f51 15980 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15981 wxVisualAttributes result;
15982 PyObject * obj0 = 0 ;
15983 char *kwnames[] = {
15984 (char *) "variant", NULL
15985 };
15986
15987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15988 if (obj0) {
36ed4f51
RD
15989 {
15990 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15991 if (SWIG_arg_fail(1)) SWIG_fail;
15992 }
f20a2e1f
RD
15993 }
15994 {
0439c23b 15995 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
15998
15999 wxPyEndAllowThreads(__tstate);
110da5b0 16000 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16001 }
16002 {
16003 wxVisualAttributes * resultptr;
36ed4f51 16004 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
16005 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16006 }
16007 return resultobj;
16008 fail:
16009 return NULL;
16010}
16011
16012
c370783e 16013static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16014 PyObject *obj;
16015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16016 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16017 Py_INCREF(obj);
16018 return Py_BuildValue((char *)"");
16019}
51b83b37
RD
16020static int _wrap_NotebookNameStr_set(PyObject *) {
16021 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
d55e5bfc
RD
16022 return 1;
16023}
16024
16025
51b83b37 16026static PyObject *_wrap_NotebookNameStr_get(void) {
d55e5bfc
RD
16027 PyObject *pyobj;
16028
16029 {
16030#if wxUSE_UNICODE
51b83b37 16031 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 16032#else
51b83b37 16033 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc
RD
16034#endif
16035 }
16036 return pyobj;
16037}
16038
16039
6e0de3df 16040static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16041 PyObject *resultobj;
6e0de3df 16042 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16043 size_t result;
16044 PyObject * obj0 = 0 ;
16045 char *kwnames[] = {
16046 (char *) "self", NULL
16047 };
16048
6e0de3df 16049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
16050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16051 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16052 {
16053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16054 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d55e5bfc
RD
16055
16056 wxPyEndAllowThreads(__tstate);
16057 if (PyErr_Occurred()) SWIG_fail;
16058 }
36ed4f51
RD
16059 {
16060 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16061 }
d55e5bfc
RD
16062 return resultobj;
16063 fail:
16064 return NULL;
16065}
16066
16067
6e0de3df 16068static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16069 PyObject *resultobj;
6e0de3df 16070 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16071 size_t arg2 ;
16072 wxWindow *result;
16073 PyObject * obj0 = 0 ;
16074 PyObject * obj1 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "self",(char *) "n", NULL
16077 };
16078
6e0de3df 16079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16081 if (SWIG_arg_fail(1)) SWIG_fail;
16082 {
16083 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16084 if (SWIG_arg_fail(2)) SWIG_fail;
16085 }
d55e5bfc
RD
16086 {
16087 PyThreadState* __tstate = wxPyBeginAllowThreads();
16088 result = (wxWindow *)(arg1)->GetPage(arg2);
16089
16090 wxPyEndAllowThreads(__tstate);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 }
16093 {
412d302d 16094 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16095 }
16096 return resultobj;
16097 fail:
16098 return NULL;
16099}
16100
16101
6e0de3df 16102static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
8fb0e70a 16103 PyObject *resultobj;
6e0de3df 16104 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16105 wxWindow *result;
16106 PyObject * obj0 = 0 ;
16107 char *kwnames[] = {
16108 (char *) "self", NULL
16109 };
16110
6e0de3df 16111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
16112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16113 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16114 {
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16116 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16117
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 {
16122 resultobj = wxPyMake_wxObject(result, 0);
16123 }
16124 return resultobj;
16125 fail:
16126 return NULL;
16127}
16128
16129
6e0de3df 16130static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16131 PyObject *resultobj;
6e0de3df 16132 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16133 int result;
16134 PyObject * obj0 = 0 ;
16135 char *kwnames[] = {
16136 (char *) "self", NULL
16137 };
16138
6e0de3df 16139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
16140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16141 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16144 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d55e5bfc
RD
16145
16146 wxPyEndAllowThreads(__tstate);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
36ed4f51
RD
16149 {
16150 resultobj = SWIG_From_int((int)(result));
16151 }
d55e5bfc
RD
16152 return resultobj;
16153 fail:
16154 return NULL;
16155}
16156
16157
6e0de3df 16158static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16159 PyObject *resultobj;
6e0de3df 16160 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16161 size_t arg2 ;
16162 wxString *arg3 = 0 ;
16163 bool result;
b411df4a 16164 bool temp3 = false ;
d55e5bfc
RD
16165 PyObject * obj0 = 0 ;
16166 PyObject * obj1 = 0 ;
16167 PyObject * obj2 = 0 ;
16168 char *kwnames[] = {
16169 (char *) "self",(char *) "n",(char *) "strText", NULL
16170 };
16171
6e0de3df 16172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16174 if (SWIG_arg_fail(1)) SWIG_fail;
16175 {
16176 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16177 if (SWIG_arg_fail(2)) SWIG_fail;
16178 }
d55e5bfc
RD
16179 {
16180 arg3 = wxString_in_helper(obj2);
16181 if (arg3 == NULL) SWIG_fail;
b411df4a 16182 temp3 = true;
d55e5bfc
RD
16183 }
16184 {
16185 PyThreadState* __tstate = wxPyBeginAllowThreads();
16186 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16187
16188 wxPyEndAllowThreads(__tstate);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 }
16191 {
16192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16193 }
16194 {
16195 if (temp3)
16196 delete arg3;
16197 }
16198 return resultobj;
16199 fail:
16200 {
16201 if (temp3)
16202 delete arg3;
16203 }
16204 return NULL;
16205}
16206
16207
6e0de3df 16208static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16209 PyObject *resultobj;
6e0de3df 16210 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16211 size_t arg2 ;
16212 wxString result;
16213 PyObject * obj0 = 0 ;
16214 PyObject * obj1 = 0 ;
16215 char *kwnames[] = {
16216 (char *) "self",(char *) "n", NULL
16217 };
16218
6e0de3df 16219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16221 if (SWIG_arg_fail(1)) SWIG_fail;
16222 {
16223 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16224 if (SWIG_arg_fail(2)) SWIG_fail;
16225 }
d55e5bfc
RD
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16228 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d55e5bfc
RD
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 {
16234#if wxUSE_UNICODE
16235 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16236#else
16237 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16238#endif
16239 }
16240 return resultobj;
16241 fail:
16242 return NULL;
16243}
16244
16245
6e0de3df 16246static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16247 PyObject *resultobj;
6e0de3df 16248 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16249 wxImageList *arg2 = (wxImageList *) 0 ;
16250 PyObject * obj0 = 0 ;
16251 PyObject * obj1 = 0 ;
16252 char *kwnames[] = {
16253 (char *) "self",(char *) "imageList", NULL
16254 };
16255
6e0de3df 16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16258 if (SWIG_arg_fail(1)) SWIG_fail;
16259 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16260 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 (arg1)->SetImageList(arg2);
16264
16265 wxPyEndAllowThreads(__tstate);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 }
16268 Py_INCREF(Py_None); resultobj = Py_None;
16269 return resultobj;
16270 fail:
16271 return NULL;
16272}
16273
16274
6e0de3df 16275static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16276 PyObject *resultobj;
6e0de3df 16277 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16278 wxImageList *arg2 = (wxImageList *) 0 ;
16279 PyObject * obj0 = 0 ;
16280 PyObject * obj1 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "self",(char *) "imageList", NULL
16283 };
16284
6e0de3df 16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16287 if (SWIG_arg_fail(1)) SWIG_fail;
16288 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16289 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 (arg1)->AssignImageList(arg2);
16293
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 Py_INCREF(Py_None); resultobj = Py_None;
16298 return resultobj;
16299 fail:
16300 return NULL;
16301}
16302
16303
6e0de3df 16304static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16305 PyObject *resultobj;
6e0de3df 16306 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16307 wxImageList *result;
16308 PyObject * obj0 = 0 ;
16309 char *kwnames[] = {
16310 (char *) "self", NULL
16311 };
16312
6e0de3df 16313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
16314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16315 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16316 {
16317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16318 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d55e5bfc
RD
16319
16320 wxPyEndAllowThreads(__tstate);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 }
16323 {
412d302d 16324 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16325 }
16326 return resultobj;
16327 fail:
16328 return NULL;
16329}
16330
16331
6e0de3df 16332static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16333 PyObject *resultobj;
6e0de3df 16334 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16335 size_t arg2 ;
16336 int result;
16337 PyObject * obj0 = 0 ;
16338 PyObject * obj1 = 0 ;
16339 char *kwnames[] = {
16340 (char *) "self",(char *) "n", NULL
16341 };
16342
6e0de3df 16343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16345 if (SWIG_arg_fail(1)) SWIG_fail;
16346 {
16347 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16348 if (SWIG_arg_fail(2)) SWIG_fail;
16349 }
d55e5bfc
RD
16350 {
16351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16352 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d55e5bfc
RD
16353
16354 wxPyEndAllowThreads(__tstate);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 }
36ed4f51
RD
16357 {
16358 resultobj = SWIG_From_int((int)(result));
16359 }
d55e5bfc
RD
16360 return resultobj;
16361 fail:
16362 return NULL;
16363}
16364
16365
6e0de3df 16366static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16367 PyObject *resultobj;
6e0de3df 16368 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16369 size_t arg2 ;
16370 int arg3 ;
16371 bool result;
16372 PyObject * obj0 = 0 ;
16373 PyObject * obj1 = 0 ;
16374 PyObject * obj2 = 0 ;
16375 char *kwnames[] = {
16376 (char *) "self",(char *) "n",(char *) "imageId", NULL
16377 };
16378
6e0de3df 16379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16381 if (SWIG_arg_fail(1)) SWIG_fail;
16382 {
16383 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16384 if (SWIG_arg_fail(2)) SWIG_fail;
16385 }
16386 {
16387 arg3 = (int)(SWIG_As_int(obj2));
16388 if (SWIG_arg_fail(3)) SWIG_fail;
16389 }
d55e5bfc
RD
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
16392 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16393
16394 wxPyEndAllowThreads(__tstate);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 }
16397 {
16398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16399 }
16400 return resultobj;
16401 fail:
16402 return NULL;
16403}
16404
16405
6e0de3df 16406static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16407 PyObject *resultobj;
6e0de3df 16408 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16409 wxSize *arg2 = 0 ;
16410 wxSize temp2 ;
16411 PyObject * obj0 = 0 ;
16412 PyObject * obj1 = 0 ;
16413 char *kwnames[] = {
16414 (char *) "self",(char *) "size", NULL
16415 };
16416
6e0de3df 16417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16420 {
16421 arg2 = &temp2;
16422 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16423 }
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 (arg1)->SetPageSize((wxSize const &)*arg2);
16427
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 Py_INCREF(Py_None); resultobj = Py_None;
16432 return resultobj;
16433 fail:
16434 return NULL;
16435}
16436
16437
6e0de3df 16438static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16439 PyObject *resultobj;
6e0de3df 16440 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16441 wxSize *arg2 = 0 ;
16442 wxSize result;
16443 wxSize temp2 ;
16444 PyObject * obj0 = 0 ;
16445 PyObject * obj1 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self",(char *) "sizePage", NULL
16448 };
16449
6e0de3df 16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16452 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16453 {
16454 arg2 = &temp2;
16455 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16456 }
16457 {
16458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16459 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d55e5bfc
RD
16460
16461 wxPyEndAllowThreads(__tstate);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 }
16464 {
16465 wxSize * resultptr;
36ed4f51 16466 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
16467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16468 }
16469 return resultobj;
16470 fail:
16471 return NULL;
16472}
16473
16474
6e0de3df 16475static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16476 PyObject *resultobj;
6e0de3df 16477 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16478 size_t arg2 ;
16479 bool result;
16480 PyObject * obj0 = 0 ;
16481 PyObject * obj1 = 0 ;
16482 char *kwnames[] = {
16483 (char *) "self",(char *) "n", NULL
16484 };
16485
6e0de3df 16486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16488 if (SWIG_arg_fail(1)) SWIG_fail;
16489 {
16490 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16491 if (SWIG_arg_fail(2)) SWIG_fail;
16492 }
d55e5bfc
RD
16493 {
16494 PyThreadState* __tstate = wxPyBeginAllowThreads();
16495 result = (bool)(arg1)->DeletePage(arg2);
16496
16497 wxPyEndAllowThreads(__tstate);
16498 if (PyErr_Occurred()) SWIG_fail;
16499 }
16500 {
16501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16502 }
16503 return resultobj;
16504 fail:
16505 return NULL;
16506}
16507
16508
6e0de3df 16509static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16510 PyObject *resultobj;
6e0de3df 16511 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16512 size_t arg2 ;
16513 bool result;
16514 PyObject * obj0 = 0 ;
16515 PyObject * obj1 = 0 ;
16516 char *kwnames[] = {
16517 (char *) "self",(char *) "n", NULL
16518 };
16519
6e0de3df 16520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16522 if (SWIG_arg_fail(1)) SWIG_fail;
16523 {
16524 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16525 if (SWIG_arg_fail(2)) SWIG_fail;
16526 }
d55e5bfc
RD
16527 {
16528 PyThreadState* __tstate = wxPyBeginAllowThreads();
16529 result = (bool)(arg1)->RemovePage(arg2);
16530
16531 wxPyEndAllowThreads(__tstate);
16532 if (PyErr_Occurred()) SWIG_fail;
16533 }
16534 {
16535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16536 }
16537 return resultobj;
16538 fail:
16539 return NULL;
16540}
16541
16542
6e0de3df 16543static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16544 PyObject *resultobj;
6e0de3df 16545 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16546 bool result;
16547 PyObject * obj0 = 0 ;
16548 char *kwnames[] = {
16549 (char *) "self", NULL
16550 };
16551
6e0de3df 16552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
16553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16554 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16555 {
16556 PyThreadState* __tstate = wxPyBeginAllowThreads();
16557 result = (bool)(arg1)->DeleteAllPages();
16558
16559 wxPyEndAllowThreads(__tstate);
16560 if (PyErr_Occurred()) SWIG_fail;
16561 }
16562 {
16563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16564 }
16565 return resultobj;
16566 fail:
16567 return NULL;
16568}
16569
16570
6e0de3df 16571static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16572 PyObject *resultobj;
6e0de3df 16573 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16574 wxWindow *arg2 = (wxWindow *) 0 ;
16575 wxString *arg3 = 0 ;
b411df4a 16576 bool arg4 = (bool) false ;
d55e5bfc
RD
16577 int arg5 = (int) -1 ;
16578 bool result;
b411df4a 16579 bool temp3 = false ;
d55e5bfc
RD
16580 PyObject * obj0 = 0 ;
16581 PyObject * obj1 = 0 ;
16582 PyObject * obj2 = 0 ;
16583 PyObject * obj3 = 0 ;
16584 PyObject * obj4 = 0 ;
16585 char *kwnames[] = {
16586 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16587 };
16588
6e0de3df 16589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16591 if (SWIG_arg_fail(1)) SWIG_fail;
16592 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16593 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16594 {
16595 arg3 = wxString_in_helper(obj2);
16596 if (arg3 == NULL) SWIG_fail;
b411df4a 16597 temp3 = true;
d55e5bfc
RD
16598 }
16599 if (obj3) {
36ed4f51
RD
16600 {
16601 arg4 = (bool)(SWIG_As_bool(obj3));
16602 if (SWIG_arg_fail(4)) SWIG_fail;
16603 }
d55e5bfc
RD
16604 }
16605 if (obj4) {
36ed4f51
RD
16606 {
16607 arg5 = (int)(SWIG_As_int(obj4));
16608 if (SWIG_arg_fail(5)) SWIG_fail;
16609 }
d55e5bfc
RD
16610 }
16611 {
16612 PyThreadState* __tstate = wxPyBeginAllowThreads();
16613 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16614
16615 wxPyEndAllowThreads(__tstate);
16616 if (PyErr_Occurred()) SWIG_fail;
16617 }
16618 {
16619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16620 }
16621 {
16622 if (temp3)
16623 delete arg3;
16624 }
16625 return resultobj;
16626 fail:
16627 {
16628 if (temp3)
16629 delete arg3;
16630 }
16631 return NULL;
16632}
16633
16634
6e0de3df 16635static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16636 PyObject *resultobj;
6e0de3df 16637 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16638 size_t arg2 ;
16639 wxWindow *arg3 = (wxWindow *) 0 ;
16640 wxString *arg4 = 0 ;
b411df4a 16641 bool arg5 = (bool) false ;
d55e5bfc
RD
16642 int arg6 = (int) -1 ;
16643 bool result;
b411df4a 16644 bool temp4 = false ;
d55e5bfc
RD
16645 PyObject * obj0 = 0 ;
16646 PyObject * obj1 = 0 ;
16647 PyObject * obj2 = 0 ;
16648 PyObject * obj3 = 0 ;
16649 PyObject * obj4 = 0 ;
16650 PyObject * obj5 = 0 ;
16651 char *kwnames[] = {
16652 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16653 };
16654
6e0de3df 16655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
16656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16657 if (SWIG_arg_fail(1)) SWIG_fail;
16658 {
16659 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16660 if (SWIG_arg_fail(2)) SWIG_fail;
16661 }
16662 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16663 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16664 {
16665 arg4 = wxString_in_helper(obj3);
16666 if (arg4 == NULL) SWIG_fail;
b411df4a 16667 temp4 = true;
d55e5bfc
RD
16668 }
16669 if (obj4) {
36ed4f51
RD
16670 {
16671 arg5 = (bool)(SWIG_As_bool(obj4));
16672 if (SWIG_arg_fail(5)) SWIG_fail;
16673 }
d55e5bfc
RD
16674 }
16675 if (obj5) {
36ed4f51
RD
16676 {
16677 arg6 = (int)(SWIG_As_int(obj5));
16678 if (SWIG_arg_fail(6)) SWIG_fail;
16679 }
d55e5bfc
RD
16680 }
16681 {
16682 PyThreadState* __tstate = wxPyBeginAllowThreads();
16683 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16684
16685 wxPyEndAllowThreads(__tstate);
16686 if (PyErr_Occurred()) SWIG_fail;
16687 }
16688 {
16689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16690 }
16691 {
16692 if (temp4)
16693 delete arg4;
16694 }
16695 return resultobj;
16696 fail:
16697 {
16698 if (temp4)
16699 delete arg4;
16700 }
16701 return NULL;
16702}
16703
16704
6e0de3df 16705static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16706 PyObject *resultobj;
6e0de3df 16707 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16708 size_t arg2 ;
16709 int result;
16710 PyObject * obj0 = 0 ;
16711 PyObject * obj1 = 0 ;
16712 char *kwnames[] = {
16713 (char *) "self",(char *) "n", NULL
16714 };
16715
6e0de3df 16716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16718 if (SWIG_arg_fail(1)) SWIG_fail;
16719 {
16720 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16721 if (SWIG_arg_fail(2)) SWIG_fail;
16722 }
d55e5bfc
RD
16723 {
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 result = (int)(arg1)->SetSelection(arg2);
16726
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
36ed4f51
RD
16730 {
16731 resultobj = SWIG_From_int((int)(result));
16732 }
d55e5bfc
RD
16733 return resultobj;
16734 fail:
16735 return NULL;
16736}
16737
16738
6e0de3df 16739static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16740 PyObject *resultobj;
6e0de3df 16741 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
b411df4a 16742 bool arg2 = (bool) true ;
d55e5bfc
RD
16743 PyObject * obj0 = 0 ;
16744 PyObject * obj1 = 0 ;
16745 char *kwnames[] = {
16746 (char *) "self",(char *) "forward", NULL
16747 };
16748
6e0de3df 16749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16751 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16752 if (obj1) {
36ed4f51
RD
16753 {
16754 arg2 = (bool)(SWIG_As_bool(obj1));
16755 if (SWIG_arg_fail(2)) SWIG_fail;
16756 }
d55e5bfc
RD
16757 }
16758 {
16759 PyThreadState* __tstate = wxPyBeginAllowThreads();
16760 (arg1)->AdvanceSelection(arg2);
16761
16762 wxPyEndAllowThreads(__tstate);
16763 if (PyErr_Occurred()) SWIG_fail;
16764 }
16765 Py_INCREF(Py_None); resultobj = Py_None;
16766 return resultobj;
16767 fail:
16768 return NULL;
16769}
16770
16771
6e0de3df 16772static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 16773 PyObject *resultobj;
36ed4f51 16774 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16775 wxVisualAttributes result;
16776 PyObject * obj0 = 0 ;
16777 char *kwnames[] = {
16778 (char *) "variant", NULL
16779 };
16780
6e0de3df 16781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
f20a2e1f 16782 if (obj0) {
36ed4f51
RD
16783 {
16784 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16785 if (SWIG_arg_fail(1)) SWIG_fail;
16786 }
f20a2e1f
RD
16787 }
16788 {
0439c23b 16789 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16791 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
f20a2e1f
RD
16792
16793 wxPyEndAllowThreads(__tstate);
110da5b0 16794 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16795 }
16796 {
16797 wxVisualAttributes * resultptr;
36ed4f51 16798 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
16799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16800 }
16801 return resultobj;
16802 fail:
16803 return NULL;
16804}
16805
16806
6e0de3df 16807static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16808 PyObject *obj;
16809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6e0de3df 16810 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d55e5bfc
RD
16811 Py_INCREF(obj);
16812 return Py_BuildValue((char *)"");
16813}
6e0de3df 16814static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16815 PyObject *resultobj;
16816 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16817 int arg2 = (int) 0 ;
16818 int arg3 = (int) -1 ;
16819 int arg4 = (int) -1 ;
6e0de3df 16820 wxBookCtrlBaseEvent *result;
d55e5bfc
RD
16821 PyObject * obj0 = 0 ;
16822 PyObject * obj1 = 0 ;
16823 PyObject * obj2 = 0 ;
16824 PyObject * obj3 = 0 ;
16825 char *kwnames[] = {
16826 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16827 };
16828
6e0de3df 16829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 16830 if (obj0) {
36ed4f51
RD
16831 {
16832 arg1 = (wxEventType)(SWIG_As_int(obj0));
16833 if (SWIG_arg_fail(1)) SWIG_fail;
16834 }
d55e5bfc
RD
16835 }
16836 if (obj1) {
36ed4f51
RD
16837 {
16838 arg2 = (int)(SWIG_As_int(obj1));
16839 if (SWIG_arg_fail(2)) SWIG_fail;
16840 }
d55e5bfc
RD
16841 }
16842 if (obj2) {
36ed4f51
RD
16843 {
16844 arg3 = (int)(SWIG_As_int(obj2));
16845 if (SWIG_arg_fail(3)) SWIG_fail;
16846 }
d55e5bfc
RD
16847 }
16848 if (obj3) {
36ed4f51
RD
16849 {
16850 arg4 = (int)(SWIG_As_int(obj3));
16851 if (SWIG_arg_fail(4)) SWIG_fail;
16852 }
d55e5bfc
RD
16853 }
16854 {
16855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16856 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
16857
16858 wxPyEndAllowThreads(__tstate);
16859 if (PyErr_Occurred()) SWIG_fail;
16860 }
6e0de3df 16861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d55e5bfc
RD
16862 return resultobj;
16863 fail:
16864 return NULL;
16865}
16866
16867
6e0de3df 16868static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16869 PyObject *resultobj;
6e0de3df 16870 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16871 int result;
16872 PyObject * obj0 = 0 ;
16873 char *kwnames[] = {
16874 (char *) "self", NULL
16875 };
16876
6e0de3df 16877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
16878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16879 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16880 {
16881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16882 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d55e5bfc
RD
16883
16884 wxPyEndAllowThreads(__tstate);
16885 if (PyErr_Occurred()) SWIG_fail;
16886 }
36ed4f51
RD
16887 {
16888 resultobj = SWIG_From_int((int)(result));
16889 }
d55e5bfc
RD
16890 return resultobj;
16891 fail:
16892 return NULL;
16893}
16894
16895
6e0de3df 16896static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16897 PyObject *resultobj;
6e0de3df 16898 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16899 int arg2 ;
16900 PyObject * obj0 = 0 ;
16901 PyObject * obj1 = 0 ;
16902 char *kwnames[] = {
16903 (char *) "self",(char *) "nSel", NULL
16904 };
16905
6e0de3df 16906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16908 if (SWIG_arg_fail(1)) SWIG_fail;
16909 {
16910 arg2 = (int)(SWIG_As_int(obj1));
16911 if (SWIG_arg_fail(2)) SWIG_fail;
16912 }
d55e5bfc
RD
16913 {
16914 PyThreadState* __tstate = wxPyBeginAllowThreads();
16915 (arg1)->SetSelection(arg2);
16916
16917 wxPyEndAllowThreads(__tstate);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 }
16920 Py_INCREF(Py_None); resultobj = Py_None;
16921 return resultobj;
16922 fail:
16923 return NULL;
16924}
16925
16926
6e0de3df 16927static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16928 PyObject *resultobj;
6e0de3df 16929 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16930 int result;
16931 PyObject * obj0 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "self", NULL
16934 };
16935
6e0de3df 16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
16937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16938 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16939 {
16940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16941 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d55e5bfc
RD
16942
16943 wxPyEndAllowThreads(__tstate);
16944 if (PyErr_Occurred()) SWIG_fail;
16945 }
36ed4f51
RD
16946 {
16947 resultobj = SWIG_From_int((int)(result));
16948 }
d55e5bfc
RD
16949 return resultobj;
16950 fail:
16951 return NULL;
16952}
16953
16954
6e0de3df 16955static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16956 PyObject *resultobj;
6e0de3df 16957 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16958 int arg2 ;
16959 PyObject * obj0 = 0 ;
16960 PyObject * obj1 = 0 ;
16961 char *kwnames[] = {
16962 (char *) "self",(char *) "nOldSel", NULL
16963 };
16964
6e0de3df 16965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16967 if (SWIG_arg_fail(1)) SWIG_fail;
16968 {
16969 arg2 = (int)(SWIG_As_int(obj1));
16970 if (SWIG_arg_fail(2)) SWIG_fail;
16971 }
d55e5bfc
RD
16972 {
16973 PyThreadState* __tstate = wxPyBeginAllowThreads();
16974 (arg1)->SetOldSelection(arg2);
16975
16976 wxPyEndAllowThreads(__tstate);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 Py_INCREF(Py_None); resultobj = Py_None;
16980 return resultobj;
16981 fail:
16982 return NULL;
16983}
16984
16985
6e0de3df 16986static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16987 PyObject *obj;
16988 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6e0de3df 16989 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d55e5bfc
RD
16990 Py_INCREF(obj);
16991 return Py_BuildValue((char *)"");
16992}
c370783e 16993static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16994 PyObject *resultobj;
16995 wxWindow *arg1 = (wxWindow *) 0 ;
16996 int arg2 = (int) -1 ;
16997 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16998 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16999 wxSize const &arg4_defvalue = wxDefaultSize ;
17000 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17001 long arg5 = (long) 0 ;
51b83b37 17002 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17003 wxString *arg6 = (wxString *) &arg6_defvalue ;
17004 wxNotebook *result;
17005 wxPoint temp3 ;
17006 wxSize temp4 ;
b411df4a 17007 bool temp6 = false ;
d55e5bfc
RD
17008 PyObject * obj0 = 0 ;
17009 PyObject * obj1 = 0 ;
17010 PyObject * obj2 = 0 ;
17011 PyObject * obj3 = 0 ;
17012 PyObject * obj4 = 0 ;
17013 PyObject * obj5 = 0 ;
17014 char *kwnames[] = {
17015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17016 };
17017
17018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17020 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17021 if (obj1) {
36ed4f51
RD
17022 {
17023 arg2 = (int)(SWIG_As_int(obj1));
17024 if (SWIG_arg_fail(2)) SWIG_fail;
17025 }
d55e5bfc
RD
17026 }
17027 if (obj2) {
17028 {
17029 arg3 = &temp3;
17030 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17031 }
17032 }
17033 if (obj3) {
17034 {
17035 arg4 = &temp4;
17036 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17037 }
17038 }
17039 if (obj4) {
36ed4f51
RD
17040 {
17041 arg5 = (long)(SWIG_As_long(obj4));
17042 if (SWIG_arg_fail(5)) SWIG_fail;
17043 }
d55e5bfc
RD
17044 }
17045 if (obj5) {
17046 {
17047 arg6 = wxString_in_helper(obj5);
17048 if (arg6 == NULL) SWIG_fail;
b411df4a 17049 temp6 = true;
d55e5bfc
RD
17050 }
17051 }
17052 {
0439c23b 17053 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17054 PyThreadState* __tstate = wxPyBeginAllowThreads();
17055 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17056
17057 wxPyEndAllowThreads(__tstate);
110da5b0 17058 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17059 }
b0f7404b 17060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17061 {
17062 if (temp6)
17063 delete arg6;
17064 }
17065 return resultobj;
17066 fail:
17067 {
17068 if (temp6)
17069 delete arg6;
17070 }
17071 return NULL;
17072}
17073
17074
c370783e 17075static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17076 PyObject *resultobj;
17077 wxNotebook *result;
17078 char *kwnames[] = {
17079 NULL
17080 };
17081
17082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17083 {
0439c23b 17084 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 result = (wxNotebook *)new wxNotebook();
17087
17088 wxPyEndAllowThreads(__tstate);
110da5b0 17089 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17090 }
b0f7404b 17091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17092 return resultobj;
17093 fail:
17094 return NULL;
17095}
17096
17097
c370783e 17098static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17099 PyObject *resultobj;
17100 wxNotebook *arg1 = (wxNotebook *) 0 ;
17101 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 17102 int arg3 = (int) -1 ;
d55e5bfc
RD
17103 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17104 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17105 wxSize const &arg5_defvalue = wxDefaultSize ;
17106 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17107 long arg6 = (long) 0 ;
51b83b37 17108 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17109 wxString *arg7 = (wxString *) &arg7_defvalue ;
17110 bool result;
17111 wxPoint temp4 ;
17112 wxSize temp5 ;
b411df4a 17113 bool temp7 = false ;
d55e5bfc
RD
17114 PyObject * obj0 = 0 ;
17115 PyObject * obj1 = 0 ;
17116 PyObject * obj2 = 0 ;
17117 PyObject * obj3 = 0 ;
17118 PyObject * obj4 = 0 ;
17119 PyObject * obj5 = 0 ;
17120 PyObject * obj6 = 0 ;
17121 char *kwnames[] = {
17122 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17123 };
17124
bfddbb17 17125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17127 if (SWIG_arg_fail(1)) SWIG_fail;
17128 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17129 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17130 if (obj2) {
36ed4f51
RD
17131 {
17132 arg3 = (int)(SWIG_As_int(obj2));
17133 if (SWIG_arg_fail(3)) SWIG_fail;
17134 }
bfddbb17 17135 }
d55e5bfc
RD
17136 if (obj3) {
17137 {
17138 arg4 = &temp4;
17139 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17140 }
17141 }
17142 if (obj4) {
17143 {
17144 arg5 = &temp5;
17145 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17146 }
17147 }
17148 if (obj5) {
36ed4f51
RD
17149 {
17150 arg6 = (long)(SWIG_As_long(obj5));
17151 if (SWIG_arg_fail(6)) SWIG_fail;
17152 }
d55e5bfc
RD
17153 }
17154 if (obj6) {
17155 {
17156 arg7 = wxString_in_helper(obj6);
17157 if (arg7 == NULL) SWIG_fail;
b411df4a 17158 temp7 = true;
d55e5bfc
RD
17159 }
17160 }
17161 {
17162 PyThreadState* __tstate = wxPyBeginAllowThreads();
17163 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17164
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 {
17169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17170 }
17171 {
17172 if (temp7)
17173 delete arg7;
17174 }
17175 return resultobj;
17176 fail:
17177 {
17178 if (temp7)
17179 delete arg7;
17180 }
17181 return NULL;
17182}
17183
17184
c370783e 17185static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17186 PyObject *resultobj;
17187 wxNotebook *arg1 = (wxNotebook *) 0 ;
17188 int result;
17189 PyObject * obj0 = 0 ;
17190 char *kwnames[] = {
17191 (char *) "self", NULL
17192 };
17193
17194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
17195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17197 {
17198 PyThreadState* __tstate = wxPyBeginAllowThreads();
17199 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17200
17201 wxPyEndAllowThreads(__tstate);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 }
36ed4f51
RD
17204 {
17205 resultobj = SWIG_From_int((int)(result));
17206 }
d55e5bfc
RD
17207 return resultobj;
17208 fail:
17209 return NULL;
17210}
17211
17212
c370783e 17213static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17214 PyObject *resultobj;
17215 wxNotebook *arg1 = (wxNotebook *) 0 ;
17216 wxSize *arg2 = 0 ;
17217 wxSize temp2 ;
17218 PyObject * obj0 = 0 ;
17219 PyObject * obj1 = 0 ;
17220 char *kwnames[] = {
17221 (char *) "self",(char *) "padding", NULL
17222 };
17223
17224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17226 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17227 {
17228 arg2 = &temp2;
17229 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17230 }
17231 {
17232 PyThreadState* __tstate = wxPyBeginAllowThreads();
17233 (arg1)->SetPadding((wxSize const &)*arg2);
17234
17235 wxPyEndAllowThreads(__tstate);
17236 if (PyErr_Occurred()) SWIG_fail;
17237 }
17238 Py_INCREF(Py_None); resultobj = Py_None;
17239 return resultobj;
17240 fail:
17241 return NULL;
17242}
17243
17244
c370783e 17245static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17246 PyObject *resultobj;
17247 wxNotebook *arg1 = (wxNotebook *) 0 ;
17248 wxSize *arg2 = 0 ;
17249 wxSize temp2 ;
17250 PyObject * obj0 = 0 ;
17251 PyObject * obj1 = 0 ;
17252 char *kwnames[] = {
17253 (char *) "self",(char *) "sz", NULL
17254 };
17255
17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17259 {
17260 arg2 = &temp2;
17261 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17262 }
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 (arg1)->SetTabSize((wxSize const &)*arg2);
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 Py_INCREF(Py_None); resultobj = Py_None;
17271 return resultobj;
17272 fail:
17273 return NULL;
17274}
17275
17276
c370783e 17277static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17278 PyObject *resultobj;
17279 wxNotebook *arg1 = (wxNotebook *) 0 ;
17280 wxPoint *arg2 = 0 ;
17281 long *arg3 = (long *) 0 ;
17282 int result;
17283 wxPoint temp2 ;
17284 long temp3 ;
c370783e 17285 int res3 = 0 ;
d55e5bfc
RD
17286 PyObject * obj0 = 0 ;
17287 PyObject * obj1 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self",(char *) "pt", NULL
17290 };
17291
c370783e 17292 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17295 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17296 {
17297 arg2 = &temp2;
17298 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17299 }
17300 {
17301 PyThreadState* __tstate = wxPyBeginAllowThreads();
17302 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17303
17304 wxPyEndAllowThreads(__tstate);
17305 if (PyErr_Occurred()) SWIG_fail;
17306 }
36ed4f51
RD
17307 {
17308 resultobj = SWIG_From_int((int)(result));
17309 }
c370783e
RD
17310 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17311 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
17312 return resultobj;
17313 fail:
17314 return NULL;
17315}
17316
17317
c370783e 17318static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17319 PyObject *resultobj;
17320 wxNotebook *arg1 = (wxNotebook *) 0 ;
17321 wxSize *arg2 = 0 ;
17322 wxSize result;
17323 wxSize temp2 ;
17324 PyObject * obj0 = 0 ;
17325 PyObject * obj1 = 0 ;
17326 char *kwnames[] = {
17327 (char *) "self",(char *) "sizePage", NULL
17328 };
17329
17330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17333 {
17334 arg2 = &temp2;
17335 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17336 }
17337 {
17338 PyThreadState* __tstate = wxPyBeginAllowThreads();
17339 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17340
17341 wxPyEndAllowThreads(__tstate);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 }
17344 {
17345 wxSize * resultptr;
36ed4f51 17346 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
17347 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17348 }
17349 return resultobj;
17350 fail:
17351 return NULL;
17352}
17353
17354
091fdbfa
RD
17355static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17356 PyObject *resultobj;
17357 wxNotebook *arg1 = (wxNotebook *) 0 ;
17358 wxColour result;
17359 PyObject * obj0 = 0 ;
17360 char *kwnames[] = {
17361 (char *) "self", NULL
17362 };
17363
17364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17366 if (SWIG_arg_fail(1)) SWIG_fail;
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17370
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 {
17375 wxColour * resultptr;
17376 resultptr = new wxColour((wxColour &)(result));
17377 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17378 }
17379 return resultobj;
17380 fail:
17381 return NULL;
17382}
17383
17384
c370783e 17385static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 17386 PyObject *resultobj;
36ed4f51 17387 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17388 wxVisualAttributes result;
17389 PyObject * obj0 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "variant", NULL
17392 };
17393
17394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17395 if (obj0) {
36ed4f51
RD
17396 {
17397 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17398 if (SWIG_arg_fail(1)) SWIG_fail;
17399 }
f20a2e1f
RD
17400 }
17401 {
0439c23b 17402 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
17403 PyThreadState* __tstate = wxPyBeginAllowThreads();
17404 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17405
17406 wxPyEndAllowThreads(__tstate);
110da5b0 17407 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17408 }
17409 {
17410 wxVisualAttributes * resultptr;
36ed4f51 17411 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
17412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17413 }
17414 return resultobj;
17415 fail:
17416 return NULL;
17417}
17418
17419
c370783e 17420static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17421 PyObject *obj;
17422 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17423 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17424 Py_INCREF(obj);
17425 return Py_BuildValue((char *)"");
17426}
c370783e 17427static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17428 PyObject *resultobj;
17429 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17430 int arg2 = (int) 0 ;
17431 int arg3 = (int) -1 ;
17432 int arg4 = (int) -1 ;
17433 wxNotebookEvent *result;
17434 PyObject * obj0 = 0 ;
17435 PyObject * obj1 = 0 ;
17436 PyObject * obj2 = 0 ;
17437 PyObject * obj3 = 0 ;
17438 char *kwnames[] = {
17439 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17440 };
17441
17442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17443 if (obj0) {
36ed4f51
RD
17444 {
17445 arg1 = (wxEventType)(SWIG_As_int(obj0));
17446 if (SWIG_arg_fail(1)) SWIG_fail;
17447 }
d55e5bfc
RD
17448 }
17449 if (obj1) {
36ed4f51
RD
17450 {
17451 arg2 = (int)(SWIG_As_int(obj1));
17452 if (SWIG_arg_fail(2)) SWIG_fail;
17453 }
d55e5bfc
RD
17454 }
17455 if (obj2) {
36ed4f51
RD
17456 {
17457 arg3 = (int)(SWIG_As_int(obj2));
17458 if (SWIG_arg_fail(3)) SWIG_fail;
17459 }
d55e5bfc
RD
17460 }
17461 if (obj3) {
36ed4f51
RD
17462 {
17463 arg4 = (int)(SWIG_As_int(obj3));
17464 if (SWIG_arg_fail(4)) SWIG_fail;
17465 }
d55e5bfc
RD
17466 }
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17475 return resultobj;
17476 fail:
17477 return NULL;
17478}
17479
17480
c370783e 17481static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17482 PyObject *obj;
17483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17484 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17485 Py_INCREF(obj);
17486 return Py_BuildValue((char *)"");
17487}
c370783e 17488static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17489 PyObject *resultobj;
17490 wxWindow *arg1 = (wxWindow *) 0 ;
17491 int arg2 = (int) -1 ;
17492 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17493 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17494 wxSize const &arg4_defvalue = wxDefaultSize ;
17495 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17496 long arg5 = (long) 0 ;
17497 wxString const &arg6_defvalue = wxPyEmptyString ;
17498 wxString *arg6 = (wxString *) &arg6_defvalue ;
17499 wxListbook *result;
17500 wxPoint temp3 ;
17501 wxSize temp4 ;
b411df4a 17502 bool temp6 = false ;
d55e5bfc
RD
17503 PyObject * obj0 = 0 ;
17504 PyObject * obj1 = 0 ;
17505 PyObject * obj2 = 0 ;
17506 PyObject * obj3 = 0 ;
17507 PyObject * obj4 = 0 ;
17508 PyObject * obj5 = 0 ;
17509 char *kwnames[] = {
17510 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17511 };
17512
17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17515 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17516 if (obj1) {
36ed4f51
RD
17517 {
17518 arg2 = (int)(SWIG_As_int(obj1));
17519 if (SWIG_arg_fail(2)) SWIG_fail;
17520 }
d55e5bfc
RD
17521 }
17522 if (obj2) {
17523 {
17524 arg3 = &temp3;
17525 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17526 }
17527 }
17528 if (obj3) {
17529 {
17530 arg4 = &temp4;
17531 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17532 }
17533 }
17534 if (obj4) {
36ed4f51
RD
17535 {
17536 arg5 = (long)(SWIG_As_long(obj4));
17537 if (SWIG_arg_fail(5)) SWIG_fail;
17538 }
d55e5bfc
RD
17539 }
17540 if (obj5) {
17541 {
17542 arg6 = wxString_in_helper(obj5);
17543 if (arg6 == NULL) SWIG_fail;
b411df4a 17544 temp6 = true;
d55e5bfc
RD
17545 }
17546 }
17547 {
0439c23b 17548 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17551
17552 wxPyEndAllowThreads(__tstate);
110da5b0 17553 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17554 }
17555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17556 {
17557 if (temp6)
17558 delete arg6;
17559 }
17560 return resultobj;
17561 fail:
17562 {
17563 if (temp6)
17564 delete arg6;
17565 }
17566 return NULL;
17567}
17568
17569
c370783e 17570static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17571 PyObject *resultobj;
17572 wxListbook *result;
17573 char *kwnames[] = {
17574 NULL
17575 };
17576
17577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17578 {
0439c23b 17579 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 result = (wxListbook *)new wxListbook();
17582
17583 wxPyEndAllowThreads(__tstate);
110da5b0 17584 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17585 }
17586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17587 return resultobj;
17588 fail:
17589 return NULL;
17590}
17591
17592
c370783e 17593static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17594 PyObject *resultobj;
17595 wxListbook *arg1 = (wxListbook *) 0 ;
17596 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 17597 int arg3 = (int) -1 ;
d55e5bfc
RD
17598 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17599 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17600 wxSize const &arg5_defvalue = wxDefaultSize ;
17601 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17602 long arg6 = (long) 0 ;
17603 wxString const &arg7_defvalue = wxPyEmptyString ;
17604 wxString *arg7 = (wxString *) &arg7_defvalue ;
17605 bool result;
17606 wxPoint temp4 ;
17607 wxSize temp5 ;
b411df4a 17608 bool temp7 = false ;
d55e5bfc
RD
17609 PyObject * obj0 = 0 ;
17610 PyObject * obj1 = 0 ;
17611 PyObject * obj2 = 0 ;
17612 PyObject * obj3 = 0 ;
17613 PyObject * obj4 = 0 ;
17614 PyObject * obj5 = 0 ;
17615 PyObject * obj6 = 0 ;
17616 char *kwnames[] = {
17617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17618 };
17619
bfddbb17 17620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17622 if (SWIG_arg_fail(1)) SWIG_fail;
17623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17624 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17625 if (obj2) {
36ed4f51
RD
17626 {
17627 arg3 = (int)(SWIG_As_int(obj2));
17628 if (SWIG_arg_fail(3)) SWIG_fail;
17629 }
bfddbb17 17630 }
d55e5bfc
RD
17631 if (obj3) {
17632 {
17633 arg4 = &temp4;
17634 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17635 }
17636 }
17637 if (obj4) {
17638 {
17639 arg5 = &temp5;
17640 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17641 }
17642 }
17643 if (obj5) {
36ed4f51
RD
17644 {
17645 arg6 = (long)(SWIG_As_long(obj5));
17646 if (SWIG_arg_fail(6)) SWIG_fail;
17647 }
d55e5bfc
RD
17648 }
17649 if (obj6) {
17650 {
17651 arg7 = wxString_in_helper(obj6);
17652 if (arg7 == NULL) SWIG_fail;
b411df4a 17653 temp7 = true;
d55e5bfc
RD
17654 }
17655 }
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 {
17664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17665 }
17666 {
17667 if (temp7)
17668 delete arg7;
17669 }
17670 return resultobj;
17671 fail:
17672 {
17673 if (temp7)
17674 delete arg7;
17675 }
17676 return NULL;
17677}
17678
17679
c370783e 17680static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17681 PyObject *resultobj;
17682 wxListbook *arg1 = (wxListbook *) 0 ;
17683 bool result;
17684 PyObject * obj0 = 0 ;
17685 char *kwnames[] = {
17686 (char *) "self", NULL
17687 };
17688
17689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
17690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 result = (bool)((wxListbook const *)arg1)->IsVertical();
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 {
17700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17701 }
17702 return resultobj;
17703 fail:
17704 return NULL;
17705}
17706
17707
44bf767a
RD
17708static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17709 PyObject *resultobj;
17710 wxListbook *arg1 = (wxListbook *) 0 ;
17711 wxListView *result;
17712 PyObject * obj0 = 0 ;
17713 char *kwnames[] = {
17714 (char *) "self", NULL
17715 };
17716
17717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
36ed4f51
RD
17718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17719 if (SWIG_arg_fail(1)) SWIG_fail;
44bf767a
RD
17720 {
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 result = (wxListView *)(arg1)->GetListView();
17723
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17728 return resultobj;
17729 fail:
17730 return NULL;
17731}
17732
17733
c370783e 17734static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17735 PyObject *obj;
17736 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17737 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17738 Py_INCREF(obj);
17739 return Py_BuildValue((char *)"");
17740}
c370783e 17741static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17742 PyObject *resultobj;
17743 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17744 int arg2 = (int) 0 ;
17745 int arg3 = (int) -1 ;
17746 int arg4 = (int) -1 ;
17747 wxListbookEvent *result;
17748 PyObject * obj0 = 0 ;
17749 PyObject * obj1 = 0 ;
17750 PyObject * obj2 = 0 ;
17751 PyObject * obj3 = 0 ;
17752 char *kwnames[] = {
17753 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17754 };
17755
17756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17757 if (obj0) {
36ed4f51
RD
17758 {
17759 arg1 = (wxEventType)(SWIG_As_int(obj0));
17760 if (SWIG_arg_fail(1)) SWIG_fail;
17761 }
d55e5bfc
RD
17762 }
17763 if (obj1) {
36ed4f51
RD
17764 {
17765 arg2 = (int)(SWIG_As_int(obj1));
17766 if (SWIG_arg_fail(2)) SWIG_fail;
17767 }
d55e5bfc
RD
17768 }
17769 if (obj2) {
36ed4f51
RD
17770 {
17771 arg3 = (int)(SWIG_As_int(obj2));
17772 if (SWIG_arg_fail(3)) SWIG_fail;
17773 }
d55e5bfc
RD
17774 }
17775 if (obj3) {
36ed4f51
RD
17776 {
17777 arg4 = (int)(SWIG_As_int(obj3));
17778 if (SWIG_arg_fail(4)) SWIG_fail;
17779 }
d55e5bfc
RD
17780 }
17781 {
17782 PyThreadState* __tstate = wxPyBeginAllowThreads();
17783 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17784
17785 wxPyEndAllowThreads(__tstate);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17789 return resultobj;
17790 fail:
17791 return NULL;
17792}
17793
17794
c370783e 17795static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17796 PyObject *obj;
17797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17798 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17799 Py_INCREF(obj);
17800 return Py_BuildValue((char *)"");
17801}
b411df4a
RD
17802static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17803 PyObject *resultobj;
17804 wxWindow *arg1 = (wxWindow *) 0 ;
17805 int arg2 ;
17806 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17807 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17808 wxSize const &arg4_defvalue = wxDefaultSize ;
17809 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17810 long arg5 = (long) 0 ;
17811 wxString const &arg6_defvalue = wxPyEmptyString ;
17812 wxString *arg6 = (wxString *) &arg6_defvalue ;
17813 wxChoicebook *result;
17814 wxPoint temp3 ;
17815 wxSize temp4 ;
17816 bool temp6 = false ;
17817 PyObject * obj0 = 0 ;
17818 PyObject * obj1 = 0 ;
17819 PyObject * obj2 = 0 ;
17820 PyObject * obj3 = 0 ;
17821 PyObject * obj4 = 0 ;
17822 PyObject * obj5 = 0 ;
17823 char *kwnames[] = {
17824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17825 };
17826
17827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17829 if (SWIG_arg_fail(1)) SWIG_fail;
17830 {
17831 arg2 = (int)(SWIG_As_int(obj1));
17832 if (SWIG_arg_fail(2)) SWIG_fail;
17833 }
b411df4a
RD
17834 if (obj2) {
17835 {
17836 arg3 = &temp3;
17837 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17838 }
17839 }
17840 if (obj3) {
17841 {
17842 arg4 = &temp4;
17843 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17844 }
17845 }
17846 if (obj4) {
36ed4f51
RD
17847 {
17848 arg5 = (long)(SWIG_As_long(obj4));
17849 if (SWIG_arg_fail(5)) SWIG_fail;
17850 }
b411df4a
RD
17851 }
17852 if (obj5) {
17853 {
17854 arg6 = wxString_in_helper(obj5);
17855 if (arg6 == NULL) SWIG_fail;
17856 temp6 = true;
17857 }
17858 }
17859 {
17860 if (!wxPyCheckForApp()) SWIG_fail;
17861 PyThreadState* __tstate = wxPyBeginAllowThreads();
17862 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17863
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17868 {
17869 if (temp6)
17870 delete arg6;
17871 }
17872 return resultobj;
17873 fail:
17874 {
17875 if (temp6)
17876 delete arg6;
17877 }
17878 return NULL;
17879}
17880
17881
17882static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17883 PyObject *resultobj;
17884 wxChoicebook *result;
17885 char *kwnames[] = {
17886 NULL
17887 };
17888
17889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17890 {
17891 if (!wxPyCheckForApp()) SWIG_fail;
17892 PyThreadState* __tstate = wxPyBeginAllowThreads();
17893 result = (wxChoicebook *)new wxChoicebook();
17894
17895 wxPyEndAllowThreads(__tstate);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 }
17898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17899 return resultobj;
17900 fail:
17901 return NULL;
17902}
17903
17904
17905static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17906 PyObject *resultobj;
17907 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17908 wxWindow *arg2 = (wxWindow *) 0 ;
17909 int arg3 ;
17910 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17911 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17912 wxSize const &arg5_defvalue = wxDefaultSize ;
17913 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17914 long arg6 = (long) 0 ;
17915 wxString const &arg7_defvalue = wxPyEmptyString ;
17916 wxString *arg7 = (wxString *) &arg7_defvalue ;
17917 bool result;
17918 wxPoint temp4 ;
17919 wxSize temp5 ;
17920 bool temp7 = false ;
17921 PyObject * obj0 = 0 ;
17922 PyObject * obj1 = 0 ;
17923 PyObject * obj2 = 0 ;
17924 PyObject * obj3 = 0 ;
17925 PyObject * obj4 = 0 ;
17926 PyObject * obj5 = 0 ;
17927 PyObject * obj6 = 0 ;
17928 char *kwnames[] = {
17929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17930 };
17931
17932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
17934 if (SWIG_arg_fail(1)) SWIG_fail;
17935 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17936 if (SWIG_arg_fail(2)) SWIG_fail;
17937 {
17938 arg3 = (int)(SWIG_As_int(obj2));
17939 if (SWIG_arg_fail(3)) SWIG_fail;
17940 }
b411df4a
RD
17941 if (obj3) {
17942 {
17943 arg4 = &temp4;
17944 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17945 }
17946 }
17947 if (obj4) {
17948 {
17949 arg5 = &temp5;
17950 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17951 }
17952 }
17953 if (obj5) {
36ed4f51
RD
17954 {
17955 arg6 = (long)(SWIG_As_long(obj5));
17956 if (SWIG_arg_fail(6)) SWIG_fail;
17957 }
b411df4a
RD
17958 }
17959 if (obj6) {
17960 {
17961 arg7 = wxString_in_helper(obj6);
17962 if (arg7 == NULL) SWIG_fail;
17963 temp7 = true;
17964 }
17965 }
17966 {
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17969
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 {
17974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17975 }
17976 {
17977 if (temp7)
17978 delete arg7;
17979 }
17980 return resultobj;
17981 fail:
17982 {
17983 if (temp7)
17984 delete arg7;
17985 }
17986 return NULL;
17987}
17988
17989
17990static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17991 PyObject *resultobj;
17992 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17993 bool result;
17994 PyObject * obj0 = 0 ;
17995 char *kwnames[] = {
17996 (char *) "self", NULL
17997 };
17998
17999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
18000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18001 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
18002 {
18003 PyThreadState* __tstate = wxPyBeginAllowThreads();
18004 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18005
18006 wxPyEndAllowThreads(__tstate);
18007 if (PyErr_Occurred()) SWIG_fail;
18008 }
18009 {
18010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18011 }
18012 return resultobj;
18013 fail:
18014 return NULL;
18015}
18016
18017
18018static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18019 PyObject *resultobj;
18020 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18021 bool result;
18022 PyObject * obj0 = 0 ;
18023 char *kwnames[] = {
18024 (char *) "self", NULL
18025 };
18026
18027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
18028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18029 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
18030 {
18031 PyThreadState* __tstate = wxPyBeginAllowThreads();
18032 result = (bool)(arg1)->DeleteAllPages();
18033
18034 wxPyEndAllowThreads(__tstate);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 }
18037 {
18038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18039 }
18040 return resultobj;
18041 fail:
18042 return NULL;
18043}
18044
18045
18046static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18047 PyObject *obj;
18048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18049 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18050 Py_INCREF(obj);
18051 return Py_BuildValue((char *)"");
18052}
18053static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18054 PyObject *resultobj;
18055 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18056 int arg2 = (int) 0 ;
18057 int arg3 = (int) -1 ;
18058 int arg4 = (int) -1 ;
18059 wxChoicebookEvent *result;
18060 PyObject * obj0 = 0 ;
18061 PyObject * obj1 = 0 ;
18062 PyObject * obj2 = 0 ;
18063 PyObject * obj3 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18069 if (obj0) {
36ed4f51
RD
18070 {
18071 arg1 = (wxEventType)(SWIG_As_int(obj0));
18072 if (SWIG_arg_fail(1)) SWIG_fail;
18073 }
b411df4a
RD
18074 }
18075 if (obj1) {
36ed4f51
RD
18076 {
18077 arg2 = (int)(SWIG_As_int(obj1));
18078 if (SWIG_arg_fail(2)) SWIG_fail;
18079 }
b411df4a
RD
18080 }
18081 if (obj2) {
36ed4f51
RD
18082 {
18083 arg3 = (int)(SWIG_As_int(obj2));
18084 if (SWIG_arg_fail(3)) SWIG_fail;
18085 }
b411df4a
RD
18086 }
18087 if (obj3) {
36ed4f51
RD
18088 {
18089 arg4 = (int)(SWIG_As_int(obj3));
18090 if (SWIG_arg_fail(4)) SWIG_fail;
18091 }
b411df4a
RD
18092 }
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18101 return resultobj;
18102 fail:
18103 return NULL;
18104}
18105
18106
18107static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18108 PyObject *obj;
18109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18110 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18111 Py_INCREF(obj);
18112 return Py_BuildValue((char *)"");
18113}
c370783e 18114static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 18115 PyObject *resultobj;
6e0de3df 18116 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
18117 wxBookCtrlSizer *result;
18118 PyObject * obj0 = 0 ;
18119 char *kwnames[] = {
18120 (char *) "nb", NULL
18121 };
18122
18123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
36ed4f51
RD
18124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18125 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18126 {
18127 PyThreadState* __tstate = wxPyBeginAllowThreads();
18128 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18129
18130 wxPyEndAllowThreads(__tstate);
18131 if (PyErr_Occurred()) SWIG_fail;
18132 }
18133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18134 return resultobj;
18135 fail:
18136 return NULL;
18137}
18138
18139
c370783e 18140static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18141 PyObject *resultobj;
18142 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18143 PyObject * obj0 = 0 ;
18144 char *kwnames[] = {
18145 (char *) "self", NULL
18146 };
18147
18148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36ed4f51
RD
18149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 (arg1)->RecalcSizes();
18154
18155 wxPyEndAllowThreads(__tstate);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 }
18158 Py_INCREF(Py_None); resultobj = Py_None;
18159 return resultobj;
18160 fail:
18161 return NULL;
18162}
18163
18164
c370783e 18165static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18166 PyObject *resultobj;
18167 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18168 wxSize result;
18169 PyObject * obj0 = 0 ;
18170 char *kwnames[] = {
18171 (char *) "self", NULL
18172 };
18173
18174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
18175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 result = (arg1)->CalcMin();
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 {
18185 wxSize * resultptr;
36ed4f51 18186 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18187 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18188 }
18189 return resultobj;
18190 fail:
18191 return NULL;
18192}
18193
18194
c370783e 18195static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18196 PyObject *resultobj;
18197 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
6e0de3df 18198 wxBookCtrlBase *result;
d55e5bfc
RD
18199 PyObject * obj0 = 0 ;
18200 char *kwnames[] = {
18201 (char *) "self", NULL
18202 };
18203
18204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
18205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18206 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18207 {
18208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 18209 result = (wxBookCtrlBase *)(arg1)->GetControl();
d55e5bfc
RD
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
6e0de3df 18214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
d55e5bfc
RD
18215 return resultobj;
18216 fail:
18217 return NULL;
18218}
18219
18220
c370783e 18221static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18222 PyObject *obj;
18223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18224 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18225 Py_INCREF(obj);
18226 return Py_BuildValue((char *)"");
18227}
c370783e 18228static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18229 PyObject *resultobj;
18230 wxNotebook *arg1 = (wxNotebook *) 0 ;
18231 wxNotebookSizer *result;
18232 PyObject * obj0 = 0 ;
18233 char *kwnames[] = {
18234 (char *) "nb", NULL
18235 };
18236
18237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
36ed4f51
RD
18238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18240 {
18241 PyThreadState* __tstate = wxPyBeginAllowThreads();
18242 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18243
18244 wxPyEndAllowThreads(__tstate);
18245 if (PyErr_Occurred()) SWIG_fail;
18246 }
18247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18248 return resultobj;
18249 fail:
18250 return NULL;
18251}
18252
18253
c370783e 18254static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18255 PyObject *resultobj;
18256 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18257 PyObject * obj0 = 0 ;
18258 char *kwnames[] = {
18259 (char *) "self", NULL
18260 };
18261
18262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36ed4f51
RD
18263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18264 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 (arg1)->RecalcSizes();
18268
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 Py_INCREF(Py_None); resultobj = Py_None;
18273 return resultobj;
18274 fail:
18275 return NULL;
18276}
18277
18278
c370783e 18279static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18280 PyObject *resultobj;
18281 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18282 wxSize result;
18283 PyObject * obj0 = 0 ;
18284 char *kwnames[] = {
18285 (char *) "self", NULL
18286 };
18287
18288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
18289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18291 {
18292 PyThreadState* __tstate = wxPyBeginAllowThreads();
18293 result = (arg1)->CalcMin();
18294
18295 wxPyEndAllowThreads(__tstate);
18296 if (PyErr_Occurred()) SWIG_fail;
18297 }
18298 {
18299 wxSize * resultptr;
36ed4f51 18300 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18301 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18302 }
18303 return resultobj;
18304 fail:
18305 return NULL;
18306}
18307
18308
c370783e 18309static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18310 PyObject *resultobj;
18311 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18312 wxNotebook *result;
18313 PyObject * obj0 = 0 ;
18314 char *kwnames[] = {
18315 (char *) "self", NULL
18316 };
18317
18318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
36ed4f51
RD
18319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18321 {
18322 PyThreadState* __tstate = wxPyBeginAllowThreads();
18323 result = (wxNotebook *)(arg1)->GetNotebook();
18324
18325 wxPyEndAllowThreads(__tstate);
18326 if (PyErr_Occurred()) SWIG_fail;
18327 }
18328 {
412d302d 18329 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18330 }
18331 return resultobj;
18332 fail:
18333 return NULL;
18334}
18335
18336
c370783e 18337static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18338 PyObject *obj;
18339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18340 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18341 Py_INCREF(obj);
18342 return Py_BuildValue((char *)"");
18343}
c370783e 18344static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18345 PyObject *resultobj;
18346 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18347 int result;
18348 PyObject * obj0 = 0 ;
18349 char *kwnames[] = {
18350 (char *) "self", NULL
18351 };
18352
18353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
18354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18355 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18356 {
18357 PyThreadState* __tstate = wxPyBeginAllowThreads();
18358 result = (int)(arg1)->GetId();
18359
18360 wxPyEndAllowThreads(__tstate);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 }
36ed4f51
RD
18363 {
18364 resultobj = SWIG_From_int((int)(result));
18365 }
d55e5bfc
RD
18366 return resultobj;
18367 fail:
18368 return NULL;
18369}
18370
18371
c370783e 18372static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18373 PyObject *resultobj;
18374 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18375 wxControl *result;
18376 PyObject * obj0 = 0 ;
18377 char *kwnames[] = {
18378 (char *) "self", NULL
18379 };
18380
18381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
18382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18383 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18384 {
18385 PyThreadState* __tstate = wxPyBeginAllowThreads();
18386 result = (wxControl *)(arg1)->GetControl();
18387
18388 wxPyEndAllowThreads(__tstate);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 {
412d302d 18392 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18393 }
18394 return resultobj;
18395 fail:
18396 return NULL;
18397}
18398
18399
c370783e 18400static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18401 PyObject *resultobj;
18402 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18403 wxToolBarBase *result;
18404 PyObject * obj0 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self", NULL
18407 };
18408
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
18410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18411 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 result = (wxToolBarBase *)(arg1)->GetToolBar();
18415
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 {
412d302d 18420 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18421 }
18422 return resultobj;
18423 fail:
18424 return NULL;
18425}
18426
18427
c370783e 18428static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18429 PyObject *resultobj;
18430 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18431 int result;
18432 PyObject * obj0 = 0 ;
18433 char *kwnames[] = {
18434 (char *) "self", NULL
18435 };
18436
18437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
18438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18439 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18440 {
18441 PyThreadState* __tstate = wxPyBeginAllowThreads();
18442 result = (int)(arg1)->IsButton();
18443
18444 wxPyEndAllowThreads(__tstate);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 }
36ed4f51
RD
18447 {
18448 resultobj = SWIG_From_int((int)(result));
18449 }
d55e5bfc
RD
18450 return resultobj;
18451 fail:
18452 return NULL;
18453}
18454
18455
c370783e 18456static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18457 PyObject *resultobj;
18458 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18459 int result;
18460 PyObject * obj0 = 0 ;
18461 char *kwnames[] = {
18462 (char *) "self", NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
18466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18467 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 result = (int)(arg1)->IsControl();
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
36ed4f51
RD
18475 {
18476 resultobj = SWIG_From_int((int)(result));
18477 }
d55e5bfc
RD
18478 return resultobj;
18479 fail:
18480 return NULL;
18481}
18482
18483
c370783e 18484static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18485 PyObject *resultobj;
18486 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18487 int result;
18488 PyObject * obj0 = 0 ;
18489 char *kwnames[] = {
18490 (char *) "self", NULL
18491 };
18492
18493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
36ed4f51
RD
18494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18495 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 result = (int)(arg1)->IsSeparator();
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
36ed4f51
RD
18503 {
18504 resultobj = SWIG_From_int((int)(result));
18505 }
d55e5bfc
RD
18506 return resultobj;
18507 fail:
18508 return NULL;
18509}
18510
18511
c370783e 18512static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18513 PyObject *resultobj;
18514 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18515 int result;
18516 PyObject * obj0 = 0 ;
18517 char *kwnames[] = {
18518 (char *) "self", NULL
18519 };
18520
18521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
18522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18523 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18524 {
18525 PyThreadState* __tstate = wxPyBeginAllowThreads();
18526 result = (int)(arg1)->GetStyle();
18527
18528 wxPyEndAllowThreads(__tstate);
18529 if (PyErr_Occurred()) SWIG_fail;
18530 }
36ed4f51
RD
18531 {
18532 resultobj = SWIG_From_int((int)(result));
18533 }
d55e5bfc
RD
18534 return resultobj;
18535 fail:
18536 return NULL;
18537}
18538
18539
c370783e 18540static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18541 PyObject *resultobj;
18542 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
36ed4f51 18543 wxItemKind result;
d55e5bfc
RD
18544 PyObject * obj0 = 0 ;
18545 char *kwnames[] = {
18546 (char *) "self", NULL
18547 };
18548
18549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
36ed4f51
RD
18550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18551 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18552 {
18553 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 18554 result = (wxItemKind)(arg1)->GetKind();
d55e5bfc
RD
18555
18556 wxPyEndAllowThreads(__tstate);
18557 if (PyErr_Occurred()) SWIG_fail;
18558 }
36ed4f51 18559 resultobj = SWIG_From_int((result));
d55e5bfc
RD
18560 return resultobj;
18561 fail:
18562 return NULL;
18563}
18564
18565
c370783e 18566static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18567 PyObject *resultobj;
18568 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18569 bool result;
18570 PyObject * obj0 = 0 ;
18571 char *kwnames[] = {
18572 (char *) "self", NULL
18573 };
18574
18575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
36ed4f51
RD
18576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18577 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18578 {
18579 PyThreadState* __tstate = wxPyBeginAllowThreads();
18580 result = (bool)(arg1)->IsEnabled();
18581
18582 wxPyEndAllowThreads(__tstate);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 {
18586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18587 }
18588 return resultobj;
18589 fail:
18590 return NULL;
18591}
18592
18593
c370783e 18594static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18595 PyObject *resultobj;
18596 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18597 bool result;
18598 PyObject * obj0 = 0 ;
18599 char *kwnames[] = {
18600 (char *) "self", NULL
18601 };
18602
18603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
36ed4f51
RD
18604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18606 {
18607 PyThreadState* __tstate = wxPyBeginAllowThreads();
18608 result = (bool)(arg1)->IsToggled();
18609
18610 wxPyEndAllowThreads(__tstate);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 }
18613 {
18614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18615 }
18616 return resultobj;
18617 fail:
18618 return NULL;
18619}
18620
18621
c370783e 18622static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18623 PyObject *resultobj;
18624 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18625 bool result;
18626 PyObject * obj0 = 0 ;
18627 char *kwnames[] = {
18628 (char *) "self", NULL
18629 };
18630
18631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
36ed4f51
RD
18632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 result = (bool)(arg1)->CanBeToggled();
18637
18638 wxPyEndAllowThreads(__tstate);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 }
18641 {
18642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18643 }
18644 return resultobj;
18645 fail:
18646 return NULL;
18647}
18648
18649
c370783e 18650static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18651 PyObject *resultobj;
18652 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18653 wxBitmap *result;
18654 PyObject * obj0 = 0 ;
18655 char *kwnames[] = {
18656 (char *) "self", NULL
18657 };
18658
18659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
18660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18662 {
18663 PyThreadState* __tstate = wxPyBeginAllowThreads();
18664 {
18665 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18666 result = (wxBitmap *) &_result_ref;
18667 }
18668
18669 wxPyEndAllowThreads(__tstate);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 }
18672 {
18673 wxBitmap* resultptr = new wxBitmap(*result);
18674 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18675 }
18676 return resultobj;
18677 fail:
18678 return NULL;
18679}
18680
18681
c370783e 18682static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18683 PyObject *resultobj;
18684 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18685 wxBitmap *result;
18686 PyObject * obj0 = 0 ;
18687 char *kwnames[] = {
18688 (char *) "self", NULL
18689 };
18690
18691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
18692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18693 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18694 {
18695 PyThreadState* __tstate = wxPyBeginAllowThreads();
18696 {
18697 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18698 result = (wxBitmap *) &_result_ref;
18699 }
18700
18701 wxPyEndAllowThreads(__tstate);
18702 if (PyErr_Occurred()) SWIG_fail;
18703 }
18704 {
18705 wxBitmap* resultptr = new wxBitmap(*result);
18706 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18707 }
18708 return resultobj;
18709 fail:
18710 return NULL;
18711}
18712
18713
c370783e 18714static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18715 PyObject *resultobj;
18716 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18717 wxBitmap result;
18718 PyObject * obj0 = 0 ;
18719 char *kwnames[] = {
18720 (char *) "self", NULL
18721 };
18722
18723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
18724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18725 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18726 {
18727 PyThreadState* __tstate = wxPyBeginAllowThreads();
18728 result = (arg1)->GetBitmap();
18729
18730 wxPyEndAllowThreads(__tstate);
18731 if (PyErr_Occurred()) SWIG_fail;
18732 }
18733 {
18734 wxBitmap * resultptr;
36ed4f51 18735 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
18736 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18737 }
18738 return resultobj;
18739 fail:
18740 return NULL;
18741}
18742
18743
c370783e 18744static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18745 PyObject *resultobj;
18746 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18747 wxString result;
18748 PyObject * obj0 = 0 ;
18749 char *kwnames[] = {
18750 (char *) "self", NULL
18751 };
18752
18753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
18754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18755 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18756 {
18757 PyThreadState* __tstate = wxPyBeginAllowThreads();
18758 result = (arg1)->GetLabel();
18759
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
18763 {
18764#if wxUSE_UNICODE
18765 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18766#else
18767 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18768#endif
18769 }
18770 return resultobj;
18771 fail:
18772 return NULL;
18773}
18774
18775
c370783e 18776static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18777 PyObject *resultobj;
18778 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18779 wxString result;
18780 PyObject * obj0 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "self", NULL
18783 };
18784
18785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
18786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18787 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18788 {
18789 PyThreadState* __tstate = wxPyBeginAllowThreads();
18790 result = (arg1)->GetShortHelp();
18791
18792 wxPyEndAllowThreads(__tstate);
18793 if (PyErr_Occurred()) SWIG_fail;
18794 }
18795 {
18796#if wxUSE_UNICODE
18797 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18798#else
18799 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18800#endif
18801 }
18802 return resultobj;
18803 fail:
18804 return NULL;
18805}
18806
18807
c370783e 18808static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18809 PyObject *resultobj;
18810 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18811 wxString result;
18812 PyObject * obj0 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
18818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18819 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18820 {
18821 PyThreadState* __tstate = wxPyBeginAllowThreads();
18822 result = (arg1)->GetLongHelp();
18823
18824 wxPyEndAllowThreads(__tstate);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 }
18827 {
18828#if wxUSE_UNICODE
18829 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18830#else
18831 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18832#endif
18833 }
18834 return resultobj;
18835 fail:
18836 return NULL;
18837}
18838
18839
c370783e 18840static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18841 PyObject *resultobj;
18842 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18843 bool arg2 ;
18844 bool result;
18845 PyObject * obj0 = 0 ;
18846 PyObject * obj1 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self",(char *) "enable", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18853 if (SWIG_arg_fail(1)) SWIG_fail;
18854 {
18855 arg2 = (bool)(SWIG_As_bool(obj1));
18856 if (SWIG_arg_fail(2)) SWIG_fail;
18857 }
d55e5bfc
RD
18858 {
18859 PyThreadState* __tstate = wxPyBeginAllowThreads();
18860 result = (bool)(arg1)->Enable(arg2);
18861
18862 wxPyEndAllowThreads(__tstate);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 {
18866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18867 }
18868 return resultobj;
18869 fail:
18870 return NULL;
18871}
18872
18873
c370783e 18874static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18875 PyObject *resultobj;
18876 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18877 PyObject * obj0 = 0 ;
18878 char *kwnames[] = {
18879 (char *) "self", NULL
18880 };
18881
18882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
36ed4f51
RD
18883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18884 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 (arg1)->Toggle();
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 Py_INCREF(Py_None); resultobj = Py_None;
18893 return resultobj;
18894 fail:
18895 return NULL;
18896}
18897
18898
c370783e 18899static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18900 PyObject *resultobj;
18901 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18902 bool arg2 ;
18903 bool result;
18904 PyObject * obj0 = 0 ;
18905 PyObject * obj1 = 0 ;
18906 char *kwnames[] = {
18907 (char *) "self",(char *) "toggle", NULL
18908 };
18909
18910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18912 if (SWIG_arg_fail(1)) SWIG_fail;
18913 {
18914 arg2 = (bool)(SWIG_As_bool(obj1));
18915 if (SWIG_arg_fail(2)) SWIG_fail;
18916 }
d55e5bfc
RD
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 result = (bool)(arg1)->SetToggle(arg2);
18920
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 {
18925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18926 }
18927 return resultobj;
18928 fail:
18929 return NULL;
18930}
18931
18932
c370783e 18933static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18934 PyObject *resultobj;
18935 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18936 wxString *arg2 = 0 ;
18937 bool result;
b411df4a 18938 bool temp2 = false ;
d55e5bfc
RD
18939 PyObject * obj0 = 0 ;
18940 PyObject * obj1 = 0 ;
18941 char *kwnames[] = {
18942 (char *) "self",(char *) "help", NULL
18943 };
18944
18945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18948 {
18949 arg2 = wxString_in_helper(obj1);
18950 if (arg2 == NULL) SWIG_fail;
b411df4a 18951 temp2 = true;
d55e5bfc
RD
18952 }
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
18956
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 {
18961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18962 }
18963 {
18964 if (temp2)
18965 delete arg2;
18966 }
18967 return resultobj;
18968 fail:
18969 {
18970 if (temp2)
18971 delete arg2;
18972 }
18973 return NULL;
18974}
18975
18976
c370783e 18977static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18978 PyObject *resultobj;
18979 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18980 wxString *arg2 = 0 ;
18981 bool result;
b411df4a 18982 bool temp2 = false ;
d55e5bfc
RD
18983 PyObject * obj0 = 0 ;
18984 PyObject * obj1 = 0 ;
18985 char *kwnames[] = {
18986 (char *) "self",(char *) "help", NULL
18987 };
18988
18989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18991 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18992 {
18993 arg2 = wxString_in_helper(obj1);
18994 if (arg2 == NULL) SWIG_fail;
b411df4a 18995 temp2 = true;
d55e5bfc
RD
18996 }
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19000
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 {
19005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19006 }
19007 {
19008 if (temp2)
19009 delete arg2;
19010 }
19011 return resultobj;
19012 fail:
19013 {
19014 if (temp2)
19015 delete arg2;
19016 }
19017 return NULL;
19018}
19019
19020
c370783e 19021static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19022 PyObject *resultobj;
19023 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19024 wxBitmap *arg2 = 0 ;
19025 PyObject * obj0 = 0 ;
19026 PyObject * obj1 = 0 ;
19027 char *kwnames[] = {
19028 (char *) "self",(char *) "bmp", NULL
19029 };
19030
19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19033 if (SWIG_arg_fail(1)) SWIG_fail;
19034 {
19035 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19036 if (SWIG_arg_fail(2)) SWIG_fail;
19037 if (arg2 == NULL) {
19038 SWIG_null_ref("wxBitmap");
19039 }
19040 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19041 }
19042 {
19043 PyThreadState* __tstate = wxPyBeginAllowThreads();
19044 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19045
19046 wxPyEndAllowThreads(__tstate);
19047 if (PyErr_Occurred()) SWIG_fail;
19048 }
19049 Py_INCREF(Py_None); resultobj = Py_None;
19050 return resultobj;
19051 fail:
19052 return NULL;
19053}
19054
19055
c370783e 19056static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19057 PyObject *resultobj;
19058 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19059 wxBitmap *arg2 = 0 ;
19060 PyObject * obj0 = 0 ;
19061 PyObject * obj1 = 0 ;
19062 char *kwnames[] = {
19063 (char *) "self",(char *) "bmp", NULL
19064 };
19065
19066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19068 if (SWIG_arg_fail(1)) SWIG_fail;
19069 {
19070 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19071 if (SWIG_arg_fail(2)) SWIG_fail;
19072 if (arg2 == NULL) {
19073 SWIG_null_ref("wxBitmap");
19074 }
19075 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19076 }
19077 {
19078 PyThreadState* __tstate = wxPyBeginAllowThreads();
19079 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19080
19081 wxPyEndAllowThreads(__tstate);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 }
19084 Py_INCREF(Py_None); resultobj = Py_None;
19085 return resultobj;
19086 fail:
19087 return NULL;
19088}
19089
19090
c370783e 19091static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19092 PyObject *resultobj;
19093 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19094 wxString *arg2 = 0 ;
b411df4a 19095 bool temp2 = false ;
d55e5bfc
RD
19096 PyObject * obj0 = 0 ;
19097 PyObject * obj1 = 0 ;
19098 char *kwnames[] = {
19099 (char *) "self",(char *) "label", NULL
19100 };
19101
19102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19104 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19105 {
19106 arg2 = wxString_in_helper(obj1);
19107 if (arg2 == NULL) SWIG_fail;
b411df4a 19108 temp2 = true;
d55e5bfc
RD
19109 }
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 (arg1)->SetLabel((wxString const &)*arg2);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 Py_INCREF(Py_None); resultobj = Py_None;
19118 {
19119 if (temp2)
19120 delete arg2;
19121 }
19122 return resultobj;
19123 fail:
19124 {
19125 if (temp2)
19126 delete arg2;
19127 }
19128 return NULL;
19129}
19130
19131
c370783e 19132static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19133 PyObject *resultobj;
19134 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19135 PyObject * obj0 = 0 ;
19136 char *kwnames[] = {
19137 (char *) "self", NULL
19138 };
19139
19140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
36ed4f51
RD
19141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19142 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19143 {
19144 PyThreadState* __tstate = wxPyBeginAllowThreads();
19145 (arg1)->Detach();
19146
19147 wxPyEndAllowThreads(__tstate);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 }
19150 Py_INCREF(Py_None); resultobj = Py_None;
19151 return resultobj;
19152 fail:
19153 return NULL;
19154}
19155
19156
c370783e 19157static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19158 PyObject *resultobj;
19159 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19160 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19161 PyObject * obj0 = 0 ;
19162 PyObject * obj1 = 0 ;
19163 char *kwnames[] = {
19164 (char *) "self",(char *) "tbar", NULL
19165 };
19166
19167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19169 if (SWIG_arg_fail(1)) SWIG_fail;
19170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19171 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19172 {
19173 PyThreadState* __tstate = wxPyBeginAllowThreads();
19174 (arg1)->Attach(arg2);
19175
19176 wxPyEndAllowThreads(__tstate);
19177 if (PyErr_Occurred()) SWIG_fail;
19178 }
19179 Py_INCREF(Py_None); resultobj = Py_None;
19180 return resultobj;
19181 fail:
19182 return NULL;
19183}
19184
19185
c370783e 19186static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19187 PyObject *resultobj;
19188 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19189 PyObject *result;
19190 PyObject * obj0 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
36ed4f51
RD
19196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19197 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19198 {
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19201
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 resultobj = result;
19206 return resultobj;
19207 fail:
19208 return NULL;
19209}
19210
19211
c370783e 19212static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19213 PyObject *resultobj;
19214 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19215 PyObject *arg2 = (PyObject *) 0 ;
19216 PyObject * obj0 = 0 ;
19217 PyObject * obj1 = 0 ;
19218 char *kwnames[] = {
19219 (char *) "self",(char *) "clientData", NULL
19220 };
19221
19222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19224 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19225 arg2 = obj1;
19226 {
19227 PyThreadState* __tstate = wxPyBeginAllowThreads();
19228 wxToolBarToolBase_SetClientData(arg1,arg2);
19229
19230 wxPyEndAllowThreads(__tstate);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 }
19233 Py_INCREF(Py_None); resultobj = Py_None;
19234 return resultobj;
19235 fail:
19236 return NULL;
19237}
19238
19239
c370783e 19240static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19241 PyObject *obj;
19242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19243 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19244 Py_INCREF(obj);
19245 return Py_BuildValue((char *)"");
19246}
c370783e 19247static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19248 PyObject *resultobj;
19249 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19250 int arg2 ;
19251 wxString *arg3 = 0 ;
19252 wxBitmap *arg4 = 0 ;
19253 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19254 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
36ed4f51 19255 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19256 wxString const &arg7_defvalue = wxPyEmptyString ;
19257 wxString *arg7 = (wxString *) &arg7_defvalue ;
19258 wxString const &arg8_defvalue = wxPyEmptyString ;
19259 wxString *arg8 = (wxString *) &arg8_defvalue ;
19260 PyObject *arg9 = (PyObject *) NULL ;
19261 wxToolBarToolBase *result;
b411df4a
RD
19262 bool temp3 = false ;
19263 bool temp7 = false ;
19264 bool temp8 = false ;
d55e5bfc
RD
19265 PyObject * obj0 = 0 ;
19266 PyObject * obj1 = 0 ;
19267 PyObject * obj2 = 0 ;
19268 PyObject * obj3 = 0 ;
19269 PyObject * obj4 = 0 ;
19270 PyObject * obj5 = 0 ;
19271 PyObject * obj6 = 0 ;
19272 PyObject * obj7 = 0 ;
19273 PyObject * obj8 = 0 ;
19274 char *kwnames[] = {
19275 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19276 };
19277
19278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
19279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19280 if (SWIG_arg_fail(1)) SWIG_fail;
19281 {
19282 arg2 = (int)(SWIG_As_int(obj1));
19283 if (SWIG_arg_fail(2)) SWIG_fail;
19284 }
d55e5bfc
RD
19285 {
19286 arg3 = wxString_in_helper(obj2);
19287 if (arg3 == NULL) SWIG_fail;
b411df4a 19288 temp3 = true;
d55e5bfc 19289 }
36ed4f51
RD
19290 {
19291 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19292 if (SWIG_arg_fail(4)) SWIG_fail;
19293 if (arg4 == NULL) {
19294 SWIG_null_ref("wxBitmap");
19295 }
19296 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
19297 }
19298 if (obj4) {
36ed4f51
RD
19299 {
19300 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19301 if (SWIG_arg_fail(5)) SWIG_fail;
19302 if (arg5 == NULL) {
19303 SWIG_null_ref("wxBitmap");
19304 }
19305 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19306 }
19307 }
19308 if (obj5) {
36ed4f51
RD
19309 {
19310 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19311 if (SWIG_arg_fail(6)) SWIG_fail;
19312 }
d55e5bfc
RD
19313 }
19314 if (obj6) {
19315 {
19316 arg7 = wxString_in_helper(obj6);
19317 if (arg7 == NULL) SWIG_fail;
b411df4a 19318 temp7 = true;
d55e5bfc
RD
19319 }
19320 }
19321 if (obj7) {
19322 {
19323 arg8 = wxString_in_helper(obj7);
19324 if (arg8 == NULL) SWIG_fail;
b411df4a 19325 temp8 = true;
d55e5bfc
RD
19326 }
19327 }
19328 if (obj8) {
19329 arg9 = obj8;
19330 }
19331 {
19332 PyThreadState* __tstate = wxPyBeginAllowThreads();
19333 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19334
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
19338 {
412d302d 19339 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19340 }
19341 {
19342 if (temp3)
19343 delete arg3;
19344 }
19345 {
19346 if (temp7)
19347 delete arg7;
19348 }
19349 {
19350 if (temp8)
19351 delete arg8;
19352 }
19353 return resultobj;
19354 fail:
19355 {
19356 if (temp3)
19357 delete arg3;
19358 }
19359 {
19360 if (temp7)
19361 delete arg7;
19362 }
19363 {
19364 if (temp8)
19365 delete arg8;
19366 }
19367 return NULL;
19368}
19369
19370
c370783e 19371static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19372 PyObject *resultobj;
19373 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19374 size_t arg2 ;
19375 int arg3 ;
19376 wxString *arg4 = 0 ;
19377 wxBitmap *arg5 = 0 ;
19378 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19379 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
36ed4f51 19380 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19381 wxString const &arg8_defvalue = wxPyEmptyString ;
19382 wxString *arg8 = (wxString *) &arg8_defvalue ;
19383 wxString const &arg9_defvalue = wxPyEmptyString ;
19384 wxString *arg9 = (wxString *) &arg9_defvalue ;
19385 PyObject *arg10 = (PyObject *) NULL ;
19386 wxToolBarToolBase *result;
b411df4a
RD
19387 bool temp4 = false ;
19388 bool temp8 = false ;
19389 bool temp9 = false ;
d55e5bfc
RD
19390 PyObject * obj0 = 0 ;
19391 PyObject * obj1 = 0 ;
19392 PyObject * obj2 = 0 ;
19393 PyObject * obj3 = 0 ;
19394 PyObject * obj4 = 0 ;
19395 PyObject * obj5 = 0 ;
19396 PyObject * obj6 = 0 ;
19397 PyObject * obj7 = 0 ;
19398 PyObject * obj8 = 0 ;
19399 PyObject * obj9 = 0 ;
19400 char *kwnames[] = {
19401 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19402 };
19403
19404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
19405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19406 if (SWIG_arg_fail(1)) SWIG_fail;
19407 {
19408 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19409 if (SWIG_arg_fail(2)) SWIG_fail;
19410 }
19411 {
19412 arg3 = (int)(SWIG_As_int(obj2));
19413 if (SWIG_arg_fail(3)) SWIG_fail;
19414 }
d55e5bfc
RD
19415 {
19416 arg4 = wxString_in_helper(obj3);
19417 if (arg4 == NULL) SWIG_fail;
b411df4a 19418 temp4 = true;
d55e5bfc 19419 }
36ed4f51
RD
19420 {
19421 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19422 if (SWIG_arg_fail(5)) SWIG_fail;
19423 if (arg5 == NULL) {
19424 SWIG_null_ref("wxBitmap");
19425 }
19426 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19427 }
19428 if (obj5) {
36ed4f51
RD
19429 {
19430 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19431 if (SWIG_arg_fail(6)) SWIG_fail;
19432 if (arg6 == NULL) {
19433 SWIG_null_ref("wxBitmap");
19434 }
19435 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
19436 }
19437 }
19438 if (obj6) {
36ed4f51
RD
19439 {
19440 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19441 if (SWIG_arg_fail(7)) SWIG_fail;
19442 }
d55e5bfc
RD
19443 }
19444 if (obj7) {
19445 {
19446 arg8 = wxString_in_helper(obj7);
19447 if (arg8 == NULL) SWIG_fail;
b411df4a 19448 temp8 = true;
d55e5bfc
RD
19449 }
19450 }
19451 if (obj8) {
19452 {
19453 arg9 = wxString_in_helper(obj8);
19454 if (arg9 == NULL) SWIG_fail;
b411df4a 19455 temp9 = true;
d55e5bfc
RD
19456 }
19457 }
19458 if (obj9) {
19459 arg10 = obj9;
19460 }
19461 {
19462 PyThreadState* __tstate = wxPyBeginAllowThreads();
19463 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);
19464
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 {
412d302d 19469 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19470 }
19471 {
19472 if (temp4)
19473 delete arg4;
19474 }
19475 {
19476 if (temp8)
19477 delete arg8;
19478 }
19479 {
19480 if (temp9)
19481 delete arg9;
19482 }
19483 return resultobj;
19484 fail:
19485 {
19486 if (temp4)
19487 delete arg4;
19488 }
19489 {
19490 if (temp8)
19491 delete arg8;
19492 }
19493 {
19494 if (temp9)
19495 delete arg9;
19496 }
19497 return NULL;
19498}
19499
19500
c370783e 19501static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19502 PyObject *resultobj;
19503 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19504 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19505 wxToolBarToolBase *result;
19506 PyObject * obj0 = 0 ;
19507 PyObject * obj1 = 0 ;
19508 char *kwnames[] = {
19509 (char *) "self",(char *) "tool", NULL
19510 };
19511
19512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19514 if (SWIG_arg_fail(1)) SWIG_fail;
19515 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19516 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19517 {
19518 PyThreadState* __tstate = wxPyBeginAllowThreads();
19519 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19520
19521 wxPyEndAllowThreads(__tstate);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
19524 {
412d302d 19525 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19526 }
19527 return resultobj;
19528 fail:
19529 return NULL;
19530}
19531
19532
c370783e 19533static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19534 PyObject *resultobj;
19535 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19536 size_t arg2 ;
19537 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19538 wxToolBarToolBase *result;
19539 PyObject * obj0 = 0 ;
19540 PyObject * obj1 = 0 ;
19541 PyObject * obj2 = 0 ;
19542 char *kwnames[] = {
19543 (char *) "self",(char *) "pos",(char *) "tool", NULL
19544 };
19545
19546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19548 if (SWIG_arg_fail(1)) SWIG_fail;
19549 {
19550 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19551 if (SWIG_arg_fail(2)) SWIG_fail;
19552 }
19553 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19554 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19555 {
19556 PyThreadState* __tstate = wxPyBeginAllowThreads();
19557 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19558
19559 wxPyEndAllowThreads(__tstate);
19560 if (PyErr_Occurred()) SWIG_fail;
19561 }
19562 {
412d302d 19563 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19564 }
19565 return resultobj;
19566 fail:
19567 return NULL;
19568}
19569
19570
c370783e 19571static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19572 PyObject *resultobj;
19573 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19574 wxControl *arg2 = (wxControl *) 0 ;
19575 wxToolBarToolBase *result;
19576 PyObject * obj0 = 0 ;
19577 PyObject * obj1 = 0 ;
19578 char *kwnames[] = {
19579 (char *) "self",(char *) "control", NULL
19580 };
19581
19582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19584 if (SWIG_arg_fail(1)) SWIG_fail;
19585 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19586 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19587 {
19588 PyThreadState* __tstate = wxPyBeginAllowThreads();
19589 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19590
19591 wxPyEndAllowThreads(__tstate);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 }
19594 {
412d302d 19595 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19596 }
19597 return resultobj;
19598 fail:
19599 return NULL;
19600}
19601
19602
c370783e 19603static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19604 PyObject *resultobj;
19605 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19606 size_t arg2 ;
19607 wxControl *arg3 = (wxControl *) 0 ;
19608 wxToolBarToolBase *result;
19609 PyObject * obj0 = 0 ;
19610 PyObject * obj1 = 0 ;
19611 PyObject * obj2 = 0 ;
19612 char *kwnames[] = {
19613 (char *) "self",(char *) "pos",(char *) "control", NULL
19614 };
19615
19616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19618 if (SWIG_arg_fail(1)) SWIG_fail;
19619 {
19620 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19621 if (SWIG_arg_fail(2)) SWIG_fail;
19622 }
19623 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19624 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19625 {
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19628
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 {
412d302d 19633 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19634 }
19635 return resultobj;
19636 fail:
19637 return NULL;
19638}
19639
19640
c370783e 19641static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19642 PyObject *resultobj;
19643 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19644 int arg2 ;
19645 wxControl *result;
19646 PyObject * obj0 = 0 ;
19647 PyObject * obj1 = 0 ;
19648 char *kwnames[] = {
19649 (char *) "self",(char *) "id", NULL
19650 };
19651
19652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19654 if (SWIG_arg_fail(1)) SWIG_fail;
19655 {
19656 arg2 = (int)(SWIG_As_int(obj1));
19657 if (SWIG_arg_fail(2)) SWIG_fail;
19658 }
d55e5bfc
RD
19659 {
19660 PyThreadState* __tstate = wxPyBeginAllowThreads();
19661 result = (wxControl *)(arg1)->FindControl(arg2);
19662
19663 wxPyEndAllowThreads(__tstate);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 }
19666 {
412d302d 19667 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19668 }
19669 return resultobj;
19670 fail:
19671 return NULL;
19672}
19673
19674
c370783e 19675static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19676 PyObject *resultobj;
19677 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19678 wxToolBarToolBase *result;
19679 PyObject * obj0 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
36ed4f51
RD
19685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19686 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19687 {
19688 PyThreadState* __tstate = wxPyBeginAllowThreads();
19689 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19690
19691 wxPyEndAllowThreads(__tstate);
19692 if (PyErr_Occurred()) SWIG_fail;
19693 }
19694 {
412d302d 19695 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19696 }
19697 return resultobj;
19698 fail:
19699 return NULL;
19700}
19701
19702
c370783e 19703static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19704 PyObject *resultobj;
19705 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19706 size_t arg2 ;
19707 wxToolBarToolBase *result;
19708 PyObject * obj0 = 0 ;
19709 PyObject * obj1 = 0 ;
19710 char *kwnames[] = {
19711 (char *) "self",(char *) "pos", NULL
19712 };
19713
19714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19716 if (SWIG_arg_fail(1)) SWIG_fail;
19717 {
19718 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19719 if (SWIG_arg_fail(2)) SWIG_fail;
19720 }
d55e5bfc
RD
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19724
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 {
412d302d 19729 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19730 }
19731 return resultobj;
19732 fail:
19733 return NULL;
19734}
19735
19736
c370783e 19737static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19738 PyObject *resultobj;
19739 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19740 int arg2 ;
19741 wxToolBarToolBase *result;
19742 PyObject * obj0 = 0 ;
19743 PyObject * obj1 = 0 ;
19744 char *kwnames[] = {
19745 (char *) "self",(char *) "id", NULL
19746 };
19747
19748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19750 if (SWIG_arg_fail(1)) SWIG_fail;
19751 {
19752 arg2 = (int)(SWIG_As_int(obj1));
19753 if (SWIG_arg_fail(2)) SWIG_fail;
19754 }
d55e5bfc
RD
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 {
412d302d 19763 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19764 }
19765 return resultobj;
19766 fail:
19767 return NULL;
19768}
19769
19770
c370783e 19771static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19772 PyObject *resultobj;
19773 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19774 size_t arg2 ;
19775 bool result;
19776 PyObject * obj0 = 0 ;
19777 PyObject * obj1 = 0 ;
19778 char *kwnames[] = {
19779 (char *) "self",(char *) "pos", NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19784 if (SWIG_arg_fail(1)) SWIG_fail;
19785 {
19786 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19787 if (SWIG_arg_fail(2)) SWIG_fail;
19788 }
d55e5bfc
RD
19789 {
19790 PyThreadState* __tstate = wxPyBeginAllowThreads();
19791 result = (bool)(arg1)->DeleteToolByPos(arg2);
19792
19793 wxPyEndAllowThreads(__tstate);
19794 if (PyErr_Occurred()) SWIG_fail;
19795 }
19796 {
19797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19798 }
19799 return resultobj;
19800 fail:
19801 return NULL;
19802}
19803
19804
c370783e 19805static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19806 PyObject *resultobj;
19807 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19808 int arg2 ;
19809 bool result;
19810 PyObject * obj0 = 0 ;
19811 PyObject * obj1 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self",(char *) "id", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19818 if (SWIG_arg_fail(1)) SWIG_fail;
19819 {
19820 arg2 = (int)(SWIG_As_int(obj1));
19821 if (SWIG_arg_fail(2)) SWIG_fail;
19822 }
d55e5bfc
RD
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 result = (bool)(arg1)->DeleteTool(arg2);
19826
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 {
19831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19832 }
19833 return resultobj;
19834 fail:
19835 return NULL;
19836}
19837
19838
c370783e 19839static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19840 PyObject *resultobj;
19841 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19842 PyObject * obj0 = 0 ;
19843 char *kwnames[] = {
19844 (char *) "self", NULL
19845 };
19846
19847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
36ed4f51
RD
19848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19849 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 (arg1)->ClearTools();
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 Py_INCREF(Py_None); resultobj = Py_None;
19858 return resultobj;
19859 fail:
19860 return NULL;
19861}
19862
19863
c370783e 19864static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19865 PyObject *resultobj;
19866 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19867 bool result;
19868 PyObject * obj0 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 result = (bool)(arg1)->Realize();
19879
19880 wxPyEndAllowThreads(__tstate);
19881 if (PyErr_Occurred()) SWIG_fail;
19882 }
19883 {
19884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19885 }
19886 return resultobj;
19887 fail:
19888 return NULL;
19889}
19890
19891
c370783e 19892static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19893 PyObject *resultobj;
19894 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19895 int arg2 ;
19896 bool arg3 ;
19897 PyObject * obj0 = 0 ;
19898 PyObject * obj1 = 0 ;
19899 PyObject * obj2 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self",(char *) "id",(char *) "enable", NULL
19902 };
19903
19904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19906 if (SWIG_arg_fail(1)) SWIG_fail;
19907 {
19908 arg2 = (int)(SWIG_As_int(obj1));
19909 if (SWIG_arg_fail(2)) SWIG_fail;
19910 }
19911 {
19912 arg3 = (bool)(SWIG_As_bool(obj2));
19913 if (SWIG_arg_fail(3)) SWIG_fail;
19914 }
d55e5bfc
RD
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 (arg1)->EnableTool(arg2,arg3);
19918
19919 wxPyEndAllowThreads(__tstate);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
19922 Py_INCREF(Py_None); resultobj = Py_None;
19923 return resultobj;
19924 fail:
19925 return NULL;
19926}
19927
19928
c370783e 19929static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19930 PyObject *resultobj;
19931 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19932 int arg2 ;
19933 bool arg3 ;
19934 PyObject * obj0 = 0 ;
19935 PyObject * obj1 = 0 ;
19936 PyObject * obj2 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self",(char *) "id",(char *) "toggle", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19943 if (SWIG_arg_fail(1)) SWIG_fail;
19944 {
19945 arg2 = (int)(SWIG_As_int(obj1));
19946 if (SWIG_arg_fail(2)) SWIG_fail;
19947 }
19948 {
19949 arg3 = (bool)(SWIG_As_bool(obj2));
19950 if (SWIG_arg_fail(3)) SWIG_fail;
19951 }
d55e5bfc
RD
19952 {
19953 PyThreadState* __tstate = wxPyBeginAllowThreads();
19954 (arg1)->ToggleTool(arg2,arg3);
19955
19956 wxPyEndAllowThreads(__tstate);
19957 if (PyErr_Occurred()) SWIG_fail;
19958 }
19959 Py_INCREF(Py_None); resultobj = Py_None;
19960 return resultobj;
19961 fail:
19962 return NULL;
19963}
19964
19965
c370783e 19966static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19967 PyObject *resultobj;
19968 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19969 int arg2 ;
19970 bool arg3 ;
19971 PyObject * obj0 = 0 ;
19972 PyObject * obj1 = 0 ;
19973 PyObject * obj2 = 0 ;
19974 char *kwnames[] = {
19975 (char *) "self",(char *) "id",(char *) "toggle", NULL
19976 };
19977
19978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19980 if (SWIG_arg_fail(1)) SWIG_fail;
19981 {
19982 arg2 = (int)(SWIG_As_int(obj1));
19983 if (SWIG_arg_fail(2)) SWIG_fail;
19984 }
19985 {
19986 arg3 = (bool)(SWIG_As_bool(obj2));
19987 if (SWIG_arg_fail(3)) SWIG_fail;
19988 }
d55e5bfc
RD
19989 {
19990 PyThreadState* __tstate = wxPyBeginAllowThreads();
19991 (arg1)->SetToggle(arg2,arg3);
19992
19993 wxPyEndAllowThreads(__tstate);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
19996 Py_INCREF(Py_None); resultobj = Py_None;
19997 return resultobj;
19998 fail:
19999 return NULL;
20000}
20001
20002
c370783e 20003static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20004 PyObject *resultobj;
20005 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20006 int arg2 ;
20007 PyObject *result;
20008 PyObject * obj0 = 0 ;
20009 PyObject * obj1 = 0 ;
20010 char *kwnames[] = {
20011 (char *) "self",(char *) "id", NULL
20012 };
20013
20014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20016 if (SWIG_arg_fail(1)) SWIG_fail;
20017 {
20018 arg2 = (int)(SWIG_As_int(obj1));
20019 if (SWIG_arg_fail(2)) SWIG_fail;
20020 }
d55e5bfc
RD
20021 {
20022 PyThreadState* __tstate = wxPyBeginAllowThreads();
20023 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20024
20025 wxPyEndAllowThreads(__tstate);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 resultobj = result;
20029 return resultobj;
20030 fail:
20031 return NULL;
20032}
20033
20034
c370783e 20035static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20036 PyObject *resultobj;
20037 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20038 int arg2 ;
20039 PyObject *arg3 = (PyObject *) 0 ;
20040 PyObject * obj0 = 0 ;
20041 PyObject * obj1 = 0 ;
20042 PyObject * obj2 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self",(char *) "id",(char *) "clientData", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20049 if (SWIG_arg_fail(1)) SWIG_fail;
20050 {
20051 arg2 = (int)(SWIG_As_int(obj1));
20052 if (SWIG_arg_fail(2)) SWIG_fail;
20053 }
d55e5bfc
RD
20054 arg3 = obj2;
20055 {
20056 PyThreadState* __tstate = wxPyBeginAllowThreads();
20057 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20058
20059 wxPyEndAllowThreads(__tstate);
20060 if (PyErr_Occurred()) SWIG_fail;
20061 }
20062 Py_INCREF(Py_None); resultobj = Py_None;
20063 return resultobj;
20064 fail:
20065 return NULL;
20066}
20067
20068
c370783e 20069static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20070 PyObject *resultobj;
20071 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20072 int arg2 ;
20073 int result;
20074 PyObject * obj0 = 0 ;
20075 PyObject * obj1 = 0 ;
20076 char *kwnames[] = {
20077 (char *) "self",(char *) "id", NULL
20078 };
20079
20080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20082 if (SWIG_arg_fail(1)) SWIG_fail;
20083 {
20084 arg2 = (int)(SWIG_As_int(obj1));
20085 if (SWIG_arg_fail(2)) SWIG_fail;
20086 }
d55e5bfc
RD
20087 {
20088 PyThreadState* __tstate = wxPyBeginAllowThreads();
20089 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20090
20091 wxPyEndAllowThreads(__tstate);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
36ed4f51
RD
20094 {
20095 resultobj = SWIG_From_int((int)(result));
20096 }
d55e5bfc
RD
20097 return resultobj;
20098 fail:
20099 return NULL;
20100}
20101
20102
c370783e 20103static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20104 PyObject *resultobj;
20105 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20106 int arg2 ;
20107 bool result;
20108 PyObject * obj0 = 0 ;
20109 PyObject * obj1 = 0 ;
20110 char *kwnames[] = {
20111 (char *) "self",(char *) "id", NULL
20112 };
20113
20114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20116 if (SWIG_arg_fail(1)) SWIG_fail;
20117 {
20118 arg2 = (int)(SWIG_As_int(obj1));
20119 if (SWIG_arg_fail(2)) SWIG_fail;
20120 }
d55e5bfc
RD
20121 {
20122 PyThreadState* __tstate = wxPyBeginAllowThreads();
20123 result = (bool)(arg1)->GetToolState(arg2);
20124
20125 wxPyEndAllowThreads(__tstate);
20126 if (PyErr_Occurred()) SWIG_fail;
20127 }
20128 {
20129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20130 }
20131 return resultobj;
20132 fail:
20133 return NULL;
20134}
20135
20136
c370783e 20137static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20138 PyObject *resultobj;
20139 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20140 int arg2 ;
20141 bool result;
20142 PyObject * obj0 = 0 ;
20143 PyObject * obj1 = 0 ;
20144 char *kwnames[] = {
20145 (char *) "self",(char *) "id", NULL
20146 };
20147
20148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20150 if (SWIG_arg_fail(1)) SWIG_fail;
20151 {
20152 arg2 = (int)(SWIG_As_int(obj1));
20153 if (SWIG_arg_fail(2)) SWIG_fail;
20154 }
d55e5bfc
RD
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 result = (bool)(arg1)->GetToolEnabled(arg2);
20158
20159 wxPyEndAllowThreads(__tstate);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 }
20162 {
20163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20164 }
20165 return resultobj;
20166 fail:
20167 return NULL;
20168}
20169
20170
c370783e 20171static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20172 PyObject *resultobj;
20173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20174 int arg2 ;
20175 wxString *arg3 = 0 ;
b411df4a 20176 bool temp3 = false ;
d55e5bfc
RD
20177 PyObject * obj0 = 0 ;
20178 PyObject * obj1 = 0 ;
20179 PyObject * obj2 = 0 ;
20180 char *kwnames[] = {
20181 (char *) "self",(char *) "id",(char *) "helpString", NULL
20182 };
20183
20184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20186 if (SWIG_arg_fail(1)) SWIG_fail;
20187 {
20188 arg2 = (int)(SWIG_As_int(obj1));
20189 if (SWIG_arg_fail(2)) SWIG_fail;
20190 }
d55e5bfc
RD
20191 {
20192 arg3 = wxString_in_helper(obj2);
20193 if (arg3 == NULL) SWIG_fail;
b411df4a 20194 temp3 = true;
d55e5bfc
RD
20195 }
20196 {
20197 PyThreadState* __tstate = wxPyBeginAllowThreads();
20198 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20199
20200 wxPyEndAllowThreads(__tstate);
20201 if (PyErr_Occurred()) SWIG_fail;
20202 }
20203 Py_INCREF(Py_None); resultobj = Py_None;
20204 {
20205 if (temp3)
20206 delete arg3;
20207 }
20208 return resultobj;
20209 fail:
20210 {
20211 if (temp3)
20212 delete arg3;
20213 }
20214 return NULL;
20215}
20216
20217
c370783e 20218static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20219 PyObject *resultobj;
20220 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20221 int arg2 ;
20222 wxString result;
20223 PyObject * obj0 = 0 ;
20224 PyObject * obj1 = 0 ;
20225 char *kwnames[] = {
20226 (char *) "self",(char *) "id", NULL
20227 };
20228
20229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20231 if (SWIG_arg_fail(1)) SWIG_fail;
20232 {
20233 arg2 = (int)(SWIG_As_int(obj1));
20234 if (SWIG_arg_fail(2)) SWIG_fail;
20235 }
d55e5bfc
RD
20236 {
20237 PyThreadState* __tstate = wxPyBeginAllowThreads();
20238 result = (arg1)->GetToolShortHelp(arg2);
20239
20240 wxPyEndAllowThreads(__tstate);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 }
20243 {
20244#if wxUSE_UNICODE
20245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20246#else
20247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20248#endif
20249 }
20250 return resultobj;
20251 fail:
20252 return NULL;
20253}
20254
20255
c370783e 20256static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20257 PyObject *resultobj;
20258 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20259 int arg2 ;
20260 wxString *arg3 = 0 ;
b411df4a 20261 bool temp3 = false ;
d55e5bfc
RD
20262 PyObject * obj0 = 0 ;
20263 PyObject * obj1 = 0 ;
20264 PyObject * obj2 = 0 ;
20265 char *kwnames[] = {
20266 (char *) "self",(char *) "id",(char *) "helpString", NULL
20267 };
20268
20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20271 if (SWIG_arg_fail(1)) SWIG_fail;
20272 {
20273 arg2 = (int)(SWIG_As_int(obj1));
20274 if (SWIG_arg_fail(2)) SWIG_fail;
20275 }
d55e5bfc
RD
20276 {
20277 arg3 = wxString_in_helper(obj2);
20278 if (arg3 == NULL) SWIG_fail;
b411df4a 20279 temp3 = true;
d55e5bfc
RD
20280 }
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 Py_INCREF(Py_None); resultobj = Py_None;
20289 {
20290 if (temp3)
20291 delete arg3;
20292 }
20293 return resultobj;
20294 fail:
20295 {
20296 if (temp3)
20297 delete arg3;
20298 }
20299 return NULL;
20300}
20301
20302
c370783e 20303static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20304 PyObject *resultobj;
20305 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20306 int arg2 ;
20307 wxString result;
20308 PyObject * obj0 = 0 ;
20309 PyObject * obj1 = 0 ;
20310 char *kwnames[] = {
20311 (char *) "self",(char *) "id", NULL
20312 };
20313
20314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20316 if (SWIG_arg_fail(1)) SWIG_fail;
20317 {
20318 arg2 = (int)(SWIG_As_int(obj1));
20319 if (SWIG_arg_fail(2)) SWIG_fail;
20320 }
d55e5bfc
RD
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 result = (arg1)->GetToolLongHelp(arg2);
20324
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 {
20329#if wxUSE_UNICODE
20330 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20331#else
20332 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20333#endif
20334 }
20335 return resultobj;
20336 fail:
20337 return NULL;
20338}
20339
20340
c370783e 20341static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20342 PyObject *resultobj;
20343 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20344 int arg2 ;
20345 int arg3 ;
20346 PyObject * obj0 = 0 ;
20347 PyObject * obj1 = 0 ;
20348 PyObject * obj2 = 0 ;
20349 char *kwnames[] = {
20350 (char *) "self",(char *) "x",(char *) "y", NULL
20351 };
20352
20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20355 if (SWIG_arg_fail(1)) SWIG_fail;
20356 {
20357 arg2 = (int)(SWIG_As_int(obj1));
20358 if (SWIG_arg_fail(2)) SWIG_fail;
20359 }
20360 {
20361 arg3 = (int)(SWIG_As_int(obj2));
20362 if (SWIG_arg_fail(3)) SWIG_fail;
20363 }
d55e5bfc
RD
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 (arg1)->SetMargins(arg2,arg3);
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 Py_INCREF(Py_None); resultobj = Py_None;
20372 return resultobj;
20373 fail:
20374 return NULL;
20375}
20376
20377
c370783e 20378static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20379 PyObject *resultobj;
20380 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20381 wxSize *arg2 = 0 ;
20382 wxSize temp2 ;
20383 PyObject * obj0 = 0 ;
20384 PyObject * obj1 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self",(char *) "size", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20392 {
20393 arg2 = &temp2;
20394 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20395 }
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 (arg1)->SetMargins((wxSize const &)*arg2);
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 Py_INCREF(Py_None); resultobj = Py_None;
20404 return resultobj;
20405 fail:
20406 return NULL;
20407}
20408
20409
c370783e 20410static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20411 PyObject *resultobj;
20412 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20413 int arg2 ;
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self",(char *) "packing", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20422 if (SWIG_arg_fail(1)) SWIG_fail;
20423 {
20424 arg2 = (int)(SWIG_As_int(obj1));
20425 if (SWIG_arg_fail(2)) SWIG_fail;
20426 }
d55e5bfc
RD
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 (arg1)->SetToolPacking(arg2);
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 Py_INCREF(Py_None); resultobj = Py_None;
20435 return resultobj;
20436 fail:
20437 return NULL;
20438}
20439
20440
c370783e 20441static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20442 PyObject *resultobj;
20443 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20444 int arg2 ;
20445 PyObject * obj0 = 0 ;
20446 PyObject * obj1 = 0 ;
20447 char *kwnames[] = {
20448 (char *) "self",(char *) "separation", NULL
20449 };
20450
20451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20453 if (SWIG_arg_fail(1)) SWIG_fail;
20454 {
20455 arg2 = (int)(SWIG_As_int(obj1));
20456 if (SWIG_arg_fail(2)) SWIG_fail;
20457 }
d55e5bfc
RD
20458 {
20459 PyThreadState* __tstate = wxPyBeginAllowThreads();
20460 (arg1)->SetToolSeparation(arg2);
20461
20462 wxPyEndAllowThreads(__tstate);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 }
20465 Py_INCREF(Py_None); resultobj = Py_None;
20466 return resultobj;
20467 fail:
20468 return NULL;
20469}
20470
20471
c370783e 20472static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20473 PyObject *resultobj;
20474 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20475 wxSize result;
20476 PyObject * obj0 = 0 ;
20477 char *kwnames[] = {
20478 (char *) "self", NULL
20479 };
20480
20481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
20482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20483 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 result = (arg1)->GetToolMargins();
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 {
20492 wxSize * resultptr;
36ed4f51 20493 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20494 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20495 }
20496 return resultobj;
20497 fail:
20498 return NULL;
20499}
20500
20501
c370783e 20502static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20503 PyObject *resultobj;
20504 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20505 wxSize result;
20506 PyObject * obj0 = 0 ;
20507 char *kwnames[] = {
20508 (char *) "self", NULL
20509 };
20510
20511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
20512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20514 {
20515 PyThreadState* __tstate = wxPyBeginAllowThreads();
20516 result = (arg1)->GetMargins();
20517
20518 wxPyEndAllowThreads(__tstate);
20519 if (PyErr_Occurred()) SWIG_fail;
20520 }
20521 {
20522 wxSize * resultptr;
36ed4f51 20523 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20525 }
20526 return resultobj;
20527 fail:
20528 return NULL;
20529}
20530
20531
c370783e 20532static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20533 PyObject *resultobj;
20534 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20535 int result;
20536 PyObject * obj0 = 0 ;
20537 char *kwnames[] = {
20538 (char *) "self", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
36ed4f51
RD
20542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
20546 result = (int)(arg1)->GetToolPacking();
20547
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
36ed4f51
RD
20551 {
20552 resultobj = SWIG_From_int((int)(result));
20553 }
d55e5bfc
RD
20554 return resultobj;
20555 fail:
20556 return NULL;
20557}
20558
20559
c370783e 20560static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20561 PyObject *resultobj;
20562 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20563 int result;
20564 PyObject * obj0 = 0 ;
20565 char *kwnames[] = {
20566 (char *) "self", NULL
20567 };
20568
20569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
36ed4f51
RD
20570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20571 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20572 {
20573 PyThreadState* __tstate = wxPyBeginAllowThreads();
20574 result = (int)(arg1)->GetToolSeparation();
20575
20576 wxPyEndAllowThreads(__tstate);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 }
36ed4f51
RD
20579 {
20580 resultobj = SWIG_From_int((int)(result));
20581 }
d55e5bfc
RD
20582 return resultobj;
20583 fail:
20584 return NULL;
20585}
20586
20587
c370783e 20588static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20589 PyObject *resultobj;
20590 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20591 int arg2 ;
20592 PyObject * obj0 = 0 ;
20593 PyObject * obj1 = 0 ;
20594 char *kwnames[] = {
20595 (char *) "self",(char *) "nRows", NULL
20596 };
20597
20598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20600 if (SWIG_arg_fail(1)) SWIG_fail;
20601 {
20602 arg2 = (int)(SWIG_As_int(obj1));
20603 if (SWIG_arg_fail(2)) SWIG_fail;
20604 }
d55e5bfc
RD
20605 {
20606 PyThreadState* __tstate = wxPyBeginAllowThreads();
20607 (arg1)->SetRows(arg2);
20608
20609 wxPyEndAllowThreads(__tstate);
20610 if (PyErr_Occurred()) SWIG_fail;
20611 }
20612 Py_INCREF(Py_None); resultobj = Py_None;
20613 return resultobj;
20614 fail:
20615 return NULL;
20616}
20617
20618
c370783e 20619static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20620 PyObject *resultobj;
20621 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20622 int arg2 ;
20623 int arg3 ;
20624 PyObject * obj0 = 0 ;
20625 PyObject * obj1 = 0 ;
20626 PyObject * obj2 = 0 ;
20627 char *kwnames[] = {
20628 (char *) "self",(char *) "rows",(char *) "cols", NULL
20629 };
20630
20631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20633 if (SWIG_arg_fail(1)) SWIG_fail;
20634 {
20635 arg2 = (int)(SWIG_As_int(obj1));
20636 if (SWIG_arg_fail(2)) SWIG_fail;
20637 }
20638 {
20639 arg3 = (int)(SWIG_As_int(obj2));
20640 if (SWIG_arg_fail(3)) SWIG_fail;
20641 }
d55e5bfc
RD
20642 {
20643 PyThreadState* __tstate = wxPyBeginAllowThreads();
20644 (arg1)->SetMaxRowsCols(arg2,arg3);
20645
20646 wxPyEndAllowThreads(__tstate);
20647 if (PyErr_Occurred()) SWIG_fail;
20648 }
20649 Py_INCREF(Py_None); resultobj = Py_None;
20650 return resultobj;
20651 fail:
20652 return NULL;
20653}
20654
20655
c370783e 20656static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20657 PyObject *resultobj;
20658 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20659 int result;
20660 PyObject * obj0 = 0 ;
20661 char *kwnames[] = {
20662 (char *) "self", NULL
20663 };
20664
20665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
36ed4f51
RD
20666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20667 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 result = (int)(arg1)->GetMaxRows();
20671
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
36ed4f51
RD
20675 {
20676 resultobj = SWIG_From_int((int)(result));
20677 }
d55e5bfc
RD
20678 return resultobj;
20679 fail:
20680 return NULL;
20681}
20682
20683
c370783e 20684static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20685 PyObject *resultobj;
20686 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20687 int result;
20688 PyObject * obj0 = 0 ;
20689 char *kwnames[] = {
20690 (char *) "self", NULL
20691 };
20692
20693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
36ed4f51
RD
20694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20695 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20696 {
20697 PyThreadState* __tstate = wxPyBeginAllowThreads();
20698 result = (int)(arg1)->GetMaxCols();
20699
20700 wxPyEndAllowThreads(__tstate);
20701 if (PyErr_Occurred()) SWIG_fail;
20702 }
36ed4f51
RD
20703 {
20704 resultobj = SWIG_From_int((int)(result));
20705 }
d55e5bfc
RD
20706 return resultobj;
20707 fail:
20708 return NULL;
20709}
20710
20711
c370783e 20712static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20713 PyObject *resultobj;
20714 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20715 wxSize *arg2 = 0 ;
20716 wxSize temp2 ;
20717 PyObject * obj0 = 0 ;
20718 PyObject * obj1 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "self",(char *) "size", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20725 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20726 {
20727 arg2 = &temp2;
20728 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20729 }
20730 {
20731 PyThreadState* __tstate = wxPyBeginAllowThreads();
20732 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20733
20734 wxPyEndAllowThreads(__tstate);
20735 if (PyErr_Occurred()) SWIG_fail;
20736 }
20737 Py_INCREF(Py_None); resultobj = Py_None;
20738 return resultobj;
20739 fail:
20740 return NULL;
20741}
20742
20743
c370783e 20744static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20745 PyObject *resultobj;
20746 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20747 wxSize result;
20748 PyObject * obj0 = 0 ;
20749 char *kwnames[] = {
20750 (char *) "self", NULL
20751 };
20752
20753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20755 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20756 {
20757 PyThreadState* __tstate = wxPyBeginAllowThreads();
20758 result = (arg1)->GetToolBitmapSize();
20759
20760 wxPyEndAllowThreads(__tstate);
20761 if (PyErr_Occurred()) SWIG_fail;
20762 }
20763 {
20764 wxSize * resultptr;
36ed4f51 20765 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20767 }
20768 return resultobj;
20769 fail:
20770 return NULL;
20771}
20772
20773
c370783e 20774static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20775 PyObject *resultobj;
20776 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20777 wxSize result;
20778 PyObject * obj0 = 0 ;
20779 char *kwnames[] = {
20780 (char *) "self", NULL
20781 };
20782
20783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20785 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20786 {
20787 PyThreadState* __tstate = wxPyBeginAllowThreads();
20788 result = (arg1)->GetToolSize();
20789
20790 wxPyEndAllowThreads(__tstate);
20791 if (PyErr_Occurred()) SWIG_fail;
20792 }
20793 {
20794 wxSize * resultptr;
36ed4f51 20795 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20796 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20797 }
20798 return resultobj;
20799 fail:
20800 return NULL;
20801}
20802
20803
c370783e 20804static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20805 PyObject *resultobj;
20806 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20807 int arg2 ;
20808 int arg3 ;
20809 wxToolBarToolBase *result;
20810 PyObject * obj0 = 0 ;
20811 PyObject * obj1 = 0 ;
20812 PyObject * obj2 = 0 ;
20813 char *kwnames[] = {
20814 (char *) "self",(char *) "x",(char *) "y", NULL
20815 };
20816
20817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20819 if (SWIG_arg_fail(1)) SWIG_fail;
20820 {
20821 arg2 = (int)(SWIG_As_int(obj1));
20822 if (SWIG_arg_fail(2)) SWIG_fail;
20823 }
20824 {
20825 arg3 = (int)(SWIG_As_int(obj2));
20826 if (SWIG_arg_fail(3)) SWIG_fail;
20827 }
d55e5bfc
RD
20828 {
20829 PyThreadState* __tstate = wxPyBeginAllowThreads();
20830 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20831
20832 wxPyEndAllowThreads(__tstate);
20833 if (PyErr_Occurred()) SWIG_fail;
20834 }
20835 {
412d302d 20836 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20837 }
20838 return resultobj;
20839 fail:
20840 return NULL;
20841}
20842
20843
c370783e 20844static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20845 PyObject *resultobj;
20846 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20847 int arg2 ;
20848 wxToolBarToolBase *result;
20849 PyObject * obj0 = 0 ;
20850 PyObject * obj1 = 0 ;
20851 char *kwnames[] = {
20852 (char *) "self",(char *) "toolid", NULL
20853 };
20854
20855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20857 if (SWIG_arg_fail(1)) SWIG_fail;
20858 {
20859 arg2 = (int)(SWIG_As_int(obj1));
20860 if (SWIG_arg_fail(2)) SWIG_fail;
20861 }
d55e5bfc
RD
20862 {
20863 PyThreadState* __tstate = wxPyBeginAllowThreads();
20864 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20865
20866 wxPyEndAllowThreads(__tstate);
20867 if (PyErr_Occurred()) SWIG_fail;
20868 }
20869 {
412d302d 20870 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20871 }
20872 return resultobj;
20873 fail:
20874 return NULL;
20875}
20876
20877
c370783e 20878static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20879 PyObject *resultobj;
20880 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20881 bool result;
20882 PyObject * obj0 = 0 ;
20883 char *kwnames[] = {
20884 (char *) "self", NULL
20885 };
20886
20887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
20888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20889 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20890 {
20891 PyThreadState* __tstate = wxPyBeginAllowThreads();
20892 result = (bool)(arg1)->IsVertical();
20893
20894 wxPyEndAllowThreads(__tstate);
20895 if (PyErr_Occurred()) SWIG_fail;
20896 }
20897 {
20898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20899 }
20900 return resultobj;
20901 fail:
20902 return NULL;
20903}
20904
20905
c370783e 20906static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20907 PyObject *obj;
20908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20909 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20910 Py_INCREF(obj);
20911 return Py_BuildValue((char *)"");
20912}
c370783e 20913static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20914 PyObject *resultobj;
20915 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 20916 int arg2 = (int) -1 ;
d55e5bfc
RD
20917 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20918 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20919 wxSize const &arg4_defvalue = wxDefaultSize ;
20920 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20921 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20922 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
20923 wxString *arg6 = (wxString *) &arg6_defvalue ;
20924 wxToolBar *result;
20925 wxPoint temp3 ;
20926 wxSize temp4 ;
b411df4a 20927 bool temp6 = false ;
d55e5bfc
RD
20928 PyObject * obj0 = 0 ;
20929 PyObject * obj1 = 0 ;
20930 PyObject * obj2 = 0 ;
20931 PyObject * obj3 = 0 ;
20932 PyObject * obj4 = 0 ;
20933 PyObject * obj5 = 0 ;
20934 char *kwnames[] = {
20935 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20936 };
20937
bfddbb17 20938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
20939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20940 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 20941 if (obj1) {
36ed4f51
RD
20942 {
20943 arg2 = (int)(SWIG_As_int(obj1));
20944 if (SWIG_arg_fail(2)) SWIG_fail;
20945 }
bfddbb17 20946 }
d55e5bfc
RD
20947 if (obj2) {
20948 {
20949 arg3 = &temp3;
20950 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20951 }
20952 }
20953 if (obj3) {
20954 {
20955 arg4 = &temp4;
20956 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20957 }
20958 }
20959 if (obj4) {
36ed4f51
RD
20960 {
20961 arg5 = (long)(SWIG_As_long(obj4));
20962 if (SWIG_arg_fail(5)) SWIG_fail;
20963 }
d55e5bfc
RD
20964 }
20965 if (obj5) {
20966 {
20967 arg6 = wxString_in_helper(obj5);
20968 if (arg6 == NULL) SWIG_fail;
b411df4a 20969 temp6 = true;
d55e5bfc
RD
20970 }
20971 }
20972 {
0439c23b 20973 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
20974 PyThreadState* __tstate = wxPyBeginAllowThreads();
20975 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20976
20977 wxPyEndAllowThreads(__tstate);
110da5b0 20978 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 20979 }
b0f7404b 20980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
20981 {
20982 if (temp6)
20983 delete arg6;
20984 }
20985 return resultobj;
20986 fail:
20987 {
20988 if (temp6)
20989 delete arg6;
20990 }
20991 return NULL;
20992}
20993
20994
c370783e 20995static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20996 PyObject *resultobj;
20997 wxToolBar *result;
20998 char *kwnames[] = {
20999 NULL
21000 };
21001
21002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21003 {
0439c23b 21004 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21005 PyThreadState* __tstate = wxPyBeginAllowThreads();
21006 result = (wxToolBar *)new wxToolBar();
21007
21008 wxPyEndAllowThreads(__tstate);
110da5b0 21009 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 21010 }
b0f7404b 21011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
21012 return resultobj;
21013 fail:
21014 return NULL;
21015}
21016
21017
c370783e 21018static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21019 PyObject *resultobj;
21020 wxToolBar *arg1 = (wxToolBar *) 0 ;
21021 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 21022 int arg3 = (int) -1 ;
d55e5bfc
RD
21023 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21024 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21025 wxSize const &arg5_defvalue = wxDefaultSize ;
21026 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21027 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21028 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21029 wxString *arg7 = (wxString *) &arg7_defvalue ;
21030 bool result;
21031 wxPoint temp4 ;
21032 wxSize temp5 ;
b411df4a 21033 bool temp7 = false ;
d55e5bfc
RD
21034 PyObject * obj0 = 0 ;
21035 PyObject * obj1 = 0 ;
21036 PyObject * obj2 = 0 ;
21037 PyObject * obj3 = 0 ;
21038 PyObject * obj4 = 0 ;
21039 PyObject * obj5 = 0 ;
21040 PyObject * obj6 = 0 ;
21041 char *kwnames[] = {
21042 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21043 };
21044
bfddbb17 21045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
21046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21047 if (SWIG_arg_fail(1)) SWIG_fail;
21048 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21049 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 21050 if (obj2) {
36ed4f51
RD
21051 {
21052 arg3 = (int)(SWIG_As_int(obj2));
21053 if (SWIG_arg_fail(3)) SWIG_fail;
21054 }
bfddbb17 21055 }
d55e5bfc
RD
21056 if (obj3) {
21057 {
21058 arg4 = &temp4;
21059 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21060 }
21061 }
21062 if (obj4) {
21063 {
21064 arg5 = &temp5;
21065 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21066 }
21067 }
21068 if (obj5) {
36ed4f51
RD
21069 {
21070 arg6 = (long)(SWIG_As_long(obj5));
21071 if (SWIG_arg_fail(6)) SWIG_fail;
21072 }
d55e5bfc
RD
21073 }
21074 if (obj6) {
21075 {
21076 arg7 = wxString_in_helper(obj6);
21077 if (arg7 == NULL) SWIG_fail;
b411df4a 21078 temp7 = true;
d55e5bfc
RD
21079 }
21080 }
21081 {
21082 PyThreadState* __tstate = wxPyBeginAllowThreads();
21083 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21084
21085 wxPyEndAllowThreads(__tstate);
21086 if (PyErr_Occurred()) SWIG_fail;
21087 }
21088 {
21089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21090 }
21091 {
21092 if (temp7)
21093 delete arg7;
21094 }
21095 return resultobj;
21096 fail:
21097 {
21098 if (temp7)
21099 delete arg7;
21100 }
21101 return NULL;
21102}
21103
21104
c370783e 21105static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21106 PyObject *resultobj;
21107 wxToolBar *arg1 = (wxToolBar *) 0 ;
21108 int arg2 ;
21109 int arg3 ;
21110 wxToolBarToolBase *result;
21111 PyObject * obj0 = 0 ;
21112 PyObject * obj1 = 0 ;
21113 PyObject * obj2 = 0 ;
21114 char *kwnames[] = {
21115 (char *) "self",(char *) "x",(char *) "y", NULL
21116 };
21117
21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21120 if (SWIG_arg_fail(1)) SWIG_fail;
21121 {
21122 arg2 = (int)(SWIG_As_int(obj1));
21123 if (SWIG_arg_fail(2)) SWIG_fail;
21124 }
21125 {
21126 arg3 = (int)(SWIG_As_int(obj2));
21127 if (SWIG_arg_fail(3)) SWIG_fail;
21128 }
d55e5bfc
RD
21129 {
21130 PyThreadState* __tstate = wxPyBeginAllowThreads();
21131 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21132
21133 wxPyEndAllowThreads(__tstate);
21134 if (PyErr_Occurred()) SWIG_fail;
21135 }
21136 {
412d302d 21137 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21138 }
21139 return resultobj;
21140 fail:
21141 return NULL;
21142}
21143
21144
c370783e 21145static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 21146 PyObject *resultobj;
36ed4f51 21147 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
21148 wxVisualAttributes result;
21149 PyObject * obj0 = 0 ;
21150 char *kwnames[] = {
21151 (char *) "variant", NULL
21152 };
21153
21154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21155 if (obj0) {
36ed4f51
RD
21156 {
21157 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21158 if (SWIG_arg_fail(1)) SWIG_fail;
21159 }
f20a2e1f
RD
21160 }
21161 {
0439c23b 21162 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
21163 PyThreadState* __tstate = wxPyBeginAllowThreads();
21164 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21165
21166 wxPyEndAllowThreads(__tstate);
110da5b0 21167 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
21168 }
21169 {
21170 wxVisualAttributes * resultptr;
36ed4f51 21171 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
21172 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21173 }
21174 return resultobj;
21175 fail:
21176 return NULL;
21177}
21178
21179
c370783e 21180static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21181 PyObject *obj;
21182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21183 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21184 Py_INCREF(obj);
21185 return Py_BuildValue((char *)"");
21186}
c370783e 21187static int _wrap_ListCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
21188 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21189 return 1;
21190}
21191
21192
36ed4f51 21193static PyObject *_wrap_ListCtrlNameStr_get(void) {
d55e5bfc
RD
21194 PyObject *pyobj;
21195
21196 {
21197#if wxUSE_UNICODE
21198 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21199#else
21200 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21201#endif
21202 }
21203 return pyobj;
21204}
21205
21206
c370783e 21207static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21208 PyObject *resultobj;
21209 wxColour const &arg1_defvalue = wxNullColour ;
21210 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21211 wxColour const &arg2_defvalue = wxNullColour ;
21212 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21213 wxFont const &arg3_defvalue = wxNullFont ;
21214 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21215 wxListItemAttr *result;
21216 wxColour temp1 ;
21217 wxColour temp2 ;
21218 PyObject * obj0 = 0 ;
21219 PyObject * obj1 = 0 ;
21220 PyObject * obj2 = 0 ;
21221 char *kwnames[] = {
21222 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21223 };
21224
21225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21226 if (obj0) {
21227 {
21228 arg1 = &temp1;
21229 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21230 }
21231 }
21232 if (obj1) {
21233 {
21234 arg2 = &temp2;
21235 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21236 }
21237 }
21238 if (obj2) {
36ed4f51
RD
21239 {
21240 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21241 if (SWIG_arg_fail(3)) SWIG_fail;
21242 if (arg3 == NULL) {
21243 SWIG_null_ref("wxFont");
21244 }
21245 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
21246 }
21247 }
21248 {
21249 PyThreadState* __tstate = wxPyBeginAllowThreads();
21250 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21251
21252 wxPyEndAllowThreads(__tstate);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21256 return resultobj;
21257 fail:
21258 return NULL;
21259}
21260
21261
c370783e 21262static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21263 PyObject *resultobj;
21264 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21265 wxColour *arg2 = 0 ;
21266 wxColour temp2 ;
21267 PyObject * obj0 = 0 ;
21268 PyObject * obj1 = 0 ;
21269 char *kwnames[] = {
21270 (char *) "self",(char *) "colText", NULL
21271 };
21272
21273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21275 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21276 {
21277 arg2 = &temp2;
21278 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21279 }
21280 {
21281 PyThreadState* __tstate = wxPyBeginAllowThreads();
21282 (arg1)->SetTextColour((wxColour const &)*arg2);
21283
21284 wxPyEndAllowThreads(__tstate);
21285 if (PyErr_Occurred()) SWIG_fail;
21286 }
21287 Py_INCREF(Py_None); resultobj = Py_None;
21288 return resultobj;
21289 fail:
21290 return NULL;
21291}
21292
21293
c370783e 21294static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21295 PyObject *resultobj;
21296 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21297 wxColour *arg2 = 0 ;
21298 wxColour temp2 ;
21299 PyObject * obj0 = 0 ;
21300 PyObject * obj1 = 0 ;
21301 char *kwnames[] = {
21302 (char *) "self",(char *) "colBack", NULL
21303 };
21304
21305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21308 {
21309 arg2 = &temp2;
21310 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21311 }
21312 {
21313 PyThreadState* __tstate = wxPyBeginAllowThreads();
21314 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21315
21316 wxPyEndAllowThreads(__tstate);
21317 if (PyErr_Occurred()) SWIG_fail;
21318 }
21319 Py_INCREF(Py_None); resultobj = Py_None;
21320 return resultobj;
21321 fail:
21322 return NULL;
21323}
21324
21325
c370783e 21326static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21327 PyObject *resultobj;
21328 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21329 wxFont *arg2 = 0 ;
21330 PyObject * obj0 = 0 ;
21331 PyObject * obj1 = 0 ;
21332 char *kwnames[] = {
21333 (char *) "self",(char *) "font", NULL
21334 };
21335
21336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21338 if (SWIG_arg_fail(1)) SWIG_fail;
21339 {
21340 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21341 if (SWIG_arg_fail(2)) SWIG_fail;
21342 if (arg2 == NULL) {
21343 SWIG_null_ref("wxFont");
21344 }
21345 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21346 }
21347 {
21348 PyThreadState* __tstate = wxPyBeginAllowThreads();
21349 (arg1)->SetFont((wxFont const &)*arg2);
21350
21351 wxPyEndAllowThreads(__tstate);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 Py_INCREF(Py_None); resultobj = Py_None;
21355 return resultobj;
21356 fail:
21357 return NULL;
21358}
21359
21360
c370783e 21361static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21362 PyObject *resultobj;
21363 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21364 bool result;
21365 PyObject * obj0 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "self", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21372 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21373 {
21374 PyThreadState* __tstate = wxPyBeginAllowThreads();
21375 result = (bool)(arg1)->HasTextColour();
21376
21377 wxPyEndAllowThreads(__tstate);
21378 if (PyErr_Occurred()) SWIG_fail;
21379 }
21380 {
21381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21382 }
21383 return resultobj;
21384 fail:
21385 return NULL;
21386}
21387
21388
c370783e 21389static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21390 PyObject *resultobj;
21391 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21392 bool result;
21393 PyObject * obj0 = 0 ;
21394 char *kwnames[] = {
21395 (char *) "self", NULL
21396 };
21397
21398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21400 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21401 {
21402 PyThreadState* __tstate = wxPyBeginAllowThreads();
21403 result = (bool)(arg1)->HasBackgroundColour();
21404
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 {
21409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21410 }
21411 return resultobj;
21412 fail:
21413 return NULL;
21414}
21415
21416
c370783e 21417static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21418 PyObject *resultobj;
21419 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21420 bool result;
21421 PyObject * obj0 = 0 ;
21422 char *kwnames[] = {
21423 (char *) "self", NULL
21424 };
21425
21426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
21427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21429 {
21430 PyThreadState* __tstate = wxPyBeginAllowThreads();
21431 result = (bool)(arg1)->HasFont();
21432
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 {
21437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21438 }
21439 return resultobj;
21440 fail:
21441 return NULL;
21442}
21443
21444
c370783e 21445static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21446 PyObject *resultobj;
21447 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21448 wxColour result;
21449 PyObject * obj0 = 0 ;
21450 char *kwnames[] = {
21451 (char *) "self", NULL
21452 };
21453
21454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21456 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21457 {
21458 PyThreadState* __tstate = wxPyBeginAllowThreads();
21459 result = (arg1)->GetTextColour();
21460
21461 wxPyEndAllowThreads(__tstate);
21462 if (PyErr_Occurred()) SWIG_fail;
21463 }
21464 {
21465 wxColour * resultptr;
36ed4f51 21466 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21468 }
21469 return resultobj;
21470 fail:
21471 return NULL;
21472}
21473
21474
c370783e 21475static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21476 PyObject *resultobj;
21477 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21478 wxColour result;
21479 PyObject * obj0 = 0 ;
21480 char *kwnames[] = {
21481 (char *) "self", NULL
21482 };
21483
21484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 result = (arg1)->GetBackgroundColour();
21490
21491 wxPyEndAllowThreads(__tstate);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 }
21494 {
21495 wxColour * resultptr;
36ed4f51 21496 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21498 }
21499 return resultobj;
21500 fail:
21501 return NULL;
21502}
21503
21504
c370783e 21505static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21506 PyObject *resultobj;
21507 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21508 wxFont result;
21509 PyObject * obj0 = 0 ;
21510 char *kwnames[] = {
21511 (char *) "self", NULL
21512 };
21513
21514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
21515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21516 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21517 {
21518 PyThreadState* __tstate = wxPyBeginAllowThreads();
21519 result = (arg1)->GetFont();
21520
21521 wxPyEndAllowThreads(__tstate);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 {
21525 wxFont * resultptr;
36ed4f51 21526 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
21527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21528 }
21529 return resultobj;
21530 fail:
21531 return NULL;
21532}
21533
21534
c370783e 21535static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21536 PyObject *resultobj;
21537 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21538 PyObject * obj0 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
21544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21545 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21546 {
21547 PyThreadState* __tstate = wxPyBeginAllowThreads();
21548 wxListItemAttr_Destroy(arg1);
21549
21550 wxPyEndAllowThreads(__tstate);
21551 if (PyErr_Occurred()) SWIG_fail;
21552 }
21553 Py_INCREF(Py_None); resultobj = Py_None;
21554 return resultobj;
21555 fail:
21556 return NULL;
21557}
21558
21559
c370783e 21560static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21561 PyObject *obj;
21562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21563 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21564 Py_INCREF(obj);
21565 return Py_BuildValue((char *)"");
21566}
c370783e 21567static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21568 PyObject *resultobj;
21569 wxListItem *result;
21570 char *kwnames[] = {
21571 NULL
21572 };
21573
21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21575 {
21576 PyThreadState* __tstate = wxPyBeginAllowThreads();
21577 result = (wxListItem *)new wxListItem();
21578
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 {
412d302d 21583 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
21584 }
21585 return resultobj;
21586 fail:
21587 return NULL;
21588}
21589
21590
c370783e 21591static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21592 PyObject *resultobj;
21593 wxListItem *arg1 = (wxListItem *) 0 ;
21594 PyObject * obj0 = 0 ;
21595 char *kwnames[] = {
21596 (char *) "self", NULL
21597 };
21598
21599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
21600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21601 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21602 {
21603 PyThreadState* __tstate = wxPyBeginAllowThreads();
21604 delete arg1;
21605
21606 wxPyEndAllowThreads(__tstate);
21607 if (PyErr_Occurred()) SWIG_fail;
21608 }
21609 Py_INCREF(Py_None); resultobj = Py_None;
21610 return resultobj;
21611 fail:
21612 return NULL;
21613}
21614
21615
c370783e 21616static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21617 PyObject *resultobj;
21618 wxListItem *arg1 = (wxListItem *) 0 ;
21619 PyObject * obj0 = 0 ;
21620 char *kwnames[] = {
21621 (char *) "self", NULL
21622 };
21623
21624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
21625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21626 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21627 {
21628 PyThreadState* __tstate = wxPyBeginAllowThreads();
21629 (arg1)->Clear();
21630
21631 wxPyEndAllowThreads(__tstate);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 Py_INCREF(Py_None); resultobj = Py_None;
21635 return resultobj;
21636 fail:
21637 return NULL;
21638}
21639
21640
c370783e 21641static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21642 PyObject *resultobj;
21643 wxListItem *arg1 = (wxListItem *) 0 ;
21644 PyObject * obj0 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
21650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 (arg1)->ClearAttributes();
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 Py_INCREF(Py_None); resultobj = Py_None;
21660 return resultobj;
21661 fail:
21662 return NULL;
21663}
21664
21665
c370783e 21666static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21667 PyObject *resultobj;
21668 wxListItem *arg1 = (wxListItem *) 0 ;
21669 long arg2 ;
21670 PyObject * obj0 = 0 ;
21671 PyObject * obj1 = 0 ;
21672 char *kwnames[] = {
21673 (char *) "self",(char *) "mask", NULL
21674 };
21675
21676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21678 if (SWIG_arg_fail(1)) SWIG_fail;
21679 {
21680 arg2 = (long)(SWIG_As_long(obj1));
21681 if (SWIG_arg_fail(2)) SWIG_fail;
21682 }
d55e5bfc
RD
21683 {
21684 PyThreadState* __tstate = wxPyBeginAllowThreads();
21685 (arg1)->SetMask(arg2);
21686
21687 wxPyEndAllowThreads(__tstate);
21688 if (PyErr_Occurred()) SWIG_fail;
21689 }
21690 Py_INCREF(Py_None); resultobj = Py_None;
21691 return resultobj;
21692 fail:
21693 return NULL;
21694}
21695
21696
c370783e 21697static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21698 PyObject *resultobj;
21699 wxListItem *arg1 = (wxListItem *) 0 ;
21700 long arg2 ;
21701 PyObject * obj0 = 0 ;
21702 PyObject * obj1 = 0 ;
21703 char *kwnames[] = {
21704 (char *) "self",(char *) "id", NULL
21705 };
21706
21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21709 if (SWIG_arg_fail(1)) SWIG_fail;
21710 {
21711 arg2 = (long)(SWIG_As_long(obj1));
21712 if (SWIG_arg_fail(2)) SWIG_fail;
21713 }
d55e5bfc
RD
21714 {
21715 PyThreadState* __tstate = wxPyBeginAllowThreads();
21716 (arg1)->SetId(arg2);
21717
21718 wxPyEndAllowThreads(__tstate);
21719 if (PyErr_Occurred()) SWIG_fail;
21720 }
21721 Py_INCREF(Py_None); resultobj = Py_None;
21722 return resultobj;
21723 fail:
21724 return NULL;
21725}
21726
21727
c370783e 21728static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21729 PyObject *resultobj;
21730 wxListItem *arg1 = (wxListItem *) 0 ;
21731 int arg2 ;
21732 PyObject * obj0 = 0 ;
21733 PyObject * obj1 = 0 ;
21734 char *kwnames[] = {
21735 (char *) "self",(char *) "col", NULL
21736 };
21737
21738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21740 if (SWIG_arg_fail(1)) SWIG_fail;
21741 {
21742 arg2 = (int)(SWIG_As_int(obj1));
21743 if (SWIG_arg_fail(2)) SWIG_fail;
21744 }
d55e5bfc
RD
21745 {
21746 PyThreadState* __tstate = wxPyBeginAllowThreads();
21747 (arg1)->SetColumn(arg2);
21748
21749 wxPyEndAllowThreads(__tstate);
21750 if (PyErr_Occurred()) SWIG_fail;
21751 }
21752 Py_INCREF(Py_None); resultobj = Py_None;
21753 return resultobj;
21754 fail:
21755 return NULL;
21756}
21757
21758
c370783e 21759static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21760 PyObject *resultobj;
21761 wxListItem *arg1 = (wxListItem *) 0 ;
21762 long arg2 ;
21763 PyObject * obj0 = 0 ;
21764 PyObject * obj1 = 0 ;
21765 char *kwnames[] = {
21766 (char *) "self",(char *) "state", NULL
21767 };
21768
21769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21771 if (SWIG_arg_fail(1)) SWIG_fail;
21772 {
21773 arg2 = (long)(SWIG_As_long(obj1));
21774 if (SWIG_arg_fail(2)) SWIG_fail;
21775 }
d55e5bfc
RD
21776 {
21777 PyThreadState* __tstate = wxPyBeginAllowThreads();
21778 (arg1)->SetState(arg2);
21779
21780 wxPyEndAllowThreads(__tstate);
21781 if (PyErr_Occurred()) SWIG_fail;
21782 }
21783 Py_INCREF(Py_None); resultobj = Py_None;
21784 return resultobj;
21785 fail:
21786 return NULL;
21787}
21788
21789
c370783e 21790static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21791 PyObject *resultobj;
21792 wxListItem *arg1 = (wxListItem *) 0 ;
21793 long arg2 ;
21794 PyObject * obj0 = 0 ;
21795 PyObject * obj1 = 0 ;
21796 char *kwnames[] = {
21797 (char *) "self",(char *) "stateMask", NULL
21798 };
21799
21800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21802 if (SWIG_arg_fail(1)) SWIG_fail;
21803 {
21804 arg2 = (long)(SWIG_As_long(obj1));
21805 if (SWIG_arg_fail(2)) SWIG_fail;
21806 }
d55e5bfc
RD
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 (arg1)->SetStateMask(arg2);
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 Py_INCREF(Py_None); resultobj = Py_None;
21815 return resultobj;
21816 fail:
21817 return NULL;
21818}
21819
21820
c370783e 21821static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21822 PyObject *resultobj;
21823 wxListItem *arg1 = (wxListItem *) 0 ;
21824 wxString *arg2 = 0 ;
b411df4a 21825 bool temp2 = false ;
d55e5bfc
RD
21826 PyObject * obj0 = 0 ;
21827 PyObject * obj1 = 0 ;
21828 char *kwnames[] = {
21829 (char *) "self",(char *) "text", NULL
21830 };
21831
21832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21835 {
21836 arg2 = wxString_in_helper(obj1);
21837 if (arg2 == NULL) SWIG_fail;
b411df4a 21838 temp2 = true;
d55e5bfc
RD
21839 }
21840 {
21841 PyThreadState* __tstate = wxPyBeginAllowThreads();
21842 (arg1)->SetText((wxString const &)*arg2);
21843
21844 wxPyEndAllowThreads(__tstate);
21845 if (PyErr_Occurred()) SWIG_fail;
21846 }
21847 Py_INCREF(Py_None); resultobj = Py_None;
21848 {
21849 if (temp2)
21850 delete arg2;
21851 }
21852 return resultobj;
21853 fail:
21854 {
21855 if (temp2)
21856 delete arg2;
21857 }
21858 return NULL;
21859}
21860
21861
c370783e 21862static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21863 PyObject *resultobj;
21864 wxListItem *arg1 = (wxListItem *) 0 ;
21865 int arg2 ;
21866 PyObject * obj0 = 0 ;
21867 PyObject * obj1 = 0 ;
21868 char *kwnames[] = {
21869 (char *) "self",(char *) "image", NULL
21870 };
21871
21872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21874 if (SWIG_arg_fail(1)) SWIG_fail;
21875 {
21876 arg2 = (int)(SWIG_As_int(obj1));
21877 if (SWIG_arg_fail(2)) SWIG_fail;
21878 }
d55e5bfc
RD
21879 {
21880 PyThreadState* __tstate = wxPyBeginAllowThreads();
21881 (arg1)->SetImage(arg2);
21882
21883 wxPyEndAllowThreads(__tstate);
21884 if (PyErr_Occurred()) SWIG_fail;
21885 }
21886 Py_INCREF(Py_None); resultobj = Py_None;
21887 return resultobj;
21888 fail:
21889 return NULL;
21890}
21891
21892
c370783e 21893static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21894 PyObject *resultobj;
21895 wxListItem *arg1 = (wxListItem *) 0 ;
21896 long arg2 ;
21897 PyObject * obj0 = 0 ;
21898 PyObject * obj1 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "self",(char *) "data", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21905 if (SWIG_arg_fail(1)) SWIG_fail;
21906 {
21907 arg2 = (long)(SWIG_As_long(obj1));
21908 if (SWIG_arg_fail(2)) SWIG_fail;
21909 }
d55e5bfc
RD
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 (arg1)->SetData(arg2);
21913
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 Py_INCREF(Py_None); resultobj = Py_None;
21918 return resultobj;
21919 fail:
21920 return NULL;
21921}
21922
21923
c370783e 21924static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21925 PyObject *resultobj;
21926 wxListItem *arg1 = (wxListItem *) 0 ;
21927 int arg2 ;
21928 PyObject * obj0 = 0 ;
21929 PyObject * obj1 = 0 ;
21930 char *kwnames[] = {
21931 (char *) "self",(char *) "width", NULL
21932 };
21933
21934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21936 if (SWIG_arg_fail(1)) SWIG_fail;
21937 {
21938 arg2 = (int)(SWIG_As_int(obj1));
21939 if (SWIG_arg_fail(2)) SWIG_fail;
21940 }
d55e5bfc
RD
21941 {
21942 PyThreadState* __tstate = wxPyBeginAllowThreads();
21943 (arg1)->SetWidth(arg2);
21944
21945 wxPyEndAllowThreads(__tstate);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 Py_INCREF(Py_None); resultobj = Py_None;
21949 return resultobj;
21950 fail:
21951 return NULL;
21952}
21953
21954
c370783e 21955static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21956 PyObject *resultobj;
21957 wxListItem *arg1 = (wxListItem *) 0 ;
36ed4f51 21958 wxListColumnFormat arg2 ;
d55e5bfc
RD
21959 PyObject * obj0 = 0 ;
21960 PyObject * obj1 = 0 ;
21961 char *kwnames[] = {
21962 (char *) "self",(char *) "align", NULL
21963 };
21964
21965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21967 if (SWIG_arg_fail(1)) SWIG_fail;
21968 {
21969 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
21970 if (SWIG_arg_fail(2)) SWIG_fail;
21971 }
d55e5bfc
RD
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 (arg1)->SetAlign((wxListColumnFormat )arg2);
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 Py_INCREF(Py_None); resultobj = Py_None;
21980 return resultobj;
21981 fail:
21982 return NULL;
21983}
21984
21985
c370783e 21986static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21987 PyObject *resultobj;
21988 wxListItem *arg1 = (wxListItem *) 0 ;
21989 wxColour *arg2 = 0 ;
21990 wxColour temp2 ;
21991 PyObject * obj0 = 0 ;
21992 PyObject * obj1 = 0 ;
21993 char *kwnames[] = {
21994 (char *) "self",(char *) "colText", NULL
21995 };
21996
21997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21999 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22000 {
22001 arg2 = &temp2;
22002 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22003 }
22004 {
22005 PyThreadState* __tstate = wxPyBeginAllowThreads();
22006 (arg1)->SetTextColour((wxColour const &)*arg2);
22007
22008 wxPyEndAllowThreads(__tstate);
22009 if (PyErr_Occurred()) SWIG_fail;
22010 }
22011 Py_INCREF(Py_None); resultobj = Py_None;
22012 return resultobj;
22013 fail:
22014 return NULL;
22015}
22016
22017
c370783e 22018static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22019 PyObject *resultobj;
22020 wxListItem *arg1 = (wxListItem *) 0 ;
22021 wxColour *arg2 = 0 ;
22022 wxColour temp2 ;
22023 PyObject * obj0 = 0 ;
22024 PyObject * obj1 = 0 ;
22025 char *kwnames[] = {
22026 (char *) "self",(char *) "colBack", NULL
22027 };
22028
22029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22032 {
22033 arg2 = &temp2;
22034 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22035 }
22036 {
22037 PyThreadState* __tstate = wxPyBeginAllowThreads();
22038 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22039
22040 wxPyEndAllowThreads(__tstate);
22041 if (PyErr_Occurred()) SWIG_fail;
22042 }
22043 Py_INCREF(Py_None); resultobj = Py_None;
22044 return resultobj;
22045 fail:
22046 return NULL;
22047}
22048
22049
c370783e 22050static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22051 PyObject *resultobj;
22052 wxListItem *arg1 = (wxListItem *) 0 ;
22053 wxFont *arg2 = 0 ;
22054 PyObject * obj0 = 0 ;
22055 PyObject * obj1 = 0 ;
22056 char *kwnames[] = {
22057 (char *) "self",(char *) "font", NULL
22058 };
22059
22060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22062 if (SWIG_arg_fail(1)) SWIG_fail;
22063 {
22064 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22065 if (SWIG_arg_fail(2)) SWIG_fail;
22066 if (arg2 == NULL) {
22067 SWIG_null_ref("wxFont");
22068 }
22069 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22070 }
22071 {
22072 PyThreadState* __tstate = wxPyBeginAllowThreads();
22073 (arg1)->SetFont((wxFont const &)*arg2);
22074
22075 wxPyEndAllowThreads(__tstate);
22076 if (PyErr_Occurred()) SWIG_fail;
22077 }
22078 Py_INCREF(Py_None); resultobj = Py_None;
22079 return resultobj;
22080 fail:
22081 return NULL;
22082}
22083
22084
c370783e 22085static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22086 PyObject *resultobj;
22087 wxListItem *arg1 = (wxListItem *) 0 ;
22088 long result;
22089 PyObject * obj0 = 0 ;
22090 char *kwnames[] = {
22091 (char *) "self", NULL
22092 };
22093
22094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
36ed4f51
RD
22095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22097 {
22098 PyThreadState* __tstate = wxPyBeginAllowThreads();
22099 result = (long)(arg1)->GetMask();
22100
22101 wxPyEndAllowThreads(__tstate);
22102 if (PyErr_Occurred()) SWIG_fail;
22103 }
36ed4f51
RD
22104 {
22105 resultobj = SWIG_From_long((long)(result));
22106 }
d55e5bfc
RD
22107 return resultobj;
22108 fail:
22109 return NULL;
22110}
22111
22112
c370783e 22113static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22114 PyObject *resultobj;
22115 wxListItem *arg1 = (wxListItem *) 0 ;
22116 long result;
22117 PyObject * obj0 = 0 ;
22118 char *kwnames[] = {
22119 (char *) "self", NULL
22120 };
22121
22122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
22123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22124 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22125 {
22126 PyThreadState* __tstate = wxPyBeginAllowThreads();
22127 result = (long)(arg1)->GetId();
22128
22129 wxPyEndAllowThreads(__tstate);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
36ed4f51
RD
22132 {
22133 resultobj = SWIG_From_long((long)(result));
22134 }
d55e5bfc
RD
22135 return resultobj;
22136 fail:
22137 return NULL;
22138}
22139
22140
c370783e 22141static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22142 PyObject *resultobj;
22143 wxListItem *arg1 = (wxListItem *) 0 ;
22144 int result;
22145 PyObject * obj0 = 0 ;
22146 char *kwnames[] = {
22147 (char *) "self", NULL
22148 };
22149
22150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
36ed4f51
RD
22151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22153 {
22154 PyThreadState* __tstate = wxPyBeginAllowThreads();
22155 result = (int)(arg1)->GetColumn();
22156
22157 wxPyEndAllowThreads(__tstate);
22158 if (PyErr_Occurred()) SWIG_fail;
22159 }
36ed4f51
RD
22160 {
22161 resultobj = SWIG_From_int((int)(result));
22162 }
d55e5bfc
RD
22163 return resultobj;
22164 fail:
22165 return NULL;
22166}
22167
22168
c370783e 22169static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22170 PyObject *resultobj;
22171 wxListItem *arg1 = (wxListItem *) 0 ;
22172 long result;
22173 PyObject * obj0 = 0 ;
22174 char *kwnames[] = {
22175 (char *) "self", NULL
22176 };
22177
22178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
36ed4f51
RD
22179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22180 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22181 {
22182 PyThreadState* __tstate = wxPyBeginAllowThreads();
22183 result = (long)(arg1)->GetState();
22184
22185 wxPyEndAllowThreads(__tstate);
22186 if (PyErr_Occurred()) SWIG_fail;
22187 }
36ed4f51
RD
22188 {
22189 resultobj = SWIG_From_long((long)(result));
22190 }
d55e5bfc
RD
22191 return resultobj;
22192 fail:
22193 return NULL;
22194}
22195
22196
c370783e 22197static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22198 PyObject *resultobj;
22199 wxListItem *arg1 = (wxListItem *) 0 ;
22200 wxString *result;
22201 PyObject * obj0 = 0 ;
22202 char *kwnames[] = {
22203 (char *) "self", NULL
22204 };
22205
22206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
22207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22208 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22209 {
22210 PyThreadState* __tstate = wxPyBeginAllowThreads();
22211 {
22212 wxString const &_result_ref = (arg1)->GetText();
22213 result = (wxString *) &_result_ref;
22214 }
22215
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 {
22220#if wxUSE_UNICODE
22221 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22222#else
22223 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22224#endif
22225 }
22226 return resultobj;
22227 fail:
22228 return NULL;
22229}
22230
22231
c370783e 22232static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22233 PyObject *resultobj;
22234 wxListItem *arg1 = (wxListItem *) 0 ;
22235 int result;
22236 PyObject * obj0 = 0 ;
22237 char *kwnames[] = {
22238 (char *) "self", NULL
22239 };
22240
22241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22243 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 result = (int)(arg1)->GetImage();
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
36ed4f51
RD
22251 {
22252 resultobj = SWIG_From_int((int)(result));
22253 }
d55e5bfc
RD
22254 return resultobj;
22255 fail:
22256 return NULL;
22257}
22258
22259
c370783e 22260static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22261 PyObject *resultobj;
22262 wxListItem *arg1 = (wxListItem *) 0 ;
22263 long result;
22264 PyObject * obj0 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "self", NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22271 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 result = (long)(arg1)->GetData();
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
36ed4f51
RD
22279 {
22280 resultobj = SWIG_From_long((long)(result));
22281 }
d55e5bfc
RD
22282 return resultobj;
22283 fail:
22284 return NULL;
22285}
22286
22287
c370783e 22288static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22289 PyObject *resultobj;
22290 wxListItem *arg1 = (wxListItem *) 0 ;
22291 int result;
22292 PyObject * obj0 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
22298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22299 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22300 {
22301 PyThreadState* __tstate = wxPyBeginAllowThreads();
22302 result = (int)(arg1)->GetWidth();
22303
22304 wxPyEndAllowThreads(__tstate);
22305 if (PyErr_Occurred()) SWIG_fail;
22306 }
36ed4f51
RD
22307 {
22308 resultobj = SWIG_From_int((int)(result));
22309 }
d55e5bfc
RD
22310 return resultobj;
22311 fail:
22312 return NULL;
22313}
22314
22315
c370783e 22316static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22317 PyObject *resultobj;
22318 wxListItem *arg1 = (wxListItem *) 0 ;
36ed4f51 22319 wxListColumnFormat result;
d55e5bfc
RD
22320 PyObject * obj0 = 0 ;
22321 char *kwnames[] = {
22322 (char *) "self", NULL
22323 };
22324
22325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
36ed4f51
RD
22326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 22330 result = (wxListColumnFormat)(arg1)->GetAlign();
d55e5bfc
RD
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
36ed4f51 22335 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22336 return resultobj;
22337 fail:
22338 return NULL;
22339}
22340
22341
c370783e 22342static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22343 PyObject *resultobj;
22344 wxListItem *arg1 = (wxListItem *) 0 ;
22345 wxListItemAttr *result;
22346 PyObject * obj0 = 0 ;
22347 char *kwnames[] = {
22348 (char *) "self", NULL
22349 };
22350
22351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
22352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22353 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 result = (wxListItemAttr *)(arg1)->GetAttributes();
22357
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22362 return resultobj;
22363 fail:
22364 return NULL;
22365}
22366
22367
c370783e 22368static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22369 PyObject *resultobj;
22370 wxListItem *arg1 = (wxListItem *) 0 ;
22371 bool result;
22372 PyObject * obj0 = 0 ;
22373 char *kwnames[] = {
22374 (char *) "self", NULL
22375 };
22376
22377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
22378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22379 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22380 {
22381 PyThreadState* __tstate = wxPyBeginAllowThreads();
22382 result = (bool)(arg1)->HasAttributes();
22383
22384 wxPyEndAllowThreads(__tstate);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 }
22387 {
22388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22389 }
22390 return resultobj;
22391 fail:
22392 return NULL;
22393}
22394
22395
c370783e 22396static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22397 PyObject *resultobj;
22398 wxListItem *arg1 = (wxListItem *) 0 ;
22399 wxColour result;
22400 PyObject * obj0 = 0 ;
22401 char *kwnames[] = {
22402 (char *) "self", NULL
22403 };
22404
22405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
22406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22407 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22408 {
22409 PyThreadState* __tstate = wxPyBeginAllowThreads();
22410 result = ((wxListItem const *)arg1)->GetTextColour();
22411
22412 wxPyEndAllowThreads(__tstate);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 {
22416 wxColour * resultptr;
36ed4f51 22417 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22419 }
22420 return resultobj;
22421 fail:
22422 return NULL;
22423}
22424
22425
c370783e 22426static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22427 PyObject *resultobj;
22428 wxListItem *arg1 = (wxListItem *) 0 ;
22429 wxColour result;
22430 PyObject * obj0 = 0 ;
22431 char *kwnames[] = {
22432 (char *) "self", NULL
22433 };
22434
22435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
22436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22437 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22438 {
22439 PyThreadState* __tstate = wxPyBeginAllowThreads();
22440 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22441
22442 wxPyEndAllowThreads(__tstate);
22443 if (PyErr_Occurred()) SWIG_fail;
22444 }
22445 {
22446 wxColour * resultptr;
36ed4f51 22447 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22449 }
22450 return resultobj;
22451 fail:
22452 return NULL;
22453}
22454
22455
c370783e 22456static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22457 PyObject *resultobj;
22458 wxListItem *arg1 = (wxListItem *) 0 ;
22459 wxFont result;
22460 PyObject * obj0 = 0 ;
22461 char *kwnames[] = {
22462 (char *) "self", NULL
22463 };
22464
22465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
22466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22467 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22468 {
22469 PyThreadState* __tstate = wxPyBeginAllowThreads();
22470 result = ((wxListItem const *)arg1)->GetFont();
22471
22472 wxPyEndAllowThreads(__tstate);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 }
22475 {
22476 wxFont * resultptr;
36ed4f51 22477 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
22478 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22479 }
22480 return resultobj;
22481 fail:
22482 return NULL;
22483}
22484
22485
c370783e 22486static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22487 PyObject *resultobj;
22488 wxListItem *arg1 = (wxListItem *) 0 ;
22489 long arg2 ;
22490 PyObject * obj0 = 0 ;
22491 PyObject * obj1 = 0 ;
22492 char *kwnames[] = {
22493 (char *) "self",(char *) "m_mask", NULL
22494 };
22495
22496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22498 if (SWIG_arg_fail(1)) SWIG_fail;
22499 {
22500 arg2 = (long)(SWIG_As_long(obj1));
22501 if (SWIG_arg_fail(2)) SWIG_fail;
22502 }
d55e5bfc
RD
22503 if (arg1) (arg1)->m_mask = arg2;
22504
22505 Py_INCREF(Py_None); resultobj = Py_None;
22506 return resultobj;
22507 fail:
22508 return NULL;
22509}
22510
22511
c370783e 22512static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22513 PyObject *resultobj;
22514 wxListItem *arg1 = (wxListItem *) 0 ;
22515 long result;
22516 PyObject * obj0 = 0 ;
22517 char *kwnames[] = {
22518 (char *) "self", NULL
22519 };
22520
22521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22523 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22524 result = (long) ((arg1)->m_mask);
22525
36ed4f51
RD
22526 {
22527 resultobj = SWIG_From_long((long)(result));
22528 }
d55e5bfc
RD
22529 return resultobj;
22530 fail:
22531 return NULL;
22532}
22533
22534
c370783e 22535static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22536 PyObject *resultobj;
22537 wxListItem *arg1 = (wxListItem *) 0 ;
22538 long arg2 ;
22539 PyObject * obj0 = 0 ;
22540 PyObject * obj1 = 0 ;
22541 char *kwnames[] = {
22542 (char *) "self",(char *) "m_itemId", NULL
22543 };
22544
22545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22547 if (SWIG_arg_fail(1)) SWIG_fail;
22548 {
22549 arg2 = (long)(SWIG_As_long(obj1));
22550 if (SWIG_arg_fail(2)) SWIG_fail;
22551 }
d55e5bfc
RD
22552 if (arg1) (arg1)->m_itemId = arg2;
22553
22554 Py_INCREF(Py_None); resultobj = Py_None;
22555 return resultobj;
22556 fail:
22557 return NULL;
22558}
22559
22560
c370783e 22561static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22562 PyObject *resultobj;
22563 wxListItem *arg1 = (wxListItem *) 0 ;
22564 long result;
22565 PyObject * obj0 = 0 ;
22566 char *kwnames[] = {
22567 (char *) "self", NULL
22568 };
22569
22570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22572 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22573 result = (long) ((arg1)->m_itemId);
22574
36ed4f51
RD
22575 {
22576 resultobj = SWIG_From_long((long)(result));
22577 }
d55e5bfc
RD
22578 return resultobj;
22579 fail:
22580 return NULL;
22581}
22582
22583
c370783e 22584static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22585 PyObject *resultobj;
22586 wxListItem *arg1 = (wxListItem *) 0 ;
22587 int arg2 ;
22588 PyObject * obj0 = 0 ;
22589 PyObject * obj1 = 0 ;
22590 char *kwnames[] = {
22591 (char *) "self",(char *) "m_col", NULL
22592 };
22593
22594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22596 if (SWIG_arg_fail(1)) SWIG_fail;
22597 {
22598 arg2 = (int)(SWIG_As_int(obj1));
22599 if (SWIG_arg_fail(2)) SWIG_fail;
22600 }
d55e5bfc
RD
22601 if (arg1) (arg1)->m_col = arg2;
22602
22603 Py_INCREF(Py_None); resultobj = Py_None;
22604 return resultobj;
22605 fail:
22606 return NULL;
22607}
22608
22609
c370783e 22610static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22611 PyObject *resultobj;
22612 wxListItem *arg1 = (wxListItem *) 0 ;
22613 int result;
22614 PyObject * obj0 = 0 ;
22615 char *kwnames[] = {
22616 (char *) "self", NULL
22617 };
22618
22619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22621 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22622 result = (int) ((arg1)->m_col);
22623
36ed4f51
RD
22624 {
22625 resultobj = SWIG_From_int((int)(result));
22626 }
d55e5bfc
RD
22627 return resultobj;
22628 fail:
22629 return NULL;
22630}
22631
22632
c370783e 22633static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22634 PyObject *resultobj;
22635 wxListItem *arg1 = (wxListItem *) 0 ;
22636 long arg2 ;
22637 PyObject * obj0 = 0 ;
22638 PyObject * obj1 = 0 ;
22639 char *kwnames[] = {
22640 (char *) "self",(char *) "m_state", NULL
22641 };
22642
22643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22645 if (SWIG_arg_fail(1)) SWIG_fail;
22646 {
22647 arg2 = (long)(SWIG_As_long(obj1));
22648 if (SWIG_arg_fail(2)) SWIG_fail;
22649 }
d55e5bfc
RD
22650 if (arg1) (arg1)->m_state = arg2;
22651
22652 Py_INCREF(Py_None); resultobj = Py_None;
22653 return resultobj;
22654 fail:
22655 return NULL;
22656}
22657
22658
c370783e 22659static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22660 PyObject *resultobj;
22661 wxListItem *arg1 = (wxListItem *) 0 ;
22662 long result;
22663 PyObject * obj0 = 0 ;
22664 char *kwnames[] = {
22665 (char *) "self", NULL
22666 };
22667
22668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22670 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22671 result = (long) ((arg1)->m_state);
22672
36ed4f51
RD
22673 {
22674 resultobj = SWIG_From_long((long)(result));
22675 }
d55e5bfc
RD
22676 return resultobj;
22677 fail:
22678 return NULL;
22679}
22680
22681
c370783e 22682static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22683 PyObject *resultobj;
22684 wxListItem *arg1 = (wxListItem *) 0 ;
22685 long arg2 ;
22686 PyObject * obj0 = 0 ;
22687 PyObject * obj1 = 0 ;
22688 char *kwnames[] = {
22689 (char *) "self",(char *) "m_stateMask", NULL
22690 };
22691
22692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22694 if (SWIG_arg_fail(1)) SWIG_fail;
22695 {
22696 arg2 = (long)(SWIG_As_long(obj1));
22697 if (SWIG_arg_fail(2)) SWIG_fail;
22698 }
d55e5bfc
RD
22699 if (arg1) (arg1)->m_stateMask = arg2;
22700
22701 Py_INCREF(Py_None); resultobj = Py_None;
22702 return resultobj;
22703 fail:
22704 return NULL;
22705}
22706
22707
c370783e 22708static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22709 PyObject *resultobj;
22710 wxListItem *arg1 = (wxListItem *) 0 ;
22711 long result;
22712 PyObject * obj0 = 0 ;
22713 char *kwnames[] = {
22714 (char *) "self", NULL
22715 };
22716
22717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22719 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22720 result = (long) ((arg1)->m_stateMask);
22721
36ed4f51
RD
22722 {
22723 resultobj = SWIG_From_long((long)(result));
22724 }
d55e5bfc
RD
22725 return resultobj;
22726 fail:
22727 return NULL;
22728}
22729
22730
c370783e 22731static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22732 PyObject *resultobj;
22733 wxListItem *arg1 = (wxListItem *) 0 ;
22734 wxString *arg2 = (wxString *) 0 ;
b411df4a 22735 bool temp2 = false ;
d55e5bfc
RD
22736 PyObject * obj0 = 0 ;
22737 PyObject * obj1 = 0 ;
22738 char *kwnames[] = {
22739 (char *) "self",(char *) "m_text", NULL
22740 };
22741
22742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22745 {
22746 arg2 = wxString_in_helper(obj1);
22747 if (arg2 == NULL) SWIG_fail;
b411df4a 22748 temp2 = true;
d55e5bfc
RD
22749 }
22750 if (arg1) (arg1)->m_text = *arg2;
22751
22752 Py_INCREF(Py_None); resultobj = Py_None;
22753 {
22754 if (temp2)
22755 delete arg2;
22756 }
22757 return resultobj;
22758 fail:
22759 {
22760 if (temp2)
22761 delete arg2;
22762 }
22763 return NULL;
22764}
22765
22766
c370783e 22767static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22768 PyObject *resultobj;
22769 wxListItem *arg1 = (wxListItem *) 0 ;
22770 wxString *result;
22771 PyObject * obj0 = 0 ;
22772 char *kwnames[] = {
22773 (char *) "self", NULL
22774 };
22775
22776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22778 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22779 result = (wxString *)& ((arg1)->m_text);
22780
22781 {
22782#if wxUSE_UNICODE
22783 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22784#else
22785 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22786#endif
22787 }
22788 return resultobj;
22789 fail:
22790 return NULL;
22791}
22792
22793
c370783e 22794static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22795 PyObject *resultobj;
22796 wxListItem *arg1 = (wxListItem *) 0 ;
22797 int arg2 ;
22798 PyObject * obj0 = 0 ;
22799 PyObject * obj1 = 0 ;
22800 char *kwnames[] = {
22801 (char *) "self",(char *) "m_image", NULL
22802 };
22803
22804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22806 if (SWIG_arg_fail(1)) SWIG_fail;
22807 {
22808 arg2 = (int)(SWIG_As_int(obj1));
22809 if (SWIG_arg_fail(2)) SWIG_fail;
22810 }
d55e5bfc
RD
22811 if (arg1) (arg1)->m_image = arg2;
22812
22813 Py_INCREF(Py_None); resultobj = Py_None;
22814 return resultobj;
22815 fail:
22816 return NULL;
22817}
22818
22819
c370783e 22820static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22821 PyObject *resultobj;
22822 wxListItem *arg1 = (wxListItem *) 0 ;
22823 int result;
22824 PyObject * obj0 = 0 ;
22825 char *kwnames[] = {
22826 (char *) "self", NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22831 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22832 result = (int) ((arg1)->m_image);
22833
36ed4f51
RD
22834 {
22835 resultobj = SWIG_From_int((int)(result));
22836 }
d55e5bfc
RD
22837 return resultobj;
22838 fail:
22839 return NULL;
22840}
22841
22842
c370783e 22843static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22844 PyObject *resultobj;
22845 wxListItem *arg1 = (wxListItem *) 0 ;
22846 long arg2 ;
22847 PyObject * obj0 = 0 ;
22848 PyObject * obj1 = 0 ;
22849 char *kwnames[] = {
22850 (char *) "self",(char *) "m_data", NULL
22851 };
22852
22853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22855 if (SWIG_arg_fail(1)) SWIG_fail;
22856 {
22857 arg2 = (long)(SWIG_As_long(obj1));
22858 if (SWIG_arg_fail(2)) SWIG_fail;
22859 }
d55e5bfc
RD
22860 if (arg1) (arg1)->m_data = arg2;
22861
22862 Py_INCREF(Py_None); resultobj = Py_None;
22863 return resultobj;
22864 fail:
22865 return NULL;
22866}
22867
22868
c370783e 22869static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22870 PyObject *resultobj;
22871 wxListItem *arg1 = (wxListItem *) 0 ;
22872 long result;
22873 PyObject * obj0 = 0 ;
22874 char *kwnames[] = {
22875 (char *) "self", NULL
22876 };
22877
22878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22880 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22881 result = (long) ((arg1)->m_data);
22882
36ed4f51
RD
22883 {
22884 resultobj = SWIG_From_long((long)(result));
22885 }
d55e5bfc
RD
22886 return resultobj;
22887 fail:
22888 return NULL;
22889}
22890
22891
c370783e 22892static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22893 PyObject *resultobj;
22894 wxListItem *arg1 = (wxListItem *) 0 ;
22895 int arg2 ;
22896 PyObject * obj0 = 0 ;
22897 PyObject * obj1 = 0 ;
22898 char *kwnames[] = {
22899 (char *) "self",(char *) "m_format", NULL
22900 };
22901
22902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22904 if (SWIG_arg_fail(1)) SWIG_fail;
22905 {
22906 arg2 = (int)(SWIG_As_int(obj1));
22907 if (SWIG_arg_fail(2)) SWIG_fail;
22908 }
d55e5bfc
RD
22909 if (arg1) (arg1)->m_format = arg2;
22910
22911 Py_INCREF(Py_None); resultobj = Py_None;
22912 return resultobj;
22913 fail:
22914 return NULL;
22915}
22916
22917
c370783e 22918static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22919 PyObject *resultobj;
22920 wxListItem *arg1 = (wxListItem *) 0 ;
22921 int result;
22922 PyObject * obj0 = 0 ;
22923 char *kwnames[] = {
22924 (char *) "self", NULL
22925 };
22926
22927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22929 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22930 result = (int) ((arg1)->m_format);
22931
36ed4f51
RD
22932 {
22933 resultobj = SWIG_From_int((int)(result));
22934 }
d55e5bfc
RD
22935 return resultobj;
22936 fail:
22937 return NULL;
22938}
22939
22940
c370783e 22941static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22942 PyObject *resultobj;
22943 wxListItem *arg1 = (wxListItem *) 0 ;
22944 int arg2 ;
22945 PyObject * obj0 = 0 ;
22946 PyObject * obj1 = 0 ;
22947 char *kwnames[] = {
22948 (char *) "self",(char *) "m_width", NULL
22949 };
22950
22951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22953 if (SWIG_arg_fail(1)) SWIG_fail;
22954 {
22955 arg2 = (int)(SWIG_As_int(obj1));
22956 if (SWIG_arg_fail(2)) SWIG_fail;
22957 }
d55e5bfc
RD
22958 if (arg1) (arg1)->m_width = arg2;
22959
22960 Py_INCREF(Py_None); resultobj = Py_None;
22961 return resultobj;
22962 fail:
22963 return NULL;
22964}
22965
22966
c370783e 22967static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22968 PyObject *resultobj;
22969 wxListItem *arg1 = (wxListItem *) 0 ;
22970 int result;
22971 PyObject * obj0 = 0 ;
22972 char *kwnames[] = {
22973 (char *) "self", NULL
22974 };
22975
22976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22979 result = (int) ((arg1)->m_width);
22980
36ed4f51
RD
22981 {
22982 resultobj = SWIG_From_int((int)(result));
22983 }
d55e5bfc
RD
22984 return resultobj;
22985 fail:
22986 return NULL;
22987}
22988
22989
c370783e 22990static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22991 PyObject *obj;
22992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22993 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
22994 Py_INCREF(obj);
22995 return Py_BuildValue((char *)"");
22996}
c370783e 22997static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22998 PyObject *resultobj;
22999 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23000 int arg2 = (int) 0 ;
23001 wxListEvent *result;
23002 PyObject * obj0 = 0 ;
23003 PyObject * obj1 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "commandType",(char *) "id", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23009 if (obj0) {
36ed4f51
RD
23010 {
23011 arg1 = (wxEventType)(SWIG_As_int(obj0));
23012 if (SWIG_arg_fail(1)) SWIG_fail;
23013 }
d55e5bfc
RD
23014 }
23015 if (obj1) {
36ed4f51
RD
23016 {
23017 arg2 = (int)(SWIG_As_int(obj1));
23018 if (SWIG_arg_fail(2)) SWIG_fail;
23019 }
d55e5bfc
RD
23020 }
23021 {
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23024
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23029 return resultobj;
23030 fail:
23031 return NULL;
23032}
23033
23034
c370783e 23035static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23036 PyObject *resultobj;
23037 wxListEvent *arg1 = (wxListEvent *) 0 ;
23038 int arg2 ;
23039 PyObject * obj0 = 0 ;
23040 PyObject * obj1 = 0 ;
23041 char *kwnames[] = {
23042 (char *) "self",(char *) "m_code", NULL
23043 };
23044
23045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23047 if (SWIG_arg_fail(1)) SWIG_fail;
23048 {
23049 arg2 = (int)(SWIG_As_int(obj1));
23050 if (SWIG_arg_fail(2)) SWIG_fail;
23051 }
d55e5bfc
RD
23052 if (arg1) (arg1)->m_code = arg2;
23053
23054 Py_INCREF(Py_None); resultobj = Py_None;
23055 return resultobj;
23056 fail:
23057 return NULL;
23058}
23059
23060
c370783e 23061static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23062 PyObject *resultobj;
23063 wxListEvent *arg1 = (wxListEvent *) 0 ;
23064 int result;
23065 PyObject * obj0 = 0 ;
23066 char *kwnames[] = {
23067 (char *) "self", NULL
23068 };
23069
23070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23072 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23073 result = (int) ((arg1)->m_code);
23074
36ed4f51
RD
23075 {
23076 resultobj = SWIG_From_int((int)(result));
23077 }
d55e5bfc
RD
23078 return resultobj;
23079 fail:
23080 return NULL;
23081}
23082
23083
c370783e 23084static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23085 PyObject *resultobj;
23086 wxListEvent *arg1 = (wxListEvent *) 0 ;
23087 long arg2 ;
23088 PyObject * obj0 = 0 ;
23089 PyObject * obj1 = 0 ;
23090 char *kwnames[] = {
23091 (char *) "self",(char *) "m_oldItemIndex", NULL
23092 };
23093
23094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23096 if (SWIG_arg_fail(1)) SWIG_fail;
23097 {
23098 arg2 = (long)(SWIG_As_long(obj1));
23099 if (SWIG_arg_fail(2)) SWIG_fail;
23100 }
d55e5bfc
RD
23101 if (arg1) (arg1)->m_oldItemIndex = arg2;
23102
23103 Py_INCREF(Py_None); resultobj = Py_None;
23104 return resultobj;
23105 fail:
23106 return NULL;
23107}
23108
23109
c370783e 23110static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23111 PyObject *resultobj;
23112 wxListEvent *arg1 = (wxListEvent *) 0 ;
23113 long result;
23114 PyObject * obj0 = 0 ;
23115 char *kwnames[] = {
23116 (char *) "self", NULL
23117 };
23118
23119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23121 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23122 result = (long) ((arg1)->m_oldItemIndex);
23123
36ed4f51
RD
23124 {
23125 resultobj = SWIG_From_long((long)(result));
23126 }
d55e5bfc
RD
23127 return resultobj;
23128 fail:
23129 return NULL;
23130}
23131
23132
c370783e 23133static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23134 PyObject *resultobj;
23135 wxListEvent *arg1 = (wxListEvent *) 0 ;
23136 long arg2 ;
23137 PyObject * obj0 = 0 ;
23138 PyObject * obj1 = 0 ;
23139 char *kwnames[] = {
23140 (char *) "self",(char *) "m_itemIndex", NULL
23141 };
23142
23143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23145 if (SWIG_arg_fail(1)) SWIG_fail;
23146 {
23147 arg2 = (long)(SWIG_As_long(obj1));
23148 if (SWIG_arg_fail(2)) SWIG_fail;
23149 }
d55e5bfc
RD
23150 if (arg1) (arg1)->m_itemIndex = arg2;
23151
23152 Py_INCREF(Py_None); resultobj = Py_None;
23153 return resultobj;
23154 fail:
23155 return NULL;
23156}
23157
23158
c370783e 23159static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23160 PyObject *resultobj;
23161 wxListEvent *arg1 = (wxListEvent *) 0 ;
23162 long result;
23163 PyObject * obj0 = 0 ;
23164 char *kwnames[] = {
23165 (char *) "self", NULL
23166 };
23167
23168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23170 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23171 result = (long) ((arg1)->m_itemIndex);
23172
36ed4f51
RD
23173 {
23174 resultobj = SWIG_From_long((long)(result));
23175 }
d55e5bfc
RD
23176 return resultobj;
23177 fail:
23178 return NULL;
23179}
23180
23181
c370783e 23182static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23183 PyObject *resultobj;
23184 wxListEvent *arg1 = (wxListEvent *) 0 ;
23185 int arg2 ;
23186 PyObject * obj0 = 0 ;
23187 PyObject * obj1 = 0 ;
23188 char *kwnames[] = {
23189 (char *) "self",(char *) "m_col", NULL
23190 };
23191
23192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23194 if (SWIG_arg_fail(1)) SWIG_fail;
23195 {
23196 arg2 = (int)(SWIG_As_int(obj1));
23197 if (SWIG_arg_fail(2)) SWIG_fail;
23198 }
d55e5bfc
RD
23199 if (arg1) (arg1)->m_col = arg2;
23200
23201 Py_INCREF(Py_None); resultobj = Py_None;
23202 return resultobj;
23203 fail:
23204 return NULL;
23205}
23206
23207
c370783e 23208static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23209 PyObject *resultobj;
23210 wxListEvent *arg1 = (wxListEvent *) 0 ;
23211 int result;
23212 PyObject * obj0 = 0 ;
23213 char *kwnames[] = {
23214 (char *) "self", NULL
23215 };
23216
23217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23219 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23220 result = (int) ((arg1)->m_col);
23221
36ed4f51
RD
23222 {
23223 resultobj = SWIG_From_int((int)(result));
23224 }
d55e5bfc
RD
23225 return resultobj;
23226 fail:
23227 return NULL;
23228}
23229
23230
c370783e 23231static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23232 PyObject *resultobj;
23233 wxListEvent *arg1 = (wxListEvent *) 0 ;
23234 wxPoint *arg2 = (wxPoint *) 0 ;
23235 PyObject * obj0 = 0 ;
23236 PyObject * obj1 = 0 ;
23237 char *kwnames[] = {
23238 (char *) "self",(char *) "m_pointDrag", NULL
23239 };
23240
23241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23243 if (SWIG_arg_fail(1)) SWIG_fail;
23244 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23245 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23246 if (arg1) (arg1)->m_pointDrag = *arg2;
23247
23248 Py_INCREF(Py_None); resultobj = Py_None;
23249 return resultobj;
23250 fail:
23251 return NULL;
23252}
23253
23254
c370783e 23255static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23256 PyObject *resultobj;
23257 wxListEvent *arg1 = (wxListEvent *) 0 ;
23258 wxPoint *result;
23259 PyObject * obj0 = 0 ;
23260 char *kwnames[] = {
23261 (char *) "self", NULL
23262 };
23263
23264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23266 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23267 result = (wxPoint *)& ((arg1)->m_pointDrag);
23268
23269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23270 return resultobj;
23271 fail:
23272 return NULL;
23273}
23274
23275
c370783e 23276static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23277 PyObject *resultobj;
23278 wxListEvent *arg1 = (wxListEvent *) 0 ;
23279 wxListItem *result;
23280 PyObject * obj0 = 0 ;
23281 char *kwnames[] = {
23282 (char *) "self", NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23288 result = (wxListItem *)& ((arg1)->m_item);
23289
23290 {
412d302d 23291 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23292 }
23293 return resultobj;
23294 fail:
23295 return NULL;
23296}
23297
23298
c370783e 23299static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23300 PyObject *resultobj;
23301 wxListEvent *arg1 = (wxListEvent *) 0 ;
23302 int result;
23303 PyObject * obj0 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "self", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
23309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23310 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23311 {
23312 PyThreadState* __tstate = wxPyBeginAllowThreads();
23313 result = (int)(arg1)->GetKeyCode();
23314
23315 wxPyEndAllowThreads(__tstate);
23316 if (PyErr_Occurred()) SWIG_fail;
23317 }
36ed4f51
RD
23318 {
23319 resultobj = SWIG_From_int((int)(result));
23320 }
d55e5bfc
RD
23321 return resultobj;
23322 fail:
23323 return NULL;
23324}
23325
23326
c370783e 23327static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23328 PyObject *resultobj;
23329 wxListEvent *arg1 = (wxListEvent *) 0 ;
23330 long result;
23331 PyObject * obj0 = 0 ;
23332 char *kwnames[] = {
23333 (char *) "self", NULL
23334 };
23335
23336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
23337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23338 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23339 {
23340 PyThreadState* __tstate = wxPyBeginAllowThreads();
23341 result = (long)(arg1)->GetIndex();
23342
23343 wxPyEndAllowThreads(__tstate);
23344 if (PyErr_Occurred()) SWIG_fail;
23345 }
36ed4f51
RD
23346 {
23347 resultobj = SWIG_From_long((long)(result));
23348 }
d55e5bfc
RD
23349 return resultobj;
23350 fail:
23351 return NULL;
23352}
23353
23354
c370783e 23355static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23356 PyObject *resultobj;
23357 wxListEvent *arg1 = (wxListEvent *) 0 ;
23358 int result;
23359 PyObject * obj0 = 0 ;
23360 char *kwnames[] = {
23361 (char *) "self", NULL
23362 };
23363
23364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
36ed4f51
RD
23365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23366 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23367 {
23368 PyThreadState* __tstate = wxPyBeginAllowThreads();
23369 result = (int)(arg1)->GetColumn();
23370
23371 wxPyEndAllowThreads(__tstate);
23372 if (PyErr_Occurred()) SWIG_fail;
23373 }
36ed4f51
RD
23374 {
23375 resultobj = SWIG_From_int((int)(result));
23376 }
d55e5bfc
RD
23377 return resultobj;
23378 fail:
23379 return NULL;
23380}
23381
23382
c370783e 23383static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23384 PyObject *resultobj;
23385 wxListEvent *arg1 = (wxListEvent *) 0 ;
23386 wxPoint result;
23387 PyObject * obj0 = 0 ;
23388 char *kwnames[] = {
23389 (char *) "self", NULL
23390 };
23391
23392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
23393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23394 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23395 {
23396 PyThreadState* __tstate = wxPyBeginAllowThreads();
23397 result = (arg1)->GetPoint();
23398
23399 wxPyEndAllowThreads(__tstate);
23400 if (PyErr_Occurred()) SWIG_fail;
23401 }
23402 {
23403 wxPoint * resultptr;
36ed4f51 23404 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
23405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23406 }
23407 return resultobj;
23408 fail:
23409 return NULL;
23410}
23411
23412
c370783e 23413static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23414 PyObject *resultobj;
23415 wxListEvent *arg1 = (wxListEvent *) 0 ;
23416 wxString *result;
23417 PyObject * obj0 = 0 ;
23418 char *kwnames[] = {
23419 (char *) "self", NULL
23420 };
23421
23422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
23423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23425 {
23426 PyThreadState* __tstate = wxPyBeginAllowThreads();
23427 {
23428 wxString const &_result_ref = (arg1)->GetLabel();
23429 result = (wxString *) &_result_ref;
23430 }
23431
23432 wxPyEndAllowThreads(__tstate);
23433 if (PyErr_Occurred()) SWIG_fail;
23434 }
23435 {
23436#if wxUSE_UNICODE
23437 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23438#else
23439 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23440#endif
23441 }
23442 return resultobj;
23443 fail:
23444 return NULL;
23445}
23446
23447
c370783e 23448static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23449 PyObject *resultobj;
23450 wxListEvent *arg1 = (wxListEvent *) 0 ;
23451 wxString *result;
23452 PyObject * obj0 = 0 ;
23453 char *kwnames[] = {
23454 (char *) "self", NULL
23455 };
23456
23457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
23458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23460 {
23461 PyThreadState* __tstate = wxPyBeginAllowThreads();
23462 {
23463 wxString const &_result_ref = (arg1)->GetText();
23464 result = (wxString *) &_result_ref;
23465 }
23466
23467 wxPyEndAllowThreads(__tstate);
23468 if (PyErr_Occurred()) SWIG_fail;
23469 }
23470 {
23471#if wxUSE_UNICODE
23472 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23473#else
23474 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23475#endif
23476 }
23477 return resultobj;
23478 fail:
23479 return NULL;
23480}
23481
23482
c370783e 23483static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23484 PyObject *resultobj;
23485 wxListEvent *arg1 = (wxListEvent *) 0 ;
23486 int result;
23487 PyObject * obj0 = 0 ;
23488 char *kwnames[] = {
23489 (char *) "self", NULL
23490 };
23491
23492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
23493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23494 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23495 {
23496 PyThreadState* __tstate = wxPyBeginAllowThreads();
23497 result = (int)(arg1)->GetImage();
23498
23499 wxPyEndAllowThreads(__tstate);
23500 if (PyErr_Occurred()) SWIG_fail;
23501 }
36ed4f51
RD
23502 {
23503 resultobj = SWIG_From_int((int)(result));
23504 }
d55e5bfc
RD
23505 return resultobj;
23506 fail:
23507 return NULL;
23508}
23509
23510
c370783e 23511static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23512 PyObject *resultobj;
23513 wxListEvent *arg1 = (wxListEvent *) 0 ;
23514 long result;
23515 PyObject * obj0 = 0 ;
23516 char *kwnames[] = {
23517 (char *) "self", NULL
23518 };
23519
23520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23522 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 result = (long)(arg1)->GetData();
23526
23527 wxPyEndAllowThreads(__tstate);
23528 if (PyErr_Occurred()) SWIG_fail;
23529 }
36ed4f51
RD
23530 {
23531 resultobj = SWIG_From_long((long)(result));
23532 }
d55e5bfc
RD
23533 return resultobj;
23534 fail:
23535 return NULL;
23536}
23537
23538
c370783e 23539static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23540 PyObject *resultobj;
23541 wxListEvent *arg1 = (wxListEvent *) 0 ;
23542 long result;
23543 PyObject * obj0 = 0 ;
23544 char *kwnames[] = {
23545 (char *) "self", NULL
23546 };
23547
23548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
36ed4f51
RD
23549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23550 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 result = (long)(arg1)->GetMask();
23554
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
36ed4f51
RD
23558 {
23559 resultobj = SWIG_From_long((long)(result));
23560 }
d55e5bfc
RD
23561 return resultobj;
23562 fail:
23563 return NULL;
23564}
23565
23566
c370783e 23567static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23568 PyObject *resultobj;
23569 wxListEvent *arg1 = (wxListEvent *) 0 ;
23570 wxListItem *result;
23571 PyObject * obj0 = 0 ;
23572 char *kwnames[] = {
23573 (char *) "self", NULL
23574 };
23575
23576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
23577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23578 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23579 {
23580 PyThreadState* __tstate = wxPyBeginAllowThreads();
23581 {
23582 wxListItem const &_result_ref = (arg1)->GetItem();
23583 result = (wxListItem *) &_result_ref;
23584 }
23585
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23590 return resultobj;
23591 fail:
23592 return NULL;
23593}
23594
23595
c370783e 23596static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23597 PyObject *resultobj;
23598 wxListEvent *arg1 = (wxListEvent *) 0 ;
23599 long result;
23600 PyObject * obj0 = 0 ;
23601 char *kwnames[] = {
23602 (char *) "self", NULL
23603 };
23604
23605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
36ed4f51
RD
23606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23607 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 result = (long)(arg1)->GetCacheFrom();
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
36ed4f51
RD
23615 {
23616 resultobj = SWIG_From_long((long)(result));
23617 }
d55e5bfc
RD
23618 return resultobj;
23619 fail:
23620 return NULL;
23621}
23622
23623
c370783e 23624static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23625 PyObject *resultobj;
23626 wxListEvent *arg1 = (wxListEvent *) 0 ;
23627 long result;
23628 PyObject * obj0 = 0 ;
23629 char *kwnames[] = {
23630 (char *) "self", NULL
23631 };
23632
23633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
36ed4f51
RD
23634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23635 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23636 {
23637 PyThreadState* __tstate = wxPyBeginAllowThreads();
23638 result = (long)(arg1)->GetCacheTo();
23639
23640 wxPyEndAllowThreads(__tstate);
23641 if (PyErr_Occurred()) SWIG_fail;
23642 }
36ed4f51
RD
23643 {
23644 resultobj = SWIG_From_long((long)(result));
23645 }
d55e5bfc
RD
23646 return resultobj;
23647 fail:
23648 return NULL;
23649}
23650
23651
c370783e 23652static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23653 PyObject *resultobj;
23654 wxListEvent *arg1 = (wxListEvent *) 0 ;
23655 bool result;
23656 PyObject * obj0 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self", NULL
23659 };
23660
23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
36ed4f51
RD
23662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23663 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23664 {
23665 PyThreadState* __tstate = wxPyBeginAllowThreads();
23666 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23667
23668 wxPyEndAllowThreads(__tstate);
23669 if (PyErr_Occurred()) SWIG_fail;
23670 }
23671 {
23672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23673 }
23674 return resultobj;
23675 fail:
23676 return NULL;
23677}
23678
23679
c370783e 23680static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23681 PyObject *resultobj;
23682 wxListEvent *arg1 = (wxListEvent *) 0 ;
23683 bool arg2 ;
23684 PyObject * obj0 = 0 ;
23685 PyObject * obj1 = 0 ;
23686 char *kwnames[] = {
23687 (char *) "self",(char *) "editCancelled", NULL
23688 };
23689
23690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23692 if (SWIG_arg_fail(1)) SWIG_fail;
23693 {
23694 arg2 = (bool)(SWIG_As_bool(obj1));
23695 if (SWIG_arg_fail(2)) SWIG_fail;
23696 }
d55e5bfc
RD
23697 {
23698 PyThreadState* __tstate = wxPyBeginAllowThreads();
23699 (arg1)->SetEditCanceled(arg2);
23700
23701 wxPyEndAllowThreads(__tstate);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 Py_INCREF(Py_None); resultobj = Py_None;
23705 return resultobj;
23706 fail:
23707 return NULL;
23708}
23709
23710
c370783e 23711static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23712 PyObject *obj;
23713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23714 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23715 Py_INCREF(obj);
23716 return Py_BuildValue((char *)"");
23717}
c370783e 23718static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23719 PyObject *resultobj;
23720 wxWindow *arg1 = (wxWindow *) 0 ;
23721 int arg2 = (int) -1 ;
23722 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23723 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23724 wxSize const &arg4_defvalue = wxDefaultSize ;
23725 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23726 long arg5 = (long) wxLC_ICON ;
23727 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23728 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23729 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23730 wxString *arg7 = (wxString *) &arg7_defvalue ;
23731 wxPyListCtrl *result;
23732 wxPoint temp3 ;
23733 wxSize temp4 ;
b411df4a 23734 bool temp7 = false ;
d55e5bfc
RD
23735 PyObject * obj0 = 0 ;
23736 PyObject * obj1 = 0 ;
23737 PyObject * obj2 = 0 ;
23738 PyObject * obj3 = 0 ;
23739 PyObject * obj4 = 0 ;
23740 PyObject * obj5 = 0 ;
23741 PyObject * obj6 = 0 ;
23742 char *kwnames[] = {
23743 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23744 };
23745
23746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
23747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23749 if (obj1) {
36ed4f51
RD
23750 {
23751 arg2 = (int)(SWIG_As_int(obj1));
23752 if (SWIG_arg_fail(2)) SWIG_fail;
23753 }
d55e5bfc
RD
23754 }
23755 if (obj2) {
23756 {
23757 arg3 = &temp3;
23758 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23759 }
23760 }
23761 if (obj3) {
23762 {
23763 arg4 = &temp4;
23764 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23765 }
23766 }
23767 if (obj4) {
36ed4f51
RD
23768 {
23769 arg5 = (long)(SWIG_As_long(obj4));
23770 if (SWIG_arg_fail(5)) SWIG_fail;
23771 }
d55e5bfc
RD
23772 }
23773 if (obj5) {
36ed4f51
RD
23774 {
23775 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23776 if (SWIG_arg_fail(6)) SWIG_fail;
23777 if (arg6 == NULL) {
23778 SWIG_null_ref("wxValidator");
23779 }
23780 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
23781 }
23782 }
23783 if (obj6) {
23784 {
23785 arg7 = wxString_in_helper(obj6);
23786 if (arg7 == NULL) SWIG_fail;
b411df4a 23787 temp7 = true;
d55e5bfc
RD
23788 }
23789 }
23790 {
0439c23b 23791 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23794
23795 wxPyEndAllowThreads(__tstate);
110da5b0 23796 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23797 }
23798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23799 {
23800 if (temp7)
23801 delete arg7;
23802 }
23803 return resultobj;
23804 fail:
23805 {
23806 if (temp7)
23807 delete arg7;
23808 }
23809 return NULL;
23810}
23811
23812
c370783e 23813static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23814 PyObject *resultobj;
23815 wxPyListCtrl *result;
23816 char *kwnames[] = {
23817 NULL
23818 };
23819
23820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23821 {
0439c23b 23822 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23823 PyThreadState* __tstate = wxPyBeginAllowThreads();
23824 result = (wxPyListCtrl *)new wxPyListCtrl();
23825
23826 wxPyEndAllowThreads(__tstate);
110da5b0 23827 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23828 }
23829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23830 return resultobj;
23831 fail:
23832 return NULL;
23833}
23834
23835
c370783e 23836static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23837 PyObject *resultobj;
23838 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23839 wxWindow *arg2 = (wxWindow *) 0 ;
23840 int arg3 = (int) -1 ;
23841 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23842 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23843 wxSize const &arg5_defvalue = wxDefaultSize ;
23844 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23845 long arg6 = (long) wxLC_ICON ;
23846 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23847 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23848 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23849 wxString *arg8 = (wxString *) &arg8_defvalue ;
23850 bool result;
23851 wxPoint temp4 ;
23852 wxSize temp5 ;
b411df4a 23853 bool temp8 = false ;
d55e5bfc
RD
23854 PyObject * obj0 = 0 ;
23855 PyObject * obj1 = 0 ;
23856 PyObject * obj2 = 0 ;
23857 PyObject * obj3 = 0 ;
23858 PyObject * obj4 = 0 ;
23859 PyObject * obj5 = 0 ;
23860 PyObject * obj6 = 0 ;
23861 PyObject * obj7 = 0 ;
23862 char *kwnames[] = {
23863 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
23867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23868 if (SWIG_arg_fail(1)) SWIG_fail;
23869 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23870 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23871 if (obj2) {
36ed4f51
RD
23872 {
23873 arg3 = (int)(SWIG_As_int(obj2));
23874 if (SWIG_arg_fail(3)) SWIG_fail;
23875 }
d55e5bfc
RD
23876 }
23877 if (obj3) {
23878 {
23879 arg4 = &temp4;
23880 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23881 }
23882 }
23883 if (obj4) {
23884 {
23885 arg5 = &temp5;
23886 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23887 }
23888 }
23889 if (obj5) {
36ed4f51
RD
23890 {
23891 arg6 = (long)(SWIG_As_long(obj5));
23892 if (SWIG_arg_fail(6)) SWIG_fail;
23893 }
d55e5bfc
RD
23894 }
23895 if (obj6) {
36ed4f51
RD
23896 {
23897 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23898 if (SWIG_arg_fail(7)) SWIG_fail;
23899 if (arg7 == NULL) {
23900 SWIG_null_ref("wxValidator");
23901 }
23902 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
23903 }
23904 }
23905 if (obj7) {
23906 {
23907 arg8 = wxString_in_helper(obj7);
23908 if (arg8 == NULL) SWIG_fail;
b411df4a 23909 temp8 = true;
d55e5bfc
RD
23910 }
23911 }
23912 {
23913 PyThreadState* __tstate = wxPyBeginAllowThreads();
23914 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23915
23916 wxPyEndAllowThreads(__tstate);
23917 if (PyErr_Occurred()) SWIG_fail;
23918 }
23919 {
23920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23921 }
23922 {
23923 if (temp8)
23924 delete arg8;
23925 }
23926 return resultobj;
23927 fail:
23928 {
23929 if (temp8)
23930 delete arg8;
23931 }
23932 return NULL;
23933}
23934
23935
c370783e 23936static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23937 PyObject *resultobj;
23938 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23939 PyObject *arg2 = (PyObject *) 0 ;
23940 PyObject *arg3 = (PyObject *) 0 ;
23941 PyObject * obj0 = 0 ;
23942 PyObject * obj1 = 0 ;
23943 PyObject * obj2 = 0 ;
23944 char *kwnames[] = {
23945 (char *) "self",(char *) "self",(char *) "_class", NULL
23946 };
23947
23948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23950 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23951 arg2 = obj1;
23952 arg3 = obj2;
23953 {
23954 PyThreadState* __tstate = wxPyBeginAllowThreads();
23955 (arg1)->_setCallbackInfo(arg2,arg3);
23956
23957 wxPyEndAllowThreads(__tstate);
23958 if (PyErr_Occurred()) SWIG_fail;
23959 }
23960 Py_INCREF(Py_None); resultobj = Py_None;
23961 return resultobj;
23962 fail:
23963 return NULL;
23964}
23965
23966
c370783e 23967static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23968 PyObject *resultobj;
23969 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23970 wxColour *arg2 = 0 ;
23971 bool result;
23972 wxColour temp2 ;
23973 PyObject * obj0 = 0 ;
23974 PyObject * obj1 = 0 ;
23975 char *kwnames[] = {
23976 (char *) "self",(char *) "col", NULL
23977 };
23978
23979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23982 {
23983 arg2 = &temp2;
23984 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23985 }
23986 {
23987 PyThreadState* __tstate = wxPyBeginAllowThreads();
23988 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
23989
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 {
23994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23995 }
23996 return resultobj;
23997 fail:
23998 return NULL;
23999}
24000
24001
c370783e 24002static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24003 PyObject *resultobj;
24004 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24005 wxColour *arg2 = 0 ;
24006 bool result;
24007 wxColour temp2 ;
24008 PyObject * obj0 = 0 ;
24009 PyObject * obj1 = 0 ;
24010 char *kwnames[] = {
24011 (char *) "self",(char *) "col", NULL
24012 };
24013
24014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24016 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24017 {
24018 arg2 = &temp2;
24019 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24020 }
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 {
24029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24030 }
24031 return resultobj;
24032 fail:
24033 return NULL;
24034}
24035
24036
c370783e 24037static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24038 PyObject *resultobj;
24039 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24040 int arg2 ;
24041 wxListItem *result;
24042 PyObject * obj0 = 0 ;
24043 PyObject * obj1 = 0 ;
24044 char *kwnames[] = {
24045 (char *) "self",(char *) "col", NULL
24046 };
24047
24048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24050 if (SWIG_arg_fail(1)) SWIG_fail;
24051 {
24052 arg2 = (int)(SWIG_As_int(obj1));
24053 if (SWIG_arg_fail(2)) SWIG_fail;
24054 }
d55e5bfc
RD
24055 {
24056 PyThreadState* __tstate = wxPyBeginAllowThreads();
24057 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24058
24059 wxPyEndAllowThreads(__tstate);
24060 if (PyErr_Occurred()) SWIG_fail;
24061 }
24062 {
412d302d 24063 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24064 }
24065 return resultobj;
24066 fail:
24067 return NULL;
24068}
24069
24070
c370783e 24071static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24072 PyObject *resultobj;
24073 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24074 int arg2 ;
24075 wxListItem *arg3 = 0 ;
24076 bool result;
24077 PyObject * obj0 = 0 ;
24078 PyObject * obj1 = 0 ;
24079 PyObject * obj2 = 0 ;
24080 char *kwnames[] = {
24081 (char *) "self",(char *) "col",(char *) "item", NULL
24082 };
24083
24084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24086 if (SWIG_arg_fail(1)) SWIG_fail;
24087 {
24088 arg2 = (int)(SWIG_As_int(obj1));
24089 if (SWIG_arg_fail(2)) SWIG_fail;
24090 }
24091 {
24092 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24093 if (SWIG_arg_fail(3)) SWIG_fail;
24094 if (arg3 == NULL) {
24095 SWIG_null_ref("wxListItem");
24096 }
24097 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24098 }
24099 {
24100 PyThreadState* __tstate = wxPyBeginAllowThreads();
24101 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24102
24103 wxPyEndAllowThreads(__tstate);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
24106 {
24107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24108 }
24109 return resultobj;
24110 fail:
24111 return NULL;
24112}
24113
24114
c370783e 24115static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24116 PyObject *resultobj;
24117 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24118 int arg2 ;
24119 int result;
24120 PyObject * obj0 = 0 ;
24121 PyObject * obj1 = 0 ;
24122 char *kwnames[] = {
24123 (char *) "self",(char *) "col", NULL
24124 };
24125
24126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24128 if (SWIG_arg_fail(1)) SWIG_fail;
24129 {
24130 arg2 = (int)(SWIG_As_int(obj1));
24131 if (SWIG_arg_fail(2)) SWIG_fail;
24132 }
d55e5bfc
RD
24133 {
24134 PyThreadState* __tstate = wxPyBeginAllowThreads();
24135 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24136
24137 wxPyEndAllowThreads(__tstate);
24138 if (PyErr_Occurred()) SWIG_fail;
24139 }
36ed4f51
RD
24140 {
24141 resultobj = SWIG_From_int((int)(result));
24142 }
d55e5bfc
RD
24143 return resultobj;
24144 fail:
24145 return NULL;
24146}
24147
24148
c370783e 24149static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24150 PyObject *resultobj;
24151 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24152 int arg2 ;
24153 int arg3 ;
24154 bool result;
24155 PyObject * obj0 = 0 ;
24156 PyObject * obj1 = 0 ;
24157 PyObject * obj2 = 0 ;
24158 char *kwnames[] = {
24159 (char *) "self",(char *) "col",(char *) "width", NULL
24160 };
24161
24162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24164 if (SWIG_arg_fail(1)) SWIG_fail;
24165 {
24166 arg2 = (int)(SWIG_As_int(obj1));
24167 if (SWIG_arg_fail(2)) SWIG_fail;
24168 }
24169 {
24170 arg3 = (int)(SWIG_As_int(obj2));
24171 if (SWIG_arg_fail(3)) SWIG_fail;
24172 }
d55e5bfc
RD
24173 {
24174 PyThreadState* __tstate = wxPyBeginAllowThreads();
24175 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24176
24177 wxPyEndAllowThreads(__tstate);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 {
24181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24182 }
24183 return resultobj;
24184 fail:
24185 return NULL;
24186}
24187
24188
c370783e 24189static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24190 PyObject *resultobj;
24191 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24192 int result;
24193 PyObject * obj0 = 0 ;
24194 char *kwnames[] = {
24195 (char *) "self", NULL
24196 };
24197
24198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
24199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24200 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24201 {
24202 PyThreadState* __tstate = wxPyBeginAllowThreads();
24203 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24204
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
36ed4f51
RD
24208 {
24209 resultobj = SWIG_From_int((int)(result));
24210 }
d55e5bfc
RD
24211 return resultobj;
24212 fail:
24213 return NULL;
24214}
24215
24216
c370783e 24217static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24218 PyObject *resultobj;
24219 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24220 wxRect result;
24221 PyObject * obj0 = 0 ;
24222 char *kwnames[] = {
24223 (char *) "self", NULL
24224 };
24225
24226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
24227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24228 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24229 {
24230 PyThreadState* __tstate = wxPyBeginAllowThreads();
24231 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24232
24233 wxPyEndAllowThreads(__tstate);
24234 if (PyErr_Occurred()) SWIG_fail;
24235 }
24236 {
24237 wxRect * resultptr;
36ed4f51 24238 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24240 }
24241 return resultobj;
24242 fail:
24243 return NULL;
24244}
24245
24246
c370783e 24247static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24248 PyObject *resultobj;
24249 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24250 long arg2 ;
24251 int arg3 = (int) 0 ;
24252 wxListItem *result;
24253 PyObject * obj0 = 0 ;
24254 PyObject * obj1 = 0 ;
24255 PyObject * obj2 = 0 ;
24256 char *kwnames[] = {
24257 (char *) "self",(char *) "itemId",(char *) "col", NULL
24258 };
24259
24260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24262 if (SWIG_arg_fail(1)) SWIG_fail;
24263 {
24264 arg2 = (long)(SWIG_As_long(obj1));
24265 if (SWIG_arg_fail(2)) SWIG_fail;
24266 }
d55e5bfc 24267 if (obj2) {
36ed4f51
RD
24268 {
24269 arg3 = (int)(SWIG_As_int(obj2));
24270 if (SWIG_arg_fail(3)) SWIG_fail;
24271 }
d55e5bfc
RD
24272 }
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24276
24277 wxPyEndAllowThreads(__tstate);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 }
24280 {
412d302d 24281 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24282 }
24283 return resultobj;
24284 fail:
24285 return NULL;
24286}
24287
24288
c370783e 24289static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24290 PyObject *resultobj;
24291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24292 wxListItem *arg2 = 0 ;
24293 bool result;
24294 PyObject * obj0 = 0 ;
24295 PyObject * obj1 = 0 ;
24296 char *kwnames[] = {
24297 (char *) "self",(char *) "info", NULL
24298 };
24299
24300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24302 if (SWIG_arg_fail(1)) SWIG_fail;
24303 {
24304 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24305 if (SWIG_arg_fail(2)) SWIG_fail;
24306 if (arg2 == NULL) {
24307 SWIG_null_ref("wxListItem");
24308 }
24309 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24310 }
24311 {
24312 PyThreadState* __tstate = wxPyBeginAllowThreads();
24313 result = (bool)(arg1)->SetItem(*arg2);
24314
24315 wxPyEndAllowThreads(__tstate);
24316 if (PyErr_Occurred()) SWIG_fail;
24317 }
24318 {
24319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24320 }
24321 return resultobj;
24322 fail:
24323 return NULL;
24324}
24325
24326
c370783e 24327static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24328 PyObject *resultobj;
24329 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24330 long arg2 ;
24331 int arg3 ;
24332 wxString *arg4 = 0 ;
24333 int arg5 = (int) -1 ;
24334 long result;
b411df4a 24335 bool temp4 = false ;
d55e5bfc
RD
24336 PyObject * obj0 = 0 ;
24337 PyObject * obj1 = 0 ;
24338 PyObject * obj2 = 0 ;
24339 PyObject * obj3 = 0 ;
24340 PyObject * obj4 = 0 ;
24341 char *kwnames[] = {
24342 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24343 };
24344
24345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
24346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24347 if (SWIG_arg_fail(1)) SWIG_fail;
24348 {
24349 arg2 = (long)(SWIG_As_long(obj1));
24350 if (SWIG_arg_fail(2)) SWIG_fail;
24351 }
24352 {
24353 arg3 = (int)(SWIG_As_int(obj2));
24354 if (SWIG_arg_fail(3)) SWIG_fail;
24355 }
d55e5bfc
RD
24356 {
24357 arg4 = wxString_in_helper(obj3);
24358 if (arg4 == NULL) SWIG_fail;
b411df4a 24359 temp4 = true;
d55e5bfc
RD
24360 }
24361 if (obj4) {
36ed4f51
RD
24362 {
24363 arg5 = (int)(SWIG_As_int(obj4));
24364 if (SWIG_arg_fail(5)) SWIG_fail;
24365 }
d55e5bfc
RD
24366 }
24367 {
24368 PyThreadState* __tstate = wxPyBeginAllowThreads();
24369 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24370
24371 wxPyEndAllowThreads(__tstate);
24372 if (PyErr_Occurred()) SWIG_fail;
24373 }
36ed4f51
RD
24374 {
24375 resultobj = SWIG_From_long((long)(result));
24376 }
d55e5bfc
RD
24377 {
24378 if (temp4)
24379 delete arg4;
24380 }
24381 return resultobj;
24382 fail:
24383 {
24384 if (temp4)
24385 delete arg4;
24386 }
24387 return NULL;
24388}
24389
24390
c370783e 24391static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24392 PyObject *resultobj;
24393 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24394 long arg2 ;
24395 long arg3 ;
24396 int result;
24397 PyObject * obj0 = 0 ;
24398 PyObject * obj1 = 0 ;
24399 PyObject * obj2 = 0 ;
24400 char *kwnames[] = {
24401 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24402 };
24403
24404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24406 if (SWIG_arg_fail(1)) SWIG_fail;
24407 {
24408 arg2 = (long)(SWIG_As_long(obj1));
24409 if (SWIG_arg_fail(2)) SWIG_fail;
24410 }
24411 {
24412 arg3 = (long)(SWIG_As_long(obj2));
24413 if (SWIG_arg_fail(3)) SWIG_fail;
24414 }
d55e5bfc
RD
24415 {
24416 PyThreadState* __tstate = wxPyBeginAllowThreads();
24417 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24418
24419 wxPyEndAllowThreads(__tstate);
24420 if (PyErr_Occurred()) SWIG_fail;
24421 }
36ed4f51
RD
24422 {
24423 resultobj = SWIG_From_int((int)(result));
24424 }
d55e5bfc
RD
24425 return resultobj;
24426 fail:
24427 return NULL;
24428}
24429
24430
c370783e 24431static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24432 PyObject *resultobj;
24433 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24434 long arg2 ;
24435 long arg3 ;
24436 long arg4 ;
24437 bool result;
24438 PyObject * obj0 = 0 ;
24439 PyObject * obj1 = 0 ;
24440 PyObject * obj2 = 0 ;
24441 PyObject * obj3 = 0 ;
24442 char *kwnames[] = {
24443 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24444 };
24445
24446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24448 if (SWIG_arg_fail(1)) SWIG_fail;
24449 {
24450 arg2 = (long)(SWIG_As_long(obj1));
24451 if (SWIG_arg_fail(2)) SWIG_fail;
24452 }
24453 {
24454 arg3 = (long)(SWIG_As_long(obj2));
24455 if (SWIG_arg_fail(3)) SWIG_fail;
24456 }
24457 {
24458 arg4 = (long)(SWIG_As_long(obj3));
24459 if (SWIG_arg_fail(4)) SWIG_fail;
24460 }
d55e5bfc
RD
24461 {
24462 PyThreadState* __tstate = wxPyBeginAllowThreads();
24463 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24464
24465 wxPyEndAllowThreads(__tstate);
24466 if (PyErr_Occurred()) SWIG_fail;
24467 }
24468 {
24469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24470 }
24471 return resultobj;
24472 fail:
24473 return NULL;
24474}
24475
24476
c370783e 24477static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24478 PyObject *resultobj;
24479 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24480 long arg2 ;
24481 int arg3 ;
84f85550 24482 int arg4 = (int) -1 ;
d55e5bfc
RD
24483 bool result;
24484 PyObject * obj0 = 0 ;
24485 PyObject * obj1 = 0 ;
24486 PyObject * obj2 = 0 ;
24487 PyObject * obj3 = 0 ;
24488 char *kwnames[] = {
24489 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24490 };
24491
84f85550 24492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24494 if (SWIG_arg_fail(1)) SWIG_fail;
24495 {
24496 arg2 = (long)(SWIG_As_long(obj1));
24497 if (SWIG_arg_fail(2)) SWIG_fail;
24498 }
24499 {
24500 arg3 = (int)(SWIG_As_int(obj2));
24501 if (SWIG_arg_fail(3)) SWIG_fail;
24502 }
84f85550 24503 if (obj3) {
36ed4f51
RD
24504 {
24505 arg4 = (int)(SWIG_As_int(obj3));
24506 if (SWIG_arg_fail(4)) SWIG_fail;
24507 }
84f85550 24508 }
d55e5bfc
RD
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 {
24517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24518 }
24519 return resultobj;
24520 fail:
24521 return NULL;
24522}
24523
24524
c370783e 24525static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24526 PyObject *resultobj;
24527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24528 long arg2 ;
24529 wxString result;
24530 PyObject * obj0 = 0 ;
24531 PyObject * obj1 = 0 ;
24532 char *kwnames[] = {
24533 (char *) "self",(char *) "item", NULL
24534 };
24535
24536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24538 if (SWIG_arg_fail(1)) SWIG_fail;
24539 {
24540 arg2 = (long)(SWIG_As_long(obj1));
24541 if (SWIG_arg_fail(2)) SWIG_fail;
24542 }
d55e5bfc
RD
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24546
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 {
24551#if wxUSE_UNICODE
24552 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24553#else
24554 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24555#endif
24556 }
24557 return resultobj;
24558 fail:
24559 return NULL;
24560}
24561
24562
c370783e 24563static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24564 PyObject *resultobj;
24565 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24566 long arg2 ;
24567 wxString *arg3 = 0 ;
b411df4a 24568 bool temp3 = false ;
d55e5bfc
RD
24569 PyObject * obj0 = 0 ;
24570 PyObject * obj1 = 0 ;
24571 PyObject * obj2 = 0 ;
24572 char *kwnames[] = {
24573 (char *) "self",(char *) "item",(char *) "str", NULL
24574 };
24575
24576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24578 if (SWIG_arg_fail(1)) SWIG_fail;
24579 {
24580 arg2 = (long)(SWIG_As_long(obj1));
24581 if (SWIG_arg_fail(2)) SWIG_fail;
24582 }
d55e5bfc
RD
24583 {
24584 arg3 = wxString_in_helper(obj2);
24585 if (arg3 == NULL) SWIG_fail;
b411df4a 24586 temp3 = true;
d55e5bfc
RD
24587 }
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24591
24592 wxPyEndAllowThreads(__tstate);
24593 if (PyErr_Occurred()) SWIG_fail;
24594 }
24595 Py_INCREF(Py_None); resultobj = Py_None;
24596 {
24597 if (temp3)
24598 delete arg3;
24599 }
24600 return resultobj;
24601 fail:
24602 {
24603 if (temp3)
24604 delete arg3;
24605 }
24606 return NULL;
24607}
24608
24609
c370783e 24610static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24611 PyObject *resultobj;
24612 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24613 long arg2 ;
24614 long result;
24615 PyObject * obj0 = 0 ;
24616 PyObject * obj1 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self",(char *) "item", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24623 if (SWIG_arg_fail(1)) SWIG_fail;
24624 {
24625 arg2 = (long)(SWIG_As_long(obj1));
24626 if (SWIG_arg_fail(2)) SWIG_fail;
24627 }
d55e5bfc
RD
24628 {
24629 PyThreadState* __tstate = wxPyBeginAllowThreads();
24630 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24631
24632 wxPyEndAllowThreads(__tstate);
24633 if (PyErr_Occurred()) SWIG_fail;
24634 }
36ed4f51
RD
24635 {
24636 resultobj = SWIG_From_long((long)(result));
24637 }
d55e5bfc
RD
24638 return resultobj;
24639 fail:
24640 return NULL;
24641}
24642
24643
c370783e 24644static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24645 PyObject *resultobj;
24646 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24647 long arg2 ;
24648 long arg3 ;
24649 bool result;
24650 PyObject * obj0 = 0 ;
24651 PyObject * obj1 = 0 ;
24652 PyObject * obj2 = 0 ;
24653 char *kwnames[] = {
24654 (char *) "self",(char *) "item",(char *) "data", NULL
24655 };
24656
24657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24659 if (SWIG_arg_fail(1)) SWIG_fail;
24660 {
24661 arg2 = (long)(SWIG_As_long(obj1));
24662 if (SWIG_arg_fail(2)) SWIG_fail;
24663 }
24664 {
24665 arg3 = (long)(SWIG_As_long(obj2));
24666 if (SWIG_arg_fail(3)) SWIG_fail;
24667 }
d55e5bfc
RD
24668 {
24669 PyThreadState* __tstate = wxPyBeginAllowThreads();
24670 result = (bool)(arg1)->SetItemData(arg2,arg3);
24671
24672 wxPyEndAllowThreads(__tstate);
24673 if (PyErr_Occurred()) SWIG_fail;
24674 }
24675 {
24676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24677 }
24678 return resultobj;
24679 fail:
24680 return NULL;
24681}
24682
24683
c370783e 24684static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24685 PyObject *resultobj;
24686 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24687 long arg2 ;
24688 wxPoint result;
24689 PyObject * obj0 = 0 ;
24690 PyObject * obj1 = 0 ;
24691 char *kwnames[] = {
24692 (char *) "self",(char *) "item", NULL
24693 };
24694
24695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24697 if (SWIG_arg_fail(1)) SWIG_fail;
24698 {
24699 arg2 = (long)(SWIG_As_long(obj1));
24700 if (SWIG_arg_fail(2)) SWIG_fail;
24701 }
d55e5bfc
RD
24702 {
24703 PyThreadState* __tstate = wxPyBeginAllowThreads();
24704 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24705
24706 wxPyEndAllowThreads(__tstate);
24707 if (PyErr_Occurred()) SWIG_fail;
24708 }
24709 {
24710 wxPoint * resultptr;
36ed4f51 24711 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
24712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24713 }
24714 return resultobj;
24715 fail:
24716 return NULL;
24717}
24718
24719
c370783e 24720static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24721 PyObject *resultobj;
24722 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24723 long arg2 ;
24724 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24725 wxRect result;
24726 PyObject * obj0 = 0 ;
24727 PyObject * obj1 = 0 ;
24728 PyObject * obj2 = 0 ;
24729 char *kwnames[] = {
24730 (char *) "self",(char *) "item",(char *) "code", NULL
24731 };
24732
24733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24735 if (SWIG_arg_fail(1)) SWIG_fail;
24736 {
24737 arg2 = (long)(SWIG_As_long(obj1));
24738 if (SWIG_arg_fail(2)) SWIG_fail;
24739 }
d55e5bfc 24740 if (obj2) {
36ed4f51
RD
24741 {
24742 arg3 = (int)(SWIG_As_int(obj2));
24743 if (SWIG_arg_fail(3)) SWIG_fail;
24744 }
d55e5bfc
RD
24745 }
24746 {
24747 PyThreadState* __tstate = wxPyBeginAllowThreads();
24748 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24749
24750 wxPyEndAllowThreads(__tstate);
24751 if (PyErr_Occurred()) SWIG_fail;
24752 }
24753 {
24754 wxRect * resultptr;
36ed4f51 24755 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24756 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24757 }
24758 return resultobj;
24759 fail:
24760 return NULL;
24761}
24762
24763
c370783e 24764static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24765 PyObject *resultobj;
24766 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24767 long arg2 ;
24768 wxPoint *arg3 = 0 ;
24769 bool result;
24770 wxPoint temp3 ;
24771 PyObject * obj0 = 0 ;
24772 PyObject * obj1 = 0 ;
24773 PyObject * obj2 = 0 ;
24774 char *kwnames[] = {
24775 (char *) "self",(char *) "item",(char *) "pos", NULL
24776 };
24777
24778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24780 if (SWIG_arg_fail(1)) SWIG_fail;
24781 {
24782 arg2 = (long)(SWIG_As_long(obj1));
24783 if (SWIG_arg_fail(2)) SWIG_fail;
24784 }
d55e5bfc
RD
24785 {
24786 arg3 = &temp3;
24787 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24788 }
24789 {
24790 PyThreadState* __tstate = wxPyBeginAllowThreads();
24791 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24792
24793 wxPyEndAllowThreads(__tstate);
24794 if (PyErr_Occurred()) SWIG_fail;
24795 }
24796 {
24797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24798 }
24799 return resultobj;
24800 fail:
24801 return NULL;
24802}
24803
24804
c370783e 24805static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24806 PyObject *resultobj;
24807 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24808 int result;
24809 PyObject * obj0 = 0 ;
24810 char *kwnames[] = {
24811 (char *) "self", NULL
24812 };
24813
24814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
24815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24816 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24820
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
36ed4f51
RD
24824 {
24825 resultobj = SWIG_From_int((int)(result));
24826 }
d55e5bfc
RD
24827 return resultobj;
24828 fail:
24829 return NULL;
24830}
24831
24832
c370783e 24833static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24834 PyObject *resultobj;
24835 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24836 int result;
24837 PyObject * obj0 = 0 ;
24838 char *kwnames[] = {
24839 (char *) "self", NULL
24840 };
24841
24842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
24843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24844 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24845 {
24846 PyThreadState* __tstate = wxPyBeginAllowThreads();
24847 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24848
24849 wxPyEndAllowThreads(__tstate);
24850 if (PyErr_Occurred()) SWIG_fail;
24851 }
36ed4f51
RD
24852 {
24853 resultobj = SWIG_From_int((int)(result));
24854 }
d55e5bfc
RD
24855 return resultobj;
24856 fail:
24857 return NULL;
24858}
24859
24860
c370783e 24861static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24862 PyObject *resultobj;
24863 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24864 wxSize result;
24865 PyObject * obj0 = 0 ;
24866 char *kwnames[] = {
24867 (char *) "self", NULL
24868 };
24869
24870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
24871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24873 {
24874 PyThreadState* __tstate = wxPyBeginAllowThreads();
24875 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24876
24877 wxPyEndAllowThreads(__tstate);
24878 if (PyErr_Occurred()) SWIG_fail;
24879 }
24880 {
24881 wxSize * resultptr;
36ed4f51 24882 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
24883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24884 }
24885 return resultobj;
24886 fail:
24887 return NULL;
24888}
24889
24890
c370783e 24891static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24892 PyObject *resultobj;
24893 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24894 int arg2 ;
b411df4a 24895 bool arg3 = (bool) false ;
d55e5bfc
RD
24896 PyObject * obj0 = 0 ;
24897 PyObject * obj1 = 0 ;
24898 PyObject * obj2 = 0 ;
24899 char *kwnames[] = {
24900 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24901 };
24902
24903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24905 if (SWIG_arg_fail(1)) SWIG_fail;
24906 {
24907 arg2 = (int)(SWIG_As_int(obj1));
24908 if (SWIG_arg_fail(2)) SWIG_fail;
24909 }
d55e5bfc 24910 if (obj2) {
36ed4f51
RD
24911 {
24912 arg3 = (bool)(SWIG_As_bool(obj2));
24913 if (SWIG_arg_fail(3)) SWIG_fail;
24914 }
d55e5bfc
RD
24915 }
24916 {
24917 PyThreadState* __tstate = wxPyBeginAllowThreads();
24918 (arg1)->SetItemSpacing(arg2,arg3);
24919
24920 wxPyEndAllowThreads(__tstate);
24921 if (PyErr_Occurred()) SWIG_fail;
24922 }
24923 Py_INCREF(Py_None); resultobj = Py_None;
24924 return resultobj;
24925 fail:
24926 return NULL;
24927}
24928
24929
c370783e 24930static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24931 PyObject *resultobj;
24932 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24933 int result;
24934 PyObject * obj0 = 0 ;
24935 char *kwnames[] = {
24936 (char *) "self", NULL
24937 };
24938
24939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
24940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24941 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
24945
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
36ed4f51
RD
24949 {
24950 resultobj = SWIG_From_int((int)(result));
24951 }
d55e5bfc
RD
24952 return resultobj;
24953 fail:
24954 return NULL;
24955}
24956
24957
c370783e 24958static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24959 PyObject *resultobj;
24960 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24961 wxColour result;
24962 PyObject * obj0 = 0 ;
24963 char *kwnames[] = {
24964 (char *) "self", NULL
24965 };
24966
24967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
24968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24969 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24970 {
24971 PyThreadState* __tstate = wxPyBeginAllowThreads();
24972 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
24973
24974 wxPyEndAllowThreads(__tstate);
24975 if (PyErr_Occurred()) SWIG_fail;
24976 }
24977 {
24978 wxColour * resultptr;
36ed4f51 24979 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
24980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24981 }
24982 return resultobj;
24983 fail:
24984 return NULL;
24985}
24986
24987
c370783e 24988static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24989 PyObject *resultobj;
24990 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24991 wxColour *arg2 = 0 ;
24992 wxColour temp2 ;
24993 PyObject * obj0 = 0 ;
24994 PyObject * obj1 = 0 ;
24995 char *kwnames[] = {
24996 (char *) "self",(char *) "col", NULL
24997 };
24998
24999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25001 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25002 {
25003 arg2 = &temp2;
25004 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25005 }
25006 {
25007 PyThreadState* __tstate = wxPyBeginAllowThreads();
25008 (arg1)->SetTextColour((wxColour const &)*arg2);
25009
25010 wxPyEndAllowThreads(__tstate);
25011 if (PyErr_Occurred()) SWIG_fail;
25012 }
25013 Py_INCREF(Py_None); resultobj = Py_None;
25014 return resultobj;
25015 fail:
25016 return NULL;
25017}
25018
25019
c370783e 25020static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25021 PyObject *resultobj;
25022 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25023 long result;
25024 PyObject * obj0 = 0 ;
25025 char *kwnames[] = {
25026 (char *) "self", NULL
25027 };
25028
25029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
25030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25032 {
25033 PyThreadState* __tstate = wxPyBeginAllowThreads();
25034 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25035
25036 wxPyEndAllowThreads(__tstate);
25037 if (PyErr_Occurred()) SWIG_fail;
25038 }
36ed4f51
RD
25039 {
25040 resultobj = SWIG_From_long((long)(result));
25041 }
d55e5bfc
RD
25042 return resultobj;
25043 fail:
25044 return NULL;
25045}
25046
25047
c370783e 25048static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25049 PyObject *resultobj;
25050 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25051 long arg2 ;
b411df4a 25052 bool arg3 = (bool) true ;
d55e5bfc
RD
25053 PyObject * obj0 = 0 ;
25054 PyObject * obj1 = 0 ;
25055 PyObject * obj2 = 0 ;
25056 char *kwnames[] = {
25057 (char *) "self",(char *) "style",(char *) "add", NULL
25058 };
25059
25060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25062 if (SWIG_arg_fail(1)) SWIG_fail;
25063 {
25064 arg2 = (long)(SWIG_As_long(obj1));
25065 if (SWIG_arg_fail(2)) SWIG_fail;
25066 }
d55e5bfc 25067 if (obj2) {
36ed4f51
RD
25068 {
25069 arg3 = (bool)(SWIG_As_bool(obj2));
25070 if (SWIG_arg_fail(3)) SWIG_fail;
25071 }
d55e5bfc
RD
25072 }
25073 {
25074 PyThreadState* __tstate = wxPyBeginAllowThreads();
25075 (arg1)->SetSingleStyle(arg2,arg3);
25076
25077 wxPyEndAllowThreads(__tstate);
25078 if (PyErr_Occurred()) SWIG_fail;
25079 }
25080 Py_INCREF(Py_None); resultobj = Py_None;
25081 return resultobj;
25082 fail:
25083 return NULL;
25084}
25085
25086
c370783e 25087static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25088 PyObject *resultobj;
25089 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25090 long arg2 ;
25091 PyObject * obj0 = 0 ;
25092 PyObject * obj1 = 0 ;
25093 char *kwnames[] = {
25094 (char *) "self",(char *) "style", NULL
25095 };
25096
25097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25099 if (SWIG_arg_fail(1)) SWIG_fail;
25100 {
25101 arg2 = (long)(SWIG_As_long(obj1));
25102 if (SWIG_arg_fail(2)) SWIG_fail;
25103 }
d55e5bfc
RD
25104 {
25105 PyThreadState* __tstate = wxPyBeginAllowThreads();
25106 (arg1)->SetWindowStyleFlag(arg2);
25107
25108 wxPyEndAllowThreads(__tstate);
25109 if (PyErr_Occurred()) SWIG_fail;
25110 }
25111 Py_INCREF(Py_None); resultobj = Py_None;
25112 return resultobj;
25113 fail:
25114 return NULL;
25115}
25116
25117
c370783e 25118static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25119 PyObject *resultobj;
25120 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25121 long arg2 ;
25122 int arg3 = (int) wxLIST_NEXT_ALL ;
25123 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25124 long result;
25125 PyObject * obj0 = 0 ;
25126 PyObject * obj1 = 0 ;
25127 PyObject * obj2 = 0 ;
25128 PyObject * obj3 = 0 ;
25129 char *kwnames[] = {
25130 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25131 };
25132
25133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25135 if (SWIG_arg_fail(1)) SWIG_fail;
25136 {
25137 arg2 = (long)(SWIG_As_long(obj1));
25138 if (SWIG_arg_fail(2)) SWIG_fail;
25139 }
d55e5bfc 25140 if (obj2) {
36ed4f51
RD
25141 {
25142 arg3 = (int)(SWIG_As_int(obj2));
25143 if (SWIG_arg_fail(3)) SWIG_fail;
25144 }
d55e5bfc
RD
25145 }
25146 if (obj3) {
36ed4f51
RD
25147 {
25148 arg4 = (int)(SWIG_As_int(obj3));
25149 if (SWIG_arg_fail(4)) SWIG_fail;
25150 }
d55e5bfc
RD
25151 }
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25155
25156 wxPyEndAllowThreads(__tstate);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 }
36ed4f51
RD
25159 {
25160 resultobj = SWIG_From_long((long)(result));
25161 }
d55e5bfc
RD
25162 return resultobj;
25163 fail:
25164 return NULL;
25165}
25166
25167
c370783e 25168static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25169 PyObject *resultobj;
25170 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25171 int arg2 ;
25172 wxImageList *result;
25173 PyObject * obj0 = 0 ;
25174 PyObject * obj1 = 0 ;
25175 char *kwnames[] = {
25176 (char *) "self",(char *) "which", NULL
25177 };
25178
25179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25181 if (SWIG_arg_fail(1)) SWIG_fail;
25182 {
25183 arg2 = (int)(SWIG_As_int(obj1));
25184 if (SWIG_arg_fail(2)) SWIG_fail;
25185 }
d55e5bfc
RD
25186 {
25187 PyThreadState* __tstate = wxPyBeginAllowThreads();
25188 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25189
25190 wxPyEndAllowThreads(__tstate);
25191 if (PyErr_Occurred()) SWIG_fail;
25192 }
25193 {
412d302d 25194 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25195 }
25196 return resultobj;
25197 fail:
25198 return NULL;
25199}
25200
25201
c370783e 25202static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25203 PyObject *resultobj;
25204 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25205 wxImageList *arg2 = (wxImageList *) 0 ;
25206 int arg3 ;
25207 PyObject * obj0 = 0 ;
25208 PyObject * obj1 = 0 ;
25209 PyObject * obj2 = 0 ;
25210 char *kwnames[] = {
25211 (char *) "self",(char *) "imageList",(char *) "which", NULL
25212 };
25213
25214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25216 if (SWIG_arg_fail(1)) SWIG_fail;
25217 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25218 if (SWIG_arg_fail(2)) SWIG_fail;
25219 {
25220 arg3 = (int)(SWIG_As_int(obj2));
25221 if (SWIG_arg_fail(3)) SWIG_fail;
25222 }
d55e5bfc
RD
25223 {
25224 PyThreadState* __tstate = wxPyBeginAllowThreads();
25225 (arg1)->SetImageList(arg2,arg3);
25226
25227 wxPyEndAllowThreads(__tstate);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 Py_INCREF(Py_None); resultobj = Py_None;
25231 return resultobj;
25232 fail:
25233 return NULL;
25234}
25235
25236
c370783e 25237static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25238 PyObject *resultobj;
25239 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25240 wxImageList *arg2 = (wxImageList *) 0 ;
25241 int arg3 ;
25242 PyObject * obj0 = 0 ;
25243 PyObject * obj1 = 0 ;
25244 PyObject * obj2 = 0 ;
25245 char *kwnames[] = {
25246 (char *) "self",(char *) "imageList",(char *) "which", NULL
25247 };
25248
25249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25251 if (SWIG_arg_fail(1)) SWIG_fail;
25252 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25253 if (SWIG_arg_fail(2)) SWIG_fail;
25254 {
25255 arg3 = (int)(SWIG_As_int(obj2));
25256 if (SWIG_arg_fail(3)) SWIG_fail;
25257 }
d55e5bfc
RD
25258 {
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 (arg1)->AssignImageList(arg2,arg3);
25261
25262 wxPyEndAllowThreads(__tstate);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 Py_INCREF(Py_None); resultobj = Py_None;
25266 return resultobj;
25267 fail:
25268 return NULL;
25269}
25270
25271
c370783e 25272static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25273 PyObject *resultobj;
25274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25275 bool result;
25276 PyObject * obj0 = 0 ;
25277 char *kwnames[] = {
25278 (char *) "self", NULL
25279 };
25280
25281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
36ed4f51
RD
25282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25283 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25287
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 {
25292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25293 }
25294 return resultobj;
25295 fail:
25296 return NULL;
25297}
25298
25299
c370783e 25300static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25301 PyObject *resultobj;
25302 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25303 bool result;
25304 PyObject * obj0 = 0 ;
25305 char *kwnames[] = {
25306 (char *) "self", NULL
25307 };
25308
25309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
36ed4f51
RD
25310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25311 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25312 {
25313 PyThreadState* __tstate = wxPyBeginAllowThreads();
25314 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25315
25316 wxPyEndAllowThreads(__tstate);
25317 if (PyErr_Occurred()) SWIG_fail;
25318 }
25319 {
25320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25321 }
25322 return resultobj;
25323 fail:
25324 return NULL;
25325}
25326
25327
c370783e 25328static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25329 PyObject *resultobj;
25330 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25331 long arg2 ;
25332 PyObject * obj0 = 0 ;
25333 PyObject * obj1 = 0 ;
25334 char *kwnames[] = {
25335 (char *) "self",(char *) "item", NULL
25336 };
25337
25338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25340 if (SWIG_arg_fail(1)) SWIG_fail;
25341 {
25342 arg2 = (long)(SWIG_As_long(obj1));
25343 if (SWIG_arg_fail(2)) SWIG_fail;
25344 }
d55e5bfc
RD
25345 {
25346 PyThreadState* __tstate = wxPyBeginAllowThreads();
25347 (arg1)->RefreshItem(arg2);
25348
25349 wxPyEndAllowThreads(__tstate);
25350 if (PyErr_Occurred()) SWIG_fail;
25351 }
25352 Py_INCREF(Py_None); resultobj = Py_None;
25353 return resultobj;
25354 fail:
25355 return NULL;
25356}
25357
25358
c370783e 25359static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25360 PyObject *resultobj;
25361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25362 long arg2 ;
25363 long arg3 ;
25364 PyObject * obj0 = 0 ;
25365 PyObject * obj1 = 0 ;
25366 PyObject * obj2 = 0 ;
25367 char *kwnames[] = {
25368 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25369 };
25370
25371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25373 if (SWIG_arg_fail(1)) SWIG_fail;
25374 {
25375 arg2 = (long)(SWIG_As_long(obj1));
25376 if (SWIG_arg_fail(2)) SWIG_fail;
25377 }
25378 {
25379 arg3 = (long)(SWIG_As_long(obj2));
25380 if (SWIG_arg_fail(3)) SWIG_fail;
25381 }
d55e5bfc
RD
25382 {
25383 PyThreadState* __tstate = wxPyBeginAllowThreads();
25384 (arg1)->RefreshItems(arg2,arg3);
25385
25386 wxPyEndAllowThreads(__tstate);
25387 if (PyErr_Occurred()) SWIG_fail;
25388 }
25389 Py_INCREF(Py_None); resultobj = Py_None;
25390 return resultobj;
25391 fail:
25392 return NULL;
25393}
25394
25395
c370783e 25396static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25397 PyObject *resultobj;
25398 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25399 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25400 bool result;
25401 PyObject * obj0 = 0 ;
25402 PyObject * obj1 = 0 ;
25403 char *kwnames[] = {
25404 (char *) "self",(char *) "flag", NULL
25405 };
25406
25407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25409 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 25410 if (obj1) {
36ed4f51
RD
25411 {
25412 arg2 = (int)(SWIG_As_int(obj1));
25413 if (SWIG_arg_fail(2)) SWIG_fail;
25414 }
d55e5bfc
RD
25415 }
25416 {
25417 PyThreadState* __tstate = wxPyBeginAllowThreads();
25418 result = (bool)(arg1)->Arrange(arg2);
25419
25420 wxPyEndAllowThreads(__tstate);
25421 if (PyErr_Occurred()) SWIG_fail;
25422 }
25423 {
25424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25425 }
25426 return resultobj;
25427 fail:
25428 return NULL;
25429}
25430
25431
c370783e 25432static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25433 PyObject *resultobj;
25434 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25435 long arg2 ;
25436 bool result;
25437 PyObject * obj0 = 0 ;
25438 PyObject * obj1 = 0 ;
25439 char *kwnames[] = {
25440 (char *) "self",(char *) "item", NULL
25441 };
25442
25443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25445 if (SWIG_arg_fail(1)) SWIG_fail;
25446 {
25447 arg2 = (long)(SWIG_As_long(obj1));
25448 if (SWIG_arg_fail(2)) SWIG_fail;
25449 }
d55e5bfc
RD
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 result = (bool)(arg1)->DeleteItem(arg2);
25453
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 {
25458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25459 }
25460 return resultobj;
25461 fail:
25462 return NULL;
25463}
25464
25465
c370783e 25466static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25467 PyObject *resultobj;
25468 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25469 bool result;
25470 PyObject * obj0 = 0 ;
25471 char *kwnames[] = {
25472 (char *) "self", NULL
25473 };
25474
25475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
36ed4f51
RD
25476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25477 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25478 {
25479 PyThreadState* __tstate = wxPyBeginAllowThreads();
25480 result = (bool)(arg1)->DeleteAllItems();
25481
25482 wxPyEndAllowThreads(__tstate);
25483 if (PyErr_Occurred()) SWIG_fail;
25484 }
25485 {
25486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25487 }
25488 return resultobj;
25489 fail:
25490 return NULL;
25491}
25492
25493
c370783e 25494static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25495 PyObject *resultobj;
25496 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25497 int arg2 ;
25498 bool result;
25499 PyObject * obj0 = 0 ;
25500 PyObject * obj1 = 0 ;
25501 char *kwnames[] = {
25502 (char *) "self",(char *) "col", NULL
25503 };
25504
25505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25507 if (SWIG_arg_fail(1)) SWIG_fail;
25508 {
25509 arg2 = (int)(SWIG_As_int(obj1));
25510 if (SWIG_arg_fail(2)) SWIG_fail;
25511 }
d55e5bfc
RD
25512 {
25513 PyThreadState* __tstate = wxPyBeginAllowThreads();
25514 result = (bool)(arg1)->DeleteColumn(arg2);
25515
25516 wxPyEndAllowThreads(__tstate);
25517 if (PyErr_Occurred()) SWIG_fail;
25518 }
25519 {
25520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25521 }
25522 return resultobj;
25523 fail:
25524 return NULL;
25525}
25526
25527
c370783e 25528static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25529 PyObject *resultobj;
25530 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25531 bool result;
25532 PyObject * obj0 = 0 ;
25533 char *kwnames[] = {
25534 (char *) "self", NULL
25535 };
25536
25537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
36ed4f51
RD
25538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25539 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25540 {
25541 PyThreadState* __tstate = wxPyBeginAllowThreads();
25542 result = (bool)(arg1)->DeleteAllColumns();
25543
25544 wxPyEndAllowThreads(__tstate);
25545 if (PyErr_Occurred()) SWIG_fail;
25546 }
25547 {
25548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25549 }
25550 return resultobj;
25551 fail:
25552 return NULL;
25553}
25554
25555
c370783e 25556static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25557 PyObject *resultobj;
25558 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25559 PyObject * obj0 = 0 ;
25560 char *kwnames[] = {
25561 (char *) "self", NULL
25562 };
25563
25564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
25565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25566 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25567 {
25568 PyThreadState* __tstate = wxPyBeginAllowThreads();
25569 (arg1)->ClearAll();
25570
25571 wxPyEndAllowThreads(__tstate);
25572 if (PyErr_Occurred()) SWIG_fail;
25573 }
25574 Py_INCREF(Py_None); resultobj = Py_None;
25575 return resultobj;
25576 fail:
25577 return NULL;
25578}
25579
25580
c370783e 25581static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25582 PyObject *resultobj;
25583 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25584 long arg2 ;
25585 PyObject * obj0 = 0 ;
25586 PyObject * obj1 = 0 ;
25587 char *kwnames[] = {
25588 (char *) "self",(char *) "item", NULL
25589 };
25590
25591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25593 if (SWIG_arg_fail(1)) SWIG_fail;
25594 {
25595 arg2 = (long)(SWIG_As_long(obj1));
25596 if (SWIG_arg_fail(2)) SWIG_fail;
25597 }
d55e5bfc
RD
25598 {
25599 PyThreadState* __tstate = wxPyBeginAllowThreads();
25600 (arg1)->EditLabel(arg2);
25601
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 Py_INCREF(Py_None); resultobj = Py_None;
25606 return resultobj;
25607 fail:
25608 return NULL;
25609}
25610
25611
c370783e 25612static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25613 PyObject *resultobj;
25614 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25615 long arg2 ;
25616 bool result;
25617 PyObject * obj0 = 0 ;
25618 PyObject * obj1 = 0 ;
25619 char *kwnames[] = {
25620 (char *) "self",(char *) "item", NULL
25621 };
25622
25623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25625 if (SWIG_arg_fail(1)) SWIG_fail;
25626 {
25627 arg2 = (long)(SWIG_As_long(obj1));
25628 if (SWIG_arg_fail(2)) SWIG_fail;
25629 }
d55e5bfc
RD
25630 {
25631 PyThreadState* __tstate = wxPyBeginAllowThreads();
25632 result = (bool)(arg1)->EnsureVisible(arg2);
25633
25634 wxPyEndAllowThreads(__tstate);
25635 if (PyErr_Occurred()) SWIG_fail;
25636 }
25637 {
25638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25639 }
25640 return resultobj;
25641 fail:
25642 return NULL;
25643}
25644
25645
c370783e 25646static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25647 PyObject *resultobj;
25648 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25649 long arg2 ;
25650 wxString *arg3 = 0 ;
b411df4a 25651 bool arg4 = (bool) false ;
d55e5bfc 25652 long result;
b411df4a 25653 bool temp3 = false ;
d55e5bfc
RD
25654 PyObject * obj0 = 0 ;
25655 PyObject * obj1 = 0 ;
25656 PyObject * obj2 = 0 ;
25657 PyObject * obj3 = 0 ;
25658 char *kwnames[] = {
25659 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25660 };
25661
25662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25664 if (SWIG_arg_fail(1)) SWIG_fail;
25665 {
25666 arg2 = (long)(SWIG_As_long(obj1));
25667 if (SWIG_arg_fail(2)) SWIG_fail;
25668 }
d55e5bfc
RD
25669 {
25670 arg3 = wxString_in_helper(obj2);
25671 if (arg3 == NULL) SWIG_fail;
b411df4a 25672 temp3 = true;
d55e5bfc
RD
25673 }
25674 if (obj3) {
36ed4f51
RD
25675 {
25676 arg4 = (bool)(SWIG_As_bool(obj3));
25677 if (SWIG_arg_fail(4)) SWIG_fail;
25678 }
d55e5bfc
RD
25679 }
25680 {
25681 PyThreadState* __tstate = wxPyBeginAllowThreads();
25682 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25683
25684 wxPyEndAllowThreads(__tstate);
25685 if (PyErr_Occurred()) SWIG_fail;
25686 }
36ed4f51
RD
25687 {
25688 resultobj = SWIG_From_long((long)(result));
25689 }
d55e5bfc
RD
25690 {
25691 if (temp3)
25692 delete arg3;
25693 }
25694 return resultobj;
25695 fail:
25696 {
25697 if (temp3)
25698 delete arg3;
25699 }
25700 return NULL;
25701}
25702
25703
c370783e 25704static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25705 PyObject *resultobj;
25706 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25707 long arg2 ;
25708 long arg3 ;
25709 long result;
25710 PyObject * obj0 = 0 ;
25711 PyObject * obj1 = 0 ;
25712 PyObject * obj2 = 0 ;
25713 char *kwnames[] = {
25714 (char *) "self",(char *) "start",(char *) "data", NULL
25715 };
25716
25717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25719 if (SWIG_arg_fail(1)) SWIG_fail;
25720 {
25721 arg2 = (long)(SWIG_As_long(obj1));
25722 if (SWIG_arg_fail(2)) SWIG_fail;
25723 }
25724 {
25725 arg3 = (long)(SWIG_As_long(obj2));
25726 if (SWIG_arg_fail(3)) SWIG_fail;
25727 }
d55e5bfc
RD
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 result = (long)(arg1)->FindItem(arg2,arg3);
25731
25732 wxPyEndAllowThreads(__tstate);
25733 if (PyErr_Occurred()) SWIG_fail;
25734 }
36ed4f51
RD
25735 {
25736 resultobj = SWIG_From_long((long)(result));
25737 }
d55e5bfc
RD
25738 return resultobj;
25739 fail:
25740 return NULL;
25741}
25742
25743
c370783e 25744static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25745 PyObject *resultobj;
25746 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25747 long arg2 ;
25748 wxPoint *arg3 = 0 ;
25749 int arg4 ;
25750 long result;
25751 wxPoint temp3 ;
25752 PyObject * obj0 = 0 ;
25753 PyObject * obj1 = 0 ;
25754 PyObject * obj2 = 0 ;
25755 PyObject * obj3 = 0 ;
25756 char *kwnames[] = {
25757 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25758 };
25759
25760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25762 if (SWIG_arg_fail(1)) SWIG_fail;
25763 {
25764 arg2 = (long)(SWIG_As_long(obj1));
25765 if (SWIG_arg_fail(2)) SWIG_fail;
25766 }
d55e5bfc
RD
25767 {
25768 arg3 = &temp3;
25769 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25770 }
36ed4f51
RD
25771 {
25772 arg4 = (int)(SWIG_As_int(obj3));
25773 if (SWIG_arg_fail(4)) SWIG_fail;
25774 }
d55e5bfc
RD
25775 {
25776 PyThreadState* __tstate = wxPyBeginAllowThreads();
25777 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25778
25779 wxPyEndAllowThreads(__tstate);
25780 if (PyErr_Occurred()) SWIG_fail;
25781 }
36ed4f51
RD
25782 {
25783 resultobj = SWIG_From_long((long)(result));
25784 }
d55e5bfc
RD
25785 return resultobj;
25786 fail:
25787 return NULL;
25788}
25789
25790
c370783e 25791static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25792 PyObject *resultobj;
25793 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25794 wxPoint *arg2 = 0 ;
25795 int *arg3 = 0 ;
25796 long result;
25797 wxPoint temp2 ;
25798 int temp3 ;
c370783e 25799 int res3 = 0 ;
d55e5bfc
RD
25800 PyObject * obj0 = 0 ;
25801 PyObject * obj1 = 0 ;
25802 char *kwnames[] = {
25803 (char *) "self",(char *) "point", NULL
25804 };
25805
c370783e 25806 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25810 {
25811 arg2 = &temp2;
25812 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25813 }
25814 {
25815 PyThreadState* __tstate = wxPyBeginAllowThreads();
25816 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25817
25818 wxPyEndAllowThreads(__tstate);
25819 if (PyErr_Occurred()) SWIG_fail;
25820 }
36ed4f51
RD
25821 {
25822 resultobj = SWIG_From_long((long)(result));
25823 }
c370783e
RD
25824 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25825 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25826 return resultobj;
25827 fail:
25828 return NULL;
25829}
25830
25831
c370783e 25832static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25833 PyObject *resultobj;
25834 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25835 wxListItem *arg2 = 0 ;
25836 long result;
25837 PyObject * obj0 = 0 ;
25838 PyObject * obj1 = 0 ;
25839 char *kwnames[] = {
25840 (char *) "self",(char *) "info", NULL
25841 };
25842
25843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25845 if (SWIG_arg_fail(1)) SWIG_fail;
25846 {
25847 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25848 if (SWIG_arg_fail(2)) SWIG_fail;
25849 if (arg2 == NULL) {
25850 SWIG_null_ref("wxListItem");
25851 }
25852 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25853 }
25854 {
25855 PyThreadState* __tstate = wxPyBeginAllowThreads();
25856 result = (long)(arg1)->InsertItem(*arg2);
25857
25858 wxPyEndAllowThreads(__tstate);
25859 if (PyErr_Occurred()) SWIG_fail;
25860 }
36ed4f51
RD
25861 {
25862 resultobj = SWIG_From_long((long)(result));
25863 }
d55e5bfc
RD
25864 return resultobj;
25865 fail:
25866 return NULL;
25867}
25868
25869
c370783e 25870static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25871 PyObject *resultobj;
25872 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25873 long arg2 ;
25874 wxString *arg3 = 0 ;
25875 long result;
b411df4a 25876 bool temp3 = false ;
d55e5bfc
RD
25877 PyObject * obj0 = 0 ;
25878 PyObject * obj1 = 0 ;
25879 PyObject * obj2 = 0 ;
25880 char *kwnames[] = {
25881 (char *) "self",(char *) "index",(char *) "label", NULL
25882 };
25883
25884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25886 if (SWIG_arg_fail(1)) SWIG_fail;
25887 {
25888 arg2 = (long)(SWIG_As_long(obj1));
25889 if (SWIG_arg_fail(2)) SWIG_fail;
25890 }
d55e5bfc
RD
25891 {
25892 arg3 = wxString_in_helper(obj2);
25893 if (arg3 == NULL) SWIG_fail;
b411df4a 25894 temp3 = true;
d55e5bfc
RD
25895 }
25896 {
25897 PyThreadState* __tstate = wxPyBeginAllowThreads();
25898 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25899
25900 wxPyEndAllowThreads(__tstate);
25901 if (PyErr_Occurred()) SWIG_fail;
25902 }
36ed4f51
RD
25903 {
25904 resultobj = SWIG_From_long((long)(result));
25905 }
d55e5bfc
RD
25906 {
25907 if (temp3)
25908 delete arg3;
25909 }
25910 return resultobj;
25911 fail:
25912 {
25913 if (temp3)
25914 delete arg3;
25915 }
25916 return NULL;
25917}
25918
25919
c370783e 25920static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25921 PyObject *resultobj;
25922 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25923 long arg2 ;
25924 int arg3 ;
25925 long result;
25926 PyObject * obj0 = 0 ;
25927 PyObject * obj1 = 0 ;
25928 PyObject * obj2 = 0 ;
25929 char *kwnames[] = {
25930 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25931 };
25932
25933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25935 if (SWIG_arg_fail(1)) SWIG_fail;
25936 {
25937 arg2 = (long)(SWIG_As_long(obj1));
25938 if (SWIG_arg_fail(2)) SWIG_fail;
25939 }
25940 {
25941 arg3 = (int)(SWIG_As_int(obj2));
25942 if (SWIG_arg_fail(3)) SWIG_fail;
25943 }
d55e5bfc
RD
25944 {
25945 PyThreadState* __tstate = wxPyBeginAllowThreads();
25946 result = (long)(arg1)->InsertItem(arg2,arg3);
25947
25948 wxPyEndAllowThreads(__tstate);
25949 if (PyErr_Occurred()) SWIG_fail;
25950 }
36ed4f51
RD
25951 {
25952 resultobj = SWIG_From_long((long)(result));
25953 }
d55e5bfc
RD
25954 return resultobj;
25955 fail:
25956 return NULL;
25957}
25958
25959
c370783e 25960static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25961 PyObject *resultobj;
25962 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25963 long arg2 ;
25964 wxString *arg3 = 0 ;
25965 int arg4 ;
25966 long result;
b411df4a 25967 bool temp3 = false ;
d55e5bfc
RD
25968 PyObject * obj0 = 0 ;
25969 PyObject * obj1 = 0 ;
25970 PyObject * obj2 = 0 ;
25971 PyObject * obj3 = 0 ;
25972 char *kwnames[] = {
25973 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25974 };
25975
25976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
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 }
d55e5bfc
RD
25983 {
25984 arg3 = wxString_in_helper(obj2);
25985 if (arg3 == NULL) SWIG_fail;
b411df4a 25986 temp3 = true;
d55e5bfc 25987 }
36ed4f51
RD
25988 {
25989 arg4 = (int)(SWIG_As_int(obj3));
25990 if (SWIG_arg_fail(4)) SWIG_fail;
25991 }
d55e5bfc
RD
25992 {
25993 PyThreadState* __tstate = wxPyBeginAllowThreads();
25994 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
25995
25996 wxPyEndAllowThreads(__tstate);
25997 if (PyErr_Occurred()) SWIG_fail;
25998 }
36ed4f51
RD
25999 {
26000 resultobj = SWIG_From_long((long)(result));
26001 }
d55e5bfc
RD
26002 {
26003 if (temp3)
26004 delete arg3;
26005 }
26006 return resultobj;
26007 fail:
26008 {
26009 if (temp3)
26010 delete arg3;
26011 }
26012 return NULL;
26013}
26014
26015
c370783e 26016static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26017 PyObject *resultobj;
26018 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26019 long arg2 ;
26020 wxListItem *arg3 = 0 ;
26021 long result;
26022 PyObject * obj0 = 0 ;
26023 PyObject * obj1 = 0 ;
26024 PyObject * obj2 = 0 ;
26025 char *kwnames[] = {
26026 (char *) "self",(char *) "col",(char *) "info", NULL
26027 };
26028
26029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26031 if (SWIG_arg_fail(1)) SWIG_fail;
26032 {
26033 arg2 = (long)(SWIG_As_long(obj1));
26034 if (SWIG_arg_fail(2)) SWIG_fail;
26035 }
26036 {
26037 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26038 if (SWIG_arg_fail(3)) SWIG_fail;
26039 if (arg3 == NULL) {
26040 SWIG_null_ref("wxListItem");
26041 }
26042 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26043 }
26044 {
26045 PyThreadState* __tstate = wxPyBeginAllowThreads();
26046 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26047
26048 wxPyEndAllowThreads(__tstate);
26049 if (PyErr_Occurred()) SWIG_fail;
26050 }
36ed4f51
RD
26051 {
26052 resultobj = SWIG_From_long((long)(result));
26053 }
d55e5bfc
RD
26054 return resultobj;
26055 fail:
26056 return NULL;
26057}
26058
26059
c370783e 26060static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26061 PyObject *resultobj;
26062 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26063 long arg2 ;
26064 wxString *arg3 = 0 ;
26065 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26066 int arg5 = (int) -1 ;
26067 long result;
b411df4a 26068 bool temp3 = false ;
d55e5bfc
RD
26069 PyObject * obj0 = 0 ;
26070 PyObject * obj1 = 0 ;
26071 PyObject * obj2 = 0 ;
26072 PyObject * obj3 = 0 ;
26073 PyObject * obj4 = 0 ;
26074 char *kwnames[] = {
26075 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26076 };
26077
26078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
26079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26080 if (SWIG_arg_fail(1)) SWIG_fail;
26081 {
26082 arg2 = (long)(SWIG_As_long(obj1));
26083 if (SWIG_arg_fail(2)) SWIG_fail;
26084 }
d55e5bfc
RD
26085 {
26086 arg3 = wxString_in_helper(obj2);
26087 if (arg3 == NULL) SWIG_fail;
b411df4a 26088 temp3 = true;
d55e5bfc
RD
26089 }
26090 if (obj3) {
36ed4f51
RD
26091 {
26092 arg4 = (int)(SWIG_As_int(obj3));
26093 if (SWIG_arg_fail(4)) SWIG_fail;
26094 }
d55e5bfc
RD
26095 }
26096 if (obj4) {
36ed4f51
RD
26097 {
26098 arg5 = (int)(SWIG_As_int(obj4));
26099 if (SWIG_arg_fail(5)) SWIG_fail;
26100 }
d55e5bfc
RD
26101 }
26102 {
26103 PyThreadState* __tstate = wxPyBeginAllowThreads();
26104 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26105
26106 wxPyEndAllowThreads(__tstate);
26107 if (PyErr_Occurred()) SWIG_fail;
26108 }
36ed4f51
RD
26109 {
26110 resultobj = SWIG_From_long((long)(result));
26111 }
d55e5bfc
RD
26112 {
26113 if (temp3)
26114 delete arg3;
26115 }
26116 return resultobj;
26117 fail:
26118 {
26119 if (temp3)
26120 delete arg3;
26121 }
26122 return NULL;
26123}
26124
26125
c370783e 26126static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26127 PyObject *resultobj;
26128 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26129 long arg2 ;
26130 PyObject * obj0 = 0 ;
26131 PyObject * obj1 = 0 ;
26132 char *kwnames[] = {
26133 (char *) "self",(char *) "count", NULL
26134 };
26135
26136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26138 if (SWIG_arg_fail(1)) SWIG_fail;
26139 {
26140 arg2 = (long)(SWIG_As_long(obj1));
26141 if (SWIG_arg_fail(2)) SWIG_fail;
26142 }
d55e5bfc
RD
26143 {
26144 PyThreadState* __tstate = wxPyBeginAllowThreads();
26145 (arg1)->SetItemCount(arg2);
26146
26147 wxPyEndAllowThreads(__tstate);
26148 if (PyErr_Occurred()) SWIG_fail;
26149 }
26150 Py_INCREF(Py_None); resultobj = Py_None;
26151 return resultobj;
26152 fail:
26153 return NULL;
26154}
26155
26156
c370783e 26157static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26158 PyObject *resultobj;
26159 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26160 int arg2 ;
26161 int arg3 ;
26162 bool result;
26163 PyObject * obj0 = 0 ;
26164 PyObject * obj1 = 0 ;
26165 PyObject * obj2 = 0 ;
26166 char *kwnames[] = {
26167 (char *) "self",(char *) "dx",(char *) "dy", NULL
26168 };
26169
26170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
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 = (int)(SWIG_As_int(obj1));
26175 if (SWIG_arg_fail(2)) SWIG_fail;
26176 }
26177 {
26178 arg3 = (int)(SWIG_As_int(obj2));
26179 if (SWIG_arg_fail(3)) SWIG_fail;
26180 }
d55e5bfc
RD
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 result = (bool)(arg1)->ScrollList(arg2,arg3);
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 {
26189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26190 }
26191 return resultobj;
26192 fail:
26193 return NULL;
26194}
26195
26196
c370783e 26197static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26198 PyObject *resultobj;
26199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26200 long arg2 ;
26201 wxColour *arg3 = 0 ;
26202 wxColour temp3 ;
26203 PyObject * obj0 = 0 ;
26204 PyObject * obj1 = 0 ;
26205 PyObject * obj2 = 0 ;
26206 char *kwnames[] = {
26207 (char *) "self",(char *) "item",(char *) "col", NULL
26208 };
26209
26210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail;
26213 {
26214 arg2 = (long)(SWIG_As_long(obj1));
26215 if (SWIG_arg_fail(2)) SWIG_fail;
26216 }
d55e5bfc
RD
26217 {
26218 arg3 = &temp3;
26219 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26220 }
26221 {
26222 PyThreadState* __tstate = wxPyBeginAllowThreads();
26223 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26224
26225 wxPyEndAllowThreads(__tstate);
26226 if (PyErr_Occurred()) SWIG_fail;
26227 }
26228 Py_INCREF(Py_None); resultobj = Py_None;
26229 return resultobj;
26230 fail:
26231 return NULL;
26232}
26233
26234
c370783e 26235static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26236 PyObject *resultobj;
26237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26238 long arg2 ;
26239 wxColour result;
26240 PyObject * obj0 = 0 ;
26241 PyObject * obj1 = 0 ;
26242 char *kwnames[] = {
26243 (char *) "self",(char *) "item", NULL
26244 };
26245
26246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26248 if (SWIG_arg_fail(1)) SWIG_fail;
26249 {
26250 arg2 = (long)(SWIG_As_long(obj1));
26251 if (SWIG_arg_fail(2)) SWIG_fail;
26252 }
d55e5bfc
RD
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26256
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 {
26261 wxColour * resultptr;
36ed4f51 26262 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26264 }
26265 return resultobj;
26266 fail:
26267 return NULL;
26268}
26269
26270
c370783e 26271static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26272 PyObject *resultobj;
26273 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26274 long arg2 ;
26275 wxColour *arg3 = 0 ;
26276 wxColour temp3 ;
26277 PyObject * obj0 = 0 ;
26278 PyObject * obj1 = 0 ;
26279 PyObject * obj2 = 0 ;
26280 char *kwnames[] = {
26281 (char *) "self",(char *) "item",(char *) "col", NULL
26282 };
26283
26284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26286 if (SWIG_arg_fail(1)) SWIG_fail;
26287 {
26288 arg2 = (long)(SWIG_As_long(obj1));
26289 if (SWIG_arg_fail(2)) SWIG_fail;
26290 }
d55e5bfc
RD
26291 {
26292 arg3 = &temp3;
26293 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26294 }
26295 {
26296 PyThreadState* __tstate = wxPyBeginAllowThreads();
26297 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26298
26299 wxPyEndAllowThreads(__tstate);
26300 if (PyErr_Occurred()) SWIG_fail;
26301 }
26302 Py_INCREF(Py_None); resultobj = Py_None;
26303 return resultobj;
26304 fail:
26305 return NULL;
26306}
26307
26308
c370783e 26309static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26310 PyObject *resultobj;
26311 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26312 long arg2 ;
26313 wxColour result;
26314 PyObject * obj0 = 0 ;
26315 PyObject * obj1 = 0 ;
26316 char *kwnames[] = {
26317 (char *) "self",(char *) "item", NULL
26318 };
26319
26320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26322 if (SWIG_arg_fail(1)) SWIG_fail;
26323 {
26324 arg2 = (long)(SWIG_As_long(obj1));
26325 if (SWIG_arg_fail(2)) SWIG_fail;
26326 }
d55e5bfc
RD
26327 {
26328 PyThreadState* __tstate = wxPyBeginAllowThreads();
26329 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26330
26331 wxPyEndAllowThreads(__tstate);
26332 if (PyErr_Occurred()) SWIG_fail;
26333 }
26334 {
26335 wxColour * resultptr;
36ed4f51 26336 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26338 }
26339 return resultobj;
26340 fail:
26341 return NULL;
26342}
26343
26344
c370783e 26345static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26346 PyObject *resultobj;
26347 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26348 PyObject *arg2 = (PyObject *) 0 ;
26349 bool result;
26350 PyObject * obj0 = 0 ;
26351 PyObject * obj1 = 0 ;
26352 char *kwnames[] = {
26353 (char *) "self",(char *) "func", NULL
26354 };
26355
26356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26359 arg2 = obj1;
26360 {
26361 PyThreadState* __tstate = wxPyBeginAllowThreads();
26362 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26363
26364 wxPyEndAllowThreads(__tstate);
26365 if (PyErr_Occurred()) SWIG_fail;
26366 }
26367 {
26368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26369 }
26370 return resultobj;
26371 fail:
26372 return NULL;
26373}
26374
26375
c370783e 26376static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26377 PyObject *resultobj;
26378 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26379 wxWindow *result;
26380 PyObject * obj0 = 0 ;
26381 char *kwnames[] = {
26382 (char *) "self", NULL
26383 };
26384
26385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
26386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26388 {
26389 PyThreadState* __tstate = wxPyBeginAllowThreads();
26390 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26391
26392 wxPyEndAllowThreads(__tstate);
26393 if (PyErr_Occurred()) SWIG_fail;
26394 }
26395 {
412d302d 26396 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26397 }
26398 return resultobj;
26399 fail:
26400 return NULL;
26401}
26402
26403
c370783e 26404static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 26405 PyObject *resultobj;
36ed4f51 26406 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
26407 wxVisualAttributes result;
26408 PyObject * obj0 = 0 ;
26409 char *kwnames[] = {
26410 (char *) "variant", NULL
26411 };
26412
26413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26414 if (obj0) {
36ed4f51
RD
26415 {
26416 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26417 if (SWIG_arg_fail(1)) SWIG_fail;
26418 }
d55e5bfc
RD
26419 }
26420 {
0439c23b 26421 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26422 PyThreadState* __tstate = wxPyBeginAllowThreads();
26423 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26424
26425 wxPyEndAllowThreads(__tstate);
110da5b0 26426 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26427 }
26428 {
26429 wxVisualAttributes * resultptr;
36ed4f51 26430 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
26431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26432 }
26433 return resultobj;
26434 fail:
26435 return NULL;
26436}
26437
26438
c370783e 26439static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26440 PyObject *obj;
26441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26442 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26443 Py_INCREF(obj);
26444 return Py_BuildValue((char *)"");
26445}
c370783e 26446static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26447 PyObject *resultobj;
26448 wxWindow *arg1 = (wxWindow *) 0 ;
26449 int arg2 = (int) -1 ;
26450 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26451 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26452 wxSize const &arg4_defvalue = wxDefaultSize ;
26453 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26454 long arg5 = (long) wxLC_REPORT ;
26455 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26456 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26457 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26458 wxString *arg7 = (wxString *) &arg7_defvalue ;
26459 wxListView *result;
26460 wxPoint temp3 ;
26461 wxSize temp4 ;
b411df4a 26462 bool temp7 = false ;
d55e5bfc
RD
26463 PyObject * obj0 = 0 ;
26464 PyObject * obj1 = 0 ;
26465 PyObject * obj2 = 0 ;
26466 PyObject * obj3 = 0 ;
26467 PyObject * obj4 = 0 ;
26468 PyObject * obj5 = 0 ;
26469 PyObject * obj6 = 0 ;
26470 char *kwnames[] = {
26471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26472 };
26473
26474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
26475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26476 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26477 if (obj1) {
36ed4f51
RD
26478 {
26479 arg2 = (int)(SWIG_As_int(obj1));
26480 if (SWIG_arg_fail(2)) SWIG_fail;
26481 }
d55e5bfc
RD
26482 }
26483 if (obj2) {
26484 {
26485 arg3 = &temp3;
26486 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26487 }
26488 }
26489 if (obj3) {
26490 {
26491 arg4 = &temp4;
26492 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26493 }
26494 }
26495 if (obj4) {
36ed4f51
RD
26496 {
26497 arg5 = (long)(SWIG_As_long(obj4));
26498 if (SWIG_arg_fail(5)) SWIG_fail;
26499 }
d55e5bfc
RD
26500 }
26501 if (obj5) {
36ed4f51
RD
26502 {
26503 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26504 if (SWIG_arg_fail(6)) SWIG_fail;
26505 if (arg6 == NULL) {
26506 SWIG_null_ref("wxValidator");
26507 }
26508 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
26509 }
26510 }
26511 if (obj6) {
26512 {
26513 arg7 = wxString_in_helper(obj6);
26514 if (arg7 == NULL) SWIG_fail;
b411df4a 26515 temp7 = true;
d55e5bfc
RD
26516 }
26517 }
26518 {
0439c23b 26519 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26520 PyThreadState* __tstate = wxPyBeginAllowThreads();
26521 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26522
26523 wxPyEndAllowThreads(__tstate);
110da5b0 26524 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26525 }
26526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26527 {
26528 if (temp7)
26529 delete arg7;
26530 }
26531 return resultobj;
26532 fail:
26533 {
26534 if (temp7)
26535 delete arg7;
26536 }
26537 return NULL;
26538}
26539
26540
c370783e 26541static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26542 PyObject *resultobj;
26543 wxListView *result;
26544 char *kwnames[] = {
26545 NULL
26546 };
26547
26548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26549 {
0439c23b 26550 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26551 PyThreadState* __tstate = wxPyBeginAllowThreads();
26552 result = (wxListView *)new wxListView();
26553
26554 wxPyEndAllowThreads(__tstate);
110da5b0 26555 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26556 }
26557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26558 return resultobj;
26559 fail:
26560 return NULL;
26561}
26562
26563
c370783e 26564static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26565 PyObject *resultobj;
26566 wxListView *arg1 = (wxListView *) 0 ;
26567 wxWindow *arg2 = (wxWindow *) 0 ;
26568 int arg3 = (int) -1 ;
26569 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26570 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26571 wxSize const &arg5_defvalue = wxDefaultSize ;
26572 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26573 long arg6 = (long) wxLC_REPORT ;
26574 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26575 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26576 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26577 wxString *arg8 = (wxString *) &arg8_defvalue ;
26578 bool result;
26579 wxPoint temp4 ;
26580 wxSize temp5 ;
b411df4a 26581 bool temp8 = false ;
d55e5bfc
RD
26582 PyObject * obj0 = 0 ;
26583 PyObject * obj1 = 0 ;
26584 PyObject * obj2 = 0 ;
26585 PyObject * obj3 = 0 ;
26586 PyObject * obj4 = 0 ;
26587 PyObject * obj5 = 0 ;
26588 PyObject * obj6 = 0 ;
26589 PyObject * obj7 = 0 ;
26590 char *kwnames[] = {
26591 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26592 };
26593
26594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
26595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26596 if (SWIG_arg_fail(1)) SWIG_fail;
26597 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26598 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26599 if (obj2) {
36ed4f51
RD
26600 {
26601 arg3 = (int)(SWIG_As_int(obj2));
26602 if (SWIG_arg_fail(3)) SWIG_fail;
26603 }
d55e5bfc
RD
26604 }
26605 if (obj3) {
26606 {
26607 arg4 = &temp4;
26608 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26609 }
26610 }
26611 if (obj4) {
26612 {
26613 arg5 = &temp5;
26614 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26615 }
26616 }
26617 if (obj5) {
36ed4f51
RD
26618 {
26619 arg6 = (long)(SWIG_As_long(obj5));
26620 if (SWIG_arg_fail(6)) SWIG_fail;
26621 }
d55e5bfc
RD
26622 }
26623 if (obj6) {
36ed4f51
RD
26624 {
26625 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26626 if (SWIG_arg_fail(7)) SWIG_fail;
26627 if (arg7 == NULL) {
26628 SWIG_null_ref("wxValidator");
26629 }
26630 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
26631 }
26632 }
26633 if (obj7) {
26634 {
26635 arg8 = wxString_in_helper(obj7);
26636 if (arg8 == NULL) SWIG_fail;
b411df4a 26637 temp8 = true;
d55e5bfc
RD
26638 }
26639 }
26640 {
26641 PyThreadState* __tstate = wxPyBeginAllowThreads();
26642 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26643
26644 wxPyEndAllowThreads(__tstate);
26645 if (PyErr_Occurred()) SWIG_fail;
26646 }
26647 {
26648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26649 }
26650 {
26651 if (temp8)
26652 delete arg8;
26653 }
26654 return resultobj;
26655 fail:
26656 {
26657 if (temp8)
26658 delete arg8;
26659 }
26660 return NULL;
26661}
26662
26663
c370783e 26664static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26665 PyObject *resultobj;
26666 wxListView *arg1 = (wxListView *) 0 ;
26667 long arg2 ;
b411df4a 26668 bool arg3 = (bool) true ;
d55e5bfc
RD
26669 PyObject * obj0 = 0 ;
26670 PyObject * obj1 = 0 ;
26671 PyObject * obj2 = 0 ;
26672 char *kwnames[] = {
26673 (char *) "self",(char *) "n",(char *) "on", NULL
26674 };
26675
26676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26678 if (SWIG_arg_fail(1)) SWIG_fail;
26679 {
26680 arg2 = (long)(SWIG_As_long(obj1));
26681 if (SWIG_arg_fail(2)) SWIG_fail;
26682 }
d55e5bfc 26683 if (obj2) {
36ed4f51
RD
26684 {
26685 arg3 = (bool)(SWIG_As_bool(obj2));
26686 if (SWIG_arg_fail(3)) SWIG_fail;
26687 }
d55e5bfc
RD
26688 }
26689 {
26690 PyThreadState* __tstate = wxPyBeginAllowThreads();
26691 (arg1)->Select(arg2,arg3);
26692
26693 wxPyEndAllowThreads(__tstate);
26694 if (PyErr_Occurred()) SWIG_fail;
26695 }
26696 Py_INCREF(Py_None); resultobj = Py_None;
26697 return resultobj;
26698 fail:
26699 return NULL;
26700}
26701
26702
c370783e 26703static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26704 PyObject *resultobj;
26705 wxListView *arg1 = (wxListView *) 0 ;
26706 long arg2 ;
26707 PyObject * obj0 = 0 ;
26708 PyObject * obj1 = 0 ;
26709 char *kwnames[] = {
26710 (char *) "self",(char *) "index", NULL
26711 };
26712
26713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26715 if (SWIG_arg_fail(1)) SWIG_fail;
26716 {
26717 arg2 = (long)(SWIG_As_long(obj1));
26718 if (SWIG_arg_fail(2)) SWIG_fail;
26719 }
d55e5bfc
RD
26720 {
26721 PyThreadState* __tstate = wxPyBeginAllowThreads();
26722 (arg1)->Focus(arg2);
26723
26724 wxPyEndAllowThreads(__tstate);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 }
26727 Py_INCREF(Py_None); resultobj = Py_None;
26728 return resultobj;
26729 fail:
26730 return NULL;
26731}
26732
26733
c370783e 26734static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26735 PyObject *resultobj;
26736 wxListView *arg1 = (wxListView *) 0 ;
26737 long result;
26738 PyObject * obj0 = 0 ;
26739 char *kwnames[] = {
26740 (char *) "self", NULL
26741 };
26742
26743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
26744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26745 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26746 {
26747 PyThreadState* __tstate = wxPyBeginAllowThreads();
26748 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26749
26750 wxPyEndAllowThreads(__tstate);
26751 if (PyErr_Occurred()) SWIG_fail;
26752 }
36ed4f51
RD
26753 {
26754 resultobj = SWIG_From_long((long)(result));
26755 }
d55e5bfc
RD
26756 return resultobj;
26757 fail:
26758 return NULL;
26759}
26760
26761
c370783e 26762static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26763 PyObject *resultobj;
26764 wxListView *arg1 = (wxListView *) 0 ;
26765 long arg2 ;
26766 long result;
26767 PyObject * obj0 = 0 ;
26768 PyObject * obj1 = 0 ;
26769 char *kwnames[] = {
26770 (char *) "self",(char *) "item", NULL
26771 };
26772
26773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26775 if (SWIG_arg_fail(1)) SWIG_fail;
26776 {
26777 arg2 = (long)(SWIG_As_long(obj1));
26778 if (SWIG_arg_fail(2)) SWIG_fail;
26779 }
d55e5bfc
RD
26780 {
26781 PyThreadState* __tstate = wxPyBeginAllowThreads();
26782 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26783
26784 wxPyEndAllowThreads(__tstate);
26785 if (PyErr_Occurred()) SWIG_fail;
26786 }
36ed4f51
RD
26787 {
26788 resultobj = SWIG_From_long((long)(result));
26789 }
d55e5bfc
RD
26790 return resultobj;
26791 fail:
26792 return NULL;
26793}
26794
26795
c370783e 26796static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26797 PyObject *resultobj;
26798 wxListView *arg1 = (wxListView *) 0 ;
26799 long result;
26800 PyObject * obj0 = 0 ;
26801 char *kwnames[] = {
26802 (char *) "self", NULL
26803 };
26804
26805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
26806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26808 {
26809 PyThreadState* __tstate = wxPyBeginAllowThreads();
26810 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26811
26812 wxPyEndAllowThreads(__tstate);
26813 if (PyErr_Occurred()) SWIG_fail;
26814 }
36ed4f51
RD
26815 {
26816 resultobj = SWIG_From_long((long)(result));
26817 }
d55e5bfc
RD
26818 return resultobj;
26819 fail:
26820 return NULL;
26821}
26822
26823
c370783e 26824static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26825 PyObject *resultobj;
26826 wxListView *arg1 = (wxListView *) 0 ;
26827 long arg2 ;
26828 bool result;
26829 PyObject * obj0 = 0 ;
26830 PyObject * obj1 = 0 ;
26831 char *kwnames[] = {
26832 (char *) "self",(char *) "index", NULL
26833 };
26834
26835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26837 if (SWIG_arg_fail(1)) SWIG_fail;
26838 {
26839 arg2 = (long)(SWIG_As_long(obj1));
26840 if (SWIG_arg_fail(2)) SWIG_fail;
26841 }
d55e5bfc
RD
26842 {
26843 PyThreadState* __tstate = wxPyBeginAllowThreads();
26844 result = (bool)(arg1)->IsSelected(arg2);
26845
26846 wxPyEndAllowThreads(__tstate);
26847 if (PyErr_Occurred()) SWIG_fail;
26848 }
26849 {
26850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26851 }
26852 return resultobj;
26853 fail:
26854 return NULL;
26855}
26856
26857
c370783e 26858static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26859 PyObject *resultobj;
26860 wxListView *arg1 = (wxListView *) 0 ;
26861 int arg2 ;
26862 int arg3 ;
26863 PyObject * obj0 = 0 ;
26864 PyObject * obj1 = 0 ;
26865 PyObject * obj2 = 0 ;
26866 char *kwnames[] = {
26867 (char *) "self",(char *) "col",(char *) "image", NULL
26868 };
26869
26870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26872 if (SWIG_arg_fail(1)) SWIG_fail;
26873 {
26874 arg2 = (int)(SWIG_As_int(obj1));
26875 if (SWIG_arg_fail(2)) SWIG_fail;
26876 }
26877 {
26878 arg3 = (int)(SWIG_As_int(obj2));
26879 if (SWIG_arg_fail(3)) SWIG_fail;
26880 }
d55e5bfc
RD
26881 {
26882 PyThreadState* __tstate = wxPyBeginAllowThreads();
26883 (arg1)->SetColumnImage(arg2,arg3);
26884
26885 wxPyEndAllowThreads(__tstate);
26886 if (PyErr_Occurred()) SWIG_fail;
26887 }
26888 Py_INCREF(Py_None); resultobj = Py_None;
26889 return resultobj;
26890 fail:
26891 return NULL;
26892}
26893
26894
c370783e 26895static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26896 PyObject *resultobj;
26897 wxListView *arg1 = (wxListView *) 0 ;
26898 int arg2 ;
26899 PyObject * obj0 = 0 ;
26900 PyObject * obj1 = 0 ;
26901 char *kwnames[] = {
26902 (char *) "self",(char *) "col", NULL
26903 };
26904
26905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26907 if (SWIG_arg_fail(1)) SWIG_fail;
26908 {
26909 arg2 = (int)(SWIG_As_int(obj1));
26910 if (SWIG_arg_fail(2)) SWIG_fail;
26911 }
d55e5bfc
RD
26912 {
26913 PyThreadState* __tstate = wxPyBeginAllowThreads();
26914 (arg1)->ClearColumnImage(arg2);
26915
26916 wxPyEndAllowThreads(__tstate);
26917 if (PyErr_Occurred()) SWIG_fail;
26918 }
26919 Py_INCREF(Py_None); resultobj = Py_None;
26920 return resultobj;
26921 fail:
26922 return NULL;
26923}
26924
26925
c370783e 26926static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26927 PyObject *obj;
26928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26929 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
26930 Py_INCREF(obj);
26931 return Py_BuildValue((char *)"");
26932}
c370783e 26933static int _wrap_TreeCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
26934 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
26935 return 1;
26936}
26937
26938
36ed4f51 26939static PyObject *_wrap_TreeCtrlNameStr_get(void) {
d55e5bfc
RD
26940 PyObject *pyobj;
26941
26942 {
26943#if wxUSE_UNICODE
26944 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
26945#else
26946 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
26947#endif
26948 }
26949 return pyobj;
26950}
26951
26952
c370783e 26953static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26954 PyObject *resultobj;
26955 wxTreeItemId *result;
26956 char *kwnames[] = {
26957 NULL
26958 };
26959
26960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
26961 {
26962 PyThreadState* __tstate = wxPyBeginAllowThreads();
26963 result = (wxTreeItemId *)new wxTreeItemId();
26964
26965 wxPyEndAllowThreads(__tstate);
26966 if (PyErr_Occurred()) SWIG_fail;
26967 }
26968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
26969 return resultobj;
26970 fail:
26971 return NULL;
26972}
26973
26974
c370783e 26975static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26976 PyObject *resultobj;
26977 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
26978 PyObject * obj0 = 0 ;
26979 char *kwnames[] = {
26980 (char *) "self", NULL
26981 };
26982
26983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
36ed4f51
RD
26984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
26985 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26986 {
26987 PyThreadState* __tstate = wxPyBeginAllowThreads();
26988 delete arg1;
26989
26990 wxPyEndAllowThreads(__tstate);
26991 if (PyErr_Occurred()) SWIG_fail;
26992 }
26993 Py_INCREF(Py_None); resultobj = Py_None;
26994 return resultobj;
26995 fail:
26996 return NULL;
26997}
26998
26999
c370783e 27000static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27001 PyObject *resultobj;
27002 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27003 bool result;
27004 PyObject * obj0 = 0 ;
27005 char *kwnames[] = {
27006 (char *) "self", NULL
27007 };
27008
27009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
27010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27011 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27012 {
27013 PyThreadState* __tstate = wxPyBeginAllowThreads();
27014 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27015
27016 wxPyEndAllowThreads(__tstate);
27017 if (PyErr_Occurred()) SWIG_fail;
27018 }
27019 {
27020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27021 }
27022 return resultobj;
27023 fail:
27024 return NULL;
27025}
27026
27027
c370783e 27028static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27029 PyObject *resultobj;
27030 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27031 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27032 bool result;
27033 PyObject * obj0 = 0 ;
27034 PyObject * obj1 = 0 ;
27035 char *kwnames[] = {
27036 (char *) "self",(char *) "other", NULL
27037 };
27038
27039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27041 if (SWIG_arg_fail(1)) SWIG_fail;
27042 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27043 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27044 {
27045 PyThreadState* __tstate = wxPyBeginAllowThreads();
27046 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27047
27048 wxPyEndAllowThreads(__tstate);
27049 if (PyErr_Occurred()) SWIG_fail;
27050 }
27051 {
27052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27053 }
27054 return resultobj;
27055 fail:
27056 return NULL;
27057}
27058
27059
c370783e 27060static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27061 PyObject *resultobj;
27062 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27063 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27064 bool result;
27065 PyObject * obj0 = 0 ;
27066 PyObject * obj1 = 0 ;
27067 char *kwnames[] = {
27068 (char *) "self",(char *) "other", NULL
27069 };
27070
27071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27073 if (SWIG_arg_fail(1)) SWIG_fail;
27074 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27075 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27076 {
27077 PyThreadState* __tstate = wxPyBeginAllowThreads();
27078 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27079
27080 wxPyEndAllowThreads(__tstate);
27081 if (PyErr_Occurred()) SWIG_fail;
27082 }
27083 {
27084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27085 }
27086 return resultobj;
27087 fail:
27088 return NULL;
27089}
27090
27091
c370783e 27092static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27093 PyObject *resultobj;
27094 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27095 void *arg2 = (void *) 0 ;
27096 PyObject * obj0 = 0 ;
27097 PyObject * obj1 = 0 ;
27098 char *kwnames[] = {
27099 (char *) "self",(char *) "m_pItem", NULL
27100 };
27101
27102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27104 if (SWIG_arg_fail(1)) SWIG_fail;
27105 {
27106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27107 SWIG_arg_fail(2);SWIG_fail;
27108 }
27109 }
d55e5bfc
RD
27110 if (arg1) (arg1)->m_pItem = arg2;
27111
27112 Py_INCREF(Py_None); resultobj = Py_None;
27113 return resultobj;
27114 fail:
27115 return NULL;
27116}
27117
27118
c370783e 27119static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27120 PyObject *resultobj;
27121 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27122 void *result;
27123 PyObject * obj0 = 0 ;
27124 char *kwnames[] = {
27125 (char *) "self", NULL
27126 };
27127
27128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
27129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27130 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27131 result = (void *) ((arg1)->m_pItem);
27132
27133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27134 return resultobj;
27135 fail:
27136 return NULL;
27137}
27138
27139
c370783e 27140static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27141 PyObject *obj;
27142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27143 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27144 Py_INCREF(obj);
27145 return Py_BuildValue((char *)"");
27146}
c370783e 27147static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27148 PyObject *resultobj;
27149 PyObject *arg1 = (PyObject *) NULL ;
27150 wxPyTreeItemData *result;
27151 PyObject * obj0 = 0 ;
27152 char *kwnames[] = {
27153 (char *) "obj", NULL
27154 };
27155
27156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27157 if (obj0) {
27158 arg1 = obj0;
27159 }
27160 {
27161 PyThreadState* __tstate = wxPyBeginAllowThreads();
27162 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27163
27164 wxPyEndAllowThreads(__tstate);
27165 if (PyErr_Occurred()) SWIG_fail;
27166 }
27167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27168 return resultobj;
27169 fail:
27170 return NULL;
27171}
27172
27173
c370783e 27174static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27175 PyObject *resultobj;
27176 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27177 PyObject *result;
27178 PyObject * obj0 = 0 ;
27179 char *kwnames[] = {
27180 (char *) "self", NULL
27181 };
27182
27183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
27184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27185 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27186 {
27187 PyThreadState* __tstate = wxPyBeginAllowThreads();
27188 result = (PyObject *)(arg1)->GetData();
27189
27190 wxPyEndAllowThreads(__tstate);
27191 if (PyErr_Occurred()) SWIG_fail;
27192 }
27193 resultobj = result;
27194 return resultobj;
27195 fail:
27196 return NULL;
27197}
27198
27199
c370783e 27200static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27201 PyObject *resultobj;
27202 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27203 PyObject *arg2 = (PyObject *) 0 ;
27204 PyObject * obj0 = 0 ;
27205 PyObject * obj1 = 0 ;
27206 char *kwnames[] = {
27207 (char *) "self",(char *) "obj", NULL
27208 };
27209
27210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27212 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27213 arg2 = obj1;
27214 {
27215 PyThreadState* __tstate = wxPyBeginAllowThreads();
27216 (arg1)->SetData(arg2);
27217
27218 wxPyEndAllowThreads(__tstate);
27219 if (PyErr_Occurred()) SWIG_fail;
27220 }
27221 Py_INCREF(Py_None); resultobj = Py_None;
27222 return resultobj;
27223 fail:
27224 return NULL;
27225}
27226
27227
c370783e 27228static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27229 PyObject *resultobj;
27230 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27231 wxTreeItemId *result;
27232 PyObject * obj0 = 0 ;
27233 char *kwnames[] = {
27234 (char *) "self", NULL
27235 };
27236
27237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
27238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27240 {
27241 PyThreadState* __tstate = wxPyBeginAllowThreads();
27242 {
27243 wxTreeItemId const &_result_ref = (arg1)->GetId();
27244 result = (wxTreeItemId *) &_result_ref;
27245 }
27246
27247 wxPyEndAllowThreads(__tstate);
27248 if (PyErr_Occurred()) SWIG_fail;
27249 }
27250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27251 return resultobj;
27252 fail:
27253 return NULL;
27254}
27255
27256
c370783e 27257static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27258 PyObject *resultobj;
27259 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27260 wxTreeItemId *arg2 = 0 ;
27261 PyObject * obj0 = 0 ;
27262 PyObject * obj1 = 0 ;
27263 char *kwnames[] = {
27264 (char *) "self",(char *) "id", NULL
27265 };
27266
27267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27269 if (SWIG_arg_fail(1)) SWIG_fail;
27270 {
27271 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27272 if (SWIG_arg_fail(2)) SWIG_fail;
27273 if (arg2 == NULL) {
27274 SWIG_null_ref("wxTreeItemId");
27275 }
27276 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27277 }
27278 {
27279 PyThreadState* __tstate = wxPyBeginAllowThreads();
27280 (arg1)->SetId((wxTreeItemId const &)*arg2);
27281
27282 wxPyEndAllowThreads(__tstate);
27283 if (PyErr_Occurred()) SWIG_fail;
27284 }
27285 Py_INCREF(Py_None); resultobj = Py_None;
27286 return resultobj;
27287 fail:
27288 return NULL;
27289}
27290
27291
c370783e 27292static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27293 PyObject *resultobj;
27294 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27295 PyObject * obj0 = 0 ;
27296 char *kwnames[] = {
27297 (char *) "self", NULL
27298 };
27299
27300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
27301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27302 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27303 {
27304 PyThreadState* __tstate = wxPyBeginAllowThreads();
27305 wxPyTreeItemData_Destroy(arg1);
27306
27307 wxPyEndAllowThreads(__tstate);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
27310 Py_INCREF(Py_None); resultobj = Py_None;
27311 return resultobj;
27312 fail:
27313 return NULL;
27314}
27315
27316
c370783e 27317static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27318 PyObject *obj;
27319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27320 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27321 Py_INCREF(obj);
27322 return Py_BuildValue((char *)"");
27323}
c370783e 27324static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27325 PyObject *resultobj;
27326 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27327 int arg2 = (int) 0 ;
27328 wxTreeEvent *result;
27329 PyObject * obj0 = 0 ;
27330 PyObject * obj1 = 0 ;
27331 char *kwnames[] = {
27332 (char *) "commandType",(char *) "id", NULL
27333 };
27334
27335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27336 if (obj0) {
36ed4f51
RD
27337 {
27338 arg1 = (wxEventType)(SWIG_As_int(obj0));
27339 if (SWIG_arg_fail(1)) SWIG_fail;
27340 }
d55e5bfc
RD
27341 }
27342 if (obj1) {
36ed4f51
RD
27343 {
27344 arg2 = (int)(SWIG_As_int(obj1));
27345 if (SWIG_arg_fail(2)) SWIG_fail;
27346 }
d55e5bfc
RD
27347 }
27348 {
27349 PyThreadState* __tstate = wxPyBeginAllowThreads();
27350 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27351
27352 wxPyEndAllowThreads(__tstate);
27353 if (PyErr_Occurred()) SWIG_fail;
27354 }
27355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27356 return resultobj;
27357 fail:
27358 return NULL;
27359}
27360
27361
c370783e 27362static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27363 PyObject *resultobj;
27364 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27365 wxTreeItemId result;
27366 PyObject * obj0 = 0 ;
27367 char *kwnames[] = {
27368 (char *) "self", NULL
27369 };
27370
27371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
27372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27374 {
27375 PyThreadState* __tstate = wxPyBeginAllowThreads();
27376 result = ((wxTreeEvent const *)arg1)->GetItem();
27377
27378 wxPyEndAllowThreads(__tstate);
27379 if (PyErr_Occurred()) SWIG_fail;
27380 }
27381 {
27382 wxTreeItemId * resultptr;
36ed4f51 27383 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27384 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27385 }
27386 return resultobj;
27387 fail:
27388 return NULL;
27389}
27390
27391
c370783e 27392static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27393 PyObject *resultobj;
27394 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27395 wxTreeItemId *arg2 = 0 ;
27396 PyObject * obj0 = 0 ;
27397 PyObject * obj1 = 0 ;
27398 char *kwnames[] = {
27399 (char *) "self",(char *) "item", NULL
27400 };
27401
27402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27404 if (SWIG_arg_fail(1)) SWIG_fail;
27405 {
27406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27407 if (SWIG_arg_fail(2)) SWIG_fail;
27408 if (arg2 == NULL) {
27409 SWIG_null_ref("wxTreeItemId");
27410 }
27411 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27412 }
27413 {
27414 PyThreadState* __tstate = wxPyBeginAllowThreads();
27415 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27416
27417 wxPyEndAllowThreads(__tstate);
27418 if (PyErr_Occurred()) SWIG_fail;
27419 }
27420 Py_INCREF(Py_None); resultobj = Py_None;
27421 return resultobj;
27422 fail:
27423 return NULL;
27424}
27425
27426
c370783e 27427static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27428 PyObject *resultobj;
27429 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27430 wxTreeItemId result;
27431 PyObject * obj0 = 0 ;
27432 char *kwnames[] = {
27433 (char *) "self", NULL
27434 };
27435
27436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
27437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27438 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27439 {
27440 PyThreadState* __tstate = wxPyBeginAllowThreads();
27441 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27442
27443 wxPyEndAllowThreads(__tstate);
27444 if (PyErr_Occurred()) SWIG_fail;
27445 }
27446 {
27447 wxTreeItemId * resultptr;
36ed4f51 27448 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27449 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27450 }
27451 return resultobj;
27452 fail:
27453 return NULL;
27454}
27455
27456
c370783e 27457static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27458 PyObject *resultobj;
27459 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27460 wxTreeItemId *arg2 = 0 ;
27461 PyObject * obj0 = 0 ;
27462 PyObject * obj1 = 0 ;
27463 char *kwnames[] = {
27464 (char *) "self",(char *) "item", NULL
27465 };
27466
27467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27469 if (SWIG_arg_fail(1)) SWIG_fail;
27470 {
27471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27472 if (SWIG_arg_fail(2)) SWIG_fail;
27473 if (arg2 == NULL) {
27474 SWIG_null_ref("wxTreeItemId");
27475 }
27476 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27477 }
27478 {
27479 PyThreadState* __tstate = wxPyBeginAllowThreads();
27480 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27481
27482 wxPyEndAllowThreads(__tstate);
27483 if (PyErr_Occurred()) SWIG_fail;
27484 }
27485 Py_INCREF(Py_None); resultobj = Py_None;
27486 return resultobj;
27487 fail:
27488 return NULL;
27489}
27490
27491
c370783e 27492static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27493 PyObject *resultobj;
27494 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27495 wxPoint result;
27496 PyObject * obj0 = 0 ;
27497 char *kwnames[] = {
27498 (char *) "self", NULL
27499 };
27500
27501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
27502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27504 {
27505 PyThreadState* __tstate = wxPyBeginAllowThreads();
27506 result = ((wxTreeEvent const *)arg1)->GetPoint();
27507
27508 wxPyEndAllowThreads(__tstate);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 {
27512 wxPoint * resultptr;
36ed4f51 27513 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
27514 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27515 }
27516 return resultobj;
27517 fail:
27518 return NULL;
27519}
27520
27521
c370783e 27522static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27523 PyObject *resultobj;
27524 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27525 wxPoint *arg2 = 0 ;
27526 wxPoint temp2 ;
27527 PyObject * obj0 = 0 ;
27528 PyObject * obj1 = 0 ;
27529 char *kwnames[] = {
27530 (char *) "self",(char *) "pt", NULL
27531 };
27532
27533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27535 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27536 {
27537 arg2 = &temp2;
27538 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27539 }
27540 {
27541 PyThreadState* __tstate = wxPyBeginAllowThreads();
27542 (arg1)->SetPoint((wxPoint const &)*arg2);
27543
27544 wxPyEndAllowThreads(__tstate);
27545 if (PyErr_Occurred()) SWIG_fail;
27546 }
27547 Py_INCREF(Py_None); resultobj = Py_None;
27548 return resultobj;
27549 fail:
27550 return NULL;
27551}
27552
27553
c370783e 27554static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27555 PyObject *resultobj;
27556 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27557 wxKeyEvent *result;
27558 PyObject * obj0 = 0 ;
27559 char *kwnames[] = {
27560 (char *) "self", NULL
27561 };
27562
27563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
27564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27566 {
27567 PyThreadState* __tstate = wxPyBeginAllowThreads();
27568 {
27569 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27570 result = (wxKeyEvent *) &_result_ref;
27571 }
27572
27573 wxPyEndAllowThreads(__tstate);
27574 if (PyErr_Occurred()) SWIG_fail;
27575 }
27576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27577 return resultobj;
27578 fail:
27579 return NULL;
27580}
27581
27582
c370783e 27583static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27584 PyObject *resultobj;
27585 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27586 int result;
27587 PyObject * obj0 = 0 ;
27588 char *kwnames[] = {
27589 (char *) "self", NULL
27590 };
27591
27592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
27593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27594 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27595 {
27596 PyThreadState* __tstate = wxPyBeginAllowThreads();
27597 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27598
27599 wxPyEndAllowThreads(__tstate);
27600 if (PyErr_Occurred()) SWIG_fail;
27601 }
36ed4f51
RD
27602 {
27603 resultobj = SWIG_From_int((int)(result));
27604 }
d55e5bfc
RD
27605 return resultobj;
27606 fail:
27607 return NULL;
27608}
27609
27610
c370783e 27611static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27612 PyObject *resultobj;
27613 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27614 wxKeyEvent *arg2 = 0 ;
27615 PyObject * obj0 = 0 ;
27616 PyObject * obj1 = 0 ;
27617 char *kwnames[] = {
27618 (char *) "self",(char *) "evt", NULL
27619 };
27620
27621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27623 if (SWIG_arg_fail(1)) SWIG_fail;
27624 {
27625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27626 if (SWIG_arg_fail(2)) SWIG_fail;
27627 if (arg2 == NULL) {
27628 SWIG_null_ref("wxKeyEvent");
27629 }
27630 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27631 }
27632 {
27633 PyThreadState* __tstate = wxPyBeginAllowThreads();
27634 (arg1)->SetKeyEvent((wxKeyEvent 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
c370783e 27646static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27647 PyObject *resultobj;
27648 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27649 wxString *result;
27650 PyObject * obj0 = 0 ;
27651 char *kwnames[] = {
27652 (char *) "self", NULL
27653 };
27654
27655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
27656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27657 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27658 {
27659 PyThreadState* __tstate = wxPyBeginAllowThreads();
27660 {
27661 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27662 result = (wxString *) &_result_ref;
27663 }
27664
27665 wxPyEndAllowThreads(__tstate);
27666 if (PyErr_Occurred()) SWIG_fail;
27667 }
27668 {
27669#if wxUSE_UNICODE
27670 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27671#else
27672 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27673#endif
27674 }
27675 return resultobj;
27676 fail:
27677 return NULL;
27678}
27679
27680
c370783e 27681static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27682 PyObject *resultobj;
27683 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27684 wxString *arg2 = 0 ;
b411df4a 27685 bool temp2 = false ;
d55e5bfc
RD
27686 PyObject * obj0 = 0 ;
27687 PyObject * obj1 = 0 ;
27688 char *kwnames[] = {
27689 (char *) "self",(char *) "label", NULL
27690 };
27691
27692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27694 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27695 {
27696 arg2 = wxString_in_helper(obj1);
27697 if (arg2 == NULL) SWIG_fail;
b411df4a 27698 temp2 = true;
d55e5bfc
RD
27699 }
27700 {
27701 PyThreadState* __tstate = wxPyBeginAllowThreads();
27702 (arg1)->SetLabel((wxString const &)*arg2);
27703
27704 wxPyEndAllowThreads(__tstate);
27705 if (PyErr_Occurred()) SWIG_fail;
27706 }
27707 Py_INCREF(Py_None); resultobj = Py_None;
27708 {
27709 if (temp2)
27710 delete arg2;
27711 }
27712 return resultobj;
27713 fail:
27714 {
27715 if (temp2)
27716 delete arg2;
27717 }
27718 return NULL;
27719}
27720
27721
c370783e 27722static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27723 PyObject *resultobj;
27724 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27725 bool result;
27726 PyObject * obj0 = 0 ;
27727 char *kwnames[] = {
27728 (char *) "self", NULL
27729 };
27730
27731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
36ed4f51
RD
27732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27733 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27734 {
27735 PyThreadState* __tstate = wxPyBeginAllowThreads();
27736 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27737
27738 wxPyEndAllowThreads(__tstate);
27739 if (PyErr_Occurred()) SWIG_fail;
27740 }
27741 {
27742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27743 }
27744 return resultobj;
27745 fail:
27746 return NULL;
27747}
27748
27749
c370783e 27750static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27751 PyObject *resultobj;
27752 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27753 bool arg2 ;
27754 PyObject * obj0 = 0 ;
27755 PyObject * obj1 = 0 ;
27756 char *kwnames[] = {
27757 (char *) "self",(char *) "editCancelled", NULL
27758 };
27759
27760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27762 if (SWIG_arg_fail(1)) SWIG_fail;
27763 {
27764 arg2 = (bool)(SWIG_As_bool(obj1));
27765 if (SWIG_arg_fail(2)) SWIG_fail;
27766 }
d55e5bfc
RD
27767 {
27768 PyThreadState* __tstate = wxPyBeginAllowThreads();
27769 (arg1)->SetEditCanceled(arg2);
27770
27771 wxPyEndAllowThreads(__tstate);
27772 if (PyErr_Occurred()) SWIG_fail;
27773 }
27774 Py_INCREF(Py_None); resultobj = Py_None;
27775 return resultobj;
27776 fail:
27777 return NULL;
27778}
27779
27780
c370783e 27781static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27782 PyObject *resultobj;
27783 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27784 wxString *arg2 = 0 ;
b411df4a 27785 bool temp2 = false ;
d55e5bfc
RD
27786 PyObject * obj0 = 0 ;
27787 PyObject * obj1 = 0 ;
27788 char *kwnames[] = {
27789 (char *) "self",(char *) "toolTip", NULL
27790 };
27791
27792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27794 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27795 {
27796 arg2 = wxString_in_helper(obj1);
27797 if (arg2 == NULL) SWIG_fail;
b411df4a 27798 temp2 = true;
d55e5bfc
RD
27799 }
27800 {
27801 PyThreadState* __tstate = wxPyBeginAllowThreads();
27802 (arg1)->SetToolTip((wxString const &)*arg2);
27803
27804 wxPyEndAllowThreads(__tstate);
27805 if (PyErr_Occurred()) SWIG_fail;
27806 }
27807 Py_INCREF(Py_None); resultobj = Py_None;
27808 {
27809 if (temp2)
27810 delete arg2;
27811 }
27812 return resultobj;
27813 fail:
27814 {
27815 if (temp2)
27816 delete arg2;
27817 }
27818 return NULL;
27819}
27820
27821
c370783e 27822static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27823 PyObject *obj;
27824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27825 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27826 Py_INCREF(obj);
27827 return Py_BuildValue((char *)"");
27828}
c370783e 27829static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27830 PyObject *resultobj;
27831 wxWindow *arg1 = (wxWindow *) 0 ;
27832 int arg2 = (int) -1 ;
27833 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27834 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27835 wxSize const &arg4_defvalue = wxDefaultSize ;
27836 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27837 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27838 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27839 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27840 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27841 wxString *arg7 = (wxString *) &arg7_defvalue ;
27842 wxPyTreeCtrl *result;
27843 wxPoint temp3 ;
27844 wxSize temp4 ;
b411df4a 27845 bool temp7 = false ;
d55e5bfc
RD
27846 PyObject * obj0 = 0 ;
27847 PyObject * obj1 = 0 ;
27848 PyObject * obj2 = 0 ;
27849 PyObject * obj3 = 0 ;
27850 PyObject * obj4 = 0 ;
27851 PyObject * obj5 = 0 ;
27852 PyObject * obj6 = 0 ;
27853 char *kwnames[] = {
27854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27855 };
27856
27857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27859 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27860 if (obj1) {
36ed4f51
RD
27861 {
27862 arg2 = (int)(SWIG_As_int(obj1));
27863 if (SWIG_arg_fail(2)) SWIG_fail;
27864 }
d55e5bfc
RD
27865 }
27866 if (obj2) {
27867 {
27868 arg3 = &temp3;
27869 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27870 }
27871 }
27872 if (obj3) {
27873 {
27874 arg4 = &temp4;
27875 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27876 }
27877 }
27878 if (obj4) {
36ed4f51
RD
27879 {
27880 arg5 = (long)(SWIG_As_long(obj4));
27881 if (SWIG_arg_fail(5)) SWIG_fail;
27882 }
d55e5bfc
RD
27883 }
27884 if (obj5) {
36ed4f51
RD
27885 {
27886 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27887 if (SWIG_arg_fail(6)) SWIG_fail;
27888 if (arg6 == NULL) {
27889 SWIG_null_ref("wxValidator");
27890 }
27891 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
27892 }
27893 }
27894 if (obj6) {
27895 {
27896 arg7 = wxString_in_helper(obj6);
27897 if (arg7 == NULL) SWIG_fail;
b411df4a 27898 temp7 = true;
d55e5bfc
RD
27899 }
27900 }
27901 {
0439c23b 27902 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27903 PyThreadState* __tstate = wxPyBeginAllowThreads();
27904 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27905
27906 wxPyEndAllowThreads(__tstate);
110da5b0 27907 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 27908 }
b0f7404b 27909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
27910 {
27911 if (temp7)
27912 delete arg7;
27913 }
27914 return resultobj;
27915 fail:
27916 {
27917 if (temp7)
27918 delete arg7;
27919 }
27920 return NULL;
27921}
27922
27923
c370783e 27924static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27925 PyObject *resultobj;
27926 wxPyTreeCtrl *result;
27927 char *kwnames[] = {
27928 NULL
27929 };
27930
27931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
27932 {
0439c23b 27933 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27934 PyThreadState* __tstate = wxPyBeginAllowThreads();
27935 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
27936
27937 wxPyEndAllowThreads(__tstate);
110da5b0 27938 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 27939 }
b0f7404b 27940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
27941 return resultobj;
27942 fail:
27943 return NULL;
27944}
27945
27946
c370783e 27947static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27948 PyObject *resultobj;
27949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27950 wxWindow *arg2 = (wxWindow *) 0 ;
27951 int arg3 = (int) -1 ;
27952 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27953 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27954 wxSize const &arg5_defvalue = wxDefaultSize ;
27955 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27956 long arg6 = (long) wxTR_DEFAULT_STYLE ;
27957 wxValidator const &arg7_defvalue = wxDefaultValidator ;
27958 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
27959 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
27960 wxString *arg8 = (wxString *) &arg8_defvalue ;
27961 bool result;
27962 wxPoint temp4 ;
27963 wxSize temp5 ;
b411df4a 27964 bool temp8 = false ;
d55e5bfc
RD
27965 PyObject * obj0 = 0 ;
27966 PyObject * obj1 = 0 ;
27967 PyObject * obj2 = 0 ;
27968 PyObject * obj3 = 0 ;
27969 PyObject * obj4 = 0 ;
27970 PyObject * obj5 = 0 ;
27971 PyObject * obj6 = 0 ;
27972 PyObject * obj7 = 0 ;
27973 char *kwnames[] = {
27974 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27975 };
27976
27977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
27978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
27979 if (SWIG_arg_fail(1)) SWIG_fail;
27980 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27981 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 27982 if (obj2) {
36ed4f51
RD
27983 {
27984 arg3 = (int)(SWIG_As_int(obj2));
27985 if (SWIG_arg_fail(3)) SWIG_fail;
27986 }
d55e5bfc
RD
27987 }
27988 if (obj3) {
27989 {
27990 arg4 = &temp4;
27991 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27992 }
27993 }
27994 if (obj4) {
27995 {
27996 arg5 = &temp5;
27997 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27998 }
27999 }
28000 if (obj5) {
36ed4f51
RD
28001 {
28002 arg6 = (long)(SWIG_As_long(obj5));
28003 if (SWIG_arg_fail(6)) SWIG_fail;
28004 }
d55e5bfc
RD
28005 }
28006 if (obj6) {
36ed4f51
RD
28007 {
28008 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28009 if (SWIG_arg_fail(7)) SWIG_fail;
28010 if (arg7 == NULL) {
28011 SWIG_null_ref("wxValidator");
28012 }
28013 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
28014 }
28015 }
28016 if (obj7) {
28017 {
28018 arg8 = wxString_in_helper(obj7);
28019 if (arg8 == NULL) SWIG_fail;
b411df4a 28020 temp8 = true;
d55e5bfc
RD
28021 }
28022 }
28023 {
28024 PyThreadState* __tstate = wxPyBeginAllowThreads();
28025 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28026
28027 wxPyEndAllowThreads(__tstate);
28028 if (PyErr_Occurred()) SWIG_fail;
28029 }
28030 {
28031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28032 }
28033 {
28034 if (temp8)
28035 delete arg8;
28036 }
28037 return resultobj;
28038 fail:
28039 {
28040 if (temp8)
28041 delete arg8;
28042 }
28043 return NULL;
28044}
28045
28046
c370783e 28047static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28048 PyObject *resultobj;
28049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28050 PyObject *arg2 = (PyObject *) 0 ;
28051 PyObject *arg3 = (PyObject *) 0 ;
28052 PyObject * obj0 = 0 ;
28053 PyObject * obj1 = 0 ;
28054 PyObject * obj2 = 0 ;
28055 char *kwnames[] = {
28056 (char *) "self",(char *) "self",(char *) "_class", NULL
28057 };
28058
28059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28061 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28062 arg2 = obj1;
28063 arg3 = obj2;
28064 {
28065 PyThreadState* __tstate = wxPyBeginAllowThreads();
28066 (arg1)->_setCallbackInfo(arg2,arg3);
28067
28068 wxPyEndAllowThreads(__tstate);
28069 if (PyErr_Occurred()) SWIG_fail;
28070 }
28071 Py_INCREF(Py_None); resultobj = Py_None;
28072 return resultobj;
28073 fail:
28074 return NULL;
28075}
28076
28077
c370783e 28078static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28079 PyObject *resultobj;
28080 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28081 size_t result;
28082 PyObject * obj0 = 0 ;
28083 char *kwnames[] = {
28084 (char *) "self", NULL
28085 };
28086
28087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
28088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28089 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28090 {
28091 PyThreadState* __tstate = wxPyBeginAllowThreads();
28092 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28093
28094 wxPyEndAllowThreads(__tstate);
28095 if (PyErr_Occurred()) SWIG_fail;
28096 }
36ed4f51
RD
28097 {
28098 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28099 }
d55e5bfc
RD
28100 return resultobj;
28101 fail:
28102 return NULL;
28103}
28104
28105
c370783e 28106static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28107 PyObject *resultobj;
28108 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28109 unsigned int result;
28110 PyObject * obj0 = 0 ;
28111 char *kwnames[] = {
28112 (char *) "self", NULL
28113 };
28114
28115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
28116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28118 {
28119 PyThreadState* __tstate = wxPyBeginAllowThreads();
28120 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28121
28122 wxPyEndAllowThreads(__tstate);
28123 if (PyErr_Occurred()) SWIG_fail;
28124 }
36ed4f51
RD
28125 {
28126 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28127 }
d55e5bfc
RD
28128 return resultobj;
28129 fail:
28130 return NULL;
28131}
28132
28133
c370783e 28134static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28135 PyObject *resultobj;
28136 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28137 unsigned int arg2 ;
28138 PyObject * obj0 = 0 ;
28139 PyObject * obj1 = 0 ;
28140 char *kwnames[] = {
28141 (char *) "self",(char *) "indent", NULL
28142 };
28143
28144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28146 if (SWIG_arg_fail(1)) SWIG_fail;
28147 {
28148 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28149 if (SWIG_arg_fail(2)) SWIG_fail;
28150 }
d55e5bfc
RD
28151 {
28152 PyThreadState* __tstate = wxPyBeginAllowThreads();
28153 (arg1)->SetIndent(arg2);
28154
28155 wxPyEndAllowThreads(__tstate);
28156 if (PyErr_Occurred()) SWIG_fail;
28157 }
28158 Py_INCREF(Py_None); resultobj = Py_None;
28159 return resultobj;
28160 fail:
28161 return NULL;
28162}
28163
28164
c370783e 28165static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28166 PyObject *resultobj;
28167 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28168 unsigned int result;
28169 PyObject * obj0 = 0 ;
28170 char *kwnames[] = {
28171 (char *) "self", NULL
28172 };
28173
28174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
28175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28177 {
28178 PyThreadState* __tstate = wxPyBeginAllowThreads();
28179 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28180
28181 wxPyEndAllowThreads(__tstate);
28182 if (PyErr_Occurred()) SWIG_fail;
28183 }
36ed4f51
RD
28184 {
28185 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28186 }
d55e5bfc
RD
28187 return resultobj;
28188 fail:
28189 return NULL;
28190}
28191
28192
c370783e 28193static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28194 PyObject *resultobj;
28195 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28196 unsigned int arg2 ;
28197 PyObject * obj0 = 0 ;
28198 PyObject * obj1 = 0 ;
28199 char *kwnames[] = {
28200 (char *) "self",(char *) "spacing", NULL
28201 };
28202
28203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28205 if (SWIG_arg_fail(1)) SWIG_fail;
28206 {
28207 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28208 if (SWIG_arg_fail(2)) SWIG_fail;
28209 }
d55e5bfc
RD
28210 {
28211 PyThreadState* __tstate = wxPyBeginAllowThreads();
28212 (arg1)->SetSpacing(arg2);
28213
28214 wxPyEndAllowThreads(__tstate);
28215 if (PyErr_Occurred()) SWIG_fail;
28216 }
28217 Py_INCREF(Py_None); resultobj = Py_None;
28218 return resultobj;
28219 fail:
28220 return NULL;
28221}
28222
28223
c370783e 28224static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28225 PyObject *resultobj;
28226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28227 wxImageList *result;
28228 PyObject * obj0 = 0 ;
28229 char *kwnames[] = {
28230 (char *) "self", NULL
28231 };
28232
28233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
28234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28235 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28236 {
28237 PyThreadState* __tstate = wxPyBeginAllowThreads();
28238 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28239
28240 wxPyEndAllowThreads(__tstate);
28241 if (PyErr_Occurred()) SWIG_fail;
28242 }
28243 {
412d302d 28244 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28245 }
28246 return resultobj;
28247 fail:
28248 return NULL;
28249}
28250
28251
c370783e 28252static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28253 PyObject *resultobj;
28254 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28255 wxImageList *result;
28256 PyObject * obj0 = 0 ;
28257 char *kwnames[] = {
28258 (char *) "self", NULL
28259 };
28260
28261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
28262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28264 {
28265 PyThreadState* __tstate = wxPyBeginAllowThreads();
28266 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28267
28268 wxPyEndAllowThreads(__tstate);
28269 if (PyErr_Occurred()) SWIG_fail;
28270 }
28271 {
412d302d 28272 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28273 }
28274 return resultobj;
28275 fail:
28276 return NULL;
28277}
28278
28279
c370783e 28280static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28281 PyObject *resultobj;
28282 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28283 wxImageList *arg2 = (wxImageList *) 0 ;
28284 PyObject * obj0 = 0 ;
28285 PyObject * obj1 = 0 ;
28286 char *kwnames[] = {
28287 (char *) "self",(char *) "imageList", NULL
28288 };
28289
28290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28292 if (SWIG_arg_fail(1)) SWIG_fail;
28293 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28294 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28295 {
28296 PyThreadState* __tstate = wxPyBeginAllowThreads();
28297 (arg1)->SetImageList(arg2);
28298
28299 wxPyEndAllowThreads(__tstate);
28300 if (PyErr_Occurred()) SWIG_fail;
28301 }
28302 Py_INCREF(Py_None); resultobj = Py_None;
28303 return resultobj;
28304 fail:
28305 return NULL;
28306}
28307
28308
c370783e 28309static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28310 PyObject *resultobj;
28311 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28312 wxImageList *arg2 = (wxImageList *) 0 ;
28313 PyObject * obj0 = 0 ;
28314 PyObject * obj1 = 0 ;
28315 char *kwnames[] = {
28316 (char *) "self",(char *) "imageList", NULL
28317 };
28318
28319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28321 if (SWIG_arg_fail(1)) SWIG_fail;
28322 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28323 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28324 {
28325 PyThreadState* __tstate = wxPyBeginAllowThreads();
28326 (arg1)->SetStateImageList(arg2);
28327
28328 wxPyEndAllowThreads(__tstate);
28329 if (PyErr_Occurred()) SWIG_fail;
28330 }
28331 Py_INCREF(Py_None); resultobj = Py_None;
28332 return resultobj;
28333 fail:
28334 return NULL;
28335}
28336
28337
c370783e 28338static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28339 PyObject *resultobj;
28340 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28341 wxImageList *arg2 = (wxImageList *) 0 ;
28342 PyObject * obj0 = 0 ;
28343 PyObject * obj1 = 0 ;
28344 char *kwnames[] = {
28345 (char *) "self",(char *) "imageList", NULL
28346 };
28347
28348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28350 if (SWIG_arg_fail(1)) SWIG_fail;
28351 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28352 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28353 {
28354 PyThreadState* __tstate = wxPyBeginAllowThreads();
28355 (arg1)->AssignImageList(arg2);
28356
28357 wxPyEndAllowThreads(__tstate);
28358 if (PyErr_Occurred()) SWIG_fail;
28359 }
28360 Py_INCREF(Py_None); resultobj = Py_None;
28361 return resultobj;
28362 fail:
28363 return NULL;
28364}
28365
28366
c370783e 28367static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28368 PyObject *resultobj;
28369 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28370 wxImageList *arg2 = (wxImageList *) 0 ;
28371 PyObject * obj0 = 0 ;
28372 PyObject * obj1 = 0 ;
28373 char *kwnames[] = {
28374 (char *) "self",(char *) "imageList", NULL
28375 };
28376
28377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28379 if (SWIG_arg_fail(1)) SWIG_fail;
28380 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28381 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28382 {
28383 PyThreadState* __tstate = wxPyBeginAllowThreads();
28384 (arg1)->AssignStateImageList(arg2);
28385
28386 wxPyEndAllowThreads(__tstate);
28387 if (PyErr_Occurred()) SWIG_fail;
28388 }
28389 Py_INCREF(Py_None); resultobj = Py_None;
28390 return resultobj;
28391 fail:
28392 return NULL;
28393}
28394
28395
c370783e 28396static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28397 PyObject *resultobj;
28398 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28399 wxTreeItemId *arg2 = 0 ;
28400 wxString result;
28401 PyObject * obj0 = 0 ;
28402 PyObject * obj1 = 0 ;
28403 char *kwnames[] = {
28404 (char *) "self",(char *) "item", NULL
28405 };
28406
28407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28409 if (SWIG_arg_fail(1)) SWIG_fail;
28410 {
28411 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28412 if (SWIG_arg_fail(2)) SWIG_fail;
28413 if (arg2 == NULL) {
28414 SWIG_null_ref("wxTreeItemId");
28415 }
28416 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28417 }
28418 {
28419 PyThreadState* __tstate = wxPyBeginAllowThreads();
28420 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28421
28422 wxPyEndAllowThreads(__tstate);
28423 if (PyErr_Occurred()) SWIG_fail;
28424 }
28425 {
28426#if wxUSE_UNICODE
28427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28428#else
28429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28430#endif
28431 }
28432 return resultobj;
28433 fail:
28434 return NULL;
28435}
28436
28437
c370783e 28438static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28439 PyObject *resultobj;
28440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28441 wxTreeItemId *arg2 = 0 ;
36ed4f51 28442 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28443 int result;
28444 PyObject * obj0 = 0 ;
28445 PyObject * obj1 = 0 ;
28446 PyObject * obj2 = 0 ;
28447 char *kwnames[] = {
28448 (char *) "self",(char *) "item",(char *) "which", NULL
28449 };
28450
28451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28453 if (SWIG_arg_fail(1)) SWIG_fail;
28454 {
28455 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28456 if (SWIG_arg_fail(2)) SWIG_fail;
28457 if (arg2 == NULL) {
28458 SWIG_null_ref("wxTreeItemId");
28459 }
28460 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28461 }
28462 if (obj2) {
36ed4f51
RD
28463 {
28464 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28465 if (SWIG_arg_fail(3)) SWIG_fail;
28466 }
d55e5bfc
RD
28467 }
28468 {
28469 PyThreadState* __tstate = wxPyBeginAllowThreads();
28470 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28471
28472 wxPyEndAllowThreads(__tstate);
28473 if (PyErr_Occurred()) SWIG_fail;
28474 }
36ed4f51
RD
28475 {
28476 resultobj = SWIG_From_int((int)(result));
28477 }
d55e5bfc
RD
28478 return resultobj;
28479 fail:
28480 return NULL;
28481}
28482
28483
c370783e 28484static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28485 PyObject *resultobj;
28486 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28487 wxTreeItemId *arg2 = 0 ;
28488 wxPyTreeItemData *result;
28489 PyObject * obj0 = 0 ;
28490 PyObject * obj1 = 0 ;
28491 char *kwnames[] = {
28492 (char *) "self",(char *) "item", NULL
28493 };
28494
28495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28497 if (SWIG_arg_fail(1)) SWIG_fail;
28498 {
28499 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28500 if (SWIG_arg_fail(2)) SWIG_fail;
28501 if (arg2 == NULL) {
28502 SWIG_null_ref("wxTreeItemId");
28503 }
28504 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28505 }
28506 {
28507 PyThreadState* __tstate = wxPyBeginAllowThreads();
28508 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28509
28510 wxPyEndAllowThreads(__tstate);
28511 if (PyErr_Occurred()) SWIG_fail;
28512 }
28513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28514 return resultobj;
28515 fail:
28516 return NULL;
28517}
28518
28519
c370783e 28520static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28521 PyObject *resultobj;
28522 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28523 wxTreeItemId *arg2 = 0 ;
28524 PyObject *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_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
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;
d55e5bfc
RD
28541 }
28542 {
28543 PyThreadState* __tstate = wxPyBeginAllowThreads();
28544 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28545
28546 wxPyEndAllowThreads(__tstate);
28547 if (PyErr_Occurred()) SWIG_fail;
28548 }
28549 resultobj = result;
28550 return resultobj;
28551 fail:
28552 return NULL;
28553}
28554
28555
c370783e 28556static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28557 PyObject *resultobj;
28558 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28559 wxTreeItemId *arg2 = 0 ;
28560 wxColour result;
28561 PyObject * obj0 = 0 ;
28562 PyObject * obj1 = 0 ;
28563 char *kwnames[] = {
28564 (char *) "self",(char *) "item", NULL
28565 };
28566
28567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28569 if (SWIG_arg_fail(1)) SWIG_fail;
28570 {
28571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28572 if (SWIG_arg_fail(2)) SWIG_fail;
28573 if (arg2 == NULL) {
28574 SWIG_null_ref("wxTreeItemId");
28575 }
28576 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28577 }
28578 {
28579 PyThreadState* __tstate = wxPyBeginAllowThreads();
28580 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28581
28582 wxPyEndAllowThreads(__tstate);
28583 if (PyErr_Occurred()) SWIG_fail;
28584 }
28585 {
28586 wxColour * resultptr;
36ed4f51 28587 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28589 }
28590 return resultobj;
28591 fail:
28592 return NULL;
28593}
28594
28595
c370783e 28596static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28597 PyObject *resultobj;
28598 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28599 wxTreeItemId *arg2 = 0 ;
28600 wxColour result;
28601 PyObject * obj0 = 0 ;
28602 PyObject * obj1 = 0 ;
28603 char *kwnames[] = {
28604 (char *) "self",(char *) "item", NULL
28605 };
28606
28607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28609 if (SWIG_arg_fail(1)) SWIG_fail;
28610 {
28611 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28612 if (SWIG_arg_fail(2)) SWIG_fail;
28613 if (arg2 == NULL) {
28614 SWIG_null_ref("wxTreeItemId");
28615 }
28616 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28617 }
28618 {
28619 PyThreadState* __tstate = wxPyBeginAllowThreads();
28620 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28621
28622 wxPyEndAllowThreads(__tstate);
28623 if (PyErr_Occurred()) SWIG_fail;
28624 }
28625 {
28626 wxColour * resultptr;
36ed4f51 28627 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28628 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28629 }
28630 return resultobj;
28631 fail:
28632 return NULL;
28633}
28634
28635
c370783e 28636static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28637 PyObject *resultobj;
28638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28639 wxTreeItemId *arg2 = 0 ;
28640 wxFont result;
28641 PyObject * obj0 = 0 ;
28642 PyObject * obj1 = 0 ;
28643 char *kwnames[] = {
28644 (char *) "self",(char *) "item", NULL
28645 };
28646
28647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28649 if (SWIG_arg_fail(1)) SWIG_fail;
28650 {
28651 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28652 if (SWIG_arg_fail(2)) SWIG_fail;
28653 if (arg2 == NULL) {
28654 SWIG_null_ref("wxTreeItemId");
28655 }
28656 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28657 }
28658 {
28659 PyThreadState* __tstate = wxPyBeginAllowThreads();
28660 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28661
28662 wxPyEndAllowThreads(__tstate);
28663 if (PyErr_Occurred()) SWIG_fail;
28664 }
28665 {
28666 wxFont * resultptr;
36ed4f51 28667 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
28668 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28669 }
28670 return resultobj;
28671 fail:
28672 return NULL;
28673}
28674
28675
c370783e 28676static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28677 PyObject *resultobj;
28678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28679 wxTreeItemId *arg2 = 0 ;
28680 wxString *arg3 = 0 ;
b411df4a 28681 bool temp3 = false ;
d55e5bfc
RD
28682 PyObject * obj0 = 0 ;
28683 PyObject * obj1 = 0 ;
28684 PyObject * obj2 = 0 ;
28685 char *kwnames[] = {
28686 (char *) "self",(char *) "item",(char *) "text", NULL
28687 };
28688
28689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28691 if (SWIG_arg_fail(1)) SWIG_fail;
28692 {
28693 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28694 if (SWIG_arg_fail(2)) SWIG_fail;
28695 if (arg2 == NULL) {
28696 SWIG_null_ref("wxTreeItemId");
28697 }
28698 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28699 }
28700 {
28701 arg3 = wxString_in_helper(obj2);
28702 if (arg3 == NULL) SWIG_fail;
b411df4a 28703 temp3 = true;
d55e5bfc
RD
28704 }
28705 {
28706 PyThreadState* __tstate = wxPyBeginAllowThreads();
28707 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28708
28709 wxPyEndAllowThreads(__tstate);
28710 if (PyErr_Occurred()) SWIG_fail;
28711 }
28712 Py_INCREF(Py_None); resultobj = Py_None;
28713 {
28714 if (temp3)
28715 delete arg3;
28716 }
28717 return resultobj;
28718 fail:
28719 {
28720 if (temp3)
28721 delete arg3;
28722 }
28723 return NULL;
28724}
28725
28726
c370783e 28727static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28728 PyObject *resultobj;
28729 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28730 wxTreeItemId *arg2 = 0 ;
28731 int arg3 ;
36ed4f51 28732 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28733 PyObject * obj0 = 0 ;
28734 PyObject * obj1 = 0 ;
28735 PyObject * obj2 = 0 ;
28736 PyObject * obj3 = 0 ;
28737 char *kwnames[] = {
28738 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28739 };
28740
28741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
28742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28743 if (SWIG_arg_fail(1)) SWIG_fail;
28744 {
28745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28746 if (SWIG_arg_fail(2)) SWIG_fail;
28747 if (arg2 == NULL) {
28748 SWIG_null_ref("wxTreeItemId");
28749 }
28750 if (SWIG_arg_fail(2)) SWIG_fail;
28751 }
28752 {
28753 arg3 = (int)(SWIG_As_int(obj2));
28754 if (SWIG_arg_fail(3)) SWIG_fail;
28755 }
d55e5bfc 28756 if (obj3) {
36ed4f51
RD
28757 {
28758 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28759 if (SWIG_arg_fail(4)) SWIG_fail;
28760 }
d55e5bfc
RD
28761 }
28762 {
28763 PyThreadState* __tstate = wxPyBeginAllowThreads();
28764 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28765
28766 wxPyEndAllowThreads(__tstate);
28767 if (PyErr_Occurred()) SWIG_fail;
28768 }
28769 Py_INCREF(Py_None); resultobj = Py_None;
28770 return resultobj;
28771 fail:
28772 return NULL;
28773}
28774
28775
c370783e 28776static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28777 PyObject *resultobj;
28778 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28779 wxTreeItemId *arg2 = 0 ;
28780 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28781 PyObject * obj0 = 0 ;
28782 PyObject * obj1 = 0 ;
28783 PyObject * obj2 = 0 ;
28784 char *kwnames[] = {
28785 (char *) "self",(char *) "item",(char *) "data", NULL
28786 };
28787
28788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28790 if (SWIG_arg_fail(1)) SWIG_fail;
28791 {
28792 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28793 if (SWIG_arg_fail(2)) SWIG_fail;
28794 if (arg2 == NULL) {
28795 SWIG_null_ref("wxTreeItemId");
28796 }
28797 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28798 }
36ed4f51
RD
28799 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28800 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
28801 {
28802 PyThreadState* __tstate = wxPyBeginAllowThreads();
28803 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28804
28805 wxPyEndAllowThreads(__tstate);
28806 if (PyErr_Occurred()) SWIG_fail;
28807 }
28808 Py_INCREF(Py_None); resultobj = Py_None;
28809 return resultobj;
28810 fail:
28811 return NULL;
28812}
28813
28814
c370783e 28815static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28816 PyObject *resultobj;
28817 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28818 wxTreeItemId *arg2 = 0 ;
28819 PyObject *arg3 = (PyObject *) 0 ;
28820 PyObject * obj0 = 0 ;
28821 PyObject * obj1 = 0 ;
28822 PyObject * obj2 = 0 ;
28823 char *kwnames[] = {
28824 (char *) "self",(char *) "item",(char *) "obj", NULL
28825 };
28826
28827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28829 if (SWIG_arg_fail(1)) SWIG_fail;
28830 {
28831 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28832 if (SWIG_arg_fail(2)) SWIG_fail;
28833 if (arg2 == NULL) {
28834 SWIG_null_ref("wxTreeItemId");
28835 }
28836 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28837 }
28838 arg3 = obj2;
28839 {
28840 PyThreadState* __tstate = wxPyBeginAllowThreads();
28841 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28842
28843 wxPyEndAllowThreads(__tstate);
28844 if (PyErr_Occurred()) SWIG_fail;
28845 }
28846 Py_INCREF(Py_None); resultobj = Py_None;
28847 return resultobj;
28848 fail:
28849 return NULL;
28850}
28851
28852
c370783e 28853static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28854 PyObject *resultobj;
28855 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28856 wxTreeItemId *arg2 = 0 ;
b411df4a 28857 bool arg3 = (bool) true ;
d55e5bfc
RD
28858 PyObject * obj0 = 0 ;
28859 PyObject * obj1 = 0 ;
28860 PyObject * obj2 = 0 ;
28861 char *kwnames[] = {
28862 (char *) "self",(char *) "item",(char *) "has", NULL
28863 };
28864
28865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
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;
d55e5bfc
RD
28875 }
28876 if (obj2) {
36ed4f51
RD
28877 {
28878 arg3 = (bool)(SWIG_As_bool(obj2));
28879 if (SWIG_arg_fail(3)) SWIG_fail;
28880 }
d55e5bfc
RD
28881 }
28882 {
28883 PyThreadState* __tstate = wxPyBeginAllowThreads();
28884 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28885
28886 wxPyEndAllowThreads(__tstate);
28887 if (PyErr_Occurred()) SWIG_fail;
28888 }
28889 Py_INCREF(Py_None); resultobj = Py_None;
28890 return resultobj;
28891 fail:
28892 return NULL;
28893}
28894
28895
c370783e 28896static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28897 PyObject *resultobj;
28898 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28899 wxTreeItemId *arg2 = 0 ;
b411df4a 28900 bool arg3 = (bool) true ;
d55e5bfc
RD
28901 PyObject * obj0 = 0 ;
28902 PyObject * obj1 = 0 ;
28903 PyObject * obj2 = 0 ;
28904 char *kwnames[] = {
28905 (char *) "self",(char *) "item",(char *) "bold", NULL
28906 };
28907
28908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28910 if (SWIG_arg_fail(1)) SWIG_fail;
28911 {
28912 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28913 if (SWIG_arg_fail(2)) SWIG_fail;
28914 if (arg2 == NULL) {
28915 SWIG_null_ref("wxTreeItemId");
28916 }
28917 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28918 }
28919 if (obj2) {
36ed4f51
RD
28920 {
28921 arg3 = (bool)(SWIG_As_bool(obj2));
28922 if (SWIG_arg_fail(3)) SWIG_fail;
28923 }
d55e5bfc
RD
28924 }
28925 {
28926 PyThreadState* __tstate = wxPyBeginAllowThreads();
28927 (arg1)->SetItemBold((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
fef4c27a
RD
28939static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
28940 PyObject *resultobj;
28941 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28942 wxTreeItemId *arg2 = 0 ;
28943 bool arg3 = (bool) true ;
28944 PyObject * obj0 = 0 ;
28945 PyObject * obj1 = 0 ;
28946 PyObject * obj2 = 0 ;
28947 char *kwnames[] = {
28948 (char *) "self",(char *) "item",(char *) "highlight", NULL
28949 };
28950
28951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
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;
28961 }
28962 if (obj2) {
28963 {
28964 arg3 = (bool)(SWIG_As_bool(obj2));
28965 if (SWIG_arg_fail(3)) SWIG_fail;
28966 }
28967 }
28968 {
28969 PyThreadState* __tstate = wxPyBeginAllowThreads();
28970 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
28971
28972 wxPyEndAllowThreads(__tstate);
28973 if (PyErr_Occurred()) SWIG_fail;
28974 }
28975 Py_INCREF(Py_None); resultobj = Py_None;
28976 return resultobj;
28977 fail:
28978 return NULL;
28979}
28980
28981
c370783e 28982static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28983 PyObject *resultobj;
28984 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28985 wxTreeItemId *arg2 = 0 ;
28986 wxColour *arg3 = 0 ;
28987 wxColour temp3 ;
28988 PyObject * obj0 = 0 ;
28989 PyObject * obj1 = 0 ;
28990 PyObject * obj2 = 0 ;
28991 char *kwnames[] = {
28992 (char *) "self",(char *) "item",(char *) "col", NULL
28993 };
28994
28995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28997 if (SWIG_arg_fail(1)) SWIG_fail;
28998 {
28999 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29000 if (SWIG_arg_fail(2)) SWIG_fail;
29001 if (arg2 == NULL) {
29002 SWIG_null_ref("wxTreeItemId");
29003 }
29004 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29005 }
29006 {
29007 arg3 = &temp3;
29008 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29009 }
29010 {
29011 PyThreadState* __tstate = wxPyBeginAllowThreads();
29012 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29013
29014 wxPyEndAllowThreads(__tstate);
29015 if (PyErr_Occurred()) SWIG_fail;
29016 }
29017 Py_INCREF(Py_None); resultobj = Py_None;
29018 return resultobj;
29019 fail:
29020 return NULL;
29021}
29022
29023
c370783e 29024static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29025 PyObject *resultobj;
29026 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29027 wxTreeItemId *arg2 = 0 ;
29028 wxColour *arg3 = 0 ;
29029 wxColour temp3 ;
29030 PyObject * obj0 = 0 ;
29031 PyObject * obj1 = 0 ;
29032 PyObject * obj2 = 0 ;
29033 char *kwnames[] = {
29034 (char *) "self",(char *) "item",(char *) "col", NULL
29035 };
29036
29037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29039 if (SWIG_arg_fail(1)) SWIG_fail;
29040 {
29041 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29042 if (SWIG_arg_fail(2)) SWIG_fail;
29043 if (arg2 == NULL) {
29044 SWIG_null_ref("wxTreeItemId");
29045 }
29046 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29047 }
29048 {
29049 arg3 = &temp3;
29050 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29051 }
29052 {
29053 PyThreadState* __tstate = wxPyBeginAllowThreads();
29054 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29055
29056 wxPyEndAllowThreads(__tstate);
29057 if (PyErr_Occurred()) SWIG_fail;
29058 }
29059 Py_INCREF(Py_None); resultobj = Py_None;
29060 return resultobj;
29061 fail:
29062 return NULL;
29063}
29064
29065
c370783e 29066static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29067 PyObject *resultobj;
29068 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29069 wxTreeItemId *arg2 = 0 ;
29070 wxFont *arg3 = 0 ;
29071 PyObject * obj0 = 0 ;
29072 PyObject * obj1 = 0 ;
29073 PyObject * obj2 = 0 ;
29074 char *kwnames[] = {
29075 (char *) "self",(char *) "item",(char *) "font", NULL
29076 };
29077
29078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29080 if (SWIG_arg_fail(1)) SWIG_fail;
29081 {
29082 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29083 if (SWIG_arg_fail(2)) SWIG_fail;
29084 if (arg2 == NULL) {
29085 SWIG_null_ref("wxTreeItemId");
29086 }
29087 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 29088 }
36ed4f51
RD
29089 {
29090 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29091 if (SWIG_arg_fail(3)) SWIG_fail;
29092 if (arg3 == NULL) {
29093 SWIG_null_ref("wxFont");
29094 }
29095 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29096 }
29097 {
29098 PyThreadState* __tstate = wxPyBeginAllowThreads();
29099 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29100
29101 wxPyEndAllowThreads(__tstate);
29102 if (PyErr_Occurred()) SWIG_fail;
29103 }
29104 Py_INCREF(Py_None); resultobj = Py_None;
29105 return resultobj;
29106 fail:
29107 return NULL;
29108}
29109
29110
c370783e 29111static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29112 PyObject *resultobj;
29113 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29114 wxTreeItemId *arg2 = 0 ;
29115 bool result;
29116 PyObject * obj0 = 0 ;
29117 PyObject * obj1 = 0 ;
29118 char *kwnames[] = {
29119 (char *) "self",(char *) "item", NULL
29120 };
29121
29122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29124 if (SWIG_arg_fail(1)) SWIG_fail;
29125 {
29126 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29127 if (SWIG_arg_fail(2)) SWIG_fail;
29128 if (arg2 == NULL) {
29129 SWIG_null_ref("wxTreeItemId");
29130 }
29131 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29132 }
29133 {
29134 PyThreadState* __tstate = wxPyBeginAllowThreads();
29135 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29136
29137 wxPyEndAllowThreads(__tstate);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
29140 {
29141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29142 }
29143 return resultobj;
29144 fail:
29145 return NULL;
29146}
29147
29148
c370783e 29149static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29150 PyObject *resultobj;
29151 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29152 wxTreeItemId *arg2 = 0 ;
29153 bool result;
29154 PyObject * obj0 = 0 ;
29155 PyObject * obj1 = 0 ;
29156 char *kwnames[] = {
29157 (char *) "self",(char *) "item", NULL
29158 };
29159
29160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29162 if (SWIG_arg_fail(1)) SWIG_fail;
29163 {
29164 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29165 if (SWIG_arg_fail(2)) SWIG_fail;
29166 if (arg2 == NULL) {
29167 SWIG_null_ref("wxTreeItemId");
29168 }
29169 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29170 }
29171 {
29172 PyThreadState* __tstate = wxPyBeginAllowThreads();
29173 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29174
29175 wxPyEndAllowThreads(__tstate);
29176 if (PyErr_Occurred()) SWIG_fail;
29177 }
29178 {
29179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29180 }
29181 return resultobj;
29182 fail:
29183 return NULL;
29184}
29185
29186
c370783e 29187static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29188 PyObject *resultobj;
29189 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29190 wxTreeItemId *arg2 = 0 ;
29191 bool result;
29192 PyObject * obj0 = 0 ;
29193 PyObject * obj1 = 0 ;
29194 char *kwnames[] = {
29195 (char *) "self",(char *) "item", NULL
29196 };
29197
29198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29200 if (SWIG_arg_fail(1)) SWIG_fail;
29201 {
29202 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29203 if (SWIG_arg_fail(2)) SWIG_fail;
29204 if (arg2 == NULL) {
29205 SWIG_null_ref("wxTreeItemId");
29206 }
29207 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29208 }
29209 {
29210 PyThreadState* __tstate = wxPyBeginAllowThreads();
29211 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29212
29213 wxPyEndAllowThreads(__tstate);
29214 if (PyErr_Occurred()) SWIG_fail;
29215 }
29216 {
29217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29218 }
29219 return resultobj;
29220 fail:
29221 return NULL;
29222}
29223
29224
c370783e 29225static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29226 PyObject *resultobj;
29227 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29228 wxTreeItemId *arg2 = 0 ;
29229 bool result;
29230 PyObject * obj0 = 0 ;
29231 PyObject * obj1 = 0 ;
29232 char *kwnames[] = {
29233 (char *) "self",(char *) "item", NULL
29234 };
29235
29236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29238 if (SWIG_arg_fail(1)) SWIG_fail;
29239 {
29240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29241 if (SWIG_arg_fail(2)) SWIG_fail;
29242 if (arg2 == NULL) {
29243 SWIG_null_ref("wxTreeItemId");
29244 }
29245 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29246 }
29247 {
29248 PyThreadState* __tstate = wxPyBeginAllowThreads();
29249 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29250
29251 wxPyEndAllowThreads(__tstate);
29252 if (PyErr_Occurred()) SWIG_fail;
29253 }
29254 {
29255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29256 }
29257 return resultobj;
29258 fail:
29259 return NULL;
29260}
29261
29262
c370783e 29263static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29264 PyObject *resultobj;
29265 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29266 wxTreeItemId *arg2 = 0 ;
29267 bool result;
29268 PyObject * obj0 = 0 ;
29269 PyObject * obj1 = 0 ;
29270 char *kwnames[] = {
29271 (char *) "self",(char *) "item", NULL
29272 };
29273
29274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29276 if (SWIG_arg_fail(1)) SWIG_fail;
29277 {
29278 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29279 if (SWIG_arg_fail(2)) SWIG_fail;
29280 if (arg2 == NULL) {
29281 SWIG_null_ref("wxTreeItemId");
29282 }
29283 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29284 }
29285 {
29286 PyThreadState* __tstate = wxPyBeginAllowThreads();
29287 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29288
29289 wxPyEndAllowThreads(__tstate);
29290 if (PyErr_Occurred()) SWIG_fail;
29291 }
29292 {
29293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29294 }
29295 return resultobj;
29296 fail:
29297 return NULL;
29298}
29299
29300
c370783e 29301static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29302 PyObject *resultobj;
29303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29304 wxTreeItemId *arg2 = 0 ;
b411df4a 29305 bool arg3 = (bool) true ;
d55e5bfc
RD
29306 size_t result;
29307 PyObject * obj0 = 0 ;
29308 PyObject * obj1 = 0 ;
29309 PyObject * obj2 = 0 ;
29310 char *kwnames[] = {
29311 (char *) "self",(char *) "item",(char *) "recursively", NULL
29312 };
29313
29314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29316 if (SWIG_arg_fail(1)) SWIG_fail;
29317 {
29318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29319 if (SWIG_arg_fail(2)) SWIG_fail;
29320 if (arg2 == NULL) {
29321 SWIG_null_ref("wxTreeItemId");
29322 }
29323 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29324 }
29325 if (obj2) {
36ed4f51
RD
29326 {
29327 arg3 = (bool)(SWIG_As_bool(obj2));
29328 if (SWIG_arg_fail(3)) SWIG_fail;
29329 }
d55e5bfc
RD
29330 }
29331 {
29332 PyThreadState* __tstate = wxPyBeginAllowThreads();
29333 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29334
29335 wxPyEndAllowThreads(__tstate);
29336 if (PyErr_Occurred()) SWIG_fail;
29337 }
36ed4f51
RD
29338 {
29339 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29340 }
d55e5bfc
RD
29341 return resultobj;
29342 fail:
29343 return NULL;
29344}
29345
29346
c370783e 29347static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29348 PyObject *resultobj;
29349 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29350 wxTreeItemId result;
29351 PyObject * obj0 = 0 ;
29352 char *kwnames[] = {
29353 (char *) "self", NULL
29354 };
29355
29356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
29357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29359 {
29360 PyThreadState* __tstate = wxPyBeginAllowThreads();
29361 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29362
29363 wxPyEndAllowThreads(__tstate);
29364 if (PyErr_Occurred()) SWIG_fail;
29365 }
29366 {
29367 wxTreeItemId * resultptr;
36ed4f51 29368 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29369 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29370 }
29371 return resultobj;
29372 fail:
29373 return NULL;
29374}
29375
29376
c370783e 29377static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29378 PyObject *resultobj;
29379 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29380 wxTreeItemId result;
29381 PyObject * obj0 = 0 ;
29382 char *kwnames[] = {
29383 (char *) "self", NULL
29384 };
29385
29386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
29387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29389 {
29390 PyThreadState* __tstate = wxPyBeginAllowThreads();
29391 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29392
29393 wxPyEndAllowThreads(__tstate);
29394 if (PyErr_Occurred()) SWIG_fail;
29395 }
29396 {
29397 wxTreeItemId * resultptr;
36ed4f51 29398 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29399 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29400 }
29401 return resultobj;
29402 fail:
29403 return NULL;
29404}
29405
29406
c370783e 29407static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29408 PyObject *resultobj;
29409 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29410 PyObject *result;
29411 PyObject * obj0 = 0 ;
29412 char *kwnames[] = {
29413 (char *) "self", NULL
29414 };
29415
29416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
29417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29418 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29419 {
29420 PyThreadState* __tstate = wxPyBeginAllowThreads();
29421 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29422
29423 wxPyEndAllowThreads(__tstate);
29424 if (PyErr_Occurred()) SWIG_fail;
29425 }
29426 resultobj = result;
29427 return resultobj;
29428 fail:
29429 return NULL;
29430}
29431
29432
c370783e 29433static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29434 PyObject *resultobj;
29435 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29436 wxTreeItemId *arg2 = 0 ;
29437 wxTreeItemId result;
29438 PyObject * obj0 = 0 ;
29439 PyObject * obj1 = 0 ;
29440 char *kwnames[] = {
29441 (char *) "self",(char *) "item", NULL
29442 };
29443
29444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29446 if (SWIG_arg_fail(1)) SWIG_fail;
29447 {
29448 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29449 if (SWIG_arg_fail(2)) SWIG_fail;
29450 if (arg2 == NULL) {
29451 SWIG_null_ref("wxTreeItemId");
29452 }
29453 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29454 }
29455 {
29456 PyThreadState* __tstate = wxPyBeginAllowThreads();
29457 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29458
29459 wxPyEndAllowThreads(__tstate);
29460 if (PyErr_Occurred()) SWIG_fail;
29461 }
29462 {
29463 wxTreeItemId * resultptr;
36ed4f51 29464 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29466 }
29467 return resultobj;
29468 fail:
29469 return NULL;
29470}
29471
29472
c370783e 29473static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29474 PyObject *resultobj;
29475 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29476 wxTreeItemId *arg2 = 0 ;
29477 PyObject *result;
29478 PyObject * obj0 = 0 ;
29479 PyObject * obj1 = 0 ;
29480 char *kwnames[] = {
29481 (char *) "self",(char *) "item", NULL
29482 };
29483
29484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29486 if (SWIG_arg_fail(1)) SWIG_fail;
29487 {
29488 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29489 if (SWIG_arg_fail(2)) SWIG_fail;
29490 if (arg2 == NULL) {
29491 SWIG_null_ref("wxTreeItemId");
29492 }
29493 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29494 }
29495 {
29496 PyThreadState* __tstate = wxPyBeginAllowThreads();
29497 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29498
29499 wxPyEndAllowThreads(__tstate);
29500 if (PyErr_Occurred()) SWIG_fail;
29501 }
29502 resultobj = result;
29503 return resultobj;
29504 fail:
29505 return NULL;
29506}
29507
29508
c370783e 29509static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29510 PyObject *resultobj;
29511 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29512 wxTreeItemId *arg2 = 0 ;
29513 void *arg3 = (void *) 0 ;
29514 PyObject *result;
29515 PyObject * obj0 = 0 ;
29516 PyObject * obj1 = 0 ;
29517 PyObject * obj2 = 0 ;
29518 char *kwnames[] = {
29519 (char *) "self",(char *) "item",(char *) "cookie", NULL
29520 };
29521
29522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29524 if (SWIG_arg_fail(1)) SWIG_fail;
29525 {
29526 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29527 if (SWIG_arg_fail(2)) SWIG_fail;
29528 if (arg2 == NULL) {
29529 SWIG_null_ref("wxTreeItemId");
29530 }
29531 if (SWIG_arg_fail(2)) SWIG_fail;
29532 }
29533 {
29534 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29535 SWIG_arg_fail(3);SWIG_fail;
29536 }
d55e5bfc 29537 }
d55e5bfc
RD
29538 {
29539 PyThreadState* __tstate = wxPyBeginAllowThreads();
29540 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29541
29542 wxPyEndAllowThreads(__tstate);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 }
29545 resultobj = result;
29546 return resultobj;
29547 fail:
29548 return NULL;
29549}
29550
29551
c370783e 29552static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29553 PyObject *resultobj;
29554 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29555 wxTreeItemId *arg2 = 0 ;
29556 wxTreeItemId result;
29557 PyObject * obj0 = 0 ;
29558 PyObject * obj1 = 0 ;
29559 char *kwnames[] = {
29560 (char *) "self",(char *) "item", NULL
29561 };
29562
29563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29565 if (SWIG_arg_fail(1)) SWIG_fail;
29566 {
29567 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29568 if (SWIG_arg_fail(2)) SWIG_fail;
29569 if (arg2 == NULL) {
29570 SWIG_null_ref("wxTreeItemId");
29571 }
29572 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29573 }
29574 {
29575 PyThreadState* __tstate = wxPyBeginAllowThreads();
29576 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29577
29578 wxPyEndAllowThreads(__tstate);
29579 if (PyErr_Occurred()) SWIG_fail;
29580 }
29581 {
29582 wxTreeItemId * resultptr;
36ed4f51 29583 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29585 }
29586 return resultobj;
29587 fail:
29588 return NULL;
29589}
29590
29591
c370783e 29592static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29593 PyObject *resultobj;
29594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29595 wxTreeItemId *arg2 = 0 ;
29596 wxTreeItemId result;
29597 PyObject * obj0 = 0 ;
29598 PyObject * obj1 = 0 ;
29599 char *kwnames[] = {
29600 (char *) "self",(char *) "item", NULL
29601 };
29602
29603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29605 if (SWIG_arg_fail(1)) SWIG_fail;
29606 {
29607 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29608 if (SWIG_arg_fail(2)) SWIG_fail;
29609 if (arg2 == NULL) {
29610 SWIG_null_ref("wxTreeItemId");
29611 }
29612 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29613 }
29614 {
29615 PyThreadState* __tstate = wxPyBeginAllowThreads();
29616 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29617
29618 wxPyEndAllowThreads(__tstate);
29619 if (PyErr_Occurred()) SWIG_fail;
29620 }
29621 {
29622 wxTreeItemId * resultptr;
36ed4f51 29623 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29625 }
29626 return resultobj;
29627 fail:
29628 return NULL;
29629}
29630
29631
c370783e 29632static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29633 PyObject *resultobj;
29634 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29635 wxTreeItemId *arg2 = 0 ;
29636 wxTreeItemId result;
29637 PyObject * obj0 = 0 ;
29638 PyObject * obj1 = 0 ;
29639 char *kwnames[] = {
29640 (char *) "self",(char *) "item", NULL
29641 };
29642
29643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29645 if (SWIG_arg_fail(1)) SWIG_fail;
29646 {
29647 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29648 if (SWIG_arg_fail(2)) SWIG_fail;
29649 if (arg2 == NULL) {
29650 SWIG_null_ref("wxTreeItemId");
29651 }
29652 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29653 }
29654 {
29655 PyThreadState* __tstate = wxPyBeginAllowThreads();
29656 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29657
29658 wxPyEndAllowThreads(__tstate);
29659 if (PyErr_Occurred()) SWIG_fail;
29660 }
29661 {
29662 wxTreeItemId * resultptr;
36ed4f51 29663 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29664 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29665 }
29666 return resultobj;
29667 fail:
29668 return NULL;
29669}
29670
29671
c370783e 29672static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29673 PyObject *resultobj;
29674 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29675 wxTreeItemId result;
29676 PyObject * obj0 = 0 ;
29677 char *kwnames[] = {
29678 (char *) "self", NULL
29679 };
29680
29681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
29682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29683 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29684 {
29685 PyThreadState* __tstate = wxPyBeginAllowThreads();
29686 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29687
29688 wxPyEndAllowThreads(__tstate);
29689 if (PyErr_Occurred()) SWIG_fail;
29690 }
29691 {
29692 wxTreeItemId * resultptr;
36ed4f51 29693 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29695 }
29696 return resultobj;
29697 fail:
29698 return NULL;
29699}
29700
29701
c370783e 29702static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29703 PyObject *resultobj;
29704 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29705 wxTreeItemId *arg2 = 0 ;
29706 wxTreeItemId result;
29707 PyObject * obj0 = 0 ;
29708 PyObject * obj1 = 0 ;
29709 char *kwnames[] = {
29710 (char *) "self",(char *) "item", NULL
29711 };
29712
29713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29715 if (SWIG_arg_fail(1)) SWIG_fail;
29716 {
29717 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29718 if (SWIG_arg_fail(2)) SWIG_fail;
29719 if (arg2 == NULL) {
29720 SWIG_null_ref("wxTreeItemId");
29721 }
29722 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29723 }
29724 {
29725 PyThreadState* __tstate = wxPyBeginAllowThreads();
29726 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29727
29728 wxPyEndAllowThreads(__tstate);
29729 if (PyErr_Occurred()) SWIG_fail;
29730 }
29731 {
29732 wxTreeItemId * resultptr;
36ed4f51 29733 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29734 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29735 }
29736 return resultobj;
29737 fail:
29738 return NULL;
29739}
29740
29741
c370783e 29742static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29743 PyObject *resultobj;
29744 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29745 wxTreeItemId *arg2 = 0 ;
29746 wxTreeItemId result;
29747 PyObject * obj0 = 0 ;
29748 PyObject * obj1 = 0 ;
29749 char *kwnames[] = {
29750 (char *) "self",(char *) "item", NULL
29751 };
29752
29753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29755 if (SWIG_arg_fail(1)) SWIG_fail;
29756 {
29757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29758 if (SWIG_arg_fail(2)) SWIG_fail;
29759 if (arg2 == NULL) {
29760 SWIG_null_ref("wxTreeItemId");
29761 }
29762 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29763 }
29764 {
29765 PyThreadState* __tstate = wxPyBeginAllowThreads();
29766 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29767
29768 wxPyEndAllowThreads(__tstate);
29769 if (PyErr_Occurred()) SWIG_fail;
29770 }
29771 {
29772 wxTreeItemId * resultptr;
36ed4f51 29773 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29775 }
29776 return resultobj;
29777 fail:
29778 return NULL;
29779}
29780
29781
c370783e 29782static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29783 PyObject *resultobj;
29784 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29785 wxString *arg2 = 0 ;
29786 int arg3 = (int) -1 ;
29787 int arg4 = (int) -1 ;
29788 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29789 wxTreeItemId result;
b411df4a 29790 bool temp2 = false ;
d55e5bfc
RD
29791 PyObject * obj0 = 0 ;
29792 PyObject * obj1 = 0 ;
29793 PyObject * obj2 = 0 ;
29794 PyObject * obj3 = 0 ;
29795 PyObject * obj4 = 0 ;
29796 char *kwnames[] = {
29797 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29798 };
29799
29800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
29801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29803 {
29804 arg2 = wxString_in_helper(obj1);
29805 if (arg2 == NULL) SWIG_fail;
b411df4a 29806 temp2 = true;
d55e5bfc
RD
29807 }
29808 if (obj2) {
36ed4f51
RD
29809 {
29810 arg3 = (int)(SWIG_As_int(obj2));
29811 if (SWIG_arg_fail(3)) SWIG_fail;
29812 }
d55e5bfc
RD
29813 }
29814 if (obj3) {
36ed4f51
RD
29815 {
29816 arg4 = (int)(SWIG_As_int(obj3));
29817 if (SWIG_arg_fail(4)) SWIG_fail;
29818 }
d55e5bfc
RD
29819 }
29820 if (obj4) {
36ed4f51
RD
29821 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29822 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
29823 }
29824 {
29825 PyThreadState* __tstate = wxPyBeginAllowThreads();
29826 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29827
29828 wxPyEndAllowThreads(__tstate);
29829 if (PyErr_Occurred()) SWIG_fail;
29830 }
29831 {
29832 wxTreeItemId * resultptr;
36ed4f51 29833 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29835 }
29836 {
29837 if (temp2)
29838 delete arg2;
29839 }
29840 return resultobj;
29841 fail:
29842 {
29843 if (temp2)
29844 delete arg2;
29845 }
29846 return NULL;
29847}
29848
29849
c370783e 29850static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29851 PyObject *resultobj;
29852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29853 wxTreeItemId *arg2 = 0 ;
29854 wxString *arg3 = 0 ;
29855 int arg4 = (int) -1 ;
29856 int arg5 = (int) -1 ;
29857 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29858 wxTreeItemId result;
b411df4a 29859 bool temp3 = false ;
d55e5bfc
RD
29860 PyObject * obj0 = 0 ;
29861 PyObject * obj1 = 0 ;
29862 PyObject * obj2 = 0 ;
29863 PyObject * obj3 = 0 ;
29864 PyObject * obj4 = 0 ;
29865 PyObject * obj5 = 0 ;
29866 char *kwnames[] = {
29867 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29868 };
29869
29870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
29871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29872 if (SWIG_arg_fail(1)) SWIG_fail;
29873 {
29874 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29875 if (SWIG_arg_fail(2)) SWIG_fail;
29876 if (arg2 == NULL) {
29877 SWIG_null_ref("wxTreeItemId");
29878 }
29879 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29880 }
29881 {
29882 arg3 = wxString_in_helper(obj2);
29883 if (arg3 == NULL) SWIG_fail;
b411df4a 29884 temp3 = true;
d55e5bfc
RD
29885 }
29886 if (obj3) {
36ed4f51
RD
29887 {
29888 arg4 = (int)(SWIG_As_int(obj3));
29889 if (SWIG_arg_fail(4)) SWIG_fail;
29890 }
d55e5bfc
RD
29891 }
29892 if (obj4) {
36ed4f51
RD
29893 {
29894 arg5 = (int)(SWIG_As_int(obj4));
29895 if (SWIG_arg_fail(5)) SWIG_fail;
29896 }
d55e5bfc
RD
29897 }
29898 if (obj5) {
36ed4f51
RD
29899 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29900 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
29901 }
29902 {
29903 PyThreadState* __tstate = wxPyBeginAllowThreads();
29904 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
29905
29906 wxPyEndAllowThreads(__tstate);
29907 if (PyErr_Occurred()) SWIG_fail;
29908 }
29909 {
29910 wxTreeItemId * resultptr;
36ed4f51 29911 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29913 }
29914 {
29915 if (temp3)
29916 delete arg3;
29917 }
29918 return resultobj;
29919 fail:
29920 {
29921 if (temp3)
29922 delete arg3;
29923 }
29924 return NULL;
29925}
29926
29927
c370783e 29928static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29929 PyObject *resultobj;
29930 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29931 wxTreeItemId *arg2 = 0 ;
29932 wxTreeItemId *arg3 = 0 ;
29933 wxString *arg4 = 0 ;
29934 int arg5 = (int) -1 ;
29935 int arg6 = (int) -1 ;
29936 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
29937 wxTreeItemId result;
b411df4a 29938 bool temp4 = false ;
d55e5bfc
RD
29939 PyObject * obj0 = 0 ;
29940 PyObject * obj1 = 0 ;
29941 PyObject * obj2 = 0 ;
29942 PyObject * obj3 = 0 ;
29943 PyObject * obj4 = 0 ;
29944 PyObject * obj5 = 0 ;
29945 PyObject * obj6 = 0 ;
29946 char *kwnames[] = {
29947 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29948 };
29949
29950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
29951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29952 if (SWIG_arg_fail(1)) SWIG_fail;
29953 {
29954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29955 if (SWIG_arg_fail(2)) SWIG_fail;
29956 if (arg2 == NULL) {
29957 SWIG_null_ref("wxTreeItemId");
29958 }
29959 if (SWIG_arg_fail(2)) SWIG_fail;
29960 }
29961 {
29962 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29963 if (SWIG_arg_fail(3)) SWIG_fail;
29964 if (arg3 == NULL) {
29965 SWIG_null_ref("wxTreeItemId");
29966 }
29967 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29968 }
29969 {
29970 arg4 = wxString_in_helper(obj3);
29971 if (arg4 == NULL) SWIG_fail;
b411df4a 29972 temp4 = true;
d55e5bfc
RD
29973 }
29974 if (obj4) {
36ed4f51
RD
29975 {
29976 arg5 = (int)(SWIG_As_int(obj4));
29977 if (SWIG_arg_fail(5)) SWIG_fail;
29978 }
d55e5bfc
RD
29979 }
29980 if (obj5) {
36ed4f51
RD
29981 {
29982 arg6 = (int)(SWIG_As_int(obj5));
29983 if (SWIG_arg_fail(6)) SWIG_fail;
29984 }
d55e5bfc
RD
29985 }
29986 if (obj6) {
36ed4f51
RD
29987 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29988 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
29989 }
29990 {
29991 PyThreadState* __tstate = wxPyBeginAllowThreads();
29992 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
29993
29994 wxPyEndAllowThreads(__tstate);
29995 if (PyErr_Occurred()) SWIG_fail;
29996 }
29997 {
29998 wxTreeItemId * resultptr;
36ed4f51 29999 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30000 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30001 }
30002 {
30003 if (temp4)
30004 delete arg4;
30005 }
30006 return resultobj;
30007 fail:
30008 {
30009 if (temp4)
30010 delete arg4;
30011 }
30012 return NULL;
30013}
30014
30015
c370783e 30016static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30017 PyObject *resultobj;
30018 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30019 wxTreeItemId *arg2 = 0 ;
30020 size_t arg3 ;
30021 wxString *arg4 = 0 ;
30022 int arg5 = (int) -1 ;
30023 int arg6 = (int) -1 ;
30024 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30025 wxTreeItemId result;
b411df4a 30026 bool temp4 = false ;
d55e5bfc
RD
30027 PyObject * obj0 = 0 ;
30028 PyObject * obj1 = 0 ;
30029 PyObject * obj2 = 0 ;
30030 PyObject * obj3 = 0 ;
30031 PyObject * obj4 = 0 ;
30032 PyObject * obj5 = 0 ;
30033 PyObject * obj6 = 0 ;
30034 char *kwnames[] = {
30035 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30036 };
30037
30038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
30039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30040 if (SWIG_arg_fail(1)) SWIG_fail;
30041 {
30042 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30043 if (SWIG_arg_fail(2)) SWIG_fail;
30044 if (arg2 == NULL) {
30045 SWIG_null_ref("wxTreeItemId");
30046 }
30047 if (SWIG_arg_fail(2)) SWIG_fail;
30048 }
30049 {
30050 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30051 if (SWIG_arg_fail(3)) SWIG_fail;
30052 }
d55e5bfc
RD
30053 {
30054 arg4 = wxString_in_helper(obj3);
30055 if (arg4 == NULL) SWIG_fail;
b411df4a 30056 temp4 = true;
d55e5bfc
RD
30057 }
30058 if (obj4) {
36ed4f51
RD
30059 {
30060 arg5 = (int)(SWIG_As_int(obj4));
30061 if (SWIG_arg_fail(5)) SWIG_fail;
30062 }
d55e5bfc
RD
30063 }
30064 if (obj5) {
36ed4f51
RD
30065 {
30066 arg6 = (int)(SWIG_As_int(obj5));
30067 if (SWIG_arg_fail(6)) SWIG_fail;
30068 }
d55e5bfc
RD
30069 }
30070 if (obj6) {
36ed4f51
RD
30071 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30072 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30073 }
30074 {
30075 PyThreadState* __tstate = wxPyBeginAllowThreads();
30076 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30077
30078 wxPyEndAllowThreads(__tstate);
30079 if (PyErr_Occurred()) SWIG_fail;
30080 }
30081 {
30082 wxTreeItemId * resultptr;
36ed4f51 30083 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30085 }
30086 {
30087 if (temp4)
30088 delete arg4;
30089 }
30090 return resultobj;
30091 fail:
30092 {
30093 if (temp4)
30094 delete arg4;
30095 }
30096 return NULL;
30097}
30098
30099
c370783e 30100static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30101 PyObject *resultobj;
30102 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30103 wxTreeItemId *arg2 = 0 ;
30104 wxString *arg3 = 0 ;
30105 int arg4 = (int) -1 ;
30106 int arg5 = (int) -1 ;
30107 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30108 wxTreeItemId result;
b411df4a 30109 bool temp3 = false ;
d55e5bfc
RD
30110 PyObject * obj0 = 0 ;
30111 PyObject * obj1 = 0 ;
30112 PyObject * obj2 = 0 ;
30113 PyObject * obj3 = 0 ;
30114 PyObject * obj4 = 0 ;
30115 PyObject * obj5 = 0 ;
30116 char *kwnames[] = {
30117 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30118 };
30119
30120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
30121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30122 if (SWIG_arg_fail(1)) SWIG_fail;
30123 {
30124 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30125 if (SWIG_arg_fail(2)) SWIG_fail;
30126 if (arg2 == NULL) {
30127 SWIG_null_ref("wxTreeItemId");
30128 }
30129 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30130 }
30131 {
30132 arg3 = wxString_in_helper(obj2);
30133 if (arg3 == NULL) SWIG_fail;
b411df4a 30134 temp3 = true;
d55e5bfc
RD
30135 }
30136 if (obj3) {
36ed4f51
RD
30137 {
30138 arg4 = (int)(SWIG_As_int(obj3));
30139 if (SWIG_arg_fail(4)) SWIG_fail;
30140 }
d55e5bfc
RD
30141 }
30142 if (obj4) {
36ed4f51
RD
30143 {
30144 arg5 = (int)(SWIG_As_int(obj4));
30145 if (SWIG_arg_fail(5)) SWIG_fail;
30146 }
d55e5bfc
RD
30147 }
30148 if (obj5) {
36ed4f51
RD
30149 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30150 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
30151 }
30152 {
30153 PyThreadState* __tstate = wxPyBeginAllowThreads();
30154 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30155
30156 wxPyEndAllowThreads(__tstate);
30157 if (PyErr_Occurred()) SWIG_fail;
30158 }
30159 {
30160 wxTreeItemId * resultptr;
36ed4f51 30161 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30163 }
30164 {
30165 if (temp3)
30166 delete arg3;
30167 }
30168 return resultobj;
30169 fail:
30170 {
30171 if (temp3)
30172 delete arg3;
30173 }
30174 return NULL;
30175}
30176
30177
c370783e 30178static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30179 PyObject *resultobj;
30180 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30181 wxTreeItemId *arg2 = 0 ;
30182 PyObject * obj0 = 0 ;
30183 PyObject * obj1 = 0 ;
30184 char *kwnames[] = {
30185 (char *) "self",(char *) "item", NULL
30186 };
30187
30188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30190 if (SWIG_arg_fail(1)) SWIG_fail;
30191 {
30192 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30193 if (SWIG_arg_fail(2)) SWIG_fail;
30194 if (arg2 == NULL) {
30195 SWIG_null_ref("wxTreeItemId");
30196 }
30197 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30198 }
30199 {
30200 PyThreadState* __tstate = wxPyBeginAllowThreads();
30201 (arg1)->Delete((wxTreeItemId const &)*arg2);
30202
30203 wxPyEndAllowThreads(__tstate);
30204 if (PyErr_Occurred()) SWIG_fail;
30205 }
30206 Py_INCREF(Py_None); resultobj = Py_None;
30207 return resultobj;
30208 fail:
30209 return NULL;
30210}
30211
30212
c370783e 30213static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30214 PyObject *resultobj;
30215 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30216 wxTreeItemId *arg2 = 0 ;
30217 PyObject * obj0 = 0 ;
30218 PyObject * obj1 = 0 ;
30219 char *kwnames[] = {
30220 (char *) "self",(char *) "item", NULL
30221 };
30222
30223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30225 if (SWIG_arg_fail(1)) SWIG_fail;
30226 {
30227 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30228 if (SWIG_arg_fail(2)) SWIG_fail;
30229 if (arg2 == NULL) {
30230 SWIG_null_ref("wxTreeItemId");
30231 }
30232 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30233 }
30234 {
30235 PyThreadState* __tstate = wxPyBeginAllowThreads();
30236 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30237
30238 wxPyEndAllowThreads(__tstate);
30239 if (PyErr_Occurred()) SWIG_fail;
30240 }
30241 Py_INCREF(Py_None); resultobj = Py_None;
30242 return resultobj;
30243 fail:
30244 return NULL;
30245}
30246
30247
c370783e 30248static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30249 PyObject *resultobj;
30250 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30251 PyObject * obj0 = 0 ;
30252 char *kwnames[] = {
30253 (char *) "self", NULL
30254 };
30255
30256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
36ed4f51
RD
30257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30259 {
30260 PyThreadState* __tstate = wxPyBeginAllowThreads();
30261 (arg1)->DeleteAllItems();
30262
30263 wxPyEndAllowThreads(__tstate);
30264 if (PyErr_Occurred()) SWIG_fail;
30265 }
30266 Py_INCREF(Py_None); resultobj = Py_None;
30267 return resultobj;
30268 fail:
30269 return NULL;
30270}
30271
30272
c370783e 30273static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30274 PyObject *resultobj;
30275 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30276 wxTreeItemId *arg2 = 0 ;
30277 PyObject * obj0 = 0 ;
30278 PyObject * obj1 = 0 ;
30279 char *kwnames[] = {
30280 (char *) "self",(char *) "item", NULL
30281 };
30282
30283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30285 if (SWIG_arg_fail(1)) SWIG_fail;
30286 {
30287 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30288 if (SWIG_arg_fail(2)) SWIG_fail;
30289 if (arg2 == NULL) {
30290 SWIG_null_ref("wxTreeItemId");
30291 }
30292 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30293 }
30294 {
30295 PyThreadState* __tstate = wxPyBeginAllowThreads();
30296 (arg1)->Expand((wxTreeItemId const &)*arg2);
30297
30298 wxPyEndAllowThreads(__tstate);
30299 if (PyErr_Occurred()) SWIG_fail;
30300 }
30301 Py_INCREF(Py_None); resultobj = Py_None;
30302 return resultobj;
30303 fail:
30304 return NULL;
30305}
30306
30307
c370783e 30308static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30309 PyObject *resultobj;
30310 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30311 wxTreeItemId *arg2 = 0 ;
30312 PyObject * obj0 = 0 ;
30313 PyObject * obj1 = 0 ;
30314 char *kwnames[] = {
30315 (char *) "self",(char *) "item", NULL
30316 };
30317
30318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30320 if (SWIG_arg_fail(1)) SWIG_fail;
30321 {
30322 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30323 if (SWIG_arg_fail(2)) SWIG_fail;
30324 if (arg2 == NULL) {
30325 SWIG_null_ref("wxTreeItemId");
30326 }
30327 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30328 }
30329 {
30330 PyThreadState* __tstate = wxPyBeginAllowThreads();
30331 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30332
30333 wxPyEndAllowThreads(__tstate);
30334 if (PyErr_Occurred()) SWIG_fail;
30335 }
30336 Py_INCREF(Py_None); resultobj = Py_None;
30337 return resultobj;
30338 fail:
30339 return NULL;
30340}
30341
30342
c370783e 30343static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30344 PyObject *resultobj;
30345 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30346 wxTreeItemId *arg2 = 0 ;
30347 PyObject * obj0 = 0 ;
30348 PyObject * obj1 = 0 ;
30349 char *kwnames[] = {
30350 (char *) "self",(char *) "item", NULL
30351 };
30352
30353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30355 if (SWIG_arg_fail(1)) SWIG_fail;
30356 {
30357 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30358 if (SWIG_arg_fail(2)) SWIG_fail;
30359 if (arg2 == NULL) {
30360 SWIG_null_ref("wxTreeItemId");
30361 }
30362 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30363 }
30364 {
30365 PyThreadState* __tstate = wxPyBeginAllowThreads();
30366 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30367
30368 wxPyEndAllowThreads(__tstate);
30369 if (PyErr_Occurred()) SWIG_fail;
30370 }
30371 Py_INCREF(Py_None); resultobj = Py_None;
30372 return resultobj;
30373 fail:
30374 return NULL;
30375}
30376
30377
c370783e 30378static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30379 PyObject *resultobj;
30380 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30381 wxTreeItemId *arg2 = 0 ;
30382 PyObject * obj0 = 0 ;
30383 PyObject * obj1 = 0 ;
30384 char *kwnames[] = {
30385 (char *) "self",(char *) "item", NULL
30386 };
30387
30388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30390 if (SWIG_arg_fail(1)) SWIG_fail;
30391 {
30392 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30393 if (SWIG_arg_fail(2)) SWIG_fail;
30394 if (arg2 == NULL) {
30395 SWIG_null_ref("wxTreeItemId");
30396 }
30397 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30398 }
30399 {
30400 PyThreadState* __tstate = wxPyBeginAllowThreads();
30401 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30402
30403 wxPyEndAllowThreads(__tstate);
30404 if (PyErr_Occurred()) SWIG_fail;
30405 }
30406 Py_INCREF(Py_None); resultobj = Py_None;
30407 return resultobj;
30408 fail:
30409 return NULL;
30410}
30411
30412
c370783e 30413static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30414 PyObject *resultobj;
30415 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30416 PyObject * obj0 = 0 ;
30417 char *kwnames[] = {
30418 (char *) "self", NULL
30419 };
30420
30421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
36ed4f51
RD
30422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30424 {
30425 PyThreadState* __tstate = wxPyBeginAllowThreads();
30426 (arg1)->Unselect();
30427
30428 wxPyEndAllowThreads(__tstate);
30429 if (PyErr_Occurred()) SWIG_fail;
30430 }
30431 Py_INCREF(Py_None); resultobj = Py_None;
30432 return resultobj;
30433 fail:
30434 return NULL;
30435}
30436
30437
c370783e 30438static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30439 PyObject *resultobj;
30440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30441 wxTreeItemId *arg2 = 0 ;
30442 PyObject * obj0 = 0 ;
30443 PyObject * obj1 = 0 ;
30444 char *kwnames[] = {
30445 (char *) "self",(char *) "item", NULL
30446 };
30447
30448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30450 if (SWIG_arg_fail(1)) SWIG_fail;
30451 {
30452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30453 if (SWIG_arg_fail(2)) SWIG_fail;
30454 if (arg2 == NULL) {
30455 SWIG_null_ref("wxTreeItemId");
30456 }
30457 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30458 }
30459 {
30460 PyThreadState* __tstate = wxPyBeginAllowThreads();
30461 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30462
30463 wxPyEndAllowThreads(__tstate);
30464 if (PyErr_Occurred()) SWIG_fail;
30465 }
30466 Py_INCREF(Py_None); resultobj = Py_None;
30467 return resultobj;
30468 fail:
30469 return NULL;
30470}
30471
30472
c370783e 30473static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30474 PyObject *resultobj;
30475 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30476 PyObject * obj0 = 0 ;
30477 char *kwnames[] = {
30478 (char *) "self", NULL
30479 };
30480
30481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
30482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30483 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30484 {
30485 PyThreadState* __tstate = wxPyBeginAllowThreads();
30486 (arg1)->UnselectAll();
30487
30488 wxPyEndAllowThreads(__tstate);
30489 if (PyErr_Occurred()) SWIG_fail;
30490 }
30491 Py_INCREF(Py_None); resultobj = Py_None;
30492 return resultobj;
30493 fail:
30494 return NULL;
30495}
30496
30497
c370783e 30498static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30499 PyObject *resultobj;
30500 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30501 wxTreeItemId *arg2 = 0 ;
b411df4a 30502 bool arg3 = (bool) true ;
d55e5bfc
RD
30503 PyObject * obj0 = 0 ;
30504 PyObject * obj1 = 0 ;
30505 PyObject * obj2 = 0 ;
30506 char *kwnames[] = {
30507 (char *) "self",(char *) "item",(char *) "select", NULL
30508 };
30509
30510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30512 if (SWIG_arg_fail(1)) SWIG_fail;
30513 {
30514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30515 if (SWIG_arg_fail(2)) SWIG_fail;
30516 if (arg2 == NULL) {
30517 SWIG_null_ref("wxTreeItemId");
30518 }
30519 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30520 }
30521 if (obj2) {
36ed4f51
RD
30522 {
30523 arg3 = (bool)(SWIG_As_bool(obj2));
30524 if (SWIG_arg_fail(3)) SWIG_fail;
30525 }
d55e5bfc
RD
30526 }
30527 {
30528 PyThreadState* __tstate = wxPyBeginAllowThreads();
30529 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30530
30531 wxPyEndAllowThreads(__tstate);
30532 if (PyErr_Occurred()) SWIG_fail;
30533 }
30534 Py_INCREF(Py_None); resultobj = Py_None;
30535 return resultobj;
30536 fail:
30537 return NULL;
30538}
30539
30540
c370783e 30541static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30542 PyObject *resultobj;
30543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30544 wxTreeItemId *arg2 = 0 ;
30545 PyObject * obj0 = 0 ;
30546 PyObject * obj1 = 0 ;
30547 char *kwnames[] = {
30548 (char *) "self",(char *) "item", NULL
30549 };
30550
30551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30553 if (SWIG_arg_fail(1)) SWIG_fail;
30554 {
30555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30556 if (SWIG_arg_fail(2)) SWIG_fail;
30557 if (arg2 == NULL) {
30558 SWIG_null_ref("wxTreeItemId");
30559 }
30560 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30561 }
30562 {
30563 PyThreadState* __tstate = wxPyBeginAllowThreads();
30564 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30565
30566 wxPyEndAllowThreads(__tstate);
30567 if (PyErr_Occurred()) SWIG_fail;
30568 }
30569 Py_INCREF(Py_None); resultobj = Py_None;
30570 return resultobj;
30571 fail:
30572 return NULL;
30573}
30574
30575
c370783e 30576static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30577 PyObject *resultobj;
30578 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30579 wxTreeItemId *arg2 = 0 ;
30580 PyObject * obj0 = 0 ;
30581 PyObject * obj1 = 0 ;
30582 char *kwnames[] = {
30583 (char *) "self",(char *) "item", NULL
30584 };
30585
30586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30588 if (SWIG_arg_fail(1)) SWIG_fail;
30589 {
30590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30591 if (SWIG_arg_fail(2)) SWIG_fail;
30592 if (arg2 == NULL) {
30593 SWIG_null_ref("wxTreeItemId");
30594 }
30595 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30596 }
30597 {
30598 PyThreadState* __tstate = wxPyBeginAllowThreads();
30599 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30600
30601 wxPyEndAllowThreads(__tstate);
30602 if (PyErr_Occurred()) SWIG_fail;
30603 }
30604 Py_INCREF(Py_None); resultobj = Py_None;
30605 return resultobj;
30606 fail:
30607 return NULL;
30608}
30609
30610
c370783e 30611static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30612 PyObject *resultobj;
30613 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30614 wxTreeItemId *arg2 = 0 ;
30615 PyObject * obj0 = 0 ;
30616 PyObject * obj1 = 0 ;
30617 char *kwnames[] = {
30618 (char *) "self",(char *) "item", NULL
30619 };
30620
30621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30623 if (SWIG_arg_fail(1)) SWIG_fail;
30624 {
30625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30626 if (SWIG_arg_fail(2)) SWIG_fail;
30627 if (arg2 == NULL) {
30628 SWIG_null_ref("wxTreeItemId");
30629 }
30630 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30631 }
30632 {
30633 PyThreadState* __tstate = wxPyBeginAllowThreads();
30634 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30635
30636 wxPyEndAllowThreads(__tstate);
30637 if (PyErr_Occurred()) SWIG_fail;
30638 }
30639 Py_INCREF(Py_None); resultobj = Py_None;
30640 return resultobj;
30641 fail:
30642 return NULL;
30643}
30644
30645
c370783e 30646static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30647 PyObject *resultobj;
30648 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30649 wxTreeItemId *arg2 = 0 ;
30650 PyObject * obj0 = 0 ;
30651 PyObject * obj1 = 0 ;
30652 char *kwnames[] = {
30653 (char *) "self",(char *) "item", NULL
30654 };
30655
30656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30658 if (SWIG_arg_fail(1)) SWIG_fail;
30659 {
30660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30661 if (SWIG_arg_fail(2)) SWIG_fail;
30662 if (arg2 == NULL) {
30663 SWIG_null_ref("wxTreeItemId");
30664 }
30665 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30666 }
30667 {
30668 PyThreadState* __tstate = wxPyBeginAllowThreads();
30669 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30670
30671 wxPyEndAllowThreads(__tstate);
30672 if (PyErr_Occurred()) SWIG_fail;
30673 }
30674 Py_INCREF(Py_None); resultobj = Py_None;
30675 return resultobj;
30676 fail:
30677 return NULL;
30678}
30679
30680
c370783e 30681static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30682 PyObject *resultobj;
30683 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30684 wxTextCtrl *result;
30685 PyObject * obj0 = 0 ;
30686 char *kwnames[] = {
30687 (char *) "self", NULL
30688 };
30689
30690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
30691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30692 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30693 {
30694 PyThreadState* __tstate = wxPyBeginAllowThreads();
30695 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30696
30697 wxPyEndAllowThreads(__tstate);
30698 if (PyErr_Occurred()) SWIG_fail;
30699 }
30700 {
412d302d 30701 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30702 }
30703 return resultobj;
30704 fail:
30705 return NULL;
30706}
30707
30708
c370783e 30709static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30710 PyObject *resultobj;
30711 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30712 wxTreeItemId *arg2 = 0 ;
30713 PyObject * obj0 = 0 ;
30714 PyObject * obj1 = 0 ;
30715 char *kwnames[] = {
30716 (char *) "self",(char *) "item", NULL
30717 };
30718
30719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30721 if (SWIG_arg_fail(1)) SWIG_fail;
30722 {
30723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30724 if (SWIG_arg_fail(2)) SWIG_fail;
30725 if (arg2 == NULL) {
30726 SWIG_null_ref("wxTreeItemId");
30727 }
30728 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30729 }
30730 {
30731 PyThreadState* __tstate = wxPyBeginAllowThreads();
30732 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30733
30734 wxPyEndAllowThreads(__tstate);
30735 if (PyErr_Occurred()) SWIG_fail;
30736 }
30737 Py_INCREF(Py_None); resultobj = Py_None;
30738 return resultobj;
30739 fail:
30740 return NULL;
30741}
30742
30743
c370783e 30744static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30745 PyObject *resultobj;
30746 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30747 wxPoint *arg2 = 0 ;
30748 int *arg3 = 0 ;
30749 wxTreeItemId result;
30750 wxPoint temp2 ;
30751 int temp3 ;
c370783e 30752 int res3 = 0 ;
d55e5bfc
RD
30753 PyObject * obj0 = 0 ;
30754 PyObject * obj1 = 0 ;
30755 char *kwnames[] = {
30756 (char *) "self",(char *) "point", NULL
30757 };
30758
c370783e 30759 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 30760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30762 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30763 {
30764 arg2 = &temp2;
30765 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30766 }
30767 {
30768 PyThreadState* __tstate = wxPyBeginAllowThreads();
30769 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30770
30771 wxPyEndAllowThreads(__tstate);
30772 if (PyErr_Occurred()) SWIG_fail;
30773 }
30774 {
30775 wxTreeItemId * resultptr;
36ed4f51 30776 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30777 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30778 }
c370783e
RD
30779 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30780 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
30781 return resultobj;
30782 fail:
30783 return NULL;
30784}
30785
30786
c370783e 30787static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30788 PyObject *resultobj;
30789 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30790 wxTreeItemId *arg2 = 0 ;
b411df4a 30791 bool arg3 = (bool) false ;
d55e5bfc
RD
30792 PyObject *result;
30793 PyObject * obj0 = 0 ;
30794 PyObject * obj1 = 0 ;
30795 PyObject * obj2 = 0 ;
30796 char *kwnames[] = {
30797 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30798 };
30799
30800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30802 if (SWIG_arg_fail(1)) SWIG_fail;
30803 {
30804 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30805 if (SWIG_arg_fail(2)) SWIG_fail;
30806 if (arg2 == NULL) {
30807 SWIG_null_ref("wxTreeItemId");
30808 }
30809 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30810 }
30811 if (obj2) {
36ed4f51
RD
30812 {
30813 arg3 = (bool)(SWIG_As_bool(obj2));
30814 if (SWIG_arg_fail(3)) SWIG_fail;
30815 }
d55e5bfc
RD
30816 }
30817 {
30818 PyThreadState* __tstate = wxPyBeginAllowThreads();
30819 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30820
30821 wxPyEndAllowThreads(__tstate);
30822 if (PyErr_Occurred()) SWIG_fail;
30823 }
30824 resultobj = result;
30825 return resultobj;
30826 fail:
30827 return NULL;
30828}
30829
30830
c370783e 30831static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 30832 PyObject *resultobj;
36ed4f51 30833 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
30834 wxVisualAttributes result;
30835 PyObject * obj0 = 0 ;
30836 char *kwnames[] = {
30837 (char *) "variant", NULL
30838 };
30839
30840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30841 if (obj0) {
36ed4f51
RD
30842 {
30843 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30844 if (SWIG_arg_fail(1)) SWIG_fail;
30845 }
d55e5bfc
RD
30846 }
30847 {
0439c23b 30848 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30849 PyThreadState* __tstate = wxPyBeginAllowThreads();
30850 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30851
30852 wxPyEndAllowThreads(__tstate);
110da5b0 30853 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30854 }
30855 {
30856 wxVisualAttributes * resultptr;
36ed4f51 30857 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
30858 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30859 }
30860 return resultobj;
30861 fail:
30862 return NULL;
30863}
30864
30865
c370783e 30866static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30867 PyObject *obj;
30868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30869 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30870 Py_INCREF(obj);
30871 return Py_BuildValue((char *)"");
30872}
c370783e 30873static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
d55e5bfc
RD
30874 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30875 return 1;
30876}
30877
30878
36ed4f51 30879static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
d55e5bfc
RD
30880 PyObject *pyobj;
30881
30882 {
30883#if wxUSE_UNICODE
30884 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30885#else
30886 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30887#endif
30888 }
30889 return pyobj;
30890}
30891
30892
c370783e 30893static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30894 PyObject *resultobj;
30895 wxWindow *arg1 = (wxWindow *) 0 ;
30896 int arg2 = (int) (int)-1 ;
30897 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30898 wxString *arg3 = (wxString *) &arg3_defvalue ;
30899 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30900 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30901 wxSize const &arg5_defvalue = wxDefaultSize ;
30902 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30903 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
30904 wxString const &arg7_defvalue = wxPyEmptyString ;
30905 wxString *arg7 = (wxString *) &arg7_defvalue ;
30906 int arg8 = (int) 0 ;
30907 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
30908 wxString *arg9 = (wxString *) &arg9_defvalue ;
30909 wxGenericDirCtrl *result;
b411df4a 30910 bool temp3 = false ;
d55e5bfc
RD
30911 wxPoint temp4 ;
30912 wxSize temp5 ;
b411df4a
RD
30913 bool temp7 = false ;
30914 bool temp9 = false ;
d55e5bfc
RD
30915 PyObject * obj0 = 0 ;
30916 PyObject * obj1 = 0 ;
30917 PyObject * obj2 = 0 ;
30918 PyObject * obj3 = 0 ;
30919 PyObject * obj4 = 0 ;
30920 PyObject * obj5 = 0 ;
30921 PyObject * obj6 = 0 ;
30922 PyObject * obj7 = 0 ;
30923 PyObject * obj8 = 0 ;
30924 char *kwnames[] = {
30925 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30926 };
30927
30928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
30929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30930 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30931 if (obj1) {
36ed4f51
RD
30932 {
30933 arg2 = (int const)(SWIG_As_int(obj1));
30934 if (SWIG_arg_fail(2)) SWIG_fail;
30935 }
d55e5bfc
RD
30936 }
30937 if (obj2) {
30938 {
30939 arg3 = wxString_in_helper(obj2);
30940 if (arg3 == NULL) SWIG_fail;
b411df4a 30941 temp3 = true;
d55e5bfc
RD
30942 }
30943 }
30944 if (obj3) {
30945 {
30946 arg4 = &temp4;
30947 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30948 }
30949 }
30950 if (obj4) {
30951 {
30952 arg5 = &temp5;
30953 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30954 }
30955 }
30956 if (obj5) {
36ed4f51
RD
30957 {
30958 arg6 = (long)(SWIG_As_long(obj5));
30959 if (SWIG_arg_fail(6)) SWIG_fail;
30960 }
d55e5bfc
RD
30961 }
30962 if (obj6) {
30963 {
30964 arg7 = wxString_in_helper(obj6);
30965 if (arg7 == NULL) SWIG_fail;
b411df4a 30966 temp7 = true;
d55e5bfc
RD
30967 }
30968 }
30969 if (obj7) {
36ed4f51
RD
30970 {
30971 arg8 = (int)(SWIG_As_int(obj7));
30972 if (SWIG_arg_fail(8)) SWIG_fail;
30973 }
d55e5bfc
RD
30974 }
30975 if (obj8) {
30976 {
30977 arg9 = wxString_in_helper(obj8);
30978 if (arg9 == NULL) SWIG_fail;
b411df4a 30979 temp9 = true;
d55e5bfc
RD
30980 }
30981 }
30982 {
0439c23b 30983 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30984 PyThreadState* __tstate = wxPyBeginAllowThreads();
30985 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
30986
30987 wxPyEndAllowThreads(__tstate);
110da5b0 30988 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30989 }
30990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
30991 {
30992 if (temp3)
30993 delete arg3;
30994 }
30995 {
30996 if (temp7)
30997 delete arg7;
30998 }
30999 {
31000 if (temp9)
31001 delete arg9;
31002 }
31003 return resultobj;
31004 fail:
31005 {
31006 if (temp3)
31007 delete arg3;
31008 }
31009 {
31010 if (temp7)
31011 delete arg7;
31012 }
31013 {
31014 if (temp9)
31015 delete arg9;
31016 }
31017 return NULL;
31018}
31019
31020
c370783e 31021static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31022 PyObject *resultobj;
31023 wxGenericDirCtrl *result;
31024 char *kwnames[] = {
31025 NULL
31026 };
31027
31028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31029 {
0439c23b 31030 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31031 PyThreadState* __tstate = wxPyBeginAllowThreads();
31032 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31033
31034 wxPyEndAllowThreads(__tstate);
110da5b0 31035 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31036 }
31037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31038 return resultobj;
31039 fail:
31040 return NULL;
31041}
31042
31043
c370783e 31044static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31045 PyObject *resultobj;
31046 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31047 wxWindow *arg2 = (wxWindow *) 0 ;
31048 int arg3 = (int) (int)-1 ;
31049 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31050 wxString *arg4 = (wxString *) &arg4_defvalue ;
31051 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31052 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31053 wxSize const &arg6_defvalue = wxDefaultSize ;
31054 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31055 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31056 wxString const &arg8_defvalue = wxPyEmptyString ;
31057 wxString *arg8 = (wxString *) &arg8_defvalue ;
31058 int arg9 = (int) 0 ;
31059 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31060 wxString *arg10 = (wxString *) &arg10_defvalue ;
31061 bool result;
b411df4a 31062 bool temp4 = false ;
d55e5bfc
RD
31063 wxPoint temp5 ;
31064 wxSize temp6 ;
b411df4a
RD
31065 bool temp8 = false ;
31066 bool temp10 = false ;
d55e5bfc
RD
31067 PyObject * obj0 = 0 ;
31068 PyObject * obj1 = 0 ;
31069 PyObject * obj2 = 0 ;
31070 PyObject * obj3 = 0 ;
31071 PyObject * obj4 = 0 ;
31072 PyObject * obj5 = 0 ;
31073 PyObject * obj6 = 0 ;
31074 PyObject * obj7 = 0 ;
31075 PyObject * obj8 = 0 ;
31076 PyObject * obj9 = 0 ;
31077 char *kwnames[] = {
31078 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31079 };
31080
31081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
31082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31083 if (SWIG_arg_fail(1)) SWIG_fail;
31084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31085 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31086 if (obj2) {
36ed4f51
RD
31087 {
31088 arg3 = (int const)(SWIG_As_int(obj2));
31089 if (SWIG_arg_fail(3)) SWIG_fail;
31090 }
d55e5bfc
RD
31091 }
31092 if (obj3) {
31093 {
31094 arg4 = wxString_in_helper(obj3);
31095 if (arg4 == NULL) SWIG_fail;
b411df4a 31096 temp4 = true;
d55e5bfc
RD
31097 }
31098 }
31099 if (obj4) {
31100 {
31101 arg5 = &temp5;
31102 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31103 }
31104 }
31105 if (obj5) {
31106 {
31107 arg6 = &temp6;
31108 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31109 }
31110 }
31111 if (obj6) {
36ed4f51
RD
31112 {
31113 arg7 = (long)(SWIG_As_long(obj6));
31114 if (SWIG_arg_fail(7)) SWIG_fail;
31115 }
d55e5bfc
RD
31116 }
31117 if (obj7) {
31118 {
31119 arg8 = wxString_in_helper(obj7);
31120 if (arg8 == NULL) SWIG_fail;
b411df4a 31121 temp8 = true;
d55e5bfc
RD
31122 }
31123 }
31124 if (obj8) {
36ed4f51
RD
31125 {
31126 arg9 = (int)(SWIG_As_int(obj8));
31127 if (SWIG_arg_fail(9)) SWIG_fail;
31128 }
d55e5bfc
RD
31129 }
31130 if (obj9) {
31131 {
31132 arg10 = wxString_in_helper(obj9);
31133 if (arg10 == NULL) SWIG_fail;
b411df4a 31134 temp10 = true;
d55e5bfc
RD
31135 }
31136 }
31137 {
31138 PyThreadState* __tstate = wxPyBeginAllowThreads();
31139 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31140
31141 wxPyEndAllowThreads(__tstate);
31142 if (PyErr_Occurred()) SWIG_fail;
31143 }
31144 {
31145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31146 }
31147 {
31148 if (temp4)
31149 delete arg4;
31150 }
31151 {
31152 if (temp8)
31153 delete arg8;
31154 }
31155 {
31156 if (temp10)
31157 delete arg10;
31158 }
31159 return resultobj;
31160 fail:
31161 {
31162 if (temp4)
31163 delete arg4;
31164 }
31165 {
31166 if (temp8)
31167 delete arg8;
31168 }
31169 {
31170 if (temp10)
31171 delete arg10;
31172 }
31173 return NULL;
31174}
31175
31176
c370783e 31177static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31178 PyObject *resultobj;
31179 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31180 wxString *arg2 = 0 ;
31181 bool result;
b411df4a 31182 bool temp2 = false ;
d55e5bfc
RD
31183 PyObject * obj0 = 0 ;
31184 PyObject * obj1 = 0 ;
31185 char *kwnames[] = {
31186 (char *) "self",(char *) "path", NULL
31187 };
31188
31189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31191 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31192 {
31193 arg2 = wxString_in_helper(obj1);
31194 if (arg2 == NULL) SWIG_fail;
b411df4a 31195 temp2 = true;
d55e5bfc
RD
31196 }
31197 {
31198 PyThreadState* __tstate = wxPyBeginAllowThreads();
31199 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31200
31201 wxPyEndAllowThreads(__tstate);
31202 if (PyErr_Occurred()) SWIG_fail;
31203 }
31204 {
31205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31206 }
31207 {
31208 if (temp2)
31209 delete arg2;
31210 }
31211 return resultobj;
31212 fail:
31213 {
31214 if (temp2)
31215 delete arg2;
31216 }
31217 return NULL;
31218}
31219
31220
c370783e 31221static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31222 PyObject *resultobj;
31223 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31224 wxString result;
31225 PyObject * obj0 = 0 ;
31226 char *kwnames[] = {
31227 (char *) "self", NULL
31228 };
31229
31230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
31231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31232 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31233 {
31234 PyThreadState* __tstate = wxPyBeginAllowThreads();
31235 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31236
31237 wxPyEndAllowThreads(__tstate);
31238 if (PyErr_Occurred()) SWIG_fail;
31239 }
31240 {
31241#if wxUSE_UNICODE
31242 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31243#else
31244 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31245#endif
31246 }
31247 return resultobj;
31248 fail:
31249 return NULL;
31250}
31251
31252
c370783e 31253static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31254 PyObject *resultobj;
31255 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31256 wxString *arg2 = 0 ;
b411df4a 31257 bool temp2 = false ;
d55e5bfc
RD
31258 PyObject * obj0 = 0 ;
31259 PyObject * obj1 = 0 ;
31260 char *kwnames[] = {
31261 (char *) "self",(char *) "path", NULL
31262 };
31263
31264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31266 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31267 {
31268 arg2 = wxString_in_helper(obj1);
31269 if (arg2 == NULL) SWIG_fail;
b411df4a 31270 temp2 = true;
d55e5bfc
RD
31271 }
31272 {
31273 PyThreadState* __tstate = wxPyBeginAllowThreads();
31274 (arg1)->SetDefaultPath((wxString const &)*arg2);
31275
31276 wxPyEndAllowThreads(__tstate);
31277 if (PyErr_Occurred()) SWIG_fail;
31278 }
31279 Py_INCREF(Py_None); resultobj = Py_None;
31280 {
31281 if (temp2)
31282 delete arg2;
31283 }
31284 return resultobj;
31285 fail:
31286 {
31287 if (temp2)
31288 delete arg2;
31289 }
31290 return NULL;
31291}
31292
31293
c370783e 31294static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31295 PyObject *resultobj;
31296 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31297 wxString result;
31298 PyObject * obj0 = 0 ;
31299 char *kwnames[] = {
31300 (char *) "self", NULL
31301 };
31302
31303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
31304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31306 {
31307 PyThreadState* __tstate = wxPyBeginAllowThreads();
31308 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31309
31310 wxPyEndAllowThreads(__tstate);
31311 if (PyErr_Occurred()) SWIG_fail;
31312 }
31313 {
31314#if wxUSE_UNICODE
31315 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31316#else
31317 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31318#endif
31319 }
31320 return resultobj;
31321 fail:
31322 return NULL;
31323}
31324
31325
c370783e 31326static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31327 PyObject *resultobj;
31328 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31329 wxString result;
31330 PyObject * obj0 = 0 ;
31331 char *kwnames[] = {
31332 (char *) "self", NULL
31333 };
31334
31335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
36ed4f51
RD
31336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31338 {
31339 PyThreadState* __tstate = wxPyBeginAllowThreads();
31340 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31341
31342 wxPyEndAllowThreads(__tstate);
31343 if (PyErr_Occurred()) SWIG_fail;
31344 }
31345 {
31346#if wxUSE_UNICODE
31347 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31348#else
31349 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31350#endif
31351 }
31352 return resultobj;
31353 fail:
31354 return NULL;
31355}
31356
31357
c370783e 31358static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31359 PyObject *resultobj;
31360 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31361 wxString *arg2 = 0 ;
b411df4a 31362 bool temp2 = false ;
d55e5bfc
RD
31363 PyObject * obj0 = 0 ;
31364 PyObject * obj1 = 0 ;
31365 char *kwnames[] = {
31366 (char *) "self",(char *) "path", NULL
31367 };
31368
31369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31371 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31372 {
31373 arg2 = wxString_in_helper(obj1);
31374 if (arg2 == NULL) SWIG_fail;
b411df4a 31375 temp2 = true;
d55e5bfc
RD
31376 }
31377 {
31378 PyThreadState* __tstate = wxPyBeginAllowThreads();
31379 (arg1)->SetPath((wxString const &)*arg2);
31380
31381 wxPyEndAllowThreads(__tstate);
31382 if (PyErr_Occurred()) SWIG_fail;
31383 }
31384 Py_INCREF(Py_None); resultobj = Py_None;
31385 {
31386 if (temp2)
31387 delete arg2;
31388 }
31389 return resultobj;
31390 fail:
31391 {
31392 if (temp2)
31393 delete arg2;
31394 }
31395 return NULL;
31396}
31397
31398
c370783e 31399static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31400 PyObject *resultobj;
31401 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31402 bool arg2 ;
31403 PyObject * obj0 = 0 ;
31404 PyObject * obj1 = 0 ;
31405 char *kwnames[] = {
31406 (char *) "self",(char *) "show", NULL
31407 };
31408
31409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31411 if (SWIG_arg_fail(1)) SWIG_fail;
31412 {
31413 arg2 = (bool)(SWIG_As_bool(obj1));
31414 if (SWIG_arg_fail(2)) SWIG_fail;
31415 }
d55e5bfc
RD
31416 {
31417 PyThreadState* __tstate = wxPyBeginAllowThreads();
31418 (arg1)->ShowHidden(arg2);
31419
31420 wxPyEndAllowThreads(__tstate);
31421 if (PyErr_Occurred()) SWIG_fail;
31422 }
31423 Py_INCREF(Py_None); resultobj = Py_None;
31424 return resultobj;
31425 fail:
31426 return NULL;
31427}
31428
31429
c370783e 31430static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31431 PyObject *resultobj;
31432 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31433 bool result;
31434 PyObject * obj0 = 0 ;
31435 char *kwnames[] = {
31436 (char *) "self", NULL
31437 };
31438
31439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
36ed4f51
RD
31440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31441 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31442 {
31443 PyThreadState* __tstate = wxPyBeginAllowThreads();
31444 result = (bool)(arg1)->GetShowHidden();
31445
31446 wxPyEndAllowThreads(__tstate);
31447 if (PyErr_Occurred()) SWIG_fail;
31448 }
31449 {
31450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31451 }
31452 return resultobj;
31453 fail:
31454 return NULL;
31455}
31456
31457
c370783e 31458static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31459 PyObject *resultobj;
31460 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31461 wxString result;
31462 PyObject * obj0 = 0 ;
31463 char *kwnames[] = {
31464 (char *) "self", NULL
31465 };
31466
31467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
36ed4f51
RD
31468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31469 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31470 {
31471 PyThreadState* __tstate = wxPyBeginAllowThreads();
31472 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31473
31474 wxPyEndAllowThreads(__tstate);
31475 if (PyErr_Occurred()) SWIG_fail;
31476 }
31477 {
31478#if wxUSE_UNICODE
31479 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31480#else
31481 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31482#endif
31483 }
31484 return resultobj;
31485 fail:
31486 return NULL;
31487}
31488
31489
c370783e 31490static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31491 PyObject *resultobj;
31492 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31493 wxString *arg2 = 0 ;
b411df4a 31494 bool temp2 = false ;
d55e5bfc
RD
31495 PyObject * obj0 = 0 ;
31496 PyObject * obj1 = 0 ;
31497 char *kwnames[] = {
31498 (char *) "self",(char *) "filter", NULL
31499 };
31500
31501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31504 {
31505 arg2 = wxString_in_helper(obj1);
31506 if (arg2 == NULL) SWIG_fail;
b411df4a 31507 temp2 = true;
d55e5bfc
RD
31508 }
31509 {
31510 PyThreadState* __tstate = wxPyBeginAllowThreads();
31511 (arg1)->SetFilter((wxString const &)*arg2);
31512
31513 wxPyEndAllowThreads(__tstate);
31514 if (PyErr_Occurred()) SWIG_fail;
31515 }
31516 Py_INCREF(Py_None); resultobj = Py_None;
31517 {
31518 if (temp2)
31519 delete arg2;
31520 }
31521 return resultobj;
31522 fail:
31523 {
31524 if (temp2)
31525 delete arg2;
31526 }
31527 return NULL;
31528}
31529
31530
c370783e 31531static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31532 PyObject *resultobj;
31533 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31534 int result;
31535 PyObject * obj0 = 0 ;
31536 char *kwnames[] = {
31537 (char *) "self", NULL
31538 };
31539
31540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
31541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31542 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31543 {
31544 PyThreadState* __tstate = wxPyBeginAllowThreads();
31545 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31546
31547 wxPyEndAllowThreads(__tstate);
31548 if (PyErr_Occurred()) SWIG_fail;
31549 }
36ed4f51
RD
31550 {
31551 resultobj = SWIG_From_int((int)(result));
31552 }
d55e5bfc
RD
31553 return resultobj;
31554 fail:
31555 return NULL;
31556}
31557
31558
c370783e 31559static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31560 PyObject *resultobj;
31561 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31562 int arg2 ;
31563 PyObject * obj0 = 0 ;
31564 PyObject * obj1 = 0 ;
31565 char *kwnames[] = {
31566 (char *) "self",(char *) "n", NULL
31567 };
31568
31569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31571 if (SWIG_arg_fail(1)) SWIG_fail;
31572 {
31573 arg2 = (int)(SWIG_As_int(obj1));
31574 if (SWIG_arg_fail(2)) SWIG_fail;
31575 }
d55e5bfc
RD
31576 {
31577 PyThreadState* __tstate = wxPyBeginAllowThreads();
31578 (arg1)->SetFilterIndex(arg2);
31579
31580 wxPyEndAllowThreads(__tstate);
31581 if (PyErr_Occurred()) SWIG_fail;
31582 }
31583 Py_INCREF(Py_None); resultobj = Py_None;
31584 return resultobj;
31585 fail:
31586 return NULL;
31587}
31588
31589
c370783e 31590static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31591 PyObject *resultobj;
31592 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31593 wxTreeItemId result;
31594 PyObject * obj0 = 0 ;
31595 char *kwnames[] = {
31596 (char *) "self", NULL
31597 };
31598
31599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
36ed4f51
RD
31600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31601 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31602 {
31603 PyThreadState* __tstate = wxPyBeginAllowThreads();
31604 result = (arg1)->GetRootId();
31605
31606 wxPyEndAllowThreads(__tstate);
31607 if (PyErr_Occurred()) SWIG_fail;
31608 }
31609 {
31610 wxTreeItemId * resultptr;
36ed4f51 31611 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31612 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31613 }
31614 return resultobj;
31615 fail:
31616 return NULL;
31617}
31618
31619
c370783e 31620static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31621 PyObject *resultobj;
31622 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31623 wxPyTreeCtrl *result;
31624 PyObject * obj0 = 0 ;
31625 char *kwnames[] = {
31626 (char *) "self", NULL
31627 };
31628
31629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
31630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31631 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31632 {
31633 PyThreadState* __tstate = wxPyBeginAllowThreads();
31634 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31635
31636 wxPyEndAllowThreads(__tstate);
31637 if (PyErr_Occurred()) SWIG_fail;
31638 }
31639 {
412d302d 31640 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31641 }
31642 return resultobj;
31643 fail:
31644 return NULL;
31645}
31646
31647
c370783e 31648static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31649 PyObject *resultobj;
31650 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31651 wxDirFilterListCtrl *result;
31652 PyObject * obj0 = 0 ;
31653 char *kwnames[] = {
31654 (char *) "self", NULL
31655 };
31656
31657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
31658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31659 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31660 {
31661 PyThreadState* __tstate = wxPyBeginAllowThreads();
31662 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31663
31664 wxPyEndAllowThreads(__tstate);
31665 if (PyErr_Occurred()) SWIG_fail;
31666 }
31667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31668 return resultobj;
31669 fail:
31670 return NULL;
31671}
31672
31673
c370783e 31674static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31675 PyObject *resultobj;
31676 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31677 wxTreeItemId arg2 ;
31678 wxString *arg3 = 0 ;
31679 bool *arg4 = 0 ;
31680 wxTreeItemId result;
b411df4a 31681 bool temp3 = false ;
d55e5bfc 31682 bool temp4 ;
c370783e 31683 int res4 = 0 ;
d55e5bfc
RD
31684 PyObject * obj0 = 0 ;
31685 PyObject * obj1 = 0 ;
31686 PyObject * obj2 = 0 ;
31687 char *kwnames[] = {
31688 (char *) "self",(char *) "parentId",(char *) "path", NULL
31689 };
31690
c370783e 31691 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 31692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31694 if (SWIG_arg_fail(1)) SWIG_fail;
31695 {
31696 wxTreeItemId * argp;
31697 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31698 if (SWIG_arg_fail(2)) SWIG_fail;
31699 if (argp == NULL) {
31700 SWIG_null_ref("wxTreeItemId");
31701 }
31702 if (SWIG_arg_fail(2)) SWIG_fail;
31703 arg2 = *argp;
31704 }
d55e5bfc
RD
31705 {
31706 arg3 = wxString_in_helper(obj2);
31707 if (arg3 == NULL) SWIG_fail;
b411df4a 31708 temp3 = true;
d55e5bfc
RD
31709 }
31710 {
31711 PyThreadState* __tstate = wxPyBeginAllowThreads();
31712 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31713
31714 wxPyEndAllowThreads(__tstate);
31715 if (PyErr_Occurred()) SWIG_fail;
31716 }
31717 {
31718 wxTreeItemId * resultptr;
36ed4f51 31719 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31720 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31721 }
c370783e
RD
31722 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31723 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d55e5bfc
RD
31724 {
31725 if (temp3)
31726 delete arg3;
31727 }
31728 return resultobj;
31729 fail:
31730 {
31731 if (temp3)
31732 delete arg3;
31733 }
31734 return NULL;
31735}
31736
31737
c370783e 31738static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31739 PyObject *resultobj;
31740 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31741 PyObject * obj0 = 0 ;
31742 char *kwnames[] = {
31743 (char *) "self", NULL
31744 };
31745
31746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
36ed4f51
RD
31747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31749 {
31750 PyThreadState* __tstate = wxPyBeginAllowThreads();
31751 (arg1)->DoResize();
31752
31753 wxPyEndAllowThreads(__tstate);
31754 if (PyErr_Occurred()) SWIG_fail;
31755 }
31756 Py_INCREF(Py_None); resultobj = Py_None;
31757 return resultobj;
31758 fail:
31759 return NULL;
31760}
31761
31762
c370783e 31763static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31764 PyObject *resultobj;
31765 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31766 PyObject * obj0 = 0 ;
31767 char *kwnames[] = {
31768 (char *) "self", NULL
31769 };
31770
31771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
36ed4f51
RD
31772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31773 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31774 {
31775 PyThreadState* __tstate = wxPyBeginAllowThreads();
31776 (arg1)->ReCreateTree();
31777
31778 wxPyEndAllowThreads(__tstate);
31779 if (PyErr_Occurred()) SWIG_fail;
31780 }
31781 Py_INCREF(Py_None); resultobj = Py_None;
31782 return resultobj;
31783 fail:
31784 return NULL;
31785}
31786
31787
c370783e 31788static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31789 PyObject *obj;
31790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31791 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31792 Py_INCREF(obj);
31793 return Py_BuildValue((char *)"");
31794}
c370783e 31795static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31796 PyObject *resultobj;
31797 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31798 int arg2 = (int) (int)-1 ;
31799 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31800 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31801 wxSize const &arg4_defvalue = wxDefaultSize ;
31802 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31803 long arg5 = (long) 0 ;
31804 wxDirFilterListCtrl *result;
31805 wxPoint temp3 ;
31806 wxSize temp4 ;
31807 PyObject * obj0 = 0 ;
31808 PyObject * obj1 = 0 ;
31809 PyObject * obj2 = 0 ;
31810 PyObject * obj3 = 0 ;
31811 PyObject * obj4 = 0 ;
31812 char *kwnames[] = {
31813 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31814 };
31815
31816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
31817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31818 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31819 if (obj1) {
36ed4f51
RD
31820 {
31821 arg2 = (int const)(SWIG_As_int(obj1));
31822 if (SWIG_arg_fail(2)) SWIG_fail;
31823 }
d55e5bfc
RD
31824 }
31825 if (obj2) {
31826 {
31827 arg3 = &temp3;
31828 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31829 }
31830 }
31831 if (obj3) {
31832 {
31833 arg4 = &temp4;
31834 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31835 }
31836 }
31837 if (obj4) {
36ed4f51
RD
31838 {
31839 arg5 = (long)(SWIG_As_long(obj4));
31840 if (SWIG_arg_fail(5)) SWIG_fail;
31841 }
d55e5bfc
RD
31842 }
31843 {
0439c23b 31844 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31845 PyThreadState* __tstate = wxPyBeginAllowThreads();
31846 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31847
31848 wxPyEndAllowThreads(__tstate);
110da5b0 31849 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31850 }
31851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31852 return resultobj;
31853 fail:
31854 return NULL;
31855}
31856
31857
c370783e 31858static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31859 PyObject *resultobj;
31860 wxDirFilterListCtrl *result;
31861 char *kwnames[] = {
31862 NULL
31863 };
31864
31865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31866 {
0439c23b 31867 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31868 PyThreadState* __tstate = wxPyBeginAllowThreads();
31869 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31870
31871 wxPyEndAllowThreads(__tstate);
110da5b0 31872 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31873 }
31874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31875 return resultobj;
31876 fail:
31877 return NULL;
31878}
31879
31880
c370783e 31881static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31882 PyObject *resultobj;
31883 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31884 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
31885 int arg3 = (int) (int)-1 ;
31886 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31887 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31888 wxSize const &arg5_defvalue = wxDefaultSize ;
31889 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31890 long arg6 = (long) 0 ;
31891 bool result;
31892 wxPoint temp4 ;
31893 wxSize temp5 ;
31894 PyObject * obj0 = 0 ;
31895 PyObject * obj1 = 0 ;
31896 PyObject * obj2 = 0 ;
31897 PyObject * obj3 = 0 ;
31898 PyObject * obj4 = 0 ;
31899 PyObject * obj5 = 0 ;
31900 char *kwnames[] = {
31901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31902 };
31903
31904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
31905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31906 if (SWIG_arg_fail(1)) SWIG_fail;
31907 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31908 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31909 if (obj2) {
36ed4f51
RD
31910 {
31911 arg3 = (int const)(SWIG_As_int(obj2));
31912 if (SWIG_arg_fail(3)) SWIG_fail;
31913 }
d55e5bfc
RD
31914 }
31915 if (obj3) {
31916 {
31917 arg4 = &temp4;
31918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31919 }
31920 }
31921 if (obj4) {
31922 {
31923 arg5 = &temp5;
31924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31925 }
31926 }
31927 if (obj5) {
36ed4f51
RD
31928 {
31929 arg6 = (long)(SWIG_As_long(obj5));
31930 if (SWIG_arg_fail(6)) SWIG_fail;
31931 }
d55e5bfc
RD
31932 }
31933 {
31934 PyThreadState* __tstate = wxPyBeginAllowThreads();
31935 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
31936
31937 wxPyEndAllowThreads(__tstate);
31938 if (PyErr_Occurred()) SWIG_fail;
31939 }
31940 {
31941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31942 }
31943 return resultobj;
31944 fail:
31945 return NULL;
31946}
31947
31948
c370783e 31949static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31950 PyObject *resultobj;
31951 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31952 wxString *arg2 = 0 ;
31953 int arg3 ;
b411df4a 31954 bool temp2 = false ;
d55e5bfc
RD
31955 PyObject * obj0 = 0 ;
31956 PyObject * obj1 = 0 ;
31957 PyObject * obj2 = 0 ;
31958 char *kwnames[] = {
31959 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31960 };
31961
31962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31964 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31965 {
31966 arg2 = wxString_in_helper(obj1);
31967 if (arg2 == NULL) SWIG_fail;
b411df4a 31968 temp2 = true;
d55e5bfc 31969 }
36ed4f51
RD
31970 {
31971 arg3 = (int)(SWIG_As_int(obj2));
31972 if (SWIG_arg_fail(3)) SWIG_fail;
31973 }
d55e5bfc
RD
31974 {
31975 PyThreadState* __tstate = wxPyBeginAllowThreads();
31976 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
31977
31978 wxPyEndAllowThreads(__tstate);
31979 if (PyErr_Occurred()) SWIG_fail;
31980 }
31981 Py_INCREF(Py_None); resultobj = Py_None;
31982 {
31983 if (temp2)
31984 delete arg2;
31985 }
31986 return resultobj;
31987 fail:
31988 {
31989 if (temp2)
31990 delete arg2;
31991 }
31992 return NULL;
31993}
31994
31995
c370783e 31996static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31997 PyObject *obj;
31998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31999 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32000 Py_INCREF(obj);
32001 return Py_BuildValue((char *)"");
32002}
c370783e 32003static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32004 PyObject *resultobj;
32005 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 32006 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
32007 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32008 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32009 wxSize const &arg4_defvalue = wxDefaultSize ;
32010 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32011 long arg5 = (long) 0 ;
32012 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32013 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32014 wxString const &arg7_defvalue = wxPyControlNameStr ;
32015 wxString *arg7 = (wxString *) &arg7_defvalue ;
32016 wxPyControl *result;
32017 wxPoint temp3 ;
32018 wxSize temp4 ;
b411df4a 32019 bool temp7 = false ;
d55e5bfc
RD
32020 PyObject * obj0 = 0 ;
32021 PyObject * obj1 = 0 ;
32022 PyObject * obj2 = 0 ;
32023 PyObject * obj3 = 0 ;
32024 PyObject * obj4 = 0 ;
32025 PyObject * obj5 = 0 ;
32026 PyObject * obj6 = 0 ;
32027 char *kwnames[] = {
32028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32029 };
32030
bfddbb17 32031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
32032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32033 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 32034 if (obj1) {
36ed4f51
RD
32035 {
32036 arg2 = (int const)(SWIG_As_int(obj1));
32037 if (SWIG_arg_fail(2)) SWIG_fail;
32038 }
bfddbb17 32039 }
d55e5bfc
RD
32040 if (obj2) {
32041 {
32042 arg3 = &temp3;
32043 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32044 }
32045 }
32046 if (obj3) {
32047 {
32048 arg4 = &temp4;
32049 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32050 }
32051 }
32052 if (obj4) {
36ed4f51
RD
32053 {
32054 arg5 = (long)(SWIG_As_long(obj4));
32055 if (SWIG_arg_fail(5)) SWIG_fail;
32056 }
d55e5bfc
RD
32057 }
32058 if (obj5) {
36ed4f51
RD
32059 {
32060 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32061 if (SWIG_arg_fail(6)) SWIG_fail;
32062 if (arg6 == NULL) {
32063 SWIG_null_ref("wxValidator");
32064 }
32065 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
32066 }
32067 }
32068 if (obj6) {
32069 {
32070 arg7 = wxString_in_helper(obj6);
32071 if (arg7 == NULL) SWIG_fail;
b411df4a 32072 temp7 = true;
d55e5bfc
RD
32073 }
32074 }
32075 {
0439c23b 32076 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32077 PyThreadState* __tstate = wxPyBeginAllowThreads();
32078 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32079
32080 wxPyEndAllowThreads(__tstate);
110da5b0 32081 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32082 }
32083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32084 {
32085 if (temp7)
32086 delete arg7;
32087 }
32088 return resultobj;
32089 fail:
32090 {
32091 if (temp7)
32092 delete arg7;
32093 }
32094 return NULL;
32095}
32096
32097
c370783e 32098static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32099 PyObject *resultobj;
32100 wxPyControl *result;
32101 char *kwnames[] = {
32102 NULL
32103 };
32104
32105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32106 {
0439c23b 32107 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32108 PyThreadState* __tstate = wxPyBeginAllowThreads();
32109 result = (wxPyControl *)new wxPyControl();
32110
32111 wxPyEndAllowThreads(__tstate);
110da5b0 32112 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32113 }
32114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32115 return resultobj;
32116 fail:
32117 return NULL;
32118}
32119
32120
c370783e 32121static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32122 PyObject *resultobj;
32123 wxPyControl *arg1 = (wxPyControl *) 0 ;
32124 PyObject *arg2 = (PyObject *) 0 ;
32125 PyObject *arg3 = (PyObject *) 0 ;
32126 PyObject * obj0 = 0 ;
32127 PyObject * obj1 = 0 ;
32128 PyObject * obj2 = 0 ;
32129 char *kwnames[] = {
32130 (char *) "self",(char *) "self",(char *) "_class", NULL
32131 };
32132
32133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32135 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32136 arg2 = obj1;
32137 arg3 = obj2;
32138 {
32139 PyThreadState* __tstate = wxPyBeginAllowThreads();
32140 (arg1)->_setCallbackInfo(arg2,arg3);
32141
32142 wxPyEndAllowThreads(__tstate);
32143 if (PyErr_Occurred()) SWIG_fail;
32144 }
32145 Py_INCREF(Py_None); resultobj = Py_None;
32146 return resultobj;
32147 fail:
32148 return NULL;
32149}
32150
32151
c370783e 32152static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
32153 PyObject *resultobj;
32154 wxPyControl *arg1 = (wxPyControl *) 0 ;
32155 wxSize *arg2 = 0 ;
32156 wxSize temp2 ;
32157 PyObject * obj0 = 0 ;
32158 PyObject * obj1 = 0 ;
32159 char *kwnames[] = {
32160 (char *) "self",(char *) "size", NULL
32161 };
32162
32163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32165 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
32166 {
32167 arg2 = &temp2;
32168 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32169 }
32170 {
32171 PyThreadState* __tstate = wxPyBeginAllowThreads();
32172 (arg1)->SetBestSize((wxSize const &)*arg2);
32173
32174 wxPyEndAllowThreads(__tstate);
32175 if (PyErr_Occurred()) SWIG_fail;
32176 }
32177 Py_INCREF(Py_None); resultobj = Py_None;
32178 return resultobj;
32179 fail:
32180 return NULL;
32181}
32182
32183
c370783e 32184static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32185 PyObject *resultobj;
32186 wxPyControl *arg1 = (wxPyControl *) 0 ;
32187 int arg2 ;
32188 int arg3 ;
32189 int arg4 ;
32190 int arg5 ;
32191 PyObject * obj0 = 0 ;
32192 PyObject * obj1 = 0 ;
32193 PyObject * obj2 = 0 ;
32194 PyObject * obj3 = 0 ;
32195 PyObject * obj4 = 0 ;
32196 char *kwnames[] = {
32197 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32198 };
32199
32200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
32201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32202 if (SWIG_arg_fail(1)) SWIG_fail;
32203 {
32204 arg2 = (int)(SWIG_As_int(obj1));
32205 if (SWIG_arg_fail(2)) SWIG_fail;
32206 }
32207 {
32208 arg3 = (int)(SWIG_As_int(obj2));
32209 if (SWIG_arg_fail(3)) SWIG_fail;
32210 }
32211 {
32212 arg4 = (int)(SWIG_As_int(obj3));
32213 if (SWIG_arg_fail(4)) SWIG_fail;
32214 }
32215 {
32216 arg5 = (int)(SWIG_As_int(obj4));
32217 if (SWIG_arg_fail(5)) SWIG_fail;
32218 }
d55e5bfc
RD
32219 {
32220 PyThreadState* __tstate = wxPyBeginAllowThreads();
32221 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32222
32223 wxPyEndAllowThreads(__tstate);
32224 if (PyErr_Occurred()) SWIG_fail;
32225 }
32226 Py_INCREF(Py_None); resultobj = Py_None;
32227 return resultobj;
32228 fail:
32229 return NULL;
32230}
32231
32232
c370783e 32233static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32234 PyObject *resultobj;
32235 wxPyControl *arg1 = (wxPyControl *) 0 ;
32236 int arg2 ;
32237 int arg3 ;
32238 int arg4 ;
32239 int arg5 ;
32240 int arg6 = (int) wxSIZE_AUTO ;
32241 PyObject * obj0 = 0 ;
32242 PyObject * obj1 = 0 ;
32243 PyObject * obj2 = 0 ;
32244 PyObject * obj3 = 0 ;
32245 PyObject * obj4 = 0 ;
32246 PyObject * obj5 = 0 ;
32247 char *kwnames[] = {
32248 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32249 };
32250
32251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
32252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32253 if (SWIG_arg_fail(1)) SWIG_fail;
32254 {
32255 arg2 = (int)(SWIG_As_int(obj1));
32256 if (SWIG_arg_fail(2)) SWIG_fail;
32257 }
32258 {
32259 arg3 = (int)(SWIG_As_int(obj2));
32260 if (SWIG_arg_fail(3)) SWIG_fail;
32261 }
32262 {
32263 arg4 = (int)(SWIG_As_int(obj3));
32264 if (SWIG_arg_fail(4)) SWIG_fail;
32265 }
32266 {
32267 arg5 = (int)(SWIG_As_int(obj4));
32268 if (SWIG_arg_fail(5)) SWIG_fail;
32269 }
d55e5bfc 32270 if (obj5) {
36ed4f51
RD
32271 {
32272 arg6 = (int)(SWIG_As_int(obj5));
32273 if (SWIG_arg_fail(6)) SWIG_fail;
32274 }
d55e5bfc
RD
32275 }
32276 {
32277 PyThreadState* __tstate = wxPyBeginAllowThreads();
32278 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32279
32280 wxPyEndAllowThreads(__tstate);
32281 if (PyErr_Occurred()) SWIG_fail;
32282 }
32283 Py_INCREF(Py_None); resultobj = Py_None;
32284 return resultobj;
32285 fail:
32286 return NULL;
32287}
32288
32289
c370783e 32290static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32291 PyObject *resultobj;
32292 wxPyControl *arg1 = (wxPyControl *) 0 ;
32293 int arg2 ;
32294 int arg3 ;
32295 PyObject * obj0 = 0 ;
32296 PyObject * obj1 = 0 ;
32297 PyObject * obj2 = 0 ;
32298 char *kwnames[] = {
32299 (char *) "self",(char *) "width",(char *) "height", NULL
32300 };
32301
32302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32304 if (SWIG_arg_fail(1)) SWIG_fail;
32305 {
32306 arg2 = (int)(SWIG_As_int(obj1));
32307 if (SWIG_arg_fail(2)) SWIG_fail;
32308 }
32309 {
32310 arg3 = (int)(SWIG_As_int(obj2));
32311 if (SWIG_arg_fail(3)) SWIG_fail;
32312 }
d55e5bfc
RD
32313 {
32314 PyThreadState* __tstate = wxPyBeginAllowThreads();
32315 (arg1)->base_DoSetClientSize(arg2,arg3);
32316
32317 wxPyEndAllowThreads(__tstate);
32318 if (PyErr_Occurred()) SWIG_fail;
32319 }
32320 Py_INCREF(Py_None); resultobj = Py_None;
32321 return resultobj;
32322 fail:
32323 return NULL;
32324}
32325
32326
c370783e 32327static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32328 PyObject *resultobj;
32329 wxPyControl *arg1 = (wxPyControl *) 0 ;
32330 int arg2 ;
32331 int arg3 ;
32332 PyObject * obj0 = 0 ;
32333 PyObject * obj1 = 0 ;
32334 PyObject * obj2 = 0 ;
32335 char *kwnames[] = {
32336 (char *) "self",(char *) "x",(char *) "y", NULL
32337 };
32338
32339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32341 if (SWIG_arg_fail(1)) SWIG_fail;
32342 {
32343 arg2 = (int)(SWIG_As_int(obj1));
32344 if (SWIG_arg_fail(2)) SWIG_fail;
32345 }
32346 {
32347 arg3 = (int)(SWIG_As_int(obj2));
32348 if (SWIG_arg_fail(3)) SWIG_fail;
32349 }
d55e5bfc
RD
32350 {
32351 PyThreadState* __tstate = wxPyBeginAllowThreads();
32352 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32353
32354 wxPyEndAllowThreads(__tstate);
32355 if (PyErr_Occurred()) SWIG_fail;
32356 }
32357 Py_INCREF(Py_None); resultobj = Py_None;
32358 return resultobj;
32359 fail:
32360 return NULL;
32361}
32362
32363
c370783e 32364static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32365 PyObject *resultobj;
32366 wxPyControl *arg1 = (wxPyControl *) 0 ;
32367 int *arg2 = (int *) 0 ;
32368 int *arg3 = (int *) 0 ;
32369 int temp2 ;
c370783e 32370 int res2 = 0 ;
d55e5bfc 32371 int temp3 ;
c370783e 32372 int res3 = 0 ;
d55e5bfc
RD
32373 PyObject * obj0 = 0 ;
32374 char *kwnames[] = {
32375 (char *) "self", NULL
32376 };
32377
c370783e
RD
32378 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32379 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32382 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32383 {
32384 PyThreadState* __tstate = wxPyBeginAllowThreads();
32385 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32386
32387 wxPyEndAllowThreads(__tstate);
32388 if (PyErr_Occurred()) SWIG_fail;
32389 }
32390 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
32391 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32392 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32393 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32394 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32395 return resultobj;
32396 fail:
32397 return NULL;
32398}
32399
32400
c370783e 32401static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32402 PyObject *resultobj;
32403 wxPyControl *arg1 = (wxPyControl *) 0 ;
32404 int *arg2 = (int *) 0 ;
32405 int *arg3 = (int *) 0 ;
32406 int temp2 ;
c370783e 32407 int res2 = 0 ;
d55e5bfc 32408 int temp3 ;
c370783e 32409 int res3 = 0 ;
d55e5bfc
RD
32410 PyObject * obj0 = 0 ;
32411 char *kwnames[] = {
32412 (char *) "self", NULL
32413 };
32414
c370783e
RD
32415 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32416 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32420 {
32421 PyThreadState* __tstate = wxPyBeginAllowThreads();
32422 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32423
32424 wxPyEndAllowThreads(__tstate);
32425 if (PyErr_Occurred()) SWIG_fail;
32426 }
32427 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
32428 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32429 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32430 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32431 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32432 return resultobj;
32433 fail:
32434 return NULL;
32435}
32436
32437
c370783e 32438static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32439 PyObject *resultobj;
32440 wxPyControl *arg1 = (wxPyControl *) 0 ;
32441 int *arg2 = (int *) 0 ;
32442 int *arg3 = (int *) 0 ;
32443 int temp2 ;
c370783e 32444 int res2 = 0 ;
d55e5bfc 32445 int temp3 ;
c370783e 32446 int res3 = 0 ;
d55e5bfc
RD
32447 PyObject * obj0 = 0 ;
32448 char *kwnames[] = {
32449 (char *) "self", NULL
32450 };
32451
c370783e
RD
32452 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32453 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
32455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32456 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32457 {
32458 PyThreadState* __tstate = wxPyBeginAllowThreads();
32459 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32460
32461 wxPyEndAllowThreads(__tstate);
32462 if (PyErr_Occurred()) SWIG_fail;
32463 }
32464 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
32465 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32466 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32467 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32468 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32469 return resultobj;
32470 fail:
32471 return NULL;
32472}
32473
32474
c370783e 32475static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32476 PyObject *resultobj;
32477 wxPyControl *arg1 = (wxPyControl *) 0 ;
32478 wxSize result;
32479 PyObject * obj0 = 0 ;
32480 char *kwnames[] = {
32481 (char *) "self", NULL
32482 };
32483
32484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32487 {
32488 PyThreadState* __tstate = wxPyBeginAllowThreads();
32489 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32490
32491 wxPyEndAllowThreads(__tstate);
32492 if (PyErr_Occurred()) SWIG_fail;
32493 }
32494 {
32495 wxSize * resultptr;
36ed4f51 32496 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32498 }
32499 return resultobj;
32500 fail:
32501 return NULL;
32502}
32503
32504
c370783e 32505static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32506 PyObject *resultobj;
32507 wxPyControl *arg1 = (wxPyControl *) 0 ;
32508 wxSize result;
32509 PyObject * obj0 = 0 ;
32510 char *kwnames[] = {
32511 (char *) "self", NULL
32512 };
32513
32514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32516 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32517 {
32518 PyThreadState* __tstate = wxPyBeginAllowThreads();
32519 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32520
32521 wxPyEndAllowThreads(__tstate);
32522 if (PyErr_Occurred()) SWIG_fail;
32523 }
32524 {
32525 wxSize * resultptr;
36ed4f51 32526 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32528 }
32529 return resultobj;
32530 fail:
32531 return NULL;
32532}
32533
32534
c370783e 32535static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32536 PyObject *resultobj;
32537 wxPyControl *arg1 = (wxPyControl *) 0 ;
32538 PyObject * obj0 = 0 ;
32539 char *kwnames[] = {
32540 (char *) "self", NULL
32541 };
32542
32543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
32544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32545 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32546 {
32547 PyThreadState* __tstate = wxPyBeginAllowThreads();
32548 (arg1)->base_InitDialog();
32549
32550 wxPyEndAllowThreads(__tstate);
32551 if (PyErr_Occurred()) SWIG_fail;
32552 }
32553 Py_INCREF(Py_None); resultobj = Py_None;
32554 return resultobj;
32555 fail:
32556 return NULL;
32557}
32558
32559
c370783e 32560static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32561 PyObject *resultobj;
32562 wxPyControl *arg1 = (wxPyControl *) 0 ;
32563 bool result;
32564 PyObject * obj0 = 0 ;
32565 char *kwnames[] = {
32566 (char *) "self", NULL
32567 };
32568
32569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
32570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32571 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32572 {
32573 PyThreadState* __tstate = wxPyBeginAllowThreads();
32574 result = (bool)(arg1)->base_TransferDataToWindow();
32575
32576 wxPyEndAllowThreads(__tstate);
32577 if (PyErr_Occurred()) SWIG_fail;
32578 }
32579 {
32580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32581 }
32582 return resultobj;
32583 fail:
32584 return NULL;
32585}
32586
32587
c370783e 32588static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32589 PyObject *resultobj;
32590 wxPyControl *arg1 = (wxPyControl *) 0 ;
32591 bool result;
32592 PyObject * obj0 = 0 ;
32593 char *kwnames[] = {
32594 (char *) "self", NULL
32595 };
32596
32597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
32598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32599 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32600 {
32601 PyThreadState* __tstate = wxPyBeginAllowThreads();
32602 result = (bool)(arg1)->base_TransferDataFromWindow();
32603
32604 wxPyEndAllowThreads(__tstate);
32605 if (PyErr_Occurred()) SWIG_fail;
32606 }
32607 {
32608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32609 }
32610 return resultobj;
32611 fail:
32612 return NULL;
32613}
32614
32615
c370783e 32616static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32617 PyObject *resultobj;
32618 wxPyControl *arg1 = (wxPyControl *) 0 ;
32619 bool result;
32620 PyObject * obj0 = 0 ;
32621 char *kwnames[] = {
32622 (char *) "self", NULL
32623 };
32624
32625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
32626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32627 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32628 {
32629 PyThreadState* __tstate = wxPyBeginAllowThreads();
32630 result = (bool)(arg1)->base_Validate();
32631
32632 wxPyEndAllowThreads(__tstate);
32633 if (PyErr_Occurred()) SWIG_fail;
32634 }
32635 {
32636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32637 }
32638 return resultobj;
32639 fail:
32640 return NULL;
32641}
32642
32643
c370783e 32644static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32645 PyObject *resultobj;
32646 wxPyControl *arg1 = (wxPyControl *) 0 ;
32647 bool result;
32648 PyObject * obj0 = 0 ;
32649 char *kwnames[] = {
32650 (char *) "self", NULL
32651 };
32652
32653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
32654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32655 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32656 {
32657 PyThreadState* __tstate = wxPyBeginAllowThreads();
32658 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32659
32660 wxPyEndAllowThreads(__tstate);
32661 if (PyErr_Occurred()) SWIG_fail;
32662 }
32663 {
32664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32665 }
32666 return resultobj;
32667 fail:
32668 return NULL;
32669}
32670
32671
c370783e 32672static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32673 PyObject *resultobj;
32674 wxPyControl *arg1 = (wxPyControl *) 0 ;
32675 bool result;
32676 PyObject * obj0 = 0 ;
32677 char *kwnames[] = {
32678 (char *) "self", NULL
32679 };
32680
32681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
32682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32683 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32684 {
32685 PyThreadState* __tstate = wxPyBeginAllowThreads();
32686 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32687
32688 wxPyEndAllowThreads(__tstate);
32689 if (PyErr_Occurred()) SWIG_fail;
32690 }
32691 {
32692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32693 }
32694 return resultobj;
32695 fail:
32696 return NULL;
32697}
32698
32699
c370783e 32700static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32701 PyObject *resultobj;
32702 wxPyControl *arg1 = (wxPyControl *) 0 ;
32703 wxSize result;
32704 PyObject * obj0 = 0 ;
32705 char *kwnames[] = {
32706 (char *) "self", NULL
32707 };
32708
32709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32711 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32712 {
32713 PyThreadState* __tstate = wxPyBeginAllowThreads();
32714 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32715
32716 wxPyEndAllowThreads(__tstate);
32717 if (PyErr_Occurred()) SWIG_fail;
32718 }
32719 {
32720 wxSize * resultptr;
36ed4f51 32721 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32722 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32723 }
32724 return resultobj;
32725 fail:
32726 return NULL;
32727}
32728
32729
c370783e 32730static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32731 PyObject *resultobj;
32732 wxPyControl *arg1 = (wxPyControl *) 0 ;
32733 wxWindow *arg2 = (wxWindow *) 0 ;
32734 PyObject * obj0 = 0 ;
32735 PyObject * obj1 = 0 ;
32736 char *kwnames[] = {
32737 (char *) "self",(char *) "child", NULL
32738 };
32739
32740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32742 if (SWIG_arg_fail(1)) SWIG_fail;
32743 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32744 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32745 {
32746 PyThreadState* __tstate = wxPyBeginAllowThreads();
32747 (arg1)->base_AddChild(arg2);
32748
32749 wxPyEndAllowThreads(__tstate);
32750 if (PyErr_Occurred()) SWIG_fail;
32751 }
32752 Py_INCREF(Py_None); resultobj = Py_None;
32753 return resultobj;
32754 fail:
32755 return NULL;
32756}
32757
32758
c370783e 32759static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32760 PyObject *resultobj;
32761 wxPyControl *arg1 = (wxPyControl *) 0 ;
32762 wxWindow *arg2 = (wxWindow *) 0 ;
32763 PyObject * obj0 = 0 ;
32764 PyObject * obj1 = 0 ;
32765 char *kwnames[] = {
32766 (char *) "self",(char *) "child", NULL
32767 };
32768
32769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32771 if (SWIG_arg_fail(1)) SWIG_fail;
32772 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32773 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32774 {
32775 PyThreadState* __tstate = wxPyBeginAllowThreads();
32776 (arg1)->base_RemoveChild(arg2);
32777
32778 wxPyEndAllowThreads(__tstate);
32779 if (PyErr_Occurred()) SWIG_fail;
32780 }
32781 Py_INCREF(Py_None); resultobj = Py_None;
32782 return resultobj;
32783 fail:
32784 return NULL;
32785}
32786
32787
c370783e 32788static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32789 PyObject *resultobj;
32790 wxPyControl *arg1 = (wxPyControl *) 0 ;
32791 bool result;
32792 PyObject * obj0 = 0 ;
32793 char *kwnames[] = {
32794 (char *) "self", NULL
32795 };
32796
32797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
32798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32799 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32800 {
32801 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 32802 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
32803
32804 wxPyEndAllowThreads(__tstate);
32805 if (PyErr_Occurred()) SWIG_fail;
32806 }
32807 {
32808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32809 }
32810 return resultobj;
32811 fail:
32812 return NULL;
32813}
32814
32815
c370783e 32816static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32817 PyObject *resultobj;
32818 wxPyControl *arg1 = (wxPyControl *) 0 ;
32819 wxColour *arg2 = 0 ;
32820 wxColour temp2 ;
32821 PyObject * obj0 = 0 ;
32822 PyObject * obj1 = 0 ;
32823 char *kwnames[] = {
32824 (char *) "self",(char *) "c", NULL
32825 };
32826
32827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32830 {
32831 arg2 = &temp2;
32832 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32833 }
32834 {
32835 PyThreadState* __tstate = wxPyBeginAllowThreads();
32836 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
32837
32838 wxPyEndAllowThreads(__tstate);
32839 if (PyErr_Occurred()) SWIG_fail;
32840 }
32841 Py_INCREF(Py_None); resultobj = Py_None;
32842 return resultobj;
32843 fail:
32844 return NULL;
32845}
32846
32847
c370783e 32848static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
32849 PyObject *resultobj;
32850 wxPyControl *arg1 = (wxPyControl *) 0 ;
32851 wxVisualAttributes result;
32852 PyObject * obj0 = 0 ;
32853 char *kwnames[] = {
32854 (char *) "self", NULL
32855 };
32856
32857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
32858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32859 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
32860 {
32861 PyThreadState* __tstate = wxPyBeginAllowThreads();
32862 result = (arg1)->base_GetDefaultAttributes();
32863
32864 wxPyEndAllowThreads(__tstate);
32865 if (PyErr_Occurred()) SWIG_fail;
32866 }
32867 {
32868 wxVisualAttributes * resultptr;
36ed4f51 32869 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
a5ee0656
RD
32870 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32871 }
32872 return resultobj;
32873 fail:
32874 return NULL;
32875}
32876
32877
c370783e 32878static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32879 PyObject *obj;
32880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32881 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32882 Py_INCREF(obj);
32883 return Py_BuildValue((char *)"");
32884}
c370783e 32885static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32886 PyObject *resultobj;
32887 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32888 int arg2 = (int) 0 ;
32889 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32890 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32891 wxHelpEvent *result;
32892 wxPoint temp3 ;
32893 PyObject * obj0 = 0 ;
32894 PyObject * obj1 = 0 ;
32895 PyObject * obj2 = 0 ;
32896 char *kwnames[] = {
32897 (char *) "type",(char *) "winid",(char *) "pt", NULL
32898 };
32899
32900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
32901 if (obj0) {
36ed4f51
RD
32902 {
32903 arg1 = (wxEventType)(SWIG_As_int(obj0));
32904 if (SWIG_arg_fail(1)) SWIG_fail;
32905 }
d55e5bfc
RD
32906 }
32907 if (obj1) {
36ed4f51
RD
32908 {
32909 arg2 = (int)(SWIG_As_int(obj1));
32910 if (SWIG_arg_fail(2)) SWIG_fail;
32911 }
d55e5bfc
RD
32912 }
32913 if (obj2) {
32914 {
32915 arg3 = &temp3;
32916 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32917 }
32918 }
32919 {
32920 PyThreadState* __tstate = wxPyBeginAllowThreads();
32921 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
32922
32923 wxPyEndAllowThreads(__tstate);
32924 if (PyErr_Occurred()) SWIG_fail;
32925 }
32926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
32927 return resultobj;
32928 fail:
32929 return NULL;
32930}
32931
32932
c370783e 32933static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32934 PyObject *resultobj;
32935 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32936 wxPoint result;
32937 PyObject * obj0 = 0 ;
32938 char *kwnames[] = {
32939 (char *) "self", NULL
32940 };
32941
32942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
32943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
32944 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32945 {
32946 PyThreadState* __tstate = wxPyBeginAllowThreads();
32947 result = ((wxHelpEvent const *)arg1)->GetPosition();
32948
32949 wxPyEndAllowThreads(__tstate);
32950 if (PyErr_Occurred()) SWIG_fail;
32951 }
32952 {
32953 wxPoint * resultptr;
36ed4f51 32954 resultptr = new wxPoint((wxPoint const &)(result));
d55e5bfc
RD
32955 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
32956 }
32957 return resultobj;
32958 fail:
32959 return NULL;
32960}
32961
32962
c370783e 32963static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32964 PyObject *resultobj;
32965 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32966 wxPoint *arg2 = 0 ;
32967 wxPoint temp2 ;
32968 PyObject * obj0 = 0 ;
32969 PyObject * obj1 = 0 ;
32970 char *kwnames[] = {
32971 (char *) "self",(char *) "pos", NULL
32972 };
32973
32974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
32976 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32977 {
32978 arg2 = &temp2;
32979 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
32980 }
32981 {
32982 PyThreadState* __tstate = wxPyBeginAllowThreads();
32983 (arg1)->SetPosition((wxPoint const &)*arg2);
32984
32985 wxPyEndAllowThreads(__tstate);
32986 if (PyErr_Occurred()) SWIG_fail;
32987 }
32988 Py_INCREF(Py_None); resultobj = Py_None;
32989 return resultobj;
32990 fail:
32991 return NULL;
32992}
32993
32994
c370783e 32995static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32996 PyObject *resultobj;
32997 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32998 wxString *result;
32999 PyObject * obj0 = 0 ;
33000 char *kwnames[] = {
33001 (char *) "self", NULL
33002 };
33003
33004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
36ed4f51
RD
33005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33006 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33007 {
33008 PyThreadState* __tstate = wxPyBeginAllowThreads();
33009 {
33010 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33011 result = (wxString *) &_result_ref;
33012 }
33013
33014 wxPyEndAllowThreads(__tstate);
33015 if (PyErr_Occurred()) SWIG_fail;
33016 }
33017 {
33018#if wxUSE_UNICODE
33019 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33020#else
33021 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33022#endif
33023 }
33024 return resultobj;
33025 fail:
33026 return NULL;
33027}
33028
33029
c370783e 33030static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33031 PyObject *resultobj;
33032 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33033 wxString *arg2 = 0 ;
b411df4a 33034 bool temp2 = false ;
d55e5bfc
RD
33035 PyObject * obj0 = 0 ;
33036 PyObject * obj1 = 0 ;
33037 char *kwnames[] = {
33038 (char *) "self",(char *) "link", NULL
33039 };
33040
33041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33043 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33044 {
33045 arg2 = wxString_in_helper(obj1);
33046 if (arg2 == NULL) SWIG_fail;
b411df4a 33047 temp2 = true;
d55e5bfc
RD
33048 }
33049 {
33050 PyThreadState* __tstate = wxPyBeginAllowThreads();
33051 (arg1)->SetLink((wxString const &)*arg2);
33052
33053 wxPyEndAllowThreads(__tstate);
33054 if (PyErr_Occurred()) SWIG_fail;
33055 }
33056 Py_INCREF(Py_None); resultobj = Py_None;
33057 {
33058 if (temp2)
33059 delete arg2;
33060 }
33061 return resultobj;
33062 fail:
33063 {
33064 if (temp2)
33065 delete arg2;
33066 }
33067 return NULL;
33068}
33069
33070
c370783e 33071static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33072 PyObject *resultobj;
33073 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33074 wxString *result;
33075 PyObject * obj0 = 0 ;
33076 char *kwnames[] = {
33077 (char *) "self", NULL
33078 };
33079
33080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
36ed4f51
RD
33081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33082 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33083 {
33084 PyThreadState* __tstate = wxPyBeginAllowThreads();
33085 {
33086 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33087 result = (wxString *) &_result_ref;
33088 }
33089
33090 wxPyEndAllowThreads(__tstate);
33091 if (PyErr_Occurred()) SWIG_fail;
33092 }
33093 {
33094#if wxUSE_UNICODE
33095 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33096#else
33097 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33098#endif
33099 }
33100 return resultobj;
33101 fail:
33102 return NULL;
33103}
33104
33105
c370783e 33106static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33107 PyObject *resultobj;
33108 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33109 wxString *arg2 = 0 ;
b411df4a 33110 bool temp2 = false ;
d55e5bfc
RD
33111 PyObject * obj0 = 0 ;
33112 PyObject * obj1 = 0 ;
33113 char *kwnames[] = {
33114 (char *) "self",(char *) "target", NULL
33115 };
33116
33117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33119 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33120 {
33121 arg2 = wxString_in_helper(obj1);
33122 if (arg2 == NULL) SWIG_fail;
b411df4a 33123 temp2 = true;
d55e5bfc
RD
33124 }
33125 {
33126 PyThreadState* __tstate = wxPyBeginAllowThreads();
33127 (arg1)->SetTarget((wxString const &)*arg2);
33128
33129 wxPyEndAllowThreads(__tstate);
33130 if (PyErr_Occurred()) SWIG_fail;
33131 }
33132 Py_INCREF(Py_None); resultobj = Py_None;
33133 {
33134 if (temp2)
33135 delete arg2;
33136 }
33137 return resultobj;
33138 fail:
33139 {
33140 if (temp2)
33141 delete arg2;
33142 }
33143 return NULL;
33144}
33145
33146
c370783e 33147static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33148 PyObject *obj;
33149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33150 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33151 Py_INCREF(obj);
33152 return Py_BuildValue((char *)"");
33153}
c370783e 33154static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33155 PyObject *resultobj;
33156 wxWindow *arg1 = (wxWindow *) NULL ;
b411df4a 33157 bool arg2 = (bool) true ;
d55e5bfc
RD
33158 wxContextHelp *result;
33159 PyObject * obj0 = 0 ;
33160 PyObject * obj1 = 0 ;
33161 char *kwnames[] = {
33162 (char *) "window",(char *) "doNow", NULL
33163 };
33164
33165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33166 if (obj0) {
36ed4f51
RD
33167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33168 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33169 }
33170 if (obj1) {
36ed4f51
RD
33171 {
33172 arg2 = (bool)(SWIG_As_bool(obj1));
33173 if (SWIG_arg_fail(2)) SWIG_fail;
33174 }
d55e5bfc
RD
33175 }
33176 {
0439c23b 33177 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33178 PyThreadState* __tstate = wxPyBeginAllowThreads();
33179 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33180
33181 wxPyEndAllowThreads(__tstate);
110da5b0 33182 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33183 }
33184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33185 return resultobj;
33186 fail:
33187 return NULL;
33188}
33189
33190
c370783e 33191static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33192 PyObject *resultobj;
33193 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33194 PyObject * obj0 = 0 ;
33195 char *kwnames[] = {
33196 (char *) "self", NULL
33197 };
33198
33199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
33200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33201 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33202 {
33203 PyThreadState* __tstate = wxPyBeginAllowThreads();
33204 delete arg1;
33205
33206 wxPyEndAllowThreads(__tstate);
33207 if (PyErr_Occurred()) SWIG_fail;
33208 }
33209 Py_INCREF(Py_None); resultobj = Py_None;
33210 return resultobj;
33211 fail:
33212 return NULL;
33213}
33214
33215
c370783e 33216static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33217 PyObject *resultobj;
33218 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33219 wxWindow *arg2 = (wxWindow *) NULL ;
33220 bool result;
33221 PyObject * obj0 = 0 ;
33222 PyObject * obj1 = 0 ;
33223 char *kwnames[] = {
33224 (char *) "self",(char *) "window", NULL
33225 };
33226
33227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33229 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33230 if (obj1) {
36ed4f51
RD
33231 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33232 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33233 }
33234 {
33235 PyThreadState* __tstate = wxPyBeginAllowThreads();
33236 result = (bool)(arg1)->BeginContextHelp(arg2);
33237
33238 wxPyEndAllowThreads(__tstate);
33239 if (PyErr_Occurred()) SWIG_fail;
33240 }
33241 {
33242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33243 }
33244 return resultobj;
33245 fail:
33246 return NULL;
33247}
33248
33249
c370783e 33250static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33251 PyObject *resultobj;
33252 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33253 bool result;
33254 PyObject * obj0 = 0 ;
33255 char *kwnames[] = {
33256 (char *) "self", NULL
33257 };
33258
33259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
33260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33261 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33262 {
33263 PyThreadState* __tstate = wxPyBeginAllowThreads();
33264 result = (bool)(arg1)->EndContextHelp();
33265
33266 wxPyEndAllowThreads(__tstate);
33267 if (PyErr_Occurred()) SWIG_fail;
33268 }
33269 {
33270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33271 }
33272 return resultobj;
33273 fail:
33274 return NULL;
33275}
33276
33277
c370783e 33278static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33279 PyObject *obj;
33280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33281 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33282 Py_INCREF(obj);
33283 return Py_BuildValue((char *)"");
33284}
c370783e 33285static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33286 PyObject *resultobj;
33287 wxWindow *arg1 = (wxWindow *) 0 ;
33288 int arg2 = (int) wxID_CONTEXT_HELP ;
33289 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33290 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33291 wxSize const &arg4_defvalue = wxDefaultSize ;
33292 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33293 long arg5 = (long) wxBU_AUTODRAW ;
33294 wxContextHelpButton *result;
33295 wxPoint temp3 ;
33296 wxSize temp4 ;
33297 PyObject * obj0 = 0 ;
33298 PyObject * obj1 = 0 ;
33299 PyObject * obj2 = 0 ;
33300 PyObject * obj3 = 0 ;
33301 PyObject * obj4 = 0 ;
33302 char *kwnames[] = {
33303 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33304 };
33305
33306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33308 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33309 if (obj1) {
36ed4f51
RD
33310 {
33311 arg2 = (int)(SWIG_As_int(obj1));
33312 if (SWIG_arg_fail(2)) SWIG_fail;
33313 }
d55e5bfc
RD
33314 }
33315 if (obj2) {
33316 {
33317 arg3 = &temp3;
33318 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33319 }
33320 }
33321 if (obj3) {
33322 {
33323 arg4 = &temp4;
33324 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33325 }
33326 }
33327 if (obj4) {
36ed4f51
RD
33328 {
33329 arg5 = (long)(SWIG_As_long(obj4));
33330 if (SWIG_arg_fail(5)) SWIG_fail;
33331 }
d55e5bfc
RD
33332 }
33333 {
0439c23b 33334 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33335 PyThreadState* __tstate = wxPyBeginAllowThreads();
33336 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33337
33338 wxPyEndAllowThreads(__tstate);
110da5b0 33339 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33340 }
33341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33342 return resultobj;
33343 fail:
33344 return NULL;
33345}
33346
33347
c370783e 33348static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33349 PyObject *obj;
33350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33351 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33352 Py_INCREF(obj);
33353 return Py_BuildValue((char *)"");
33354}
c370783e 33355static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33356 PyObject *resultobj;
33357 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33358 wxHelpProvider *result;
33359 PyObject * obj0 = 0 ;
33360 char *kwnames[] = {
33361 (char *) "helpProvider", NULL
33362 };
33363
33364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
36ed4f51
RD
33365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33366 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33367 {
33368 PyThreadState* __tstate = wxPyBeginAllowThreads();
33369 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33370
33371 wxPyEndAllowThreads(__tstate);
33372 if (PyErr_Occurred()) SWIG_fail;
33373 }
33374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33375 return resultobj;
33376 fail:
33377 return NULL;
33378}
33379
33380
c370783e 33381static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33382 PyObject *resultobj;
33383 wxHelpProvider *result;
33384 char *kwnames[] = {
33385 NULL
33386 };
33387
33388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33389 {
33390 PyThreadState* __tstate = wxPyBeginAllowThreads();
33391 result = (wxHelpProvider *)wxHelpProvider::Get();
33392
33393 wxPyEndAllowThreads(__tstate);
33394 if (PyErr_Occurred()) SWIG_fail;
33395 }
33396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33397 return resultobj;
33398 fail:
33399 return NULL;
33400}
33401
33402
c370783e 33403static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33404 PyObject *resultobj;
33405 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33406 wxWindow *arg2 = (wxWindow *) 0 ;
33407 wxString result;
33408 PyObject * obj0 = 0 ;
33409 PyObject * obj1 = 0 ;
33410 char *kwnames[] = {
33411 (char *) "self",(char *) "window", NULL
33412 };
33413
33414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33416 if (SWIG_arg_fail(1)) SWIG_fail;
33417 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33418 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33419 {
33420 PyThreadState* __tstate = wxPyBeginAllowThreads();
33421 result = (arg1)->GetHelp((wxWindow const *)arg2);
33422
33423 wxPyEndAllowThreads(__tstate);
33424 if (PyErr_Occurred()) SWIG_fail;
33425 }
33426 {
33427#if wxUSE_UNICODE
33428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33429#else
33430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33431#endif
33432 }
33433 return resultobj;
33434 fail:
33435 return NULL;
33436}
33437
33438
c370783e 33439static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33440 PyObject *resultobj;
33441 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33442 wxWindow *arg2 = (wxWindow *) 0 ;
33443 bool result;
33444 PyObject * obj0 = 0 ;
33445 PyObject * obj1 = 0 ;
33446 char *kwnames[] = {
33447 (char *) "self",(char *) "window", NULL
33448 };
33449
33450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33452 if (SWIG_arg_fail(1)) SWIG_fail;
33453 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33454 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33455 {
33456 PyThreadState* __tstate = wxPyBeginAllowThreads();
33457 result = (bool)(arg1)->ShowHelp(arg2);
33458
33459 wxPyEndAllowThreads(__tstate);
33460 if (PyErr_Occurred()) SWIG_fail;
33461 }
33462 {
33463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33464 }
33465 return resultobj;
33466 fail:
33467 return NULL;
33468}
33469
33470
c370783e 33471static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33472 PyObject *resultobj;
33473 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33474 wxWindow *arg2 = (wxWindow *) 0 ;
33475 wxString *arg3 = 0 ;
b411df4a 33476 bool temp3 = false ;
d55e5bfc
RD
33477 PyObject * obj0 = 0 ;
33478 PyObject * obj1 = 0 ;
33479 PyObject * obj2 = 0 ;
33480 char *kwnames[] = {
33481 (char *) "self",(char *) "window",(char *) "text", NULL
33482 };
33483
33484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33486 if (SWIG_arg_fail(1)) SWIG_fail;
33487 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33488 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33489 {
33490 arg3 = wxString_in_helper(obj2);
33491 if (arg3 == NULL) SWIG_fail;
b411df4a 33492 temp3 = true;
d55e5bfc
RD
33493 }
33494 {
33495 PyThreadState* __tstate = wxPyBeginAllowThreads();
33496 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33497
33498 wxPyEndAllowThreads(__tstate);
33499 if (PyErr_Occurred()) SWIG_fail;
33500 }
33501 Py_INCREF(Py_None); resultobj = Py_None;
33502 {
33503 if (temp3)
33504 delete arg3;
33505 }
33506 return resultobj;
33507 fail:
33508 {
33509 if (temp3)
33510 delete arg3;
33511 }
33512 return NULL;
33513}
33514
33515
c370783e 33516static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33517 PyObject *resultobj;
33518 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33519 int arg2 ;
33520 wxString *arg3 = 0 ;
b411df4a 33521 bool temp3 = false ;
d55e5bfc
RD
33522 PyObject * obj0 = 0 ;
33523 PyObject * obj1 = 0 ;
33524 PyObject * obj2 = 0 ;
33525 char *kwnames[] = {
33526 (char *) "self",(char *) "id",(char *) "text", NULL
33527 };
33528
33529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33531 if (SWIG_arg_fail(1)) SWIG_fail;
33532 {
33533 arg2 = (int)(SWIG_As_int(obj1));
33534 if (SWIG_arg_fail(2)) SWIG_fail;
33535 }
d55e5bfc
RD
33536 {
33537 arg3 = wxString_in_helper(obj2);
33538 if (arg3 == NULL) SWIG_fail;
b411df4a 33539 temp3 = true;
d55e5bfc
RD
33540 }
33541 {
33542 PyThreadState* __tstate = wxPyBeginAllowThreads();
33543 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33544
33545 wxPyEndAllowThreads(__tstate);
33546 if (PyErr_Occurred()) SWIG_fail;
33547 }
33548 Py_INCREF(Py_None); resultobj = Py_None;
33549 {
33550 if (temp3)
33551 delete arg3;
33552 }
33553 return resultobj;
33554 fail:
33555 {
33556 if (temp3)
33557 delete arg3;
33558 }
33559 return NULL;
33560}
33561
33562
c370783e 33563static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33564 PyObject *resultobj;
33565 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33566 wxWindow *arg2 = (wxWindow *) 0 ;
33567 PyObject * obj0 = 0 ;
33568 PyObject * obj1 = 0 ;
33569 char *kwnames[] = {
33570 (char *) "self",(char *) "window", NULL
33571 };
33572
33573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33575 if (SWIG_arg_fail(1)) SWIG_fail;
33576 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33577 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33578 {
33579 PyThreadState* __tstate = wxPyBeginAllowThreads();
33580 (arg1)->RemoveHelp(arg2);
33581
33582 wxPyEndAllowThreads(__tstate);
33583 if (PyErr_Occurred()) SWIG_fail;
33584 }
33585 Py_INCREF(Py_None); resultobj = Py_None;
33586 return resultobj;
33587 fail:
33588 return NULL;
33589}
33590
33591
c370783e 33592static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33593 PyObject *resultobj;
33594 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33595 PyObject * obj0 = 0 ;
33596 char *kwnames[] = {
33597 (char *) "self", NULL
33598 };
33599
33600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
33601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33602 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33603 {
33604 PyThreadState* __tstate = wxPyBeginAllowThreads();
33605 wxHelpProvider_Destroy(arg1);
33606
33607 wxPyEndAllowThreads(__tstate);
33608 if (PyErr_Occurred()) SWIG_fail;
33609 }
33610 Py_INCREF(Py_None); resultobj = Py_None;
33611 return resultobj;
33612 fail:
33613 return NULL;
33614}
33615
33616
c370783e 33617static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33618 PyObject *obj;
33619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33620 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33621 Py_INCREF(obj);
33622 return Py_BuildValue((char *)"");
33623}
c370783e 33624static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33625 PyObject *resultobj;
33626 wxSimpleHelpProvider *result;
33627 char *kwnames[] = {
33628 NULL
33629 };
33630
33631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33632 {
33633 PyThreadState* __tstate = wxPyBeginAllowThreads();
33634 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33635
33636 wxPyEndAllowThreads(__tstate);
33637 if (PyErr_Occurred()) SWIG_fail;
33638 }
33639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33640 return resultobj;
33641 fail:
33642 return NULL;
33643}
33644
33645
c370783e 33646static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33647 PyObject *obj;
33648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33649 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33650 Py_INCREF(obj);
33651 return Py_BuildValue((char *)"");
33652}
c370783e 33653static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33654 PyObject *resultobj;
33655 wxBitmap *arg1 = 0 ;
33656 wxCursor const &arg2_defvalue = wxNullCursor ;
33657 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33658 wxGenericDragImage *result;
33659 PyObject * obj0 = 0 ;
33660 PyObject * obj1 = 0 ;
33661 char *kwnames[] = {
33662 (char *) "image",(char *) "cursor", NULL
33663 };
33664
33665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33666 {
33667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33668 if (SWIG_arg_fail(1)) SWIG_fail;
33669 if (arg1 == NULL) {
33670 SWIG_null_ref("wxBitmap");
33671 }
33672 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33673 }
33674 if (obj1) {
36ed4f51
RD
33675 {
33676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33677 if (SWIG_arg_fail(2)) SWIG_fail;
33678 if (arg2 == NULL) {
33679 SWIG_null_ref("wxCursor");
33680 }
33681 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33682 }
33683 }
33684 {
0439c23b 33685 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33686 PyThreadState* __tstate = wxPyBeginAllowThreads();
33687 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33688
33689 wxPyEndAllowThreads(__tstate);
110da5b0 33690 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33691 }
33692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33693 return resultobj;
33694 fail:
33695 return NULL;
33696}
33697
33698
c370783e 33699static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33700 PyObject *resultobj;
33701 wxIcon *arg1 = 0 ;
33702 wxCursor const &arg2_defvalue = wxNullCursor ;
33703 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33704 wxGenericDragImage *result;
33705 PyObject * obj0 = 0 ;
33706 PyObject * obj1 = 0 ;
33707 char *kwnames[] = {
33708 (char *) "image",(char *) "cursor", NULL
33709 };
33710
33711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33712 {
33713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33714 if (SWIG_arg_fail(1)) SWIG_fail;
33715 if (arg1 == NULL) {
33716 SWIG_null_ref("wxIcon");
33717 }
33718 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33719 }
33720 if (obj1) {
36ed4f51
RD
33721 {
33722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33723 if (SWIG_arg_fail(2)) SWIG_fail;
33724 if (arg2 == NULL) {
33725 SWIG_null_ref("wxCursor");
33726 }
33727 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33728 }
33729 }
33730 {
0439c23b 33731 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33732 PyThreadState* __tstate = wxPyBeginAllowThreads();
33733 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33734
33735 wxPyEndAllowThreads(__tstate);
110da5b0 33736 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33737 }
33738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33739 return resultobj;
33740 fail:
33741 return NULL;
33742}
33743
33744
c370783e 33745static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33746 PyObject *resultobj;
33747 wxString *arg1 = 0 ;
33748 wxCursor const &arg2_defvalue = wxNullCursor ;
33749 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33750 wxGenericDragImage *result;
b411df4a 33751 bool temp1 = false ;
d55e5bfc
RD
33752 PyObject * obj0 = 0 ;
33753 PyObject * obj1 = 0 ;
33754 char *kwnames[] = {
33755 (char *) "str",(char *) "cursor", NULL
33756 };
33757
33758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33759 {
33760 arg1 = wxString_in_helper(obj0);
33761 if (arg1 == NULL) SWIG_fail;
b411df4a 33762 temp1 = true;
d55e5bfc
RD
33763 }
33764 if (obj1) {
36ed4f51
RD
33765 {
33766 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33767 if (SWIG_arg_fail(2)) SWIG_fail;
33768 if (arg2 == NULL) {
33769 SWIG_null_ref("wxCursor");
33770 }
33771 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33772 }
33773 }
33774 {
0439c23b 33775 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33776 PyThreadState* __tstate = wxPyBeginAllowThreads();
33777 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33778
33779 wxPyEndAllowThreads(__tstate);
110da5b0 33780 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33781 }
33782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33783 {
33784 if (temp1)
33785 delete arg1;
33786 }
33787 return resultobj;
33788 fail:
33789 {
33790 if (temp1)
33791 delete arg1;
33792 }
33793 return NULL;
33794}
33795
33796
c370783e 33797static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33798 PyObject *resultobj;
33799 wxPyTreeCtrl *arg1 = 0 ;
33800 wxTreeItemId *arg2 = 0 ;
33801 wxGenericDragImage *result;
33802 PyObject * obj0 = 0 ;
33803 PyObject * obj1 = 0 ;
33804 char *kwnames[] = {
33805 (char *) "treeCtrl",(char *) "id", NULL
33806 };
33807
33808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33809 {
33810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33811 if (SWIG_arg_fail(1)) SWIG_fail;
33812 if (arg1 == NULL) {
33813 SWIG_null_ref("wxPyTreeCtrl");
33814 }
33815 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33816 }
36ed4f51
RD
33817 {
33818 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33819 if (SWIG_arg_fail(2)) SWIG_fail;
33820 if (arg2 == NULL) {
33821 SWIG_null_ref("wxTreeItemId");
33822 }
33823 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33824 }
33825 {
0439c23b 33826 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33827 PyThreadState* __tstate = wxPyBeginAllowThreads();
33828 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33829
33830 wxPyEndAllowThreads(__tstate);
110da5b0 33831 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33832 }
33833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33834 return resultobj;
33835 fail:
33836 return NULL;
33837}
33838
33839
c370783e 33840static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33841 PyObject *resultobj;
33842 wxPyListCtrl *arg1 = 0 ;
33843 long arg2 ;
33844 wxGenericDragImage *result;
33845 PyObject * obj0 = 0 ;
33846 PyObject * obj1 = 0 ;
33847 char *kwnames[] = {
33848 (char *) "listCtrl",(char *) "id", NULL
33849 };
33850
33851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33852 {
33853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33854 if (SWIG_arg_fail(1)) SWIG_fail;
33855 if (arg1 == NULL) {
33856 SWIG_null_ref("wxPyListCtrl");
33857 }
33858 if (SWIG_arg_fail(1)) SWIG_fail;
33859 }
33860 {
33861 arg2 = (long)(SWIG_As_long(obj1));
33862 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 33863 }
d55e5bfc 33864 {
0439c23b 33865 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33866 PyThreadState* __tstate = wxPyBeginAllowThreads();
33867 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33868
33869 wxPyEndAllowThreads(__tstate);
110da5b0 33870 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33871 }
33872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33873 return resultobj;
33874 fail:
33875 return NULL;
33876}
33877
33878
c370783e 33879static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33880 PyObject *resultobj;
33881 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33882 PyObject * obj0 = 0 ;
33883 char *kwnames[] = {
33884 (char *) "self", NULL
33885 };
33886
33887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
33888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33889 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33890 {
33891 PyThreadState* __tstate = wxPyBeginAllowThreads();
33892 delete arg1;
33893
33894 wxPyEndAllowThreads(__tstate);
33895 if (PyErr_Occurred()) SWIG_fail;
33896 }
33897 Py_INCREF(Py_None); resultobj = Py_None;
33898 return resultobj;
33899 fail:
33900 return NULL;
33901}
33902
33903
c370783e 33904static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33905 PyObject *resultobj;
33906 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33907 wxBitmap *arg2 = (wxBitmap *) 0 ;
33908 PyObject * obj0 = 0 ;
33909 PyObject * obj1 = 0 ;
33910 char *kwnames[] = {
33911 (char *) "self",(char *) "bitmap", NULL
33912 };
33913
33914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33916 if (SWIG_arg_fail(1)) SWIG_fail;
33917 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33918 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33919 {
33920 PyThreadState* __tstate = wxPyBeginAllowThreads();
33921 (arg1)->SetBackingBitmap(arg2);
33922
33923 wxPyEndAllowThreads(__tstate);
33924 if (PyErr_Occurred()) SWIG_fail;
33925 }
33926 Py_INCREF(Py_None); resultobj = Py_None;
33927 return resultobj;
33928 fail:
33929 return NULL;
33930}
33931
33932
c370783e 33933static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33934 PyObject *resultobj;
33935 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33936 wxPoint *arg2 = 0 ;
33937 wxWindow *arg3 = (wxWindow *) 0 ;
b411df4a 33938 bool arg4 = (bool) false ;
d55e5bfc
RD
33939 wxRect *arg5 = (wxRect *) NULL ;
33940 bool result;
33941 wxPoint temp2 ;
33942 PyObject * obj0 = 0 ;
33943 PyObject * obj1 = 0 ;
33944 PyObject * obj2 = 0 ;
33945 PyObject * obj3 = 0 ;
33946 PyObject * obj4 = 0 ;
33947 char *kwnames[] = {
33948 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33949 };
33950
33951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33954 {
33955 arg2 = &temp2;
33956 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33957 }
36ed4f51
RD
33958 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33959 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 33960 if (obj3) {
36ed4f51
RD
33961 {
33962 arg4 = (bool)(SWIG_As_bool(obj3));
33963 if (SWIG_arg_fail(4)) SWIG_fail;
33964 }
d55e5bfc
RD
33965 }
33966 if (obj4) {
36ed4f51
RD
33967 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
33968 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
33969 }
33970 {
33971 PyThreadState* __tstate = wxPyBeginAllowThreads();
33972 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
33973
33974 wxPyEndAllowThreads(__tstate);
33975 if (PyErr_Occurred()) SWIG_fail;
33976 }
33977 {
33978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33979 }
33980 return resultobj;
33981 fail:
33982 return NULL;
33983}
33984
33985
c370783e 33986static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33987 PyObject *resultobj;
33988 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33989 wxPoint *arg2 = 0 ;
33990 wxWindow *arg3 = (wxWindow *) 0 ;
33991 wxWindow *arg4 = (wxWindow *) 0 ;
33992 bool result;
33993 wxPoint temp2 ;
33994 PyObject * obj0 = 0 ;
33995 PyObject * obj1 = 0 ;
33996 PyObject * obj2 = 0 ;
33997 PyObject * obj3 = 0 ;
33998 char *kwnames[] = {
33999 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34000 };
34001
34002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
34003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34004 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34005 {
34006 arg2 = &temp2;
34007 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34008 }
36ed4f51
RD
34009 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34010 if (SWIG_arg_fail(3)) SWIG_fail;
34011 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34012 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
34013 {
34014 PyThreadState* __tstate = wxPyBeginAllowThreads();
34015 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34016
34017 wxPyEndAllowThreads(__tstate);
34018 if (PyErr_Occurred()) SWIG_fail;
34019 }
34020 {
34021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34022 }
34023 return resultobj;
34024 fail:
34025 return NULL;
34026}
34027
34028
c370783e 34029static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34030 PyObject *resultobj;
34031 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34032 bool result;
34033 PyObject * obj0 = 0 ;
34034 char *kwnames[] = {
34035 (char *) "self", NULL
34036 };
34037
34038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
36ed4f51
RD
34039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34040 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34041 {
34042 PyThreadState* __tstate = wxPyBeginAllowThreads();
34043 result = (bool)(arg1)->EndDrag();
34044
34045 wxPyEndAllowThreads(__tstate);
34046 if (PyErr_Occurred()) SWIG_fail;
34047 }
34048 {
34049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34050 }
34051 return resultobj;
34052 fail:
34053 return NULL;
34054}
34055
34056
c370783e 34057static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34058 PyObject *resultobj;
34059 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34060 wxPoint *arg2 = 0 ;
34061 bool result;
34062 wxPoint temp2 ;
34063 PyObject * obj0 = 0 ;
34064 PyObject * obj1 = 0 ;
34065 char *kwnames[] = {
34066 (char *) "self",(char *) "pt", NULL
34067 };
34068
34069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34071 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34072 {
34073 arg2 = &temp2;
34074 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34075 }
34076 {
34077 PyThreadState* __tstate = wxPyBeginAllowThreads();
34078 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34079
34080 wxPyEndAllowThreads(__tstate);
34081 if (PyErr_Occurred()) SWIG_fail;
34082 }
34083 {
34084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34085 }
34086 return resultobj;
34087 fail:
34088 return NULL;
34089}
34090
34091
c370783e 34092static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34093 PyObject *resultobj;
34094 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34095 bool result;
34096 PyObject * obj0 = 0 ;
34097 char *kwnames[] = {
34098 (char *) "self", NULL
34099 };
34100
34101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
36ed4f51
RD
34102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34103 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34104 {
34105 PyThreadState* __tstate = wxPyBeginAllowThreads();
34106 result = (bool)(arg1)->Show();
34107
34108 wxPyEndAllowThreads(__tstate);
34109 if (PyErr_Occurred()) SWIG_fail;
34110 }
34111 {
34112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34113 }
34114 return resultobj;
34115 fail:
34116 return NULL;
34117}
34118
34119
c370783e 34120static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34121 PyObject *resultobj;
34122 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34123 bool result;
34124 PyObject * obj0 = 0 ;
34125 char *kwnames[] = {
34126 (char *) "self", NULL
34127 };
34128
34129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
36ed4f51
RD
34130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34131 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34132 {
34133 PyThreadState* __tstate = wxPyBeginAllowThreads();
34134 result = (bool)(arg1)->Hide();
34135
34136 wxPyEndAllowThreads(__tstate);
34137 if (PyErr_Occurred()) SWIG_fail;
34138 }
34139 {
34140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34141 }
34142 return resultobj;
34143 fail:
34144 return NULL;
34145}
34146
34147
c370783e 34148static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34149 PyObject *resultobj;
34150 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34151 wxPoint *arg2 = 0 ;
34152 wxRect result;
34153 wxPoint temp2 ;
34154 PyObject * obj0 = 0 ;
34155 PyObject * obj1 = 0 ;
34156 char *kwnames[] = {
34157 (char *) "self",(char *) "pos", NULL
34158 };
34159
34160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34163 {
34164 arg2 = &temp2;
34165 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34166 }
34167 {
34168 PyThreadState* __tstate = wxPyBeginAllowThreads();
34169 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34170
34171 wxPyEndAllowThreads(__tstate);
34172 if (PyErr_Occurred()) SWIG_fail;
34173 }
34174 {
34175 wxRect * resultptr;
36ed4f51 34176 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
34177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34178 }
34179 return resultobj;
34180 fail:
34181 return NULL;
34182}
34183
34184
c370783e 34185static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34186 PyObject *resultobj;
34187 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34188 wxDC *arg2 = 0 ;
34189 wxPoint *arg3 = 0 ;
34190 bool result;
34191 wxPoint temp3 ;
34192 PyObject * obj0 = 0 ;
34193 PyObject * obj1 = 0 ;
34194 PyObject * obj2 = 0 ;
34195 char *kwnames[] = {
34196 (char *) "self",(char *) "dc",(char *) "pos", NULL
34197 };
34198
34199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
34200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34201 if (SWIG_arg_fail(1)) SWIG_fail;
34202 {
34203 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34204 if (SWIG_arg_fail(2)) SWIG_fail;
34205 if (arg2 == NULL) {
34206 SWIG_null_ref("wxDC");
34207 }
34208 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34209 }
34210 {
34211 arg3 = &temp3;
34212 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34213 }
34214 {
34215 PyThreadState* __tstate = wxPyBeginAllowThreads();
34216 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34217
34218 wxPyEndAllowThreads(__tstate);
34219 if (PyErr_Occurred()) SWIG_fail;
34220 }
34221 {
34222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34223 }
34224 return resultobj;
34225 fail:
34226 return NULL;
34227}
34228
34229
c370783e 34230static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34231 PyObject *resultobj;
34232 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34233 wxDC *arg2 = 0 ;
34234 wxMemoryDC *arg3 = 0 ;
34235 wxRect *arg4 = 0 ;
34236 wxRect *arg5 = 0 ;
34237 bool result;
34238 wxRect temp4 ;
34239 wxRect temp5 ;
34240 PyObject * obj0 = 0 ;
34241 PyObject * obj1 = 0 ;
34242 PyObject * obj2 = 0 ;
34243 PyObject * obj3 = 0 ;
34244 PyObject * obj4 = 0 ;
34245 char *kwnames[] = {
34246 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34247 };
34248
34249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34251 if (SWIG_arg_fail(1)) SWIG_fail;
34252 {
34253 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34254 if (SWIG_arg_fail(2)) SWIG_fail;
34255 if (arg2 == NULL) {
34256 SWIG_null_ref("wxDC");
34257 }
34258 if (SWIG_arg_fail(2)) SWIG_fail;
34259 }
34260 {
34261 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34262 if (SWIG_arg_fail(3)) SWIG_fail;
34263 if (arg3 == NULL) {
34264 SWIG_null_ref("wxMemoryDC");
34265 }
34266 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
34267 }
34268 {
34269 arg4 = &temp4;
34270 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34271 }
34272 {
34273 arg5 = &temp5;
34274 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34275 }
34276 {
34277 PyThreadState* __tstate = wxPyBeginAllowThreads();
34278 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34279
34280 wxPyEndAllowThreads(__tstate);
34281 if (PyErr_Occurred()) SWIG_fail;
34282 }
34283 {
34284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34285 }
34286 return resultobj;
34287 fail:
34288 return NULL;
34289}
34290
34291
c370783e 34292static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34293 PyObject *resultobj;
34294 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34295 wxPoint *arg2 = 0 ;
34296 wxPoint *arg3 = 0 ;
34297 bool arg4 ;
34298 bool arg5 ;
34299 bool result;
34300 wxPoint temp2 ;
34301 wxPoint temp3 ;
34302 PyObject * obj0 = 0 ;
34303 PyObject * obj1 = 0 ;
34304 PyObject * obj2 = 0 ;
34305 PyObject * obj3 = 0 ;
34306 PyObject * obj4 = 0 ;
34307 char *kwnames[] = {
34308 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34309 };
34310
34311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34313 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34314 {
34315 arg2 = &temp2;
34316 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34317 }
34318 {
34319 arg3 = &temp3;
34320 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34321 }
36ed4f51
RD
34322 {
34323 arg4 = (bool)(SWIG_As_bool(obj3));
34324 if (SWIG_arg_fail(4)) SWIG_fail;
34325 }
34326 {
34327 arg5 = (bool)(SWIG_As_bool(obj4));
34328 if (SWIG_arg_fail(5)) SWIG_fail;
34329 }
d55e5bfc
RD
34330 {
34331 PyThreadState* __tstate = wxPyBeginAllowThreads();
34332 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34333
34334 wxPyEndAllowThreads(__tstate);
34335 if (PyErr_Occurred()) SWIG_fail;
34336 }
34337 {
34338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34339 }
34340 return resultobj;
34341 fail:
34342 return NULL;
34343}
34344
34345
c370783e 34346static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34347 PyObject *obj;
34348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34349 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34350 Py_INCREF(obj);
34351 return Py_BuildValue((char *)"");
34352}
53aa7709
RD
34353static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34354 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34355 return 1;
34356}
34357
34358
34359static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34360 PyObject *pyobj;
34361
34362 {
34363#if wxUSE_UNICODE
34364 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34365#else
34366 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34367#endif
34368 }
34369 return pyobj;
34370}
34371
34372
34373static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34374 PyObject *resultobj;
34375 wxWindow *arg1 = (wxWindow *) 0 ;
34376 int arg2 = (int) -1 ;
34377 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34378 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34379 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34380 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34381 wxSize const &arg5_defvalue = wxDefaultSize ;
34382 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34383 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34384 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34385 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34386 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34387 wxString *arg8 = (wxString *) &arg8_defvalue ;
34388 wxDatePickerCtrl *result;
34389 wxPoint temp4 ;
34390 wxSize temp5 ;
34391 bool temp8 = false ;
34392 PyObject * obj0 = 0 ;
34393 PyObject * obj1 = 0 ;
34394 PyObject * obj2 = 0 ;
34395 PyObject * obj3 = 0 ;
34396 PyObject * obj4 = 0 ;
34397 PyObject * obj5 = 0 ;
34398 PyObject * obj6 = 0 ;
34399 PyObject * obj7 = 0 ;
34400 char *kwnames[] = {
34401 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34402 };
34403
34404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34406 if (SWIG_arg_fail(1)) SWIG_fail;
34407 if (obj1) {
34408 {
34409 arg2 = (int)(SWIG_As_int(obj1));
34410 if (SWIG_arg_fail(2)) SWIG_fail;
34411 }
34412 }
34413 if (obj2) {
34414 {
34415 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34416 if (SWIG_arg_fail(3)) SWIG_fail;
34417 if (arg3 == NULL) {
34418 SWIG_null_ref("wxDateTime");
34419 }
34420 if (SWIG_arg_fail(3)) SWIG_fail;
34421 }
34422 }
34423 if (obj3) {
34424 {
34425 arg4 = &temp4;
34426 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34427 }
34428 }
34429 if (obj4) {
34430 {
34431 arg5 = &temp5;
34432 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34433 }
34434 }
34435 if (obj5) {
34436 {
34437 arg6 = (long)(SWIG_As_long(obj5));
34438 if (SWIG_arg_fail(6)) SWIG_fail;
34439 }
34440 }
34441 if (obj6) {
34442 {
34443 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34444 if (SWIG_arg_fail(7)) SWIG_fail;
34445 if (arg7 == NULL) {
34446 SWIG_null_ref("wxValidator");
34447 }
34448 if (SWIG_arg_fail(7)) SWIG_fail;
34449 }
34450 }
34451 if (obj7) {
34452 {
34453 arg8 = wxString_in_helper(obj7);
34454 if (arg8 == NULL) SWIG_fail;
34455 temp8 = true;
34456 }
34457 }
34458 {
34459 if (!wxPyCheckForApp()) SWIG_fail;
34460 PyThreadState* __tstate = wxPyBeginAllowThreads();
34461 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34462
34463 wxPyEndAllowThreads(__tstate);
34464 if (PyErr_Occurred()) SWIG_fail;
34465 }
34466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34467 {
34468 if (temp8)
34469 delete arg8;
34470 }
34471 return resultobj;
34472 fail:
34473 {
34474 if (temp8)
34475 delete arg8;
34476 }
34477 return NULL;
34478}
34479
34480
34481static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34482 PyObject *resultobj;
34483 wxDatePickerCtrl *result;
34484 char *kwnames[] = {
34485 NULL
34486 };
34487
34488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34489 {
34490 if (!wxPyCheckForApp()) SWIG_fail;
34491 PyThreadState* __tstate = wxPyBeginAllowThreads();
34492 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34493
34494 wxPyEndAllowThreads(__tstate);
34495 if (PyErr_Occurred()) SWIG_fail;
34496 }
34497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34498 return resultobj;
34499 fail:
34500 return NULL;
34501}
34502
34503
34504static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34505 PyObject *resultobj;
34506 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34507 wxWindow *arg2 = (wxWindow *) 0 ;
34508 int arg3 = (int) -1 ;
34509 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34510 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34511 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34512 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34513 wxSize const &arg6_defvalue = wxDefaultSize ;
34514 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34515 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34516 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34517 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34518 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34519 wxString *arg9 = (wxString *) &arg9_defvalue ;
34520 bool result;
34521 wxPoint temp5 ;
34522 wxSize temp6 ;
34523 bool temp9 = false ;
34524 PyObject * obj0 = 0 ;
34525 PyObject * obj1 = 0 ;
34526 PyObject * obj2 = 0 ;
34527 PyObject * obj3 = 0 ;
34528 PyObject * obj4 = 0 ;
34529 PyObject * obj5 = 0 ;
34530 PyObject * obj6 = 0 ;
34531 PyObject * obj7 = 0 ;
34532 PyObject * obj8 = 0 ;
34533 char *kwnames[] = {
34534 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34535 };
34536
34537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34539 if (SWIG_arg_fail(1)) SWIG_fail;
34540 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34541 if (SWIG_arg_fail(2)) SWIG_fail;
34542 if (obj2) {
34543 {
34544 arg3 = (int)(SWIG_As_int(obj2));
34545 if (SWIG_arg_fail(3)) SWIG_fail;
34546 }
34547 }
34548 if (obj3) {
34549 {
34550 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34551 if (SWIG_arg_fail(4)) SWIG_fail;
34552 if (arg4 == NULL) {
34553 SWIG_null_ref("wxDateTime");
34554 }
34555 if (SWIG_arg_fail(4)) SWIG_fail;
34556 }
34557 }
34558 if (obj4) {
34559 {
34560 arg5 = &temp5;
34561 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34562 }
34563 }
34564 if (obj5) {
34565 {
34566 arg6 = &temp6;
34567 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34568 }
34569 }
34570 if (obj6) {
34571 {
34572 arg7 = (long)(SWIG_As_long(obj6));
34573 if (SWIG_arg_fail(7)) SWIG_fail;
34574 }
34575 }
34576 if (obj7) {
34577 {
34578 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34579 if (SWIG_arg_fail(8)) SWIG_fail;
34580 if (arg8 == NULL) {
34581 SWIG_null_ref("wxValidator");
34582 }
34583 if (SWIG_arg_fail(8)) SWIG_fail;
34584 }
34585 }
34586 if (obj8) {
34587 {
34588 arg9 = wxString_in_helper(obj8);
34589 if (arg9 == NULL) SWIG_fail;
34590 temp9 = true;
34591 }
34592 }
34593 {
34594 PyThreadState* __tstate = wxPyBeginAllowThreads();
34595 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34596
34597 wxPyEndAllowThreads(__tstate);
34598 if (PyErr_Occurred()) SWIG_fail;
34599 }
34600 {
34601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34602 }
34603 {
34604 if (temp9)
34605 delete arg9;
34606 }
34607 return resultobj;
34608 fail:
34609 {
34610 if (temp9)
34611 delete arg9;
34612 }
34613 return NULL;
34614}
34615
34616
34617static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34618 PyObject *resultobj;
34619 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34620 wxDateTime *arg2 = 0 ;
34621 PyObject * obj0 = 0 ;
34622 PyObject * obj1 = 0 ;
34623 char *kwnames[] = {
34624 (char *) "self",(char *) "dt", NULL
34625 };
34626
34627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34629 if (SWIG_arg_fail(1)) SWIG_fail;
34630 {
34631 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34632 if (SWIG_arg_fail(2)) SWIG_fail;
34633 if (arg2 == NULL) {
34634 SWIG_null_ref("wxDateTime");
34635 }
34636 if (SWIG_arg_fail(2)) SWIG_fail;
34637 }
34638 {
34639 PyThreadState* __tstate = wxPyBeginAllowThreads();
34640 (arg1)->SetValue((wxDateTime const &)*arg2);
34641
34642 wxPyEndAllowThreads(__tstate);
34643 if (PyErr_Occurred()) SWIG_fail;
34644 }
34645 Py_INCREF(Py_None); resultobj = Py_None;
34646 return resultobj;
34647 fail:
34648 return NULL;
34649}
34650
34651
34652static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34653 PyObject *resultobj;
34654 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34655 wxDateTime result;
34656 PyObject * obj0 = 0 ;
34657 char *kwnames[] = {
34658 (char *) "self", NULL
34659 };
34660
34661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34663 if (SWIG_arg_fail(1)) SWIG_fail;
34664 {
34665 PyThreadState* __tstate = wxPyBeginAllowThreads();
34666 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34667
34668 wxPyEndAllowThreads(__tstate);
34669 if (PyErr_Occurred()) SWIG_fail;
34670 }
34671 {
34672 wxDateTime * resultptr;
34673 resultptr = new wxDateTime((wxDateTime &)(result));
34674 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34675 }
34676 return resultobj;
34677 fail:
34678 return NULL;
34679}
34680
34681
34682static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34683 PyObject *resultobj;
34684 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34685 wxDateTime *arg2 = 0 ;
34686 wxDateTime *arg3 = 0 ;
34687 PyObject * obj0 = 0 ;
34688 PyObject * obj1 = 0 ;
34689 PyObject * obj2 = 0 ;
34690 char *kwnames[] = {
34691 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34692 };
34693
34694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34696 if (SWIG_arg_fail(1)) SWIG_fail;
34697 {
34698 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34699 if (SWIG_arg_fail(2)) SWIG_fail;
34700 if (arg2 == NULL) {
34701 SWIG_null_ref("wxDateTime");
34702 }
34703 if (SWIG_arg_fail(2)) SWIG_fail;
34704 }
34705 {
34706 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34707 if (SWIG_arg_fail(3)) SWIG_fail;
34708 if (arg3 == NULL) {
34709 SWIG_null_ref("wxDateTime");
34710 }
34711 if (SWIG_arg_fail(3)) SWIG_fail;
34712 }
34713 {
34714 PyThreadState* __tstate = wxPyBeginAllowThreads();
34715 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34716
34717 wxPyEndAllowThreads(__tstate);
34718 if (PyErr_Occurred()) SWIG_fail;
34719 }
34720 Py_INCREF(Py_None); resultobj = Py_None;
34721 return resultobj;
34722 fail:
34723 return NULL;
34724}
34725
34726
34727static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34728 PyObject *resultobj;
34729 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34730 wxDateTime result;
34731 PyObject * obj0 = 0 ;
34732 char *kwnames[] = {
34733 (char *) "self", NULL
34734 };
34735
34736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34738 if (SWIG_arg_fail(1)) SWIG_fail;
34739 {
34740 PyThreadState* __tstate = wxPyBeginAllowThreads();
34741 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34742
34743 wxPyEndAllowThreads(__tstate);
34744 if (PyErr_Occurred()) SWIG_fail;
34745 }
34746 {
34747 wxDateTime * resultptr;
34748 resultptr = new wxDateTime((wxDateTime &)(result));
34749 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34750 }
34751 return resultobj;
34752 fail:
34753 return NULL;
34754}
34755
34756
34757static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34758 PyObject *resultobj;
34759 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34760 wxDateTime result;
34761 PyObject * obj0 = 0 ;
34762 char *kwnames[] = {
34763 (char *) "self", NULL
34764 };
34765
34766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
34767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34768 if (SWIG_arg_fail(1)) SWIG_fail;
34769 {
34770 PyThreadState* __tstate = wxPyBeginAllowThreads();
34771 result = wxDatePickerCtrl_GetUpperLimit(arg1);
34772
34773 wxPyEndAllowThreads(__tstate);
34774 if (PyErr_Occurred()) SWIG_fail;
34775 }
34776 {
34777 wxDateTime * resultptr;
34778 resultptr = new wxDateTime((wxDateTime &)(result));
34779 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34780 }
34781 return resultobj;
34782 fail:
34783 return NULL;
34784}
34785
34786
34787static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
34788 PyObject *obj;
34789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34790 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
34791 Py_INCREF(obj);
34792 return Py_BuildValue((char *)"");
34793}
d55e5bfc 34794static PyMethodDef SwigMethods[] = {
36ed4f51
RD
34795 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34796 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34797 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34798 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34799 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34800 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34801 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34802 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34803 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34804 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34805 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34806 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34807 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34808 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34809 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34810 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34811 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34812 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34813 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34814 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34815 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34816 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34817 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34818 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34819 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34820 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34821 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34822 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34823 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34824 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34825 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34826 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34827 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34828 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34829 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34830 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34831 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
34832 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34833 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34834 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34835 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34836 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34837 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34838 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34839 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34840 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34841 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34842 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34843 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34844 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34845 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34846 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34847 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34848 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34849 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34850 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34851 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34852 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34853 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34854 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34855 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34856 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34857 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34858 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34859 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34860 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34861 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34862 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34863 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34864 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34865 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34866 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34867 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34868 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34869 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34870 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34871 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34872 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34873 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34874 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34875 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34876 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34877 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34878 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34879 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34880 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34881 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34882 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34883 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34884 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34885 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34886 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34887 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34889 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34890 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34893 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34894 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34895 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34902 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34903 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
34909 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
34926 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
34934 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
34965 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35021 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35026 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35038 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35051 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35063 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35067 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35085 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35092 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35118 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35126 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35148 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35154 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 35162 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35163 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35165 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35167 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35173 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35175 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35181 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35183 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35188 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35193 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35223 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35268 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35274 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35286 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35338 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35365 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35436 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35448 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35456 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35463 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35479 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a 35507 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35508 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35555 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35577 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35582 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35608 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35616 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35621 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35623 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35632 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35634 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
53aa7709
RD
35652 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
c370783e 35661 { NULL, NULL, 0, NULL }
d55e5bfc
RD
35662};
35663
35664
35665/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35666
d55e5bfc
RD
35667static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35668 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35669}
35670static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35671 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35672}
62d32a5f
RD
35673static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35674 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35675}
d55e5bfc
RD
35676static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35677 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35678}
35679static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35680 return (void *)((wxSizer *) ((wxGridSizer *) x));
35681}
35682static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35683 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35684}
35685static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35686 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35687}
35688static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35689 return (void *)((wxSizer *) ((wxPySizer *) x));
35690}
35691static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35692 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35693}
35694static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35695 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35696}
35697static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35698 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35699}
35700static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35701 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35702}
35703static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35704 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35705}
35706static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35707 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35708}
6e0de3df
RD
35709static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35710 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35711}
d55e5bfc
RD
35712static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35713 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35714}
35715static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35716 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35717}
35718static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35719 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35720}
35721static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35722 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35723}
35724static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35725 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35726}
d55e5bfc
RD
35727static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35728 return (void *)((wxEvent *) ((wxPyEvent *) x));
35729}
35730static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35731 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35732}
35733static void *_p_wxListEventTo_p_wxEvent(void *x) {
35734 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35735}
35736static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
6e0de3df 35737 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
35738}
35739static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
6e0de3df 35740 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 35741}
b411df4a 35742static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
6e0de3df 35743 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 35744}
d55e5bfc
RD
35745static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35746 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35747}
35748static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35749 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35750}
35751static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35752 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35753}
35754static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35755 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35756}
35757static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35758 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35759}
35760static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35761 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35762}
35763static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35764 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35765}
35766static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35767 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35768}
35769static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35770 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35771}
53aa7709
RD
35772static void *_p_wxDateEventTo_p_wxEvent(void *x) {
35773 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
35774}
d55e5bfc
RD
35775static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35776 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35777}
35778static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35779 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35780}
35781static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35782 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35783}
35784static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35785 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35786}
35787static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35788 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35789}
35790static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35791 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35792}
35793static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35794 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35795}
35796static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35797 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35798}
35799static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35800 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35801}
35802static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35803 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35804}
35805static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35806 return (void *)((wxEvent *) ((wxShowEvent *) x));
35807}
35808static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35809 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35810}
35811static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35812 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35813}
35814static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35815 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35816}
35817static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35818 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35819}
35820static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35821 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35822}
35823static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35824 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35825}
35826static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35827 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35828}
35829static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35830 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35831}
35832static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35833 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35834}
35835static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35836 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35837}
35838static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35839 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35840}
35841static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35842 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35843}
35844static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35845 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35846}
35847static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35848 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35849}
6e0de3df
RD
35850static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35851 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d55e5bfc
RD
35852}
35853static void *_p_wxToolBarTo_p_wxControl(void *x) {
35854 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35855}
b411df4a
RD
35856static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35857 return (void *)((wxControl *) ((wxToggleButton *) x));
d55e5bfc 35858}
b411df4a
RD
35859static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35860 return (void *)((wxControl *) ((wxRadioButton *) x));
d55e5bfc 35861}
b411df4a
RD
35862static void *_p_wxPyControlTo_p_wxControl(void *x) {
35863 return (void *)((wxControl *) ((wxPyControl *) x));
d55e5bfc 35864}
b411df4a
RD
35865static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35866 return (void *)((wxControl *) ((wxToolBarBase *) x));
35867}
35868static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35869 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d55e5bfc
RD
35870}
35871static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35872 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35873}
b411df4a
RD
35874static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35875 return (void *)((wxControl *) ((wxComboBox *) x));
d55e5bfc 35876}
b411df4a
RD
35877static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35878 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d55e5bfc
RD
35879}
35880static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35881 return (void *)((wxControl *) ((wxScrollBar *) x));
35882}
b411df4a
RD
35883static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35884 return (void *)((wxControl *) ((wxControlWithItems *) x));
d55e5bfc
RD
35885}
35886static void *_p_wxGaugeTo_p_wxControl(void *x) {
35887 return (void *)((wxControl *) ((wxGauge *) x));
35888}
b411df4a
RD
35889static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35890 return (void *)((wxControl *) ((wxStaticLine *) x));
d55e5bfc 35891}
b411df4a 35892static void *_p_wxChoicebookTo_p_wxControl(void *x) {
6e0de3df 35893 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d55e5bfc 35894}
b411df4a 35895static void *_p_wxListbookTo_p_wxControl(void *x) {
6e0de3df 35896 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc 35897}
b411df4a
RD
35898static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35899 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d55e5bfc 35900}
b411df4a
RD
35901static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35902 return (void *)((wxControl *) ((wxCheckBox *) x));
d55e5bfc
RD
35903}
35904static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
35905 return (void *)((wxControl *) ((wxRadioBox *) x));
35906}
b411df4a
RD
35907static void *_p_wxChoiceTo_p_wxControl(void *x) {
35908 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
35909}
35910static void *_p_wxListBoxTo_p_wxControl(void *x) {
35911 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
35912}
35913static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
35914 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35915}
35916static void *_p_wxListViewTo_p_wxControl(void *x) {
35917 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
35918}
d55e5bfc 35919static void *_p_wxNotebookTo_p_wxControl(void *x) {
6e0de3df 35920 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc 35921}
b411df4a
RD
35922static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
35923 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d55e5bfc 35924}
b411df4a
RD
35925static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
35926 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d55e5bfc 35927}
b411df4a
RD
35928static void *_p_wxStaticTextTo_p_wxControl(void *x) {
35929 return (void *)((wxControl *) ((wxStaticText *) x));
d55e5bfc 35930}
b411df4a
RD
35931static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
35932 return (void *)((wxControl *) ((wxStaticBox *) x));
d55e5bfc
RD
35933}
35934static void *_p_wxSliderTo_p_wxControl(void *x) {
35935 return (void *)((wxControl *) ((wxSlider *) x));
35936}
b411df4a
RD
35937static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
35938 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
d55e5bfc 35939}
b411df4a
RD
35940static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
35941 return (void *)((wxControl *) ((wxSpinButton *) x));
d55e5bfc 35942}
b411df4a
RD
35943static void *_p_wxButtonTo_p_wxControl(void *x) {
35944 return (void *)((wxControl *) ((wxButton *) x));
d55e5bfc 35945}
b411df4a
RD
35946static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
35947 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
35948}
53aa7709
RD
35949static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
35950 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
35951}
b411df4a
RD
35952static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
35953 return (void *)((wxControl *) ((wxTextCtrl *) x));
d55e5bfc
RD
35954}
35955static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
35956 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
35957}
35958static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
35959 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
35960}
6e0de3df
RD
35961static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
35962 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35963}
d55e5bfc
RD
35964static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
35965 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
35966}
d55e5bfc
RD
35967static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
35968 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
35969}
35970static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
35971 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
35972}
35973static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df 35974 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
35975}
35976static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df 35977 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 35978}
b411df4a 35979static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df
RD
35980 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35981}
35982static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
35983 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
35984}
35985static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
35986 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
b411df4a 35987}
6e0de3df
RD
35988static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
35989 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
35990}
35991static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
35992 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
35993}
6e0de3df
RD
35994static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
35995 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
35996}
d55e5bfc
RD
35997static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
35998 return (void *)((wxEvtHandler *) ((wxValidator *) x));
35999}
36000static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36001 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36002}
36003static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36004 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36005}
36006static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36007 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36008}
36009static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36010 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36011}
36012static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36013 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36014}
36015static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36016 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36017}
36018static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36019 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36020}
36021static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36022 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36023}
d55e5bfc
RD
36024static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36025 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
36026}
b411df4a
RD
36027static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36028 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36029}
d55e5bfc
RD
36030static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36031 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36032}
36033static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36034 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36035}
36036static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36037 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36038}
36039static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36040 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36041}
36042static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36043 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36044}
36045static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36046 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36047}
36048static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36049 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36050}
36051static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36052 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36053}
b411df4a 36054static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
6e0de3df 36055 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 36056}
d55e5bfc 36057static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
6e0de3df 36058 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36059}
36060static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36061 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36062}
36063static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36064 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36065}
36066static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36067 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36068}
36069static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36070 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36071}
36072static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36073 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36074}
36075static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36076 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36077}
36078static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
6e0de3df 36079 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36080}
36081static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36082 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36083}
36084static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36085 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36086}
36087static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36088 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36089}
36090static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36091 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36092}
36093static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36094 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36095}
36096static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36097 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36098}
36099static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36100 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36101}
36102static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36103 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36104}
36105static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36106 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36107}
36108static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36109 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36110}
53aa7709
RD
36111static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36112 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36113}
d55e5bfc
RD
36114static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36115 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36116}
36117static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36118 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36119}
d55e5bfc
RD
36120static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36121 return (void *)((wxButton *) ((wxBitmapButton *) x));
36122}
36123static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36124 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36125}
36126static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36127 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36128}
36129static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36130 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36131}
36132static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36133 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36134}
36135static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36136 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36137}
36138static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36139 return (void *)((wxObject *) ((wxSizerItem *) x));
36140}
36141static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36142 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36143}
36144static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36145 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36146}
36147static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36148 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36149}
d55e5bfc
RD
36150static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36151 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36152}
36153static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36154 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36155}
36156static void *_p_wxSizerTo_p_wxObject(void *x) {
36157 return (void *)((wxObject *) ((wxSizer *) x));
36158}
36159static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36160 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36161}
36162static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36163 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36164}
36165static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36167}
36168static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36169 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36170}
36171static void *_p_wxEventTo_p_wxObject(void *x) {
36172 return (void *)((wxObject *) ((wxEvent *) x));
36173}
36174static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36175 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36176}
36177static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36178 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36179}
36180static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36181 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36182}
36183static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36185}
36186static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36188}
36189static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36191}
36192static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36193 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36194}
36195static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36196 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36197}
36198static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36199 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36200}
36201static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36202 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36203}
36204static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36205 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36206}
36207static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36208 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36209}
36210static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36212}
36213static void *_p_wxControlTo_p_wxObject(void *x) {
36214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36215}
36216static void *_p_wxPyControlTo_p_wxObject(void *x) {
36217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36218}
36219static void *_p_wxGaugeTo_p_wxObject(void *x) {
36220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36221}
36222static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36224}
36225static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36227}
36228static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36230}
36231static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36232 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36233}
36234static void *_p_wxChoiceTo_p_wxObject(void *x) {
36235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36236}
36237static void *_p_wxFSFileTo_p_wxObject(void *x) {
36238 return (void *)((wxObject *) ((wxFSFile *) x));
36239}
36240static void *_p_wxPySizerTo_p_wxObject(void *x) {
36241 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36242}
36243static void *_p_wxListViewTo_p_wxObject(void *x) {
36244 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36245}
36246static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36248}
36249static void *_p_wxNotebookTo_p_wxObject(void *x) {
6e0de3df 36250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36251}
36252static void *_p_wxPyEventTo_p_wxObject(void *x) {
36253 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36254}
36255static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36256 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36257}
b411df4a 36258static void *_p_wxChoicebookTo_p_wxObject(void *x) {
6e0de3df 36259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 36260}
d55e5bfc 36261static void *_p_wxListbookTo_p_wxObject(void *x) {
6e0de3df 36262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36263}
36264static void *_p_wxShowEventTo_p_wxObject(void *x) {
36265 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36266}
36267static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36269}
36270static void *_p_wxSliderTo_p_wxObject(void *x) {
36271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36272}
36273static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36274 return (void *)((wxObject *) ((wxMenuItem *) x));
36275}
53aa7709
RD
36276static void *_p_wxDateEventTo_p_wxObject(void *x) {
36277 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36278}
d55e5bfc
RD
36279static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36280 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36281}
36282static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36283 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36284}
36285static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36286 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36287}
36288static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36289 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36290}
36291static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36292 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36293}
36294static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36295 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36296}
36297static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36298 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36299}
36300static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36301 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36302}
36303static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36305}
36306static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36307 return (void *)((wxObject *) ((wxContextHelp *) x));
36308}
6e0de3df
RD
36309static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36311}
d55e5bfc
RD
36312static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36313 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36314}
36315static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36316 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36317}
36318static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36319 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36320}
36321static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36322 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36323}
36324static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36325 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36326}
36327static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36328 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36329}
36330static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36331 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36332}
36333static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36334 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36335}
36336static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36337 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36338}
36339static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36340 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36341}
36342static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36343 return (void *)((wxObject *) ((wxImageHandler *) x));
36344}
36345static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36346 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36347}
36348static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36349 return (void *)((wxObject *) ((wxEvtHandler *) x));
36350}
36351static void *_p_wxListEventTo_p_wxObject(void *x) {
36352 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36353}
36354static void *_p_wxListBoxTo_p_wxObject(void *x) {
36355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36356}
36357static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36359}
d55e5bfc
RD
36360static void *_p_wxButtonTo_p_wxObject(void *x) {
36361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36362}
36363static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36365}
36366static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36368}
36369static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36371}
62d32a5f
RD
36372static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36373 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36374}
d55e5bfc
RD
36375static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36376 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36377}
36378static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36380}
36381static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36382 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36383}
36384static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
36386}
36387static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36388 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36389}
36390static void *_p_wxListItemTo_p_wxObject(void *x) {
36391 return (void *)((wxObject *) ((wxListItem *) x));
36392}
36393static void *_p_wxImageTo_p_wxObject(void *x) {
36394 return (void *)((wxObject *) ((wxImage *) x));
36395}
36396static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36397 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36398}
36399static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36400 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36401}
36402static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36403 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36404}
36405static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36406 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36407}
36408static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36410}
36411static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
6e0de3df 36412 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
36413}
36414static void *_p_wxListbookEventTo_p_wxObject(void *x) {
6e0de3df 36415 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 36416}
b411df4a 36417static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
6e0de3df 36418 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 36419}
d55e5bfc
RD
36420static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36421 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36422}
36423static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36424 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36425}
36426static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36427 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36428}
36429static void *_p_wxWindowTo_p_wxObject(void *x) {
36430 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36431}
36432static void *_p_wxMenuTo_p_wxObject(void *x) {
36433 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36434}
36435static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36437}
36438static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36439 return (void *)((wxObject *) ((wxFileSystem *) x));
36440}
36441static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36442 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36443}
36444static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36445 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36446}
36447static void *_p_wxPyAppTo_p_wxObject(void *x) {
36448 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36449}
36450static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36451 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36452}
36453static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36454 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36455}
36456static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36457 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36458}
6e0de3df
RD
36459static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36460 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36461}
d55e5bfc
RD
36462static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36463 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36464}
36465static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36466 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36467}
36468static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36469 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36470}
36471static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36473}
36474static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36475 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36476}
36477static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36478 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36479}
36480static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36481 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36482}
53aa7709
RD
36483static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36485}
d55e5bfc
RD
36486static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36488}
36489static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36490 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36491}
36492static void *_p_wxToolBarTo_p_wxObject(void *x) {
36493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36494}
36495static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36496 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36497}
36498static void *_p_wxValidatorTo_p_wxObject(void *x) {
36499 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36500}
36501static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36502 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36503}
d55e5bfc
RD
36504static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36505 return (void *)((wxWindow *) ((wxMenuBar *) x));
36506}
6e0de3df
RD
36507static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36508 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36509}
d55e5bfc
RD
36510static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36511 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36512}
36513static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36514 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36515}
36516static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36517 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36518}
d55e5bfc
RD
36519static void *_p_wxControlTo_p_wxWindow(void *x) {
36520 return (void *)((wxWindow *) ((wxControl *) x));
36521}
36522static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36523 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36524}
36525static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36526 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36527}
36528static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36529 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36530}
36531static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36532 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36533}
b411df4a
RD
36534static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36535 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36536}
d55e5bfc
RD
36537static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36538 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36539}
36540static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36541 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36542}
36543static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36544 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36545}
36546static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36547 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36548}
36549static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36550 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36551}
b411df4a 36552static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
6e0de3df 36553 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 36554}
d55e5bfc 36555static void *_p_wxListbookTo_p_wxWindow(void *x) {
6e0de3df 36556 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36557}
36558static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36559 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36560}
36561static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36562 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36563}
36564static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36565 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36566}
36567static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36568 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36569}
36570static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36571 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36572}
36573static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36574 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36575}
36576static void *_p_wxListViewTo_p_wxWindow(void *x) {
36577 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36578}
36579static void *_p_wxNotebookTo_p_wxWindow(void *x) {
6e0de3df 36580 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36581}
36582static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36583 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36584}
36585static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36586 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36587}
36588static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36589 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36590}
36591static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36592 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36593}
36594static void *_p_wxSliderTo_p_wxWindow(void *x) {
36595 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36596}
36597static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36598 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36599}
36600static void *_p_wxButtonTo_p_wxWindow(void *x) {
36601 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36602}
36603static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36604 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36605}
36606static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36607 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36608}
53aa7709
RD
36609static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36610 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36611}
d55e5bfc
RD
36612static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36613 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36614}
6e0de3df
RD
36615static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36616 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36617}
36618static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36619 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36620}
36621static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36622 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36623}
d55e5bfc
RD
36624static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36625 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36626}
d55e5bfc
RD
36627static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36628 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36629}
36630static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36631 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36632}
36633static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36634 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36635}
36636static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36637 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36638}
36639static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36640 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36641}
36642static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 36643 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc
RD
36644}
36645static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 36646 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc 36647}
53aa7709
RD
36648static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36649 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36650}
36651static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36652 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36653}
d55e5bfc
RD
36654static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36655 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36656}
b411df4a
RD
36657static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36658 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36659}
6e0de3df
RD
36660static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36661 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36662}
d55e5bfc
RD
36663static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36664 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36665}
36666static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36667 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36668}
36669static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36670 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36671}
36672static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36673 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36674}
36675static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36676 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36677}
36678static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36679 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36680}
36681static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36682 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36683}
36684static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36685 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36686}
36687static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36688 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36689}
36690static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36691 return (void *)((wxValidator *) ((wxPyValidator *) x));
36692}
36693static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
62d32a5f 36694static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36695static 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}};
36696static 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 36697static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36698static 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}};
36699static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36700static 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}};
36701static 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}};
36ed4f51 36702static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36703static 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}};
36704static 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 36705static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36706static 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}};
36707static 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}};
36708static 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}};
36709static 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}};
36710static 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}};
36711static 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}};
36712static 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}};
36713static 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}};
36ed4f51
RD
36714static 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}};
36715static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36716static 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}};
36717static 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}};
36718static 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}};
36719static 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}};
36720static 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}};
36721static 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}};
36722static 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}};
36723static 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}};
36724static 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}};
36725static 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}};
b411df4a 36726static 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}};
6e0de3df 36727static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 36728static 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}};
36ed4f51 36729static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36730static 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}};
36731static 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}};
36732static 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}};
36733static 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}};
36734static 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}};
36735static 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}};
36736static 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}};
36ed4f51 36737static 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}};
6e0de3df 36738static 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 36739static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36740static 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}};
36741static 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}};
36742static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36743static 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}};
36744static 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}};
36745static 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}};
36746static 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}};
36747static 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}};
36748static 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}};
36749static 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}};
36750static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 36751static 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}};
36ed4f51 36752static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36753static 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}};
36754static 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}};
36755static 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}};
36756static 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}};
36757static 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}};
36758static 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}};
36ed4f51 36759static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36760static 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}};
36761static 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}};
36762static 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}};
36763static 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}};
b411df4a 36764static swig_type_info _swigt__p_wxChoicebookEvent[] = {{"_p_wxChoicebookEvent", 0, "wxChoicebookEvent *", 0, 0, 0, 0},{"_p_wxChoicebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36765static 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}};
36766static 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}};
36ed4f51 36767static 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 36768static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 36769static 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 36770static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 36771static 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}};
36ed4f51 36772static 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 36773static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36774static 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}};
36775static 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}};
36ed4f51
RD
36776static 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}};
36777static 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}};
36778static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 36779static 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}};
6e0de3df 36780static 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}};
36ed4f51 36781static 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 36782static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 36783static 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 36784static swig_type_info _swigt__p_wxDatePickerCtrl[] = {{"_p_wxDatePickerCtrl", 0, "wxDatePickerCtrl *", 0, 0, 0, 0},{"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36785static 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}};
36786static 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}};
36787static 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}};
36788static 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}};
36789static 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}};
36790static 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}};
36791
36792static swig_type_info *swig_types_initial[] = {
36793_swigt__p_wxTextUrlEvent,
d55e5bfc
RD
36794_swigt__p_wxSizer,
36795_swigt__p_wxCheckBox,
36796_swigt__p_wxPyTreeCtrl,
36797_swigt__p_wxEvent,
36798_swigt__p_wxGenericDirCtrl,
36799_swigt__p_bool,
d55e5bfc
RD
36800_swigt__p_wxItemContainer,
36801_swigt__p_wxPyListCtrl,
36ed4f51 36802_swigt__p_wxPyTreeItemData,
d55e5bfc
RD
36803_swigt__p_wxDirFilterListCtrl,
36804_swigt__p_wxStaticLine,
36805_swigt__p_wxControl,
36806_swigt__p_wxPyControl,
36807_swigt__p_wxGauge,
36808_swigt__p_wxToolBarBase,
36809_swigt__p_wxFont,
36810_swigt__p_wxToggleButton,
36811_swigt__p_wxRadioButton,
36812_swigt__p_wxChoice,
36813_swigt__p_wxMemoryDC,
36ed4f51
RD
36814_swigt__ptrdiff_t,
36815_swigt__std__ptrdiff_t,
d55e5bfc
RD
36816_swigt__p_wxListItemAttr,
36817_swigt__p_void,
36818_swigt__p_int,
36819_swigt__p_wxSize,
36820_swigt__p_wxDC,
36821_swigt__p_wxListView,
36822_swigt__p_wxIcon,
36823_swigt__p_wxVisualAttributes,
36824_swigt__p_wxTextCtrl,
36825_swigt__p_wxNotebook,
b411df4a 36826_swigt__p_wxChoicebook,
d55e5bfc
RD
36827_swigt__p_wxNotifyEvent,
36828_swigt__p_wxArrayString,
36ed4f51 36829_swigt__p_form_ops_t,
d55e5bfc
RD
36830_swigt__p_wxListbook,
36831_swigt__p_wxStaticBitmap,
36832_swigt__p_wxSlider,
36833_swigt__p_wxStaticBox,
36834_swigt__p_wxArrayInt,
36835_swigt__p_wxContextHelp,
36836_swigt__p_long,
36ed4f51 36837_swigt__p_wxDuplexMode,
6e0de3df 36838_swigt__p_wxBookCtrlBase,
d55e5bfc
RD
36839_swigt__p_wxEvtHandler,
36840_swigt__p_wxListEvent,
36841_swigt__p_wxCheckListBox,
36842_swigt__p_wxListBox,
d55e5bfc
RD
36843_swigt__p_wxSpinButton,
36844_swigt__p_wxButton,
36845_swigt__p_wxBitmapButton,
36846_swigt__p_wxRect,
36847_swigt__p_wxContextHelpButton,
36848_swigt__p_wxRadioBox,
36849_swigt__p_wxScrollBar,
36850_swigt__p_char,
d55e5bfc 36851_swigt__p_wxComboBox,
36ed4f51 36852_swigt__p_wxTreeItemId,
d55e5bfc
RD
36853_swigt__p_wxHelpEvent,
36854_swigt__p_wxListItem,
36855_swigt__p_wxNotebookSizer,
36856_swigt__p_wxSpinEvent,
36857_swigt__p_wxGenericDragImage,
36858_swigt__p_wxSpinCtrl,
36ed4f51 36859_swigt__p_wxPaperSize,
d55e5bfc
RD
36860_swigt__p_wxImageList,
36861_swigt__p_wxHelpProvider,
36862_swigt__p_wxTextAttr,
36863_swigt__p_wxSimpleHelpProvider,
b411df4a 36864_swigt__p_wxChoicebookEvent,
d55e5bfc
RD
36865_swigt__p_wxListbookEvent,
36866_swigt__p_wxNotebookEvent,
36ed4f51 36867_swigt__p_wxPoint,
d55e5bfc
RD
36868_swigt__p_wxObject,
36869_swigt__p_wxCursor,
53aa7709 36870_swigt__p_wxDateTime,
d55e5bfc 36871_swigt__p_wxKeyEvent,
36ed4f51 36872_swigt__p_unsigned_long,
d55e5bfc
RD
36873_swigt__p_wxWindow,
36874_swigt__p_wxString,
36875_swigt__p_wxBitmap,
36ed4f51
RD
36876_swigt__unsigned_int,
36877_swigt__p_unsigned_int,
36878_swigt__p_unsigned_char,
d55e5bfc 36879_swigt__p_wxMouseEvent,
6e0de3df 36880_swigt__p_wxBookCtrlBaseEvent,
36ed4f51 36881_swigt__p_wxTreeEvent,
d55e5bfc
RD
36882_swigt__p_wxCommandEvent,
36883_swigt__p_wxStaticText,
53aa7709 36884_swigt__p_wxDatePickerCtrl,
d55e5bfc
RD
36885_swigt__p_wxControlWithItems,
36886_swigt__p_wxToolBarToolBase,
36887_swigt__p_wxColour,
36888_swigt__p_wxToolBar,
36889_swigt__p_wxBookCtrlSizer,
36890_swigt__p_wxValidator,
368910
36892};
36893
36894
36895/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36896
36897static swig_const_info swig_const_table[] = {
c370783e 36898{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
36899
36900#ifdef __cplusplus
36901}
36902#endif
36903
36ed4f51
RD
36904
36905#ifdef __cplusplus
36906extern "C" {
36907#endif
36908
36909 /* Python-specific SWIG API */
36910#define SWIG_newvarlink() SWIG_Python_newvarlink()
36911#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36912#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36913
36914 /* -----------------------------------------------------------------------------
36915 * global variable support code.
36916 * ----------------------------------------------------------------------------- */
36917
36918 typedef struct swig_globalvar {
36919 char *name; /* Name of global variable */
36920 PyObject *(*get_attr)(); /* Return the current value */
36921 int (*set_attr)(PyObject *); /* Set the value */
36922 struct swig_globalvar *next;
36923 } swig_globalvar;
36924
36925 typedef struct swig_varlinkobject {
36926 PyObject_HEAD
36927 swig_globalvar *vars;
36928 } swig_varlinkobject;
36929
36930 static PyObject *
36931 swig_varlink_repr(swig_varlinkobject *v) {
36932 v = v;
36933 return PyString_FromString("<Swig global variables>");
36934 }
36935
36936 static int
36937 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
36938 swig_globalvar *var;
36939 flags = flags;
36940 fprintf(fp,"Swig global variables { ");
36941 for (var = v->vars; var; var=var->next) {
36942 fprintf(fp,"%s", var->name);
36943 if (var->next) fprintf(fp,", ");
36944 }
36945 fprintf(fp," }\n");
36946 return 0;
36947 }
36948
36949 static PyObject *
36950 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36951 swig_globalvar *var = v->vars;
36952 while (var) {
36953 if (strcmp(var->name,n) == 0) {
36954 return (*var->get_attr)();
36955 }
36956 var = var->next;
36957 }
36958 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36959 return NULL;
36960 }
36961
36962 static int
36963 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36964 swig_globalvar *var = v->vars;
36965 while (var) {
36966 if (strcmp(var->name,n) == 0) {
36967 return (*var->set_attr)(p);
36968 }
36969 var = var->next;
36970 }
36971 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36972 return 1;
36973 }
36974
36975 static PyTypeObject varlinktype = {
36976 PyObject_HEAD_INIT(0)
36977 0, /* Number of items in variable part (ob_size) */
36978 (char *)"swigvarlink", /* Type name (tp_name) */
36979 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
36980 0, /* Itemsize (tp_itemsize) */
36981 0, /* Deallocator (tp_dealloc) */
36982 (printfunc) swig_varlink_print, /* Print (tp_print) */
36983 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
36984 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
36985 0, /* tp_compare */
36986 (reprfunc) swig_varlink_repr, /* tp_repr */
36987 0, /* tp_as_number */
36988 0, /* tp_as_sequence */
36989 0, /* tp_as_mapping */
36990 0, /* tp_hash */
36991 0, /* tp_call */
36992 0, /* tp_str */
36993 0, /* tp_getattro */
36994 0, /* tp_setattro */
36995 0, /* tp_as_buffer */
36996 0, /* tp_flags */
36997 0, /* tp_doc */
36998#if PY_VERSION_HEX >= 0x02000000
36999 0, /* tp_traverse */
37000 0, /* tp_clear */
37001#endif
37002#if PY_VERSION_HEX >= 0x02010000
37003 0, /* tp_richcompare */
37004 0, /* tp_weaklistoffset */
37005#endif
37006#if PY_VERSION_HEX >= 0x02020000
37007 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37008#endif
37009#if PY_VERSION_HEX >= 0x02030000
37010 0, /* tp_del */
37011#endif
37012#ifdef COUNT_ALLOCS
37013 0,0,0,0 /* tp_alloc -> tp_next */
37014#endif
37015 };
37016
37017 /* Create a variable linking object for use later */
37018 static PyObject *
37019 SWIG_Python_newvarlink(void) {
37020 swig_varlinkobject *result = 0;
37021 result = PyMem_NEW(swig_varlinkobject,1);
37022 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37023 result->ob_type = &varlinktype;
37024 result->vars = 0;
37025 result->ob_refcnt = 0;
37026 Py_XINCREF((PyObject *) result);
37027 return ((PyObject*) result);
37028 }
37029
37030 static void
37031 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37032 swig_varlinkobject *v;
37033 swig_globalvar *gv;
37034 v= (swig_varlinkobject *) p;
37035 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37036 gv->name = (char *) malloc(strlen(name)+1);
37037 strcpy(gv->name,name);
37038 gv->get_attr = get_attr;
37039 gv->set_attr = set_attr;
37040 gv->next = v->vars;
37041 v->vars = gv;
37042 }
37043
37044 /* -----------------------------------------------------------------------------
37045 * constants/methods manipulation
37046 * ----------------------------------------------------------------------------- */
37047
37048 /* Install Constants */
37049 static void
37050 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37051 PyObject *obj = 0;
37052 size_t i;
37053 for (i = 0; constants[i].type; i++) {
37054 switch(constants[i].type) {
37055 case SWIG_PY_INT:
37056 obj = PyInt_FromLong(constants[i].lvalue);
37057 break;
37058 case SWIG_PY_FLOAT:
37059 obj = PyFloat_FromDouble(constants[i].dvalue);
37060 break;
37061 case SWIG_PY_STRING:
37062 if (constants[i].pvalue) {
37063 obj = PyString_FromString((char *) constants[i].pvalue);
37064 } else {
37065 Py_INCREF(Py_None);
37066 obj = Py_None;
37067 }
37068 break;
37069 case SWIG_PY_POINTER:
37070 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37071 break;
37072 case SWIG_PY_BINARY:
37073 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37074 break;
37075 default:
37076 obj = 0;
37077 break;
37078 }
37079 if (obj) {
37080 PyDict_SetItemString(d,constants[i].name,obj);
37081 Py_DECREF(obj);
37082 }
37083 }
37084 }
37085
37086 /* -----------------------------------------------------------------------------*/
37087 /* Fix SwigMethods to carry the callback ptrs when needed */
37088 /* -----------------------------------------------------------------------------*/
37089
37090 static void
37091 SWIG_Python_FixMethods(PyMethodDef *methods,
37092 swig_const_info *const_table,
37093 swig_type_info **types,
37094 swig_type_info **types_initial) {
37095 size_t i;
37096 for (i = 0; methods[i].ml_name; ++i) {
37097 char *c = methods[i].ml_doc;
37098 if (c && (c = strstr(c, "swig_ptr: "))) {
37099 int j;
37100 swig_const_info *ci = 0;
37101 char *name = c + 10;
37102 for (j = 0; const_table[j].type; j++) {
37103 if (strncmp(const_table[j].name, name,
37104 strlen(const_table[j].name)) == 0) {
37105 ci = &(const_table[j]);
37106 break;
37107 }
37108 }
37109 if (ci) {
37110 size_t shift = (ci->ptype) - types;
37111 swig_type_info *ty = types_initial[shift];
37112 size_t ldoc = (c - methods[i].ml_doc);
37113 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37114 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37115 char *buff = ndoc;
37116 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37117 strncpy(buff, methods[i].ml_doc, ldoc);
37118 buff += ldoc;
37119 strncpy(buff, "swig_ptr: ", 10);
37120 buff += 10;
37121 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37122 methods[i].ml_doc = ndoc;
37123 }
37124 }
37125 }
37126 }
37127
37128 /* -----------------------------------------------------------------------------*
37129 * Initialize type list
37130 * -----------------------------------------------------------------------------*/
37131
37132#if PY_MAJOR_VERSION < 2
37133 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37134 is copied out of Python/modsupport.c in python version 2.3.4 */
37135 static int
37136 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37137 {
37138 PyObject *dict;
37139 if (!PyModule_Check(m)) {
37140 PyErr_SetString(PyExc_TypeError,
37141 "PyModule_AddObject() needs module as first arg");
37142 return -1;
37143 }
37144 if (!o) {
37145 PyErr_SetString(PyExc_TypeError,
37146 "PyModule_AddObject() needs non-NULL value");
37147 return -1;
37148 }
37149
37150 dict = PyModule_GetDict(m);
37151 if (dict == NULL) {
37152 /* Internal error -- modules must have a dict! */
37153 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37154 PyModule_GetName(m));
37155 return -1;
37156 }
37157 if (PyDict_SetItemString(dict, name, o))
37158 return -1;
37159 Py_DECREF(o);
37160 return 0;
37161 }
37162#endif
37163
37164 static swig_type_info **
37165 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37166 static PyMethodDef swig_empty_runtime_method_table[] = {
37167 {
37168 NULL, NULL, 0, NULL
37169 }
37170 };/* Sentinel */
37171
37172 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37173 swig_empty_runtime_method_table);
37174 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37175 if (pointer && module) {
37176 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37177 }
37178 return type_list_handle;
37179 }
37180
37181 static swig_type_info **
37182 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37183 swig_type_info **type_pointer;
37184
37185 /* first check if module already created */
37186 type_pointer = SWIG_Python_GetTypeListHandle();
37187 if (type_pointer) {
37188 return type_pointer;
37189 } else {
37190 /* create a new module and variable */
37191 return SWIG_Python_SetTypeListHandle(type_list_handle);
37192 }
37193 }
37194
37195#ifdef __cplusplus
37196}
37197#endif
37198
37199/* -----------------------------------------------------------------------------*
37200 * Partial Init method
37201 * -----------------------------------------------------------------------------*/
37202
37203#ifdef SWIG_LINK_RUNTIME
37204#ifdef __cplusplus
37205extern "C"
37206#endif
37207SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37208#endif
37209
d55e5bfc
RD
37210#ifdef __cplusplus
37211extern "C"
37212#endif
37213SWIGEXPORT(void) SWIG_init(void) {
37214 static PyObject *SWIG_globals = 0;
37215 static int typeinit = 0;
37216 PyObject *m, *d;
37217 int i;
37218 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
37219
37220 /* Fix SwigMethods to carry the callback ptrs when needed */
37221 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37222
d55e5bfc
RD
37223 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37224 d = PyModule_GetDict(m);
37225
37226 if (!typeinit) {
36ed4f51
RD
37227#ifdef SWIG_LINK_RUNTIME
37228 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37229#else
37230# ifndef SWIG_STATIC_RUNTIME
37231 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37232# endif
37233#endif
d55e5bfc
RD
37234 for (i = 0; swig_types_initial[i]; i++) {
37235 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37236 }
37237 typeinit = 1;
37238 }
37239 SWIG_InstallConstants(d,swig_const_table);
37240
37241 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37242 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
36ed4f51
RD
37243 {
37244 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37245 }
37246 {
37247 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37248 }
37249 {
37250 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37251 }
37252 {
37253 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37254 }
37255 {
37256 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37257 }
37258 {
37259 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37260 }
37261 {
37262 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37263 }
d55e5bfc 37264 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
36ed4f51
RD
37265 {
37266 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37267 }
37268 {
37269 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37270 }
37271 {
37272 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37273 }
37274 {
37275 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37276 }
37277 {
37278 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37279 }
37280 {
37281 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37282 }
d55e5bfc
RD
37283 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37284 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37285 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
36ed4f51
RD
37286 {
37287 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37288 }
37289 {
37290 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37291 }
37292 {
37293 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37294 }
37295 {
37296 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37297 }
d55e5bfc
RD
37298 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37299 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37300 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37301 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37302 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
36ed4f51
RD
37303 {
37304 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37305 }
37306 {
37307 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37308 }
37309 {
37310 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37311 }
37312 {
37313 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37314 }
37315 {
37316 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37317 }
37318 {
37319 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37320 }
37321 {
37322 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37323 }
37324 {
37325 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37326 }
37327 {
37328 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37329 }
37330 {
37331 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37332 }
37333 {
37334 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37335 }
37336 {
37337 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37338 }
37339 {
37340 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37341 }
37342 {
37343 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37344 }
37345 {
37346 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37347 }
37348 {
37349 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37350 }
37351 {
37352 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37353 }
37354 {
37355 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37356 }
37357 {
37358 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37359 }
37360 {
37361 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37362 }
37363 {
37364 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37365 }
37366 {
37367 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37368 }
37369 {
37370 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37371 }
37372 {
37373 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37374 }
37375 {
37376 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37377 }
37378 {
37379 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37380 }
37381 {
37382 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37383 }
37384 {
37385 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37386 }
37387 {
37388 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37389 }
37390 {
37391 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37392 }
37393 {
37394 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37395 }
37396 {
37397 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37398 }
37399 {
37400 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37401 }
37402 {
37403 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37404 }
37405 {
37406 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37407 }
37408 {
37409 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37410 }
37411 {
37412 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37413 }
37414 {
37415 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37416 }
37417 {
37418 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37419 }
37420 {
37421 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37422 }
37423 {
37424 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37425 }
fef4c27a
RD
37426 {
37427 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37428 }
37429 {
37430 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37431 }
d55e5bfc
RD
37432 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37433 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37434 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37435 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37436 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37437 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37438 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
36ed4f51
RD
37439 {
37440 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37441 }
37442 {
37443 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37444 }
37445 {
37446 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37447 }
37448 {
37449 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37450 }
d55e5bfc
RD
37451 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37452 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37453 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37454 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
fef4c27a
RD
37455 {
37456 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37457 }
37458 {
37459 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37460 }
37461 {
37462 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37463 }
37464 {
37465 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37466 }
37467 {
37468 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37469 }
37470 {
37471 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37472 }
37473 {
37474 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37475 }
37476 {
37477 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37478 }
37479 {
37480 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37481 }
37482 {
37483 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37484 }
37485 {
37486 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37487 }
d55e5bfc
RD
37488 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37489 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 37490 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
36ed4f51
RD
37491 {
37492 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37493 }
37494 {
37495 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37496 }
37497 {
37498 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37499 }
37500 {
37501 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37502 }
37503 {
37504 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37505 }
37506 {
37507 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37508 }
091fdbfa
RD
37509 {
37510 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37511 }
36ed4f51
RD
37512 {
37513 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37514 }
37515 {
37516 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37517 }
37518 {
37519 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37520 }
37521 {
37522 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37523 }
d55e5bfc
RD
37524 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37525 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
36ed4f51
RD
37526 {
37527 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37528 }
37529 {
37530 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37531 }
37532 {
37533 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37534 }
37535 {
37536 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37537 }
37538 {
37539 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37540 }
37541 {
37542 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37543 }
d55e5bfc
RD
37544 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37545 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
36ed4f51
RD
37546 {
37547 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37548 }
37549 {
37550 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37551 }
37552 {
37553 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37554 }
37555 {
37556 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37557 }
37558 {
37559 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37560 }
37561 {
37562 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37563 }
b411df4a
RD
37564 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37565 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
36ed4f51
RD
37566 {
37567 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37568 }
37569 {
37570 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37571 }
37572 {
37573 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37574 }
37575 {
37576 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37577 }
37578 {
37579 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37580 }
37581 {
37582 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37583 }
37584 {
37585 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37586 }
37587 {
37588 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37589 }
37590 {
37591 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37592 }
37593 {
37594 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37595 }
37596 {
37597 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37598 }
37599 {
37600 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37601 }
37602 {
37603 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37604 }
37605 {
37606 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37607 }
d55e5bfc 37608 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
36ed4f51
RD
37609 {
37610 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37611 }
37612 {
37613 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37614 }
37615 {
37616 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37617 }
37618 {
37619 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37620 }
37621 {
37622 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37623 }
37624 {
37625 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37626 }
37627 {
37628 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37629 }
37630 {
37631 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37632 }
37633 {
37634 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37635 }
37636 {
37637 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37638 }
37639 {
37640 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37641 }
37642 {
37643 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37644 }
37645 {
37646 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37647 }
37648 {
37649 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37650 }
37651 {
37652 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37653 }
37654 {
37655 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37656 }
37657 {
37658 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37659 }
37660 {
37661 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37662 }
37663 {
37664 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37665 }
37666 {
37667 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37668 }
37669 {
37670 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37671 }
37672 {
37673 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37674 }
37675 {
37676 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37677 }
37678 {
37679 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37680 }
37681 {
37682 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37683 }
37684 {
37685 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37686 }
37687 {
37688 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37689 }
37690 {
37691 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37692 }
37693 {
37694 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37695 }
37696 {
37697 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37698 }
37699 {
37700 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37701 }
37702 {
37703 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37704 }
37705 {
37706 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37707 }
37708 {
37709 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37710 }
37711 {
37712 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37713 }
37714 {
37715 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37716 }
37717 {
37718 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37719 }
37720 {
37721 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37722 }
37723 {
37724 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37725 }
37726 {
37727 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37728 }
37729 {
37730 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37731 }
37732 {
37733 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37734 }
37735 {
37736 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37737 }
37738 {
37739 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37740 }
37741 {
37742 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37743 }
37744 {
37745 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37746 }
37747 {
37748 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37749 }
37750 {
37751 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37752 }
37753 {
37754 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37755 }
37756 {
37757 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37758 }
37759 {
37760 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37761 }
37762 {
37763 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37764 }
37765 {
37766 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37767 }
37768 {
37769 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37770 }
37771 {
37772 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37773 }
37774 {
37775 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37776 }
37777 {
37778 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37779 }
37780 {
37781 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37782 }
37783 {
37784 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37785 }
37786 {
37787 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37788 }
37789 {
37790 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37791 }
37792 {
37793 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37794 }
37795 {
37796 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37797 }
37798 {
37799 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37800 }
37801 {
37802 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37803 }
37804 {
37805 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37806 }
37807 {
37808 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37809 }
37810 {
37811 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37812 }
d55e5bfc
RD
37813 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37814 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37815 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37816 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37817 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37818 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
d55e5bfc
RD
37819 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37820 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37821 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37822 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37823 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37824 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37825 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37826 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37827 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37828 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37829 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37830 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37831 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37832 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
fef4c27a
RD
37833 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37834 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
d55e5bfc
RD
37835
37836 // Map renamed classes back to their common name for OOR
37837 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37838
37839 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
36ed4f51
RD
37840 {
37841 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37842 }
37843 {
37844 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37845 }
37846 {
37847 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37848 }
37849 {
37850 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37851 }
37852 {
37853 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37854 }
37855 {
37856 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37857 }
37858 {
37859 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37860 }
37861 {
37862 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37863 }
37864 {
37865 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37866 }
37867 {
37868 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37869 }
37870 {
37871 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37872 }
37873 {
37874 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37875 }
37876 {
37877 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37878 }
37879 {
37880 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37881 }
37882 {
37883 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37884 }
37885 {
37886 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37887 }
37888 {
37889 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37890 }
37891 {
37892 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
37893 }
37894 {
37895 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
37896 }
37897 {
37898 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
37899 }
37900 {
37901 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
37902 }
37903 {
37904 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
37905 }
37906 {
37907 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
37908 }
37909 {
37910 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
37911 }
37912 {
37913 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
37914 }
37915 {
37916 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
37917 }
37918 {
37919 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
37920 }
37921 {
37922 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
37923 }
37924 {
37925 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
37926 }
37927 {
37928 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
37929 }
37930 {
37931 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
37932 }
37933 {
37934 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
37935 }
37936 {
37937 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
37938 }
37939 {
37940 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
37941 }
37942 {
37943 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
37944 }
d55e5bfc
RD
37945 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
37946 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
37947 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
37948 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
37949 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
37950 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
37951 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
37952 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
37953 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
37954 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
37955 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
37956 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
37957 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
37958 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
37959 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
37960 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
37961 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
37962 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
37963 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
37964 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
62d32a5f 37965 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d55e5bfc
RD
37966
37967 // Map renamed classes back to their common name for OOR
37968 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37969 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37970
37971 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
36ed4f51
RD
37972 {
37973 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
37974 }
37975 {
37976 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
37977 }
37978 {
37979 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
37980 }
37981 {
37982 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
37983 }
37984 {
37985 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
37986 }
37987 {
37988 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
37989 }
37990 {
37991 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
37992 }
d55e5bfc
RD
37993 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
37994 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
37995
37996 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
37997
53aa7709
RD
37998 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
37999 {
38000 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38001 }
38002 {
38003 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38004 }
38005 {
38006 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38007 }
38008 {
38009 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38010 }
38011 {
38012 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38013 }
d55e5bfc
RD
38014}
38015