]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_controls_wrap.cpp
Compilation fix. I didn't add a #error since I figured this sample will be
[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 }
66af7a75
RD
1040 if (str)
1041 Py_DECREF(str);
36ed4f51
RD
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049}
1050
1051SWIGRUNTIMEINLINE void
1052SWIG_Python_NullRef(const char *type)
1053{
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059}
1060
1061SWIGRUNTIME int
1062SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063{
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084}
1085
1086SWIGRUNTIME int
1087SWIG_Python_ArgFail(int argnum)
1088{
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097}
1098
1099
1100/* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104/* Convert a pointer value */
1105SWIGRUNTIME int
1106SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120#ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137#else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155#endif
1156
1157type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195}
1196
1197/* Convert a pointer value, signal an exception on a type mismatch */
1198SWIGRUNTIME void *
1199SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209}
1210
1211/* Convert a packed value value */
1212SWIGRUNTIME int
1213SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219#else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224#endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242}
1243
1244/* Create a new array object */
1245SWIGRUNTIME PyObject *
1246SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252#ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254#else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260#endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276}
1277
1278SWIGRUNTIME PyObject *
1279SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287#else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293#endif
1294 return robj;
1295}
1296
1297/* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301#ifdef SWIG_LINK_RUNTIME
1302void *SWIG_ReturnGlobalTypeList(void *);
1303#endif
1304
1305SWIGRUNTIME swig_type_info **
1306SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310#ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312#else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320#endif
1321 return (swig_type_info **) type_pointer;
1322}
1323
1324/*
1325 Search for a swig_type_info structure
1326 */
1327SWIGRUNTIMEINLINE swig_type_info *
1328SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331}
1332
1333#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335#ifdef __cplusplus
1336}
1337#endif
1338
1339
1340/* -------- TYPES TABLE (BEGIN) -------- */
1341
1342#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343#define SWIGTYPE_p_wxSizer swig_types[1]
1344#define SWIGTYPE_p_wxCheckBox swig_types[2]
1345#define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346#define SWIGTYPE_p_wxEvent swig_types[4]
1347#define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348#define SWIGTYPE_p_bool swig_types[6]
1349#define SWIGTYPE_p_wxItemContainer swig_types[7]
1350#define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351#define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353#define SWIGTYPE_p_wxStaticLine swig_types[11]
1354#define SWIGTYPE_p_wxControl swig_types[12]
1355#define SWIGTYPE_p_wxPyControl swig_types[13]
1356#define SWIGTYPE_p_wxGauge swig_types[14]
1357#define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358#define SWIGTYPE_p_wxFont swig_types[16]
1359#define SWIGTYPE_p_wxToggleButton swig_types[17]
1360#define SWIGTYPE_p_wxRadioButton swig_types[18]
1361#define SWIGTYPE_p_wxChoice swig_types[19]
1362#define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363#define SWIGTYPE_ptrdiff_t swig_types[21]
1364#define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365#define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366#define SWIGTYPE_p_void swig_types[24]
1367#define SWIGTYPE_p_int swig_types[25]
1368#define SWIGTYPE_p_wxSize swig_types[26]
1369#define SWIGTYPE_p_wxDC swig_types[27]
1370#define SWIGTYPE_p_wxListView swig_types[28]
1371#define SWIGTYPE_p_wxIcon swig_types[29]
1372#define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373#define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374#define SWIGTYPE_p_wxNotebook swig_types[32]
1375#define SWIGTYPE_p_wxChoicebook swig_types[33]
1376#define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377#define SWIGTYPE_p_wxArrayString swig_types[35]
1378#define SWIGTYPE_p_form_ops_t swig_types[36]
1379#define SWIGTYPE_p_wxListbook swig_types[37]
1380#define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381#define SWIGTYPE_p_wxSlider swig_types[39]
1382#define SWIGTYPE_p_wxStaticBox swig_types[40]
1383#define SWIGTYPE_p_wxArrayInt swig_types[41]
1384#define SWIGTYPE_p_wxContextHelp swig_types[42]
1385#define SWIGTYPE_p_long swig_types[43]
1386#define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387#define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388#define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389#define SWIGTYPE_p_wxListEvent swig_types[47]
1390#define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391#define SWIGTYPE_p_wxListBox swig_types[49]
1392#define SWIGTYPE_p_wxSpinButton swig_types[50]
1393#define SWIGTYPE_p_wxButton swig_types[51]
1394#define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395#define SWIGTYPE_p_wxRect swig_types[53]
1396#define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397#define SWIGTYPE_p_wxRadioBox swig_types[55]
1398#define SWIGTYPE_p_wxScrollBar swig_types[56]
1399#define SWIGTYPE_p_char swig_types[57]
1400#define SWIGTYPE_p_wxComboBox swig_types[58]
1401#define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402#define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403#define SWIGTYPE_p_wxListItem swig_types[61]
1404#define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405#define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406#define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407#define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408#define SWIGTYPE_p_wxPaperSize swig_types[66]
1409#define SWIGTYPE_p_wxImageList swig_types[67]
1410#define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411#define SWIGTYPE_p_wxTextAttr swig_types[69]
1412#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413#define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414#define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415#define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416#define SWIGTYPE_p_wxPoint swig_types[74]
1417#define SWIGTYPE_p_wxObject swig_types[75]
1418#define SWIGTYPE_p_wxCursor swig_types[76]
53aa7709
RD
1419#define SWIGTYPE_p_wxDateTime swig_types[77]
1420#define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421#define SWIGTYPE_p_unsigned_long swig_types[79]
1422#define SWIGTYPE_p_wxWindow swig_types[80]
1423#define SWIGTYPE_p_wxString swig_types[81]
1424#define SWIGTYPE_p_wxBitmap swig_types[82]
1425#define SWIGTYPE_unsigned_int swig_types[83]
1426#define SWIGTYPE_p_unsigned_int swig_types[84]
1427#define SWIGTYPE_p_unsigned_char swig_types[85]
1428#define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430#define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431#define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432#define SWIGTYPE_p_wxStaticText swig_types[90]
1433#define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434#define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435#define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436#define SWIGTYPE_p_wxColour swig_types[94]
1437#define SWIGTYPE_p_wxToolBar swig_types[95]
1438#define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439#define SWIGTYPE_p_wxValidator swig_types[97]
1440static swig_type_info *swig_types[99];
36ed4f51
RD
1441
1442/* -------- TYPES TABLE (END) -------- */
1443
1444
1445/*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448#define SWIG_init init_controls_
1449
1450#define SWIG_name "_controls_"
1451
1452#include "wx/wxPython/wxPython.h"
1453#include "wx/wxPython/pyclasses.h"
1454
1455 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1456 static const wxString wxPyEmptyString(wxEmptyString);
1457 static const wxString wxPyControlNameStr(wxControlNameStr);
1458
1459 const wxArrayString wxPyEmptyStringArray;
1460
1461 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1462
1463 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1464#define SWIG_From_int PyInt_FromLong
1465/*@@*/
1466
1467
1468#include <limits.h>
1469
1470
1471SWIGINTERN int
1472 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1473 const char *errmsg)
1474{
1475 if (value < min_value) {
1476 if (errmsg) {
1477 PyErr_Format(PyExc_OverflowError,
1478 "value %ld is less than '%s' minimum %ld",
1479 value, errmsg, min_value);
1480 }
1481 return 0;
1482 } else if (value > max_value) {
1483 if (errmsg) {
1484 PyErr_Format(PyExc_OverflowError,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value, errmsg, max_value);
1487 }
1488 return 0;
1489 }
1490 return 1;
1491}
1492
1493
1494SWIGINTERN int
1495SWIG_AsVal_long(PyObject* obj, long* val)
1496{
1497 if (PyNumber_Check(obj)) {
1498 if (val) *val = PyInt_AsLong(obj);
1499 return 1;
1500 }
1501 else {
1502 SWIG_type_error("number", obj);
1503 }
1504 return 0;
1505}
1506
1507
1508#if INT_MAX != LONG_MAX
1509SWIGINTERN int
1510 SWIG_AsVal_int(PyObject *obj, int *val)
1511{
1512 const char* errmsg = val ? "int" : (char*)0;
1513 long v;
1514 if (SWIG_AsVal_long(obj, &v)) {
1515 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1516 if (val) *val = (int)(v);
1517 return 1;
1518 } else {
1519 return 0;
1520 }
1521 } else {
1522 PyErr_Clear();
1523 }
1524 if (val) {
1525 SWIG_type_error(errmsg, obj);
1526 }
1527 return 0;
1528}
1529#else
1530SWIGINTERNSHORT int
1531 SWIG_AsVal_int(PyObject *obj, int *val)
1532{
1533 return SWIG_AsVal_long(obj,(long*)val);
1534}
1535#endif
1536
1537
1538SWIGINTERNSHORT int
c370783e 1539SWIG_As_int(PyObject* obj)
d55e5bfc 1540{
c370783e
RD
1541 int v;
1542 if (!SWIG_AsVal_int(obj, &v)) {
1543 /*
36ed4f51 1544 this is needed to make valgrind/purify happier.
c370783e
RD
1545 */
1546 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1547 }
c370783e 1548 return v;
d55e5bfc
RD
1549}
1550
1551
36ed4f51 1552SWIGINTERNSHORT long
c370783e 1553SWIG_As_long(PyObject* obj)
d55e5bfc 1554{
c370783e
RD
1555 long v;
1556 if (!SWIG_AsVal_long(obj, &v)) {
1557 /*
36ed4f51 1558 this is needed to make valgrind/purify happier.
c370783e
RD
1559 */
1560 memset((void*)&v, 0, sizeof(long));
d55e5bfc 1561 }
c370783e 1562 return v;
d55e5bfc
RD
1563}
1564
c370783e 1565
36ed4f51 1566SWIGINTERNSHORT int
c370783e
RD
1567SWIG_Check_int(PyObject* obj)
1568{
1569 return SWIG_AsVal_int(obj, (int*)0);
1570}
d55e5bfc 1571
c370783e 1572
36ed4f51 1573SWIGINTERNSHORT int
c370783e 1574SWIG_Check_long(PyObject* obj)
d55e5bfc 1575{
c370783e 1576 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
1577}
1578
c370783e 1579 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 1580
36ed4f51 1581SWIGINTERN int
c370783e 1582 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 1583{
c370783e
RD
1584 if (obj == Py_True) {
1585 if (val) *val = true;
1586 return 1;
1587 }
1588 if (obj == Py_False) {
1589 if (val) *val = false;
d55e5bfc
RD
1590 return 1;
1591 }
c370783e
RD
1592 int res = 0;
1593 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1594 if (val) *val = res ? true : false;
c370783e 1595 return 1;
36ed4f51
RD
1596 } else {
1597 PyErr_Clear();
1598 }
c370783e 1599 if (val) {
36ed4f51 1600 SWIG_type_error("bool", obj);
c370783e
RD
1601 }
1602 return 0;
1603}
1604
1605
36ed4f51 1606SWIGINTERNSHORT bool
c370783e
RD
1607SWIG_As_bool(PyObject* obj)
1608{
1609 bool v;
1610 if (!SWIG_AsVal_bool(obj, &v)) {
1611 /*
36ed4f51 1612 this is needed to make valgrind/purify happier.
c370783e
RD
1613 */
1614 memset((void*)&v, 0, sizeof(bool));
1615 }
1616 return v;
1617}
1618
1619
36ed4f51 1620SWIGINTERNSHORT int
c370783e
RD
1621SWIG_Check_bool(PyObject* obj)
1622{
1623 return SWIG_AsVal_bool(obj, (bool*)0);
d55e5bfc
RD
1624}
1625
1626 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1627 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
36ed4f51
RD
1628
1629 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1630#define SWIG_From_long PyInt_FromLong
1631/*@@*/
1632
d55e5bfc
RD
1633 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1634 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1635 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1636 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1637
1638#include <wx/checklst.h>
1639
1640
1641 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
36ed4f51 1642static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d55e5bfc
RD
1643 if (clientData) {
1644 wxPyClientData* data = new wxPyClientData(clientData);
1645 self->Insert(item, pos, data);
1646 } else
1647 self->Insert(item, pos);
1648 }
36ed4f51 1649static PyObject *wxListBox_GetSelections(wxListBox *self){
d55e5bfc
RD
1650 wxArrayInt lst;
1651 self->GetSelections(lst);
1652 PyObject *tup = PyTuple_New(lst.GetCount());
1653 for(size_t i=0; i<lst.GetCount(); i++) {
1654 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1655 }
1656 return tup;
1657 }
36ed4f51 1658static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1659 #ifdef __WXMSW__
1660 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1661 self->GetItem(item)->SetTextColour(c);
1662 #endif
1663 }
36ed4f51 1664static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1665 #ifdef __WXMSW__
1666 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1667 self->GetItem(item)->SetBackgroundColour(c);
1668 #endif
1669 }
36ed4f51 1670static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
1671 #ifdef __WXMSW__
1672 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1673 self->GetItem(item)->SetFont(f);
1674 #endif
1675 }
1676 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1677
c370783e 1678 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d55e5bfc
RD
1679 PyObject* o2;
1680 PyObject* o3;
c370783e 1681
d55e5bfc
RD
1682 if (!target) {
1683 target = o;
1684 } else if (target == Py_None) {
1685 Py_DECREF(Py_None);
1686 target = o;
629e65c2
RD
1687 } else {
1688 if (!PyTuple_Check(target)) {
1689 o2 = target;
1690 target = PyTuple_New(1);
1691 PyTuple_SetItem(target, 0, o2);
1692 }
d55e5bfc
RD
1693 o3 = PyTuple_New(1);
1694 PyTuple_SetItem(o3, 0, o);
1695
1696 o2 = target;
1697 target = PySequence_Concat(o2, o3);
1698 Py_DECREF(o2);
1699 Py_DECREF(o3);
1700 }
1701 return target;
629e65c2 1702 }
d55e5bfc
RD
1703
1704
c370783e 1705
36ed4f51 1706SWIGINTERN int
c370783e 1707SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1708{
c370783e
RD
1709 long v = 0;
1710 if (SWIG_AsVal_long(obj, &v) && v < 0) {
36ed4f51 1711 SWIG_type_error("unsigned number", obj);
d55e5bfc 1712 }
c370783e
RD
1713 else if (val)
1714 *val = (unsigned long)v;
1715 return 1;
d55e5bfc
RD
1716}
1717
1718
36ed4f51 1719SWIGINTERNSHORT unsigned long
c370783e 1720SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1721{
c370783e
RD
1722 unsigned long v;
1723 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1724 /*
36ed4f51 1725 this is needed to make valgrind/purify happier.
c370783e
RD
1726 */
1727 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1728 }
c370783e
RD
1729 return v;
1730}
1731
1732
36ed4f51 1733SWIGINTERNSHORT int
c370783e
RD
1734SWIG_Check_unsigned_SS_long(PyObject* obj)
1735{
1736 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1737}
1738
36ed4f51 1739static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
1740 self->AppendText(text);
1741 }
36ed4f51 1742static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
1743 return self->GetValue().Mid(from, to - from);
1744 }
1745 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1746 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1747 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1749 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1750
1751#include <wx/slider.h>
1752
1753
1754 static const wxString wxPySliderNameStr(wxSliderNameStr);
1755 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1756
1757#if !wxUSE_TOGGLEBTN
1758// implement dummy items for platforms that don't have this class
1759
1760#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1761
1762class wxToggleButton : public wxControl
1763{
1764public:
1765 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1766 const wxPoint&, const wxSize&, long,
1767 const wxValidator&, const wxString&)
1768 { wxPyRaiseNotImplemented(); }
1769
1770 wxToggleButton()
1771 { wxPyRaiseNotImplemented(); }
1772};
1773#endif
1774
51b83b37 1775 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 1776
36ed4f51 1777SWIGINTERNSHORT PyObject*
c370783e 1778 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1779{
1780 return (value > LONG_MAX) ?
1781 PyLong_FromUnsignedLong(value)
36ed4f51 1782 : PyInt_FromLong((long)(value));
d55e5bfc
RD
1783}
1784
1785 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
36ed4f51 1786static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
1787 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1788 if (udata) {
1789 Py_INCREF(udata->m_obj);
1790 return udata->m_obj;
1791 } else {
1792 Py_INCREF(Py_None);
1793 return Py_None;
1794 }
1795 }
36ed4f51 1796static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
1797 self->SetClientData(new wxPyUserData(clientData));
1798 }
36ed4f51 1799static wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d55e5bfc
RD
1800 wxPyUserData* udata = NULL;
1801 if (clientData && clientData != Py_None)
1802 udata = new wxPyUserData(clientData);
1803 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1804 shortHelp, longHelp, udata);
1805 }
36ed4f51 1806static wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d55e5bfc
RD
1807 wxPyUserData* udata = NULL;
1808 if (clientData && clientData != Py_None)
1809 udata = new wxPyUserData(clientData);
1810 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1811 shortHelp, longHelp, udata);
1812 }
36ed4f51 1813static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
1814 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1815 if (udata) {
1816 Py_INCREF(udata->m_obj);
1817 return udata->m_obj;
1818 } else {
1819 Py_INCREF(Py_None);
1820 return Py_None;
1821 }
1822 }
36ed4f51 1823static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
1824 self->SetToolClientData(id, new wxPyUserData(clientData));
1825 }
1826
1827#include <wx/listctrl.h>
1828
fef4c27a 1829 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
36ed4f51 1830static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
1831 // Python aware sorting function for wxPyListCtrl
1832 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1833 int retval = 0;
1834 PyObject* func = (PyObject*)funcPtr;
5a446332 1835 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
1836
1837 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1838 PyObject* result = PyEval_CallObject(func, args);
1839 Py_DECREF(args);
1840 if (result) {
1841 retval = PyInt_AsLong(result);
1842 Py_DECREF(result);
1843 }
1844
1845 wxPyEndBlockThreads(blocked);
1846 return retval;
1847 }
1848
1849 // C++ Version of a Python aware class
1850class wxPyListCtrl : public wxListCtrl {
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1852public:
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1855 const wxPoint& pos,
1856 const wxSize& size,
1857 long style,
1858 const wxValidator& validator,
1859 const wxString& name) :
1860 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1861
1862 bool Create(wxWindow* parent, wxWindowID id,
1863 const wxPoint& pos,
1864 const wxSize& size,
1865 long style,
1866 const wxValidator& validator,
1867 const wxString& name) {
1868 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1869 }
1870
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1873
84f85550
RD
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1876
d55e5bfc
RD
1877 PYPRIVATE;
1878};
1879
1880IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1881
1882IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 1883IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550
RD
1884IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1885
d55e5bfc 1886
36ed4f51 1887static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
1888 wxListItem item;
1889 item.SetMask( wxLIST_MASK_STATE |
1890 wxLIST_MASK_TEXT |
1891 wxLIST_MASK_IMAGE |
1892 wxLIST_MASK_DATA |
1893 wxLIST_SET_ITEM |
1894 wxLIST_MASK_WIDTH |
1895 wxLIST_MASK_FORMAT
1896 );
1897 if (self->GetColumn(col, item))
1898 return new wxListItem(item);
1899 else
1900 return NULL;
1901 }
36ed4f51 1902static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
1903 wxListItem* info = new wxListItem;
1904 info->m_itemId = itemId;
1905 info->m_col = col;
1906 info->m_mask = 0xFFFF;
1907 self->GetItem(*info);
1908 return info;
1909 }
36ed4f51 1910static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
1911 wxPoint pos;
1912 self->GetItemPosition(item, pos);
1913 return pos;
1914 }
36ed4f51 1915static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
1916 wxRect rect;
1917 self->GetItemRect(item, rect, code);
1918 return rect;
1919 }
c370783e 1920
36ed4f51 1921static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 1922 if (!PyCallable_Check(func))
b411df4a 1923 return false;
d55e5bfc
RD
1924 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1925 }
36ed4f51 1926static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
1927
1928
1929
1930 return (wxWindow*)self->m_mainWin;
1931
1932 }
1933
1934#include <wx/treectrl.h>
1935#include "wx/wxPython/pytree.h"
1936
1937 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
36ed4f51
RD
1938static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1939static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1940static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d55e5bfc
RD
1941 // C++ version of Python aware wxTreeCtrl
1942class wxPyTreeCtrl : public wxTreeCtrl {
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1944public:
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1947 const wxPoint& pos,
1948 const wxSize& size,
1949 long style,
1950 const wxValidator& validator,
1951 const wxString& name) :
1952 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1953
1954 bool Create(wxWindow *parent, wxWindowID id,
1955 const wxPoint& pos,
1956 const wxSize& size,
1957 long style,
1958 const wxValidator& validator,
1959 const wxString& name) {
1960 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1961 }
1962
1963
1964 int OnCompareItems(const wxTreeItemId& item1,
1965 const wxTreeItemId& item2) {
1966 int rval = 0;
1967 bool found;
5a446332 1968 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 1969 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
b411df4a
RD
1970 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1971 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
1972 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1973 Py_DECREF(o1);
1974 Py_DECREF(o2);
1975 }
1976 wxPyEndBlockThreads(blocked);
1977 if (! found)
1978 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1979 return rval;
1980 }
1981 PYPRIVATE;
1982};
1983
1984IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1985
1986
1987
1988#if UINT_MAX < LONG_MAX
36ed4f51 1989/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1990#define SWIG_From_unsigned_SS_int SWIG_From_long
1991/*@@*/
d55e5bfc 1992#else
36ed4f51 1993/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1994#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1995/*@@*/
d55e5bfc
RD
1996#endif
1997
1998
36ed4f51 1999SWIGINTERNSHORT int
c370783e
RD
2000 SWIG_CheckUnsignedLongInRange(unsigned long value,
2001 unsigned long max_value,
2002 const char *errmsg)
d55e5bfc 2003{
c370783e
RD
2004 if (value > max_value) {
2005 if (errmsg) {
2006 PyErr_Format(PyExc_OverflowError,
36ed4f51 2007 "value %lu is greater than '%s' minimum %lu",
c370783e 2008 value, errmsg, max_value);
d55e5bfc 2009 }
c370783e 2010 return 0;
d55e5bfc 2011 }
c370783e
RD
2012 return 1;
2013 }
d55e5bfc
RD
2014
2015
2016#if UINT_MAX != ULONG_MAX
36ed4f51 2017SWIGINTERN int
c370783e 2018 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
d55e5bfc 2019{
36ed4f51 2020 const char* errmsg = val ? "unsigned int" : (char*)0;
c370783e
RD
2021 unsigned long v;
2022 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2023 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
36ed4f51 2024 if (val) *val = (unsigned int)(v);
c370783e
RD
2025 return 1;
2026 }
2027 } else {
2028 PyErr_Clear();
2029 }
2030 if (val) {
36ed4f51 2031 SWIG_type_error(errmsg, obj);
c370783e
RD
2032 }
2033 return 0;
d55e5bfc
RD
2034}
2035#else
36ed4f51 2036SWIGINTERNSHORT unsigned int
c370783e
RD
2037 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2038{
2039 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2040}
d55e5bfc
RD
2041#endif
2042
2043
36ed4f51 2044SWIGINTERNSHORT unsigned int
c370783e 2045SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 2046{
c370783e
RD
2047 unsigned int v;
2048 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2049 /*
36ed4f51 2050 this is needed to make valgrind/purify happier.
c370783e
RD
2051 */
2052 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 2053 }
c370783e
RD
2054 return v;
2055}
2056
2057
36ed4f51 2058SWIGINTERNSHORT int
c370783e
RD
2059SWIG_Check_unsigned_SS_int(PyObject* obj)
2060{
2061 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
2062}
2063
36ed4f51 2064static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2065 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2066 if (data == NULL) {
2067 data = new wxPyTreeItemData();
2068 data->SetId(item); // set the id
2069 self->SetItemData(item, data);
2070 }
2071 return data;
2072 }
36ed4f51 2073static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2074 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2075 if (data == NULL) {
2076 data = new wxPyTreeItemData();
2077 data->SetId(item); // set the id
2078 self->SetItemData(item, data);
2079 }
2080 return data->GetData();
2081 }
36ed4f51 2082static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
2083 data->SetId(item); // set the id
2084 self->SetItemData(item, data);
2085 }
36ed4f51 2086static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
2087 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2088 if (data == NULL) {
2089 data = new wxPyTreeItemData(obj);
2090 data->SetId(item); // set the id
2091 self->SetItemData(item, data);
2092 } else
2093 data->SetData(obj);
2094 }
36ed4f51 2095static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 2096 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2097 PyObject* rval = PyList_New(0);
2098 wxArrayTreeItemIds array;
2099 size_t num, x;
2100 num = self->GetSelections(array);
2101 for (x=0; x < num; x++) {
2102 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
b411df4a 2103 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 2104 PyList_Append(rval, item);
68e533f8 2105 Py_DECREF(item);
d55e5bfc
RD
2106 }
2107 wxPyEndBlockThreads(blocked);
2108 return rval;
2109 }
36ed4f51 2110static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2111 void* cookie = 0;
2112 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 2113 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2114 PyObject* tup = PyTuple_New(2);
b411df4a 2115 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2116 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2117 wxPyEndBlockThreads(blocked);
2118 return tup;
2119 }
36ed4f51 2120static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc 2121 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 2122 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2123 PyObject* tup = PyTuple_New(2);
b411df4a 2124 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2125 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2126 wxPyEndBlockThreads(blocked);
2127 return tup;
2128 }
36ed4f51 2129static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
2130 wxRect rect;
2131 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 2132 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2133 wxRect* r = new wxRect(rect);
b411df4a 2134 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
2135 wxPyEndBlockThreads(blocked);
2136 return val;
2137 }
2138 else
2139 RETURN_NONE();
2140 }
2141 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c370783e 2142
36ed4f51 2143SWIGINTERNSHORT PyObject*
c370783e
RD
2144 SWIG_From_bool(bool value)
2145{
2146 PyObject *obj = value ? Py_True : Py_False;
2147 Py_INCREF(obj);
2148 return obj;
2149}
2150
2151
d55e5bfc
RD
2152 // C++ version of Python aware wxControl
2153class wxPyControl : public wxControl
2154{
2155 DECLARE_DYNAMIC_CLASS(wxPyControl)
2156public:
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow* parent, const wxWindowID id,
2159 const wxPoint& pos = wxDefaultPosition,
2160 const wxSize& size = wxDefaultSize,
2161 long style = 0,
2162 const wxValidator& validator=wxDefaultValidator,
2163 const wxString& name = wxPyControlNameStr)
2164 : wxControl(parent, id, pos, size, style, validator, name) {}
2165
a5ee0656 2166 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc
RD
2167
2168 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2169 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2171 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2172
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2176
2177 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2178 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2179
2180 DEC_PYCALLBACK__(InitDialog);
2181 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2182 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2183 DEC_PYCALLBACK_BOOL_(Validate);
2184
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2186 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2187 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2188
2189 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2190 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2191
a5ee0656 2192 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
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);
a5ee0656 2227IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 2228
51b83b37
RD
2229IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2230
d55e5bfc
RD
2231
2232
36ed4f51 2233static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
2234
2235#include <wx/generic/dragimgg.h>
2236
53aa7709
RD
2237 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2238static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2239 wxDateTime rv;
2240 self->GetRange(&rv, NULL);
2241 return rv;
2242 }
2243static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2244 wxDateTime rv;
2245 self->GetRange(NULL, &rv);
2246 return rv;
2247 }
d55e5bfc
RD
2248#ifdef __cplusplus
2249extern "C" {
2250#endif
c370783e 2251static int _wrap_ButtonNameStr_set(PyObject *) {
d55e5bfc
RD
2252 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2253 return 1;
2254}
2255
2256
36ed4f51 2257static PyObject *_wrap_ButtonNameStr_get(void) {
d55e5bfc
RD
2258 PyObject *pyobj;
2259
2260 {
2261#if wxUSE_UNICODE
2262 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2263#else
2264 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2265#endif
2266 }
2267 return pyobj;
2268}
2269
2270
c370783e 2271static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2272 PyObject *resultobj;
2273 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
2274 int arg2 = (int) -1 ;
2275 wxString const &arg3_defvalue = wxPyEmptyString ;
2276 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
2277 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2278 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2279 wxSize const &arg5_defvalue = wxDefaultSize ;
2280 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2281 long arg6 = (long) 0 ;
2282 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2283 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2284 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2285 wxString *arg8 = (wxString *) &arg8_defvalue ;
2286 wxButton *result;
b411df4a 2287 bool temp3 = false ;
d55e5bfc
RD
2288 wxPoint temp4 ;
2289 wxSize temp5 ;
b411df4a 2290 bool temp8 = false ;
d55e5bfc
RD
2291 PyObject * obj0 = 0 ;
2292 PyObject * obj1 = 0 ;
2293 PyObject * obj2 = 0 ;
2294 PyObject * obj3 = 0 ;
2295 PyObject * obj4 = 0 ;
2296 PyObject * obj5 = 0 ;
2297 PyObject * obj6 = 0 ;
2298 PyObject * obj7 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2301 };
2302
bfddbb17 2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
2304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2305 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2306 if (obj1) {
36ed4f51
RD
2307 {
2308 arg2 = (int)(SWIG_As_int(obj1));
2309 if (SWIG_arg_fail(2)) SWIG_fail;
2310 }
bfddbb17
RD
2311 }
2312 if (obj2) {
2313 {
2314 arg3 = wxString_in_helper(obj2);
2315 if (arg3 == NULL) SWIG_fail;
b411df4a 2316 temp3 = true;
bfddbb17 2317 }
d55e5bfc
RD
2318 }
2319 if (obj3) {
2320 {
2321 arg4 = &temp4;
2322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2323 }
2324 }
2325 if (obj4) {
2326 {
2327 arg5 = &temp5;
2328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2329 }
2330 }
2331 if (obj5) {
36ed4f51
RD
2332 {
2333 arg6 = (long)(SWIG_As_long(obj5));
2334 if (SWIG_arg_fail(6)) SWIG_fail;
2335 }
d55e5bfc
RD
2336 }
2337 if (obj6) {
36ed4f51
RD
2338 {
2339 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2340 if (SWIG_arg_fail(7)) SWIG_fail;
2341 if (arg7 == NULL) {
2342 SWIG_null_ref("wxValidator");
2343 }
2344 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2345 }
2346 }
2347 if (obj7) {
2348 {
2349 arg8 = wxString_in_helper(obj7);
2350 if (arg8 == NULL) SWIG_fail;
b411df4a 2351 temp8 = true;
d55e5bfc
RD
2352 }
2353 }
2354 {
0439c23b 2355 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2356 PyThreadState* __tstate = wxPyBeginAllowThreads();
2357 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2358
2359 wxPyEndAllowThreads(__tstate);
110da5b0 2360 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2361 }
b0f7404b 2362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2363 {
2364 if (temp3)
2365 delete arg3;
2366 }
2367 {
2368 if (temp8)
2369 delete arg8;
2370 }
2371 return resultobj;
2372 fail:
2373 {
2374 if (temp3)
2375 delete arg3;
2376 }
2377 {
2378 if (temp8)
2379 delete arg8;
2380 }
2381 return NULL;
2382}
2383
2384
c370783e 2385static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2386 PyObject *resultobj;
2387 wxButton *result;
2388 char *kwnames[] = {
2389 NULL
2390 };
2391
2392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2393 {
0439c23b 2394 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 result = (wxButton *)new wxButton();
2397
2398 wxPyEndAllowThreads(__tstate);
110da5b0 2399 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2400 }
b0f7404b 2401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2402 return resultobj;
2403 fail:
2404 return NULL;
2405}
2406
2407
c370783e 2408static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2409 PyObject *resultobj;
2410 wxButton *arg1 = (wxButton *) 0 ;
2411 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
2412 int arg3 = (int) -1 ;
2413 wxString const &arg4_defvalue = wxPyEmptyString ;
2414 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
2415 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2416 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2417 wxSize const &arg6_defvalue = wxDefaultSize ;
2418 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2419 long arg7 = (long) 0 ;
2420 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2421 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2422 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2423 wxString *arg9 = (wxString *) &arg9_defvalue ;
2424 bool result;
b411df4a 2425 bool temp4 = false ;
d55e5bfc
RD
2426 wxPoint temp5 ;
2427 wxSize temp6 ;
b411df4a 2428 bool temp9 = false ;
d55e5bfc
RD
2429 PyObject * obj0 = 0 ;
2430 PyObject * obj1 = 0 ;
2431 PyObject * obj2 = 0 ;
2432 PyObject * obj3 = 0 ;
2433 PyObject * obj4 = 0 ;
2434 PyObject * obj5 = 0 ;
2435 PyObject * obj6 = 0 ;
2436 PyObject * obj7 = 0 ;
2437 PyObject * obj8 = 0 ;
2438 char *kwnames[] = {
2439 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2440 };
2441
bfddbb17 2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
2443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2444 if (SWIG_arg_fail(1)) SWIG_fail;
2445 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2446 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 2447 if (obj2) {
36ed4f51
RD
2448 {
2449 arg3 = (int)(SWIG_As_int(obj2));
2450 if (SWIG_arg_fail(3)) SWIG_fail;
2451 }
bfddbb17
RD
2452 }
2453 if (obj3) {
2454 {
2455 arg4 = wxString_in_helper(obj3);
2456 if (arg4 == NULL) SWIG_fail;
b411df4a 2457 temp4 = true;
bfddbb17 2458 }
d55e5bfc
RD
2459 }
2460 if (obj4) {
2461 {
2462 arg5 = &temp5;
2463 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2464 }
2465 }
2466 if (obj5) {
2467 {
2468 arg6 = &temp6;
2469 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2470 }
2471 }
2472 if (obj6) {
36ed4f51
RD
2473 {
2474 arg7 = (long)(SWIG_As_long(obj6));
2475 if (SWIG_arg_fail(7)) SWIG_fail;
2476 }
d55e5bfc
RD
2477 }
2478 if (obj7) {
36ed4f51
RD
2479 {
2480 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2481 if (SWIG_arg_fail(8)) SWIG_fail;
2482 if (arg8 == NULL) {
2483 SWIG_null_ref("wxValidator");
2484 }
2485 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2486 }
2487 }
2488 if (obj8) {
2489 {
2490 arg9 = wxString_in_helper(obj8);
2491 if (arg9 == NULL) SWIG_fail;
b411df4a 2492 temp9 = true;
d55e5bfc
RD
2493 }
2494 }
2495 {
2496 PyThreadState* __tstate = wxPyBeginAllowThreads();
2497 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2498
2499 wxPyEndAllowThreads(__tstate);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 }
2502 {
2503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2504 }
2505 {
2506 if (temp4)
2507 delete arg4;
2508 }
2509 {
2510 if (temp9)
2511 delete arg9;
2512 }
2513 return resultobj;
2514 fail:
2515 {
2516 if (temp4)
2517 delete arg4;
2518 }
2519 {
2520 if (temp9)
2521 delete arg9;
2522 }
2523 return NULL;
2524}
2525
2526
c370783e 2527static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2528 PyObject *resultobj;
2529 wxButton *arg1 = (wxButton *) 0 ;
2530 PyObject * obj0 = 0 ;
2531 char *kwnames[] = {
2532 (char *) "self", NULL
2533 };
2534
2535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
36ed4f51
RD
2536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2537 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2538 {
2539 PyThreadState* __tstate = wxPyBeginAllowThreads();
2540 (arg1)->SetDefault();
2541
2542 wxPyEndAllowThreads(__tstate);
2543 if (PyErr_Occurred()) SWIG_fail;
2544 }
2545 Py_INCREF(Py_None); resultobj = Py_None;
2546 return resultobj;
2547 fail:
2548 return NULL;
2549}
2550
2551
c370783e 2552static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2553 PyObject *resultobj;
2554 wxSize result;
2555 char *kwnames[] = {
2556 NULL
2557 };
2558
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2560 {
2561 PyThreadState* __tstate = wxPyBeginAllowThreads();
2562 result = wxButton::GetDefaultSize();
2563
2564 wxPyEndAllowThreads(__tstate);
2565 if (PyErr_Occurred()) SWIG_fail;
2566 }
2567 {
2568 wxSize * resultptr;
36ed4f51 2569 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
2570 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2571 }
2572 return resultobj;
2573 fail:
2574 return NULL;
2575}
2576
2577
c370783e 2578static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 2579 PyObject *resultobj;
36ed4f51 2580 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
2581 wxVisualAttributes result;
2582 PyObject * obj0 = 0 ;
2583 char *kwnames[] = {
2584 (char *) "variant", NULL
2585 };
2586
2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2588 if (obj0) {
36ed4f51
RD
2589 {
2590 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2591 if (SWIG_arg_fail(1)) SWIG_fail;
2592 }
f20a2e1f
RD
2593 }
2594 {
0439c23b 2595 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2596 PyThreadState* __tstate = wxPyBeginAllowThreads();
2597 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2598
2599 wxPyEndAllowThreads(__tstate);
110da5b0 2600 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2601 }
2602 {
2603 wxVisualAttributes * resultptr;
36ed4f51 2604 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
2605 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2606 }
2607 return resultobj;
2608 fail:
2609 return NULL;
2610}
2611
2612
c370783e 2613static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2614 PyObject *obj;
2615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2616 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2617 Py_INCREF(obj);
2618 return Py_BuildValue((char *)"");
2619}
c370783e 2620static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2621 PyObject *resultobj;
2622 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
2623 int arg2 = (int) -1 ;
2624 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2625 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
2626 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2627 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2628 wxSize const &arg5_defvalue = wxDefaultSize ;
2629 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2630 long arg6 = (long) wxBU_AUTODRAW ;
2631 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2632 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2633 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2634 wxString *arg8 = (wxString *) &arg8_defvalue ;
2635 wxBitmapButton *result;
2636 wxPoint temp4 ;
2637 wxSize temp5 ;
b411df4a 2638 bool temp8 = false ;
d55e5bfc
RD
2639 PyObject * obj0 = 0 ;
2640 PyObject * obj1 = 0 ;
2641 PyObject * obj2 = 0 ;
2642 PyObject * obj3 = 0 ;
2643 PyObject * obj4 = 0 ;
2644 PyObject * obj5 = 0 ;
2645 PyObject * obj6 = 0 ;
2646 PyObject * obj7 = 0 ;
2647 char *kwnames[] = {
2648 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2649 };
2650
bfddbb17 2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
2652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2653 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2654 if (obj1) {
36ed4f51
RD
2655 {
2656 arg2 = (int)(SWIG_As_int(obj1));
2657 if (SWIG_arg_fail(2)) SWIG_fail;
2658 }
bfddbb17
RD
2659 }
2660 if (obj2) {
36ed4f51
RD
2661 {
2662 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2663 if (SWIG_arg_fail(3)) SWIG_fail;
2664 if (arg3 == NULL) {
2665 SWIG_null_ref("wxBitmap");
2666 }
2667 if (SWIG_arg_fail(3)) SWIG_fail;
bfddbb17 2668 }
d55e5bfc
RD
2669 }
2670 if (obj3) {
2671 {
2672 arg4 = &temp4;
2673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2674 }
2675 }
2676 if (obj4) {
2677 {
2678 arg5 = &temp5;
2679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2680 }
2681 }
2682 if (obj5) {
36ed4f51
RD
2683 {
2684 arg6 = (long)(SWIG_As_long(obj5));
2685 if (SWIG_arg_fail(6)) SWIG_fail;
2686 }
d55e5bfc
RD
2687 }
2688 if (obj6) {
36ed4f51
RD
2689 {
2690 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2691 if (SWIG_arg_fail(7)) SWIG_fail;
2692 if (arg7 == NULL) {
2693 SWIG_null_ref("wxValidator");
2694 }
2695 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2696 }
2697 }
2698 if (obj7) {
2699 {
2700 arg8 = wxString_in_helper(obj7);
2701 if (arg8 == NULL) SWIG_fail;
b411df4a 2702 temp8 = true;
d55e5bfc
RD
2703 }
2704 }
2705 {
0439c23b 2706 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
2708 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2709
2710 wxPyEndAllowThreads(__tstate);
110da5b0 2711 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2712 }
b0f7404b 2713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2714 {
2715 if (temp8)
2716 delete arg8;
2717 }
2718 return resultobj;
2719 fail:
2720 {
2721 if (temp8)
2722 delete arg8;
2723 }
2724 return NULL;
2725}
2726
2727
c370783e 2728static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2729 PyObject *resultobj;
2730 wxBitmapButton *result;
2731 char *kwnames[] = {
2732 NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2736 {
0439c23b 2737 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
2739 result = (wxBitmapButton *)new wxBitmapButton();
2740
2741 wxPyEndAllowThreads(__tstate);
110da5b0 2742 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2743 }
b0f7404b 2744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2745 return resultobj;
2746 fail:
2747 return NULL;
2748}
2749
2750
c370783e 2751static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2752 PyObject *resultobj;
2753 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2754 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
2755 int arg3 = (int) -1 ;
2756 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2757 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
2758 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2759 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2760 wxSize const &arg6_defvalue = wxDefaultSize ;
2761 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2762 long arg7 = (long) wxBU_AUTODRAW ;
2763 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2764 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2765 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2766 wxString *arg9 = (wxString *) &arg9_defvalue ;
2767 bool result;
2768 wxPoint temp5 ;
2769 wxSize temp6 ;
b411df4a 2770 bool temp9 = false ;
d55e5bfc
RD
2771 PyObject * obj0 = 0 ;
2772 PyObject * obj1 = 0 ;
2773 PyObject * obj2 = 0 ;
2774 PyObject * obj3 = 0 ;
2775 PyObject * obj4 = 0 ;
2776 PyObject * obj5 = 0 ;
2777 PyObject * obj6 = 0 ;
2778 PyObject * obj7 = 0 ;
2779 PyObject * obj8 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2782 };
2783
bfddbb17 2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
2785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail;
2787 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2788 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 2789 if (obj2) {
36ed4f51
RD
2790 {
2791 arg3 = (int)(SWIG_As_int(obj2));
2792 if (SWIG_arg_fail(3)) SWIG_fail;
2793 }
bfddbb17
RD
2794 }
2795 if (obj3) {
36ed4f51
RD
2796 {
2797 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2798 if (SWIG_arg_fail(4)) SWIG_fail;
2799 if (arg4 == NULL) {
2800 SWIG_null_ref("wxBitmap");
2801 }
2802 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 2803 }
d55e5bfc
RD
2804 }
2805 if (obj4) {
2806 {
2807 arg5 = &temp5;
2808 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2809 }
2810 }
2811 if (obj5) {
2812 {
2813 arg6 = &temp6;
2814 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2815 }
2816 }
2817 if (obj6) {
36ed4f51
RD
2818 {
2819 arg7 = (long)(SWIG_As_long(obj6));
2820 if (SWIG_arg_fail(7)) SWIG_fail;
2821 }
d55e5bfc
RD
2822 }
2823 if (obj7) {
36ed4f51
RD
2824 {
2825 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2826 if (SWIG_arg_fail(8)) SWIG_fail;
2827 if (arg8 == NULL) {
2828 SWIG_null_ref("wxValidator");
2829 }
2830 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2831 }
2832 }
2833 if (obj8) {
2834 {
2835 arg9 = wxString_in_helper(obj8);
2836 if (arg9 == NULL) SWIG_fail;
b411df4a 2837 temp9 = true;
d55e5bfc
RD
2838 }
2839 }
2840 {
2841 PyThreadState* __tstate = wxPyBeginAllowThreads();
2842 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2843
2844 wxPyEndAllowThreads(__tstate);
2845 if (PyErr_Occurred()) SWIG_fail;
2846 }
2847 {
2848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2849 }
2850 {
2851 if (temp9)
2852 delete arg9;
2853 }
2854 return resultobj;
2855 fail:
2856 {
2857 if (temp9)
2858 delete arg9;
2859 }
2860 return NULL;
2861}
2862
2863
c370783e 2864static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2865 PyObject *resultobj;
2866 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2867 wxBitmap result;
2868 PyObject * obj0 = 0 ;
2869 char *kwnames[] = {
2870 (char *) "self", NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
2874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 result = (arg1)->GetBitmapLabel();
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 {
2884 wxBitmap * resultptr;
36ed4f51 2885 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2886 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2887 }
2888 return resultobj;
2889 fail:
2890 return NULL;
2891}
2892
2893
c370783e 2894static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2895 PyObject *resultobj;
2896 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2897 wxBitmap result;
2898 PyObject * obj0 = 0 ;
2899 char *kwnames[] = {
2900 (char *) "self", NULL
2901 };
2902
2903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
36ed4f51
RD
2904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2905 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 result = (arg1)->GetBitmapDisabled();
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 {
2914 wxBitmap * resultptr;
36ed4f51 2915 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2916 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2917 }
2918 return resultobj;
2919 fail:
2920 return NULL;
2921}
2922
2923
c370783e 2924static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2925 PyObject *resultobj;
2926 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2927 wxBitmap result;
2928 PyObject * obj0 = 0 ;
2929 char *kwnames[] = {
2930 (char *) "self", NULL
2931 };
2932
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
2934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2935 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 result = (arg1)->GetBitmapFocus();
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 {
2944 wxBitmap * resultptr;
36ed4f51 2945 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2946 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2947 }
2948 return resultobj;
2949 fail:
2950 return NULL;
2951}
2952
2953
c370783e 2954static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2955 PyObject *resultobj;
2956 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2957 wxBitmap result;
2958 PyObject * obj0 = 0 ;
2959 char *kwnames[] = {
2960 (char *) "self", NULL
2961 };
2962
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
2964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2965 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2966 {
2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
2968 result = (arg1)->GetBitmapSelected();
2969
2970 wxPyEndAllowThreads(__tstate);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 }
2973 {
2974 wxBitmap * resultptr;
36ed4f51 2975 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2977 }
2978 return resultobj;
2979 fail:
2980 return NULL;
2981}
2982
2983
c370783e 2984static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2985 PyObject *resultobj;
2986 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2987 wxBitmap *arg2 = 0 ;
2988 PyObject * obj0 = 0 ;
2989 PyObject * obj1 = 0 ;
2990 char *kwnames[] = {
2991 (char *) "self",(char *) "bitmap", NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2996 if (SWIG_arg_fail(1)) SWIG_fail;
2997 {
2998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2999 if (SWIG_arg_fail(2)) SWIG_fail;
3000 if (arg2 == NULL) {
3001 SWIG_null_ref("wxBitmap");
3002 }
3003 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3004 }
3005 {
3006 PyThreadState* __tstate = wxPyBeginAllowThreads();
3007 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3008
3009 wxPyEndAllowThreads(__tstate);
3010 if (PyErr_Occurred()) SWIG_fail;
3011 }
3012 Py_INCREF(Py_None); resultobj = Py_None;
3013 return resultobj;
3014 fail:
3015 return NULL;
3016}
3017
3018
c370783e 3019static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3020 PyObject *resultobj;
3021 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3022 wxBitmap *arg2 = 0 ;
3023 PyObject * obj0 = 0 ;
3024 PyObject * obj1 = 0 ;
3025 char *kwnames[] = {
3026 (char *) "self",(char *) "bitmap", NULL
3027 };
3028
3029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3031 if (SWIG_arg_fail(1)) SWIG_fail;
3032 {
3033 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3034 if (SWIG_arg_fail(2)) SWIG_fail;
3035 if (arg2 == NULL) {
3036 SWIG_null_ref("wxBitmap");
3037 }
3038 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3039 }
3040 {
3041 PyThreadState* __tstate = wxPyBeginAllowThreads();
3042 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3043
3044 wxPyEndAllowThreads(__tstate);
3045 if (PyErr_Occurred()) SWIG_fail;
3046 }
3047 Py_INCREF(Py_None); resultobj = Py_None;
3048 return resultobj;
3049 fail:
3050 return NULL;
3051}
3052
3053
c370783e 3054static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3055 PyObject *resultobj;
3056 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3057 wxBitmap *arg2 = 0 ;
3058 PyObject * obj0 = 0 ;
3059 PyObject * obj1 = 0 ;
3060 char *kwnames[] = {
3061 (char *) "self",(char *) "bitmap", NULL
3062 };
3063
3064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3066 if (SWIG_arg_fail(1)) SWIG_fail;
3067 {
3068 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3069 if (SWIG_arg_fail(2)) SWIG_fail;
3070 if (arg2 == NULL) {
3071 SWIG_null_ref("wxBitmap");
3072 }
3073 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3074 }
3075 {
3076 PyThreadState* __tstate = wxPyBeginAllowThreads();
3077 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3078
3079 wxPyEndAllowThreads(__tstate);
3080 if (PyErr_Occurred()) SWIG_fail;
3081 }
3082 Py_INCREF(Py_None); resultobj = Py_None;
3083 return resultobj;
3084 fail:
3085 return NULL;
3086}
3087
3088
c370783e 3089static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3090 PyObject *resultobj;
3091 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3092 wxBitmap *arg2 = 0 ;
3093 PyObject * obj0 = 0 ;
3094 PyObject * obj1 = 0 ;
3095 char *kwnames[] = {
3096 (char *) "self",(char *) "bitmap", NULL
3097 };
3098
3099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3101 if (SWIG_arg_fail(1)) SWIG_fail;
3102 {
3103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3104 if (SWIG_arg_fail(2)) SWIG_fail;
3105 if (arg2 == NULL) {
3106 SWIG_null_ref("wxBitmap");
3107 }
3108 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3109 }
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3113
3114 wxPyEndAllowThreads(__tstate);
3115 if (PyErr_Occurred()) SWIG_fail;
3116 }
3117 Py_INCREF(Py_None); resultobj = Py_None;
3118 return resultobj;
3119 fail:
3120 return NULL;
3121}
3122
3123
c370783e 3124static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3125 PyObject *resultobj;
3126 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3127 int arg2 ;
3128 int arg3 ;
3129 PyObject * obj0 = 0 ;
3130 PyObject * obj1 = 0 ;
3131 PyObject * obj2 = 0 ;
3132 char *kwnames[] = {
3133 (char *) "self",(char *) "x",(char *) "y", NULL
3134 };
3135
3136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3138 if (SWIG_arg_fail(1)) SWIG_fail;
3139 {
3140 arg2 = (int)(SWIG_As_int(obj1));
3141 if (SWIG_arg_fail(2)) SWIG_fail;
3142 }
3143 {
3144 arg3 = (int)(SWIG_As_int(obj2));
3145 if (SWIG_arg_fail(3)) SWIG_fail;
3146 }
d55e5bfc
RD
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 (arg1)->SetMargins(arg2,arg3);
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 Py_INCREF(Py_None); resultobj = Py_None;
3155 return resultobj;
3156 fail:
3157 return NULL;
3158}
3159
3160
c370783e 3161static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3162 PyObject *resultobj;
3163 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3164 int result;
3165 PyObject * obj0 = 0 ;
3166 char *kwnames[] = {
3167 (char *) "self", NULL
3168 };
3169
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
36ed4f51
RD
3171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3173 {
3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
3175 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3176
3177 wxPyEndAllowThreads(__tstate);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
36ed4f51
RD
3180 {
3181 resultobj = SWIG_From_int((int)(result));
3182 }
d55e5bfc
RD
3183 return resultobj;
3184 fail:
3185 return NULL;
3186}
3187
3188
c370783e 3189static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3190 PyObject *resultobj;
3191 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3192 int result;
3193 PyObject * obj0 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
36ed4f51
RD
3199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3201 {
3202 PyThreadState* __tstate = wxPyBeginAllowThreads();
3203 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3204
3205 wxPyEndAllowThreads(__tstate);
3206 if (PyErr_Occurred()) SWIG_fail;
3207 }
36ed4f51
RD
3208 {
3209 resultobj = SWIG_From_int((int)(result));
3210 }
d55e5bfc
RD
3211 return resultobj;
3212 fail:
3213 return NULL;
3214}
3215
3216
c370783e 3217static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3218 PyObject *obj;
3219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3220 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3221 Py_INCREF(obj);
3222 return Py_BuildValue((char *)"");
3223}
c370783e 3224static int _wrap_CheckBoxNameStr_set(PyObject *) {
d55e5bfc
RD
3225 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3226 return 1;
3227}
3228
3229
36ed4f51 3230static PyObject *_wrap_CheckBoxNameStr_get(void) {
d55e5bfc
RD
3231 PyObject *pyobj;
3232
3233 {
3234#if wxUSE_UNICODE
3235 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3236#else
3237 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3238#endif
3239 }
3240 return pyobj;
3241}
3242
3243
c370783e 3244static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3245 PyObject *resultobj;
3246 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
3247 int arg2 = (int) -1 ;
3248 wxString const &arg3_defvalue = wxPyEmptyString ;
3249 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
3250 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3251 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3252 wxSize const &arg5_defvalue = wxDefaultSize ;
3253 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3254 long arg6 = (long) 0 ;
3255 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3256 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3257 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3258 wxString *arg8 = (wxString *) &arg8_defvalue ;
3259 wxCheckBox *result;
b411df4a 3260 bool temp3 = false ;
d55e5bfc
RD
3261 wxPoint temp4 ;
3262 wxSize temp5 ;
b411df4a 3263 bool temp8 = false ;
d55e5bfc
RD
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 PyObject * obj2 = 0 ;
3267 PyObject * obj3 = 0 ;
3268 PyObject * obj4 = 0 ;
3269 PyObject * obj5 = 0 ;
3270 PyObject * obj6 = 0 ;
3271 PyObject * obj7 = 0 ;
3272 char *kwnames[] = {
3273 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3274 };
3275
bfddbb17 3276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 3279 if (obj1) {
36ed4f51
RD
3280 {
3281 arg2 = (int)(SWIG_As_int(obj1));
3282 if (SWIG_arg_fail(2)) SWIG_fail;
3283 }
bfddbb17
RD
3284 }
3285 if (obj2) {
3286 {
3287 arg3 = wxString_in_helper(obj2);
3288 if (arg3 == NULL) SWIG_fail;
b411df4a 3289 temp3 = true;
bfddbb17 3290 }
d55e5bfc
RD
3291 }
3292 if (obj3) {
3293 {
3294 arg4 = &temp4;
3295 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3296 }
3297 }
3298 if (obj4) {
3299 {
3300 arg5 = &temp5;
3301 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3302 }
3303 }
3304 if (obj5) {
36ed4f51
RD
3305 {
3306 arg6 = (long)(SWIG_As_long(obj5));
3307 if (SWIG_arg_fail(6)) SWIG_fail;
3308 }
d55e5bfc
RD
3309 }
3310 if (obj6) {
36ed4f51
RD
3311 {
3312 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3313 if (SWIG_arg_fail(7)) SWIG_fail;
3314 if (arg7 == NULL) {
3315 SWIG_null_ref("wxValidator");
3316 }
3317 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3318 }
3319 }
3320 if (obj7) {
3321 {
3322 arg8 = wxString_in_helper(obj7);
3323 if (arg8 == NULL) SWIG_fail;
b411df4a 3324 temp8 = true;
d55e5bfc
RD
3325 }
3326 }
3327 {
0439c23b 3328 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
3330 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3331
3332 wxPyEndAllowThreads(__tstate);
110da5b0 3333 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3334 }
3335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3336 {
3337 if (temp3)
3338 delete arg3;
3339 }
3340 {
3341 if (temp8)
3342 delete arg8;
3343 }
3344 return resultobj;
3345 fail:
3346 {
3347 if (temp3)
3348 delete arg3;
3349 }
3350 {
3351 if (temp8)
3352 delete arg8;
3353 }
3354 return NULL;
3355}
3356
3357
c370783e 3358static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3359 PyObject *resultobj;
3360 wxCheckBox *result;
3361 char *kwnames[] = {
3362 NULL
3363 };
3364
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3366 {
0439c23b 3367 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
3369 result = (wxCheckBox *)new wxCheckBox();
3370
3371 wxPyEndAllowThreads(__tstate);
110da5b0 3372 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3373 }
3374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3375 return resultobj;
3376 fail:
3377 return NULL;
3378}
3379
3380
c370783e 3381static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3382 PyObject *resultobj;
3383 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3384 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
3385 int arg3 = (int) -1 ;
3386 wxString const &arg4_defvalue = wxPyEmptyString ;
3387 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
3388 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3389 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3390 wxSize const &arg6_defvalue = wxDefaultSize ;
3391 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3392 long arg7 = (long) 0 ;
3393 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3394 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3395 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3396 wxString *arg9 = (wxString *) &arg9_defvalue ;
3397 bool result;
b411df4a 3398 bool temp4 = false ;
d55e5bfc
RD
3399 wxPoint temp5 ;
3400 wxSize temp6 ;
b411df4a 3401 bool temp9 = false ;
d55e5bfc
RD
3402 PyObject * obj0 = 0 ;
3403 PyObject * obj1 = 0 ;
3404 PyObject * obj2 = 0 ;
3405 PyObject * obj3 = 0 ;
3406 PyObject * obj4 = 0 ;
3407 PyObject * obj5 = 0 ;
3408 PyObject * obj6 = 0 ;
3409 PyObject * obj7 = 0 ;
3410 PyObject * obj8 = 0 ;
3411 char *kwnames[] = {
3412 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3413 };
3414
bfddbb17 3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
3416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3417 if (SWIG_arg_fail(1)) SWIG_fail;
3418 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3419 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 3420 if (obj2) {
36ed4f51
RD
3421 {
3422 arg3 = (int)(SWIG_As_int(obj2));
3423 if (SWIG_arg_fail(3)) SWIG_fail;
3424 }
bfddbb17
RD
3425 }
3426 if (obj3) {
3427 {
3428 arg4 = wxString_in_helper(obj3);
3429 if (arg4 == NULL) SWIG_fail;
b411df4a 3430 temp4 = true;
bfddbb17 3431 }
d55e5bfc
RD
3432 }
3433 if (obj4) {
3434 {
3435 arg5 = &temp5;
3436 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3437 }
3438 }
3439 if (obj5) {
3440 {
3441 arg6 = &temp6;
3442 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3443 }
3444 }
3445 if (obj6) {
36ed4f51
RD
3446 {
3447 arg7 = (long)(SWIG_As_long(obj6));
3448 if (SWIG_arg_fail(7)) SWIG_fail;
3449 }
d55e5bfc
RD
3450 }
3451 if (obj7) {
36ed4f51
RD
3452 {
3453 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3454 if (SWIG_arg_fail(8)) SWIG_fail;
3455 if (arg8 == NULL) {
3456 SWIG_null_ref("wxValidator");
3457 }
3458 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
3459 }
3460 }
3461 if (obj8) {
3462 {
3463 arg9 = wxString_in_helper(obj8);
3464 if (arg9 == NULL) SWIG_fail;
b411df4a 3465 temp9 = true;
d55e5bfc
RD
3466 }
3467 }
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3471
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 {
3476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3477 }
3478 {
3479 if (temp4)
3480 delete arg4;
3481 }
3482 {
3483 if (temp9)
3484 delete arg9;
3485 }
3486 return resultobj;
3487 fail:
3488 {
3489 if (temp4)
3490 delete arg4;
3491 }
3492 {
3493 if (temp9)
3494 delete arg9;
3495 }
3496 return NULL;
3497}
3498
3499
c370783e 3500static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3501 PyObject *resultobj;
3502 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3503 bool result;
3504 PyObject * obj0 = 0 ;
3505 char *kwnames[] = {
3506 (char *) "self", NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
3510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 result = (bool)(arg1)->GetValue();
3515
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 {
3520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3521 }
3522 return resultobj;
3523 fail:
3524 return NULL;
3525}
3526
3527
c370783e 3528static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3529 PyObject *resultobj;
3530 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3531 bool result;
3532 PyObject * obj0 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "self", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
36ed4f51
RD
3538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3539 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (bool)(arg1)->IsChecked();
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 {
3548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3549 }
3550 return resultobj;
3551 fail:
3552 return NULL;
3553}
3554
3555
c370783e 3556static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3557 PyObject *resultobj;
3558 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3559 bool arg2 ;
3560 PyObject * obj0 = 0 ;
3561 PyObject * obj1 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self",(char *) "state", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail;
3569 {
3570 arg2 = (bool const)(SWIG_As_bool(obj1));
3571 if (SWIG_arg_fail(2)) SWIG_fail;
3572 }
d55e5bfc
RD
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 (arg1)->SetValue(arg2);
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 Py_INCREF(Py_None); resultobj = Py_None;
3581 return resultobj;
3582 fail:
3583 return NULL;
3584}
3585
3586
c370783e 3587static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3588 PyObject *resultobj;
3589 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
36ed4f51 3590 wxCheckBoxState result;
d55e5bfc
RD
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
3597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3598 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3601 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d55e5bfc
RD
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
36ed4f51 3606 resultobj = SWIG_From_int((result));
d55e5bfc
RD
3607 return resultobj;
3608 fail:
3609 return NULL;
3610}
3611
3612
c370783e 3613static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3614 PyObject *resultobj;
3615 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
36ed4f51 3616 wxCheckBoxState arg2 ;
d55e5bfc
RD
3617 PyObject * obj0 = 0 ;
3618 PyObject * obj1 = 0 ;
3619 char *kwnames[] = {
3620 (char *) "self",(char *) "state", NULL
3621 };
3622
3623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3625 if (SWIG_arg_fail(1)) SWIG_fail;
3626 {
3627 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3628 if (SWIG_arg_fail(2)) SWIG_fail;
3629 }
d55e5bfc
RD
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 Py_INCREF(Py_None); resultobj = Py_None;
3638 return resultobj;
3639 fail:
3640 return NULL;
3641}
3642
3643
c370783e 3644static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3645 PyObject *resultobj;
3646 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3647 bool result;
3648 PyObject * obj0 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
36ed4f51
RD
3654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3655 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 {
3664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3665 }
3666 return resultobj;
3667 fail:
3668 return NULL;
3669}
3670
3671
c370783e 3672static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3673 PyObject *resultobj;
3674 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3675 bool result;
3676 PyObject * obj0 = 0 ;
3677 char *kwnames[] = {
3678 (char *) "self", NULL
3679 };
3680
3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
36ed4f51
RD
3682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3684 {
3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
3686 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3687
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 {
3692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3693 }
3694 return resultobj;
3695 fail:
3696 return NULL;
3697}
3698
3699
c370783e 3700static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 3701 PyObject *resultobj;
36ed4f51 3702 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3703 wxVisualAttributes result;
3704 PyObject * obj0 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "variant", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3710 if (obj0) {
36ed4f51
RD
3711 {
3712 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3713 if (SWIG_arg_fail(1)) SWIG_fail;
3714 }
f20a2e1f
RD
3715 }
3716 {
0439c23b 3717 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3720
3721 wxPyEndAllowThreads(__tstate);
110da5b0 3722 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3723 }
3724 {
3725 wxVisualAttributes * resultptr;
36ed4f51 3726 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
3727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3728 }
3729 return resultobj;
3730 fail:
3731 return NULL;
3732}
3733
3734
c370783e 3735static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3736 PyObject *obj;
3737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3738 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3739 Py_INCREF(obj);
3740 return Py_BuildValue((char *)"");
3741}
c370783e 3742static int _wrap_ChoiceNameStr_set(PyObject *) {
d55e5bfc
RD
3743 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3744 return 1;
3745}
3746
3747
36ed4f51 3748static PyObject *_wrap_ChoiceNameStr_get(void) {
d55e5bfc
RD
3749 PyObject *pyobj;
3750
3751 {
3752#if wxUSE_UNICODE
3753 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3754#else
3755 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3756#endif
3757 }
3758 return pyobj;
3759}
3760
3761
c370783e 3762static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3763 PyObject *resultobj;
3764 wxWindow *arg1 = (wxWindow *) 0 ;
3765 int arg2 = (int) -1 ;
3766 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3767 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3768 wxSize const &arg4_defvalue = wxDefaultSize ;
3769 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3770 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3771 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3772 long arg6 = (long) 0 ;
3773 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3774 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3775 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3776 wxString *arg8 = (wxString *) &arg8_defvalue ;
3777 wxChoice *result;
3778 wxPoint temp3 ;
3779 wxSize temp4 ;
b411df4a
RD
3780 bool temp5 = false ;
3781 bool temp8 = false ;
d55e5bfc
RD
3782 PyObject * obj0 = 0 ;
3783 PyObject * obj1 = 0 ;
3784 PyObject * obj2 = 0 ;
3785 PyObject * obj3 = 0 ;
3786 PyObject * obj4 = 0 ;
3787 PyObject * obj5 = 0 ;
3788 PyObject * obj6 = 0 ;
3789 PyObject * obj7 = 0 ;
3790 char *kwnames[] = {
3791 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3792 };
3793
3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3797 if (obj1) {
36ed4f51
RD
3798 {
3799 arg2 = (int)(SWIG_As_int(obj1));
3800 if (SWIG_arg_fail(2)) SWIG_fail;
3801 }
d55e5bfc
RD
3802 }
3803 if (obj2) {
3804 {
3805 arg3 = &temp3;
3806 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3807 }
3808 }
3809 if (obj3) {
3810 {
3811 arg4 = &temp4;
3812 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3813 }
3814 }
3815 if (obj4) {
3816 {
3817 if (! PySequence_Check(obj4)) {
3818 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3819 SWIG_fail;
3820 }
3821 arg5 = new wxArrayString;
b411df4a 3822 temp5 = true;
d55e5bfc
RD
3823 int i, len=PySequence_Length(obj4);
3824 for (i=0; i<len; i++) {
3825 PyObject* item = PySequence_GetItem(obj4, i);
3826#if wxUSE_UNICODE
3827 PyObject* str = PyObject_Unicode(item);
3828#else
3829 PyObject* str = PyObject_Str(item);
3830#endif
3831 if (PyErr_Occurred()) SWIG_fail;
3832 arg5->Add(Py2wxString(str));
3833 Py_DECREF(item);
3834 Py_DECREF(str);
3835 }
3836 }
3837 }
3838 if (obj5) {
36ed4f51
RD
3839 {
3840 arg6 = (long)(SWIG_As_long(obj5));
3841 if (SWIG_arg_fail(6)) SWIG_fail;
3842 }
d55e5bfc
RD
3843 }
3844 if (obj6) {
36ed4f51
RD
3845 {
3846 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3847 if (SWIG_arg_fail(7)) SWIG_fail;
3848 if (arg7 == NULL) {
3849 SWIG_null_ref("wxValidator");
3850 }
3851 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3852 }
3853 }
3854 if (obj7) {
3855 {
3856 arg8 = wxString_in_helper(obj7);
3857 if (arg8 == NULL) SWIG_fail;
b411df4a 3858 temp8 = true;
d55e5bfc
RD
3859 }
3860 }
3861 {
0439c23b 3862 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3863 PyThreadState* __tstate = wxPyBeginAllowThreads();
3864 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3865
3866 wxPyEndAllowThreads(__tstate);
110da5b0 3867 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3868 }
3869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3870 {
3871 if (temp5) delete arg5;
3872 }
3873 {
3874 if (temp8)
3875 delete arg8;
3876 }
3877 return resultobj;
3878 fail:
3879 {
3880 if (temp5) delete arg5;
3881 }
3882 {
3883 if (temp8)
3884 delete arg8;
3885 }
3886 return NULL;
3887}
3888
3889
c370783e 3890static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3891 PyObject *resultobj;
3892 wxChoice *result;
3893 char *kwnames[] = {
3894 NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3898 {
0439c23b 3899 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3900 PyThreadState* __tstate = wxPyBeginAllowThreads();
3901 result = (wxChoice *)new wxChoice();
3902
3903 wxPyEndAllowThreads(__tstate);
110da5b0 3904 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3905 }
3906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3907 return resultobj;
3908 fail:
3909 return NULL;
3910}
3911
3912
c370783e 3913static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3914 PyObject *resultobj;
3915 wxChoice *arg1 = (wxChoice *) 0 ;
3916 wxWindow *arg2 = (wxWindow *) 0 ;
3917 int arg3 = (int) -1 ;
3918 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3919 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3920 wxSize const &arg5_defvalue = wxDefaultSize ;
3921 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3922 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3923 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3924 long arg7 = (long) 0 ;
3925 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3926 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3927 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3928 wxString *arg9 = (wxString *) &arg9_defvalue ;
3929 bool result;
3930 wxPoint temp4 ;
3931 wxSize temp5 ;
b411df4a
RD
3932 bool temp6 = false ;
3933 bool temp9 = false ;
d55e5bfc
RD
3934 PyObject * obj0 = 0 ;
3935 PyObject * obj1 = 0 ;
3936 PyObject * obj2 = 0 ;
3937 PyObject * obj3 = 0 ;
3938 PyObject * obj4 = 0 ;
3939 PyObject * obj5 = 0 ;
3940 PyObject * obj6 = 0 ;
3941 PyObject * obj7 = 0 ;
3942 PyObject * obj8 = 0 ;
3943 char *kwnames[] = {
3944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3945 };
3946
3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
3948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3949 if (SWIG_arg_fail(1)) SWIG_fail;
3950 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3951 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 3952 if (obj2) {
36ed4f51
RD
3953 {
3954 arg3 = (int)(SWIG_As_int(obj2));
3955 if (SWIG_arg_fail(3)) SWIG_fail;
3956 }
d55e5bfc
RD
3957 }
3958 if (obj3) {
3959 {
3960 arg4 = &temp4;
3961 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3962 }
3963 }
3964 if (obj4) {
3965 {
3966 arg5 = &temp5;
3967 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3968 }
3969 }
3970 if (obj5) {
3971 {
3972 if (! PySequence_Check(obj5)) {
3973 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3974 SWIG_fail;
3975 }
3976 arg6 = new wxArrayString;
b411df4a 3977 temp6 = true;
d55e5bfc
RD
3978 int i, len=PySequence_Length(obj5);
3979 for (i=0; i<len; i++) {
3980 PyObject* item = PySequence_GetItem(obj5, i);
3981#if wxUSE_UNICODE
3982 PyObject* str = PyObject_Unicode(item);
3983#else
3984 PyObject* str = PyObject_Str(item);
3985#endif
3986 if (PyErr_Occurred()) SWIG_fail;
3987 arg6->Add(Py2wxString(str));
3988 Py_DECREF(item);
3989 Py_DECREF(str);
3990 }
3991 }
3992 }
3993 if (obj6) {
36ed4f51
RD
3994 {
3995 arg7 = (long)(SWIG_As_long(obj6));
3996 if (SWIG_arg_fail(7)) SWIG_fail;
3997 }
d55e5bfc
RD
3998 }
3999 if (obj7) {
36ed4f51
RD
4000 {
4001 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4002 if (SWIG_arg_fail(8)) SWIG_fail;
4003 if (arg8 == NULL) {
4004 SWIG_null_ref("wxValidator");
4005 }
4006 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4007 }
4008 }
4009 if (obj8) {
4010 {
4011 arg9 = wxString_in_helper(obj8);
4012 if (arg9 == NULL) SWIG_fail;
b411df4a 4013 temp9 = true;
d55e5bfc
RD
4014 }
4015 }
4016 {
4017 PyThreadState* __tstate = wxPyBeginAllowThreads();
4018 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4019
4020 wxPyEndAllowThreads(__tstate);
4021 if (PyErr_Occurred()) SWIG_fail;
4022 }
4023 {
4024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4025 }
4026 {
4027 if (temp6) delete arg6;
4028 }
4029 {
4030 if (temp9)
4031 delete arg9;
4032 }
4033 return resultobj;
4034 fail:
4035 {
4036 if (temp6) delete arg6;
4037 }
4038 {
4039 if (temp9)
4040 delete arg9;
4041 }
4042 return NULL;
4043}
4044
4045
c370783e 4046static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 4047 PyObject *resultobj;
36ed4f51 4048 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
4049 wxVisualAttributes result;
4050 PyObject * obj0 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "variant", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4056 if (obj0) {
36ed4f51
RD
4057 {
4058 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4059 if (SWIG_arg_fail(1)) SWIG_fail;
4060 }
f20a2e1f
RD
4061 }
4062 {
0439c23b 4063 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4066
4067 wxPyEndAllowThreads(__tstate);
110da5b0 4068 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4069 }
4070 {
4071 wxVisualAttributes * resultptr;
36ed4f51 4072 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
4073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4074 }
4075 return resultobj;
4076 fail:
4077 return NULL;
4078}
4079
4080
c370783e 4081static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4082 PyObject *obj;
4083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4084 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4085 Py_INCREF(obj);
4086 return Py_BuildValue((char *)"");
4087}
c370783e 4088static int _wrap_ComboBoxNameStr_set(PyObject *) {
d55e5bfc
RD
4089 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4090 return 1;
4091}
4092
4093
36ed4f51 4094static PyObject *_wrap_ComboBoxNameStr_get(void) {
d55e5bfc
RD
4095 PyObject *pyobj;
4096
4097 {
4098#if wxUSE_UNICODE
4099 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4100#else
4101 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4102#endif
4103 }
4104 return pyobj;
4105}
4106
4107
c370783e 4108static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4109 PyObject *resultobj;
4110 wxWindow *arg1 = (wxWindow *) 0 ;
4111 int arg2 = (int) -1 ;
4112 wxString const &arg3_defvalue = wxPyEmptyString ;
4113 wxString *arg3 = (wxString *) &arg3_defvalue ;
4114 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4115 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4116 wxSize const &arg5_defvalue = wxDefaultSize ;
4117 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4118 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4119 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4120 long arg7 = (long) 0 ;
4121 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4122 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4123 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4124 wxString *arg9 = (wxString *) &arg9_defvalue ;
4125 wxComboBox *result;
b411df4a 4126 bool temp3 = false ;
d55e5bfc
RD
4127 wxPoint temp4 ;
4128 wxSize temp5 ;
b411df4a
RD
4129 bool temp6 = false ;
4130 bool temp9 = false ;
d55e5bfc
RD
4131 PyObject * obj0 = 0 ;
4132 PyObject * obj1 = 0 ;
4133 PyObject * obj2 = 0 ;
4134 PyObject * obj3 = 0 ;
4135 PyObject * obj4 = 0 ;
4136 PyObject * obj5 = 0 ;
4137 PyObject * obj6 = 0 ;
4138 PyObject * obj7 = 0 ;
4139 PyObject * obj8 = 0 ;
4140 char *kwnames[] = {
4141 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
4145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4147 if (obj1) {
36ed4f51
RD
4148 {
4149 arg2 = (int)(SWIG_As_int(obj1));
4150 if (SWIG_arg_fail(2)) SWIG_fail;
4151 }
d55e5bfc
RD
4152 }
4153 if (obj2) {
4154 {
4155 arg3 = wxString_in_helper(obj2);
4156 if (arg3 == NULL) SWIG_fail;
b411df4a 4157 temp3 = true;
d55e5bfc
RD
4158 }
4159 }
4160 if (obj3) {
4161 {
4162 arg4 = &temp4;
4163 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4164 }
4165 }
4166 if (obj4) {
4167 {
4168 arg5 = &temp5;
4169 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4170 }
4171 }
4172 if (obj5) {
4173 {
4174 if (! PySequence_Check(obj5)) {
4175 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4176 SWIG_fail;
4177 }
4178 arg6 = new wxArrayString;
b411df4a 4179 temp6 = true;
d55e5bfc
RD
4180 int i, len=PySequence_Length(obj5);
4181 for (i=0; i<len; i++) {
4182 PyObject* item = PySequence_GetItem(obj5, i);
4183#if wxUSE_UNICODE
4184 PyObject* str = PyObject_Unicode(item);
4185#else
4186 PyObject* str = PyObject_Str(item);
4187#endif
4188 if (PyErr_Occurred()) SWIG_fail;
4189 arg6->Add(Py2wxString(str));
4190 Py_DECREF(item);
4191 Py_DECREF(str);
4192 }
4193 }
4194 }
4195 if (obj6) {
36ed4f51
RD
4196 {
4197 arg7 = (long)(SWIG_As_long(obj6));
4198 if (SWIG_arg_fail(7)) SWIG_fail;
4199 }
d55e5bfc
RD
4200 }
4201 if (obj7) {
36ed4f51
RD
4202 {
4203 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4204 if (SWIG_arg_fail(8)) SWIG_fail;
4205 if (arg8 == NULL) {
4206 SWIG_null_ref("wxValidator");
4207 }
4208 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4209 }
4210 }
4211 if (obj8) {
4212 {
4213 arg9 = wxString_in_helper(obj8);
4214 if (arg9 == NULL) SWIG_fail;
b411df4a 4215 temp9 = true;
d55e5bfc
RD
4216 }
4217 }
4218 {
0439c23b 4219 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 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);
4222
4223 wxPyEndAllowThreads(__tstate);
110da5b0 4224 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4225 }
4226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4227 {
4228 if (temp3)
4229 delete arg3;
4230 }
4231 {
4232 if (temp6) delete arg6;
4233 }
4234 {
4235 if (temp9)
4236 delete arg9;
4237 }
4238 return resultobj;
4239 fail:
4240 {
4241 if (temp3)
4242 delete arg3;
4243 }
4244 {
4245 if (temp6) delete arg6;
4246 }
4247 {
4248 if (temp9)
4249 delete arg9;
4250 }
4251 return NULL;
4252}
4253
4254
c370783e 4255static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4256 PyObject *resultobj;
4257 wxComboBox *result;
4258 char *kwnames[] = {
4259 NULL
4260 };
4261
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4263 {
0439c23b 4264 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 result = (wxComboBox *)new wxComboBox();
4267
4268 wxPyEndAllowThreads(__tstate);
110da5b0 4269 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4270 }
4271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4272 return resultobj;
4273 fail:
4274 return NULL;
4275}
4276
4277
c370783e 4278static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4279 PyObject *resultobj;
4280 wxComboBox *arg1 = (wxComboBox *) 0 ;
4281 wxWindow *arg2 = (wxWindow *) 0 ;
4282 int arg3 = (int) -1 ;
4283 wxString const &arg4_defvalue = wxPyEmptyString ;
4284 wxString *arg4 = (wxString *) &arg4_defvalue ;
4285 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4286 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4287 wxSize const &arg6_defvalue = wxDefaultSize ;
4288 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4289 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4290 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4291 long arg8 = (long) 0 ;
4292 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4293 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4294 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4295 wxString *arg10 = (wxString *) &arg10_defvalue ;
4296 bool result;
b411df4a 4297 bool temp4 = false ;
d55e5bfc
RD
4298 wxPoint temp5 ;
4299 wxSize temp6 ;
b411df4a
RD
4300 bool temp7 = false ;
4301 bool temp10 = false ;
d55e5bfc
RD
4302 PyObject * obj0 = 0 ;
4303 PyObject * obj1 = 0 ;
4304 PyObject * obj2 = 0 ;
4305 PyObject * obj3 = 0 ;
4306 PyObject * obj4 = 0 ;
4307 PyObject * obj5 = 0 ;
4308 PyObject * obj6 = 0 ;
4309 PyObject * obj7 = 0 ;
4310 PyObject * obj8 = 0 ;
4311 PyObject * obj9 = 0 ;
4312 char *kwnames[] = {
4313 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4314 };
4315
4316 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
4317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4318 if (SWIG_arg_fail(1)) SWIG_fail;
4319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4320 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 4321 if (obj2) {
36ed4f51
RD
4322 {
4323 arg3 = (int)(SWIG_As_int(obj2));
4324 if (SWIG_arg_fail(3)) SWIG_fail;
4325 }
d55e5bfc
RD
4326 }
4327 if (obj3) {
4328 {
4329 arg4 = wxString_in_helper(obj3);
4330 if (arg4 == NULL) SWIG_fail;
b411df4a 4331 temp4 = true;
d55e5bfc
RD
4332 }
4333 }
4334 if (obj4) {
4335 {
4336 arg5 = &temp5;
4337 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4338 }
4339 }
4340 if (obj5) {
4341 {
4342 arg6 = &temp6;
4343 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4344 }
4345 }
4346 if (obj6) {
4347 {
4348 if (! PySequence_Check(obj6)) {
4349 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4350 SWIG_fail;
4351 }
4352 arg7 = new wxArrayString;
b411df4a 4353 temp7 = true;
d55e5bfc
RD
4354 int i, len=PySequence_Length(obj6);
4355 for (i=0; i<len; i++) {
4356 PyObject* item = PySequence_GetItem(obj6, i);
4357#if wxUSE_UNICODE
4358 PyObject* str = PyObject_Unicode(item);
4359#else
4360 PyObject* str = PyObject_Str(item);
4361#endif
4362 if (PyErr_Occurred()) SWIG_fail;
4363 arg7->Add(Py2wxString(str));
4364 Py_DECREF(item);
4365 Py_DECREF(str);
4366 }
4367 }
4368 }
4369 if (obj7) {
36ed4f51
RD
4370 {
4371 arg8 = (long)(SWIG_As_long(obj7));
4372 if (SWIG_arg_fail(8)) SWIG_fail;
4373 }
d55e5bfc
RD
4374 }
4375 if (obj8) {
36ed4f51
RD
4376 {
4377 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4378 if (SWIG_arg_fail(9)) SWIG_fail;
4379 if (arg9 == NULL) {
4380 SWIG_null_ref("wxValidator");
4381 }
4382 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
4383 }
4384 }
4385 if (obj9) {
4386 {
4387 arg10 = wxString_in_helper(obj9);
4388 if (arg10 == NULL) SWIG_fail;
b411df4a 4389 temp10 = true;
d55e5bfc
RD
4390 }
4391 }
4392 {
4393 PyThreadState* __tstate = wxPyBeginAllowThreads();
4394 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);
4395
4396 wxPyEndAllowThreads(__tstate);
4397 if (PyErr_Occurred()) SWIG_fail;
4398 }
4399 {
4400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4401 }
4402 {
4403 if (temp4)
4404 delete arg4;
4405 }
4406 {
4407 if (temp7) delete arg7;
4408 }
4409 {
4410 if (temp10)
4411 delete arg10;
4412 }
4413 return resultobj;
4414 fail:
4415 {
4416 if (temp4)
4417 delete arg4;
4418 }
4419 {
4420 if (temp7) delete arg7;
4421 }
4422 {
4423 if (temp10)
4424 delete arg10;
4425 }
4426 return NULL;
4427}
4428
4429
c370783e 4430static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4431 PyObject *resultobj;
4432 wxComboBox *arg1 = (wxComboBox *) 0 ;
4433 wxString result;
4434 PyObject * obj0 = 0 ;
4435 char *kwnames[] = {
4436 (char *) "self", NULL
4437 };
4438
4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
4440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4441 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4442 {
4443 PyThreadState* __tstate = wxPyBeginAllowThreads();
4444 result = ((wxComboBox const *)arg1)->GetValue();
4445
4446 wxPyEndAllowThreads(__tstate);
4447 if (PyErr_Occurred()) SWIG_fail;
4448 }
4449 {
4450#if wxUSE_UNICODE
4451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4452#else
4453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4454#endif
4455 }
4456 return resultobj;
4457 fail:
4458 return NULL;
4459}
4460
4461
c370783e 4462static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4463 PyObject *resultobj;
4464 wxComboBox *arg1 = (wxComboBox *) 0 ;
4465 wxString *arg2 = 0 ;
b411df4a 4466 bool temp2 = false ;
d55e5bfc
RD
4467 PyObject * obj0 = 0 ;
4468 PyObject * obj1 = 0 ;
4469 char *kwnames[] = {
4470 (char *) "self",(char *) "value", NULL
4471 };
4472
4473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4475 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4476 {
4477 arg2 = wxString_in_helper(obj1);
4478 if (arg2 == NULL) SWIG_fail;
b411df4a 4479 temp2 = true;
d55e5bfc
RD
4480 }
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 (arg1)->SetValue((wxString const &)*arg2);
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 Py_INCREF(Py_None); resultobj = Py_None;
4489 {
4490 if (temp2)
4491 delete arg2;
4492 }
4493 return resultobj;
4494 fail:
4495 {
4496 if (temp2)
4497 delete arg2;
4498 }
4499 return NULL;
4500}
4501
4502
c370783e 4503static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4504 PyObject *resultobj;
4505 wxComboBox *arg1 = (wxComboBox *) 0 ;
4506 PyObject * obj0 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
36ed4f51
RD
4512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 (arg1)->Copy();
4517
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
4521 Py_INCREF(Py_None); resultobj = Py_None;
4522 return resultobj;
4523 fail:
4524 return NULL;
4525}
4526
4527
c370783e 4528static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4529 PyObject *resultobj;
4530 wxComboBox *arg1 = (wxComboBox *) 0 ;
4531 PyObject * obj0 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
36ed4f51
RD
4537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4538 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4539 {
4540 PyThreadState* __tstate = wxPyBeginAllowThreads();
4541 (arg1)->Cut();
4542
4543 wxPyEndAllowThreads(__tstate);
4544 if (PyErr_Occurred()) SWIG_fail;
4545 }
4546 Py_INCREF(Py_None); resultobj = Py_None;
4547 return resultobj;
4548 fail:
4549 return NULL;
4550}
4551
4552
c370783e 4553static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4554 PyObject *resultobj;
4555 wxComboBox *arg1 = (wxComboBox *) 0 ;
4556 PyObject * obj0 = 0 ;
4557 char *kwnames[] = {
4558 (char *) "self", NULL
4559 };
4560
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
36ed4f51
RD
4562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4563 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 (arg1)->Paste();
4567
4568 wxPyEndAllowThreads(__tstate);
4569 if (PyErr_Occurred()) SWIG_fail;
4570 }
4571 Py_INCREF(Py_None); resultobj = Py_None;
4572 return resultobj;
4573 fail:
4574 return NULL;
4575}
4576
4577
c370783e 4578static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4579 PyObject *resultobj;
4580 wxComboBox *arg1 = (wxComboBox *) 0 ;
4581 long arg2 ;
4582 PyObject * obj0 = 0 ;
4583 PyObject * obj1 = 0 ;
4584 char *kwnames[] = {
4585 (char *) "self",(char *) "pos", NULL
4586 };
4587
4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail;
4591 {
4592 arg2 = (long)(SWIG_As_long(obj1));
4593 if (SWIG_arg_fail(2)) SWIG_fail;
4594 }
d55e5bfc
RD
4595 {
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 (arg1)->SetInsertionPoint(arg2);
4598
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 Py_INCREF(Py_None); resultobj = Py_None;
4603 return resultobj;
4604 fail:
4605 return NULL;
4606}
4607
4608
c370783e 4609static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4610 PyObject *resultobj;
4611 wxComboBox *arg1 = (wxComboBox *) 0 ;
4612 long result;
4613 PyObject * obj0 = 0 ;
4614 char *kwnames[] = {
4615 (char *) "self", NULL
4616 };
4617
4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
4619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4620 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4624
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
36ed4f51
RD
4628 {
4629 resultobj = SWIG_From_long((long)(result));
4630 }
d55e5bfc
RD
4631 return resultobj;
4632 fail:
4633 return NULL;
4634}
4635
4636
c370783e 4637static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4638 PyObject *resultobj;
4639 wxComboBox *arg1 = (wxComboBox *) 0 ;
4640 long result;
4641 PyObject * obj0 = 0 ;
4642 char *kwnames[] = {
4643 (char *) "self", NULL
4644 };
4645
4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
4647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4652
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
36ed4f51
RD
4656 {
4657 resultobj = SWIG_From_long((long)(result));
4658 }
d55e5bfc
RD
4659 return resultobj;
4660 fail:
4661 return NULL;
4662}
4663
4664
c370783e 4665static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4666 PyObject *resultobj;
4667 wxComboBox *arg1 = (wxComboBox *) 0 ;
4668 long arg2 ;
4669 long arg3 ;
4670 wxString *arg4 = 0 ;
b411df4a 4671 bool temp4 = false ;
d55e5bfc
RD
4672 PyObject * obj0 = 0 ;
4673 PyObject * obj1 = 0 ;
4674 PyObject * obj2 = 0 ;
4675 PyObject * obj3 = 0 ;
4676 char *kwnames[] = {
4677 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4678 };
4679
4680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
4681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4682 if (SWIG_arg_fail(1)) SWIG_fail;
4683 {
4684 arg2 = (long)(SWIG_As_long(obj1));
4685 if (SWIG_arg_fail(2)) SWIG_fail;
4686 }
4687 {
4688 arg3 = (long)(SWIG_As_long(obj2));
4689 if (SWIG_arg_fail(3)) SWIG_fail;
4690 }
d55e5bfc
RD
4691 {
4692 arg4 = wxString_in_helper(obj3);
4693 if (arg4 == NULL) SWIG_fail;
b411df4a 4694 temp4 = true;
d55e5bfc
RD
4695 }
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 Py_INCREF(Py_None); resultobj = Py_None;
4704 {
4705 if (temp4)
4706 delete arg4;
4707 }
4708 return resultobj;
4709 fail:
4710 {
4711 if (temp4)
4712 delete arg4;
4713 }
4714 return NULL;
4715}
4716
4717
c370783e 4718static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4719 PyObject *resultobj;
4720 wxComboBox *arg1 = (wxComboBox *) 0 ;
4721 int arg2 ;
4722 PyObject * obj0 = 0 ;
4723 PyObject * obj1 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self",(char *) "n", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail;
4731 {
4732 arg2 = (int)(SWIG_As_int(obj1));
4733 if (SWIG_arg_fail(2)) SWIG_fail;
4734 }
d55e5bfc
RD
4735 {
4736 PyThreadState* __tstate = wxPyBeginAllowThreads();
4737 (arg1)->SetSelection(arg2);
4738
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 Py_INCREF(Py_None); resultobj = Py_None;
4743 return resultobj;
4744 fail:
4745 return NULL;
4746}
4747
4748
c370783e 4749static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4750 PyObject *resultobj;
4751 wxComboBox *arg1 = (wxComboBox *) 0 ;
4752 long arg2 ;
4753 long arg3 ;
4754 PyObject * obj0 = 0 ;
4755 PyObject * obj1 = 0 ;
4756 PyObject * obj2 = 0 ;
4757 char *kwnames[] = {
4758 (char *) "self",(char *) "from",(char *) "to", NULL
4759 };
4760
4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4763 if (SWIG_arg_fail(1)) SWIG_fail;
4764 {
4765 arg2 = (long)(SWIG_As_long(obj1));
4766 if (SWIG_arg_fail(2)) SWIG_fail;
4767 }
4768 {
4769 arg3 = (long)(SWIG_As_long(obj2));
4770 if (SWIG_arg_fail(3)) SWIG_fail;
4771 }
d55e5bfc
RD
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 (arg1)->SetSelection(arg2,arg3);
4775
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 Py_INCREF(Py_None); resultobj = Py_None;
4780 return resultobj;
4781 fail:
4782 return NULL;
4783}
4784
4785
c370783e 4786static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4787 PyObject *resultobj;
4788 wxComboBox *arg1 = (wxComboBox *) 0 ;
4789 wxString *arg2 = 0 ;
4790 bool result;
b411df4a 4791 bool temp2 = false ;
121b9a67
RD
4792 PyObject * obj0 = 0 ;
4793 PyObject * obj1 = 0 ;
4794 char *kwnames[] = {
4795 (char *) "self",(char *) "string", NULL
4796 };
4797
4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4800 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
4801 {
4802 arg2 = wxString_in_helper(obj1);
4803 if (arg2 == NULL) SWIG_fail;
b411df4a 4804 temp2 = true;
121b9a67
RD
4805 }
4806 {
4807 PyThreadState* __tstate = wxPyBeginAllowThreads();
4808 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4809
4810 wxPyEndAllowThreads(__tstate);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 {
4814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4815 }
4816 {
4817 if (temp2)
4818 delete arg2;
4819 }
4820 return resultobj;
4821 fail:
4822 {
4823 if (temp2)
4824 delete arg2;
4825 }
4826 return NULL;
4827}
4828
4829
c370783e 4830static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4831 PyObject *resultobj;
4832 wxComboBox *arg1 = (wxComboBox *) 0 ;
4833 int arg2 ;
4834 wxString *arg3 = 0 ;
b411df4a 4835 bool temp3 = false ;
121b9a67
RD
4836 PyObject * obj0 = 0 ;
4837 PyObject * obj1 = 0 ;
4838 PyObject * obj2 = 0 ;
4839 char *kwnames[] = {
4840 (char *) "self",(char *) "n",(char *) "string", NULL
4841 };
4842
4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4845 if (SWIG_arg_fail(1)) SWIG_fail;
4846 {
4847 arg2 = (int)(SWIG_As_int(obj1));
4848 if (SWIG_arg_fail(2)) SWIG_fail;
4849 }
121b9a67
RD
4850 {
4851 arg3 = wxString_in_helper(obj2);
4852 if (arg3 == NULL) SWIG_fail;
b411df4a 4853 temp3 = true;
121b9a67
RD
4854 }
4855 {
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 (arg1)->SetString(arg2,(wxString const &)*arg3);
4858
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4862 Py_INCREF(Py_None); resultobj = Py_None;
4863 {
4864 if (temp3)
4865 delete arg3;
4866 }
4867 return resultobj;
4868 fail:
4869 {
4870 if (temp3)
4871 delete arg3;
4872 }
4873 return NULL;
4874}
4875
4876
c370783e 4877static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4878 PyObject *resultobj;
4879 wxComboBox *arg1 = (wxComboBox *) 0 ;
4880 bool arg2 ;
4881 PyObject * obj0 = 0 ;
4882 PyObject * obj1 = 0 ;
4883 char *kwnames[] = {
4884 (char *) "self",(char *) "editable", NULL
4885 };
4886
4887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4889 if (SWIG_arg_fail(1)) SWIG_fail;
4890 {
4891 arg2 = (bool)(SWIG_As_bool(obj1));
4892 if (SWIG_arg_fail(2)) SWIG_fail;
4893 }
d55e5bfc
RD
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 (arg1)->SetEditable(arg2);
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 Py_INCREF(Py_None); resultobj = Py_None;
4902 return resultobj;
4903 fail:
4904 return NULL;
4905}
4906
4907
c370783e 4908static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4909 PyObject *resultobj;
4910 wxComboBox *arg1 = (wxComboBox *) 0 ;
4911 PyObject * obj0 = 0 ;
4912 char *kwnames[] = {
4913 (char *) "self", NULL
4914 };
4915
4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
4917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4918 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 (arg1)->SetInsertionPointEnd();
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 Py_INCREF(Py_None); resultobj = Py_None;
4927 return resultobj;
4928 fail:
4929 return NULL;
4930}
4931
4932
c370783e 4933static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4934 PyObject *resultobj;
4935 wxComboBox *arg1 = (wxComboBox *) 0 ;
4936 long arg2 ;
4937 long arg3 ;
4938 PyObject * obj0 = 0 ;
4939 PyObject * obj1 = 0 ;
4940 PyObject * obj2 = 0 ;
4941 char *kwnames[] = {
4942 (char *) "self",(char *) "from",(char *) "to", NULL
4943 };
4944
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4947 if (SWIG_arg_fail(1)) SWIG_fail;
4948 {
4949 arg2 = (long)(SWIG_As_long(obj1));
4950 if (SWIG_arg_fail(2)) SWIG_fail;
4951 }
4952 {
4953 arg3 = (long)(SWIG_As_long(obj2));
4954 if (SWIG_arg_fail(3)) SWIG_fail;
4955 }
d55e5bfc
RD
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 (arg1)->Remove(arg2,arg3);
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 Py_INCREF(Py_None); resultobj = Py_None;
4964 return resultobj;
4965 fail:
4966 return NULL;
4967}
4968
4969
5cbf236d
RD
4970static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj;
4972 wxComboBox *arg1 = (wxComboBox *) 0 ;
4973 bool result;
4974 PyObject * obj0 = 0 ;
4975 char *kwnames[] = {
4976 (char *) "self", NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
36ed4f51
RD
4980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4981 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
4982 {
4983 PyThreadState* __tstate = wxPyBeginAllowThreads();
4984 result = (bool)((wxComboBox const *)arg1)->IsEditable();
4985
4986 wxPyEndAllowThreads(__tstate);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 }
4989 {
4990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4991 }
4992 return resultobj;
4993 fail:
4994 return NULL;
4995}
4996
4997
4998static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
4999 PyObject *resultobj;
5000 wxComboBox *arg1 = (wxComboBox *) 0 ;
5001 PyObject * obj0 = 0 ;
5002 char *kwnames[] = {
5003 (char *) "self", NULL
5004 };
5005
5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5008 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 (arg1)->Undo();
5012
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 Py_INCREF(Py_None); resultobj = Py_None;
5017 return resultobj;
5018 fail:
5019 return NULL;
5020}
5021
5022
5023static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxComboBox *arg1 = (wxComboBox *) 0 ;
5026 PyObject * obj0 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5033 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 (arg1)->Redo();
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 Py_INCREF(Py_None); resultobj = Py_None;
5042 return resultobj;
5043 fail:
5044 return NULL;
5045}
5046
5047
5048static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5049 PyObject *resultobj;
5050 wxComboBox *arg1 = (wxComboBox *) 0 ;
5051 PyObject * obj0 = 0 ;
5052 char *kwnames[] = {
5053 (char *) "self", NULL
5054 };
5055
5056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
5057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5058 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 (arg1)->SelectAll();
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 }
5066 Py_INCREF(Py_None); resultobj = Py_None;
5067 return resultobj;
5068 fail:
5069 return NULL;
5070}
5071
5072
5073static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5074 PyObject *resultobj;
5075 wxComboBox *arg1 = (wxComboBox *) 0 ;
5076 bool result;
5077 PyObject * obj0 = 0 ;
5078 char *kwnames[] = {
5079 (char *) "self", NULL
5080 };
5081
5082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
36ed4f51
RD
5083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5084 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5085 {
5086 PyThreadState* __tstate = wxPyBeginAllowThreads();
5087 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5088
5089 wxPyEndAllowThreads(__tstate);
5090 if (PyErr_Occurred()) SWIG_fail;
5091 }
5092 {
5093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5094 }
5095 return resultobj;
5096 fail:
5097 return NULL;
5098}
5099
5100
5101static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5102 PyObject *resultobj;
5103 wxComboBox *arg1 = (wxComboBox *) 0 ;
5104 bool result;
5105 PyObject * obj0 = 0 ;
5106 char *kwnames[] = {
5107 (char *) "self", NULL
5108 };
5109
5110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
36ed4f51
RD
5111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5112 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 result = (bool)((wxComboBox const *)arg1)->CanCut();
5116
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 {
5121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5122 }
5123 return resultobj;
5124 fail:
5125 return NULL;
5126}
5127
5128
5129static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5130 PyObject *resultobj;
5131 wxComboBox *arg1 = (wxComboBox *) 0 ;
5132 bool result;
5133 PyObject * obj0 = 0 ;
5134 char *kwnames[] = {
5135 (char *) "self", NULL
5136 };
5137
5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
36ed4f51
RD
5139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5140 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5141 {
5142 PyThreadState* __tstate = wxPyBeginAllowThreads();
5143 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5144
5145 wxPyEndAllowThreads(__tstate);
5146 if (PyErr_Occurred()) SWIG_fail;
5147 }
5148 {
5149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5150 }
5151 return resultobj;
5152 fail:
5153 return NULL;
5154}
5155
5156
5157static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 wxComboBox *arg1 = (wxComboBox *) 0 ;
5160 bool result;
5161 PyObject * obj0 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 {
5177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5178 }
5179 return resultobj;
5180 fail:
5181 return NULL;
5182}
5183
5184
5185static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj;
5187 wxComboBox *arg1 = (wxComboBox *) 0 ;
5188 bool result;
5189 PyObject * obj0 = 0 ;
5190 char *kwnames[] = {
5191 (char *) "self", NULL
5192 };
5193
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5196 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5200
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 {
5205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5206 }
5207 return resultobj;
5208 fail:
5209 return NULL;
5210}
5211
5212
c370783e 5213static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5214 PyObject *resultobj;
36ed4f51 5215 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5216 wxVisualAttributes result;
5217 PyObject * obj0 = 0 ;
5218 char *kwnames[] = {
5219 (char *) "variant", NULL
5220 };
5221
5222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5223 if (obj0) {
36ed4f51
RD
5224 {
5225 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5226 if (SWIG_arg_fail(1)) SWIG_fail;
5227 }
f20a2e1f
RD
5228 }
5229 {
0439c23b 5230 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5233
5234 wxPyEndAllowThreads(__tstate);
110da5b0 5235 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5236 }
5237 {
5238 wxVisualAttributes * resultptr;
36ed4f51 5239 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5241 }
5242 return resultobj;
5243 fail:
5244 return NULL;
5245}
5246
5247
c370783e 5248static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5249 PyObject *obj;
5250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5251 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5252 Py_INCREF(obj);
5253 return Py_BuildValue((char *)"");
5254}
c370783e 5255static int _wrap_GaugeNameStr_set(PyObject *) {
d55e5bfc
RD
5256 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5257 return 1;
5258}
5259
5260
36ed4f51 5261static PyObject *_wrap_GaugeNameStr_get(void) {
d55e5bfc
RD
5262 PyObject *pyobj;
5263
5264 {
5265#if wxUSE_UNICODE
5266 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5267#else
5268 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5269#endif
5270 }
5271 return pyobj;
5272}
5273
5274
c370783e 5275static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5276 PyObject *resultobj;
5277 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5278 int arg2 = (int) -1 ;
5279 int arg3 = (int) 100 ;
d55e5bfc
RD
5280 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5281 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5282 wxSize const &arg5_defvalue = wxDefaultSize ;
5283 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5284 long arg6 = (long) wxGA_HORIZONTAL ;
5285 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5286 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5287 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5288 wxString *arg8 = (wxString *) &arg8_defvalue ;
5289 wxGauge *result;
5290 wxPoint temp4 ;
5291 wxSize temp5 ;
b411df4a 5292 bool temp8 = false ;
d55e5bfc
RD
5293 PyObject * obj0 = 0 ;
5294 PyObject * obj1 = 0 ;
5295 PyObject * obj2 = 0 ;
5296 PyObject * obj3 = 0 ;
5297 PyObject * obj4 = 0 ;
5298 PyObject * obj5 = 0 ;
5299 PyObject * obj6 = 0 ;
5300 PyObject * obj7 = 0 ;
5301 char *kwnames[] = {
5302 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5303 };
5304
bfddbb17 5305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
5306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5307 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 5308 if (obj1) {
36ed4f51
RD
5309 {
5310 arg2 = (int)(SWIG_As_int(obj1));
5311 if (SWIG_arg_fail(2)) SWIG_fail;
5312 }
bfddbb17
RD
5313 }
5314 if (obj2) {
36ed4f51
RD
5315 {
5316 arg3 = (int)(SWIG_As_int(obj2));
5317 if (SWIG_arg_fail(3)) SWIG_fail;
5318 }
bfddbb17 5319 }
d55e5bfc
RD
5320 if (obj3) {
5321 {
5322 arg4 = &temp4;
5323 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5324 }
5325 }
5326 if (obj4) {
5327 {
5328 arg5 = &temp5;
5329 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5330 }
5331 }
5332 if (obj5) {
36ed4f51
RD
5333 {
5334 arg6 = (long)(SWIG_As_long(obj5));
5335 if (SWIG_arg_fail(6)) SWIG_fail;
5336 }
d55e5bfc
RD
5337 }
5338 if (obj6) {
36ed4f51
RD
5339 {
5340 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5341 if (SWIG_arg_fail(7)) SWIG_fail;
5342 if (arg7 == NULL) {
5343 SWIG_null_ref("wxValidator");
5344 }
5345 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
5346 }
5347 }
5348 if (obj7) {
5349 {
5350 arg8 = wxString_in_helper(obj7);
5351 if (arg8 == NULL) SWIG_fail;
b411df4a 5352 temp8 = true;
d55e5bfc
RD
5353 }
5354 }
5355 {
0439c23b 5356 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5357 PyThreadState* __tstate = wxPyBeginAllowThreads();
5358 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5359
5360 wxPyEndAllowThreads(__tstate);
110da5b0 5361 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5362 }
5363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5364 {
5365 if (temp8)
5366 delete arg8;
5367 }
5368 return resultobj;
5369 fail:
5370 {
5371 if (temp8)
5372 delete arg8;
5373 }
5374 return NULL;
5375}
5376
5377
c370783e 5378static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5379 PyObject *resultobj;
5380 wxGauge *result;
5381 char *kwnames[] = {
5382 NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5386 {
0439c23b 5387 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (wxGauge *)new wxGauge();
5390
5391 wxPyEndAllowThreads(__tstate);
110da5b0 5392 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5393 }
5394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5395 return resultobj;
5396 fail:
5397 return NULL;
5398}
5399
5400
c370783e 5401static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5402 PyObject *resultobj;
5403 wxGauge *arg1 = (wxGauge *) 0 ;
5404 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5405 int arg3 = (int) -1 ;
5406 int arg4 = (int) 100 ;
d55e5bfc
RD
5407 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5408 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5409 wxSize const &arg6_defvalue = wxDefaultSize ;
5410 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5411 long arg7 = (long) wxGA_HORIZONTAL ;
5412 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5413 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5414 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5415 wxString *arg9 = (wxString *) &arg9_defvalue ;
5416 bool result;
5417 wxPoint temp5 ;
5418 wxSize temp6 ;
b411df4a 5419 bool temp9 = false ;
d55e5bfc
RD
5420 PyObject * obj0 = 0 ;
5421 PyObject * obj1 = 0 ;
5422 PyObject * obj2 = 0 ;
5423 PyObject * obj3 = 0 ;
5424 PyObject * obj4 = 0 ;
5425 PyObject * obj5 = 0 ;
5426 PyObject * obj6 = 0 ;
5427 PyObject * obj7 = 0 ;
5428 PyObject * obj8 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5431 };
5432
bfddbb17 5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
5434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5435 if (SWIG_arg_fail(1)) SWIG_fail;
5436 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5437 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 5438 if (obj2) {
36ed4f51
RD
5439 {
5440 arg3 = (int)(SWIG_As_int(obj2));
5441 if (SWIG_arg_fail(3)) SWIG_fail;
5442 }
bfddbb17
RD
5443 }
5444 if (obj3) {
36ed4f51
RD
5445 {
5446 arg4 = (int)(SWIG_As_int(obj3));
5447 if (SWIG_arg_fail(4)) SWIG_fail;
5448 }
bfddbb17 5449 }
d55e5bfc
RD
5450 if (obj4) {
5451 {
5452 arg5 = &temp5;
5453 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5454 }
5455 }
5456 if (obj5) {
5457 {
5458 arg6 = &temp6;
5459 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5460 }
5461 }
5462 if (obj6) {
36ed4f51
RD
5463 {
5464 arg7 = (long)(SWIG_As_long(obj6));
5465 if (SWIG_arg_fail(7)) SWIG_fail;
5466 }
d55e5bfc
RD
5467 }
5468 if (obj7) {
36ed4f51
RD
5469 {
5470 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5471 if (SWIG_arg_fail(8)) SWIG_fail;
5472 if (arg8 == NULL) {
5473 SWIG_null_ref("wxValidator");
5474 }
5475 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
5476 }
5477 }
5478 if (obj8) {
5479 {
5480 arg9 = wxString_in_helper(obj8);
5481 if (arg9 == NULL) SWIG_fail;
b411df4a 5482 temp9 = true;
d55e5bfc
RD
5483 }
5484 }
5485 {
5486 PyThreadState* __tstate = wxPyBeginAllowThreads();
5487 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5488
5489 wxPyEndAllowThreads(__tstate);
5490 if (PyErr_Occurred()) SWIG_fail;
5491 }
5492 {
5493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5494 }
5495 {
5496 if (temp9)
5497 delete arg9;
5498 }
5499 return resultobj;
5500 fail:
5501 {
5502 if (temp9)
5503 delete arg9;
5504 }
5505 return NULL;
5506}
5507
5508
c370783e 5509static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5510 PyObject *resultobj;
5511 wxGauge *arg1 = (wxGauge *) 0 ;
5512 int arg2 ;
5513 PyObject * obj0 = 0 ;
5514 PyObject * obj1 = 0 ;
5515 char *kwnames[] = {
5516 (char *) "self",(char *) "range", NULL
5517 };
5518
5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5521 if (SWIG_arg_fail(1)) SWIG_fail;
5522 {
5523 arg2 = (int)(SWIG_As_int(obj1));
5524 if (SWIG_arg_fail(2)) SWIG_fail;
5525 }
d55e5bfc
RD
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 (arg1)->SetRange(arg2);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 Py_INCREF(Py_None); resultobj = Py_None;
5534 return resultobj;
5535 fail:
5536 return NULL;
5537}
5538
5539
c370783e 5540static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5541 PyObject *resultobj;
5542 wxGauge *arg1 = (wxGauge *) 0 ;
5543 int result;
5544 PyObject * obj0 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
36ed4f51
RD
5550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5551 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5552 {
5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
5554 result = (int)((wxGauge const *)arg1)->GetRange();
5555
5556 wxPyEndAllowThreads(__tstate);
5557 if (PyErr_Occurred()) SWIG_fail;
5558 }
36ed4f51
RD
5559 {
5560 resultobj = SWIG_From_int((int)(result));
5561 }
d55e5bfc
RD
5562 return resultobj;
5563 fail:
5564 return NULL;
5565}
5566
5567
c370783e 5568static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5569 PyObject *resultobj;
5570 wxGauge *arg1 = (wxGauge *) 0 ;
5571 int arg2 ;
5572 PyObject * obj0 = 0 ;
5573 PyObject * obj1 = 0 ;
5574 char *kwnames[] = {
5575 (char *) "self",(char *) "pos", NULL
5576 };
5577
5578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5580 if (SWIG_arg_fail(1)) SWIG_fail;
5581 {
5582 arg2 = (int)(SWIG_As_int(obj1));
5583 if (SWIG_arg_fail(2)) SWIG_fail;
5584 }
d55e5bfc
RD
5585 {
5586 PyThreadState* __tstate = wxPyBeginAllowThreads();
5587 (arg1)->SetValue(arg2);
5588
5589 wxPyEndAllowThreads(__tstate);
5590 if (PyErr_Occurred()) SWIG_fail;
5591 }
5592 Py_INCREF(Py_None); resultobj = Py_None;
5593 return resultobj;
5594 fail:
5595 return NULL;
5596}
5597
5598
c370783e 5599static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5600 PyObject *resultobj;
5601 wxGauge *arg1 = (wxGauge *) 0 ;
5602 int result;
5603 PyObject * obj0 = 0 ;
5604 char *kwnames[] = {
5605 (char *) "self", NULL
5606 };
5607
5608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
5609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5610 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 result = (int)((wxGauge const *)arg1)->GetValue();
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
36ed4f51
RD
5618 {
5619 resultobj = SWIG_From_int((int)(result));
5620 }
d55e5bfc
RD
5621 return resultobj;
5622 fail:
5623 return NULL;
5624}
5625
5626
c370783e 5627static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5628 PyObject *resultobj;
5629 wxGauge *arg1 = (wxGauge *) 0 ;
5630 bool result;
5631 PyObject * obj0 = 0 ;
5632 char *kwnames[] = {
5633 (char *) "self", NULL
5634 };
5635
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
5637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5638 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 result = (bool)((wxGauge const *)arg1)->IsVertical();
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 {
5647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5648 }
5649 return resultobj;
5650 fail:
5651 return NULL;
5652}
5653
5654
c370783e 5655static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5656 PyObject *resultobj;
5657 wxGauge *arg1 = (wxGauge *) 0 ;
5658 int arg2 ;
5659 PyObject * obj0 = 0 ;
5660 PyObject * obj1 = 0 ;
5661 char *kwnames[] = {
5662 (char *) "self",(char *) "w", NULL
5663 };
5664
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5667 if (SWIG_arg_fail(1)) SWIG_fail;
5668 {
5669 arg2 = (int)(SWIG_As_int(obj1));
5670 if (SWIG_arg_fail(2)) SWIG_fail;
5671 }
d55e5bfc
RD
5672 {
5673 PyThreadState* __tstate = wxPyBeginAllowThreads();
5674 (arg1)->SetShadowWidth(arg2);
5675
5676 wxPyEndAllowThreads(__tstate);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 }
5679 Py_INCREF(Py_None); resultobj = Py_None;
5680 return resultobj;
5681 fail:
5682 return NULL;
5683}
5684
5685
c370783e 5686static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5687 PyObject *resultobj;
5688 wxGauge *arg1 = (wxGauge *) 0 ;
5689 int result;
5690 PyObject * obj0 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
5696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5697 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5701
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
36ed4f51
RD
5705 {
5706 resultobj = SWIG_From_int((int)(result));
5707 }
d55e5bfc
RD
5708 return resultobj;
5709 fail:
5710 return NULL;
5711}
5712
5713
c370783e 5714static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5715 PyObject *resultobj;
5716 wxGauge *arg1 = (wxGauge *) 0 ;
5717 int arg2 ;
5718 PyObject * obj0 = 0 ;
5719 PyObject * obj1 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "self",(char *) "w", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5726 if (SWIG_arg_fail(1)) SWIG_fail;
5727 {
5728 arg2 = (int)(SWIG_As_int(obj1));
5729 if (SWIG_arg_fail(2)) SWIG_fail;
5730 }
d55e5bfc
RD
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 (arg1)->SetBezelFace(arg2);
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 Py_INCREF(Py_None); resultobj = Py_None;
5739 return resultobj;
5740 fail:
5741 return NULL;
5742}
5743
5744
c370783e 5745static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5746 PyObject *resultobj;
5747 wxGauge *arg1 = (wxGauge *) 0 ;
5748 int result;
5749 PyObject * obj0 = 0 ;
5750 char *kwnames[] = {
5751 (char *) "self", NULL
5752 };
5753
5754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
36ed4f51
RD
5755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
36ed4f51
RD
5764 {
5765 resultobj = SWIG_From_int((int)(result));
5766 }
d55e5bfc
RD
5767 return resultobj;
5768 fail:
5769 return NULL;
5770}
5771
5772
c370783e 5773static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5774 PyObject *resultobj;
36ed4f51 5775 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5776 wxVisualAttributes result;
5777 PyObject * obj0 = 0 ;
5778 char *kwnames[] = {
5779 (char *) "variant", NULL
5780 };
5781
5782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5783 if (obj0) {
36ed4f51
RD
5784 {
5785 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5786 if (SWIG_arg_fail(1)) SWIG_fail;
5787 }
f20a2e1f
RD
5788 }
5789 {
0439c23b 5790 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5793
5794 wxPyEndAllowThreads(__tstate);
110da5b0 5795 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5796 }
5797 {
5798 wxVisualAttributes * resultptr;
36ed4f51 5799 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5801 }
5802 return resultobj;
5803 fail:
5804 return NULL;
5805}
5806
5807
c370783e 5808static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5809 PyObject *obj;
5810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5811 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5812 Py_INCREF(obj);
5813 return Py_BuildValue((char *)"");
5814}
c370783e 5815static int _wrap_StaticBitmapNameStr_set(PyObject *) {
d55e5bfc
RD
5816 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5817 return 1;
5818}
5819
5820
36ed4f51 5821static PyObject *_wrap_StaticBitmapNameStr_get(void) {
d55e5bfc
RD
5822 PyObject *pyobj;
5823
5824 {
5825#if wxUSE_UNICODE
5826 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5827#else
5828 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5829#endif
5830 }
5831 return pyobj;
5832}
5833
5834
c370783e 5835static int _wrap_StaticBoxNameStr_set(PyObject *) {
d55e5bfc
RD
5836 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5837 return 1;
5838}
5839
5840
36ed4f51 5841static PyObject *_wrap_StaticBoxNameStr_get(void) {
d55e5bfc
RD
5842 PyObject *pyobj;
5843
5844 {
5845#if wxUSE_UNICODE
5846 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5847#else
5848 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5849#endif
5850 }
5851 return pyobj;
5852}
5853
5854
c370783e 5855static int _wrap_StaticTextNameStr_set(PyObject *) {
d55e5bfc
RD
5856 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5857 return 1;
5858}
5859
5860
36ed4f51 5861static PyObject *_wrap_StaticTextNameStr_get(void) {
d55e5bfc
RD
5862 PyObject *pyobj;
5863
5864 {
5865#if wxUSE_UNICODE
5866 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5867#else
5868 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5869#endif
5870 }
5871 return pyobj;
5872}
5873
5874
c370783e 5875static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5876 PyObject *resultobj;
5877 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5878 int arg2 = (int) -1 ;
5879 wxString const &arg3_defvalue = wxPyEmptyString ;
5880 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5881 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5882 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5883 wxSize const &arg5_defvalue = wxDefaultSize ;
5884 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5885 long arg6 = (long) 0 ;
5886 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5887 wxString *arg7 = (wxString *) &arg7_defvalue ;
5888 wxStaticBox *result;
b411df4a 5889 bool temp3 = false ;
d55e5bfc
RD
5890 wxPoint temp4 ;
5891 wxSize temp5 ;
b411df4a 5892 bool temp7 = false ;
d55e5bfc
RD
5893 PyObject * obj0 = 0 ;
5894 PyObject * obj1 = 0 ;
5895 PyObject * obj2 = 0 ;
5896 PyObject * obj3 = 0 ;
5897 PyObject * obj4 = 0 ;
5898 PyObject * obj5 = 0 ;
5899 PyObject * obj6 = 0 ;
5900 char *kwnames[] = {
5901 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5902 };
5903
bfddbb17 5904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
5905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5906 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 5907 if (obj1) {
36ed4f51
RD
5908 {
5909 arg2 = (int)(SWIG_As_int(obj1));
5910 if (SWIG_arg_fail(2)) SWIG_fail;
5911 }
bfddbb17
RD
5912 }
5913 if (obj2) {
5914 {
5915 arg3 = wxString_in_helper(obj2);
5916 if (arg3 == NULL) SWIG_fail;
b411df4a 5917 temp3 = true;
bfddbb17 5918 }
d55e5bfc
RD
5919 }
5920 if (obj3) {
5921 {
5922 arg4 = &temp4;
5923 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5924 }
5925 }
5926 if (obj4) {
5927 {
5928 arg5 = &temp5;
5929 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5930 }
5931 }
5932 if (obj5) {
36ed4f51
RD
5933 {
5934 arg6 = (long)(SWIG_As_long(obj5));
5935 if (SWIG_arg_fail(6)) SWIG_fail;
5936 }
d55e5bfc
RD
5937 }
5938 if (obj6) {
5939 {
5940 arg7 = wxString_in_helper(obj6);
5941 if (arg7 == NULL) SWIG_fail;
b411df4a 5942 temp7 = true;
d55e5bfc
RD
5943 }
5944 }
5945 {
0439c23b 5946 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5947 PyThreadState* __tstate = wxPyBeginAllowThreads();
5948 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5949
5950 wxPyEndAllowThreads(__tstate);
110da5b0 5951 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5952 }
b0f7404b 5953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
5954 {
5955 if (temp3)
5956 delete arg3;
5957 }
5958 {
5959 if (temp7)
5960 delete arg7;
5961 }
5962 return resultobj;
5963 fail:
5964 {
5965 if (temp3)
5966 delete arg3;
5967 }
5968 {
5969 if (temp7)
5970 delete arg7;
5971 }
5972 return NULL;
5973}
5974
5975
c370783e 5976static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5977 PyObject *resultobj;
5978 wxStaticBox *result;
5979 char *kwnames[] = {
5980 NULL
5981 };
5982
5983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
5984 {
0439c23b 5985 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5986 PyThreadState* __tstate = wxPyBeginAllowThreads();
5987 result = (wxStaticBox *)new wxStaticBox();
5988
5989 wxPyEndAllowThreads(__tstate);
110da5b0 5990 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5991 }
b0f7404b 5992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
5993 return resultobj;
5994 fail:
5995 return NULL;
5996}
5997
5998
c370783e 5999static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6000 PyObject *resultobj;
6001 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6002 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6003 int arg3 = (int) -1 ;
6004 wxString const &arg4_defvalue = wxPyEmptyString ;
6005 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6006 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6007 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6008 wxSize const &arg6_defvalue = wxDefaultSize ;
6009 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6010 long arg7 = (long) 0 ;
6011 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6012 wxString *arg8 = (wxString *) &arg8_defvalue ;
6013 bool result;
b411df4a 6014 bool temp4 = false ;
d55e5bfc
RD
6015 wxPoint temp5 ;
6016 wxSize temp6 ;
b411df4a 6017 bool temp8 = false ;
d55e5bfc
RD
6018 PyObject * obj0 = 0 ;
6019 PyObject * obj1 = 0 ;
6020 PyObject * obj2 = 0 ;
6021 PyObject * obj3 = 0 ;
6022 PyObject * obj4 = 0 ;
6023 PyObject * obj5 = 0 ;
6024 PyObject * obj6 = 0 ;
6025 PyObject * obj7 = 0 ;
6026 char *kwnames[] = {
6027 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6028 };
6029
bfddbb17 6030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6032 if (SWIG_arg_fail(1)) SWIG_fail;
6033 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6034 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6035 if (obj2) {
36ed4f51
RD
6036 {
6037 arg3 = (int)(SWIG_As_int(obj2));
6038 if (SWIG_arg_fail(3)) SWIG_fail;
6039 }
bfddbb17
RD
6040 }
6041 if (obj3) {
6042 {
6043 arg4 = wxString_in_helper(obj3);
6044 if (arg4 == NULL) SWIG_fail;
b411df4a 6045 temp4 = true;
bfddbb17 6046 }
d55e5bfc
RD
6047 }
6048 if (obj4) {
6049 {
6050 arg5 = &temp5;
6051 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6052 }
6053 }
6054 if (obj5) {
6055 {
6056 arg6 = &temp6;
6057 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6058 }
6059 }
6060 if (obj6) {
36ed4f51
RD
6061 {
6062 arg7 = (long)(SWIG_As_long(obj6));
6063 if (SWIG_arg_fail(7)) SWIG_fail;
6064 }
d55e5bfc
RD
6065 }
6066 if (obj7) {
6067 {
6068 arg8 = wxString_in_helper(obj7);
6069 if (arg8 == NULL) SWIG_fail;
b411df4a 6070 temp8 = true;
d55e5bfc
RD
6071 }
6072 }
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 {
6081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6082 }
6083 {
6084 if (temp4)
6085 delete arg4;
6086 }
6087 {
6088 if (temp8)
6089 delete arg8;
6090 }
6091 return resultobj;
6092 fail:
6093 {
6094 if (temp4)
6095 delete arg4;
6096 }
6097 {
6098 if (temp8)
6099 delete arg8;
6100 }
6101 return NULL;
6102}
6103
6104
c370783e 6105static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6106 PyObject *resultobj;
36ed4f51 6107 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6108 wxVisualAttributes result;
6109 PyObject * obj0 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "variant", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6115 if (obj0) {
36ed4f51
RD
6116 {
6117 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6118 if (SWIG_arg_fail(1)) SWIG_fail;
6119 }
f20a2e1f
RD
6120 }
6121 {
0439c23b 6122 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6125
6126 wxPyEndAllowThreads(__tstate);
110da5b0 6127 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6128 }
6129 {
6130 wxVisualAttributes * resultptr;
36ed4f51 6131 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6132 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6133 }
6134 return resultobj;
6135 fail:
6136 return NULL;
6137}
6138
6139
c370783e 6140static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6141 PyObject *obj;
6142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6143 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6144 Py_INCREF(obj);
6145 return Py_BuildValue((char *)"");
6146}
c370783e 6147static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6148 PyObject *resultobj;
6149 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 6150 int arg2 = (int) -1 ;
d55e5bfc
RD
6151 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6152 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6153 wxSize const &arg4_defvalue = wxDefaultSize ;
6154 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6155 long arg5 = (long) wxLI_HORIZONTAL ;
6156 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6157 wxString *arg6 = (wxString *) &arg6_defvalue ;
6158 wxStaticLine *result;
6159 wxPoint temp3 ;
6160 wxSize temp4 ;
b411df4a 6161 bool temp6 = false ;
d55e5bfc
RD
6162 PyObject * obj0 = 0 ;
6163 PyObject * obj1 = 0 ;
6164 PyObject * obj2 = 0 ;
6165 PyObject * obj3 = 0 ;
6166 PyObject * obj4 = 0 ;
6167 PyObject * obj5 = 0 ;
6168 char *kwnames[] = {
6169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6170 };
6171
bfddbb17 6172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
6173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6174 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6175 if (obj1) {
36ed4f51
RD
6176 {
6177 arg2 = (int)(SWIG_As_int(obj1));
6178 if (SWIG_arg_fail(2)) SWIG_fail;
6179 }
bfddbb17 6180 }
d55e5bfc
RD
6181 if (obj2) {
6182 {
6183 arg3 = &temp3;
6184 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6185 }
6186 }
6187 if (obj3) {
6188 {
6189 arg4 = &temp4;
6190 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6191 }
6192 }
6193 if (obj4) {
36ed4f51
RD
6194 {
6195 arg5 = (long)(SWIG_As_long(obj4));
6196 if (SWIG_arg_fail(5)) SWIG_fail;
6197 }
d55e5bfc
RD
6198 }
6199 if (obj5) {
6200 {
6201 arg6 = wxString_in_helper(obj5);
6202 if (arg6 == NULL) SWIG_fail;
b411df4a 6203 temp6 = true;
d55e5bfc
RD
6204 }
6205 }
6206 {
0439c23b 6207 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6210
6211 wxPyEndAllowThreads(__tstate);
110da5b0 6212 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6213 }
6214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6215 {
6216 if (temp6)
6217 delete arg6;
6218 }
6219 return resultobj;
6220 fail:
6221 {
6222 if (temp6)
6223 delete arg6;
6224 }
6225 return NULL;
6226}
6227
6228
c370783e 6229static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6230 PyObject *resultobj;
6231 wxStaticLine *result;
6232 char *kwnames[] = {
6233 NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6237 {
0439c23b 6238 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 result = (wxStaticLine *)new wxStaticLine();
6241
6242 wxPyEndAllowThreads(__tstate);
110da5b0 6243 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6244 }
6245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6246 return resultobj;
6247 fail:
6248 return NULL;
6249}
6250
6251
c370783e 6252static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6253 PyObject *resultobj;
6254 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6255 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 6256 int arg3 = (int) -1 ;
d55e5bfc
RD
6257 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6258 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6259 wxSize const &arg5_defvalue = wxDefaultSize ;
6260 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6261 long arg6 = (long) wxLI_HORIZONTAL ;
6262 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6263 wxString *arg7 = (wxString *) &arg7_defvalue ;
6264 bool result;
6265 wxPoint temp4 ;
6266 wxSize temp5 ;
b411df4a 6267 bool temp7 = false ;
d55e5bfc
RD
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 PyObject * obj2 = 0 ;
6271 PyObject * obj3 = 0 ;
6272 PyObject * obj4 = 0 ;
6273 PyObject * obj5 = 0 ;
6274 PyObject * obj6 = 0 ;
6275 char *kwnames[] = {
6276 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6277 };
6278
bfddbb17 6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6281 if (SWIG_arg_fail(1)) SWIG_fail;
6282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6283 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6284 if (obj2) {
36ed4f51
RD
6285 {
6286 arg3 = (int)(SWIG_As_int(obj2));
6287 if (SWIG_arg_fail(3)) SWIG_fail;
6288 }
bfddbb17 6289 }
d55e5bfc
RD
6290 if (obj3) {
6291 {
6292 arg4 = &temp4;
6293 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6294 }
6295 }
6296 if (obj4) {
6297 {
6298 arg5 = &temp5;
6299 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6300 }
6301 }
6302 if (obj5) {
36ed4f51
RD
6303 {
6304 arg6 = (long)(SWIG_As_long(obj5));
6305 if (SWIG_arg_fail(6)) SWIG_fail;
6306 }
d55e5bfc
RD
6307 }
6308 if (obj6) {
6309 {
6310 arg7 = wxString_in_helper(obj6);
6311 if (arg7 == NULL) SWIG_fail;
b411df4a 6312 temp7 = true;
d55e5bfc
RD
6313 }
6314 }
6315 {
6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6317 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6318
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
6322 {
6323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6324 }
6325 {
6326 if (temp7)
6327 delete arg7;
6328 }
6329 return resultobj;
6330 fail:
6331 {
6332 if (temp7)
6333 delete arg7;
6334 }
6335 return NULL;
6336}
6337
6338
c370783e 6339static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6340 PyObject *resultobj;
6341 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6342 bool result;
6343 PyObject * obj0 = 0 ;
6344 char *kwnames[] = {
6345 (char *) "self", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
6349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6350 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 {
6359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6360 }
6361 return resultobj;
6362 fail:
6363 return NULL;
6364}
6365
6366
c370783e 6367static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6368 PyObject *resultobj;
6369 int result;
6370 char *kwnames[] = {
6371 NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (int)wxStaticLine::GetDefaultSize();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
36ed4f51
RD
6382 {
6383 resultobj = SWIG_From_int((int)(result));
6384 }
d55e5bfc
RD
6385 return resultobj;
6386 fail:
6387 return NULL;
6388}
6389
6390
c370783e 6391static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6392 PyObject *resultobj;
36ed4f51 6393 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6394 wxVisualAttributes result;
6395 PyObject * obj0 = 0 ;
6396 char *kwnames[] = {
6397 (char *) "variant", NULL
6398 };
6399
6400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6401 if (obj0) {
36ed4f51
RD
6402 {
6403 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6404 if (SWIG_arg_fail(1)) SWIG_fail;
6405 }
f20a2e1f
RD
6406 }
6407 {
0439c23b 6408 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
6410 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6411
6412 wxPyEndAllowThreads(__tstate);
110da5b0 6413 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6414 }
6415 {
6416 wxVisualAttributes * resultptr;
36ed4f51 6417 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6419 }
6420 return resultobj;
6421 fail:
6422 return NULL;
6423}
6424
6425
c370783e 6426static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6427 PyObject *obj;
6428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6429 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6430 Py_INCREF(obj);
6431 return Py_BuildValue((char *)"");
6432}
c370783e 6433static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6434 PyObject *resultobj;
6435 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6436 int arg2 = (int) -1 ;
6437 wxString const &arg3_defvalue = wxPyEmptyString ;
6438 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6439 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6440 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6441 wxSize const &arg5_defvalue = wxDefaultSize ;
6442 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6443 long arg6 = (long) 0 ;
6444 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6445 wxString *arg7 = (wxString *) &arg7_defvalue ;
6446 wxStaticText *result;
b411df4a 6447 bool temp3 = false ;
d55e5bfc
RD
6448 wxPoint temp4 ;
6449 wxSize temp5 ;
b411df4a 6450 bool temp7 = false ;
d55e5bfc
RD
6451 PyObject * obj0 = 0 ;
6452 PyObject * obj1 = 0 ;
6453 PyObject * obj2 = 0 ;
6454 PyObject * obj3 = 0 ;
6455 PyObject * obj4 = 0 ;
6456 PyObject * obj5 = 0 ;
6457 PyObject * obj6 = 0 ;
6458 char *kwnames[] = {
6459 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6460 };
6461
bfddbb17 6462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6464 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6465 if (obj1) {
36ed4f51
RD
6466 {
6467 arg2 = (int)(SWIG_As_int(obj1));
6468 if (SWIG_arg_fail(2)) SWIG_fail;
6469 }
bfddbb17
RD
6470 }
6471 if (obj2) {
6472 {
6473 arg3 = wxString_in_helper(obj2);
6474 if (arg3 == NULL) SWIG_fail;
b411df4a 6475 temp3 = true;
bfddbb17 6476 }
d55e5bfc
RD
6477 }
6478 if (obj3) {
6479 {
6480 arg4 = &temp4;
6481 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6482 }
6483 }
6484 if (obj4) {
6485 {
6486 arg5 = &temp5;
6487 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6488 }
6489 }
6490 if (obj5) {
36ed4f51
RD
6491 {
6492 arg6 = (long)(SWIG_As_long(obj5));
6493 if (SWIG_arg_fail(6)) SWIG_fail;
6494 }
d55e5bfc
RD
6495 }
6496 if (obj6) {
6497 {
6498 arg7 = wxString_in_helper(obj6);
6499 if (arg7 == NULL) SWIG_fail;
b411df4a 6500 temp7 = true;
d55e5bfc
RD
6501 }
6502 }
6503 {
0439c23b 6504 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6507
6508 wxPyEndAllowThreads(__tstate);
110da5b0 6509 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6510 }
6511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6512 {
6513 if (temp3)
6514 delete arg3;
6515 }
6516 {
6517 if (temp7)
6518 delete arg7;
6519 }
6520 return resultobj;
6521 fail:
6522 {
6523 if (temp3)
6524 delete arg3;
6525 }
6526 {
6527 if (temp7)
6528 delete arg7;
6529 }
6530 return NULL;
6531}
6532
6533
c370783e 6534static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6535 PyObject *resultobj;
6536 wxStaticText *result;
6537 char *kwnames[] = {
6538 NULL
6539 };
6540
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6542 {
0439c23b 6543 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 result = (wxStaticText *)new wxStaticText();
6546
6547 wxPyEndAllowThreads(__tstate);
110da5b0 6548 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6549 }
6550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6551 return resultobj;
6552 fail:
6553 return NULL;
6554}
6555
6556
c370783e 6557static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6558 PyObject *resultobj;
6559 wxStaticText *arg1 = (wxStaticText *) 0 ;
6560 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6561 int arg3 = (int) -1 ;
6562 wxString const &arg4_defvalue = wxPyEmptyString ;
6563 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6564 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6565 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6566 wxSize const &arg6_defvalue = wxDefaultSize ;
6567 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6568 long arg7 = (long) 0 ;
6569 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6570 wxString *arg8 = (wxString *) &arg8_defvalue ;
6571 bool result;
b411df4a 6572 bool temp4 = false ;
d55e5bfc
RD
6573 wxPoint temp5 ;
6574 wxSize temp6 ;
b411df4a 6575 bool temp8 = false ;
d55e5bfc
RD
6576 PyObject * obj0 = 0 ;
6577 PyObject * obj1 = 0 ;
6578 PyObject * obj2 = 0 ;
6579 PyObject * obj3 = 0 ;
6580 PyObject * obj4 = 0 ;
6581 PyObject * obj5 = 0 ;
6582 PyObject * obj6 = 0 ;
6583 PyObject * obj7 = 0 ;
6584 char *kwnames[] = {
6585 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6586 };
6587
bfddbb17 6588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6590 if (SWIG_arg_fail(1)) SWIG_fail;
6591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6592 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6593 if (obj2) {
36ed4f51
RD
6594 {
6595 arg3 = (int)(SWIG_As_int(obj2));
6596 if (SWIG_arg_fail(3)) SWIG_fail;
6597 }
bfddbb17
RD
6598 }
6599 if (obj3) {
6600 {
6601 arg4 = wxString_in_helper(obj3);
6602 if (arg4 == NULL) SWIG_fail;
b411df4a 6603 temp4 = true;
bfddbb17 6604 }
d55e5bfc
RD
6605 }
6606 if (obj4) {
6607 {
6608 arg5 = &temp5;
6609 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6610 }
6611 }
6612 if (obj5) {
6613 {
6614 arg6 = &temp6;
6615 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6616 }
6617 }
6618 if (obj6) {
36ed4f51
RD
6619 {
6620 arg7 = (long)(SWIG_As_long(obj6));
6621 if (SWIG_arg_fail(7)) SWIG_fail;
6622 }
d55e5bfc
RD
6623 }
6624 if (obj7) {
6625 {
6626 arg8 = wxString_in_helper(obj7);
6627 if (arg8 == NULL) SWIG_fail;
b411df4a 6628 temp8 = true;
d55e5bfc
RD
6629 }
6630 }
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
6638 {
6639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6640 }
6641 {
6642 if (temp4)
6643 delete arg4;
6644 }
6645 {
6646 if (temp8)
6647 delete arg8;
6648 }
6649 return resultobj;
6650 fail:
6651 {
6652 if (temp4)
6653 delete arg4;
6654 }
6655 {
6656 if (temp8)
6657 delete arg8;
6658 }
6659 return NULL;
6660}
6661
6662
c370783e 6663static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6664 PyObject *resultobj;
36ed4f51 6665 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6666 wxVisualAttributes result;
6667 PyObject * obj0 = 0 ;
6668 char *kwnames[] = {
6669 (char *) "variant", NULL
6670 };
6671
6672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6673 if (obj0) {
36ed4f51
RD
6674 {
6675 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6676 if (SWIG_arg_fail(1)) SWIG_fail;
6677 }
f20a2e1f
RD
6678 }
6679 {
0439c23b 6680 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6683
6684 wxPyEndAllowThreads(__tstate);
110da5b0 6685 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6686 }
6687 {
6688 wxVisualAttributes * resultptr;
36ed4f51 6689 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6691 }
6692 return resultobj;
6693 fail:
6694 return NULL;
6695}
6696
6697
c370783e 6698static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6699 PyObject *obj;
6700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6701 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6702 Py_INCREF(obj);
6703 return Py_BuildValue((char *)"");
6704}
c370783e 6705static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6706 PyObject *resultobj;
6707 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6708 int arg2 = (int) -1 ;
6709 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6710 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
6711 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6712 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6713 wxSize const &arg5_defvalue = wxDefaultSize ;
6714 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6715 long arg6 = (long) 0 ;
6716 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6717 wxString *arg7 = (wxString *) &arg7_defvalue ;
6718 wxStaticBitmap *result;
6719 wxPoint temp4 ;
6720 wxSize temp5 ;
b411df4a 6721 bool temp7 = false ;
d55e5bfc
RD
6722 PyObject * obj0 = 0 ;
6723 PyObject * obj1 = 0 ;
6724 PyObject * obj2 = 0 ;
6725 PyObject * obj3 = 0 ;
6726 PyObject * obj4 = 0 ;
6727 PyObject * obj5 = 0 ;
6728 PyObject * obj6 = 0 ;
6729 char *kwnames[] = {
6730 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6731 };
6732
bfddbb17 6733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6735 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6736 if (obj1) {
36ed4f51
RD
6737 {
6738 arg2 = (int)(SWIG_As_int(obj1));
6739 if (SWIG_arg_fail(2)) SWIG_fail;
6740 }
bfddbb17
RD
6741 }
6742 if (obj2) {
36ed4f51
RD
6743 {
6744 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6745 if (SWIG_arg_fail(3)) SWIG_fail;
6746 if (arg3 == NULL) {
6747 SWIG_null_ref("wxBitmap");
6748 }
6749 if (SWIG_arg_fail(3)) SWIG_fail;
bfddbb17 6750 }
d55e5bfc
RD
6751 }
6752 if (obj3) {
6753 {
6754 arg4 = &temp4;
6755 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6756 }
6757 }
6758 if (obj4) {
6759 {
6760 arg5 = &temp5;
6761 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6762 }
6763 }
6764 if (obj5) {
36ed4f51
RD
6765 {
6766 arg6 = (long)(SWIG_As_long(obj5));
6767 if (SWIG_arg_fail(6)) SWIG_fail;
6768 }
d55e5bfc
RD
6769 }
6770 if (obj6) {
6771 {
6772 arg7 = wxString_in_helper(obj6);
6773 if (arg7 == NULL) SWIG_fail;
b411df4a 6774 temp7 = true;
d55e5bfc
RD
6775 }
6776 }
6777 {
0439c23b 6778 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6781
6782 wxPyEndAllowThreads(__tstate);
110da5b0 6783 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6784 }
6785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6786 {
6787 if (temp7)
6788 delete arg7;
6789 }
6790 return resultobj;
6791 fail:
6792 {
6793 if (temp7)
6794 delete arg7;
6795 }
6796 return NULL;
6797}
6798
6799
c370783e 6800static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6801 PyObject *resultobj;
6802 wxStaticBitmap *result;
6803 char *kwnames[] = {
6804 NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6808 {
0439c23b 6809 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (wxStaticBitmap *)new wxStaticBitmap();
6812
6813 wxPyEndAllowThreads(__tstate);
110da5b0 6814 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6815 }
6816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6817 return resultobj;
6818 fail:
6819 return NULL;
6820}
6821
6822
c370783e 6823static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6824 PyObject *resultobj;
6825 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6826 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6827 int arg3 = (int) -1 ;
6828 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6829 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
6830 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6831 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6832 wxSize const &arg6_defvalue = wxDefaultSize ;
6833 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6834 long arg7 = (long) 0 ;
6835 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6836 wxString *arg8 = (wxString *) &arg8_defvalue ;
6837 bool result;
6838 wxPoint temp5 ;
6839 wxSize temp6 ;
b411df4a 6840 bool temp8 = false ;
d55e5bfc
RD
6841 PyObject * obj0 = 0 ;
6842 PyObject * obj1 = 0 ;
6843 PyObject * obj2 = 0 ;
6844 PyObject * obj3 = 0 ;
6845 PyObject * obj4 = 0 ;
6846 PyObject * obj5 = 0 ;
6847 PyObject * obj6 = 0 ;
6848 PyObject * obj7 = 0 ;
6849 char *kwnames[] = {
6850 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6851 };
6852
bfddbb17 6853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6855 if (SWIG_arg_fail(1)) SWIG_fail;
6856 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6857 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6858 if (obj2) {
36ed4f51
RD
6859 {
6860 arg3 = (int)(SWIG_As_int(obj2));
6861 if (SWIG_arg_fail(3)) SWIG_fail;
6862 }
bfddbb17
RD
6863 }
6864 if (obj3) {
36ed4f51
RD
6865 {
6866 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6867 if (SWIG_arg_fail(4)) SWIG_fail;
6868 if (arg4 == NULL) {
6869 SWIG_null_ref("wxBitmap");
6870 }
6871 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 6872 }
d55e5bfc
RD
6873 }
6874 if (obj4) {
6875 {
6876 arg5 = &temp5;
6877 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6878 }
6879 }
6880 if (obj5) {
6881 {
6882 arg6 = &temp6;
6883 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6884 }
6885 }
6886 if (obj6) {
36ed4f51
RD
6887 {
6888 arg7 = (long)(SWIG_As_long(obj6));
6889 if (SWIG_arg_fail(7)) SWIG_fail;
6890 }
d55e5bfc
RD
6891 }
6892 if (obj7) {
6893 {
6894 arg8 = wxString_in_helper(obj7);
6895 if (arg8 == NULL) SWIG_fail;
b411df4a 6896 temp8 = true;
d55e5bfc
RD
6897 }
6898 }
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 {
6907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6908 }
6909 {
6910 if (temp8)
6911 delete arg8;
6912 }
6913 return resultobj;
6914 fail:
6915 {
6916 if (temp8)
6917 delete arg8;
6918 }
6919 return NULL;
6920}
6921
6922
c370783e 6923static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6924 PyObject *resultobj;
6925 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6926 wxBitmap result;
6927 PyObject * obj0 = 0 ;
6928 char *kwnames[] = {
6929 (char *) "self", NULL
6930 };
6931
6932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
6933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6934 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 result = (arg1)->GetBitmap();
6938
6939 wxPyEndAllowThreads(__tstate);
6940 if (PyErr_Occurred()) SWIG_fail;
6941 }
6942 {
6943 wxBitmap * resultptr;
36ed4f51 6944 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
6945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6946 }
6947 return resultobj;
6948 fail:
6949 return NULL;
6950}
6951
6952
c370783e 6953static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6954 PyObject *resultobj;
6955 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6956 wxBitmap *arg2 = 0 ;
6957 PyObject * obj0 = 0 ;
6958 PyObject * obj1 = 0 ;
6959 char *kwnames[] = {
6960 (char *) "self",(char *) "bitmap", NULL
6961 };
6962
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6965 if (SWIG_arg_fail(1)) SWIG_fail;
6966 {
6967 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6968 if (SWIG_arg_fail(2)) SWIG_fail;
6969 if (arg2 == NULL) {
6970 SWIG_null_ref("wxBitmap");
6971 }
6972 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6973 }
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 Py_INCREF(Py_None); resultobj = Py_None;
6982 return resultobj;
6983 fail:
6984 return NULL;
6985}
6986
6987
c370783e 6988static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6989 PyObject *resultobj;
6990 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6991 wxIcon *arg2 = 0 ;
6992 PyObject * obj0 = 0 ;
6993 PyObject * obj1 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self",(char *) "icon", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7000 if (SWIG_arg_fail(1)) SWIG_fail;
7001 {
7002 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7003 if (SWIG_arg_fail(2)) SWIG_fail;
7004 if (arg2 == NULL) {
7005 SWIG_null_ref("wxIcon");
7006 }
7007 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7008 }
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 (arg1)->SetIcon((wxIcon const &)*arg2);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 Py_INCREF(Py_None); resultobj = Py_None;
7017 return resultobj;
7018 fail:
7019 return NULL;
7020}
7021
7022
c370783e 7023static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 7024 PyObject *resultobj;
36ed4f51 7025 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7026 wxVisualAttributes result;
7027 PyObject * obj0 = 0 ;
7028 char *kwnames[] = {
7029 (char *) "variant", NULL
7030 };
7031
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7033 if (obj0) {
36ed4f51
RD
7034 {
7035 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7036 if (SWIG_arg_fail(1)) SWIG_fail;
7037 }
f20a2e1f
RD
7038 }
7039 {
0439c23b 7040 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7043
7044 wxPyEndAllowThreads(__tstate);
110da5b0 7045 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7046 }
7047 {
7048 wxVisualAttributes * resultptr;
36ed4f51 7049 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
7050 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7051 }
7052 return resultobj;
7053 fail:
7054 return NULL;
7055}
7056
7057
c370783e 7058static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7059 PyObject *obj;
7060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7061 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7062 Py_INCREF(obj);
7063 return Py_BuildValue((char *)"");
7064}
c370783e 7065static int _wrap_ListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
7066 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7067 return 1;
7068}
7069
7070
36ed4f51 7071static PyObject *_wrap_ListBoxNameStr_get(void) {
d55e5bfc
RD
7072 PyObject *pyobj;
7073
7074 {
7075#if wxUSE_UNICODE
7076 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7077#else
7078 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7079#endif
7080 }
7081 return pyobj;
7082}
7083
7084
c370783e 7085static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7086 PyObject *resultobj;
7087 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 7088 int arg2 = (int) -1 ;
d55e5bfc
RD
7089 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7090 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7091 wxSize const &arg4_defvalue = wxDefaultSize ;
7092 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7093 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7094 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7095 long arg6 = (long) 0 ;
7096 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7097 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7098 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7099 wxString *arg8 = (wxString *) &arg8_defvalue ;
7100 wxListBox *result;
7101 wxPoint temp3 ;
7102 wxSize temp4 ;
b411df4a
RD
7103 bool temp5 = false ;
7104 bool temp8 = false ;
d55e5bfc
RD
7105 PyObject * obj0 = 0 ;
7106 PyObject * obj1 = 0 ;
7107 PyObject * obj2 = 0 ;
7108 PyObject * obj3 = 0 ;
7109 PyObject * obj4 = 0 ;
7110 PyObject * obj5 = 0 ;
7111 PyObject * obj6 = 0 ;
7112 PyObject * obj7 = 0 ;
7113 char *kwnames[] = {
7114 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7115 };
7116
bfddbb17 7117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
7118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7119 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 7120 if (obj1) {
36ed4f51
RD
7121 {
7122 arg2 = (int)(SWIG_As_int(obj1));
7123 if (SWIG_arg_fail(2)) SWIG_fail;
7124 }
bfddbb17 7125 }
d55e5bfc
RD
7126 if (obj2) {
7127 {
7128 arg3 = &temp3;
7129 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7130 }
7131 }
7132 if (obj3) {
7133 {
7134 arg4 = &temp4;
7135 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7136 }
7137 }
7138 if (obj4) {
7139 {
7140 if (! PySequence_Check(obj4)) {
7141 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7142 SWIG_fail;
7143 }
7144 arg5 = new wxArrayString;
b411df4a 7145 temp5 = true;
d55e5bfc
RD
7146 int i, len=PySequence_Length(obj4);
7147 for (i=0; i<len; i++) {
7148 PyObject* item = PySequence_GetItem(obj4, i);
7149#if wxUSE_UNICODE
7150 PyObject* str = PyObject_Unicode(item);
7151#else
7152 PyObject* str = PyObject_Str(item);
7153#endif
7154 if (PyErr_Occurred()) SWIG_fail;
7155 arg5->Add(Py2wxString(str));
7156 Py_DECREF(item);
7157 Py_DECREF(str);
7158 }
7159 }
7160 }
7161 if (obj5) {
36ed4f51
RD
7162 {
7163 arg6 = (long)(SWIG_As_long(obj5));
7164 if (SWIG_arg_fail(6)) SWIG_fail;
7165 }
d55e5bfc
RD
7166 }
7167 if (obj6) {
36ed4f51
RD
7168 {
7169 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7170 if (SWIG_arg_fail(7)) SWIG_fail;
7171 if (arg7 == NULL) {
7172 SWIG_null_ref("wxValidator");
7173 }
7174 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
7175 }
7176 }
7177 if (obj7) {
7178 {
7179 arg8 = wxString_in_helper(obj7);
7180 if (arg8 == NULL) SWIG_fail;
b411df4a 7181 temp8 = true;
d55e5bfc
RD
7182 }
7183 }
7184 {
0439c23b 7185 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7186 PyThreadState* __tstate = wxPyBeginAllowThreads();
7187 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7188
7189 wxPyEndAllowThreads(__tstate);
110da5b0 7190 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7191 }
7192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7193 {
7194 if (temp5) delete arg5;
7195 }
7196 {
7197 if (temp8)
7198 delete arg8;
7199 }
7200 return resultobj;
7201 fail:
7202 {
7203 if (temp5) delete arg5;
7204 }
7205 {
7206 if (temp8)
7207 delete arg8;
7208 }
7209 return NULL;
7210}
7211
7212
c370783e 7213static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7214 PyObject *resultobj;
7215 wxListBox *result;
7216 char *kwnames[] = {
7217 NULL
7218 };
7219
7220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7221 {
0439c23b 7222 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 result = (wxListBox *)new wxListBox();
7225
7226 wxPyEndAllowThreads(__tstate);
110da5b0 7227 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7228 }
7229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7230 return resultobj;
7231 fail:
7232 return NULL;
7233}
7234
7235
c370783e 7236static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7237 PyObject *resultobj;
7238 wxListBox *arg1 = (wxListBox *) 0 ;
7239 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 7240 int arg3 = (int) -1 ;
d55e5bfc
RD
7241 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7242 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7243 wxSize const &arg5_defvalue = wxDefaultSize ;
7244 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7245 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7246 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7247 long arg7 = (long) 0 ;
7248 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7249 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7250 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7251 wxString *arg9 = (wxString *) &arg9_defvalue ;
7252 bool result;
7253 wxPoint temp4 ;
7254 wxSize temp5 ;
b411df4a
RD
7255 bool temp6 = false ;
7256 bool temp9 = false ;
d55e5bfc
RD
7257 PyObject * obj0 = 0 ;
7258 PyObject * obj1 = 0 ;
7259 PyObject * obj2 = 0 ;
7260 PyObject * obj3 = 0 ;
7261 PyObject * obj4 = 0 ;
7262 PyObject * obj5 = 0 ;
7263 PyObject * obj6 = 0 ;
7264 PyObject * obj7 = 0 ;
7265 PyObject * obj8 = 0 ;
7266 char *kwnames[] = {
7267 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7268 };
7269
bfddbb17 7270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
7271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7272 if (SWIG_arg_fail(1)) SWIG_fail;
7273 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7274 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 7275 if (obj2) {
36ed4f51
RD
7276 {
7277 arg3 = (int)(SWIG_As_int(obj2));
7278 if (SWIG_arg_fail(3)) SWIG_fail;
7279 }
bfddbb17 7280 }
d55e5bfc
RD
7281 if (obj3) {
7282 {
7283 arg4 = &temp4;
7284 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7285 }
7286 }
7287 if (obj4) {
7288 {
7289 arg5 = &temp5;
7290 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7291 }
7292 }
7293 if (obj5) {
7294 {
7295 if (! PySequence_Check(obj5)) {
7296 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7297 SWIG_fail;
7298 }
7299 arg6 = new wxArrayString;
b411df4a 7300 temp6 = true;
d55e5bfc
RD
7301 int i, len=PySequence_Length(obj5);
7302 for (i=0; i<len; i++) {
7303 PyObject* item = PySequence_GetItem(obj5, i);
7304#if wxUSE_UNICODE
7305 PyObject* str = PyObject_Unicode(item);
7306#else
7307 PyObject* str = PyObject_Str(item);
7308#endif
7309 if (PyErr_Occurred()) SWIG_fail;
7310 arg6->Add(Py2wxString(str));
7311 Py_DECREF(item);
7312 Py_DECREF(str);
7313 }
7314 }
7315 }
7316 if (obj6) {
36ed4f51
RD
7317 {
7318 arg7 = (long)(SWIG_As_long(obj6));
7319 if (SWIG_arg_fail(7)) SWIG_fail;
7320 }
d55e5bfc
RD
7321 }
7322 if (obj7) {
36ed4f51
RD
7323 {
7324 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7325 if (SWIG_arg_fail(8)) SWIG_fail;
7326 if (arg8 == NULL) {
7327 SWIG_null_ref("wxValidator");
7328 }
7329 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
7330 }
7331 }
7332 if (obj8) {
7333 {
7334 arg9 = wxString_in_helper(obj8);
7335 if (arg9 == NULL) SWIG_fail;
b411df4a 7336 temp9 = true;
d55e5bfc
RD
7337 }
7338 }
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 {
7347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7348 }
7349 {
7350 if (temp6) delete arg6;
7351 }
7352 {
7353 if (temp9)
7354 delete arg9;
7355 }
7356 return resultobj;
7357 fail:
7358 {
7359 if (temp6) delete arg6;
7360 }
7361 {
7362 if (temp9)
7363 delete arg9;
7364 }
7365 return NULL;
7366}
7367
7368
c370783e 7369static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7370 PyObject *resultobj;
7371 wxListBox *arg1 = (wxListBox *) 0 ;
7372 wxString *arg2 = 0 ;
7373 int arg3 ;
7374 PyObject *arg4 = (PyObject *) NULL ;
b411df4a 7375 bool temp2 = false ;
d55e5bfc
RD
7376 PyObject * obj0 = 0 ;
7377 PyObject * obj1 = 0 ;
7378 PyObject * obj2 = 0 ;
7379 PyObject * obj3 = 0 ;
7380 char *kwnames[] = {
7381 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7382 };
7383
7384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7387 {
7388 arg2 = wxString_in_helper(obj1);
7389 if (arg2 == NULL) SWIG_fail;
b411df4a 7390 temp2 = true;
d55e5bfc 7391 }
36ed4f51
RD
7392 {
7393 arg3 = (int)(SWIG_As_int(obj2));
7394 if (SWIG_arg_fail(3)) SWIG_fail;
7395 }
d55e5bfc
RD
7396 if (obj3) {
7397 arg4 = obj3;
7398 }
7399 {
7400 PyThreadState* __tstate = wxPyBeginAllowThreads();
7401 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7402
7403 wxPyEndAllowThreads(__tstate);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 }
7406 Py_INCREF(Py_None); resultobj = Py_None;
7407 {
7408 if (temp2)
7409 delete arg2;
7410 }
7411 return resultobj;
7412 fail:
7413 {
7414 if (temp2)
7415 delete arg2;
7416 }
7417 return NULL;
7418}
7419
7420
c370783e 7421static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7422 PyObject *resultobj;
7423 wxListBox *arg1 = (wxListBox *) 0 ;
7424 wxArrayString *arg2 = 0 ;
7425 int arg3 ;
b411df4a 7426 bool temp2 = false ;
d55e5bfc
RD
7427 PyObject * obj0 = 0 ;
7428 PyObject * obj1 = 0 ;
7429 PyObject * obj2 = 0 ;
7430 char *kwnames[] = {
7431 (char *) "self",(char *) "items",(char *) "pos", NULL
7432 };
7433
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7436 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7437 {
7438 if (! PySequence_Check(obj1)) {
7439 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7440 SWIG_fail;
7441 }
7442 arg2 = new wxArrayString;
b411df4a 7443 temp2 = true;
d55e5bfc
RD
7444 int i, len=PySequence_Length(obj1);
7445 for (i=0; i<len; i++) {
7446 PyObject* item = PySequence_GetItem(obj1, i);
7447#if wxUSE_UNICODE
7448 PyObject* str = PyObject_Unicode(item);
7449#else
7450 PyObject* str = PyObject_Str(item);
7451#endif
7452 if (PyErr_Occurred()) SWIG_fail;
7453 arg2->Add(Py2wxString(str));
7454 Py_DECREF(item);
7455 Py_DECREF(str);
7456 }
7457 }
36ed4f51
RD
7458 {
7459 arg3 = (int)(SWIG_As_int(obj2));
7460 if (SWIG_arg_fail(3)) SWIG_fail;
7461 }
d55e5bfc
RD
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 Py_INCREF(Py_None); resultobj = Py_None;
7470 {
7471 if (temp2) delete arg2;
7472 }
7473 return resultobj;
7474 fail:
7475 {
7476 if (temp2) delete arg2;
7477 }
7478 return NULL;
7479}
7480
7481
c370783e 7482static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7483 PyObject *resultobj;
7484 wxListBox *arg1 = (wxListBox *) 0 ;
7485 wxArrayString *arg2 = 0 ;
b411df4a 7486 bool temp2 = false ;
d55e5bfc
RD
7487 PyObject * obj0 = 0 ;
7488 PyObject * obj1 = 0 ;
7489 char *kwnames[] = {
7490 (char *) "self",(char *) "items", NULL
7491 };
7492
7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7495 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7496 {
7497 if (! PySequence_Check(obj1)) {
7498 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7499 SWIG_fail;
7500 }
7501 arg2 = new wxArrayString;
b411df4a 7502 temp2 = true;
d55e5bfc
RD
7503 int i, len=PySequence_Length(obj1);
7504 for (i=0; i<len; i++) {
7505 PyObject* item = PySequence_GetItem(obj1, i);
7506#if wxUSE_UNICODE
7507 PyObject* str = PyObject_Unicode(item);
7508#else
7509 PyObject* str = PyObject_Str(item);
7510#endif
7511 if (PyErr_Occurred()) SWIG_fail;
7512 arg2->Add(Py2wxString(str));
7513 Py_DECREF(item);
7514 Py_DECREF(str);
7515 }
7516 }
7517 {
7518 PyThreadState* __tstate = wxPyBeginAllowThreads();
7519 (arg1)->Set((wxArrayString const &)*arg2);
7520
7521 wxPyEndAllowThreads(__tstate);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 Py_INCREF(Py_None); resultobj = Py_None;
7525 {
7526 if (temp2) delete arg2;
7527 }
7528 return resultobj;
7529 fail:
7530 {
7531 if (temp2) delete arg2;
7532 }
7533 return NULL;
7534}
7535
7536
c370783e 7537static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7538 PyObject *resultobj;
7539 wxListBox *arg1 = (wxListBox *) 0 ;
7540 int arg2 ;
7541 bool result;
7542 PyObject * obj0 = 0 ;
7543 PyObject * obj1 = 0 ;
7544 char *kwnames[] = {
7545 (char *) "self",(char *) "n", NULL
7546 };
7547
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail;
7551 {
7552 arg2 = (int)(SWIG_As_int(obj1));
7553 if (SWIG_arg_fail(2)) SWIG_fail;
7554 }
d55e5bfc
RD
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7558
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 {
7563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7564 }
7565 return resultobj;
7566 fail:
7567 return NULL;
7568}
7569
7570
c370783e 7571static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7572 PyObject *resultobj;
7573 wxListBox *arg1 = (wxListBox *) 0 ;
7574 int arg2 ;
b411df4a 7575 bool arg3 = (bool) true ;
d55e5bfc
RD
7576 PyObject * obj0 = 0 ;
7577 PyObject * obj1 = 0 ;
7578 PyObject * obj2 = 0 ;
7579 char *kwnames[] = {
7580 (char *) "self",(char *) "n",(char *) "select", NULL
7581 };
7582
7583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7585 if (SWIG_arg_fail(1)) SWIG_fail;
7586 {
7587 arg2 = (int)(SWIG_As_int(obj1));
7588 if (SWIG_arg_fail(2)) SWIG_fail;
7589 }
d55e5bfc 7590 if (obj2) {
36ed4f51
RD
7591 {
7592 arg3 = (bool)(SWIG_As_bool(obj2));
7593 if (SWIG_arg_fail(3)) SWIG_fail;
7594 }
d55e5bfc
RD
7595 }
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 (arg1)->SetSelection(arg2,arg3);
7599
7600 wxPyEndAllowThreads(__tstate);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
7603 Py_INCREF(Py_None); resultobj = Py_None;
7604 return resultobj;
7605 fail:
7606 return NULL;
7607}
7608
7609
c370783e 7610static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7611 PyObject *resultobj;
7612 wxListBox *arg1 = (wxListBox *) 0 ;
7613 int arg2 ;
7614 PyObject * obj0 = 0 ;
7615 PyObject * obj1 = 0 ;
7616 char *kwnames[] = {
7617 (char *) "self",(char *) "n", NULL
7618 };
7619
7620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7622 if (SWIG_arg_fail(1)) SWIG_fail;
7623 {
7624 arg2 = (int)(SWIG_As_int(obj1));
7625 if (SWIG_arg_fail(2)) SWIG_fail;
7626 }
d55e5bfc
RD
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 (arg1)->Select(arg2);
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 Py_INCREF(Py_None); resultobj = Py_None;
7635 return resultobj;
7636 fail:
7637 return NULL;
7638}
7639
7640
c370783e 7641static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7642 PyObject *resultobj;
7643 wxListBox *arg1 = (wxListBox *) 0 ;
7644 int arg2 ;
7645 PyObject * obj0 = 0 ;
7646 PyObject * obj1 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "self",(char *) "n", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7653 if (SWIG_arg_fail(1)) SWIG_fail;
7654 {
7655 arg2 = (int)(SWIG_As_int(obj1));
7656 if (SWIG_arg_fail(2)) SWIG_fail;
7657 }
d55e5bfc
RD
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 (arg1)->Deselect(arg2);
7661
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 Py_INCREF(Py_None); resultobj = Py_None;
7666 return resultobj;
7667 fail:
7668 return NULL;
7669}
7670
7671
c370783e 7672static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7673 PyObject *resultobj;
7674 wxListBox *arg1 = (wxListBox *) 0 ;
7675 int arg2 = (int) -1 ;
7676 PyObject * obj0 = 0 ;
7677 PyObject * obj1 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "self",(char *) "itemToLeaveSelected", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7684 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7685 if (obj1) {
36ed4f51
RD
7686 {
7687 arg2 = (int)(SWIG_As_int(obj1));
7688 if (SWIG_arg_fail(2)) SWIG_fail;
7689 }
d55e5bfc
RD
7690 }
7691 {
7692 PyThreadState* __tstate = wxPyBeginAllowThreads();
7693 (arg1)->DeselectAll(arg2);
7694
7695 wxPyEndAllowThreads(__tstate);
7696 if (PyErr_Occurred()) SWIG_fail;
7697 }
7698 Py_INCREF(Py_None); resultobj = Py_None;
7699 return resultobj;
7700 fail:
7701 return NULL;
7702}
7703
7704
c370783e 7705static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7706 PyObject *resultobj;
7707 wxListBox *arg1 = (wxListBox *) 0 ;
7708 wxString *arg2 = 0 ;
b411df4a 7709 bool arg3 = (bool) true ;
d55e5bfc 7710 bool result;
b411df4a 7711 bool temp2 = false ;
d55e5bfc
RD
7712 PyObject * obj0 = 0 ;
7713 PyObject * obj1 = 0 ;
7714 PyObject * obj2 = 0 ;
7715 char *kwnames[] = {
7716 (char *) "self",(char *) "s",(char *) "select", NULL
7717 };
7718
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7721 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7722 {
7723 arg2 = wxString_in_helper(obj1);
7724 if (arg2 == NULL) SWIG_fail;
b411df4a 7725 temp2 = true;
d55e5bfc
RD
7726 }
7727 if (obj2) {
36ed4f51
RD
7728 {
7729 arg3 = (bool)(SWIG_As_bool(obj2));
7730 if (SWIG_arg_fail(3)) SWIG_fail;
7731 }
d55e5bfc
RD
7732 }
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7736
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 {
7741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7742 }
7743 {
7744 if (temp2)
7745 delete arg2;
7746 }
7747 return resultobj;
7748 fail:
7749 {
7750 if (temp2)
7751 delete arg2;
7752 }
7753 return NULL;
7754}
7755
7756
c370783e 7757static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7758 PyObject *resultobj;
7759 wxListBox *arg1 = (wxListBox *) 0 ;
7760 PyObject *result;
7761 PyObject * obj0 = 0 ;
7762 char *kwnames[] = {
7763 (char *) "self", NULL
7764 };
7765
7766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
7767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7768 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7769 {
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 result = (PyObject *)wxListBox_GetSelections(arg1);
7772
7773 wxPyEndAllowThreads(__tstate);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 resultobj = result;
7777 return resultobj;
7778 fail:
7779 return NULL;
7780}
7781
7782
c370783e 7783static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7784 PyObject *resultobj;
7785 wxListBox *arg1 = (wxListBox *) 0 ;
7786 int arg2 ;
7787 PyObject * obj0 = 0 ;
7788 PyObject * obj1 = 0 ;
7789 char *kwnames[] = {
7790 (char *) "self",(char *) "n", NULL
7791 };
7792
7793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7795 if (SWIG_arg_fail(1)) SWIG_fail;
7796 {
7797 arg2 = (int)(SWIG_As_int(obj1));
7798 if (SWIG_arg_fail(2)) SWIG_fail;
7799 }
d55e5bfc
RD
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 (arg1)->SetFirstItem(arg2);
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 Py_INCREF(Py_None); resultobj = Py_None;
7808 return resultobj;
7809 fail:
7810 return NULL;
7811}
7812
7813
c370783e 7814static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7815 PyObject *resultobj;
7816 wxListBox *arg1 = (wxListBox *) 0 ;
7817 wxString *arg2 = 0 ;
b411df4a 7818 bool temp2 = false ;
d55e5bfc
RD
7819 PyObject * obj0 = 0 ;
7820 PyObject * obj1 = 0 ;
7821 char *kwnames[] = {
7822 (char *) "self",(char *) "s", NULL
7823 };
7824
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7827 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7828 {
7829 arg2 = wxString_in_helper(obj1);
7830 if (arg2 == NULL) SWIG_fail;
b411df4a 7831 temp2 = true;
d55e5bfc
RD
7832 }
7833 {
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 (arg1)->SetFirstItem((wxString const &)*arg2);
7836
7837 wxPyEndAllowThreads(__tstate);
7838 if (PyErr_Occurred()) SWIG_fail;
7839 }
7840 Py_INCREF(Py_None); resultobj = Py_None;
7841 {
7842 if (temp2)
7843 delete arg2;
7844 }
7845 return resultobj;
7846 fail:
7847 {
7848 if (temp2)
7849 delete arg2;
7850 }
7851 return NULL;
7852}
7853
7854
c370783e 7855static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7856 PyObject *resultobj;
7857 wxListBox *arg1 = (wxListBox *) 0 ;
7858 int arg2 ;
7859 PyObject * obj0 = 0 ;
7860 PyObject * obj1 = 0 ;
7861 char *kwnames[] = {
7862 (char *) "self",(char *) "n", NULL
7863 };
7864
7865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7867 if (SWIG_arg_fail(1)) SWIG_fail;
7868 {
7869 arg2 = (int)(SWIG_As_int(obj1));
7870 if (SWIG_arg_fail(2)) SWIG_fail;
7871 }
d55e5bfc
RD
7872 {
7873 PyThreadState* __tstate = wxPyBeginAllowThreads();
7874 (arg1)->EnsureVisible(arg2);
7875
7876 wxPyEndAllowThreads(__tstate);
7877 if (PyErr_Occurred()) SWIG_fail;
7878 }
7879 Py_INCREF(Py_None); resultobj = Py_None;
7880 return resultobj;
7881 fail:
7882 return NULL;
7883}
7884
7885
c370783e 7886static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7887 PyObject *resultobj;
7888 wxListBox *arg1 = (wxListBox *) 0 ;
7889 wxString *arg2 = 0 ;
b411df4a 7890 bool temp2 = false ;
d55e5bfc
RD
7891 PyObject * obj0 = 0 ;
7892 PyObject * obj1 = 0 ;
7893 char *kwnames[] = {
7894 (char *) "self",(char *) "s", NULL
7895 };
7896
7897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7899 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7900 {
7901 arg2 = wxString_in_helper(obj1);
7902 if (arg2 == NULL) SWIG_fail;
b411df4a 7903 temp2 = true;
d55e5bfc
RD
7904 }
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
7912 Py_INCREF(Py_None); resultobj = Py_None;
7913 {
7914 if (temp2)
7915 delete arg2;
7916 }
7917 return resultobj;
7918 fail:
7919 {
7920 if (temp2)
7921 delete arg2;
7922 }
7923 return NULL;
7924}
7925
7926
c370783e 7927static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7928 PyObject *resultobj;
7929 wxListBox *arg1 = (wxListBox *) 0 ;
7930 bool result;
7931 PyObject * obj0 = 0 ;
7932 char *kwnames[] = {
7933 (char *) "self", NULL
7934 };
7935
7936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
36ed4f51
RD
7937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7938 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7939 {
7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7941 result = (bool)((wxListBox const *)arg1)->IsSorted();
7942
7943 wxPyEndAllowThreads(__tstate);
7944 if (PyErr_Occurred()) SWIG_fail;
7945 }
7946 {
7947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7948 }
7949 return resultobj;
7950 fail:
7951 return NULL;
7952}
7953
7954
c370783e 7955static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7956 PyObject *resultobj;
7957 wxListBox *arg1 = (wxListBox *) 0 ;
7958 int arg2 ;
7959 wxColour *arg3 = 0 ;
7960 wxColour temp3 ;
7961 PyObject * obj0 = 0 ;
7962 PyObject * obj1 = 0 ;
7963 PyObject * obj2 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self",(char *) "item",(char *) "c", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7970 if (SWIG_arg_fail(1)) SWIG_fail;
7971 {
7972 arg2 = (int)(SWIG_As_int(obj1));
7973 if (SWIG_arg_fail(2)) SWIG_fail;
7974 }
d55e5bfc
RD
7975 {
7976 arg3 = &temp3;
7977 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7978 }
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
7982
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 Py_INCREF(Py_None); resultobj = Py_None;
7987 return resultobj;
7988 fail:
7989 return NULL;
7990}
7991
7992
c370783e 7993static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7994 PyObject *resultobj;
7995 wxListBox *arg1 = (wxListBox *) 0 ;
7996 int arg2 ;
7997 wxColour *arg3 = 0 ;
7998 wxColour temp3 ;
7999 PyObject * obj0 = 0 ;
8000 PyObject * obj1 = 0 ;
8001 PyObject * obj2 = 0 ;
8002 char *kwnames[] = {
8003 (char *) "self",(char *) "item",(char *) "c", NULL
8004 };
8005
8006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8008 if (SWIG_arg_fail(1)) SWIG_fail;
8009 {
8010 arg2 = (int)(SWIG_As_int(obj1));
8011 if (SWIG_arg_fail(2)) SWIG_fail;
8012 }
d55e5bfc
RD
8013 {
8014 arg3 = &temp3;
8015 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8016 }
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8020
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 Py_INCREF(Py_None); resultobj = Py_None;
8025 return resultobj;
8026 fail:
8027 return NULL;
8028}
8029
8030
c370783e 8031static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8032 PyObject *resultobj;
8033 wxListBox *arg1 = (wxListBox *) 0 ;
8034 int arg2 ;
8035 wxFont *arg3 = 0 ;
8036 PyObject * obj0 = 0 ;
8037 PyObject * obj1 = 0 ;
8038 PyObject * obj2 = 0 ;
8039 char *kwnames[] = {
8040 (char *) "self",(char *) "item",(char *) "f", NULL
8041 };
8042
8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8045 if (SWIG_arg_fail(1)) SWIG_fail;
8046 {
8047 arg2 = (int)(SWIG_As_int(obj1));
8048 if (SWIG_arg_fail(2)) SWIG_fail;
8049 }
8050 {
8051 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8052 if (SWIG_arg_fail(3)) SWIG_fail;
8053 if (arg3 == NULL) {
8054 SWIG_null_ref("wxFont");
8055 }
8056 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8057 }
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 Py_INCREF(Py_None); resultobj = Py_None;
8066 return resultobj;
8067 fail:
8068 return NULL;
8069}
8070
8071
c370783e 8072static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8073 PyObject *resultobj;
36ed4f51 8074 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
8075 wxVisualAttributes result;
8076 PyObject * obj0 = 0 ;
8077 char *kwnames[] = {
8078 (char *) "variant", NULL
8079 };
8080
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8082 if (obj0) {
36ed4f51
RD
8083 {
8084 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8085 if (SWIG_arg_fail(1)) SWIG_fail;
8086 }
d55e5bfc
RD
8087 }
8088 {
0439c23b 8089 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8092
8093 wxPyEndAllowThreads(__tstate);
110da5b0 8094 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8095 }
8096 {
8097 wxVisualAttributes * resultptr;
36ed4f51 8098 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
8099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8100 }
8101 return resultobj;
8102 fail:
8103 return NULL;
8104}
8105
8106
c370783e 8107static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8108 PyObject *obj;
8109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8110 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8111 Py_INCREF(obj);
8112 return Py_BuildValue((char *)"");
8113}
c370783e 8114static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8115 PyObject *resultobj;
8116 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 8117 int arg2 = (int) -1 ;
d55e5bfc
RD
8118 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8119 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8120 wxSize const &arg4_defvalue = wxDefaultSize ;
8121 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8122 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8123 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8124 long arg6 = (long) 0 ;
8125 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8126 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8127 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8128 wxString *arg8 = (wxString *) &arg8_defvalue ;
8129 wxCheckListBox *result;
8130 wxPoint temp3 ;
8131 wxSize temp4 ;
b411df4a
RD
8132 bool temp5 = false ;
8133 bool temp8 = false ;
d55e5bfc
RD
8134 PyObject * obj0 = 0 ;
8135 PyObject * obj1 = 0 ;
8136 PyObject * obj2 = 0 ;
8137 PyObject * obj3 = 0 ;
8138 PyObject * obj4 = 0 ;
8139 PyObject * obj5 = 0 ;
8140 PyObject * obj6 = 0 ;
8141 PyObject * obj7 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8144 };
8145
bfddbb17 8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
8147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8148 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 8149 if (obj1) {
36ed4f51
RD
8150 {
8151 arg2 = (int)(SWIG_As_int(obj1));
8152 if (SWIG_arg_fail(2)) SWIG_fail;
8153 }
bfddbb17 8154 }
d55e5bfc
RD
8155 if (obj2) {
8156 {
8157 arg3 = &temp3;
8158 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8159 }
8160 }
8161 if (obj3) {
8162 {
8163 arg4 = &temp4;
8164 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8165 }
8166 }
8167 if (obj4) {
8168 {
8169 if (! PySequence_Check(obj4)) {
8170 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8171 SWIG_fail;
8172 }
8173 arg5 = new wxArrayString;
b411df4a 8174 temp5 = true;
d55e5bfc
RD
8175 int i, len=PySequence_Length(obj4);
8176 for (i=0; i<len; i++) {
8177 PyObject* item = PySequence_GetItem(obj4, i);
8178#if wxUSE_UNICODE
8179 PyObject* str = PyObject_Unicode(item);
8180#else
8181 PyObject* str = PyObject_Str(item);
8182#endif
8183 if (PyErr_Occurred()) SWIG_fail;
8184 arg5->Add(Py2wxString(str));
8185 Py_DECREF(item);
8186 Py_DECREF(str);
8187 }
8188 }
8189 }
8190 if (obj5) {
36ed4f51
RD
8191 {
8192 arg6 = (long)(SWIG_As_long(obj5));
8193 if (SWIG_arg_fail(6)) SWIG_fail;
8194 }
d55e5bfc
RD
8195 }
8196 if (obj6) {
36ed4f51
RD
8197 {
8198 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8199 if (SWIG_arg_fail(7)) SWIG_fail;
8200 if (arg7 == NULL) {
8201 SWIG_null_ref("wxValidator");
8202 }
8203 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
8204 }
8205 }
8206 if (obj7) {
8207 {
8208 arg8 = wxString_in_helper(obj7);
8209 if (arg8 == NULL) SWIG_fail;
b411df4a 8210 temp8 = true;
d55e5bfc
RD
8211 }
8212 }
8213 {
0439c23b 8214 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8215 PyThreadState* __tstate = wxPyBeginAllowThreads();
8216 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8217
8218 wxPyEndAllowThreads(__tstate);
110da5b0 8219 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8220 }
8221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8222 {
8223 if (temp5) delete arg5;
8224 }
8225 {
8226 if (temp8)
8227 delete arg8;
8228 }
8229 return resultobj;
8230 fail:
8231 {
8232 if (temp5) delete arg5;
8233 }
8234 {
8235 if (temp8)
8236 delete arg8;
8237 }
8238 return NULL;
8239}
8240
8241
c370783e 8242static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8243 PyObject *resultobj;
8244 wxCheckListBox *result;
8245 char *kwnames[] = {
8246 NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8250 {
0439c23b 8251 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 result = (wxCheckListBox *)new wxCheckListBox();
8254
8255 wxPyEndAllowThreads(__tstate);
110da5b0 8256 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8257 }
8258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8259 return resultobj;
8260 fail:
8261 return NULL;
8262}
8263
8264
c370783e 8265static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8266 PyObject *resultobj;
8267 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8268 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 8269 int arg3 = (int) -1 ;
d55e5bfc
RD
8270 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8271 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8272 wxSize const &arg5_defvalue = wxDefaultSize ;
8273 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8274 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8275 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8276 long arg7 = (long) 0 ;
8277 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8278 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8279 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8280 wxString *arg9 = (wxString *) &arg9_defvalue ;
8281 bool result;
8282 wxPoint temp4 ;
8283 wxSize temp5 ;
b411df4a
RD
8284 bool temp6 = false ;
8285 bool temp9 = false ;
d55e5bfc
RD
8286 PyObject * obj0 = 0 ;
8287 PyObject * obj1 = 0 ;
8288 PyObject * obj2 = 0 ;
8289 PyObject * obj3 = 0 ;
8290 PyObject * obj4 = 0 ;
8291 PyObject * obj5 = 0 ;
8292 PyObject * obj6 = 0 ;
8293 PyObject * obj7 = 0 ;
8294 PyObject * obj8 = 0 ;
8295 char *kwnames[] = {
8296 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8297 };
8298
bfddbb17 8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
8300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8301 if (SWIG_arg_fail(1)) SWIG_fail;
8302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8303 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 8304 if (obj2) {
36ed4f51
RD
8305 {
8306 arg3 = (int)(SWIG_As_int(obj2));
8307 if (SWIG_arg_fail(3)) SWIG_fail;
8308 }
bfddbb17 8309 }
d55e5bfc
RD
8310 if (obj3) {
8311 {
8312 arg4 = &temp4;
8313 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8314 }
8315 }
8316 if (obj4) {
8317 {
8318 arg5 = &temp5;
8319 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8320 }
8321 }
8322 if (obj5) {
8323 {
8324 if (! PySequence_Check(obj5)) {
8325 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8326 SWIG_fail;
8327 }
8328 arg6 = new wxArrayString;
b411df4a 8329 temp6 = true;
d55e5bfc
RD
8330 int i, len=PySequence_Length(obj5);
8331 for (i=0; i<len; i++) {
8332 PyObject* item = PySequence_GetItem(obj5, i);
8333#if wxUSE_UNICODE
8334 PyObject* str = PyObject_Unicode(item);
8335#else
8336 PyObject* str = PyObject_Str(item);
8337#endif
8338 if (PyErr_Occurred()) SWIG_fail;
8339 arg6->Add(Py2wxString(str));
8340 Py_DECREF(item);
8341 Py_DECREF(str);
8342 }
8343 }
8344 }
8345 if (obj6) {
36ed4f51
RD
8346 {
8347 arg7 = (long)(SWIG_As_long(obj6));
8348 if (SWIG_arg_fail(7)) SWIG_fail;
8349 }
d55e5bfc
RD
8350 }
8351 if (obj7) {
36ed4f51
RD
8352 {
8353 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8354 if (SWIG_arg_fail(8)) SWIG_fail;
8355 if (arg8 == NULL) {
8356 SWIG_null_ref("wxValidator");
8357 }
8358 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
8359 }
8360 }
8361 if (obj8) {
8362 {
8363 arg9 = wxString_in_helper(obj8);
8364 if (arg9 == NULL) SWIG_fail;
b411df4a 8365 temp9 = true;
d55e5bfc
RD
8366 }
8367 }
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8371
8372 wxPyEndAllowThreads(__tstate);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
8375 {
8376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8377 }
8378 {
8379 if (temp6) delete arg6;
8380 }
8381 {
8382 if (temp9)
8383 delete arg9;
8384 }
8385 return resultobj;
8386 fail:
8387 {
8388 if (temp6) delete arg6;
8389 }
8390 {
8391 if (temp9)
8392 delete arg9;
8393 }
8394 return NULL;
8395}
8396
8397
c370783e 8398static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8399 PyObject *resultobj;
8400 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8401 int arg2 ;
8402 bool result;
8403 PyObject * obj0 = 0 ;
8404 PyObject * obj1 = 0 ;
8405 char *kwnames[] = {
8406 (char *) "self",(char *) "index", NULL
8407 };
8408
8409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8411 if (SWIG_arg_fail(1)) SWIG_fail;
8412 {
8413 arg2 = (int)(SWIG_As_int(obj1));
8414 if (SWIG_arg_fail(2)) SWIG_fail;
8415 }
d55e5bfc
RD
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 result = (bool)(arg1)->IsChecked(arg2);
8419
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
8423 {
8424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8425 }
8426 return resultobj;
8427 fail:
8428 return NULL;
8429}
8430
8431
c370783e 8432static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8433 PyObject *resultobj;
8434 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8435 int arg2 ;
b411df4a 8436 int arg3 = (int) true ;
d55e5bfc
RD
8437 PyObject * obj0 = 0 ;
8438 PyObject * obj1 = 0 ;
8439 PyObject * obj2 = 0 ;
8440 char *kwnames[] = {
8441 (char *) "self",(char *) "index",(char *) "check", NULL
8442 };
8443
8444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8446 if (SWIG_arg_fail(1)) SWIG_fail;
8447 {
8448 arg2 = (int)(SWIG_As_int(obj1));
8449 if (SWIG_arg_fail(2)) SWIG_fail;
8450 }
d55e5bfc 8451 if (obj2) {
36ed4f51
RD
8452 {
8453 arg3 = (int)(SWIG_As_int(obj2));
8454 if (SWIG_arg_fail(3)) SWIG_fail;
8455 }
d55e5bfc
RD
8456 }
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 (arg1)->Check(arg2,arg3);
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 Py_INCREF(Py_None); resultobj = Py_None;
8465 return resultobj;
8466 fail:
8467 return NULL;
8468}
8469
8470
c370783e 8471static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8472 PyObject *resultobj;
8473 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8474 wxPoint *arg2 = 0 ;
8475 int result;
8476 wxPoint temp2 ;
8477 PyObject * obj0 = 0 ;
8478 PyObject * obj1 = 0 ;
8479 char *kwnames[] = {
8480 (char *) "self",(char *) "pt", NULL
8481 };
8482
8483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8485 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8486 {
8487 arg2 = &temp2;
8488 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8489 }
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
36ed4f51
RD
8497 {
8498 resultobj = SWIG_From_int((int)(result));
8499 }
d55e5bfc
RD
8500 return resultobj;
8501 fail:
8502 return NULL;
8503}
8504
8505
c370783e 8506static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8507 PyObject *resultobj;
8508 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8509 int arg2 ;
8510 int arg3 ;
8511 int result;
8512 PyObject * obj0 = 0 ;
8513 PyObject * obj1 = 0 ;
8514 PyObject * obj2 = 0 ;
8515 char *kwnames[] = {
8516 (char *) "self",(char *) "x",(char *) "y", NULL
8517 };
8518
8519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8521 if (SWIG_arg_fail(1)) SWIG_fail;
8522 {
8523 arg2 = (int)(SWIG_As_int(obj1));
8524 if (SWIG_arg_fail(2)) SWIG_fail;
8525 }
8526 {
8527 arg3 = (int)(SWIG_As_int(obj2));
8528 if (SWIG_arg_fail(3)) SWIG_fail;
8529 }
d55e5bfc
RD
8530 {
8531 PyThreadState* __tstate = wxPyBeginAllowThreads();
8532 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8533
8534 wxPyEndAllowThreads(__tstate);
8535 if (PyErr_Occurred()) SWIG_fail;
8536 }
36ed4f51
RD
8537 {
8538 resultobj = SWIG_From_int((int)(result));
8539 }
d55e5bfc
RD
8540 return resultobj;
8541 fail:
8542 return NULL;
8543}
8544
8545
c370783e 8546static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8547 PyObject *obj;
8548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8549 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8550 Py_INCREF(obj);
8551 return Py_BuildValue((char *)"");
8552}
c370783e 8553static int _wrap_TextCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
8554 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8555 return 1;
8556}
8557
8558
36ed4f51 8559static PyObject *_wrap_TextCtrlNameStr_get(void) {
d55e5bfc
RD
8560 PyObject *pyobj;
8561
8562 {
8563#if wxUSE_UNICODE
8564 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8565#else
8566 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8567#endif
8568 }
8569 return pyobj;
8570}
8571
8572
c370783e 8573static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8574 PyObject *resultobj;
908b74cd
RD
8575 wxColour const &arg1_defvalue = wxNullColour ;
8576 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d55e5bfc
RD
8577 wxColour const &arg2_defvalue = wxNullColour ;
8578 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8579 wxFont const &arg3_defvalue = wxNullFont ;
8580 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
36ed4f51 8581 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d55e5bfc
RD
8582 wxTextAttr *result;
8583 wxColour temp1 ;
8584 wxColour temp2 ;
8585 PyObject * obj0 = 0 ;
8586 PyObject * obj1 = 0 ;
8587 PyObject * obj2 = 0 ;
8588 PyObject * obj3 = 0 ;
908b74cd
RD
8589 char *kwnames[] = {
8590 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8591 };
d55e5bfc 8592
908b74cd
RD
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8594 if (obj0) {
8595 {
8596 arg1 = &temp1;
8597 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8598 }
d55e5bfc
RD
8599 }
8600 if (obj1) {
8601 {
8602 arg2 = &temp2;
8603 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8604 }
8605 }
8606 if (obj2) {
36ed4f51
RD
8607 {
8608 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8609 if (SWIG_arg_fail(3)) SWIG_fail;
8610 if (arg3 == NULL) {
8611 SWIG_null_ref("wxFont");
8612 }
8613 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8614 }
8615 }
8616 if (obj3) {
36ed4f51
RD
8617 {
8618 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8619 if (SWIG_arg_fail(4)) SWIG_fail;
8620 }
d55e5bfc
RD
8621 }
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8625
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8630 return resultobj;
8631 fail:
8632 return NULL;
8633}
8634
8635
c370783e 8636static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8637 PyObject *resultobj;
8638 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8639 PyObject * obj0 = 0 ;
8640 char *kwnames[] = {
8641 (char *) "self", NULL
8642 };
8643
8644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
36ed4f51
RD
8645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8646 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 delete arg1;
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 Py_INCREF(Py_None); resultobj = Py_None;
8655 return resultobj;
8656 fail:
8657 return NULL;
8658}
8659
8660
c370783e 8661static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8662 PyObject *resultobj;
8663 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8664 PyObject * obj0 = 0 ;
8665 char *kwnames[] = {
8666 (char *) "self", NULL
8667 };
8668
8669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
36ed4f51
RD
8670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8671 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 (arg1)->Init();
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 Py_INCREF(Py_None); resultobj = Py_None;
8680 return resultobj;
8681 fail:
8682 return NULL;
8683}
8684
8685
c370783e 8686static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8687 PyObject *resultobj;
8688 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8689 wxColour *arg2 = 0 ;
8690 wxColour temp2 ;
8691 PyObject * obj0 = 0 ;
8692 PyObject * obj1 = 0 ;
8693 char *kwnames[] = {
8694 (char *) "self",(char *) "colText", NULL
8695 };
8696
8697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8699 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8700 {
8701 arg2 = &temp2;
8702 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8703 }
8704 {
8705 PyThreadState* __tstate = wxPyBeginAllowThreads();
8706 (arg1)->SetTextColour((wxColour const &)*arg2);
8707
8708 wxPyEndAllowThreads(__tstate);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 Py_INCREF(Py_None); resultobj = Py_None;
8712 return resultobj;
8713 fail:
8714 return NULL;
8715}
8716
8717
c370783e 8718static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8719 PyObject *resultobj;
8720 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8721 wxColour *arg2 = 0 ;
8722 wxColour temp2 ;
8723 PyObject * obj0 = 0 ;
8724 PyObject * obj1 = 0 ;
8725 char *kwnames[] = {
8726 (char *) "self",(char *) "colBack", NULL
8727 };
8728
8729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8731 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8732 {
8733 arg2 = &temp2;
8734 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8735 }
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747}
8748
8749
c370783e 8750static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8751 PyObject *resultobj;
8752 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8753 wxFont *arg2 = 0 ;
8754 long arg3 = (long) wxTEXT_ATTR_FONT ;
8755 PyObject * obj0 = 0 ;
8756 PyObject * obj1 = 0 ;
8757 PyObject * obj2 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self",(char *) "font",(char *) "flags", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8764 if (SWIG_arg_fail(1)) SWIG_fail;
8765 {
8766 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8767 if (SWIG_arg_fail(2)) SWIG_fail;
8768 if (arg2 == NULL) {
8769 SWIG_null_ref("wxFont");
8770 }
8771 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8772 }
8773 if (obj2) {
36ed4f51
RD
8774 {
8775 arg3 = (long)(SWIG_As_long(obj2));
8776 if (SWIG_arg_fail(3)) SWIG_fail;
8777 }
d55e5bfc
RD
8778 }
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 Py_INCREF(Py_None); resultobj = Py_None;
8787 return resultobj;
8788 fail:
8789 return NULL;
8790}
8791
8792
c370783e 8793static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8794 PyObject *resultobj;
8795 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
36ed4f51 8796 wxTextAttrAlignment arg2 ;
d55e5bfc
RD
8797 PyObject * obj0 = 0 ;
8798 PyObject * obj1 = 0 ;
8799 char *kwnames[] = {
8800 (char *) "self",(char *) "alignment", NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8805 if (SWIG_arg_fail(1)) SWIG_fail;
8806 {
8807 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8808 if (SWIG_arg_fail(2)) SWIG_fail;
8809 }
d55e5bfc
RD
8810 {
8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
8812 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8813
8814 wxPyEndAllowThreads(__tstate);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
8817 Py_INCREF(Py_None); resultobj = Py_None;
8818 return resultobj;
8819 fail:
8820 return NULL;
8821}
8822
8823
c370783e 8824static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8825 PyObject *resultobj;
8826 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8827 wxArrayInt *arg2 = 0 ;
b411df4a 8828 bool temp2 = false ;
d55e5bfc
RD
8829 PyObject * obj0 = 0 ;
8830 PyObject * obj1 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self",(char *) "tabs", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8838 {
8839 if (! PySequence_Check(obj1)) {
8840 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8841 SWIG_fail;
8842 }
8843 arg2 = new wxArrayInt;
b411df4a 8844 temp2 = true;
d55e5bfc
RD
8845 int i, len=PySequence_Length(obj1);
8846 for (i=0; i<len; i++) {
8847 PyObject* item = PySequence_GetItem(obj1, i);
8848 PyObject* number = PyNumber_Int(item);
8849 arg2->Add(PyInt_AS_LONG(number));
8850 Py_DECREF(item);
8851 Py_DECREF(number);
8852 }
8853 }
8854 {
8855 PyThreadState* __tstate = wxPyBeginAllowThreads();
8856 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8857
8858 wxPyEndAllowThreads(__tstate);
8859 if (PyErr_Occurred()) SWIG_fail;
8860 }
8861 Py_INCREF(Py_None); resultobj = Py_None;
8862 {
8863 if (temp2) delete arg2;
8864 }
8865 return resultobj;
8866 fail:
8867 {
8868 if (temp2) delete arg2;
8869 }
8870 return NULL;
8871}
8872
8873
c370783e 8874static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8875 PyObject *resultobj;
8876 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8877 int arg2 ;
68e533f8 8878 int arg3 = (int) 0 ;
d55e5bfc
RD
8879 PyObject * obj0 = 0 ;
8880 PyObject * obj1 = 0 ;
68e533f8 8881 PyObject * obj2 = 0 ;
d55e5bfc 8882 char *kwnames[] = {
68e533f8 8883 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
8884 };
8885
68e533f8 8886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8888 if (SWIG_arg_fail(1)) SWIG_fail;
8889 {
8890 arg2 = (int)(SWIG_As_int(obj1));
8891 if (SWIG_arg_fail(2)) SWIG_fail;
8892 }
68e533f8 8893 if (obj2) {
36ed4f51
RD
8894 {
8895 arg3 = (int)(SWIG_As_int(obj2));
8896 if (SWIG_arg_fail(3)) SWIG_fail;
8897 }
68e533f8 8898 }
d55e5bfc
RD
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 8901 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 Py_INCREF(Py_None); resultobj = Py_None;
8907 return resultobj;
8908 fail:
8909 return NULL;
8910}
8911
8912
c370783e 8913static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8914 PyObject *resultobj;
8915 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8916 int arg2 ;
8917 PyObject * obj0 = 0 ;
8918 PyObject * obj1 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self",(char *) "indent", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8925 if (SWIG_arg_fail(1)) SWIG_fail;
8926 {
8927 arg2 = (int)(SWIG_As_int(obj1));
8928 if (SWIG_arg_fail(2)) SWIG_fail;
8929 }
d55e5bfc
RD
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 (arg1)->SetRightIndent(arg2);
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 Py_INCREF(Py_None); resultobj = Py_None;
8938 return resultobj;
8939 fail:
8940 return NULL;
8941}
8942
8943
c370783e 8944static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8945 PyObject *resultobj;
8946 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8947 long arg2 ;
8948 PyObject * obj0 = 0 ;
8949 PyObject * obj1 = 0 ;
8950 char *kwnames[] = {
8951 (char *) "self",(char *) "flags", NULL
8952 };
8953
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8956 if (SWIG_arg_fail(1)) SWIG_fail;
8957 {
8958 arg2 = (long)(SWIG_As_long(obj1));
8959 if (SWIG_arg_fail(2)) SWIG_fail;
8960 }
d55e5bfc
RD
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 (arg1)->SetFlags(arg2);
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 Py_INCREF(Py_None); resultobj = Py_None;
8969 return resultobj;
8970 fail:
8971 return NULL;
8972}
8973
8974
c370783e 8975static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8976 PyObject *resultobj;
8977 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8978 bool result;
8979 PyObject * obj0 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "self", NULL
8982 };
8983
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
8985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8986 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
8990
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 {
8995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8996 }
8997 return resultobj;
8998 fail:
8999 return NULL;
9000}
9001
9002
c370783e 9003static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9004 PyObject *resultobj;
9005 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9006 bool result;
9007 PyObject * obj0 = 0 ;
9008 char *kwnames[] = {
9009 (char *) "self", NULL
9010 };
9011
9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9014 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 {
9023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9024 }
9025 return resultobj;
9026 fail:
9027 return NULL;
9028}
9029
9030
c370783e 9031static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9032 PyObject *resultobj;
9033 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9034 bool result;
9035 PyObject * obj0 = 0 ;
9036 char *kwnames[] = {
9037 (char *) "self", NULL
9038 };
9039
9040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
9041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9043 {
9044 PyThreadState* __tstate = wxPyBeginAllowThreads();
9045 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9046
9047 wxPyEndAllowThreads(__tstate);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 }
9050 {
9051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9052 }
9053 return resultobj;
9054 fail:
9055 return NULL;
9056}
9057
9058
c370783e 9059static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9060 PyObject *resultobj;
9061 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9062 bool result;
9063 PyObject * obj0 = 0 ;
9064 char *kwnames[] = {
9065 (char *) "self", NULL
9066 };
9067
9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
9069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9070 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 {
9079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9080 }
9081 return resultobj;
9082 fail:
9083 return NULL;
9084}
9085
9086
c370783e 9087static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9088 PyObject *resultobj;
9089 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9090 bool result;
9091 PyObject * obj0 = 0 ;
9092 char *kwnames[] = {
9093 (char *) "self", NULL
9094 };
9095
9096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
36ed4f51
RD
9097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9099 {
9100 PyThreadState* __tstate = wxPyBeginAllowThreads();
9101 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9102
9103 wxPyEndAllowThreads(__tstate);
9104 if (PyErr_Occurred()) SWIG_fail;
9105 }
9106 {
9107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9108 }
9109 return resultobj;
9110 fail:
9111 return NULL;
9112}
9113
9114
c370783e 9115static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9116 PyObject *resultobj;
9117 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9118 bool result;
9119 PyObject * obj0 = 0 ;
9120 char *kwnames[] = {
9121 (char *) "self", NULL
9122 };
9123
9124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9126 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 {
9135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9136 }
9137 return resultobj;
9138 fail:
9139 return NULL;
9140}
9141
9142
c370783e 9143static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9144 PyObject *resultobj;
9145 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9146 bool result;
9147 PyObject * obj0 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "self", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9155 {
9156 PyThreadState* __tstate = wxPyBeginAllowThreads();
9157 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9158
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
9162 {
9163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9164 }
9165 return resultobj;
9166 fail:
9167 return NULL;
9168}
9169
9170
c370783e 9171static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9172 PyObject *resultobj;
9173 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9174 long arg2 ;
9175 bool result;
9176 PyObject * obj0 = 0 ;
9177 PyObject * obj1 = 0 ;
9178 char *kwnames[] = {
9179 (char *) "self",(char *) "flag", NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9184 if (SWIG_arg_fail(1)) SWIG_fail;
9185 {
9186 arg2 = (long)(SWIG_As_long(obj1));
9187 if (SWIG_arg_fail(2)) SWIG_fail;
9188 }
d55e5bfc
RD
9189 {
9190 PyThreadState* __tstate = wxPyBeginAllowThreads();
9191 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9192
9193 wxPyEndAllowThreads(__tstate);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
9196 {
9197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9198 }
9199 return resultobj;
9200 fail:
9201 return NULL;
9202}
9203
9204
c370783e 9205static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9206 PyObject *resultobj;
9207 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9208 wxColour *result;
9209 PyObject * obj0 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 {
9220 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9221 result = (wxColour *) &_result_ref;
9222 }
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9228 return resultobj;
9229 fail:
9230 return NULL;
9231}
9232
9233
c370783e 9234static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9235 PyObject *resultobj;
9236 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9237 wxColour *result;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9245 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 {
9249 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9250 result = (wxColour *) &_result_ref;
9251 }
9252
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9257 return resultobj;
9258 fail:
9259 return NULL;
9260}
9261
9262
c370783e 9263static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9264 PyObject *resultobj;
9265 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9266 wxFont *result;
9267 PyObject * obj0 = 0 ;
9268 char *kwnames[] = {
9269 (char *) "self", NULL
9270 };
9271
9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
9273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9274 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 {
9278 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9279 result = (wxFont *) &_result_ref;
9280 }
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 {
9286 wxFont* resultptr = new wxFont(*result);
9287 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9288 }
9289 return resultobj;
9290 fail:
9291 return NULL;
9292}
9293
9294
c370783e 9295static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9296 PyObject *resultobj;
9297 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
36ed4f51 9298 wxTextAttrAlignment result;
d55e5bfc
RD
9299 PyObject * obj0 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
9305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9309 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d55e5bfc
RD
9310
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 }
36ed4f51 9314 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9315 return resultobj;
9316 fail:
9317 return NULL;
9318}
9319
9320
c370783e 9321static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9322 PyObject *resultobj;
9323 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9324 wxArrayInt *result;
9325 PyObject * obj0 = 0 ;
9326 char *kwnames[] = {
9327 (char *) "self", NULL
9328 };
9329
9330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
36ed4f51
RD
9331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9333 {
9334 PyThreadState* __tstate = wxPyBeginAllowThreads();
9335 {
9336 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9337 result = (wxArrayInt *) &_result_ref;
9338 }
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
9343 {
9344 resultobj = PyList_New(0);
9345 size_t idx;
9346 for (idx = 0; idx < result->GetCount(); idx += 1) {
9347 PyObject* val = PyInt_FromLong( result->Item(idx) );
9348 PyList_Append(resultobj, val);
9349 Py_DECREF(val);
9350 }
9351 }
9352 return resultobj;
9353 fail:
9354 return NULL;
9355}
9356
9357
c370783e 9358static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9359 PyObject *resultobj;
9360 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9361 long result;
9362 PyObject * obj0 = 0 ;
9363 char *kwnames[] = {
9364 (char *) "self", NULL
9365 };
9366
9367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9373
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
36ed4f51
RD
9377 {
9378 resultobj = SWIG_From_long((long)(result));
9379 }
d55e5bfc
RD
9380 return resultobj;
9381 fail:
9382 return NULL;
9383}
9384
9385
c370783e 9386static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
68e533f8
RD
9387 PyObject *resultobj;
9388 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9389 long result;
9390 PyObject * obj0 = 0 ;
9391 char *kwnames[] = {
9392 (char *) "self", NULL
9393 };
9394
9395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9397 if (SWIG_arg_fail(1)) SWIG_fail;
68e533f8
RD
9398 {
9399 PyThreadState* __tstate = wxPyBeginAllowThreads();
9400 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9401
9402 wxPyEndAllowThreads(__tstate);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
36ed4f51
RD
9405 {
9406 resultobj = SWIG_From_long((long)(result));
9407 }
68e533f8
RD
9408 return resultobj;
9409 fail:
9410 return NULL;
9411}
9412
9413
c370783e 9414static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9415 PyObject *resultobj;
9416 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9417 long result;
9418 PyObject * obj0 = 0 ;
9419 char *kwnames[] = {
9420 (char *) "self", NULL
9421 };
9422
9423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9425 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
36ed4f51
RD
9433 {
9434 resultobj = SWIG_From_long((long)(result));
9435 }
d55e5bfc
RD
9436 return resultobj;
9437 fail:
9438 return NULL;
9439}
9440
9441
c370783e 9442static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9443 PyObject *resultobj;
9444 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9445 long result;
9446 PyObject * obj0 = 0 ;
9447 char *kwnames[] = {
9448 (char *) "self", NULL
9449 };
9450
9451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
9452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9453 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9454 {
9455 PyThreadState* __tstate = wxPyBeginAllowThreads();
9456 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9457
9458 wxPyEndAllowThreads(__tstate);
9459 if (PyErr_Occurred()) SWIG_fail;
9460 }
36ed4f51
RD
9461 {
9462 resultobj = SWIG_From_long((long)(result));
9463 }
d55e5bfc
RD
9464 return resultobj;
9465 fail:
9466 return NULL;
9467}
9468
9469
c370783e 9470static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9471 PyObject *resultobj;
9472 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9473 bool result;
9474 PyObject * obj0 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
36ed4f51
RD
9480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
9484 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9485
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 {
9490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9491 }
9492 return resultobj;
9493 fail:
9494 return NULL;
9495}
9496
9497
c370783e 9498static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9499 PyObject *resultobj;
9500 wxTextAttr *arg1 = 0 ;
9501 wxTextAttr *arg2 = 0 ;
9502 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9503 wxTextAttr result;
9504 PyObject * obj0 = 0 ;
9505 PyObject * obj1 = 0 ;
9506 PyObject * obj2 = 0 ;
9507 char *kwnames[] = {
9508 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9509 };
9510
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9512 {
9513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9514 if (SWIG_arg_fail(1)) SWIG_fail;
9515 if (arg1 == NULL) {
9516 SWIG_null_ref("wxTextAttr");
9517 }
9518 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9519 }
36ed4f51
RD
9520 {
9521 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9522 if (SWIG_arg_fail(2)) SWIG_fail;
9523 if (arg2 == NULL) {
9524 SWIG_null_ref("wxTextAttr");
9525 }
9526 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9527 }
36ed4f51
RD
9528 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9529 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
9530 {
9531 PyThreadState* __tstate = wxPyBeginAllowThreads();
9532 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9533
9534 wxPyEndAllowThreads(__tstate);
9535 if (PyErr_Occurred()) SWIG_fail;
9536 }
9537 {
9538 wxTextAttr * resultptr;
36ed4f51 9539 resultptr = new wxTextAttr((wxTextAttr &)(result));
d55e5bfc
RD
9540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9541 }
9542 return resultobj;
9543 fail:
9544 return NULL;
9545}
9546
9547
c370783e 9548static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9549 PyObject *obj;
9550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9551 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9552 Py_INCREF(obj);
9553 return Py_BuildValue((char *)"");
9554}
c370783e 9555static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9556 PyObject *resultobj;
9557 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 9558 int arg2 = (int) -1 ;
d55e5bfc
RD
9559 wxString const &arg3_defvalue = wxPyEmptyString ;
9560 wxString *arg3 = (wxString *) &arg3_defvalue ;
9561 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9562 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9563 wxSize const &arg5_defvalue = wxDefaultSize ;
9564 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9565 long arg6 = (long) 0 ;
9566 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9567 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9568 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9569 wxString *arg8 = (wxString *) &arg8_defvalue ;
9570 wxTextCtrl *result;
b411df4a 9571 bool temp3 = false ;
d55e5bfc
RD
9572 wxPoint temp4 ;
9573 wxSize temp5 ;
b411df4a 9574 bool temp8 = false ;
d55e5bfc
RD
9575 PyObject * obj0 = 0 ;
9576 PyObject * obj1 = 0 ;
9577 PyObject * obj2 = 0 ;
9578 PyObject * obj3 = 0 ;
9579 PyObject * obj4 = 0 ;
9580 PyObject * obj5 = 0 ;
9581 PyObject * obj6 = 0 ;
9582 PyObject * obj7 = 0 ;
9583 char *kwnames[] = {
9584 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9585 };
9586
bfddbb17 9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
9588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9589 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 9590 if (obj1) {
36ed4f51
RD
9591 {
9592 arg2 = (int)(SWIG_As_int(obj1));
9593 if (SWIG_arg_fail(2)) SWIG_fail;
9594 }
bfddbb17 9595 }
d55e5bfc
RD
9596 if (obj2) {
9597 {
9598 arg3 = wxString_in_helper(obj2);
9599 if (arg3 == NULL) SWIG_fail;
b411df4a 9600 temp3 = true;
d55e5bfc
RD
9601 }
9602 }
9603 if (obj3) {
9604 {
9605 arg4 = &temp4;
9606 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9607 }
9608 }
9609 if (obj4) {
9610 {
9611 arg5 = &temp5;
9612 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9613 }
9614 }
9615 if (obj5) {
36ed4f51
RD
9616 {
9617 arg6 = (long)(SWIG_As_long(obj5));
9618 if (SWIG_arg_fail(6)) SWIG_fail;
9619 }
d55e5bfc
RD
9620 }
9621 if (obj6) {
36ed4f51
RD
9622 {
9623 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9624 if (SWIG_arg_fail(7)) SWIG_fail;
9625 if (arg7 == NULL) {
9626 SWIG_null_ref("wxValidator");
9627 }
9628 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
9629 }
9630 }
9631 if (obj7) {
9632 {
9633 arg8 = wxString_in_helper(obj7);
9634 if (arg8 == NULL) SWIG_fail;
b411df4a 9635 temp8 = true;
d55e5bfc
RD
9636 }
9637 }
9638 {
0439c23b 9639 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9642
9643 wxPyEndAllowThreads(__tstate);
110da5b0 9644 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9645 }
b0f7404b 9646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9647 {
9648 if (temp3)
9649 delete arg3;
9650 }
9651 {
9652 if (temp8)
9653 delete arg8;
9654 }
9655 return resultobj;
9656 fail:
9657 {
9658 if (temp3)
9659 delete arg3;
9660 }
9661 {
9662 if (temp8)
9663 delete arg8;
9664 }
9665 return NULL;
9666}
9667
9668
c370783e 9669static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9670 PyObject *resultobj;
9671 wxTextCtrl *result;
9672 char *kwnames[] = {
9673 NULL
9674 };
9675
9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9677 {
0439c23b 9678 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 result = (wxTextCtrl *)new wxTextCtrl();
9681
9682 wxPyEndAllowThreads(__tstate);
110da5b0 9683 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9684 }
b0f7404b 9685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9686 return resultobj;
9687 fail:
9688 return NULL;
9689}
9690
9691
c370783e 9692static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9693 PyObject *resultobj;
9694 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9695 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 9696 int arg3 = (int) -1 ;
d55e5bfc
RD
9697 wxString const &arg4_defvalue = wxPyEmptyString ;
9698 wxString *arg4 = (wxString *) &arg4_defvalue ;
9699 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9700 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9701 wxSize const &arg6_defvalue = wxDefaultSize ;
9702 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9703 long arg7 = (long) 0 ;
9704 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9705 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9706 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9707 wxString *arg9 = (wxString *) &arg9_defvalue ;
9708 bool result;
b411df4a 9709 bool temp4 = false ;
d55e5bfc
RD
9710 wxPoint temp5 ;
9711 wxSize temp6 ;
b411df4a 9712 bool temp9 = false ;
d55e5bfc
RD
9713 PyObject * obj0 = 0 ;
9714 PyObject * obj1 = 0 ;
9715 PyObject * obj2 = 0 ;
9716 PyObject * obj3 = 0 ;
9717 PyObject * obj4 = 0 ;
9718 PyObject * obj5 = 0 ;
9719 PyObject * obj6 = 0 ;
9720 PyObject * obj7 = 0 ;
9721 PyObject * obj8 = 0 ;
9722 char *kwnames[] = {
9723 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9724 };
9725
bfddbb17 9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
9727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9728 if (SWIG_arg_fail(1)) SWIG_fail;
9729 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9730 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 9731 if (obj2) {
36ed4f51
RD
9732 {
9733 arg3 = (int)(SWIG_As_int(obj2));
9734 if (SWIG_arg_fail(3)) SWIG_fail;
9735 }
bfddbb17 9736 }
d55e5bfc
RD
9737 if (obj3) {
9738 {
9739 arg4 = wxString_in_helper(obj3);
9740 if (arg4 == NULL) SWIG_fail;
b411df4a 9741 temp4 = true;
d55e5bfc
RD
9742 }
9743 }
9744 if (obj4) {
9745 {
9746 arg5 = &temp5;
9747 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9748 }
9749 }
9750 if (obj5) {
9751 {
9752 arg6 = &temp6;
9753 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9754 }
9755 }
9756 if (obj6) {
36ed4f51
RD
9757 {
9758 arg7 = (long)(SWIG_As_long(obj6));
9759 if (SWIG_arg_fail(7)) SWIG_fail;
9760 }
d55e5bfc
RD
9761 }
9762 if (obj7) {
36ed4f51
RD
9763 {
9764 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9765 if (SWIG_arg_fail(8)) SWIG_fail;
9766 if (arg8 == NULL) {
9767 SWIG_null_ref("wxValidator");
9768 }
9769 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
9770 }
9771 }
9772 if (obj8) {
9773 {
9774 arg9 = wxString_in_helper(obj8);
9775 if (arg9 == NULL) SWIG_fail;
b411df4a 9776 temp9 = true;
d55e5bfc
RD
9777 }
9778 }
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
9781 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9782
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) SWIG_fail;
9785 }
9786 {
9787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9788 }
9789 {
9790 if (temp4)
9791 delete arg4;
9792 }
9793 {
9794 if (temp9)
9795 delete arg9;
9796 }
9797 return resultobj;
9798 fail:
9799 {
9800 if (temp4)
9801 delete arg4;
9802 }
9803 {
9804 if (temp9)
9805 delete arg9;
9806 }
9807 return NULL;
9808}
9809
9810
c370783e 9811static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9812 PyObject *resultobj;
9813 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9814 wxString result;
9815 PyObject * obj0 = 0 ;
9816 char *kwnames[] = {
9817 (char *) "self", NULL
9818 };
9819
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
9821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9822 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9823 {
9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
9825 result = ((wxTextCtrl const *)arg1)->GetValue();
9826
9827 wxPyEndAllowThreads(__tstate);
9828 if (PyErr_Occurred()) SWIG_fail;
9829 }
9830 {
9831#if wxUSE_UNICODE
9832 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9833#else
9834 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9835#endif
9836 }
9837 return resultobj;
9838 fail:
9839 return NULL;
9840}
9841
9842
c370783e 9843static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9844 PyObject *resultobj;
9845 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9846 wxString *arg2 = 0 ;
b411df4a 9847 bool temp2 = false ;
d55e5bfc
RD
9848 PyObject * obj0 = 0 ;
9849 PyObject * obj1 = 0 ;
9850 char *kwnames[] = {
9851 (char *) "self",(char *) "value", NULL
9852 };
9853
9854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9857 {
9858 arg2 = wxString_in_helper(obj1);
9859 if (arg2 == NULL) SWIG_fail;
b411df4a 9860 temp2 = true;
d55e5bfc
RD
9861 }
9862 {
9863 PyThreadState* __tstate = wxPyBeginAllowThreads();
9864 (arg1)->SetValue((wxString const &)*arg2);
9865
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) SWIG_fail;
9868 }
9869 Py_INCREF(Py_None); resultobj = Py_None;
9870 {
9871 if (temp2)
9872 delete arg2;
9873 }
9874 return resultobj;
9875 fail:
9876 {
9877 if (temp2)
9878 delete arg2;
9879 }
9880 return NULL;
9881}
9882
9883
c370783e 9884static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9885 PyObject *resultobj;
9886 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9887 long arg2 ;
9888 long arg3 ;
9889 wxString result;
9890 PyObject * obj0 = 0 ;
9891 PyObject * obj1 = 0 ;
9892 PyObject * obj2 = 0 ;
9893 char *kwnames[] = {
9894 (char *) "self",(char *) "from",(char *) "to", NULL
9895 };
9896
9897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9899 if (SWIG_arg_fail(1)) SWIG_fail;
9900 {
9901 arg2 = (long)(SWIG_As_long(obj1));
9902 if (SWIG_arg_fail(2)) SWIG_fail;
9903 }
9904 {
9905 arg3 = (long)(SWIG_As_long(obj2));
9906 if (SWIG_arg_fail(3)) SWIG_fail;
9907 }
d55e5bfc
RD
9908 {
9909 PyThreadState* __tstate = wxPyBeginAllowThreads();
9910 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9911
9912 wxPyEndAllowThreads(__tstate);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 }
9915 {
9916#if wxUSE_UNICODE
9917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9918#else
9919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9920#endif
9921 }
9922 return resultobj;
9923 fail:
9924 return NULL;
9925}
9926
9927
c370783e 9928static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9929 PyObject *resultobj;
9930 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9931 long arg2 ;
9932 int result;
9933 PyObject * obj0 = 0 ;
9934 PyObject * obj1 = 0 ;
9935 char *kwnames[] = {
9936 (char *) "self",(char *) "lineNo", NULL
9937 };
9938
9939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9941 if (SWIG_arg_fail(1)) SWIG_fail;
9942 {
9943 arg2 = (long)(SWIG_As_long(obj1));
9944 if (SWIG_arg_fail(2)) SWIG_fail;
9945 }
d55e5bfc
RD
9946 {
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
9948 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
9949
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
36ed4f51
RD
9953 {
9954 resultobj = SWIG_From_int((int)(result));
9955 }
d55e5bfc
RD
9956 return resultobj;
9957 fail:
9958 return NULL;
9959}
9960
9961
c370783e 9962static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9963 PyObject *resultobj;
9964 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9965 long arg2 ;
9966 wxString result;
9967 PyObject * obj0 = 0 ;
9968 PyObject * obj1 = 0 ;
9969 char *kwnames[] = {
9970 (char *) "self",(char *) "lineNo", NULL
9971 };
9972
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9975 if (SWIG_arg_fail(1)) SWIG_fail;
9976 {
9977 arg2 = (long)(SWIG_As_long(obj1));
9978 if (SWIG_arg_fail(2)) SWIG_fail;
9979 }
d55e5bfc
RD
9980 {
9981 PyThreadState* __tstate = wxPyBeginAllowThreads();
9982 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
9983
9984 wxPyEndAllowThreads(__tstate);
9985 if (PyErr_Occurred()) SWIG_fail;
9986 }
9987 {
9988#if wxUSE_UNICODE
9989 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9990#else
9991 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9992#endif
9993 }
9994 return resultobj;
9995 fail:
9996 return NULL;
9997}
9998
9999
c370783e 10000static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10001 PyObject *resultobj;
10002 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10003 int result;
10004 PyObject * obj0 = 0 ;
10005 char *kwnames[] = {
10006 (char *) "self", NULL
10007 };
10008
10009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
36ed4f51
RD
10010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10011 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10015
10016 wxPyEndAllowThreads(__tstate);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
36ed4f51
RD
10019 {
10020 resultobj = SWIG_From_int((int)(result));
10021 }
d55e5bfc
RD
10022 return resultobj;
10023 fail:
10024 return NULL;
10025}
10026
10027
c370783e 10028static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10029 PyObject *resultobj;
10030 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10031 bool result;
10032 PyObject * obj0 = 0 ;
10033 char *kwnames[] = {
10034 (char *) "self", NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
36ed4f51
RD
10038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10040 {
10041 PyThreadState* __tstate = wxPyBeginAllowThreads();
10042 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10043
10044 wxPyEndAllowThreads(__tstate);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
10047 {
10048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10049 }
10050 return resultobj;
10051 fail:
10052 return NULL;
10053}
10054
10055
c370783e 10056static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10057 PyObject *resultobj;
10058 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10059 bool result;
10060 PyObject * obj0 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "self", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
36ed4f51
RD
10066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10071
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 {
10076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10077 }
10078 return resultobj;
10079 fail:
10080 return NULL;
10081}
10082
10083
c370783e 10084static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10085 PyObject *resultobj;
10086 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10087 bool result;
10088 PyObject * obj0 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
36ed4f51
RD
10094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10095 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10099
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 {
10104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10105 }
10106 return resultobj;
10107 fail:
10108 return NULL;
10109}
10110
10111
c370783e 10112static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10113 PyObject *resultobj;
10114 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10115 bool result;
10116 PyObject * obj0 = 0 ;
10117 char *kwnames[] = {
10118 (char *) "self", NULL
10119 };
10120
10121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
36ed4f51
RD
10122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10123 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 {
10132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10133 }
10134 return resultobj;
10135 fail:
10136 return NULL;
10137}
10138
10139
c370783e 10140static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10141 PyObject *resultobj;
10142 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10143 long *arg2 = (long *) 0 ;
10144 long *arg3 = (long *) 0 ;
10145 long temp2 ;
c370783e 10146 int res2 = 0 ;
d55e5bfc 10147 long temp3 ;
c370783e 10148 int res3 = 0 ;
d55e5bfc
RD
10149 PyObject * obj0 = 0 ;
10150 char *kwnames[] = {
10151 (char *) "self", NULL
10152 };
10153
c370783e
RD
10154 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10155 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
10157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10158 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
10166 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
10167 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10168 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10169 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10170 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10171 return resultobj;
10172 fail:
10173 return NULL;
10174}
10175
10176
c370783e 10177static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10178 PyObject *resultobj;
10179 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10180 wxString result;
10181 PyObject * obj0 = 0 ;
10182 char *kwnames[] = {
10183 (char *) "self", NULL
10184 };
10185
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
10187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10188 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10189 {
10190 PyThreadState* __tstate = wxPyBeginAllowThreads();
10191 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10192
10193 wxPyEndAllowThreads(__tstate);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
10196 {
10197#if wxUSE_UNICODE
10198 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10199#else
10200 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10201#endif
10202 }
10203 return resultobj;
10204 fail:
10205 return NULL;
10206}
10207
10208
c370783e 10209static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10210 PyObject *resultobj;
10211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10212 PyObject * obj0 = 0 ;
10213 char *kwnames[] = {
10214 (char *) "self", NULL
10215 };
10216
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
10218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10219 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10220 {
10221 PyThreadState* __tstate = wxPyBeginAllowThreads();
10222 (arg1)->Clear();
10223
10224 wxPyEndAllowThreads(__tstate);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 Py_INCREF(Py_None); resultobj = Py_None;
10228 return resultobj;
10229 fail:
10230 return NULL;
10231}
10232
10233
c370783e 10234static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10235 PyObject *resultobj;
10236 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10237 long arg2 ;
10238 long arg3 ;
10239 wxString *arg4 = 0 ;
b411df4a 10240 bool temp4 = false ;
d55e5bfc
RD
10241 PyObject * obj0 = 0 ;
10242 PyObject * obj1 = 0 ;
10243 PyObject * obj2 = 0 ;
10244 PyObject * obj3 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10247 };
10248
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10251 if (SWIG_arg_fail(1)) SWIG_fail;
10252 {
10253 arg2 = (long)(SWIG_As_long(obj1));
10254 if (SWIG_arg_fail(2)) SWIG_fail;
10255 }
10256 {
10257 arg3 = (long)(SWIG_As_long(obj2));
10258 if (SWIG_arg_fail(3)) SWIG_fail;
10259 }
d55e5bfc
RD
10260 {
10261 arg4 = wxString_in_helper(obj3);
10262 if (arg4 == NULL) SWIG_fail;
b411df4a 10263 temp4 = true;
d55e5bfc
RD
10264 }
10265 {
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
10267 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10268
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
10272 Py_INCREF(Py_None); resultobj = Py_None;
10273 {
10274 if (temp4)
10275 delete arg4;
10276 }
10277 return resultobj;
10278 fail:
10279 {
10280 if (temp4)
10281 delete arg4;
10282 }
10283 return NULL;
10284}
10285
10286
c370783e 10287static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10288 PyObject *resultobj;
10289 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10290 long arg2 ;
10291 long arg3 ;
10292 PyObject * obj0 = 0 ;
10293 PyObject * obj1 = 0 ;
10294 PyObject * obj2 = 0 ;
10295 char *kwnames[] = {
10296 (char *) "self",(char *) "from",(char *) "to", NULL
10297 };
10298
10299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10301 if (SWIG_arg_fail(1)) SWIG_fail;
10302 {
10303 arg2 = (long)(SWIG_As_long(obj1));
10304 if (SWIG_arg_fail(2)) SWIG_fail;
10305 }
10306 {
10307 arg3 = (long)(SWIG_As_long(obj2));
10308 if (SWIG_arg_fail(3)) SWIG_fail;
10309 }
d55e5bfc
RD
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 (arg1)->Remove(arg2,arg3);
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 Py_INCREF(Py_None); resultobj = Py_None;
10318 return resultobj;
10319 fail:
10320 return NULL;
10321}
10322
10323
c370783e 10324static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10325 PyObject *resultobj;
10326 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10327 wxString *arg2 = 0 ;
10328 bool result;
b411df4a 10329 bool temp2 = false ;
d55e5bfc
RD
10330 PyObject * obj0 = 0 ;
10331 PyObject * obj1 = 0 ;
10332 char *kwnames[] = {
10333 (char *) "self",(char *) "file", NULL
10334 };
10335
10336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10338 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10339 {
10340 arg2 = wxString_in_helper(obj1);
10341 if (arg2 == NULL) SWIG_fail;
b411df4a 10342 temp2 = true;
d55e5bfc
RD
10343 }
10344 {
10345 PyThreadState* __tstate = wxPyBeginAllowThreads();
10346 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10347
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
10351 {
10352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10353 }
10354 {
10355 if (temp2)
10356 delete arg2;
10357 }
10358 return resultobj;
10359 fail:
10360 {
10361 if (temp2)
10362 delete arg2;
10363 }
10364 return NULL;
10365}
10366
10367
c370783e 10368static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10369 PyObject *resultobj;
10370 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10371 wxString const &arg2_defvalue = wxPyEmptyString ;
10372 wxString *arg2 = (wxString *) &arg2_defvalue ;
10373 bool result;
b411df4a 10374 bool temp2 = false ;
d55e5bfc
RD
10375 PyObject * obj0 = 0 ;
10376 PyObject * obj1 = 0 ;
10377 char *kwnames[] = {
10378 (char *) "self",(char *) "file", NULL
10379 };
10380
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10383 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10384 if (obj1) {
10385 {
10386 arg2 = wxString_in_helper(obj1);
10387 if (arg2 == NULL) SWIG_fail;
b411df4a 10388 temp2 = true;
d55e5bfc
RD
10389 }
10390 }
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10394
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 {
10399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10400 }
10401 {
10402 if (temp2)
10403 delete arg2;
10404 }
10405 return resultobj;
10406 fail:
10407 {
10408 if (temp2)
10409 delete arg2;
10410 }
10411 return NULL;
10412}
10413
10414
c370783e 10415static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10416 PyObject *resultobj;
10417 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10418 PyObject * obj0 = 0 ;
10419 char *kwnames[] = {
10420 (char *) "self", NULL
10421 };
10422
10423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
36ed4f51
RD
10424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10425 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10426 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 (arg1)->MarkDirty();
10429
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
10433 Py_INCREF(Py_None); resultobj = Py_None;
10434 return resultobj;
10435 fail:
10436 return NULL;
10437}
10438
10439
c370783e 10440static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10441 PyObject *resultobj;
10442 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10443 PyObject * obj0 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
36ed4f51
RD
10449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10450 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 (arg1)->DiscardEdits();
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 Py_INCREF(Py_None); resultobj = Py_None;
10459 return resultobj;
10460 fail:
10461 return NULL;
10462}
10463
10464
c370783e 10465static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10466 PyObject *resultobj;
10467 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10468 unsigned long arg2 ;
10469 PyObject * obj0 = 0 ;
10470 PyObject * obj1 = 0 ;
10471 char *kwnames[] = {
10472 (char *) "self",(char *) "len", NULL
10473 };
10474
10475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10477 if (SWIG_arg_fail(1)) SWIG_fail;
10478 {
10479 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10480 if (SWIG_arg_fail(2)) SWIG_fail;
10481 }
d55e5bfc
RD
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 (arg1)->SetMaxLength(arg2);
10485
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 Py_INCREF(Py_None); resultobj = Py_None;
10490 return resultobj;
10491 fail:
10492 return NULL;
10493}
10494
10495
c370783e 10496static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10497 PyObject *resultobj;
10498 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10499 wxString *arg2 = 0 ;
b411df4a 10500 bool temp2 = false ;
d55e5bfc
RD
10501 PyObject * obj0 = 0 ;
10502 PyObject * obj1 = 0 ;
10503 char *kwnames[] = {
10504 (char *) "self",(char *) "text", NULL
10505 };
10506
10507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10510 {
10511 arg2 = wxString_in_helper(obj1);
10512 if (arg2 == NULL) SWIG_fail;
b411df4a 10513 temp2 = true;
d55e5bfc
RD
10514 }
10515 {
10516 PyThreadState* __tstate = wxPyBeginAllowThreads();
10517 (arg1)->WriteText((wxString const &)*arg2);
10518
10519 wxPyEndAllowThreads(__tstate);
10520 if (PyErr_Occurred()) SWIG_fail;
10521 }
10522 Py_INCREF(Py_None); resultobj = Py_None;
10523 {
10524 if (temp2)
10525 delete arg2;
10526 }
10527 return resultobj;
10528 fail:
10529 {
10530 if (temp2)
10531 delete arg2;
10532 }
10533 return NULL;
10534}
10535
10536
c370783e 10537static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10538 PyObject *resultobj;
10539 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10540 wxString *arg2 = 0 ;
b411df4a 10541 bool temp2 = false ;
d55e5bfc
RD
10542 PyObject * obj0 = 0 ;
10543 PyObject * obj1 = 0 ;
10544 char *kwnames[] = {
10545 (char *) "self",(char *) "text", NULL
10546 };
10547
10548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10550 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10551 {
10552 arg2 = wxString_in_helper(obj1);
10553 if (arg2 == NULL) SWIG_fail;
b411df4a 10554 temp2 = true;
d55e5bfc
RD
10555 }
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 (arg1)->AppendText((wxString const &)*arg2);
10559
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 Py_INCREF(Py_None); resultobj = Py_None;
10564 {
10565 if (temp2)
10566 delete arg2;
10567 }
10568 return resultobj;
10569 fail:
10570 {
10571 if (temp2)
10572 delete arg2;
10573 }
10574 return NULL;
10575}
10576
10577
c370783e 10578static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10579 PyObject *resultobj;
10580 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10581 wxKeyEvent *arg2 = 0 ;
10582 bool result;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 char *kwnames[] = {
10586 (char *) "self",(char *) "event", NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10591 if (SWIG_arg_fail(1)) SWIG_fail;
10592 {
10593 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10594 if (SWIG_arg_fail(2)) SWIG_fail;
10595 if (arg2 == NULL) {
10596 SWIG_null_ref("wxKeyEvent");
10597 }
10598 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10599 }
10600 {
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10603
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 {
10608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10609 }
10610 return resultobj;
10611 fail:
10612 return NULL;
10613}
10614
10615
c370783e 10616static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10617 PyObject *resultobj;
10618 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10619 long arg2 ;
10620 long arg3 ;
10621 wxTextAttr *arg4 = 0 ;
10622 bool result;
10623 PyObject * obj0 = 0 ;
10624 PyObject * obj1 = 0 ;
10625 PyObject * obj2 = 0 ;
10626 PyObject * obj3 = 0 ;
10627 char *kwnames[] = {
10628 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10629 };
10630
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10633 if (SWIG_arg_fail(1)) SWIG_fail;
10634 {
10635 arg2 = (long)(SWIG_As_long(obj1));
10636 if (SWIG_arg_fail(2)) SWIG_fail;
10637 }
10638 {
10639 arg3 = (long)(SWIG_As_long(obj2));
10640 if (SWIG_arg_fail(3)) SWIG_fail;
10641 }
10642 {
10643 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10644 if (SWIG_arg_fail(4)) SWIG_fail;
10645 if (arg4 == NULL) {
10646 SWIG_null_ref("wxTextAttr");
10647 }
10648 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10649 }
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10653
10654 wxPyEndAllowThreads(__tstate);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 }
10657 {
10658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10659 }
10660 return resultobj;
10661 fail:
10662 return NULL;
10663}
10664
10665
c370783e 10666static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10667 PyObject *resultobj;
10668 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10669 long arg2 ;
10670 wxTextAttr *arg3 = 0 ;
10671 bool result;
10672 PyObject * obj0 = 0 ;
10673 PyObject * obj1 = 0 ;
10674 PyObject * obj2 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self",(char *) "position",(char *) "style", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10681 if (SWIG_arg_fail(1)) SWIG_fail;
10682 {
10683 arg2 = (long)(SWIG_As_long(obj1));
10684 if (SWIG_arg_fail(2)) SWIG_fail;
10685 }
10686 {
10687 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10688 if (SWIG_arg_fail(3)) SWIG_fail;
10689 if (arg3 == NULL) {
10690 SWIG_null_ref("wxTextAttr");
10691 }
10692 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10693 }
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10697
10698 wxPyEndAllowThreads(__tstate);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 }
10701 {
10702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10703 }
10704 return resultobj;
10705 fail:
10706 return NULL;
10707}
10708
10709
c370783e 10710static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10711 PyObject *resultobj;
10712 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10713 wxTextAttr *arg2 = 0 ;
10714 bool result;
10715 PyObject * obj0 = 0 ;
10716 PyObject * obj1 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self",(char *) "style", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10723 if (SWIG_arg_fail(1)) SWIG_fail;
10724 {
10725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10726 if (SWIG_arg_fail(2)) SWIG_fail;
10727 if (arg2 == NULL) {
10728 SWIG_null_ref("wxTextAttr");
10729 }
10730 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10731 }
10732 {
10733 PyThreadState* __tstate = wxPyBeginAllowThreads();
10734 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10735
10736 wxPyEndAllowThreads(__tstate);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 {
10740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10741 }
10742 return resultobj;
10743 fail:
10744 return NULL;
10745}
10746
10747
c370783e 10748static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10749 PyObject *resultobj;
10750 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10751 wxTextAttr *result;
10752 PyObject * obj0 = 0 ;
10753 char *kwnames[] = {
10754 (char *) "self", NULL
10755 };
10756
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
10758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10759 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 {
10763 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10764 result = (wxTextAttr *) &_result_ref;
10765 }
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10771 return resultobj;
10772 fail:
10773 return NULL;
10774}
10775
10776
c370783e 10777static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10778 PyObject *resultobj;
10779 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10780 long arg2 ;
10781 long arg3 ;
10782 long result;
10783 PyObject * obj0 = 0 ;
10784 PyObject * obj1 = 0 ;
10785 PyObject * obj2 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "self",(char *) "x",(char *) "y", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10792 if (SWIG_arg_fail(1)) SWIG_fail;
10793 {
10794 arg2 = (long)(SWIG_As_long(obj1));
10795 if (SWIG_arg_fail(2)) SWIG_fail;
10796 }
10797 {
10798 arg3 = (long)(SWIG_As_long(obj2));
10799 if (SWIG_arg_fail(3)) SWIG_fail;
10800 }
d55e5bfc
RD
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10804
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
36ed4f51
RD
10808 {
10809 resultobj = SWIG_From_long((long)(result));
10810 }
d55e5bfc
RD
10811 return resultobj;
10812 fail:
10813 return NULL;
10814}
10815
10816
c370783e 10817static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10818 PyObject *resultobj;
10819 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10820 long arg2 ;
10821 long *arg3 = (long *) 0 ;
10822 long *arg4 = (long *) 0 ;
10823 long temp3 ;
c370783e 10824 int res3 = 0 ;
d55e5bfc 10825 long temp4 ;
c370783e 10826 int res4 = 0 ;
d55e5bfc
RD
10827 PyObject * obj0 = 0 ;
10828 PyObject * obj1 = 0 ;
10829 char *kwnames[] = {
10830 (char *) "self",(char *) "pos", NULL
10831 };
10832
c370783e
RD
10833 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10834 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10837 if (SWIG_arg_fail(1)) SWIG_fail;
10838 {
10839 arg2 = (long)(SWIG_As_long(obj1));
10840 if (SWIG_arg_fail(2)) SWIG_fail;
10841 }
d55e5bfc
RD
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10845
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
10850 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10851 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10852 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10853 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10854 return resultobj;
10855 fail:
10856 return NULL;
10857}
10858
10859
c370783e 10860static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10861 PyObject *resultobj;
10862 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10863 long arg2 ;
10864 PyObject * obj0 = 0 ;
10865 PyObject * obj1 = 0 ;
10866 char *kwnames[] = {
10867 (char *) "self",(char *) "pos", NULL
10868 };
10869
10870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10872 if (SWIG_arg_fail(1)) SWIG_fail;
10873 {
10874 arg2 = (long)(SWIG_As_long(obj1));
10875 if (SWIG_arg_fail(2)) SWIG_fail;
10876 }
d55e5bfc
RD
10877 {
10878 PyThreadState* __tstate = wxPyBeginAllowThreads();
10879 (arg1)->ShowPosition(arg2);
10880
10881 wxPyEndAllowThreads(__tstate);
10882 if (PyErr_Occurred()) SWIG_fail;
10883 }
10884 Py_INCREF(Py_None); resultobj = Py_None;
10885 return resultobj;
10886 fail:
10887 return NULL;
10888}
10889
10890
c370783e 10891static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10892 PyObject *resultobj;
10893 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10894 wxPoint *arg2 = 0 ;
10895 long *arg3 = (long *) 0 ;
10896 long *arg4 = (long *) 0 ;
36ed4f51 10897 wxTextCtrlHitTestResult result;
d55e5bfc
RD
10898 wxPoint temp2 ;
10899 long temp3 ;
c370783e 10900 int res3 = 0 ;
d55e5bfc 10901 long temp4 ;
c370783e 10902 int res4 = 0 ;
d55e5bfc
RD
10903 PyObject * obj0 = 0 ;
10904 PyObject * obj1 = 0 ;
10905 char *kwnames[] = {
10906 (char *) "self",(char *) "pt", NULL
10907 };
10908
c370783e
RD
10909 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10910 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 10911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10914 {
10915 arg2 = &temp2;
10916 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10917 }
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10920 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
d55e5bfc
RD
10921
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
36ed4f51 10925 resultobj = SWIG_From_int((result));
c370783e
RD
10926 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10927 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10928 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10929 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10930 return resultobj;
10931 fail:
10932 return NULL;
10933}
10934
10935
c370783e 10936static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
4896ac9e
RD
10937 PyObject *resultobj;
10938 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10939 wxPoint *arg2 = 0 ;
10940 long *arg3 = (long *) 0 ;
36ed4f51 10941 wxTextCtrlHitTestResult result;
4896ac9e
RD
10942 wxPoint temp2 ;
10943 long temp3 ;
c370783e 10944 int res3 = 0 ;
4896ac9e
RD
10945 PyObject * obj0 = 0 ;
10946 PyObject * obj1 = 0 ;
10947 char *kwnames[] = {
10948 (char *) "self",(char *) "pt", NULL
10949 };
10950
c370783e 10951 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 10952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10954 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
10955 {
10956 arg2 = &temp2;
10957 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10958 }
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10961 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
36ed4f51 10966 resultobj = SWIG_From_int((result));
c370783e
RD
10967 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10968 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
10969 return resultobj;
10970 fail:
10971 return NULL;
10972}
10973
10974
c370783e 10975static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10976 PyObject *resultobj;
10977 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10978 PyObject * obj0 = 0 ;
10979 char *kwnames[] = {
10980 (char *) "self", NULL
10981 };
10982
10983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
36ed4f51
RD
10984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10985 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10986 {
10987 PyThreadState* __tstate = wxPyBeginAllowThreads();
10988 (arg1)->Copy();
10989
10990 wxPyEndAllowThreads(__tstate);
10991 if (PyErr_Occurred()) SWIG_fail;
10992 }
10993 Py_INCREF(Py_None); resultobj = Py_None;
10994 return resultobj;
10995 fail:
10996 return NULL;
10997}
10998
10999
c370783e 11000static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11001 PyObject *resultobj;
11002 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11003 PyObject * obj0 = 0 ;
11004 char *kwnames[] = {
11005 (char *) "self", NULL
11006 };
11007
11008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
36ed4f51
RD
11009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11010 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 (arg1)->Cut();
11014
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 Py_INCREF(Py_None); resultobj = Py_None;
11019 return resultobj;
11020 fail:
11021 return NULL;
11022}
11023
11024
c370783e 11025static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11026 PyObject *resultobj;
11027 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11028 PyObject * obj0 = 0 ;
11029 char *kwnames[] = {
11030 (char *) "self", NULL
11031 };
11032
11033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
36ed4f51
RD
11034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11035 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 (arg1)->Paste();
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 Py_INCREF(Py_None); resultobj = Py_None;
11044 return resultobj;
11045 fail:
11046 return NULL;
11047}
11048
11049
c370783e 11050static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11051 PyObject *resultobj;
11052 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11053 bool result;
11054 PyObject * obj0 = 0 ;
11055 char *kwnames[] = {
11056 (char *) "self", NULL
11057 };
11058
11059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
36ed4f51
RD
11060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11061 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11062 {
11063 PyThreadState* __tstate = wxPyBeginAllowThreads();
11064 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11065
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 {
11070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11071 }
11072 return resultobj;
11073 fail:
11074 return NULL;
11075}
11076
11077
c370783e 11078static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11079 PyObject *resultobj;
11080 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11081 bool result;
11082 PyObject * obj0 = 0 ;
11083 char *kwnames[] = {
11084 (char *) "self", NULL
11085 };
11086
11087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
36ed4f51
RD
11088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11089 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11090 {
11091 PyThreadState* __tstate = wxPyBeginAllowThreads();
11092 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11093
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 {
11098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11099 }
11100 return resultobj;
11101 fail:
11102 return NULL;
11103}
11104
11105
c370783e 11106static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11107 PyObject *resultobj;
11108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11109 bool result;
11110 PyObject * obj0 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "self", NULL
11113 };
11114
11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
36ed4f51
RD
11116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11118 {
11119 PyThreadState* __tstate = wxPyBeginAllowThreads();
11120 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11121
11122 wxPyEndAllowThreads(__tstate);
11123 if (PyErr_Occurred()) SWIG_fail;
11124 }
11125 {
11126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11127 }
11128 return resultobj;
11129 fail:
11130 return NULL;
11131}
11132
11133
c370783e 11134static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11135 PyObject *resultobj;
11136 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11137 PyObject * obj0 = 0 ;
11138 char *kwnames[] = {
11139 (char *) "self", NULL
11140 };
11141
11142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11144 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 (arg1)->Undo();
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 Py_INCREF(Py_None); resultobj = Py_None;
11153 return resultobj;
11154 fail:
11155 return NULL;
11156}
11157
11158
c370783e 11159static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11160 PyObject *resultobj;
11161 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11162 PyObject * obj0 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "self", NULL
11165 };
11166
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11169 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11170 {
11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
11172 (arg1)->Redo();
11173
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 Py_INCREF(Py_None); resultobj = Py_None;
11178 return resultobj;
11179 fail:
11180 return NULL;
11181}
11182
11183
c370783e 11184static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11185 PyObject *resultobj;
11186 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11187 bool result;
11188 PyObject * obj0 = 0 ;
11189 char *kwnames[] = {
11190 (char *) "self", NULL
11191 };
11192
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11195 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11199
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 {
11204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11205 }
11206 return resultobj;
11207 fail:
11208 return NULL;
11209}
11210
11211
c370783e 11212static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11213 PyObject *resultobj;
11214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11215 bool result;
11216 PyObject * obj0 = 0 ;
11217 char *kwnames[] = {
11218 (char *) "self", NULL
11219 };
11220
11221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11223 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 {
11232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11233 }
11234 return resultobj;
11235 fail:
11236 return NULL;
11237}
11238
11239
c370783e 11240static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11241 PyObject *resultobj;
11242 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11243 long arg2 ;
11244 PyObject * obj0 = 0 ;
11245 PyObject * obj1 = 0 ;
11246 char *kwnames[] = {
11247 (char *) "self",(char *) "pos", NULL
11248 };
11249
11250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11252 if (SWIG_arg_fail(1)) SWIG_fail;
11253 {
11254 arg2 = (long)(SWIG_As_long(obj1));
11255 if (SWIG_arg_fail(2)) SWIG_fail;
11256 }
d55e5bfc
RD
11257 {
11258 PyThreadState* __tstate = wxPyBeginAllowThreads();
11259 (arg1)->SetInsertionPoint(arg2);
11260
11261 wxPyEndAllowThreads(__tstate);
11262 if (PyErr_Occurred()) SWIG_fail;
11263 }
11264 Py_INCREF(Py_None); resultobj = Py_None;
11265 return resultobj;
11266 fail:
11267 return NULL;
11268}
11269
11270
c370783e 11271static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11272 PyObject *resultobj;
11273 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11274 PyObject * obj0 = 0 ;
11275 char *kwnames[] = {
11276 (char *) "self", NULL
11277 };
11278
11279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11281 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 (arg1)->SetInsertionPointEnd();
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 Py_INCREF(Py_None); resultobj = Py_None;
11290 return resultobj;
11291 fail:
11292 return NULL;
11293}
11294
11295
c370783e 11296static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11297 PyObject *resultobj;
11298 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11299 long result;
11300 PyObject * obj0 = 0 ;
11301 char *kwnames[] = {
11302 (char *) "self", NULL
11303 };
11304
11305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
11306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11308 {
11309 PyThreadState* __tstate = wxPyBeginAllowThreads();
11310 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11311
11312 wxPyEndAllowThreads(__tstate);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 }
36ed4f51
RD
11315 {
11316 resultobj = SWIG_From_long((long)(result));
11317 }
d55e5bfc
RD
11318 return resultobj;
11319 fail:
11320 return NULL;
11321}
11322
11323
c370783e 11324static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11325 PyObject *resultobj;
11326 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11327 long result;
11328 PyObject * obj0 = 0 ;
11329 char *kwnames[] = {
11330 (char *) "self", NULL
11331 };
11332
11333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
11334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11335 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11336 {
11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
11338 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11339
11340 wxPyEndAllowThreads(__tstate);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 }
36ed4f51
RD
11343 {
11344 resultobj = SWIG_From_long((long)(result));
11345 }
d55e5bfc
RD
11346 return resultobj;
11347 fail:
11348 return NULL;
11349}
11350
11351
c370783e 11352static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11353 PyObject *resultobj;
11354 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11355 long arg2 ;
11356 long arg3 ;
11357 PyObject * obj0 = 0 ;
11358 PyObject * obj1 = 0 ;
11359 PyObject * obj2 = 0 ;
11360 char *kwnames[] = {
11361 (char *) "self",(char *) "from",(char *) "to", NULL
11362 };
11363
11364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11366 if (SWIG_arg_fail(1)) SWIG_fail;
11367 {
11368 arg2 = (long)(SWIG_As_long(obj1));
11369 if (SWIG_arg_fail(2)) SWIG_fail;
11370 }
11371 {
11372 arg3 = (long)(SWIG_As_long(obj2));
11373 if (SWIG_arg_fail(3)) SWIG_fail;
11374 }
d55e5bfc
RD
11375 {
11376 PyThreadState* __tstate = wxPyBeginAllowThreads();
11377 (arg1)->SetSelection(arg2,arg3);
11378
11379 wxPyEndAllowThreads(__tstate);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
11382 Py_INCREF(Py_None); resultobj = Py_None;
11383 return resultobj;
11384 fail:
11385 return NULL;
11386}
11387
11388
c370783e 11389static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11390 PyObject *resultobj;
11391 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11392 PyObject * obj0 = 0 ;
11393 char *kwnames[] = {
11394 (char *) "self", NULL
11395 };
11396
11397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
11398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 (arg1)->SelectAll();
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
11407 Py_INCREF(Py_None); resultobj = Py_None;
11408 return resultobj;
11409 fail:
11410 return NULL;
11411}
11412
11413
c370783e 11414static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11415 PyObject *resultobj;
11416 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11417 bool arg2 ;
11418 PyObject * obj0 = 0 ;
11419 PyObject * obj1 = 0 ;
11420 char *kwnames[] = {
11421 (char *) "self",(char *) "editable", NULL
11422 };
11423
11424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11426 if (SWIG_arg_fail(1)) SWIG_fail;
11427 {
11428 arg2 = (bool)(SWIG_As_bool(obj1));
11429 if (SWIG_arg_fail(2)) SWIG_fail;
11430 }
d55e5bfc
RD
11431 {
11432 PyThreadState* __tstate = wxPyBeginAllowThreads();
11433 (arg1)->SetEditable(arg2);
11434
11435 wxPyEndAllowThreads(__tstate);
11436 if (PyErr_Occurred()) SWIG_fail;
11437 }
11438 Py_INCREF(Py_None); resultobj = Py_None;
11439 return resultobj;
11440 fail:
11441 return NULL;
11442}
11443
11444
c370783e 11445static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11446 PyObject *resultobj;
11447 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11448 wxString *arg2 = 0 ;
b411df4a 11449 bool temp2 = false ;
d55e5bfc
RD
11450 PyObject * obj0 = 0 ;
11451 PyObject * obj1 = 0 ;
11452 char *kwnames[] = {
11453 (char *) "self",(char *) "text", NULL
11454 };
11455
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11458 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11459 {
11460 arg2 = wxString_in_helper(obj1);
11461 if (arg2 == NULL) SWIG_fail;
b411df4a 11462 temp2 = true;
d55e5bfc
RD
11463 }
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 Py_INCREF(Py_None); resultobj = Py_None;
11472 {
11473 if (temp2)
11474 delete arg2;
11475 }
11476 return resultobj;
11477 fail:
11478 {
11479 if (temp2)
11480 delete arg2;
11481 }
11482 return NULL;
11483}
11484
11485
c370783e 11486static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11487 PyObject *resultobj;
11488 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11489 long arg2 ;
11490 long arg3 ;
11491 wxString result;
11492 PyObject * obj0 = 0 ;
11493 PyObject * obj1 = 0 ;
11494 PyObject * obj2 = 0 ;
11495 char *kwnames[] = {
11496 (char *) "self",(char *) "from",(char *) "to", NULL
11497 };
11498
11499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11501 if (SWIG_arg_fail(1)) SWIG_fail;
11502 {
11503 arg2 = (long)(SWIG_As_long(obj1));
11504 if (SWIG_arg_fail(2)) SWIG_fail;
11505 }
11506 {
11507 arg3 = (long)(SWIG_As_long(obj2));
11508 if (SWIG_arg_fail(3)) SWIG_fail;
11509 }
d55e5bfc
RD
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 {
11518#if wxUSE_UNICODE
11519 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11520#else
11521 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11522#endif
11523 }
11524 return resultobj;
11525 fail:
11526 return NULL;
11527}
11528
11529
c370783e 11530static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 11531 PyObject *resultobj;
36ed4f51 11532 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
11533 wxVisualAttributes result;
11534 PyObject * obj0 = 0 ;
11535 char *kwnames[] = {
11536 (char *) "variant", NULL
11537 };
11538
11539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11540 if (obj0) {
36ed4f51
RD
11541 {
11542 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11543 if (SWIG_arg_fail(1)) SWIG_fail;
11544 }
f20a2e1f
RD
11545 }
11546 {
0439c23b 11547 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
11548 PyThreadState* __tstate = wxPyBeginAllowThreads();
11549 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11550
11551 wxPyEndAllowThreads(__tstate);
110da5b0 11552 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11553 }
11554 {
11555 wxVisualAttributes * resultptr;
36ed4f51 11556 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
11557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11558 }
11559 return resultobj;
11560 fail:
11561 return NULL;
11562}
11563
11564
c370783e 11565static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11566 PyObject *obj;
11567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11568 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11569 Py_INCREF(obj);
11570 return Py_BuildValue((char *)"");
11571}
c370783e 11572static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11573 PyObject *resultobj;
11574 int arg1 ;
11575 wxMouseEvent *arg2 = 0 ;
11576 long arg3 ;
11577 long arg4 ;
11578 wxTextUrlEvent *result;
11579 PyObject * obj0 = 0 ;
11580 PyObject * obj1 = 0 ;
11581 PyObject * obj2 = 0 ;
11582 PyObject * obj3 = 0 ;
11583 char *kwnames[] = {
11584 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11585 };
11586
11587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
11588 {
11589 arg1 = (int)(SWIG_As_int(obj0));
11590 if (SWIG_arg_fail(1)) SWIG_fail;
11591 }
11592 {
11593 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11594 if (SWIG_arg_fail(2)) SWIG_fail;
11595 if (arg2 == NULL) {
11596 SWIG_null_ref("wxMouseEvent");
11597 }
11598 if (SWIG_arg_fail(2)) SWIG_fail;
11599 }
11600 {
11601 arg3 = (long)(SWIG_As_long(obj2));
11602 if (SWIG_arg_fail(3)) SWIG_fail;
11603 }
11604 {
11605 arg4 = (long)(SWIG_As_long(obj3));
11606 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 11607 }
d55e5bfc
RD
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11611
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11616 return resultobj;
11617 fail:
11618 return NULL;
11619}
11620
11621
c370783e 11622static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11623 PyObject *resultobj;
11624 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11625 wxMouseEvent *result;
11626 PyObject * obj0 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
11632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 {
11637 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11638 result = (wxMouseEvent *) &_result_ref;
11639 }
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11645 return resultobj;
11646 fail:
11647 return NULL;
11648}
11649
11650
c370783e 11651static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11652 PyObject *resultobj;
11653 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11654 long result;
11655 PyObject * obj0 = 0 ;
11656 char *kwnames[] = {
11657 (char *) "self", NULL
11658 };
11659
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
11661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11662 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
36ed4f51
RD
11670 {
11671 resultobj = SWIG_From_long((long)(result));
11672 }
d55e5bfc
RD
11673 return resultobj;
11674 fail:
11675 return NULL;
11676}
11677
11678
c370783e 11679static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11680 PyObject *resultobj;
11681 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11682 long result;
11683 PyObject * obj0 = 0 ;
11684 char *kwnames[] = {
11685 (char *) "self", NULL
11686 };
11687
11688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11691 {
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11694
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
36ed4f51
RD
11698 {
11699 resultobj = SWIG_From_long((long)(result));
11700 }
d55e5bfc
RD
11701 return resultobj;
11702 fail:
11703 return NULL;
11704}
11705
11706
c370783e 11707static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11708 PyObject *obj;
11709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11710 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11711 Py_INCREF(obj);
11712 return Py_BuildValue((char *)"");
11713}
c370783e 11714static int _wrap_ScrollBarNameStr_set(PyObject *) {
d55e5bfc
RD
11715 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11716 return 1;
11717}
11718
11719
36ed4f51 11720static PyObject *_wrap_ScrollBarNameStr_get(void) {
d55e5bfc
RD
11721 PyObject *pyobj;
11722
11723 {
11724#if wxUSE_UNICODE
11725 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11726#else
11727 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11728#endif
11729 }
11730 return pyobj;
11731}
11732
11733
c370783e 11734static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11735 PyObject *resultobj;
11736 wxWindow *arg1 = (wxWindow *) 0 ;
11737 int arg2 = (int) -1 ;
11738 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11739 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11740 wxSize const &arg4_defvalue = wxDefaultSize ;
11741 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11742 long arg5 = (long) wxSB_HORIZONTAL ;
11743 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11744 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11745 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11746 wxString *arg7 = (wxString *) &arg7_defvalue ;
11747 wxScrollBar *result;
11748 wxPoint temp3 ;
11749 wxSize temp4 ;
b411df4a 11750 bool temp7 = false ;
d55e5bfc
RD
11751 PyObject * obj0 = 0 ;
11752 PyObject * obj1 = 0 ;
11753 PyObject * obj2 = 0 ;
11754 PyObject * obj3 = 0 ;
11755 PyObject * obj4 = 0 ;
11756 PyObject * obj5 = 0 ;
11757 PyObject * obj6 = 0 ;
11758 char *kwnames[] = {
11759 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11760 };
11761
11762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11764 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11765 if (obj1) {
36ed4f51
RD
11766 {
11767 arg2 = (int)(SWIG_As_int(obj1));
11768 if (SWIG_arg_fail(2)) SWIG_fail;
11769 }
d55e5bfc
RD
11770 }
11771 if (obj2) {
11772 {
11773 arg3 = &temp3;
11774 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11775 }
11776 }
11777 if (obj3) {
11778 {
11779 arg4 = &temp4;
11780 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11781 }
11782 }
11783 if (obj4) {
36ed4f51
RD
11784 {
11785 arg5 = (long)(SWIG_As_long(obj4));
11786 if (SWIG_arg_fail(5)) SWIG_fail;
11787 }
d55e5bfc
RD
11788 }
11789 if (obj5) {
36ed4f51
RD
11790 {
11791 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11792 if (SWIG_arg_fail(6)) SWIG_fail;
11793 if (arg6 == NULL) {
11794 SWIG_null_ref("wxValidator");
11795 }
11796 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
11797 }
11798 }
11799 if (obj6) {
11800 {
11801 arg7 = wxString_in_helper(obj6);
11802 if (arg7 == NULL) SWIG_fail;
b411df4a 11803 temp7 = true;
d55e5bfc
RD
11804 }
11805 }
11806 {
0439c23b 11807 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11810
11811 wxPyEndAllowThreads(__tstate);
110da5b0 11812 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11813 }
11814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11815 {
11816 if (temp7)
11817 delete arg7;
11818 }
11819 return resultobj;
11820 fail:
11821 {
11822 if (temp7)
11823 delete arg7;
11824 }
11825 return NULL;
11826}
11827
11828
c370783e 11829static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11830 PyObject *resultobj;
11831 wxScrollBar *result;
11832 char *kwnames[] = {
11833 NULL
11834 };
11835
11836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11837 {
0439c23b 11838 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11839 PyThreadState* __tstate = wxPyBeginAllowThreads();
11840 result = (wxScrollBar *)new wxScrollBar();
11841
11842 wxPyEndAllowThreads(__tstate);
110da5b0 11843 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11844 }
11845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11846 return resultobj;
11847 fail:
11848 return NULL;
11849}
11850
11851
c370783e 11852static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11853 PyObject *resultobj;
11854 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11855 wxWindow *arg2 = (wxWindow *) 0 ;
11856 int arg3 = (int) -1 ;
11857 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11858 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11859 wxSize const &arg5_defvalue = wxDefaultSize ;
11860 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11861 long arg6 = (long) wxSB_HORIZONTAL ;
11862 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11863 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11864 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11865 wxString *arg8 = (wxString *) &arg8_defvalue ;
11866 bool result;
11867 wxPoint temp4 ;
11868 wxSize temp5 ;
b411df4a 11869 bool temp8 = false ;
d55e5bfc
RD
11870 PyObject * obj0 = 0 ;
11871 PyObject * obj1 = 0 ;
11872 PyObject * obj2 = 0 ;
11873 PyObject * obj3 = 0 ;
11874 PyObject * obj4 = 0 ;
11875 PyObject * obj5 = 0 ;
11876 PyObject * obj6 = 0 ;
11877 PyObject * obj7 = 0 ;
11878 char *kwnames[] = {
11879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11880 };
11881
11882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
11883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11884 if (SWIG_arg_fail(1)) SWIG_fail;
11885 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11886 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11887 if (obj2) {
36ed4f51
RD
11888 {
11889 arg3 = (int)(SWIG_As_int(obj2));
11890 if (SWIG_arg_fail(3)) SWIG_fail;
11891 }
d55e5bfc
RD
11892 }
11893 if (obj3) {
11894 {
11895 arg4 = &temp4;
11896 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11897 }
11898 }
11899 if (obj4) {
11900 {
11901 arg5 = &temp5;
11902 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11903 }
11904 }
11905 if (obj5) {
36ed4f51
RD
11906 {
11907 arg6 = (long)(SWIG_As_long(obj5));
11908 if (SWIG_arg_fail(6)) SWIG_fail;
11909 }
d55e5bfc
RD
11910 }
11911 if (obj6) {
36ed4f51
RD
11912 {
11913 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11914 if (SWIG_arg_fail(7)) SWIG_fail;
11915 if (arg7 == NULL) {
11916 SWIG_null_ref("wxValidator");
11917 }
11918 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
11919 }
11920 }
11921 if (obj7) {
11922 {
11923 arg8 = wxString_in_helper(obj7);
11924 if (arg8 == NULL) SWIG_fail;
b411df4a 11925 temp8 = true;
d55e5bfc
RD
11926 }
11927 }
11928 {
11929 PyThreadState* __tstate = wxPyBeginAllowThreads();
11930 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11931
11932 wxPyEndAllowThreads(__tstate);
11933 if (PyErr_Occurred()) SWIG_fail;
11934 }
11935 {
11936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11937 }
11938 {
11939 if (temp8)
11940 delete arg8;
11941 }
11942 return resultobj;
11943 fail:
11944 {
11945 if (temp8)
11946 delete arg8;
11947 }
11948 return NULL;
11949}
11950
11951
c370783e 11952static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11953 PyObject *resultobj;
11954 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11955 int result;
11956 PyObject * obj0 = 0 ;
11957 char *kwnames[] = {
11958 (char *) "self", NULL
11959 };
11960
11961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
11962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11964 {
11965 PyThreadState* __tstate = wxPyBeginAllowThreads();
11966 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
11967
11968 wxPyEndAllowThreads(__tstate);
11969 if (PyErr_Occurred()) SWIG_fail;
11970 }
36ed4f51
RD
11971 {
11972 resultobj = SWIG_From_int((int)(result));
11973 }
d55e5bfc
RD
11974 return resultobj;
11975 fail:
11976 return NULL;
11977}
11978
11979
c370783e 11980static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11981 PyObject *resultobj;
11982 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11983 int result;
11984 PyObject * obj0 = 0 ;
11985 char *kwnames[] = {
11986 (char *) "self", NULL
11987 };
11988
11989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
11990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11991 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
11995
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
36ed4f51
RD
11999 {
12000 resultobj = SWIG_From_int((int)(result));
12001 }
d55e5bfc
RD
12002 return resultobj;
12003 fail:
12004 return NULL;
12005}
12006
12007
c370783e 12008static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12009 PyObject *resultobj;
12010 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12011 int result;
12012 PyObject * obj0 = 0 ;
12013 char *kwnames[] = {
12014 (char *) "self", NULL
12015 };
12016
12017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
12018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12020 {
12021 PyThreadState* __tstate = wxPyBeginAllowThreads();
12022 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12023
12024 wxPyEndAllowThreads(__tstate);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
36ed4f51
RD
12027 {
12028 resultobj = SWIG_From_int((int)(result));
12029 }
d55e5bfc
RD
12030 return resultobj;
12031 fail:
12032 return NULL;
12033}
12034
12035
c370783e 12036static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12037 PyObject *resultobj;
12038 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12039 int result;
12040 PyObject * obj0 = 0 ;
12041 char *kwnames[] = {
12042 (char *) "self", NULL
12043 };
12044
12045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
36ed4f51
RD
12046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12047 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 result = (int)((wxScrollBar const *)arg1)->GetRange();
12051
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
36ed4f51
RD
12055 {
12056 resultobj = SWIG_From_int((int)(result));
12057 }
d55e5bfc
RD
12058 return resultobj;
12059 fail:
12060 return NULL;
12061}
12062
12063
c370783e 12064static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12065 PyObject *resultobj;
12066 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12067 bool result;
12068 PyObject * obj0 = 0 ;
12069 char *kwnames[] = {
12070 (char *) "self", NULL
12071 };
12072
12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
12074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12075 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 {
12084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12085 }
12086 return resultobj;
12087 fail:
12088 return NULL;
12089}
12090
12091
c370783e 12092static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12093 PyObject *resultobj;
12094 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12095 int arg2 ;
12096 PyObject * obj0 = 0 ;
12097 PyObject * obj1 = 0 ;
12098 char *kwnames[] = {
12099 (char *) "self",(char *) "viewStart", NULL
12100 };
12101
12102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12104 if (SWIG_arg_fail(1)) SWIG_fail;
12105 {
12106 arg2 = (int)(SWIG_As_int(obj1));
12107 if (SWIG_arg_fail(2)) SWIG_fail;
12108 }
d55e5bfc
RD
12109 {
12110 PyThreadState* __tstate = wxPyBeginAllowThreads();
12111 (arg1)->SetThumbPosition(arg2);
12112
12113 wxPyEndAllowThreads(__tstate);
12114 if (PyErr_Occurred()) SWIG_fail;
12115 }
12116 Py_INCREF(Py_None); resultobj = Py_None;
12117 return resultobj;
12118 fail:
12119 return NULL;
12120}
12121
12122
c370783e 12123static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12124 PyObject *resultobj;
12125 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12126 int arg2 ;
12127 int arg3 ;
12128 int arg4 ;
12129 int arg5 ;
b411df4a 12130 bool arg6 = (bool) true ;
d55e5bfc
RD
12131 PyObject * obj0 = 0 ;
12132 PyObject * obj1 = 0 ;
12133 PyObject * obj2 = 0 ;
12134 PyObject * obj3 = 0 ;
12135 PyObject * obj4 = 0 ;
12136 PyObject * obj5 = 0 ;
12137 char *kwnames[] = {
12138 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12139 };
12140
12141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12143 if (SWIG_arg_fail(1)) SWIG_fail;
12144 {
12145 arg2 = (int)(SWIG_As_int(obj1));
12146 if (SWIG_arg_fail(2)) SWIG_fail;
12147 }
12148 {
12149 arg3 = (int)(SWIG_As_int(obj2));
12150 if (SWIG_arg_fail(3)) SWIG_fail;
12151 }
12152 {
12153 arg4 = (int)(SWIG_As_int(obj3));
12154 if (SWIG_arg_fail(4)) SWIG_fail;
12155 }
12156 {
12157 arg5 = (int)(SWIG_As_int(obj4));
12158 if (SWIG_arg_fail(5)) SWIG_fail;
12159 }
d55e5bfc 12160 if (obj5) {
36ed4f51
RD
12161 {
12162 arg6 = (bool)(SWIG_As_bool(obj5));
12163 if (SWIG_arg_fail(6)) SWIG_fail;
12164 }
d55e5bfc
RD
12165 }
12166 {
12167 PyThreadState* __tstate = wxPyBeginAllowThreads();
12168 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12169
12170 wxPyEndAllowThreads(__tstate);
12171 if (PyErr_Occurred()) SWIG_fail;
12172 }
12173 Py_INCREF(Py_None); resultobj = Py_None;
12174 return resultobj;
12175 fail:
12176 return NULL;
12177}
12178
12179
c370783e 12180static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 12181 PyObject *resultobj;
36ed4f51 12182 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
12183 wxVisualAttributes result;
12184 PyObject * obj0 = 0 ;
12185 char *kwnames[] = {
12186 (char *) "variant", NULL
12187 };
12188
12189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12190 if (obj0) {
36ed4f51
RD
12191 {
12192 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12193 if (SWIG_arg_fail(1)) SWIG_fail;
12194 }
f20a2e1f
RD
12195 }
12196 {
0439c23b 12197 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12198 PyThreadState* __tstate = wxPyBeginAllowThreads();
12199 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12200
12201 wxPyEndAllowThreads(__tstate);
110da5b0 12202 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12203 }
12204 {
12205 wxVisualAttributes * resultptr;
36ed4f51 12206 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
12207 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12208 }
12209 return resultobj;
12210 fail:
12211 return NULL;
12212}
12213
12214
c370783e 12215static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12216 PyObject *obj;
12217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12218 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12219 Py_INCREF(obj);
12220 return Py_BuildValue((char *)"");
12221}
c370783e 12222static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
d55e5bfc
RD
12223 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12224 return 1;
12225}
12226
12227
36ed4f51 12228static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
d55e5bfc
RD
12229 PyObject *pyobj;
12230
12231 {
12232#if wxUSE_UNICODE
12233 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12234#else
12235 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12236#endif
12237 }
12238 return pyobj;
12239}
12240
12241
c370783e 12242static int _wrap_SpinCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
12243 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12244 return 1;
12245}
12246
12247
36ed4f51 12248static PyObject *_wrap_SpinCtrlNameStr_get(void) {
d55e5bfc
RD
12249 PyObject *pyobj;
12250
12251 {
12252#if wxUSE_UNICODE
12253 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12254#else
12255 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12256#endif
12257 }
12258 return pyobj;
12259}
12260
12261
c370783e 12262static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12263 PyObject *resultobj;
12264 wxWindow *arg1 = (wxWindow *) 0 ;
12265 int arg2 = (int) -1 ;
12266 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12267 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12268 wxSize const &arg4_defvalue = wxDefaultSize ;
12269 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12270 long arg5 = (long) wxSP_HORIZONTAL ;
12271 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12272 wxString *arg6 = (wxString *) &arg6_defvalue ;
12273 wxSpinButton *result;
12274 wxPoint temp3 ;
12275 wxSize temp4 ;
b411df4a 12276 bool temp6 = false ;
d55e5bfc
RD
12277 PyObject * obj0 = 0 ;
12278 PyObject * obj1 = 0 ;
12279 PyObject * obj2 = 0 ;
12280 PyObject * obj3 = 0 ;
12281 PyObject * obj4 = 0 ;
12282 PyObject * obj5 = 0 ;
12283 char *kwnames[] = {
12284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12285 };
12286
12287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12289 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12290 if (obj1) {
36ed4f51
RD
12291 {
12292 arg2 = (int)(SWIG_As_int(obj1));
12293 if (SWIG_arg_fail(2)) SWIG_fail;
12294 }
d55e5bfc
RD
12295 }
12296 if (obj2) {
12297 {
12298 arg3 = &temp3;
12299 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12300 }
12301 }
12302 if (obj3) {
12303 {
12304 arg4 = &temp4;
12305 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12306 }
12307 }
12308 if (obj4) {
36ed4f51
RD
12309 {
12310 arg5 = (long)(SWIG_As_long(obj4));
12311 if (SWIG_arg_fail(5)) SWIG_fail;
12312 }
d55e5bfc
RD
12313 }
12314 if (obj5) {
12315 {
12316 arg6 = wxString_in_helper(obj5);
12317 if (arg6 == NULL) SWIG_fail;
b411df4a 12318 temp6 = true;
d55e5bfc
RD
12319 }
12320 }
12321 {
0439c23b 12322 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12323 PyThreadState* __tstate = wxPyBeginAllowThreads();
12324 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12325
12326 wxPyEndAllowThreads(__tstate);
110da5b0 12327 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12328 }
12329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12330 {
12331 if (temp6)
12332 delete arg6;
12333 }
12334 return resultobj;
12335 fail:
12336 {
12337 if (temp6)
12338 delete arg6;
12339 }
12340 return NULL;
12341}
12342
12343
c370783e 12344static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12345 PyObject *resultobj;
12346 wxSpinButton *result;
12347 char *kwnames[] = {
12348 NULL
12349 };
12350
12351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12352 {
0439c23b 12353 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 result = (wxSpinButton *)new wxSpinButton();
12356
12357 wxPyEndAllowThreads(__tstate);
110da5b0 12358 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12359 }
12360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12361 return resultobj;
12362 fail:
12363 return NULL;
12364}
12365
12366
c370783e 12367static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12368 PyObject *resultobj;
12369 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12370 wxWindow *arg2 = (wxWindow *) 0 ;
12371 int arg3 = (int) -1 ;
12372 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12373 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12374 wxSize const &arg5_defvalue = wxDefaultSize ;
12375 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12376 long arg6 = (long) wxSP_HORIZONTAL ;
12377 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12378 wxString *arg7 = (wxString *) &arg7_defvalue ;
12379 bool result;
12380 wxPoint temp4 ;
12381 wxSize temp5 ;
b411df4a 12382 bool temp7 = false ;
d55e5bfc
RD
12383 PyObject * obj0 = 0 ;
12384 PyObject * obj1 = 0 ;
12385 PyObject * obj2 = 0 ;
12386 PyObject * obj3 = 0 ;
12387 PyObject * obj4 = 0 ;
12388 PyObject * obj5 = 0 ;
12389 PyObject * obj6 = 0 ;
12390 char *kwnames[] = {
12391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12392 };
12393
12394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
12395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12396 if (SWIG_arg_fail(1)) SWIG_fail;
12397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12398 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12399 if (obj2) {
36ed4f51
RD
12400 {
12401 arg3 = (int)(SWIG_As_int(obj2));
12402 if (SWIG_arg_fail(3)) SWIG_fail;
12403 }
d55e5bfc
RD
12404 }
12405 if (obj3) {
12406 {
12407 arg4 = &temp4;
12408 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12409 }
12410 }
12411 if (obj4) {
12412 {
12413 arg5 = &temp5;
12414 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12415 }
12416 }
12417 if (obj5) {
36ed4f51
RD
12418 {
12419 arg6 = (long)(SWIG_As_long(obj5));
12420 if (SWIG_arg_fail(6)) SWIG_fail;
12421 }
d55e5bfc
RD
12422 }
12423 if (obj6) {
12424 {
12425 arg7 = wxString_in_helper(obj6);
12426 if (arg7 == NULL) SWIG_fail;
b411df4a 12427 temp7 = true;
d55e5bfc
RD
12428 }
12429 }
12430 {
12431 PyThreadState* __tstate = wxPyBeginAllowThreads();
12432 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12433
12434 wxPyEndAllowThreads(__tstate);
12435 if (PyErr_Occurred()) SWIG_fail;
12436 }
12437 {
12438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12439 }
12440 {
12441 if (temp7)
12442 delete arg7;
12443 }
12444 return resultobj;
12445 fail:
12446 {
12447 if (temp7)
12448 delete arg7;
12449 }
12450 return NULL;
12451}
12452
12453
c370783e 12454static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12455 PyObject *resultobj;
12456 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12457 int result;
12458 PyObject * obj0 = 0 ;
12459 char *kwnames[] = {
12460 (char *) "self", NULL
12461 };
12462
12463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
12464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12465 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12466 {
12467 PyThreadState* __tstate = wxPyBeginAllowThreads();
12468 result = (int)((wxSpinButton const *)arg1)->GetValue();
12469
12470 wxPyEndAllowThreads(__tstate);
12471 if (PyErr_Occurred()) SWIG_fail;
12472 }
36ed4f51
RD
12473 {
12474 resultobj = SWIG_From_int((int)(result));
12475 }
d55e5bfc
RD
12476 return resultobj;
12477 fail:
12478 return NULL;
12479}
12480
12481
c370783e 12482static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12483 PyObject *resultobj;
12484 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12485 int result;
12486 PyObject * obj0 = 0 ;
12487 char *kwnames[] = {
12488 (char *) "self", NULL
12489 };
12490
12491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
12492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (int)((wxSpinButton const *)arg1)->GetMin();
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
36ed4f51
RD
12501 {
12502 resultobj = SWIG_From_int((int)(result));
12503 }
d55e5bfc
RD
12504 return resultobj;
12505 fail:
12506 return NULL;
12507}
12508
12509
c370783e 12510static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12511 PyObject *resultobj;
12512 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12513 int result;
12514 PyObject * obj0 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "self", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
12520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 result = (int)((wxSpinButton const *)arg1)->GetMax();
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
36ed4f51
RD
12529 {
12530 resultobj = SWIG_From_int((int)(result));
12531 }
d55e5bfc
RD
12532 return resultobj;
12533 fail:
12534 return NULL;
12535}
12536
12537
c370783e 12538static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12539 PyObject *resultobj;
12540 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12541 int arg2 ;
12542 PyObject * obj0 = 0 ;
12543 PyObject * obj1 = 0 ;
12544 char *kwnames[] = {
12545 (char *) "self",(char *) "val", NULL
12546 };
12547
12548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12550 if (SWIG_arg_fail(1)) SWIG_fail;
12551 {
12552 arg2 = (int)(SWIG_As_int(obj1));
12553 if (SWIG_arg_fail(2)) SWIG_fail;
12554 }
d55e5bfc
RD
12555 {
12556 PyThreadState* __tstate = wxPyBeginAllowThreads();
12557 (arg1)->SetValue(arg2);
12558
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 Py_INCREF(Py_None); resultobj = Py_None;
12563 return resultobj;
12564 fail:
12565 return NULL;
12566}
12567
12568
c370783e 12569static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12570 PyObject *resultobj;
12571 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12572 int arg2 ;
12573 PyObject * obj0 = 0 ;
12574 PyObject * obj1 = 0 ;
12575 char *kwnames[] = {
12576 (char *) "self",(char *) "minVal", NULL
12577 };
12578
12579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12581 if (SWIG_arg_fail(1)) SWIG_fail;
12582 {
12583 arg2 = (int)(SWIG_As_int(obj1));
12584 if (SWIG_arg_fail(2)) SWIG_fail;
12585 }
d55e5bfc
RD
12586 {
12587 PyThreadState* __tstate = wxPyBeginAllowThreads();
12588 (arg1)->SetMin(arg2);
12589
12590 wxPyEndAllowThreads(__tstate);
12591 if (PyErr_Occurred()) SWIG_fail;
12592 }
12593 Py_INCREF(Py_None); resultobj = Py_None;
12594 return resultobj;
12595 fail:
12596 return NULL;
12597}
12598
12599
c370783e 12600static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12601 PyObject *resultobj;
12602 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12603 int arg2 ;
12604 PyObject * obj0 = 0 ;
12605 PyObject * obj1 = 0 ;
12606 char *kwnames[] = {
12607 (char *) "self",(char *) "maxVal", NULL
12608 };
12609
12610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12612 if (SWIG_arg_fail(1)) SWIG_fail;
12613 {
12614 arg2 = (int)(SWIG_As_int(obj1));
12615 if (SWIG_arg_fail(2)) SWIG_fail;
12616 }
d55e5bfc
RD
12617 {
12618 PyThreadState* __tstate = wxPyBeginAllowThreads();
12619 (arg1)->SetMax(arg2);
12620
12621 wxPyEndAllowThreads(__tstate);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 Py_INCREF(Py_None); resultobj = Py_None;
12625 return resultobj;
12626 fail:
12627 return NULL;
12628}
12629
12630
c370783e 12631static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12632 PyObject *resultobj;
12633 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12634 int arg2 ;
12635 int arg3 ;
12636 PyObject * obj0 = 0 ;
12637 PyObject * obj1 = 0 ;
12638 PyObject * obj2 = 0 ;
12639 char *kwnames[] = {
12640 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12641 };
12642
12643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12645 if (SWIG_arg_fail(1)) SWIG_fail;
12646 {
12647 arg2 = (int)(SWIG_As_int(obj1));
12648 if (SWIG_arg_fail(2)) SWIG_fail;
12649 }
12650 {
12651 arg3 = (int)(SWIG_As_int(obj2));
12652 if (SWIG_arg_fail(3)) SWIG_fail;
12653 }
d55e5bfc
RD
12654 {
12655 PyThreadState* __tstate = wxPyBeginAllowThreads();
12656 (arg1)->SetRange(arg2,arg3);
12657
12658 wxPyEndAllowThreads(__tstate);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
f20a2e1f
RD
12661 Py_INCREF(Py_None); resultobj = Py_None;
12662 return resultobj;
12663 fail:
12664 return NULL;
12665}
12666
12667
c370783e 12668static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
12669 PyObject *resultobj;
12670 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12671 bool result;
12672 PyObject * obj0 = 0 ;
12673 char *kwnames[] = {
12674 (char *) "self", NULL
12675 };
12676
12677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
12678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12679 if (SWIG_arg_fail(1)) SWIG_fail;
f20a2e1f
RD
12680 {
12681 PyThreadState* __tstate = wxPyBeginAllowThreads();
12682 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12683
12684 wxPyEndAllowThreads(__tstate);
12685 if (PyErr_Occurred()) SWIG_fail;
12686 }
12687 {
12688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12689 }
d55e5bfc
RD
12690 return resultobj;
12691 fail:
12692 return NULL;
12693}
12694
12695
c370783e 12696static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12697 PyObject *resultobj;
36ed4f51 12698 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f 12699 wxVisualAttributes result;
d55e5bfc
RD
12700 PyObject * obj0 = 0 ;
12701 char *kwnames[] = {
f20a2e1f 12702 (char *) "variant", NULL
d55e5bfc
RD
12703 };
12704
f20a2e1f
RD
12705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12706 if (obj0) {
36ed4f51
RD
12707 {
12708 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12709 if (SWIG_arg_fail(1)) SWIG_fail;
12710 }
f20a2e1f 12711 }
d55e5bfc 12712 {
0439c23b 12713 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
f20a2e1f 12715 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d55e5bfc
RD
12716
12717 wxPyEndAllowThreads(__tstate);
110da5b0 12718 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12719 }
12720 {
f20a2e1f 12721 wxVisualAttributes * resultptr;
36ed4f51 12722 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f 12723 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
12724 }
12725 return resultobj;
12726 fail:
12727 return NULL;
12728}
12729
12730
c370783e 12731static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12732 PyObject *obj;
12733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12734 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12735 Py_INCREF(obj);
12736 return Py_BuildValue((char *)"");
12737}
c370783e 12738static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12739 PyObject *resultobj;
12740 wxWindow *arg1 = (wxWindow *) 0 ;
12741 int arg2 = (int) -1 ;
12742 wxString const &arg3_defvalue = wxPyEmptyString ;
12743 wxString *arg3 = (wxString *) &arg3_defvalue ;
12744 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12745 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12746 wxSize const &arg5_defvalue = wxDefaultSize ;
12747 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12748 long arg6 = (long) wxSP_ARROW_KEYS ;
12749 int arg7 = (int) 0 ;
12750 int arg8 = (int) 100 ;
12751 int arg9 = (int) 0 ;
12752 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12753 wxString *arg10 = (wxString *) &arg10_defvalue ;
12754 wxSpinCtrl *result;
b411df4a 12755 bool temp3 = false ;
d55e5bfc
RD
12756 wxPoint temp4 ;
12757 wxSize temp5 ;
b411df4a 12758 bool temp10 = false ;
d55e5bfc
RD
12759 PyObject * obj0 = 0 ;
12760 PyObject * obj1 = 0 ;
12761 PyObject * obj2 = 0 ;
12762 PyObject * obj3 = 0 ;
12763 PyObject * obj4 = 0 ;
12764 PyObject * obj5 = 0 ;
12765 PyObject * obj6 = 0 ;
12766 PyObject * obj7 = 0 ;
12767 PyObject * obj8 = 0 ;
12768 PyObject * obj9 = 0 ;
12769 char *kwnames[] = {
12770 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12771 };
12772
12773 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
12774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12776 if (obj1) {
36ed4f51
RD
12777 {
12778 arg2 = (int)(SWIG_As_int(obj1));
12779 if (SWIG_arg_fail(2)) SWIG_fail;
12780 }
d55e5bfc
RD
12781 }
12782 if (obj2) {
12783 {
12784 arg3 = wxString_in_helper(obj2);
12785 if (arg3 == NULL) SWIG_fail;
b411df4a 12786 temp3 = true;
d55e5bfc
RD
12787 }
12788 }
12789 if (obj3) {
12790 {
12791 arg4 = &temp4;
12792 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12793 }
12794 }
12795 if (obj4) {
12796 {
12797 arg5 = &temp5;
12798 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12799 }
12800 }
12801 if (obj5) {
36ed4f51
RD
12802 {
12803 arg6 = (long)(SWIG_As_long(obj5));
12804 if (SWIG_arg_fail(6)) SWIG_fail;
12805 }
d55e5bfc
RD
12806 }
12807 if (obj6) {
36ed4f51
RD
12808 {
12809 arg7 = (int)(SWIG_As_int(obj6));
12810 if (SWIG_arg_fail(7)) SWIG_fail;
12811 }
d55e5bfc
RD
12812 }
12813 if (obj7) {
36ed4f51
RD
12814 {
12815 arg8 = (int)(SWIG_As_int(obj7));
12816 if (SWIG_arg_fail(8)) SWIG_fail;
12817 }
d55e5bfc
RD
12818 }
12819 if (obj8) {
36ed4f51
RD
12820 {
12821 arg9 = (int)(SWIG_As_int(obj8));
12822 if (SWIG_arg_fail(9)) SWIG_fail;
12823 }
d55e5bfc
RD
12824 }
12825 if (obj9) {
12826 {
12827 arg10 = wxString_in_helper(obj9);
12828 if (arg10 == NULL) SWIG_fail;
b411df4a 12829 temp10 = true;
d55e5bfc
RD
12830 }
12831 }
12832 {
0439c23b 12833 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12834 PyThreadState* __tstate = wxPyBeginAllowThreads();
12835 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12836
12837 wxPyEndAllowThreads(__tstate);
110da5b0 12838 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12839 }
12840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12841 {
12842 if (temp3)
12843 delete arg3;
12844 }
12845 {
12846 if (temp10)
12847 delete arg10;
12848 }
12849 return resultobj;
12850 fail:
12851 {
12852 if (temp3)
12853 delete arg3;
12854 }
12855 {
12856 if (temp10)
12857 delete arg10;
12858 }
12859 return NULL;
12860}
12861
12862
c370783e 12863static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12864 PyObject *resultobj;
12865 wxSpinCtrl *result;
12866 char *kwnames[] = {
12867 NULL
12868 };
12869
12870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12871 {
0439c23b 12872 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12873 PyThreadState* __tstate = wxPyBeginAllowThreads();
12874 result = (wxSpinCtrl *)new wxSpinCtrl();
12875
12876 wxPyEndAllowThreads(__tstate);
110da5b0 12877 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12878 }
12879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12880 return resultobj;
12881 fail:
12882 return NULL;
12883}
12884
12885
c370783e 12886static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12887 PyObject *resultobj;
12888 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12889 wxWindow *arg2 = (wxWindow *) 0 ;
12890 int arg3 = (int) -1 ;
12891 wxString const &arg4_defvalue = wxPyEmptyString ;
12892 wxString *arg4 = (wxString *) &arg4_defvalue ;
12893 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12894 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12895 wxSize const &arg6_defvalue = wxDefaultSize ;
12896 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12897 long arg7 = (long) wxSP_ARROW_KEYS ;
12898 int arg8 = (int) 0 ;
12899 int arg9 = (int) 100 ;
12900 int arg10 = (int) 0 ;
12901 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
12902 wxString *arg11 = (wxString *) &arg11_defvalue ;
12903 bool result;
b411df4a 12904 bool temp4 = false ;
d55e5bfc
RD
12905 wxPoint temp5 ;
12906 wxSize temp6 ;
b411df4a 12907 bool temp11 = false ;
d55e5bfc
RD
12908 PyObject * obj0 = 0 ;
12909 PyObject * obj1 = 0 ;
12910 PyObject * obj2 = 0 ;
12911 PyObject * obj3 = 0 ;
12912 PyObject * obj4 = 0 ;
12913 PyObject * obj5 = 0 ;
12914 PyObject * obj6 = 0 ;
12915 PyObject * obj7 = 0 ;
12916 PyObject * obj8 = 0 ;
12917 PyObject * obj9 = 0 ;
12918 PyObject * obj10 = 0 ;
12919 char *kwnames[] = {
12920 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12921 };
12922
12923 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
12924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
12925 if (SWIG_arg_fail(1)) SWIG_fail;
12926 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12927 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12928 if (obj2) {
36ed4f51
RD
12929 {
12930 arg3 = (int)(SWIG_As_int(obj2));
12931 if (SWIG_arg_fail(3)) SWIG_fail;
12932 }
d55e5bfc
RD
12933 }
12934 if (obj3) {
12935 {
12936 arg4 = wxString_in_helper(obj3);
12937 if (arg4 == NULL) SWIG_fail;
b411df4a 12938 temp4 = true;
d55e5bfc
RD
12939 }
12940 }
12941 if (obj4) {
12942 {
12943 arg5 = &temp5;
12944 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12945 }
12946 }
12947 if (obj5) {
12948 {
12949 arg6 = &temp6;
12950 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12951 }
12952 }
12953 if (obj6) {
36ed4f51
RD
12954 {
12955 arg7 = (long)(SWIG_As_long(obj6));
12956 if (SWIG_arg_fail(7)) SWIG_fail;
12957 }
d55e5bfc
RD
12958 }
12959 if (obj7) {
36ed4f51
RD
12960 {
12961 arg8 = (int)(SWIG_As_int(obj7));
12962 if (SWIG_arg_fail(8)) SWIG_fail;
12963 }
d55e5bfc
RD
12964 }
12965 if (obj8) {
36ed4f51
RD
12966 {
12967 arg9 = (int)(SWIG_As_int(obj8));
12968 if (SWIG_arg_fail(9)) SWIG_fail;
12969 }
d55e5bfc
RD
12970 }
12971 if (obj9) {
36ed4f51
RD
12972 {
12973 arg10 = (int)(SWIG_As_int(obj9));
12974 if (SWIG_arg_fail(10)) SWIG_fail;
12975 }
d55e5bfc
RD
12976 }
12977 if (obj10) {
12978 {
12979 arg11 = wxString_in_helper(obj10);
12980 if (arg11 == NULL) SWIG_fail;
b411df4a 12981 temp11 = true;
d55e5bfc
RD
12982 }
12983 }
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 {
12992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12993 }
12994 {
12995 if (temp4)
12996 delete arg4;
12997 }
12998 {
12999 if (temp11)
13000 delete arg11;
13001 }
13002 return resultobj;
13003 fail:
13004 {
13005 if (temp4)
13006 delete arg4;
13007 }
13008 {
13009 if (temp11)
13010 delete arg11;
13011 }
13012 return NULL;
13013}
13014
13015
c370783e 13016static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13017 PyObject *resultobj;
13018 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13019 int result;
13020 PyObject * obj0 = 0 ;
13021 char *kwnames[] = {
13022 (char *) "self", NULL
13023 };
13024
13025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
13026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13027 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
36ed4f51
RD
13035 {
13036 resultobj = SWIG_From_int((int)(result));
13037 }
d55e5bfc
RD
13038 return resultobj;
13039 fail:
13040 return NULL;
13041}
13042
13043
c370783e 13044static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13045 PyObject *resultobj;
13046 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13047 int arg2 ;
13048 PyObject * obj0 = 0 ;
13049 PyObject * obj1 = 0 ;
13050 char *kwnames[] = {
13051 (char *) "self",(char *) "value", NULL
13052 };
13053
13054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13056 if (SWIG_arg_fail(1)) SWIG_fail;
13057 {
13058 arg2 = (int)(SWIG_As_int(obj1));
13059 if (SWIG_arg_fail(2)) SWIG_fail;
13060 }
d55e5bfc
RD
13061 {
13062 PyThreadState* __tstate = wxPyBeginAllowThreads();
13063 (arg1)->SetValue(arg2);
13064
13065 wxPyEndAllowThreads(__tstate);
13066 if (PyErr_Occurred()) SWIG_fail;
13067 }
13068 Py_INCREF(Py_None); resultobj = Py_None;
13069 return resultobj;
13070 fail:
13071 return NULL;
13072}
13073
13074
c370783e 13075static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13076 PyObject *resultobj;
13077 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13078 wxString *arg2 = 0 ;
b411df4a 13079 bool temp2 = false ;
d55e5bfc
RD
13080 PyObject * obj0 = 0 ;
13081 PyObject * obj1 = 0 ;
13082 char *kwnames[] = {
13083 (char *) "self",(char *) "text", NULL
13084 };
13085
13086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13088 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13089 {
13090 arg2 = wxString_in_helper(obj1);
13091 if (arg2 == NULL) SWIG_fail;
b411df4a 13092 temp2 = true;
d55e5bfc
RD
13093 }
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 (arg1)->SetValue((wxString const &)*arg2);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 Py_INCREF(Py_None); resultobj = Py_None;
13102 {
13103 if (temp2)
13104 delete arg2;
13105 }
13106 return resultobj;
13107 fail:
13108 {
13109 if (temp2)
13110 delete arg2;
13111 }
13112 return NULL;
13113}
13114
13115
c370783e 13116static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13117 PyObject *resultobj;
13118 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13119 int arg2 ;
13120 int arg3 ;
13121 PyObject * obj0 = 0 ;
13122 PyObject * obj1 = 0 ;
13123 PyObject * obj2 = 0 ;
13124 char *kwnames[] = {
13125 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13126 };
13127
13128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail;
13131 {
13132 arg2 = (int)(SWIG_As_int(obj1));
13133 if (SWIG_arg_fail(2)) SWIG_fail;
13134 }
13135 {
13136 arg3 = (int)(SWIG_As_int(obj2));
13137 if (SWIG_arg_fail(3)) SWIG_fail;
13138 }
d55e5bfc
RD
13139 {
13140 PyThreadState* __tstate = wxPyBeginAllowThreads();
13141 (arg1)->SetRange(arg2,arg3);
13142
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 Py_INCREF(Py_None); resultobj = Py_None;
13147 return resultobj;
13148 fail:
13149 return NULL;
13150}
13151
13152
c370783e 13153static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13154 PyObject *resultobj;
13155 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13156 int result;
13157 PyObject * obj0 = 0 ;
13158 char *kwnames[] = {
13159 (char *) "self", NULL
13160 };
13161
13162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
13163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13164 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13168
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
36ed4f51
RD
13172 {
13173 resultobj = SWIG_From_int((int)(result));
13174 }
d55e5bfc
RD
13175 return resultobj;
13176 fail:
13177 return NULL;
13178}
13179
13180
c370783e 13181static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13182 PyObject *resultobj;
13183 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13184 int result;
13185 PyObject * obj0 = 0 ;
13186 char *kwnames[] = {
13187 (char *) "self", NULL
13188 };
13189
13190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
13191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13193 {
13194 PyThreadState* __tstate = wxPyBeginAllowThreads();
13195 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13196
13197 wxPyEndAllowThreads(__tstate);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
36ed4f51
RD
13200 {
13201 resultobj = SWIG_From_int((int)(result));
13202 }
d55e5bfc
RD
13203 return resultobj;
13204 fail:
13205 return NULL;
13206}
13207
13208
c370783e 13209static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13210 PyObject *resultobj;
13211 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13212 long arg2 ;
13213 long arg3 ;
13214 PyObject * obj0 = 0 ;
13215 PyObject * obj1 = 0 ;
13216 PyObject * obj2 = 0 ;
13217 char *kwnames[] = {
13218 (char *) "self",(char *) "from",(char *) "to", NULL
13219 };
13220
13221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13223 if (SWIG_arg_fail(1)) SWIG_fail;
13224 {
13225 arg2 = (long)(SWIG_As_long(obj1));
13226 if (SWIG_arg_fail(2)) SWIG_fail;
13227 }
13228 {
13229 arg3 = (long)(SWIG_As_long(obj2));
13230 if (SWIG_arg_fail(3)) SWIG_fail;
13231 }
d55e5bfc
RD
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 (arg1)->SetSelection(arg2,arg3);
13235
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
13239 Py_INCREF(Py_None); resultobj = Py_None;
13240 return resultobj;
13241 fail:
13242 return NULL;
13243}
13244
13245
c370783e 13246static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 13247 PyObject *resultobj;
36ed4f51 13248 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
13249 wxVisualAttributes result;
13250 PyObject * obj0 = 0 ;
13251 char *kwnames[] = {
13252 (char *) "variant", NULL
13253 };
13254
13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13256 if (obj0) {
36ed4f51
RD
13257 {
13258 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13259 if (SWIG_arg_fail(1)) SWIG_fail;
13260 }
f20a2e1f
RD
13261 }
13262 {
0439c23b 13263 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
13264 PyThreadState* __tstate = wxPyBeginAllowThreads();
13265 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13266
13267 wxPyEndAllowThreads(__tstate);
110da5b0 13268 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13269 }
13270 {
13271 wxVisualAttributes * resultptr;
36ed4f51 13272 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
13273 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13274 }
13275 return resultobj;
13276 fail:
13277 return NULL;
13278}
13279
13280
c370783e 13281static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13282 PyObject *obj;
13283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13284 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13285 Py_INCREF(obj);
13286 return Py_BuildValue((char *)"");
13287}
c370783e 13288static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13289 PyObject *resultobj;
13290 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13291 int arg2 = (int) 0 ;
13292 wxSpinEvent *result;
13293 PyObject * obj0 = 0 ;
13294 PyObject * obj1 = 0 ;
13295 char *kwnames[] = {
13296 (char *) "commandType",(char *) "winid", NULL
13297 };
13298
13299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13300 if (obj0) {
36ed4f51
RD
13301 {
13302 arg1 = (wxEventType)(SWIG_As_int(obj0));
13303 if (SWIG_arg_fail(1)) SWIG_fail;
13304 }
d55e5bfc
RD
13305 }
13306 if (obj1) {
36ed4f51
RD
13307 {
13308 arg2 = (int)(SWIG_As_int(obj1));
13309 if (SWIG_arg_fail(2)) SWIG_fail;
13310 }
d55e5bfc
RD
13311 }
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13315
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
13319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13320 return resultobj;
13321 fail:
13322 return NULL;
13323}
13324
13325
c370783e 13326static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13327 PyObject *resultobj;
13328 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13329 int result;
13330 PyObject * obj0 = 0 ;
13331 char *kwnames[] = {
13332 (char *) "self", NULL
13333 };
13334
13335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
13336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13338 {
13339 PyThreadState* __tstate = wxPyBeginAllowThreads();
13340 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13341
13342 wxPyEndAllowThreads(__tstate);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
36ed4f51
RD
13345 {
13346 resultobj = SWIG_From_int((int)(result));
13347 }
d55e5bfc
RD
13348 return resultobj;
13349 fail:
13350 return NULL;
13351}
13352
13353
c370783e 13354static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13355 PyObject *resultobj;
13356 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13357 int arg2 ;
13358 PyObject * obj0 = 0 ;
13359 PyObject * obj1 = 0 ;
13360 char *kwnames[] = {
13361 (char *) "self",(char *) "pos", NULL
13362 };
13363
13364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail;
13367 {
13368 arg2 = (int)(SWIG_As_int(obj1));
13369 if (SWIG_arg_fail(2)) SWIG_fail;
13370 }
d55e5bfc
RD
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 (arg1)->SetPosition(arg2);
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 Py_INCREF(Py_None); resultobj = Py_None;
13379 return resultobj;
13380 fail:
13381 return NULL;
13382}
13383
13384
c370783e 13385static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13386 PyObject *obj;
13387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13388 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13389 Py_INCREF(obj);
13390 return Py_BuildValue((char *)"");
13391}
c370783e 13392static int _wrap_RadioBoxNameStr_set(PyObject *) {
d55e5bfc
RD
13393 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13394 return 1;
13395}
13396
13397
36ed4f51 13398static PyObject *_wrap_RadioBoxNameStr_get(void) {
d55e5bfc
RD
13399 PyObject *pyobj;
13400
13401 {
13402#if wxUSE_UNICODE
13403 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13404#else
13405 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13406#endif
13407 }
13408 return pyobj;
13409}
13410
13411
c370783e 13412static int _wrap_RadioButtonNameStr_set(PyObject *) {
d55e5bfc
RD
13413 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13414 return 1;
13415}
13416
13417
36ed4f51 13418static PyObject *_wrap_RadioButtonNameStr_get(void) {
d55e5bfc
RD
13419 PyObject *pyobj;
13420
13421 {
13422#if wxUSE_UNICODE
13423 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13424#else
13425 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13426#endif
13427 }
13428 return pyobj;
13429}
13430
13431
c370783e 13432static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13433 PyObject *resultobj;
13434 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
13435 int arg2 = (int) -1 ;
13436 wxString const &arg3_defvalue = wxPyEmptyString ;
13437 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13438 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13439 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13440 wxSize const &arg5_defvalue = wxDefaultSize ;
13441 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13442 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13443 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13444 int arg7 = (int) 0 ;
13445 long arg8 = (long) wxRA_HORIZONTAL ;
13446 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13447 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13448 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13449 wxString *arg10 = (wxString *) &arg10_defvalue ;
13450 wxRadioBox *result;
b411df4a 13451 bool temp3 = false ;
d55e5bfc
RD
13452 wxPoint temp4 ;
13453 wxSize temp5 ;
b411df4a
RD
13454 bool temp6 = false ;
13455 bool temp10 = false ;
d55e5bfc
RD
13456 PyObject * obj0 = 0 ;
13457 PyObject * obj1 = 0 ;
13458 PyObject * obj2 = 0 ;
13459 PyObject * obj3 = 0 ;
13460 PyObject * obj4 = 0 ;
13461 PyObject * obj5 = 0 ;
13462 PyObject * obj6 = 0 ;
13463 PyObject * obj7 = 0 ;
13464 PyObject * obj8 = 0 ;
13465 PyObject * obj9 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13468 };
13469
bfddbb17 13470 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
13471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13472 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 13473 if (obj1) {
36ed4f51
RD
13474 {
13475 arg2 = (int)(SWIG_As_int(obj1));
13476 if (SWIG_arg_fail(2)) SWIG_fail;
13477 }
bfddbb17
RD
13478 }
13479 if (obj2) {
13480 {
13481 arg3 = wxString_in_helper(obj2);
13482 if (arg3 == NULL) SWIG_fail;
b411df4a 13483 temp3 = true;
bfddbb17 13484 }
d55e5bfc
RD
13485 }
13486 if (obj3) {
13487 {
13488 arg4 = &temp4;
13489 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13490 }
13491 }
13492 if (obj4) {
13493 {
13494 arg5 = &temp5;
13495 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13496 }
13497 }
13498 if (obj5) {
13499 {
13500 if (! PySequence_Check(obj5)) {
13501 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13502 SWIG_fail;
13503 }
13504 arg6 = new wxArrayString;
b411df4a 13505 temp6 = true;
d55e5bfc
RD
13506 int i, len=PySequence_Length(obj5);
13507 for (i=0; i<len; i++) {
13508 PyObject* item = PySequence_GetItem(obj5, i);
13509#if wxUSE_UNICODE
13510 PyObject* str = PyObject_Unicode(item);
13511#else
13512 PyObject* str = PyObject_Str(item);
13513#endif
13514 if (PyErr_Occurred()) SWIG_fail;
13515 arg6->Add(Py2wxString(str));
13516 Py_DECREF(item);
13517 Py_DECREF(str);
13518 }
13519 }
13520 }
13521 if (obj6) {
36ed4f51
RD
13522 {
13523 arg7 = (int)(SWIG_As_int(obj6));
13524 if (SWIG_arg_fail(7)) SWIG_fail;
13525 }
d55e5bfc
RD
13526 }
13527 if (obj7) {
36ed4f51
RD
13528 {
13529 arg8 = (long)(SWIG_As_long(obj7));
13530 if (SWIG_arg_fail(8)) SWIG_fail;
13531 }
d55e5bfc
RD
13532 }
13533 if (obj8) {
36ed4f51
RD
13534 {
13535 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13536 if (SWIG_arg_fail(9)) SWIG_fail;
13537 if (arg9 == NULL) {
13538 SWIG_null_ref("wxValidator");
13539 }
13540 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
13541 }
13542 }
13543 if (obj9) {
13544 {
13545 arg10 = wxString_in_helper(obj9);
13546 if (arg10 == NULL) SWIG_fail;
b411df4a 13547 temp10 = true;
d55e5bfc
RD
13548 }
13549 }
13550 {
0439c23b 13551 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 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);
13554
13555 wxPyEndAllowThreads(__tstate);
110da5b0 13556 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13557 }
13558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13559 {
13560 if (temp3)
13561 delete arg3;
13562 }
13563 {
13564 if (temp6) delete arg6;
13565 }
13566 {
13567 if (temp10)
13568 delete arg10;
13569 }
13570 return resultobj;
13571 fail:
13572 {
13573 if (temp3)
13574 delete arg3;
13575 }
13576 {
13577 if (temp6) delete arg6;
13578 }
13579 {
13580 if (temp10)
13581 delete arg10;
13582 }
13583 return NULL;
13584}
13585
13586
c370783e 13587static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13588 PyObject *resultobj;
13589 wxRadioBox *result;
13590 char *kwnames[] = {
13591 NULL
13592 };
13593
13594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13595 {
0439c23b 13596 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13597 PyThreadState* __tstate = wxPyBeginAllowThreads();
13598 result = (wxRadioBox *)new wxRadioBox();
13599
13600 wxPyEndAllowThreads(__tstate);
110da5b0 13601 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13602 }
13603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13604 return resultobj;
13605 fail:
13606 return NULL;
13607}
13608
13609
c370783e 13610static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13611 PyObject *resultobj;
13612 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13613 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
13614 int arg3 = (int) -1 ;
13615 wxString const &arg4_defvalue = wxPyEmptyString ;
13616 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
13617 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13618 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13619 wxSize const &arg6_defvalue = wxDefaultSize ;
13620 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13621 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13622 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13623 int arg8 = (int) 0 ;
13624 long arg9 = (long) wxRA_HORIZONTAL ;
13625 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13626 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13627 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13628 wxString *arg11 = (wxString *) &arg11_defvalue ;
13629 bool result;
b411df4a 13630 bool temp4 = false ;
d55e5bfc
RD
13631 wxPoint temp5 ;
13632 wxSize temp6 ;
b411df4a
RD
13633 bool temp7 = false ;
13634 bool temp11 = false ;
d55e5bfc
RD
13635 PyObject * obj0 = 0 ;
13636 PyObject * obj1 = 0 ;
13637 PyObject * obj2 = 0 ;
13638 PyObject * obj3 = 0 ;
13639 PyObject * obj4 = 0 ;
13640 PyObject * obj5 = 0 ;
13641 PyObject * obj6 = 0 ;
13642 PyObject * obj7 = 0 ;
13643 PyObject * obj8 = 0 ;
13644 PyObject * obj9 = 0 ;
13645 PyObject * obj10 = 0 ;
13646 char *kwnames[] = {
13647 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13648 };
13649
bfddbb17 13650 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
13651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13652 if (SWIG_arg_fail(1)) SWIG_fail;
13653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13654 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 13655 if (obj2) {
36ed4f51
RD
13656 {
13657 arg3 = (int)(SWIG_As_int(obj2));
13658 if (SWIG_arg_fail(3)) SWIG_fail;
13659 }
bfddbb17
RD
13660 }
13661 if (obj3) {
13662 {
13663 arg4 = wxString_in_helper(obj3);
13664 if (arg4 == NULL) SWIG_fail;
b411df4a 13665 temp4 = true;
bfddbb17 13666 }
d55e5bfc
RD
13667 }
13668 if (obj4) {
13669 {
13670 arg5 = &temp5;
13671 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13672 }
13673 }
13674 if (obj5) {
13675 {
13676 arg6 = &temp6;
13677 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13678 }
13679 }
13680 if (obj6) {
13681 {
13682 if (! PySequence_Check(obj6)) {
13683 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13684 SWIG_fail;
13685 }
13686 arg7 = new wxArrayString;
b411df4a 13687 temp7 = true;
d55e5bfc
RD
13688 int i, len=PySequence_Length(obj6);
13689 for (i=0; i<len; i++) {
13690 PyObject* item = PySequence_GetItem(obj6, i);
13691#if wxUSE_UNICODE
13692 PyObject* str = PyObject_Unicode(item);
13693#else
13694 PyObject* str = PyObject_Str(item);
13695#endif
13696 if (PyErr_Occurred()) SWIG_fail;
13697 arg7->Add(Py2wxString(str));
13698 Py_DECREF(item);
13699 Py_DECREF(str);
13700 }
13701 }
13702 }
13703 if (obj7) {
36ed4f51
RD
13704 {
13705 arg8 = (int)(SWIG_As_int(obj7));
13706 if (SWIG_arg_fail(8)) SWIG_fail;
13707 }
d55e5bfc
RD
13708 }
13709 if (obj8) {
36ed4f51
RD
13710 {
13711 arg9 = (long)(SWIG_As_long(obj8));
13712 if (SWIG_arg_fail(9)) SWIG_fail;
13713 }
d55e5bfc
RD
13714 }
13715 if (obj9) {
36ed4f51
RD
13716 {
13717 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13718 if (SWIG_arg_fail(10)) SWIG_fail;
13719 if (arg10 == NULL) {
13720 SWIG_null_ref("wxValidator");
13721 }
13722 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
13723 }
13724 }
13725 if (obj10) {
13726 {
13727 arg11 = wxString_in_helper(obj10);
13728 if (arg11 == NULL) SWIG_fail;
b411df4a 13729 temp11 = true;
d55e5bfc
RD
13730 }
13731 }
13732 {
13733 PyThreadState* __tstate = wxPyBeginAllowThreads();
13734 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);
13735
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
13739 {
13740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13741 }
13742 {
13743 if (temp4)
13744 delete arg4;
13745 }
13746 {
13747 if (temp7) delete arg7;
13748 }
13749 {
13750 if (temp11)
13751 delete arg11;
13752 }
13753 return resultobj;
13754 fail:
13755 {
13756 if (temp4)
13757 delete arg4;
13758 }
13759 {
13760 if (temp7) delete arg7;
13761 }
13762 {
13763 if (temp11)
13764 delete arg11;
13765 }
13766 return NULL;
13767}
13768
13769
c370783e 13770static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13771 PyObject *resultobj;
13772 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13773 int arg2 ;
13774 PyObject * obj0 = 0 ;
13775 PyObject * obj1 = 0 ;
13776 char *kwnames[] = {
13777 (char *) "self",(char *) "n", NULL
13778 };
13779
13780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13782 if (SWIG_arg_fail(1)) SWIG_fail;
13783 {
13784 arg2 = (int)(SWIG_As_int(obj1));
13785 if (SWIG_arg_fail(2)) SWIG_fail;
13786 }
d55e5bfc
RD
13787 {
13788 PyThreadState* __tstate = wxPyBeginAllowThreads();
13789 (arg1)->SetSelection(arg2);
13790
13791 wxPyEndAllowThreads(__tstate);
13792 if (PyErr_Occurred()) SWIG_fail;
13793 }
13794 Py_INCREF(Py_None); resultobj = Py_None;
13795 return resultobj;
13796 fail:
13797 return NULL;
13798}
13799
13800
c370783e 13801static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13802 PyObject *resultobj;
13803 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13804 int result;
13805 PyObject * obj0 = 0 ;
13806 char *kwnames[] = {
13807 (char *) "self", NULL
13808 };
13809
13810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
13811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13813 {
13814 PyThreadState* __tstate = wxPyBeginAllowThreads();
13815 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13816
13817 wxPyEndAllowThreads(__tstate);
13818 if (PyErr_Occurred()) SWIG_fail;
13819 }
36ed4f51
RD
13820 {
13821 resultobj = SWIG_From_int((int)(result));
13822 }
d55e5bfc
RD
13823 return resultobj;
13824 fail:
13825 return NULL;
13826}
13827
13828
c370783e 13829static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13830 PyObject *resultobj;
13831 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13832 wxString result;
13833 PyObject * obj0 = 0 ;
13834 char *kwnames[] = {
13835 (char *) "self", NULL
13836 };
13837
13838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
13839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13840 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13841 {
13842 PyThreadState* __tstate = wxPyBeginAllowThreads();
13843 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13844
13845 wxPyEndAllowThreads(__tstate);
13846 if (PyErr_Occurred()) SWIG_fail;
13847 }
13848 {
13849#if wxUSE_UNICODE
13850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13851#else
13852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13853#endif
13854 }
13855 return resultobj;
13856 fail:
13857 return NULL;
13858}
13859
13860
c370783e 13861static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13862 PyObject *resultobj;
13863 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13864 wxString *arg2 = 0 ;
13865 bool result;
b411df4a 13866 bool temp2 = false ;
d55e5bfc
RD
13867 PyObject * obj0 = 0 ;
13868 PyObject * obj1 = 0 ;
13869 char *kwnames[] = {
13870 (char *) "self",(char *) "s", NULL
13871 };
13872
13873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13876 {
13877 arg2 = wxString_in_helper(obj1);
13878 if (arg2 == NULL) SWIG_fail;
b411df4a 13879 temp2 = true;
d55e5bfc
RD
13880 }
13881 {
13882 PyThreadState* __tstate = wxPyBeginAllowThreads();
13883 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13884
13885 wxPyEndAllowThreads(__tstate);
13886 if (PyErr_Occurred()) SWIG_fail;
13887 }
13888 {
13889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13890 }
13891 {
13892 if (temp2)
13893 delete arg2;
13894 }
13895 return resultobj;
13896 fail:
13897 {
13898 if (temp2)
13899 delete arg2;
13900 }
13901 return NULL;
13902}
13903
13904
c370783e 13905static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13906 PyObject *resultobj;
13907 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13908 int result;
13909 PyObject * obj0 = 0 ;
13910 char *kwnames[] = {
13911 (char *) "self", NULL
13912 };
13913
13914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
13915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13916 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13917 {
13918 PyThreadState* __tstate = wxPyBeginAllowThreads();
13919 result = (int)((wxRadioBox const *)arg1)->GetCount();
13920
13921 wxPyEndAllowThreads(__tstate);
13922 if (PyErr_Occurred()) SWIG_fail;
13923 }
36ed4f51
RD
13924 {
13925 resultobj = SWIG_From_int((int)(result));
13926 }
d55e5bfc
RD
13927 return resultobj;
13928 fail:
13929 return NULL;
13930}
13931
13932
c370783e 13933static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13934 PyObject *resultobj;
13935 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13936 wxString *arg2 = 0 ;
13937 int result;
b411df4a 13938 bool temp2 = false ;
d55e5bfc
RD
13939 PyObject * obj0 = 0 ;
13940 PyObject * obj1 = 0 ;
13941 char *kwnames[] = {
13942 (char *) "self",(char *) "s", NULL
13943 };
13944
13945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13948 {
13949 arg2 = wxString_in_helper(obj1);
13950 if (arg2 == NULL) SWIG_fail;
b411df4a 13951 temp2 = true;
d55e5bfc
RD
13952 }
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
13955 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
13956
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
36ed4f51
RD
13960 {
13961 resultobj = SWIG_From_int((int)(result));
13962 }
d55e5bfc
RD
13963 {
13964 if (temp2)
13965 delete arg2;
13966 }
13967 return resultobj;
13968 fail:
13969 {
13970 if (temp2)
13971 delete arg2;
13972 }
13973 return NULL;
13974}
13975
13976
c370783e 13977static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13978 PyObject *resultobj;
13979 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13980 int arg2 ;
13981 wxString result;
13982 PyObject * obj0 = 0 ;
13983 PyObject * obj1 = 0 ;
13984 char *kwnames[] = {
13985 (char *) "self",(char *) "n", NULL
13986 };
13987
13988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13990 if (SWIG_arg_fail(1)) SWIG_fail;
13991 {
13992 arg2 = (int)(SWIG_As_int(obj1));
13993 if (SWIG_arg_fail(2)) SWIG_fail;
13994 }
d55e5bfc
RD
13995 {
13996 PyThreadState* __tstate = wxPyBeginAllowThreads();
13997 result = ((wxRadioBox const *)arg1)->GetString(arg2);
13998
13999 wxPyEndAllowThreads(__tstate);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 }
14002 {
14003#if wxUSE_UNICODE
14004 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14005#else
14006 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14007#endif
14008 }
14009 return resultobj;
14010 fail:
14011 return NULL;
14012}
14013
14014
c370783e 14015static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14016 PyObject *resultobj;
14017 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14018 int arg2 ;
14019 wxString *arg3 = 0 ;
b411df4a 14020 bool temp3 = false ;
d55e5bfc
RD
14021 PyObject * obj0 = 0 ;
14022 PyObject * obj1 = 0 ;
14023 PyObject * obj2 = 0 ;
14024 char *kwnames[] = {
14025 (char *) "self",(char *) "n",(char *) "label", NULL
14026 };
14027
14028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14030 if (SWIG_arg_fail(1)) SWIG_fail;
14031 {
14032 arg2 = (int)(SWIG_As_int(obj1));
14033 if (SWIG_arg_fail(2)) SWIG_fail;
14034 }
d55e5bfc
RD
14035 {
14036 arg3 = wxString_in_helper(obj2);
14037 if (arg3 == NULL) SWIG_fail;
b411df4a 14038 temp3 = true;
d55e5bfc
RD
14039 }
14040 {
14041 PyThreadState* __tstate = wxPyBeginAllowThreads();
14042 (arg1)->SetString(arg2,(wxString const &)*arg3);
14043
14044 wxPyEndAllowThreads(__tstate);
14045 if (PyErr_Occurred()) SWIG_fail;
14046 }
14047 Py_INCREF(Py_None); resultobj = Py_None;
14048 {
14049 if (temp3)
14050 delete arg3;
14051 }
14052 return resultobj;
14053 fail:
14054 {
14055 if (temp3)
14056 delete arg3;
14057 }
14058 return NULL;
14059}
14060
14061
c370783e 14062static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14063 PyObject *resultobj;
14064 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14065 int arg2 ;
b411df4a 14066 bool arg3 = (bool) true ;
d55e5bfc
RD
14067 PyObject * obj0 = 0 ;
14068 PyObject * obj1 = 0 ;
14069 PyObject * obj2 = 0 ;
14070 char *kwnames[] = {
14071 (char *) "self",(char *) "n",(char *) "enable", NULL
14072 };
14073
14074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14076 if (SWIG_arg_fail(1)) SWIG_fail;
14077 {
14078 arg2 = (int)(SWIG_As_int(obj1));
14079 if (SWIG_arg_fail(2)) SWIG_fail;
14080 }
d55e5bfc 14081 if (obj2) {
36ed4f51
RD
14082 {
14083 arg3 = (bool)(SWIG_As_bool(obj2));
14084 if (SWIG_arg_fail(3)) SWIG_fail;
14085 }
d55e5bfc
RD
14086 }
14087 {
14088 PyThreadState* __tstate = wxPyBeginAllowThreads();
14089 (arg1)->Enable(arg2,arg3);
14090
14091 wxPyEndAllowThreads(__tstate);
14092 if (PyErr_Occurred()) SWIG_fail;
14093 }
14094 Py_INCREF(Py_None); resultobj = Py_None;
14095 return resultobj;
14096 fail:
14097 return NULL;
14098}
14099
14100
c370783e 14101static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14102 PyObject *resultobj;
14103 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14104 int arg2 ;
b411df4a 14105 bool arg3 = (bool) true ;
d55e5bfc
RD
14106 PyObject * obj0 = 0 ;
14107 PyObject * obj1 = 0 ;
14108 PyObject * obj2 = 0 ;
14109 char *kwnames[] = {
14110 (char *) "self",(char *) "n",(char *) "show", NULL
14111 };
14112
14113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14115 if (SWIG_arg_fail(1)) SWIG_fail;
14116 {
14117 arg2 = (int)(SWIG_As_int(obj1));
14118 if (SWIG_arg_fail(2)) SWIG_fail;
14119 }
d55e5bfc 14120 if (obj2) {
36ed4f51
RD
14121 {
14122 arg3 = (bool)(SWIG_As_bool(obj2));
14123 if (SWIG_arg_fail(3)) SWIG_fail;
14124 }
d55e5bfc
RD
14125 }
14126 {
14127 PyThreadState* __tstate = wxPyBeginAllowThreads();
14128 (arg1)->Show(arg2,arg3);
14129
14130 wxPyEndAllowThreads(__tstate);
14131 if (PyErr_Occurred()) SWIG_fail;
14132 }
14133 Py_INCREF(Py_None); resultobj = Py_None;
14134 return resultobj;
14135 fail:
14136 return NULL;
14137}
14138
14139
c370783e 14140static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14141 PyObject *resultobj;
14142 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14143 int result;
14144 PyObject * obj0 = 0 ;
14145 char *kwnames[] = {
14146 (char *) "self", NULL
14147 };
14148
14149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
14150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14151 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14152 {
14153 PyThreadState* __tstate = wxPyBeginAllowThreads();
14154 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14155
14156 wxPyEndAllowThreads(__tstate);
14157 if (PyErr_Occurred()) SWIG_fail;
14158 }
36ed4f51
RD
14159 {
14160 resultobj = SWIG_From_int((int)(result));
14161 }
d55e5bfc
RD
14162 return resultobj;
14163 fail:
14164 return NULL;
14165}
14166
14167
c370783e 14168static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14169 PyObject *resultobj;
14170 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14171 int result;
14172 PyObject * obj0 = 0 ;
14173 char *kwnames[] = {
14174 (char *) "self", NULL
14175 };
14176
14177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
14178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14179 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14180 {
14181 PyThreadState* __tstate = wxPyBeginAllowThreads();
14182 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14183
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
36ed4f51
RD
14187 {
14188 resultobj = SWIG_From_int((int)(result));
14189 }
d55e5bfc
RD
14190 return resultobj;
14191 fail:
14192 return NULL;
14193}
14194
14195
c370783e 14196static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14197 PyObject *resultobj;
14198 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14199 int arg2 ;
36ed4f51 14200 wxDirection arg3 ;
d55e5bfc
RD
14201 long arg4 ;
14202 int result;
14203 PyObject * obj0 = 0 ;
14204 PyObject * obj1 = 0 ;
14205 PyObject * obj2 = 0 ;
14206 PyObject * obj3 = 0 ;
14207 char *kwnames[] = {
14208 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14209 };
14210
14211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
14212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14213 if (SWIG_arg_fail(1)) SWIG_fail;
14214 {
14215 arg2 = (int)(SWIG_As_int(obj1));
14216 if (SWIG_arg_fail(2)) SWIG_fail;
14217 }
14218 {
14219 arg3 = (wxDirection)(SWIG_As_int(obj2));
14220 if (SWIG_arg_fail(3)) SWIG_fail;
14221 }
14222 {
14223 arg4 = (long)(SWIG_As_long(obj3));
14224 if (SWIG_arg_fail(4)) SWIG_fail;
14225 }
d55e5bfc
RD
14226 {
14227 PyThreadState* __tstate = wxPyBeginAllowThreads();
14228 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14229
14230 wxPyEndAllowThreads(__tstate);
14231 if (PyErr_Occurred()) SWIG_fail;
14232 }
36ed4f51
RD
14233 {
14234 resultobj = SWIG_From_int((int)(result));
14235 }
d55e5bfc
RD
14236 return resultobj;
14237 fail:
14238 return NULL;
14239}
14240
14241
c370783e 14242static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14243 PyObject *resultobj;
36ed4f51 14244 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14245 wxVisualAttributes result;
14246 PyObject * obj0 = 0 ;
14247 char *kwnames[] = {
14248 (char *) "variant", NULL
14249 };
14250
14251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14252 if (obj0) {
36ed4f51
RD
14253 {
14254 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14255 if (SWIG_arg_fail(1)) SWIG_fail;
14256 }
f20a2e1f
RD
14257 }
14258 {
0439c23b 14259 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14262
14263 wxPyEndAllowThreads(__tstate);
110da5b0 14264 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14265 }
14266 {
14267 wxVisualAttributes * resultptr;
36ed4f51 14268 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14270 }
14271 return resultobj;
14272 fail:
14273 return NULL;
14274}
14275
14276
c370783e 14277static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14278 PyObject *obj;
14279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14280 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14281 Py_INCREF(obj);
14282 return Py_BuildValue((char *)"");
14283}
c370783e 14284static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14285 PyObject *resultobj;
14286 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
14287 int arg2 = (int) -1 ;
14288 wxString const &arg3_defvalue = wxPyEmptyString ;
14289 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14292 wxSize const &arg5_defvalue = wxDefaultSize ;
14293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14294 long arg6 = (long) 0 ;
14295 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14296 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14297 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14298 wxString *arg8 = (wxString *) &arg8_defvalue ;
14299 wxRadioButton *result;
b411df4a 14300 bool temp3 = false ;
d55e5bfc
RD
14301 wxPoint temp4 ;
14302 wxSize temp5 ;
b411df4a 14303 bool temp8 = false ;
d55e5bfc
RD
14304 PyObject * obj0 = 0 ;
14305 PyObject * obj1 = 0 ;
14306 PyObject * obj2 = 0 ;
14307 PyObject * obj3 = 0 ;
14308 PyObject * obj4 = 0 ;
14309 PyObject * obj5 = 0 ;
14310 PyObject * obj6 = 0 ;
14311 PyObject * obj7 = 0 ;
14312 char *kwnames[] = {
14313 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14314 };
14315
bfddbb17 14316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
14317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14318 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 14319 if (obj1) {
36ed4f51
RD
14320 {
14321 arg2 = (int)(SWIG_As_int(obj1));
14322 if (SWIG_arg_fail(2)) SWIG_fail;
14323 }
bfddbb17
RD
14324 }
14325 if (obj2) {
14326 {
14327 arg3 = wxString_in_helper(obj2);
14328 if (arg3 == NULL) SWIG_fail;
b411df4a 14329 temp3 = true;
bfddbb17 14330 }
d55e5bfc
RD
14331 }
14332 if (obj3) {
14333 {
14334 arg4 = &temp4;
14335 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14336 }
14337 }
14338 if (obj4) {
14339 {
14340 arg5 = &temp5;
14341 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14342 }
14343 }
14344 if (obj5) {
36ed4f51
RD
14345 {
14346 arg6 = (long)(SWIG_As_long(obj5));
14347 if (SWIG_arg_fail(6)) SWIG_fail;
14348 }
d55e5bfc
RD
14349 }
14350 if (obj6) {
36ed4f51
RD
14351 {
14352 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14353 if (SWIG_arg_fail(7)) SWIG_fail;
14354 if (arg7 == NULL) {
14355 SWIG_null_ref("wxValidator");
14356 }
14357 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
14358 }
14359 }
14360 if (obj7) {
14361 {
14362 arg8 = wxString_in_helper(obj7);
14363 if (arg8 == NULL) SWIG_fail;
b411df4a 14364 temp8 = true;
d55e5bfc
RD
14365 }
14366 }
14367 {
0439c23b 14368 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14369 PyThreadState* __tstate = wxPyBeginAllowThreads();
14370 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14371
14372 wxPyEndAllowThreads(__tstate);
110da5b0 14373 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14374 }
14375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14376 {
14377 if (temp3)
14378 delete arg3;
14379 }
14380 {
14381 if (temp8)
14382 delete arg8;
14383 }
14384 return resultobj;
14385 fail:
14386 {
14387 if (temp3)
14388 delete arg3;
14389 }
14390 {
14391 if (temp8)
14392 delete arg8;
14393 }
14394 return NULL;
14395}
14396
14397
c370783e 14398static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14399 PyObject *resultobj;
14400 wxRadioButton *result;
14401 char *kwnames[] = {
14402 NULL
14403 };
14404
14405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14406 {
0439c23b 14407 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 result = (wxRadioButton *)new wxRadioButton();
14410
14411 wxPyEndAllowThreads(__tstate);
110da5b0 14412 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14413 }
14414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14415 return resultobj;
14416 fail:
14417 return NULL;
14418}
14419
14420
c370783e 14421static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14422 PyObject *resultobj;
14423 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14424 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
14425 int arg3 = (int) -1 ;
14426 wxString const &arg4_defvalue = wxPyEmptyString ;
14427 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14428 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14429 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14430 wxSize const &arg6_defvalue = wxDefaultSize ;
14431 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14432 long arg7 = (long) 0 ;
14433 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14434 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14435 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14436 wxString *arg9 = (wxString *) &arg9_defvalue ;
14437 bool result;
b411df4a 14438 bool temp4 = false ;
d55e5bfc
RD
14439 wxPoint temp5 ;
14440 wxSize temp6 ;
b411df4a 14441 bool temp9 = false ;
d55e5bfc
RD
14442 PyObject * obj0 = 0 ;
14443 PyObject * obj1 = 0 ;
14444 PyObject * obj2 = 0 ;
14445 PyObject * obj3 = 0 ;
14446 PyObject * obj4 = 0 ;
14447 PyObject * obj5 = 0 ;
14448 PyObject * obj6 = 0 ;
14449 PyObject * obj7 = 0 ;
14450 PyObject * obj8 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14453 };
14454
bfddbb17 14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
14456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14457 if (SWIG_arg_fail(1)) SWIG_fail;
14458 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14459 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 14460 if (obj2) {
36ed4f51
RD
14461 {
14462 arg3 = (int)(SWIG_As_int(obj2));
14463 if (SWIG_arg_fail(3)) SWIG_fail;
14464 }
bfddbb17
RD
14465 }
14466 if (obj3) {
14467 {
14468 arg4 = wxString_in_helper(obj3);
14469 if (arg4 == NULL) SWIG_fail;
b411df4a 14470 temp4 = true;
bfddbb17 14471 }
d55e5bfc
RD
14472 }
14473 if (obj4) {
14474 {
14475 arg5 = &temp5;
14476 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14477 }
14478 }
14479 if (obj5) {
14480 {
14481 arg6 = &temp6;
14482 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14483 }
14484 }
14485 if (obj6) {
36ed4f51
RD
14486 {
14487 arg7 = (long)(SWIG_As_long(obj6));
14488 if (SWIG_arg_fail(7)) SWIG_fail;
14489 }
d55e5bfc
RD
14490 }
14491 if (obj7) {
36ed4f51
RD
14492 {
14493 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14494 if (SWIG_arg_fail(8)) SWIG_fail;
14495 if (arg8 == NULL) {
14496 SWIG_null_ref("wxValidator");
14497 }
14498 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
14499 }
14500 }
14501 if (obj8) {
14502 {
14503 arg9 = wxString_in_helper(obj8);
14504 if (arg9 == NULL) SWIG_fail;
b411df4a 14505 temp9 = true;
d55e5bfc
RD
14506 }
14507 }
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 {
14516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14517 }
14518 {
14519 if (temp4)
14520 delete arg4;
14521 }
14522 {
14523 if (temp9)
14524 delete arg9;
14525 }
14526 return resultobj;
14527 fail:
14528 {
14529 if (temp4)
14530 delete arg4;
14531 }
14532 {
14533 if (temp9)
14534 delete arg9;
14535 }
14536 return NULL;
14537}
14538
14539
c370783e 14540static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14541 PyObject *resultobj;
14542 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14543 bool result;
14544 PyObject * obj0 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "self", NULL
14547 };
14548
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
14550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14551 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 result = (bool)(arg1)->GetValue();
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 {
14560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14561 }
14562 return resultobj;
14563 fail:
14564 return NULL;
14565}
14566
14567
c370783e 14568static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14569 PyObject *resultobj;
14570 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14571 bool arg2 ;
14572 PyObject * obj0 = 0 ;
14573 PyObject * obj1 = 0 ;
14574 char *kwnames[] = {
14575 (char *) "self",(char *) "value", NULL
14576 };
14577
14578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14580 if (SWIG_arg_fail(1)) SWIG_fail;
14581 {
14582 arg2 = (bool)(SWIG_As_bool(obj1));
14583 if (SWIG_arg_fail(2)) SWIG_fail;
14584 }
d55e5bfc
RD
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 (arg1)->SetValue(arg2);
14588
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 Py_INCREF(Py_None); resultobj = Py_None;
14593 return resultobj;
14594 fail:
14595 return NULL;
14596}
14597
14598
c370783e 14599static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14600 PyObject *resultobj;
36ed4f51 14601 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14602 wxVisualAttributes result;
14603 PyObject * obj0 = 0 ;
14604 char *kwnames[] = {
14605 (char *) "variant", NULL
14606 };
14607
14608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14609 if (obj0) {
36ed4f51
RD
14610 {
14611 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14612 if (SWIG_arg_fail(1)) SWIG_fail;
14613 }
f20a2e1f
RD
14614 }
14615 {
0439c23b 14616 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14617 PyThreadState* __tstate = wxPyBeginAllowThreads();
14618 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14619
14620 wxPyEndAllowThreads(__tstate);
110da5b0 14621 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14622 }
14623 {
14624 wxVisualAttributes * resultptr;
36ed4f51 14625 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14627 }
14628 return resultobj;
14629 fail:
14630 return NULL;
14631}
14632
14633
c370783e 14634static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14635 PyObject *obj;
14636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14637 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14638 Py_INCREF(obj);
14639 return Py_BuildValue((char *)"");
14640}
c370783e 14641static int _wrap_SliderNameStr_set(PyObject *) {
d55e5bfc
RD
14642 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14643 return 1;
14644}
14645
14646
36ed4f51 14647static PyObject *_wrap_SliderNameStr_get(void) {
d55e5bfc
RD
14648 PyObject *pyobj;
14649
14650 {
14651#if wxUSE_UNICODE
14652 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14653#else
14654 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14655#endif
14656 }
14657 return pyobj;
14658}
14659
14660
c370783e 14661static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14662 PyObject *resultobj;
14663 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
14664 int arg2 = (int) -1 ;
14665 int arg3 = (int) 0 ;
14666 int arg4 = (int) 0 ;
14667 int arg5 = (int) 100 ;
d55e5bfc
RD
14668 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14669 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14670 wxSize const &arg7_defvalue = wxDefaultSize ;
14671 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14672 long arg8 = (long) wxSL_HORIZONTAL ;
14673 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14674 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14675 wxString const &arg10_defvalue = wxPySliderNameStr ;
14676 wxString *arg10 = (wxString *) &arg10_defvalue ;
14677 wxSlider *result;
14678 wxPoint temp6 ;
14679 wxSize temp7 ;
b411df4a 14680 bool temp10 = false ;
d55e5bfc
RD
14681 PyObject * obj0 = 0 ;
14682 PyObject * obj1 = 0 ;
14683 PyObject * obj2 = 0 ;
14684 PyObject * obj3 = 0 ;
14685 PyObject * obj4 = 0 ;
14686 PyObject * obj5 = 0 ;
14687 PyObject * obj6 = 0 ;
14688 PyObject * obj7 = 0 ;
14689 PyObject * obj8 = 0 ;
14690 PyObject * obj9 = 0 ;
14691 char *kwnames[] = {
14692 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14693 };
14694
bfddbb17 14695 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
14696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14697 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 14698 if (obj1) {
36ed4f51
RD
14699 {
14700 arg2 = (int)(SWIG_As_int(obj1));
14701 if (SWIG_arg_fail(2)) SWIG_fail;
14702 }
bfddbb17
RD
14703 }
14704 if (obj2) {
36ed4f51
RD
14705 {
14706 arg3 = (int)(SWIG_As_int(obj2));
14707 if (SWIG_arg_fail(3)) SWIG_fail;
14708 }
bfddbb17
RD
14709 }
14710 if (obj3) {
36ed4f51
RD
14711 {
14712 arg4 = (int)(SWIG_As_int(obj3));
14713 if (SWIG_arg_fail(4)) SWIG_fail;
14714 }
bfddbb17
RD
14715 }
14716 if (obj4) {
36ed4f51
RD
14717 {
14718 arg5 = (int)(SWIG_As_int(obj4));
14719 if (SWIG_arg_fail(5)) SWIG_fail;
14720 }
bfddbb17 14721 }
d55e5bfc
RD
14722 if (obj5) {
14723 {
14724 arg6 = &temp6;
14725 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14726 }
14727 }
14728 if (obj6) {
14729 {
14730 arg7 = &temp7;
14731 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14732 }
14733 }
14734 if (obj7) {
36ed4f51
RD
14735 {
14736 arg8 = (long)(SWIG_As_long(obj7));
14737 if (SWIG_arg_fail(8)) SWIG_fail;
14738 }
d55e5bfc
RD
14739 }
14740 if (obj8) {
36ed4f51
RD
14741 {
14742 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14743 if (SWIG_arg_fail(9)) SWIG_fail;
14744 if (arg9 == NULL) {
14745 SWIG_null_ref("wxValidator");
14746 }
14747 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
14748 }
14749 }
14750 if (obj9) {
14751 {
14752 arg10 = wxString_in_helper(obj9);
14753 if (arg10 == NULL) SWIG_fail;
b411df4a 14754 temp10 = true;
d55e5bfc
RD
14755 }
14756 }
14757 {
0439c23b 14758 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14761
14762 wxPyEndAllowThreads(__tstate);
110da5b0 14763 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14764 }
14765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14766 {
14767 if (temp10)
14768 delete arg10;
14769 }
14770 return resultobj;
14771 fail:
14772 {
14773 if (temp10)
14774 delete arg10;
14775 }
14776 return NULL;
14777}
14778
14779
c370783e 14780static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14781 PyObject *resultobj;
14782 wxSlider *result;
14783 char *kwnames[] = {
14784 NULL
14785 };
14786
14787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14788 {
0439c23b 14789 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14790 PyThreadState* __tstate = wxPyBeginAllowThreads();
14791 result = (wxSlider *)new wxSlider();
14792
14793 wxPyEndAllowThreads(__tstate);
110da5b0 14794 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14795 }
14796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14797 return resultobj;
14798 fail:
14799 return NULL;
14800}
14801
14802
c370783e 14803static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14804 PyObject *resultobj;
14805 wxSlider *arg1 = (wxSlider *) 0 ;
14806 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
14807 int arg3 = (int) -1 ;
14808 int arg4 = (int) 0 ;
14809 int arg5 = (int) 0 ;
14810 int arg6 = (int) 100 ;
d55e5bfc
RD
14811 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14812 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14813 wxSize const &arg8_defvalue = wxDefaultSize ;
14814 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14815 long arg9 = (long) wxSL_HORIZONTAL ;
14816 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14817 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14818 wxString const &arg11_defvalue = wxPySliderNameStr ;
14819 wxString *arg11 = (wxString *) &arg11_defvalue ;
14820 bool result;
14821 wxPoint temp7 ;
14822 wxSize temp8 ;
b411df4a 14823 bool temp11 = false ;
d55e5bfc
RD
14824 PyObject * obj0 = 0 ;
14825 PyObject * obj1 = 0 ;
14826 PyObject * obj2 = 0 ;
14827 PyObject * obj3 = 0 ;
14828 PyObject * obj4 = 0 ;
14829 PyObject * obj5 = 0 ;
14830 PyObject * obj6 = 0 ;
14831 PyObject * obj7 = 0 ;
14832 PyObject * obj8 = 0 ;
14833 PyObject * obj9 = 0 ;
14834 PyObject * obj10 = 0 ;
14835 char *kwnames[] = {
14836 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14837 };
14838
bfddbb17 14839 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
14840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14841 if (SWIG_arg_fail(1)) SWIG_fail;
14842 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14843 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 14844 if (obj2) {
36ed4f51
RD
14845 {
14846 arg3 = (int)(SWIG_As_int(obj2));
14847 if (SWIG_arg_fail(3)) SWIG_fail;
14848 }
bfddbb17
RD
14849 }
14850 if (obj3) {
36ed4f51
RD
14851 {
14852 arg4 = (int)(SWIG_As_int(obj3));
14853 if (SWIG_arg_fail(4)) SWIG_fail;
14854 }
bfddbb17
RD
14855 }
14856 if (obj4) {
36ed4f51
RD
14857 {
14858 arg5 = (int)(SWIG_As_int(obj4));
14859 if (SWIG_arg_fail(5)) SWIG_fail;
14860 }
bfddbb17
RD
14861 }
14862 if (obj5) {
36ed4f51
RD
14863 {
14864 arg6 = (int)(SWIG_As_int(obj5));
14865 if (SWIG_arg_fail(6)) SWIG_fail;
14866 }
bfddbb17 14867 }
d55e5bfc
RD
14868 if (obj6) {
14869 {
14870 arg7 = &temp7;
14871 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14872 }
14873 }
14874 if (obj7) {
14875 {
14876 arg8 = &temp8;
14877 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14878 }
14879 }
14880 if (obj8) {
36ed4f51
RD
14881 {
14882 arg9 = (long)(SWIG_As_long(obj8));
14883 if (SWIG_arg_fail(9)) SWIG_fail;
14884 }
d55e5bfc
RD
14885 }
14886 if (obj9) {
36ed4f51
RD
14887 {
14888 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14889 if (SWIG_arg_fail(10)) SWIG_fail;
14890 if (arg10 == NULL) {
14891 SWIG_null_ref("wxValidator");
14892 }
14893 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
14894 }
14895 }
14896 if (obj10) {
14897 {
14898 arg11 = wxString_in_helper(obj10);
14899 if (arg11 == NULL) SWIG_fail;
b411df4a 14900 temp11 = true;
d55e5bfc
RD
14901 }
14902 }
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
14910 {
14911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14912 }
14913 {
14914 if (temp11)
14915 delete arg11;
14916 }
14917 return resultobj;
14918 fail:
14919 {
14920 if (temp11)
14921 delete arg11;
14922 }
14923 return NULL;
14924}
14925
14926
c370783e 14927static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14928 PyObject *resultobj;
14929 wxSlider *arg1 = (wxSlider *) 0 ;
14930 int result;
14931 PyObject * obj0 = 0 ;
14932 char *kwnames[] = {
14933 (char *) "self", NULL
14934 };
14935
14936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
14937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14938 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14939 {
14940 PyThreadState* __tstate = wxPyBeginAllowThreads();
14941 result = (int)((wxSlider const *)arg1)->GetValue();
14942
14943 wxPyEndAllowThreads(__tstate);
14944 if (PyErr_Occurred()) SWIG_fail;
14945 }
36ed4f51
RD
14946 {
14947 resultobj = SWIG_From_int((int)(result));
14948 }
d55e5bfc
RD
14949 return resultobj;
14950 fail:
14951 return NULL;
14952}
14953
14954
c370783e 14955static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14956 PyObject *resultobj;
14957 wxSlider *arg1 = (wxSlider *) 0 ;
14958 int arg2 ;
14959 PyObject * obj0 = 0 ;
14960 PyObject * obj1 = 0 ;
14961 char *kwnames[] = {
14962 (char *) "self",(char *) "value", NULL
14963 };
14964
14965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14967 if (SWIG_arg_fail(1)) SWIG_fail;
14968 {
14969 arg2 = (int)(SWIG_As_int(obj1));
14970 if (SWIG_arg_fail(2)) SWIG_fail;
14971 }
d55e5bfc
RD
14972 {
14973 PyThreadState* __tstate = wxPyBeginAllowThreads();
14974 (arg1)->SetValue(arg2);
14975
14976 wxPyEndAllowThreads(__tstate);
14977 if (PyErr_Occurred()) SWIG_fail;
14978 }
14979 Py_INCREF(Py_None); resultobj = Py_None;
14980 return resultobj;
14981 fail:
14982 return NULL;
14983}
14984
14985
c370783e 14986static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14987 PyObject *resultobj;
14988 wxSlider *arg1 = (wxSlider *) 0 ;
14989 int arg2 ;
14990 int arg3 ;
14991 PyObject * obj0 = 0 ;
14992 PyObject * obj1 = 0 ;
14993 PyObject * obj2 = 0 ;
14994 char *kwnames[] = {
14995 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
14996 };
14997
14998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15000 if (SWIG_arg_fail(1)) SWIG_fail;
15001 {
15002 arg2 = (int)(SWIG_As_int(obj1));
15003 if (SWIG_arg_fail(2)) SWIG_fail;
15004 }
15005 {
15006 arg3 = (int)(SWIG_As_int(obj2));
15007 if (SWIG_arg_fail(3)) SWIG_fail;
15008 }
d55e5bfc
RD
15009 {
15010 PyThreadState* __tstate = wxPyBeginAllowThreads();
15011 (arg1)->SetRange(arg2,arg3);
15012
15013 wxPyEndAllowThreads(__tstate);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 }
15016 Py_INCREF(Py_None); resultobj = Py_None;
15017 return resultobj;
15018 fail:
15019 return NULL;
15020}
15021
15022
c370783e 15023static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15024 PyObject *resultobj;
15025 wxSlider *arg1 = (wxSlider *) 0 ;
15026 int result;
15027 PyObject * obj0 = 0 ;
15028 char *kwnames[] = {
15029 (char *) "self", NULL
15030 };
15031
15032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
15033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15034 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15035 {
15036 PyThreadState* __tstate = wxPyBeginAllowThreads();
15037 result = (int)((wxSlider const *)arg1)->GetMin();
15038
15039 wxPyEndAllowThreads(__tstate);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
36ed4f51
RD
15042 {
15043 resultobj = SWIG_From_int((int)(result));
15044 }
d55e5bfc
RD
15045 return resultobj;
15046 fail:
15047 return NULL;
15048}
15049
15050
c370783e 15051static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15052 PyObject *resultobj;
15053 wxSlider *arg1 = (wxSlider *) 0 ;
15054 int result;
15055 PyObject * obj0 = 0 ;
15056 char *kwnames[] = {
15057 (char *) "self", NULL
15058 };
15059
15060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
15061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15063 {
15064 PyThreadState* __tstate = wxPyBeginAllowThreads();
15065 result = (int)((wxSlider const *)arg1)->GetMax();
15066
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
36ed4f51
RD
15070 {
15071 resultobj = SWIG_From_int((int)(result));
15072 }
d55e5bfc
RD
15073 return resultobj;
15074 fail:
15075 return NULL;
15076}
15077
15078
c370783e 15079static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15080 PyObject *resultobj;
15081 wxSlider *arg1 = (wxSlider *) 0 ;
15082 int arg2 ;
15083 PyObject * obj0 = 0 ;
15084 PyObject * obj1 = 0 ;
15085 char *kwnames[] = {
15086 (char *) "self",(char *) "minValue", NULL
15087 };
15088
15089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15091 if (SWIG_arg_fail(1)) SWIG_fail;
15092 {
15093 arg2 = (int)(SWIG_As_int(obj1));
15094 if (SWIG_arg_fail(2)) SWIG_fail;
15095 }
d55e5bfc
RD
15096 {
15097 PyThreadState* __tstate = wxPyBeginAllowThreads();
15098 (arg1)->SetMin(arg2);
15099
15100 wxPyEndAllowThreads(__tstate);
15101 if (PyErr_Occurred()) SWIG_fail;
15102 }
15103 Py_INCREF(Py_None); resultobj = Py_None;
15104 return resultobj;
15105 fail:
15106 return NULL;
15107}
15108
15109
c370783e 15110static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15111 PyObject *resultobj;
15112 wxSlider *arg1 = (wxSlider *) 0 ;
15113 int arg2 ;
15114 PyObject * obj0 = 0 ;
15115 PyObject * obj1 = 0 ;
15116 char *kwnames[] = {
15117 (char *) "self",(char *) "maxValue", NULL
15118 };
15119
15120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15122 if (SWIG_arg_fail(1)) SWIG_fail;
15123 {
15124 arg2 = (int)(SWIG_As_int(obj1));
15125 if (SWIG_arg_fail(2)) SWIG_fail;
15126 }
d55e5bfc
RD
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 (arg1)->SetMax(arg2);
15130
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 Py_INCREF(Py_None); resultobj = Py_None;
15135 return resultobj;
15136 fail:
15137 return NULL;
15138}
15139
15140
c370783e 15141static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15142 PyObject *resultobj;
15143 wxSlider *arg1 = (wxSlider *) 0 ;
15144 int arg2 ;
15145 PyObject * obj0 = 0 ;
15146 PyObject * obj1 = 0 ;
15147 char *kwnames[] = {
15148 (char *) "self",(char *) "lineSize", NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15153 if (SWIG_arg_fail(1)) SWIG_fail;
15154 {
15155 arg2 = (int)(SWIG_As_int(obj1));
15156 if (SWIG_arg_fail(2)) SWIG_fail;
15157 }
d55e5bfc
RD
15158 {
15159 PyThreadState* __tstate = wxPyBeginAllowThreads();
15160 (arg1)->SetLineSize(arg2);
15161
15162 wxPyEndAllowThreads(__tstate);
15163 if (PyErr_Occurred()) SWIG_fail;
15164 }
15165 Py_INCREF(Py_None); resultobj = Py_None;
15166 return resultobj;
15167 fail:
15168 return NULL;
15169}
15170
15171
c370783e 15172static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15173 PyObject *resultobj;
15174 wxSlider *arg1 = (wxSlider *) 0 ;
15175 int arg2 ;
15176 PyObject * obj0 = 0 ;
15177 PyObject * obj1 = 0 ;
15178 char *kwnames[] = {
15179 (char *) "self",(char *) "pageSize", NULL
15180 };
15181
15182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15184 if (SWIG_arg_fail(1)) SWIG_fail;
15185 {
15186 arg2 = (int)(SWIG_As_int(obj1));
15187 if (SWIG_arg_fail(2)) SWIG_fail;
15188 }
d55e5bfc
RD
15189 {
15190 PyThreadState* __tstate = wxPyBeginAllowThreads();
15191 (arg1)->SetPageSize(arg2);
15192
15193 wxPyEndAllowThreads(__tstate);
15194 if (PyErr_Occurred()) SWIG_fail;
15195 }
15196 Py_INCREF(Py_None); resultobj = Py_None;
15197 return resultobj;
15198 fail:
15199 return NULL;
15200}
15201
15202
c370783e 15203static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15204 PyObject *resultobj;
15205 wxSlider *arg1 = (wxSlider *) 0 ;
15206 int result;
15207 PyObject * obj0 = 0 ;
15208 char *kwnames[] = {
15209 (char *) "self", NULL
15210 };
15211
15212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
15213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15214 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15215 {
15216 PyThreadState* __tstate = wxPyBeginAllowThreads();
15217 result = (int)((wxSlider const *)arg1)->GetLineSize();
15218
15219 wxPyEndAllowThreads(__tstate);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 }
36ed4f51
RD
15222 {
15223 resultobj = SWIG_From_int((int)(result));
15224 }
d55e5bfc
RD
15225 return resultobj;
15226 fail:
15227 return NULL;
15228}
15229
15230
c370783e 15231static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15232 PyObject *resultobj;
15233 wxSlider *arg1 = (wxSlider *) 0 ;
15234 int result;
15235 PyObject * obj0 = 0 ;
15236 char *kwnames[] = {
15237 (char *) "self", NULL
15238 };
15239
15240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
15241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15242 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15243 {
15244 PyThreadState* __tstate = wxPyBeginAllowThreads();
15245 result = (int)((wxSlider const *)arg1)->GetPageSize();
15246
15247 wxPyEndAllowThreads(__tstate);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
36ed4f51
RD
15250 {
15251 resultobj = SWIG_From_int((int)(result));
15252 }
d55e5bfc
RD
15253 return resultobj;
15254 fail:
15255 return NULL;
15256}
15257
15258
c370783e 15259static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15260 PyObject *resultobj;
15261 wxSlider *arg1 = (wxSlider *) 0 ;
15262 int arg2 ;
15263 PyObject * obj0 = 0 ;
15264 PyObject * obj1 = 0 ;
15265 char *kwnames[] = {
15266 (char *) "self",(char *) "lenPixels", NULL
15267 };
15268
15269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15271 if (SWIG_arg_fail(1)) SWIG_fail;
15272 {
15273 arg2 = (int)(SWIG_As_int(obj1));
15274 if (SWIG_arg_fail(2)) SWIG_fail;
15275 }
d55e5bfc
RD
15276 {
15277 PyThreadState* __tstate = wxPyBeginAllowThreads();
15278 (arg1)->SetThumbLength(arg2);
15279
15280 wxPyEndAllowThreads(__tstate);
15281 if (PyErr_Occurred()) SWIG_fail;
15282 }
15283 Py_INCREF(Py_None); resultobj = Py_None;
15284 return resultobj;
15285 fail:
15286 return NULL;
15287}
15288
15289
c370783e 15290static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15291 PyObject *resultobj;
15292 wxSlider *arg1 = (wxSlider *) 0 ;
15293 int result;
15294 PyObject * obj0 = 0 ;
15295 char *kwnames[] = {
15296 (char *) "self", NULL
15297 };
15298
15299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
36ed4f51
RD
15300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15301 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15302 {
15303 PyThreadState* __tstate = wxPyBeginAllowThreads();
15304 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15305
15306 wxPyEndAllowThreads(__tstate);
15307 if (PyErr_Occurred()) SWIG_fail;
15308 }
36ed4f51
RD
15309 {
15310 resultobj = SWIG_From_int((int)(result));
15311 }
d55e5bfc
RD
15312 return resultobj;
15313 fail:
15314 return NULL;
15315}
15316
15317
c370783e 15318static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15319 PyObject *resultobj;
15320 wxSlider *arg1 = (wxSlider *) 0 ;
15321 int arg2 ;
15322 int arg3 = (int) 1 ;
15323 PyObject * obj0 = 0 ;
15324 PyObject * obj1 = 0 ;
15325 PyObject * obj2 = 0 ;
15326 char *kwnames[] = {
15327 (char *) "self",(char *) "n",(char *) "pos", NULL
15328 };
15329
15330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15332 if (SWIG_arg_fail(1)) SWIG_fail;
15333 {
15334 arg2 = (int)(SWIG_As_int(obj1));
15335 if (SWIG_arg_fail(2)) SWIG_fail;
15336 }
d55e5bfc 15337 if (obj2) {
36ed4f51
RD
15338 {
15339 arg3 = (int)(SWIG_As_int(obj2));
15340 if (SWIG_arg_fail(3)) SWIG_fail;
15341 }
d55e5bfc
RD
15342 }
15343 {
15344 PyThreadState* __tstate = wxPyBeginAllowThreads();
15345 (arg1)->SetTickFreq(arg2,arg3);
15346
15347 wxPyEndAllowThreads(__tstate);
15348 if (PyErr_Occurred()) SWIG_fail;
15349 }
15350 Py_INCREF(Py_None); resultobj = Py_None;
15351 return resultobj;
15352 fail:
15353 return NULL;
15354}
15355
15356
c370783e 15357static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15358 PyObject *resultobj;
15359 wxSlider *arg1 = (wxSlider *) 0 ;
15360 int result;
15361 PyObject * obj0 = 0 ;
15362 char *kwnames[] = {
15363 (char *) "self", NULL
15364 };
15365
15366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
36ed4f51
RD
15367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15368 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
36ed4f51
RD
15376 {
15377 resultobj = SWIG_From_int((int)(result));
15378 }
d55e5bfc
RD
15379 return resultobj;
15380 fail:
15381 return NULL;
15382}
15383
15384
c370783e 15385static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15386 PyObject *resultobj;
15387 wxSlider *arg1 = (wxSlider *) 0 ;
15388 PyObject * obj0 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
36ed4f51
RD
15394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15395 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15396 {
15397 PyThreadState* __tstate = wxPyBeginAllowThreads();
15398 (arg1)->ClearTicks();
15399
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
15403 Py_INCREF(Py_None); resultobj = Py_None;
15404 return resultobj;
15405 fail:
15406 return NULL;
15407}
15408
15409
c370783e 15410static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15411 PyObject *resultobj;
15412 wxSlider *arg1 = (wxSlider *) 0 ;
15413 int arg2 ;
15414 PyObject * obj0 = 0 ;
15415 PyObject * obj1 = 0 ;
15416 char *kwnames[] = {
15417 (char *) "self",(char *) "tickPos", NULL
15418 };
15419
15420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15422 if (SWIG_arg_fail(1)) SWIG_fail;
15423 {
15424 arg2 = (int)(SWIG_As_int(obj1));
15425 if (SWIG_arg_fail(2)) SWIG_fail;
15426 }
d55e5bfc
RD
15427 {
15428 PyThreadState* __tstate = wxPyBeginAllowThreads();
15429 (arg1)->SetTick(arg2);
15430
15431 wxPyEndAllowThreads(__tstate);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 }
15434 Py_INCREF(Py_None); resultobj = Py_None;
15435 return resultobj;
15436 fail:
15437 return NULL;
15438}
15439
15440
c370783e 15441static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15442 PyObject *resultobj;
15443 wxSlider *arg1 = (wxSlider *) 0 ;
15444 PyObject * obj0 = 0 ;
15445 char *kwnames[] = {
15446 (char *) "self", NULL
15447 };
15448
15449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
36ed4f51
RD
15450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15452 {
15453 PyThreadState* __tstate = wxPyBeginAllowThreads();
15454 (arg1)->ClearSel();
15455
15456 wxPyEndAllowThreads(__tstate);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
15459 Py_INCREF(Py_None); resultobj = Py_None;
15460 return resultobj;
15461 fail:
15462 return NULL;
15463}
15464
15465
c370783e 15466static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15467 PyObject *resultobj;
15468 wxSlider *arg1 = (wxSlider *) 0 ;
15469 int result;
15470 PyObject * obj0 = 0 ;
15471 char *kwnames[] = {
15472 (char *) "self", NULL
15473 };
15474
15475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
15476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15477 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15481
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
36ed4f51
RD
15485 {
15486 resultobj = SWIG_From_int((int)(result));
15487 }
d55e5bfc
RD
15488 return resultobj;
15489 fail:
15490 return NULL;
15491}
15492
15493
c370783e 15494static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15495 PyObject *resultobj;
15496 wxSlider *arg1 = (wxSlider *) 0 ;
15497 int result;
15498 PyObject * obj0 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
15504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15505 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 result = (int)((wxSlider const *)arg1)->GetSelStart();
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
36ed4f51
RD
15513 {
15514 resultobj = SWIG_From_int((int)(result));
15515 }
d55e5bfc
RD
15516 return resultobj;
15517 fail:
15518 return NULL;
15519}
15520
15521
c370783e 15522static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15523 PyObject *resultobj;
15524 wxSlider *arg1 = (wxSlider *) 0 ;
15525 int arg2 ;
15526 int arg3 ;
15527 PyObject * obj0 = 0 ;
15528 PyObject * obj1 = 0 ;
15529 PyObject * obj2 = 0 ;
15530 char *kwnames[] = {
15531 (char *) "self",(char *) "min",(char *) "max", NULL
15532 };
15533
15534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15536 if (SWIG_arg_fail(1)) SWIG_fail;
15537 {
15538 arg2 = (int)(SWIG_As_int(obj1));
15539 if (SWIG_arg_fail(2)) SWIG_fail;
15540 }
15541 {
15542 arg3 = (int)(SWIG_As_int(obj2));
15543 if (SWIG_arg_fail(3)) SWIG_fail;
15544 }
d55e5bfc
RD
15545 {
15546 PyThreadState* __tstate = wxPyBeginAllowThreads();
15547 (arg1)->SetSelection(arg2,arg3);
15548
15549 wxPyEndAllowThreads(__tstate);
15550 if (PyErr_Occurred()) SWIG_fail;
15551 }
15552 Py_INCREF(Py_None); resultobj = Py_None;
15553 return resultobj;
15554 fail:
15555 return NULL;
15556}
15557
15558
c370783e 15559static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 15560 PyObject *resultobj;
36ed4f51 15561 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15562 wxVisualAttributes result;
15563 PyObject * obj0 = 0 ;
15564 char *kwnames[] = {
15565 (char *) "variant", NULL
15566 };
15567
15568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15569 if (obj0) {
36ed4f51
RD
15570 {
15571 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15572 if (SWIG_arg_fail(1)) SWIG_fail;
15573 }
f20a2e1f
RD
15574 }
15575 {
0439c23b 15576 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15577 PyThreadState* __tstate = wxPyBeginAllowThreads();
15578 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15579
15580 wxPyEndAllowThreads(__tstate);
110da5b0 15581 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15582 }
15583 {
15584 wxVisualAttributes * resultptr;
36ed4f51 15585 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
15586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15587 }
15588 return resultobj;
15589 fail:
15590 return NULL;
15591}
15592
15593
c370783e 15594static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15595 PyObject *obj;
15596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15597 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15598 Py_INCREF(obj);
15599 return Py_BuildValue((char *)"");
15600}
c370783e 15601static int _wrap_ToggleButtonNameStr_set(PyObject *) {
d55e5bfc
RD
15602 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15603 return 1;
15604}
15605
15606
36ed4f51 15607static PyObject *_wrap_ToggleButtonNameStr_get(void) {
d55e5bfc
RD
15608 PyObject *pyobj;
15609
15610 {
15611#if wxUSE_UNICODE
15612 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15613#else
15614 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15615#endif
15616 }
15617 return pyobj;
15618}
15619
15620
c370783e 15621static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15622 PyObject *resultobj;
15623 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
15624 int arg2 = (int) -1 ;
15625 wxString const &arg3_defvalue = wxPyEmptyString ;
15626 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15627 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15628 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15629 wxSize const &arg5_defvalue = wxDefaultSize ;
15630 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15631 long arg6 = (long) 0 ;
15632 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15633 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15634 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15635 wxString *arg8 = (wxString *) &arg8_defvalue ;
15636 wxToggleButton *result;
b411df4a 15637 bool temp3 = false ;
d55e5bfc
RD
15638 wxPoint temp4 ;
15639 wxSize temp5 ;
b411df4a 15640 bool temp8 = false ;
d55e5bfc
RD
15641 PyObject * obj0 = 0 ;
15642 PyObject * obj1 = 0 ;
15643 PyObject * obj2 = 0 ;
15644 PyObject * obj3 = 0 ;
15645 PyObject * obj4 = 0 ;
15646 PyObject * obj5 = 0 ;
15647 PyObject * obj6 = 0 ;
15648 PyObject * obj7 = 0 ;
15649 char *kwnames[] = {
15650 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15651 };
15652
bfddbb17 15653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
15654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15655 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 15656 if (obj1) {
36ed4f51
RD
15657 {
15658 arg2 = (int)(SWIG_As_int(obj1));
15659 if (SWIG_arg_fail(2)) SWIG_fail;
15660 }
bfddbb17
RD
15661 }
15662 if (obj2) {
15663 {
15664 arg3 = wxString_in_helper(obj2);
15665 if (arg3 == NULL) SWIG_fail;
b411df4a 15666 temp3 = true;
bfddbb17 15667 }
d55e5bfc
RD
15668 }
15669 if (obj3) {
15670 {
15671 arg4 = &temp4;
15672 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15673 }
15674 }
15675 if (obj4) {
15676 {
15677 arg5 = &temp5;
15678 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15679 }
15680 }
15681 if (obj5) {
36ed4f51
RD
15682 {
15683 arg6 = (long)(SWIG_As_long(obj5));
15684 if (SWIG_arg_fail(6)) SWIG_fail;
15685 }
d55e5bfc
RD
15686 }
15687 if (obj6) {
36ed4f51
RD
15688 {
15689 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15690 if (SWIG_arg_fail(7)) SWIG_fail;
15691 if (arg7 == NULL) {
15692 SWIG_null_ref("wxValidator");
15693 }
15694 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
15695 }
15696 }
15697 if (obj7) {
15698 {
15699 arg8 = wxString_in_helper(obj7);
15700 if (arg8 == NULL) SWIG_fail;
b411df4a 15701 temp8 = true;
d55e5bfc
RD
15702 }
15703 }
15704 {
0439c23b 15705 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15708
15709 wxPyEndAllowThreads(__tstate);
110da5b0 15710 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15711 }
15712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15713 {
15714 if (temp3)
15715 delete arg3;
15716 }
15717 {
15718 if (temp8)
15719 delete arg8;
15720 }
15721 return resultobj;
15722 fail:
15723 {
15724 if (temp3)
15725 delete arg3;
15726 }
15727 {
15728 if (temp8)
15729 delete arg8;
15730 }
15731 return NULL;
15732}
15733
15734
c370783e 15735static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15736 PyObject *resultobj;
15737 wxToggleButton *result;
15738 char *kwnames[] = {
15739 NULL
15740 };
15741
15742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15743 {
0439c23b 15744 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15745 PyThreadState* __tstate = wxPyBeginAllowThreads();
15746 result = (wxToggleButton *)new wxToggleButton();
15747
15748 wxPyEndAllowThreads(__tstate);
110da5b0 15749 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15750 }
15751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15752 return resultobj;
15753 fail:
15754 return NULL;
15755}
15756
15757
c370783e 15758static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15759 PyObject *resultobj;
15760 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15761 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
15762 int arg3 = (int) -1 ;
15763 wxString const &arg4_defvalue = wxPyEmptyString ;
15764 wxString *arg4 = (wxString *) &arg4_defvalue ;
121b9a67
RD
15765 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15766 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15767 wxSize const &arg6_defvalue = wxDefaultSize ;
15768 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15769 long arg7 = (long) 0 ;
15770 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15771 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15772 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15773 wxString *arg9 = (wxString *) &arg9_defvalue ;
15774 bool result;
b411df4a 15775 bool temp4 = false ;
121b9a67
RD
15776 wxPoint temp5 ;
15777 wxSize temp6 ;
b411df4a 15778 bool temp9 = false ;
121b9a67
RD
15779 PyObject * obj0 = 0 ;
15780 PyObject * obj1 = 0 ;
15781 PyObject * obj2 = 0 ;
15782 PyObject * obj3 = 0 ;
15783 PyObject * obj4 = 0 ;
15784 PyObject * obj5 = 0 ;
15785 PyObject * obj6 = 0 ;
15786 PyObject * obj7 = 0 ;
15787 PyObject * obj8 = 0 ;
15788 char *kwnames[] = {
15789 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15790 };
15791
bfddbb17 15792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
15793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15794 if (SWIG_arg_fail(1)) SWIG_fail;
15795 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15796 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 15797 if (obj2) {
36ed4f51
RD
15798 {
15799 arg3 = (int)(SWIG_As_int(obj2));
15800 if (SWIG_arg_fail(3)) SWIG_fail;
15801 }
bfddbb17
RD
15802 }
15803 if (obj3) {
15804 {
15805 arg4 = wxString_in_helper(obj3);
15806 if (arg4 == NULL) SWIG_fail;
b411df4a 15807 temp4 = true;
bfddbb17 15808 }
121b9a67
RD
15809 }
15810 if (obj4) {
15811 {
15812 arg5 = &temp5;
15813 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15814 }
15815 }
15816 if (obj5) {
15817 {
15818 arg6 = &temp6;
15819 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15820 }
15821 }
15822 if (obj6) {
36ed4f51
RD
15823 {
15824 arg7 = (long)(SWIG_As_long(obj6));
15825 if (SWIG_arg_fail(7)) SWIG_fail;
15826 }
121b9a67
RD
15827 }
15828 if (obj7) {
36ed4f51
RD
15829 {
15830 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15831 if (SWIG_arg_fail(8)) SWIG_fail;
15832 if (arg8 == NULL) {
15833 SWIG_null_ref("wxValidator");
15834 }
15835 if (SWIG_arg_fail(8)) SWIG_fail;
121b9a67
RD
15836 }
15837 }
15838 if (obj8) {
15839 {
15840 arg9 = wxString_in_helper(obj8);
15841 if (arg9 == NULL) SWIG_fail;
b411df4a 15842 temp9 = true;
121b9a67
RD
15843 }
15844 }
15845 {
15846 PyThreadState* __tstate = wxPyBeginAllowThreads();
15847 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15848
15849 wxPyEndAllowThreads(__tstate);
15850 if (PyErr_Occurred()) SWIG_fail;
15851 }
15852 {
15853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15854 }
15855 {
15856 if (temp4)
15857 delete arg4;
15858 }
15859 {
15860 if (temp9)
15861 delete arg9;
15862 }
15863 return resultobj;
15864 fail:
15865 {
15866 if (temp4)
15867 delete arg4;
15868 }
15869 {
15870 if (temp9)
15871 delete arg9;
15872 }
15873 return NULL;
15874}
15875
15876
c370783e 15877static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15878 PyObject *resultobj;
15879 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15880 bool arg2 ;
15881 PyObject * obj0 = 0 ;
15882 PyObject * obj1 = 0 ;
15883 char *kwnames[] = {
15884 (char *) "self",(char *) "value", NULL
15885 };
15886
15887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15889 if (SWIG_arg_fail(1)) SWIG_fail;
15890 {
15891 arg2 = (bool)(SWIG_As_bool(obj1));
15892 if (SWIG_arg_fail(2)) SWIG_fail;
15893 }
121b9a67
RD
15894 {
15895 PyThreadState* __tstate = wxPyBeginAllowThreads();
15896 (arg1)->SetValue(arg2);
15897
15898 wxPyEndAllowThreads(__tstate);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 }
15901 Py_INCREF(Py_None); resultobj = Py_None;
15902 return resultobj;
15903 fail:
15904 return NULL;
15905}
15906
15907
c370783e 15908static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15909 PyObject *resultobj;
15910 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15911 bool result;
15912 PyObject * obj0 = 0 ;
15913 char *kwnames[] = {
15914 (char *) "self", NULL
15915 };
15916
15917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
15918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15919 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
15920 {
15921 PyThreadState* __tstate = wxPyBeginAllowThreads();
15922 result = (bool)((wxToggleButton const *)arg1)->GetValue();
15923
15924 wxPyEndAllowThreads(__tstate);
15925 if (PyErr_Occurred()) SWIG_fail;
15926 }
15927 {
15928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15929 }
15930 return resultobj;
15931 fail:
15932 return NULL;
15933}
15934
15935
c370783e 15936static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15937 PyObject *resultobj;
15938 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15939 wxString *arg2 = 0 ;
b411df4a 15940 bool temp2 = false ;
121b9a67
RD
15941 PyObject * obj0 = 0 ;
15942 PyObject * obj1 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self",(char *) "label", NULL
15945 };
15946
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15949 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
15950 {
15951 arg2 = wxString_in_helper(obj1);
15952 if (arg2 == NULL) SWIG_fail;
b411df4a 15953 temp2 = true;
121b9a67
RD
15954 }
15955 {
15956 PyThreadState* __tstate = wxPyBeginAllowThreads();
15957 (arg1)->SetLabel((wxString const &)*arg2);
15958
15959 wxPyEndAllowThreads(__tstate);
15960 if (PyErr_Occurred()) SWIG_fail;
15961 }
15962 Py_INCREF(Py_None); resultobj = Py_None;
15963 {
15964 if (temp2)
15965 delete arg2;
15966 }
15967 return resultobj;
15968 fail:
15969 {
15970 if (temp2)
15971 delete arg2;
15972 }
15973 return NULL;
15974}
15975
15976
c370783e 15977static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 15978 PyObject *resultobj;
36ed4f51 15979 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15980 wxVisualAttributes result;
15981 PyObject * obj0 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "variant", NULL
15984 };
15985
15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15987 if (obj0) {
36ed4f51
RD
15988 {
15989 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15990 if (SWIG_arg_fail(1)) SWIG_fail;
15991 }
f20a2e1f
RD
15992 }
15993 {
0439c23b 15994 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15995 PyThreadState* __tstate = wxPyBeginAllowThreads();
15996 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
15997
15998 wxPyEndAllowThreads(__tstate);
110da5b0 15999 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16000 }
16001 {
16002 wxVisualAttributes * resultptr;
36ed4f51 16003 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
16004 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16005 }
16006 return resultobj;
16007 fail:
16008 return NULL;
16009}
16010
16011
c370783e 16012static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16013 PyObject *obj;
16014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16015 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16016 Py_INCREF(obj);
16017 return Py_BuildValue((char *)"");
16018}
51b83b37
RD
16019static int _wrap_NotebookNameStr_set(PyObject *) {
16020 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
d55e5bfc
RD
16021 return 1;
16022}
16023
16024
51b83b37 16025static PyObject *_wrap_NotebookNameStr_get(void) {
d55e5bfc
RD
16026 PyObject *pyobj;
16027
16028 {
16029#if wxUSE_UNICODE
51b83b37 16030 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 16031#else
51b83b37 16032 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc
RD
16033#endif
16034 }
16035 return pyobj;
16036}
16037
16038
6e0de3df 16039static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16040 PyObject *resultobj;
6e0de3df 16041 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16042 size_t result;
16043 PyObject * obj0 = 0 ;
16044 char *kwnames[] = {
16045 (char *) "self", NULL
16046 };
16047
6e0de3df 16048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
16049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16051 {
16052 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16053 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d55e5bfc
RD
16054
16055 wxPyEndAllowThreads(__tstate);
16056 if (PyErr_Occurred()) SWIG_fail;
16057 }
36ed4f51
RD
16058 {
16059 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16060 }
d55e5bfc
RD
16061 return resultobj;
16062 fail:
16063 return NULL;
16064}
16065
16066
6e0de3df 16067static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16068 PyObject *resultobj;
6e0de3df 16069 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16070 size_t arg2 ;
16071 wxWindow *result;
16072 PyObject * obj0 = 0 ;
16073 PyObject * obj1 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "self",(char *) "n", NULL
16076 };
16077
6e0de3df 16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16080 if (SWIG_arg_fail(1)) SWIG_fail;
16081 {
16082 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16083 if (SWIG_arg_fail(2)) SWIG_fail;
16084 }
d55e5bfc
RD
16085 {
16086 PyThreadState* __tstate = wxPyBeginAllowThreads();
16087 result = (wxWindow *)(arg1)->GetPage(arg2);
16088
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 {
412d302d 16093 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16094 }
16095 return resultobj;
16096 fail:
16097 return NULL;
16098}
16099
16100
6e0de3df 16101static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
8fb0e70a 16102 PyObject *resultobj;
6e0de3df 16103 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16104 wxWindow *result;
16105 PyObject * obj0 = 0 ;
16106 char *kwnames[] = {
16107 (char *) "self", NULL
16108 };
16109
6e0de3df 16110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
16111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16112 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16113 {
16114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16115 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16116
16117 wxPyEndAllowThreads(__tstate);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 }
16120 {
16121 resultobj = wxPyMake_wxObject(result, 0);
16122 }
16123 return resultobj;
16124 fail:
16125 return NULL;
16126}
16127
16128
6e0de3df 16129static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16130 PyObject *resultobj;
6e0de3df 16131 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16132 int result;
16133 PyObject * obj0 = 0 ;
16134 char *kwnames[] = {
16135 (char *) "self", NULL
16136 };
16137
6e0de3df 16138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
16139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16140 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16141 {
16142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16143 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d55e5bfc
RD
16144
16145 wxPyEndAllowThreads(__tstate);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 }
36ed4f51
RD
16148 {
16149 resultobj = SWIG_From_int((int)(result));
16150 }
d55e5bfc
RD
16151 return resultobj;
16152 fail:
16153 return NULL;
16154}
16155
16156
6e0de3df 16157static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16158 PyObject *resultobj;
6e0de3df 16159 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16160 size_t arg2 ;
16161 wxString *arg3 = 0 ;
16162 bool result;
b411df4a 16163 bool temp3 = false ;
d55e5bfc
RD
16164 PyObject * obj0 = 0 ;
16165 PyObject * obj1 = 0 ;
16166 PyObject * obj2 = 0 ;
16167 char *kwnames[] = {
16168 (char *) "self",(char *) "n",(char *) "strText", NULL
16169 };
16170
6e0de3df 16171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16173 if (SWIG_arg_fail(1)) SWIG_fail;
16174 {
16175 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16176 if (SWIG_arg_fail(2)) SWIG_fail;
16177 }
d55e5bfc
RD
16178 {
16179 arg3 = wxString_in_helper(obj2);
16180 if (arg3 == NULL) SWIG_fail;
b411df4a 16181 temp3 = true;
d55e5bfc
RD
16182 }
16183 {
16184 PyThreadState* __tstate = wxPyBeginAllowThreads();
16185 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16186
16187 wxPyEndAllowThreads(__tstate);
16188 if (PyErr_Occurred()) SWIG_fail;
16189 }
16190 {
16191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16192 }
16193 {
16194 if (temp3)
16195 delete arg3;
16196 }
16197 return resultobj;
16198 fail:
16199 {
16200 if (temp3)
16201 delete arg3;
16202 }
16203 return NULL;
16204}
16205
16206
6e0de3df 16207static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16208 PyObject *resultobj;
6e0de3df 16209 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16210 size_t arg2 ;
16211 wxString result;
16212 PyObject * obj0 = 0 ;
16213 PyObject * obj1 = 0 ;
16214 char *kwnames[] = {
16215 (char *) "self",(char *) "n", NULL
16216 };
16217
6e0de3df 16218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16220 if (SWIG_arg_fail(1)) SWIG_fail;
16221 {
16222 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16223 if (SWIG_arg_fail(2)) SWIG_fail;
16224 }
d55e5bfc
RD
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16227 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d55e5bfc
RD
16228
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 {
16233#if wxUSE_UNICODE
16234 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16235#else
16236 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16237#endif
16238 }
16239 return resultobj;
16240 fail:
16241 return NULL;
16242}
16243
16244
6e0de3df 16245static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16246 PyObject *resultobj;
6e0de3df 16247 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16248 wxImageList *arg2 = (wxImageList *) 0 ;
16249 PyObject * obj0 = 0 ;
16250 PyObject * obj1 = 0 ;
16251 char *kwnames[] = {
16252 (char *) "self",(char *) "imageList", NULL
16253 };
16254
6e0de3df 16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16257 if (SWIG_arg_fail(1)) SWIG_fail;
16258 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16259 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 (arg1)->SetImageList(arg2);
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 Py_INCREF(Py_None); resultobj = Py_None;
16268 return resultobj;
16269 fail:
16270 return NULL;
16271}
16272
16273
6e0de3df 16274static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16275 PyObject *resultobj;
6e0de3df 16276 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16277 wxImageList *arg2 = (wxImageList *) 0 ;
16278 PyObject * obj0 = 0 ;
16279 PyObject * obj1 = 0 ;
16280 char *kwnames[] = {
16281 (char *) "self",(char *) "imageList", NULL
16282 };
16283
6e0de3df 16284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16286 if (SWIG_arg_fail(1)) SWIG_fail;
16287 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16288 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16289 {
16290 PyThreadState* __tstate = wxPyBeginAllowThreads();
16291 (arg1)->AssignImageList(arg2);
16292
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 Py_INCREF(Py_None); resultobj = Py_None;
16297 return resultobj;
16298 fail:
16299 return NULL;
16300}
16301
16302
6e0de3df 16303static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16304 PyObject *resultobj;
6e0de3df 16305 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16306 wxImageList *result;
16307 PyObject * obj0 = 0 ;
16308 char *kwnames[] = {
16309 (char *) "self", NULL
16310 };
16311
6e0de3df 16312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
16313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16314 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16317 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d55e5bfc
RD
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 {
412d302d 16323 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16324 }
16325 return resultobj;
16326 fail:
16327 return NULL;
16328}
16329
16330
6e0de3df 16331static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16332 PyObject *resultobj;
6e0de3df 16333 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16334 size_t arg2 ;
16335 int result;
16336 PyObject * obj0 = 0 ;
16337 PyObject * obj1 = 0 ;
16338 char *kwnames[] = {
16339 (char *) "self",(char *) "n", NULL
16340 };
16341
6e0de3df 16342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16344 if (SWIG_arg_fail(1)) SWIG_fail;
16345 {
16346 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16347 if (SWIG_arg_fail(2)) SWIG_fail;
16348 }
d55e5bfc
RD
16349 {
16350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16351 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d55e5bfc
RD
16352
16353 wxPyEndAllowThreads(__tstate);
16354 if (PyErr_Occurred()) SWIG_fail;
16355 }
36ed4f51
RD
16356 {
16357 resultobj = SWIG_From_int((int)(result));
16358 }
d55e5bfc
RD
16359 return resultobj;
16360 fail:
16361 return NULL;
16362}
16363
16364
6e0de3df 16365static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16366 PyObject *resultobj;
6e0de3df 16367 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16368 size_t arg2 ;
16369 int arg3 ;
16370 bool result;
16371 PyObject * obj0 = 0 ;
16372 PyObject * obj1 = 0 ;
16373 PyObject * obj2 = 0 ;
16374 char *kwnames[] = {
16375 (char *) "self",(char *) "n",(char *) "imageId", NULL
16376 };
16377
6e0de3df 16378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16380 if (SWIG_arg_fail(1)) SWIG_fail;
16381 {
16382 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16383 if (SWIG_arg_fail(2)) SWIG_fail;
16384 }
16385 {
16386 arg3 = (int)(SWIG_As_int(obj2));
16387 if (SWIG_arg_fail(3)) SWIG_fail;
16388 }
d55e5bfc
RD
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16392
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
16396 {
16397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16398 }
16399 return resultobj;
16400 fail:
16401 return NULL;
16402}
16403
16404
6e0de3df 16405static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16406 PyObject *resultobj;
6e0de3df 16407 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16408 wxSize *arg2 = 0 ;
16409 wxSize temp2 ;
16410 PyObject * obj0 = 0 ;
16411 PyObject * obj1 = 0 ;
16412 char *kwnames[] = {
16413 (char *) "self",(char *) "size", NULL
16414 };
16415
6e0de3df 16416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16418 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16419 {
16420 arg2 = &temp2;
16421 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16422 }
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
16425 (arg1)->SetPageSize((wxSize const &)*arg2);
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 Py_INCREF(Py_None); resultobj = Py_None;
16431 return resultobj;
16432 fail:
16433 return NULL;
16434}
16435
16436
6e0de3df 16437static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16438 PyObject *resultobj;
6e0de3df 16439 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16440 wxSize *arg2 = 0 ;
16441 wxSize result;
16442 wxSize temp2 ;
16443 PyObject * obj0 = 0 ;
16444 PyObject * obj1 = 0 ;
16445 char *kwnames[] = {
16446 (char *) "self",(char *) "sizePage", NULL
16447 };
16448
6e0de3df 16449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16452 {
16453 arg2 = &temp2;
16454 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16455 }
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16458 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d55e5bfc
RD
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 {
16464 wxSize * resultptr;
36ed4f51 16465 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
16466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16467 }
16468 return resultobj;
16469 fail:
16470 return NULL;
16471}
16472
16473
6e0de3df 16474static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16475 PyObject *resultobj;
6e0de3df 16476 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16477 size_t arg2 ;
16478 bool result;
16479 PyObject * obj0 = 0 ;
16480 PyObject * obj1 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self",(char *) "n", NULL
16483 };
16484
6e0de3df 16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail;
16488 {
16489 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16490 if (SWIG_arg_fail(2)) SWIG_fail;
16491 }
d55e5bfc
RD
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 result = (bool)(arg1)->DeletePage(arg2);
16495
16496 wxPyEndAllowThreads(__tstate);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 }
16499 {
16500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16501 }
16502 return resultobj;
16503 fail:
16504 return NULL;
16505}
16506
16507
6e0de3df 16508static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16509 PyObject *resultobj;
6e0de3df 16510 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16511 size_t arg2 ;
16512 bool result;
16513 PyObject * obj0 = 0 ;
16514 PyObject * obj1 = 0 ;
16515 char *kwnames[] = {
16516 (char *) "self",(char *) "n", NULL
16517 };
16518
6e0de3df 16519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16521 if (SWIG_arg_fail(1)) SWIG_fail;
16522 {
16523 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16524 if (SWIG_arg_fail(2)) SWIG_fail;
16525 }
d55e5bfc
RD
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = (bool)(arg1)->RemovePage(arg2);
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 {
16534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16535 }
16536 return resultobj;
16537 fail:
16538 return NULL;
16539}
16540
16541
6e0de3df 16542static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16543 PyObject *resultobj;
6e0de3df 16544 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16545 bool result;
16546 PyObject * obj0 = 0 ;
16547 char *kwnames[] = {
16548 (char *) "self", NULL
16549 };
16550
6e0de3df 16551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
16552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16553 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16554 {
16555 PyThreadState* __tstate = wxPyBeginAllowThreads();
16556 result = (bool)(arg1)->DeleteAllPages();
16557
16558 wxPyEndAllowThreads(__tstate);
16559 if (PyErr_Occurred()) SWIG_fail;
16560 }
16561 {
16562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16563 }
16564 return resultobj;
16565 fail:
16566 return NULL;
16567}
16568
16569
6e0de3df 16570static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16571 PyObject *resultobj;
6e0de3df 16572 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16573 wxWindow *arg2 = (wxWindow *) 0 ;
16574 wxString *arg3 = 0 ;
b411df4a 16575 bool arg4 = (bool) false ;
d55e5bfc
RD
16576 int arg5 = (int) -1 ;
16577 bool result;
b411df4a 16578 bool temp3 = false ;
d55e5bfc
RD
16579 PyObject * obj0 = 0 ;
16580 PyObject * obj1 = 0 ;
16581 PyObject * obj2 = 0 ;
16582 PyObject * obj3 = 0 ;
16583 PyObject * obj4 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16586 };
16587
6e0de3df 16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16590 if (SWIG_arg_fail(1)) SWIG_fail;
16591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16592 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16593 {
16594 arg3 = wxString_in_helper(obj2);
16595 if (arg3 == NULL) SWIG_fail;
b411df4a 16596 temp3 = true;
d55e5bfc
RD
16597 }
16598 if (obj3) {
36ed4f51
RD
16599 {
16600 arg4 = (bool)(SWIG_As_bool(obj3));
16601 if (SWIG_arg_fail(4)) SWIG_fail;
16602 }
d55e5bfc
RD
16603 }
16604 if (obj4) {
36ed4f51
RD
16605 {
16606 arg5 = (int)(SWIG_As_int(obj4));
16607 if (SWIG_arg_fail(5)) SWIG_fail;
16608 }
d55e5bfc
RD
16609 }
16610 {
16611 PyThreadState* __tstate = wxPyBeginAllowThreads();
16612 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16613
16614 wxPyEndAllowThreads(__tstate);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
16617 {
16618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16619 }
16620 {
16621 if (temp3)
16622 delete arg3;
16623 }
16624 return resultobj;
16625 fail:
16626 {
16627 if (temp3)
16628 delete arg3;
16629 }
16630 return NULL;
16631}
16632
16633
6e0de3df 16634static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16635 PyObject *resultobj;
6e0de3df 16636 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16637 size_t arg2 ;
16638 wxWindow *arg3 = (wxWindow *) 0 ;
16639 wxString *arg4 = 0 ;
b411df4a 16640 bool arg5 = (bool) false ;
d55e5bfc
RD
16641 int arg6 = (int) -1 ;
16642 bool result;
b411df4a 16643 bool temp4 = false ;
d55e5bfc
RD
16644 PyObject * obj0 = 0 ;
16645 PyObject * obj1 = 0 ;
16646 PyObject * obj2 = 0 ;
16647 PyObject * obj3 = 0 ;
16648 PyObject * obj4 = 0 ;
16649 PyObject * obj5 = 0 ;
16650 char *kwnames[] = {
16651 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16652 };
16653
6e0de3df 16654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
16655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16656 if (SWIG_arg_fail(1)) SWIG_fail;
16657 {
16658 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16659 if (SWIG_arg_fail(2)) SWIG_fail;
16660 }
16661 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16662 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16663 {
16664 arg4 = wxString_in_helper(obj3);
16665 if (arg4 == NULL) SWIG_fail;
b411df4a 16666 temp4 = true;
d55e5bfc
RD
16667 }
16668 if (obj4) {
36ed4f51
RD
16669 {
16670 arg5 = (bool)(SWIG_As_bool(obj4));
16671 if (SWIG_arg_fail(5)) SWIG_fail;
16672 }
d55e5bfc
RD
16673 }
16674 if (obj5) {
36ed4f51
RD
16675 {
16676 arg6 = (int)(SWIG_As_int(obj5));
16677 if (SWIG_arg_fail(6)) SWIG_fail;
16678 }
d55e5bfc
RD
16679 }
16680 {
16681 PyThreadState* __tstate = wxPyBeginAllowThreads();
16682 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16683
16684 wxPyEndAllowThreads(__tstate);
16685 if (PyErr_Occurred()) SWIG_fail;
16686 }
16687 {
16688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16689 }
16690 {
16691 if (temp4)
16692 delete arg4;
16693 }
16694 return resultobj;
16695 fail:
16696 {
16697 if (temp4)
16698 delete arg4;
16699 }
16700 return NULL;
16701}
16702
16703
6e0de3df 16704static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16705 PyObject *resultobj;
6e0de3df 16706 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16707 size_t arg2 ;
16708 int result;
16709 PyObject * obj0 = 0 ;
16710 PyObject * obj1 = 0 ;
16711 char *kwnames[] = {
16712 (char *) "self",(char *) "n", NULL
16713 };
16714
6e0de3df 16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16717 if (SWIG_arg_fail(1)) SWIG_fail;
16718 {
16719 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16720 if (SWIG_arg_fail(2)) SWIG_fail;
16721 }
d55e5bfc
RD
16722 {
16723 PyThreadState* __tstate = wxPyBeginAllowThreads();
16724 result = (int)(arg1)->SetSelection(arg2);
16725
16726 wxPyEndAllowThreads(__tstate);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
36ed4f51
RD
16729 {
16730 resultobj = SWIG_From_int((int)(result));
16731 }
d55e5bfc
RD
16732 return resultobj;
16733 fail:
16734 return NULL;
16735}
16736
16737
6e0de3df 16738static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16739 PyObject *resultobj;
6e0de3df 16740 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
b411df4a 16741 bool arg2 = (bool) true ;
d55e5bfc
RD
16742 PyObject * obj0 = 0 ;
16743 PyObject * obj1 = 0 ;
16744 char *kwnames[] = {
16745 (char *) "self",(char *) "forward", NULL
16746 };
16747
6e0de3df 16748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16750 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16751 if (obj1) {
36ed4f51
RD
16752 {
16753 arg2 = (bool)(SWIG_As_bool(obj1));
16754 if (SWIG_arg_fail(2)) SWIG_fail;
16755 }
d55e5bfc
RD
16756 }
16757 {
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 (arg1)->AdvanceSelection(arg2);
16760
16761 wxPyEndAllowThreads(__tstate);
16762 if (PyErr_Occurred()) SWIG_fail;
16763 }
16764 Py_INCREF(Py_None); resultobj = Py_None;
16765 return resultobj;
16766 fail:
16767 return NULL;
16768}
16769
16770
6e0de3df 16771static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 16772 PyObject *resultobj;
36ed4f51 16773 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16774 wxVisualAttributes result;
16775 PyObject * obj0 = 0 ;
16776 char *kwnames[] = {
16777 (char *) "variant", NULL
16778 };
16779
6e0de3df 16780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
f20a2e1f 16781 if (obj0) {
36ed4f51
RD
16782 {
16783 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16784 if (SWIG_arg_fail(1)) SWIG_fail;
16785 }
f20a2e1f
RD
16786 }
16787 {
0439c23b 16788 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 16789 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16790 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
f20a2e1f
RD
16791
16792 wxPyEndAllowThreads(__tstate);
110da5b0 16793 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16794 }
16795 {
16796 wxVisualAttributes * resultptr;
36ed4f51 16797 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
16798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16799 }
16800 return resultobj;
16801 fail:
16802 return NULL;
16803}
16804
16805
6e0de3df 16806static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16807 PyObject *obj;
16808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6e0de3df 16809 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d55e5bfc
RD
16810 Py_INCREF(obj);
16811 return Py_BuildValue((char *)"");
16812}
6e0de3df 16813static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16814 PyObject *resultobj;
16815 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16816 int arg2 = (int) 0 ;
16817 int arg3 = (int) -1 ;
16818 int arg4 = (int) -1 ;
6e0de3df 16819 wxBookCtrlBaseEvent *result;
d55e5bfc
RD
16820 PyObject * obj0 = 0 ;
16821 PyObject * obj1 = 0 ;
16822 PyObject * obj2 = 0 ;
16823 PyObject * obj3 = 0 ;
16824 char *kwnames[] = {
16825 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16826 };
16827
6e0de3df 16828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 16829 if (obj0) {
36ed4f51
RD
16830 {
16831 arg1 = (wxEventType)(SWIG_As_int(obj0));
16832 if (SWIG_arg_fail(1)) SWIG_fail;
16833 }
d55e5bfc
RD
16834 }
16835 if (obj1) {
36ed4f51
RD
16836 {
16837 arg2 = (int)(SWIG_As_int(obj1));
16838 if (SWIG_arg_fail(2)) SWIG_fail;
16839 }
d55e5bfc
RD
16840 }
16841 if (obj2) {
36ed4f51
RD
16842 {
16843 arg3 = (int)(SWIG_As_int(obj2));
16844 if (SWIG_arg_fail(3)) SWIG_fail;
16845 }
d55e5bfc
RD
16846 }
16847 if (obj3) {
36ed4f51
RD
16848 {
16849 arg4 = (int)(SWIG_As_int(obj3));
16850 if (SWIG_arg_fail(4)) SWIG_fail;
16851 }
d55e5bfc
RD
16852 }
16853 {
16854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16855 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
16856
16857 wxPyEndAllowThreads(__tstate);
16858 if (PyErr_Occurred()) SWIG_fail;
16859 }
6e0de3df 16860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d55e5bfc
RD
16861 return resultobj;
16862 fail:
16863 return NULL;
16864}
16865
16866
6e0de3df 16867static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16868 PyObject *resultobj;
6e0de3df 16869 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16870 int result;
16871 PyObject * obj0 = 0 ;
16872 char *kwnames[] = {
16873 (char *) "self", NULL
16874 };
16875
6e0de3df 16876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
16877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16879 {
16880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16881 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d55e5bfc
RD
16882
16883 wxPyEndAllowThreads(__tstate);
16884 if (PyErr_Occurred()) SWIG_fail;
16885 }
36ed4f51
RD
16886 {
16887 resultobj = SWIG_From_int((int)(result));
16888 }
d55e5bfc
RD
16889 return resultobj;
16890 fail:
16891 return NULL;
16892}
16893
16894
6e0de3df 16895static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16896 PyObject *resultobj;
6e0de3df 16897 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16898 int arg2 ;
16899 PyObject * obj0 = 0 ;
16900 PyObject * obj1 = 0 ;
16901 char *kwnames[] = {
16902 (char *) "self",(char *) "nSel", NULL
16903 };
16904
6e0de3df 16905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16907 if (SWIG_arg_fail(1)) SWIG_fail;
16908 {
16909 arg2 = (int)(SWIG_As_int(obj1));
16910 if (SWIG_arg_fail(2)) SWIG_fail;
16911 }
d55e5bfc
RD
16912 {
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 (arg1)->SetSelection(arg2);
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 Py_INCREF(Py_None); resultobj = Py_None;
16920 return resultobj;
16921 fail:
16922 return NULL;
16923}
16924
16925
6e0de3df 16926static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16927 PyObject *resultobj;
6e0de3df 16928 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16929 int result;
16930 PyObject * obj0 = 0 ;
16931 char *kwnames[] = {
16932 (char *) "self", NULL
16933 };
16934
6e0de3df 16935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
16936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16937 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16940 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d55e5bfc
RD
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
36ed4f51
RD
16945 {
16946 resultobj = SWIG_From_int((int)(result));
16947 }
d55e5bfc
RD
16948 return resultobj;
16949 fail:
16950 return NULL;
16951}
16952
16953
6e0de3df 16954static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16955 PyObject *resultobj;
6e0de3df 16956 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16957 int arg2 ;
16958 PyObject * obj0 = 0 ;
16959 PyObject * obj1 = 0 ;
16960 char *kwnames[] = {
16961 (char *) "self",(char *) "nOldSel", NULL
16962 };
16963
6e0de3df 16964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16966 if (SWIG_arg_fail(1)) SWIG_fail;
16967 {
16968 arg2 = (int)(SWIG_As_int(obj1));
16969 if (SWIG_arg_fail(2)) SWIG_fail;
16970 }
d55e5bfc
RD
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 (arg1)->SetOldSelection(arg2);
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 Py_INCREF(Py_None); resultobj = Py_None;
16979 return resultobj;
16980 fail:
16981 return NULL;
16982}
16983
16984
6e0de3df 16985static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16986 PyObject *obj;
16987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6e0de3df 16988 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d55e5bfc
RD
16989 Py_INCREF(obj);
16990 return Py_BuildValue((char *)"");
16991}
c370783e 16992static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16993 PyObject *resultobj;
16994 wxWindow *arg1 = (wxWindow *) 0 ;
16995 int arg2 = (int) -1 ;
16996 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16997 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16998 wxSize const &arg4_defvalue = wxDefaultSize ;
16999 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17000 long arg5 = (long) 0 ;
51b83b37 17001 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17002 wxString *arg6 = (wxString *) &arg6_defvalue ;
17003 wxNotebook *result;
17004 wxPoint temp3 ;
17005 wxSize temp4 ;
b411df4a 17006 bool temp6 = false ;
d55e5bfc
RD
17007 PyObject * obj0 = 0 ;
17008 PyObject * obj1 = 0 ;
17009 PyObject * obj2 = 0 ;
17010 PyObject * obj3 = 0 ;
17011 PyObject * obj4 = 0 ;
17012 PyObject * obj5 = 0 ;
17013 char *kwnames[] = {
17014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17015 };
17016
17017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17020 if (obj1) {
36ed4f51
RD
17021 {
17022 arg2 = (int)(SWIG_As_int(obj1));
17023 if (SWIG_arg_fail(2)) SWIG_fail;
17024 }
d55e5bfc
RD
17025 }
17026 if (obj2) {
17027 {
17028 arg3 = &temp3;
17029 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17030 }
17031 }
17032 if (obj3) {
17033 {
17034 arg4 = &temp4;
17035 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17036 }
17037 }
17038 if (obj4) {
36ed4f51
RD
17039 {
17040 arg5 = (long)(SWIG_As_long(obj4));
17041 if (SWIG_arg_fail(5)) SWIG_fail;
17042 }
d55e5bfc
RD
17043 }
17044 if (obj5) {
17045 {
17046 arg6 = wxString_in_helper(obj5);
17047 if (arg6 == NULL) SWIG_fail;
b411df4a 17048 temp6 = true;
d55e5bfc
RD
17049 }
17050 }
17051 {
0439c23b 17052 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17055
17056 wxPyEndAllowThreads(__tstate);
110da5b0 17057 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17058 }
b0f7404b 17059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17060 {
17061 if (temp6)
17062 delete arg6;
17063 }
17064 return resultobj;
17065 fail:
17066 {
17067 if (temp6)
17068 delete arg6;
17069 }
17070 return NULL;
17071}
17072
17073
c370783e 17074static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17075 PyObject *resultobj;
17076 wxNotebook *result;
17077 char *kwnames[] = {
17078 NULL
17079 };
17080
17081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17082 {
0439c23b 17083 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17084 PyThreadState* __tstate = wxPyBeginAllowThreads();
17085 result = (wxNotebook *)new wxNotebook();
17086
17087 wxPyEndAllowThreads(__tstate);
110da5b0 17088 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17089 }
b0f7404b 17090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17091 return resultobj;
17092 fail:
17093 return NULL;
17094}
17095
17096
c370783e 17097static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17098 PyObject *resultobj;
17099 wxNotebook *arg1 = (wxNotebook *) 0 ;
17100 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 17101 int arg3 = (int) -1 ;
d55e5bfc
RD
17102 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17103 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17104 wxSize const &arg5_defvalue = wxDefaultSize ;
17105 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17106 long arg6 = (long) 0 ;
51b83b37 17107 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17108 wxString *arg7 = (wxString *) &arg7_defvalue ;
17109 bool result;
17110 wxPoint temp4 ;
17111 wxSize temp5 ;
b411df4a 17112 bool temp7 = false ;
d55e5bfc
RD
17113 PyObject * obj0 = 0 ;
17114 PyObject * obj1 = 0 ;
17115 PyObject * obj2 = 0 ;
17116 PyObject * obj3 = 0 ;
17117 PyObject * obj4 = 0 ;
17118 PyObject * obj5 = 0 ;
17119 PyObject * obj6 = 0 ;
17120 char *kwnames[] = {
17121 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17122 };
17123
bfddbb17 17124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17126 if (SWIG_arg_fail(1)) SWIG_fail;
17127 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17128 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17129 if (obj2) {
36ed4f51
RD
17130 {
17131 arg3 = (int)(SWIG_As_int(obj2));
17132 if (SWIG_arg_fail(3)) SWIG_fail;
17133 }
bfddbb17 17134 }
d55e5bfc
RD
17135 if (obj3) {
17136 {
17137 arg4 = &temp4;
17138 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17139 }
17140 }
17141 if (obj4) {
17142 {
17143 arg5 = &temp5;
17144 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17145 }
17146 }
17147 if (obj5) {
36ed4f51
RD
17148 {
17149 arg6 = (long)(SWIG_As_long(obj5));
17150 if (SWIG_arg_fail(6)) SWIG_fail;
17151 }
d55e5bfc
RD
17152 }
17153 if (obj6) {
17154 {
17155 arg7 = wxString_in_helper(obj6);
17156 if (arg7 == NULL) SWIG_fail;
b411df4a 17157 temp7 = true;
d55e5bfc
RD
17158 }
17159 }
17160 {
17161 PyThreadState* __tstate = wxPyBeginAllowThreads();
17162 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17163
17164 wxPyEndAllowThreads(__tstate);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 }
17167 {
17168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17169 }
17170 {
17171 if (temp7)
17172 delete arg7;
17173 }
17174 return resultobj;
17175 fail:
17176 {
17177 if (temp7)
17178 delete arg7;
17179 }
17180 return NULL;
17181}
17182
17183
c370783e 17184static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17185 PyObject *resultobj;
17186 wxNotebook *arg1 = (wxNotebook *) 0 ;
17187 int result;
17188 PyObject * obj0 = 0 ;
17189 char *kwnames[] = {
17190 (char *) "self", NULL
17191 };
17192
17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
17194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17195 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
36ed4f51
RD
17203 {
17204 resultobj = SWIG_From_int((int)(result));
17205 }
d55e5bfc
RD
17206 return resultobj;
17207 fail:
17208 return NULL;
17209}
17210
17211
c370783e 17212static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17213 PyObject *resultobj;
17214 wxNotebook *arg1 = (wxNotebook *) 0 ;
17215 wxSize *arg2 = 0 ;
17216 wxSize temp2 ;
17217 PyObject * obj0 = 0 ;
17218 PyObject * obj1 = 0 ;
17219 char *kwnames[] = {
17220 (char *) "self",(char *) "padding", NULL
17221 };
17222
17223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17225 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17226 {
17227 arg2 = &temp2;
17228 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17229 }
17230 {
17231 PyThreadState* __tstate = wxPyBeginAllowThreads();
17232 (arg1)->SetPadding((wxSize const &)*arg2);
17233
17234 wxPyEndAllowThreads(__tstate);
17235 if (PyErr_Occurred()) SWIG_fail;
17236 }
17237 Py_INCREF(Py_None); resultobj = Py_None;
17238 return resultobj;
17239 fail:
17240 return NULL;
17241}
17242
17243
c370783e 17244static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17245 PyObject *resultobj;
17246 wxNotebook *arg1 = (wxNotebook *) 0 ;
17247 wxSize *arg2 = 0 ;
17248 wxSize temp2 ;
17249 PyObject * obj0 = 0 ;
17250 PyObject * obj1 = 0 ;
17251 char *kwnames[] = {
17252 (char *) "self",(char *) "sz", NULL
17253 };
17254
17255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17257 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17258 {
17259 arg2 = &temp2;
17260 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17261 }
17262 {
17263 PyThreadState* __tstate = wxPyBeginAllowThreads();
17264 (arg1)->SetTabSize((wxSize const &)*arg2);
17265
17266 wxPyEndAllowThreads(__tstate);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 }
17269 Py_INCREF(Py_None); resultobj = Py_None;
17270 return resultobj;
17271 fail:
17272 return NULL;
17273}
17274
17275
c370783e 17276static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17277 PyObject *resultobj;
17278 wxNotebook *arg1 = (wxNotebook *) 0 ;
17279 wxPoint *arg2 = 0 ;
17280 long *arg3 = (long *) 0 ;
17281 int result;
17282 wxPoint temp2 ;
17283 long temp3 ;
c370783e 17284 int res3 = 0 ;
d55e5bfc
RD
17285 PyObject * obj0 = 0 ;
17286 PyObject * obj1 = 0 ;
17287 char *kwnames[] = {
17288 (char *) "self",(char *) "pt", NULL
17289 };
17290
c370783e 17291 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17294 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17295 {
17296 arg2 = &temp2;
17297 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17298 }
17299 {
17300 PyThreadState* __tstate = wxPyBeginAllowThreads();
17301 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17302
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
36ed4f51
RD
17306 {
17307 resultobj = SWIG_From_int((int)(result));
17308 }
c370783e
RD
17309 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17310 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
17311 return resultobj;
17312 fail:
17313 return NULL;
17314}
17315
17316
c370783e 17317static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17318 PyObject *resultobj;
17319 wxNotebook *arg1 = (wxNotebook *) 0 ;
17320 wxSize *arg2 = 0 ;
17321 wxSize result;
17322 wxSize temp2 ;
17323 PyObject * obj0 = 0 ;
17324 PyObject * obj1 = 0 ;
17325 char *kwnames[] = {
17326 (char *) "self",(char *) "sizePage", NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17332 {
17333 arg2 = &temp2;
17334 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17335 }
17336 {
17337 PyThreadState* __tstate = wxPyBeginAllowThreads();
17338 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17339
17340 wxPyEndAllowThreads(__tstate);
17341 if (PyErr_Occurred()) SWIG_fail;
17342 }
17343 {
17344 wxSize * resultptr;
36ed4f51 17345 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
17346 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17347 }
17348 return resultobj;
17349 fail:
17350 return NULL;
17351}
17352
17353
091fdbfa
RD
17354static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj;
17356 wxNotebook *arg1 = (wxNotebook *) 0 ;
17357 wxColour result;
17358 PyObject * obj0 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail;
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 {
17374 wxColour * resultptr;
17375 resultptr = new wxColour((wxColour &)(result));
17376 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17377 }
17378 return resultobj;
17379 fail:
17380 return NULL;
17381}
17382
17383
c370783e 17384static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 17385 PyObject *resultobj;
36ed4f51 17386 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17387 wxVisualAttributes result;
17388 PyObject * obj0 = 0 ;
17389 char *kwnames[] = {
17390 (char *) "variant", NULL
17391 };
17392
17393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17394 if (obj0) {
36ed4f51
RD
17395 {
17396 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17397 if (SWIG_arg_fail(1)) SWIG_fail;
17398 }
f20a2e1f
RD
17399 }
17400 {
0439c23b 17401 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
17402 PyThreadState* __tstate = wxPyBeginAllowThreads();
17403 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17404
17405 wxPyEndAllowThreads(__tstate);
110da5b0 17406 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17407 }
17408 {
17409 wxVisualAttributes * resultptr;
36ed4f51 17410 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
17411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17412 }
17413 return resultobj;
17414 fail:
17415 return NULL;
17416}
17417
17418
c370783e 17419static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17420 PyObject *obj;
17421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17422 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17423 Py_INCREF(obj);
17424 return Py_BuildValue((char *)"");
17425}
c370783e 17426static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17427 PyObject *resultobj;
17428 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17429 int arg2 = (int) 0 ;
17430 int arg3 = (int) -1 ;
17431 int arg4 = (int) -1 ;
17432 wxNotebookEvent *result;
17433 PyObject * obj0 = 0 ;
17434 PyObject * obj1 = 0 ;
17435 PyObject * obj2 = 0 ;
17436 PyObject * obj3 = 0 ;
17437 char *kwnames[] = {
17438 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17439 };
17440
17441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17442 if (obj0) {
36ed4f51
RD
17443 {
17444 arg1 = (wxEventType)(SWIG_As_int(obj0));
17445 if (SWIG_arg_fail(1)) SWIG_fail;
17446 }
d55e5bfc
RD
17447 }
17448 if (obj1) {
36ed4f51
RD
17449 {
17450 arg2 = (int)(SWIG_As_int(obj1));
17451 if (SWIG_arg_fail(2)) SWIG_fail;
17452 }
d55e5bfc
RD
17453 }
17454 if (obj2) {
36ed4f51
RD
17455 {
17456 arg3 = (int)(SWIG_As_int(obj2));
17457 if (SWIG_arg_fail(3)) SWIG_fail;
17458 }
d55e5bfc
RD
17459 }
17460 if (obj3) {
36ed4f51
RD
17461 {
17462 arg4 = (int)(SWIG_As_int(obj3));
17463 if (SWIG_arg_fail(4)) SWIG_fail;
17464 }
d55e5bfc
RD
17465 }
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17474 return resultobj;
17475 fail:
17476 return NULL;
17477}
17478
17479
c370783e 17480static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17481 PyObject *obj;
17482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17483 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17484 Py_INCREF(obj);
17485 return Py_BuildValue((char *)"");
17486}
c370783e 17487static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17488 PyObject *resultobj;
17489 wxWindow *arg1 = (wxWindow *) 0 ;
17490 int arg2 = (int) -1 ;
17491 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17492 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17493 wxSize const &arg4_defvalue = wxDefaultSize ;
17494 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17495 long arg5 = (long) 0 ;
17496 wxString const &arg6_defvalue = wxPyEmptyString ;
17497 wxString *arg6 = (wxString *) &arg6_defvalue ;
17498 wxListbook *result;
17499 wxPoint temp3 ;
17500 wxSize temp4 ;
b411df4a 17501 bool temp6 = false ;
d55e5bfc
RD
17502 PyObject * obj0 = 0 ;
17503 PyObject * obj1 = 0 ;
17504 PyObject * obj2 = 0 ;
17505 PyObject * obj3 = 0 ;
17506 PyObject * obj4 = 0 ;
17507 PyObject * obj5 = 0 ;
17508 char *kwnames[] = {
17509 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17510 };
17511
17512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17514 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17515 if (obj1) {
36ed4f51
RD
17516 {
17517 arg2 = (int)(SWIG_As_int(obj1));
17518 if (SWIG_arg_fail(2)) SWIG_fail;
17519 }
d55e5bfc
RD
17520 }
17521 if (obj2) {
17522 {
17523 arg3 = &temp3;
17524 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17525 }
17526 }
17527 if (obj3) {
17528 {
17529 arg4 = &temp4;
17530 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17531 }
17532 }
17533 if (obj4) {
36ed4f51
RD
17534 {
17535 arg5 = (long)(SWIG_As_long(obj4));
17536 if (SWIG_arg_fail(5)) SWIG_fail;
17537 }
d55e5bfc
RD
17538 }
17539 if (obj5) {
17540 {
17541 arg6 = wxString_in_helper(obj5);
17542 if (arg6 == NULL) SWIG_fail;
b411df4a 17543 temp6 = true;
d55e5bfc
RD
17544 }
17545 }
17546 {
0439c23b 17547 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17550
17551 wxPyEndAllowThreads(__tstate);
110da5b0 17552 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17553 }
17554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17555 {
17556 if (temp6)
17557 delete arg6;
17558 }
17559 return resultobj;
17560 fail:
17561 {
17562 if (temp6)
17563 delete arg6;
17564 }
17565 return NULL;
17566}
17567
17568
c370783e 17569static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17570 PyObject *resultobj;
17571 wxListbook *result;
17572 char *kwnames[] = {
17573 NULL
17574 };
17575
17576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17577 {
0439c23b 17578 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 result = (wxListbook *)new wxListbook();
17581
17582 wxPyEndAllowThreads(__tstate);
110da5b0 17583 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17584 }
17585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17586 return resultobj;
17587 fail:
17588 return NULL;
17589}
17590
17591
c370783e 17592static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17593 PyObject *resultobj;
17594 wxListbook *arg1 = (wxListbook *) 0 ;
17595 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 17596 int arg3 = (int) -1 ;
d55e5bfc
RD
17597 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17598 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17599 wxSize const &arg5_defvalue = wxDefaultSize ;
17600 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17601 long arg6 = (long) 0 ;
17602 wxString const &arg7_defvalue = wxPyEmptyString ;
17603 wxString *arg7 = (wxString *) &arg7_defvalue ;
17604 bool result;
17605 wxPoint temp4 ;
17606 wxSize temp5 ;
b411df4a 17607 bool temp7 = false ;
d55e5bfc
RD
17608 PyObject * obj0 = 0 ;
17609 PyObject * obj1 = 0 ;
17610 PyObject * obj2 = 0 ;
17611 PyObject * obj3 = 0 ;
17612 PyObject * obj4 = 0 ;
17613 PyObject * obj5 = 0 ;
17614 PyObject * obj6 = 0 ;
17615 char *kwnames[] = {
17616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17617 };
17618
bfddbb17 17619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17621 if (SWIG_arg_fail(1)) SWIG_fail;
17622 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17623 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17624 if (obj2) {
36ed4f51
RD
17625 {
17626 arg3 = (int)(SWIG_As_int(obj2));
17627 if (SWIG_arg_fail(3)) SWIG_fail;
17628 }
bfddbb17 17629 }
d55e5bfc
RD
17630 if (obj3) {
17631 {
17632 arg4 = &temp4;
17633 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17634 }
17635 }
17636 if (obj4) {
17637 {
17638 arg5 = &temp5;
17639 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17640 }
17641 }
17642 if (obj5) {
36ed4f51
RD
17643 {
17644 arg6 = (long)(SWIG_As_long(obj5));
17645 if (SWIG_arg_fail(6)) SWIG_fail;
17646 }
d55e5bfc
RD
17647 }
17648 if (obj6) {
17649 {
17650 arg7 = wxString_in_helper(obj6);
17651 if (arg7 == NULL) SWIG_fail;
b411df4a 17652 temp7 = true;
d55e5bfc
RD
17653 }
17654 }
17655 {
17656 PyThreadState* __tstate = wxPyBeginAllowThreads();
17657 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17658
17659 wxPyEndAllowThreads(__tstate);
17660 if (PyErr_Occurred()) SWIG_fail;
17661 }
17662 {
17663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17664 }
17665 {
17666 if (temp7)
17667 delete arg7;
17668 }
17669 return resultobj;
17670 fail:
17671 {
17672 if (temp7)
17673 delete arg7;
17674 }
17675 return NULL;
17676}
17677
17678
c370783e 17679static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17680 PyObject *resultobj;
17681 wxListbook *arg1 = (wxListbook *) 0 ;
17682 bool result;
17683 PyObject * obj0 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
17689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17691 {
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 result = (bool)((wxListbook const *)arg1)->IsVertical();
17694
17695 wxPyEndAllowThreads(__tstate);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 }
17698 {
17699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17700 }
17701 return resultobj;
17702 fail:
17703 return NULL;
17704}
17705
17706
44bf767a
RD
17707static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17708 PyObject *resultobj;
17709 wxListbook *arg1 = (wxListbook *) 0 ;
17710 wxListView *result;
17711 PyObject * obj0 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "self", NULL
17714 };
17715
17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
36ed4f51
RD
17717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17718 if (SWIG_arg_fail(1)) SWIG_fail;
44bf767a
RD
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 result = (wxListView *)(arg1)->GetListView();
17722
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17727 return resultobj;
17728 fail:
17729 return NULL;
17730}
17731
17732
c370783e 17733static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17734 PyObject *obj;
17735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17736 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17737 Py_INCREF(obj);
17738 return Py_BuildValue((char *)"");
17739}
c370783e 17740static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17741 PyObject *resultobj;
17742 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17743 int arg2 = (int) 0 ;
17744 int arg3 = (int) -1 ;
17745 int arg4 = (int) -1 ;
17746 wxListbookEvent *result;
17747 PyObject * obj0 = 0 ;
17748 PyObject * obj1 = 0 ;
17749 PyObject * obj2 = 0 ;
17750 PyObject * obj3 = 0 ;
17751 char *kwnames[] = {
17752 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17753 };
17754
17755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17756 if (obj0) {
36ed4f51
RD
17757 {
17758 arg1 = (wxEventType)(SWIG_As_int(obj0));
17759 if (SWIG_arg_fail(1)) SWIG_fail;
17760 }
d55e5bfc
RD
17761 }
17762 if (obj1) {
36ed4f51
RD
17763 {
17764 arg2 = (int)(SWIG_As_int(obj1));
17765 if (SWIG_arg_fail(2)) SWIG_fail;
17766 }
d55e5bfc
RD
17767 }
17768 if (obj2) {
36ed4f51
RD
17769 {
17770 arg3 = (int)(SWIG_As_int(obj2));
17771 if (SWIG_arg_fail(3)) SWIG_fail;
17772 }
d55e5bfc
RD
17773 }
17774 if (obj3) {
36ed4f51
RD
17775 {
17776 arg4 = (int)(SWIG_As_int(obj3));
17777 if (SWIG_arg_fail(4)) SWIG_fail;
17778 }
d55e5bfc
RD
17779 }
17780 {
17781 PyThreadState* __tstate = wxPyBeginAllowThreads();
17782 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17783
17784 wxPyEndAllowThreads(__tstate);
17785 if (PyErr_Occurred()) SWIG_fail;
17786 }
17787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17788 return resultobj;
17789 fail:
17790 return NULL;
17791}
17792
17793
c370783e 17794static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17795 PyObject *obj;
17796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17797 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17798 Py_INCREF(obj);
17799 return Py_BuildValue((char *)"");
17800}
b411df4a
RD
17801static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17802 PyObject *resultobj;
17803 wxWindow *arg1 = (wxWindow *) 0 ;
17804 int arg2 ;
17805 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17806 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17807 wxSize const &arg4_defvalue = wxDefaultSize ;
17808 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17809 long arg5 = (long) 0 ;
17810 wxString const &arg6_defvalue = wxPyEmptyString ;
17811 wxString *arg6 = (wxString *) &arg6_defvalue ;
17812 wxChoicebook *result;
17813 wxPoint temp3 ;
17814 wxSize temp4 ;
17815 bool temp6 = false ;
17816 PyObject * obj0 = 0 ;
17817 PyObject * obj1 = 0 ;
17818 PyObject * obj2 = 0 ;
17819 PyObject * obj3 = 0 ;
17820 PyObject * obj4 = 0 ;
17821 PyObject * obj5 = 0 ;
17822 char *kwnames[] = {
17823 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17824 };
17825
17826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17828 if (SWIG_arg_fail(1)) SWIG_fail;
17829 {
17830 arg2 = (int)(SWIG_As_int(obj1));
17831 if (SWIG_arg_fail(2)) SWIG_fail;
17832 }
b411df4a
RD
17833 if (obj2) {
17834 {
17835 arg3 = &temp3;
17836 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17837 }
17838 }
17839 if (obj3) {
17840 {
17841 arg4 = &temp4;
17842 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17843 }
17844 }
17845 if (obj4) {
36ed4f51
RD
17846 {
17847 arg5 = (long)(SWIG_As_long(obj4));
17848 if (SWIG_arg_fail(5)) SWIG_fail;
17849 }
b411df4a
RD
17850 }
17851 if (obj5) {
17852 {
17853 arg6 = wxString_in_helper(obj5);
17854 if (arg6 == NULL) SWIG_fail;
17855 temp6 = true;
17856 }
17857 }
17858 {
17859 if (!wxPyCheckForApp()) SWIG_fail;
17860 PyThreadState* __tstate = wxPyBeginAllowThreads();
17861 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17862
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
17866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17867 {
17868 if (temp6)
17869 delete arg6;
17870 }
17871 return resultobj;
17872 fail:
17873 {
17874 if (temp6)
17875 delete arg6;
17876 }
17877 return NULL;
17878}
17879
17880
17881static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17882 PyObject *resultobj;
17883 wxChoicebook *result;
17884 char *kwnames[] = {
17885 NULL
17886 };
17887
17888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17889 {
17890 if (!wxPyCheckForApp()) SWIG_fail;
17891 PyThreadState* __tstate = wxPyBeginAllowThreads();
17892 result = (wxChoicebook *)new wxChoicebook();
17893
17894 wxPyEndAllowThreads(__tstate);
17895 if (PyErr_Occurred()) SWIG_fail;
17896 }
17897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17898 return resultobj;
17899 fail:
17900 return NULL;
17901}
17902
17903
17904static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17905 PyObject *resultobj;
17906 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17907 wxWindow *arg2 = (wxWindow *) 0 ;
17908 int arg3 ;
17909 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17910 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17911 wxSize const &arg5_defvalue = wxDefaultSize ;
17912 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17913 long arg6 = (long) 0 ;
17914 wxString const &arg7_defvalue = wxPyEmptyString ;
17915 wxString *arg7 = (wxString *) &arg7_defvalue ;
17916 bool result;
17917 wxPoint temp4 ;
17918 wxSize temp5 ;
17919 bool temp7 = false ;
17920 PyObject * obj0 = 0 ;
17921 PyObject * obj1 = 0 ;
17922 PyObject * obj2 = 0 ;
17923 PyObject * obj3 = 0 ;
17924 PyObject * obj4 = 0 ;
17925 PyObject * obj5 = 0 ;
17926 PyObject * obj6 = 0 ;
17927 char *kwnames[] = {
17928 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17929 };
17930
17931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
17933 if (SWIG_arg_fail(1)) SWIG_fail;
17934 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17935 if (SWIG_arg_fail(2)) SWIG_fail;
17936 {
17937 arg3 = (int)(SWIG_As_int(obj2));
17938 if (SWIG_arg_fail(3)) SWIG_fail;
17939 }
b411df4a
RD
17940 if (obj3) {
17941 {
17942 arg4 = &temp4;
17943 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17944 }
17945 }
17946 if (obj4) {
17947 {
17948 arg5 = &temp5;
17949 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17950 }
17951 }
17952 if (obj5) {
36ed4f51
RD
17953 {
17954 arg6 = (long)(SWIG_As_long(obj5));
17955 if (SWIG_arg_fail(6)) SWIG_fail;
17956 }
b411df4a
RD
17957 }
17958 if (obj6) {
17959 {
17960 arg7 = wxString_in_helper(obj6);
17961 if (arg7 == NULL) SWIG_fail;
17962 temp7 = true;
17963 }
17964 }
17965 {
17966 PyThreadState* __tstate = wxPyBeginAllowThreads();
17967 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17968
17969 wxPyEndAllowThreads(__tstate);
17970 if (PyErr_Occurred()) SWIG_fail;
17971 }
17972 {
17973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17974 }
17975 {
17976 if (temp7)
17977 delete arg7;
17978 }
17979 return resultobj;
17980 fail:
17981 {
17982 if (temp7)
17983 delete arg7;
17984 }
17985 return NULL;
17986}
17987
17988
17989static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17990 PyObject *resultobj;
17991 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17992 bool result;
17993 PyObject * obj0 = 0 ;
17994 char *kwnames[] = {
17995 (char *) "self", NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
17999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18000 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18004
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 {
18009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18010 }
18011 return resultobj;
18012 fail:
18013 return NULL;
18014}
18015
18016
7993762b
RD
18017static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18018 PyObject *resultobj;
18019 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18020 wxChoice *result;
18021 PyObject * obj0 = 0 ;
18022 char *kwnames[] = {
18023 (char *) "self", NULL
18024 };
18025
18026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18028 if (SWIG_arg_fail(1)) SWIG_fail;
18029 {
18030 PyThreadState* __tstate = wxPyBeginAllowThreads();
18031 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18032
18033 wxPyEndAllowThreads(__tstate);
18034 if (PyErr_Occurred()) SWIG_fail;
18035 }
18036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18037 return resultobj;
18038 fail:
18039 return NULL;
18040}
18041
18042
b411df4a
RD
18043static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18044 PyObject *resultobj;
18045 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18046 bool result;
18047 PyObject * obj0 = 0 ;
18048 char *kwnames[] = {
18049 (char *) "self", NULL
18050 };
18051
18052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
18053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18054 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
18055 {
18056 PyThreadState* __tstate = wxPyBeginAllowThreads();
18057 result = (bool)(arg1)->DeleteAllPages();
18058
18059 wxPyEndAllowThreads(__tstate);
18060 if (PyErr_Occurred()) SWIG_fail;
18061 }
18062 {
18063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18064 }
18065 return resultobj;
18066 fail:
18067 return NULL;
18068}
18069
18070
18071static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18072 PyObject *obj;
18073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18074 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18075 Py_INCREF(obj);
18076 return Py_BuildValue((char *)"");
18077}
18078static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18079 PyObject *resultobj;
18080 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18081 int arg2 = (int) 0 ;
18082 int arg3 = (int) -1 ;
18083 int arg4 = (int) -1 ;
18084 wxChoicebookEvent *result;
18085 PyObject * obj0 = 0 ;
18086 PyObject * obj1 = 0 ;
18087 PyObject * obj2 = 0 ;
18088 PyObject * obj3 = 0 ;
18089 char *kwnames[] = {
18090 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18091 };
18092
18093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18094 if (obj0) {
36ed4f51
RD
18095 {
18096 arg1 = (wxEventType)(SWIG_As_int(obj0));
18097 if (SWIG_arg_fail(1)) SWIG_fail;
18098 }
b411df4a
RD
18099 }
18100 if (obj1) {
36ed4f51
RD
18101 {
18102 arg2 = (int)(SWIG_As_int(obj1));
18103 if (SWIG_arg_fail(2)) SWIG_fail;
18104 }
b411df4a
RD
18105 }
18106 if (obj2) {
36ed4f51
RD
18107 {
18108 arg3 = (int)(SWIG_As_int(obj2));
18109 if (SWIG_arg_fail(3)) SWIG_fail;
18110 }
b411df4a
RD
18111 }
18112 if (obj3) {
36ed4f51
RD
18113 {
18114 arg4 = (int)(SWIG_As_int(obj3));
18115 if (SWIG_arg_fail(4)) SWIG_fail;
18116 }
b411df4a
RD
18117 }
18118 {
18119 PyThreadState* __tstate = wxPyBeginAllowThreads();
18120 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18121
18122 wxPyEndAllowThreads(__tstate);
18123 if (PyErr_Occurred()) SWIG_fail;
18124 }
18125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18126 return resultobj;
18127 fail:
18128 return NULL;
18129}
18130
18131
18132static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18133 PyObject *obj;
18134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18135 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18136 Py_INCREF(obj);
18137 return Py_BuildValue((char *)"");
18138}
c370783e 18139static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 18140 PyObject *resultobj;
6e0de3df 18141 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
18142 wxBookCtrlSizer *result;
18143 PyObject * obj0 = 0 ;
18144 char *kwnames[] = {
18145 (char *) "nb", NULL
18146 };
18147
18148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
36ed4f51
RD
18149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18154
18155 wxPyEndAllowThreads(__tstate);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 }
18158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18159 return resultobj;
18160 fail:
18161 return NULL;
18162}
18163
18164
c370783e 18165static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18166 PyObject *resultobj;
18167 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18168 PyObject * obj0 = 0 ;
18169 char *kwnames[] = {
18170 (char *) "self", NULL
18171 };
18172
18173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36ed4f51
RD
18174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18175 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18176 {
18177 PyThreadState* __tstate = wxPyBeginAllowThreads();
18178 (arg1)->RecalcSizes();
18179
18180 wxPyEndAllowThreads(__tstate);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 }
18183 Py_INCREF(Py_None); resultobj = Py_None;
18184 return resultobj;
18185 fail:
18186 return NULL;
18187}
18188
18189
c370783e 18190static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18191 PyObject *resultobj;
18192 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18193 wxSize result;
18194 PyObject * obj0 = 0 ;
18195 char *kwnames[] = {
18196 (char *) "self", NULL
18197 };
18198
18199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
18200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18201 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18202 {
18203 PyThreadState* __tstate = wxPyBeginAllowThreads();
18204 result = (arg1)->CalcMin();
18205
18206 wxPyEndAllowThreads(__tstate);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 }
18209 {
18210 wxSize * resultptr;
36ed4f51 18211 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18213 }
18214 return resultobj;
18215 fail:
18216 return NULL;
18217}
18218
18219
c370783e 18220static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18221 PyObject *resultobj;
18222 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
6e0de3df 18223 wxBookCtrlBase *result;
d55e5bfc
RD
18224 PyObject * obj0 = 0 ;
18225 char *kwnames[] = {
18226 (char *) "self", NULL
18227 };
18228
18229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
18230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18231 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18232 {
18233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 18234 result = (wxBookCtrlBase *)(arg1)->GetControl();
d55e5bfc
RD
18235
18236 wxPyEndAllowThreads(__tstate);
18237 if (PyErr_Occurred()) SWIG_fail;
18238 }
6e0de3df 18239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
d55e5bfc
RD
18240 return resultobj;
18241 fail:
18242 return NULL;
18243}
18244
18245
c370783e 18246static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18247 PyObject *obj;
18248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18249 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18250 Py_INCREF(obj);
18251 return Py_BuildValue((char *)"");
18252}
c370783e 18253static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18254 PyObject *resultobj;
18255 wxNotebook *arg1 = (wxNotebook *) 0 ;
18256 wxNotebookSizer *result;
18257 PyObject * obj0 = 0 ;
18258 char *kwnames[] = {
18259 (char *) "nb", NULL
18260 };
18261
18262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
36ed4f51
RD
18263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18264 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18268
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18273 return resultobj;
18274 fail:
18275 return NULL;
18276}
18277
18278
c370783e 18279static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18280 PyObject *resultobj;
18281 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18282 PyObject * obj0 = 0 ;
18283 char *kwnames[] = {
18284 (char *) "self", NULL
18285 };
18286
18287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36ed4f51
RD
18288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18289 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18290 {
18291 PyThreadState* __tstate = wxPyBeginAllowThreads();
18292 (arg1)->RecalcSizes();
18293
18294 wxPyEndAllowThreads(__tstate);
18295 if (PyErr_Occurred()) SWIG_fail;
18296 }
18297 Py_INCREF(Py_None); resultobj = Py_None;
18298 return resultobj;
18299 fail:
18300 return NULL;
18301}
18302
18303
c370783e 18304static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18305 PyObject *resultobj;
18306 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18307 wxSize result;
18308 PyObject * obj0 = 0 ;
18309 char *kwnames[] = {
18310 (char *) "self", NULL
18311 };
18312
18313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
18314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18315 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18316 {
18317 PyThreadState* __tstate = wxPyBeginAllowThreads();
18318 result = (arg1)->CalcMin();
18319
18320 wxPyEndAllowThreads(__tstate);
18321 if (PyErr_Occurred()) SWIG_fail;
18322 }
18323 {
18324 wxSize * resultptr;
36ed4f51 18325 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18327 }
18328 return resultobj;
18329 fail:
18330 return NULL;
18331}
18332
18333
c370783e 18334static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18335 PyObject *resultobj;
18336 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18337 wxNotebook *result;
18338 PyObject * obj0 = 0 ;
18339 char *kwnames[] = {
18340 (char *) "self", NULL
18341 };
18342
18343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
36ed4f51
RD
18344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18345 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18346 {
18347 PyThreadState* __tstate = wxPyBeginAllowThreads();
18348 result = (wxNotebook *)(arg1)->GetNotebook();
18349
18350 wxPyEndAllowThreads(__tstate);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 }
18353 {
412d302d 18354 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18355 }
18356 return resultobj;
18357 fail:
18358 return NULL;
18359}
18360
18361
c370783e 18362static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18363 PyObject *obj;
18364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18365 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18366 Py_INCREF(obj);
18367 return Py_BuildValue((char *)"");
18368}
c370783e 18369static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18370 PyObject *resultobj;
18371 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18372 int result;
18373 PyObject * obj0 = 0 ;
18374 char *kwnames[] = {
18375 (char *) "self", NULL
18376 };
18377
18378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
18379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18380 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 result = (int)(arg1)->GetId();
18384
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
36ed4f51
RD
18388 {
18389 resultobj = SWIG_From_int((int)(result));
18390 }
d55e5bfc
RD
18391 return resultobj;
18392 fail:
18393 return NULL;
18394}
18395
18396
c370783e 18397static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18398 PyObject *resultobj;
18399 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18400 wxControl *result;
18401 PyObject * obj0 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
18407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18408 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 result = (wxControl *)(arg1)->GetControl();
18412
18413 wxPyEndAllowThreads(__tstate);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 }
18416 {
412d302d 18417 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18418 }
18419 return resultobj;
18420 fail:
18421 return NULL;
18422}
18423
18424
c370783e 18425static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18426 PyObject *resultobj;
18427 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18428 wxToolBarBase *result;
18429 PyObject * obj0 = 0 ;
18430 char *kwnames[] = {
18431 (char *) "self", NULL
18432 };
18433
18434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
18435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18436 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 result = (wxToolBarBase *)(arg1)->GetToolBar();
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 {
412d302d 18445 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18446 }
18447 return resultobj;
18448 fail:
18449 return NULL;
18450}
18451
18452
c370783e 18453static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18454 PyObject *resultobj;
18455 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18456 int result;
18457 PyObject * obj0 = 0 ;
18458 char *kwnames[] = {
18459 (char *) "self", NULL
18460 };
18461
18462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
18463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18464 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18465 {
18466 PyThreadState* __tstate = wxPyBeginAllowThreads();
18467 result = (int)(arg1)->IsButton();
18468
18469 wxPyEndAllowThreads(__tstate);
18470 if (PyErr_Occurred()) SWIG_fail;
18471 }
36ed4f51
RD
18472 {
18473 resultobj = SWIG_From_int((int)(result));
18474 }
d55e5bfc
RD
18475 return resultobj;
18476 fail:
18477 return NULL;
18478}
18479
18480
c370783e 18481static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18482 PyObject *resultobj;
18483 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18484 int result;
18485 PyObject * obj0 = 0 ;
18486 char *kwnames[] = {
18487 (char *) "self", NULL
18488 };
18489
18490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
18491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18492 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18493 {
18494 PyThreadState* __tstate = wxPyBeginAllowThreads();
18495 result = (int)(arg1)->IsControl();
18496
18497 wxPyEndAllowThreads(__tstate);
18498 if (PyErr_Occurred()) SWIG_fail;
18499 }
36ed4f51
RD
18500 {
18501 resultobj = SWIG_From_int((int)(result));
18502 }
d55e5bfc
RD
18503 return resultobj;
18504 fail:
18505 return NULL;
18506}
18507
18508
c370783e 18509static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18510 PyObject *resultobj;
18511 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18512 int result;
18513 PyObject * obj0 = 0 ;
18514 char *kwnames[] = {
18515 (char *) "self", NULL
18516 };
18517
18518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
36ed4f51
RD
18519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18521 {
18522 PyThreadState* __tstate = wxPyBeginAllowThreads();
18523 result = (int)(arg1)->IsSeparator();
18524
18525 wxPyEndAllowThreads(__tstate);
18526 if (PyErr_Occurred()) SWIG_fail;
18527 }
36ed4f51
RD
18528 {
18529 resultobj = SWIG_From_int((int)(result));
18530 }
d55e5bfc
RD
18531 return resultobj;
18532 fail:
18533 return NULL;
18534}
18535
18536
c370783e 18537static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18538 PyObject *resultobj;
18539 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18540 int result;
18541 PyObject * obj0 = 0 ;
18542 char *kwnames[] = {
18543 (char *) "self", NULL
18544 };
18545
18546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
18547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18548 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18549 {
18550 PyThreadState* __tstate = wxPyBeginAllowThreads();
18551 result = (int)(arg1)->GetStyle();
18552
18553 wxPyEndAllowThreads(__tstate);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 }
36ed4f51
RD
18556 {
18557 resultobj = SWIG_From_int((int)(result));
18558 }
d55e5bfc
RD
18559 return resultobj;
18560 fail:
18561 return NULL;
18562}
18563
18564
c370783e 18565static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18566 PyObject *resultobj;
18567 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
36ed4f51 18568 wxItemKind result;
d55e5bfc
RD
18569 PyObject * obj0 = 0 ;
18570 char *kwnames[] = {
18571 (char *) "self", NULL
18572 };
18573
18574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
36ed4f51
RD
18575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18576 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18577 {
18578 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 18579 result = (wxItemKind)(arg1)->GetKind();
d55e5bfc
RD
18580
18581 wxPyEndAllowThreads(__tstate);
18582 if (PyErr_Occurred()) SWIG_fail;
18583 }
36ed4f51 18584 resultobj = SWIG_From_int((result));
d55e5bfc
RD
18585 return resultobj;
18586 fail:
18587 return NULL;
18588}
18589
18590
c370783e 18591static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18592 PyObject *resultobj;
18593 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18594 bool result;
18595 PyObject * obj0 = 0 ;
18596 char *kwnames[] = {
18597 (char *) "self", NULL
18598 };
18599
18600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
36ed4f51
RD
18601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18602 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (bool)(arg1)->IsEnabled();
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
18610 {
18611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18612 }
18613 return resultobj;
18614 fail:
18615 return NULL;
18616}
18617
18618
c370783e 18619static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18620 PyObject *resultobj;
18621 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18622 bool result;
18623 PyObject * obj0 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "self", NULL
18626 };
18627
18628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
36ed4f51
RD
18629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18630 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 result = (bool)(arg1)->IsToggled();
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 {
18639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18640 }
18641 return resultobj;
18642 fail:
18643 return NULL;
18644}
18645
18646
c370783e 18647static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18648 PyObject *resultobj;
18649 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18650 bool result;
18651 PyObject * obj0 = 0 ;
18652 char *kwnames[] = {
18653 (char *) "self", NULL
18654 };
18655
18656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
36ed4f51
RD
18657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18658 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18659 {
18660 PyThreadState* __tstate = wxPyBeginAllowThreads();
18661 result = (bool)(arg1)->CanBeToggled();
18662
18663 wxPyEndAllowThreads(__tstate);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
18666 {
18667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18668 }
18669 return resultobj;
18670 fail:
18671 return NULL;
18672}
18673
18674
c370783e 18675static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18676 PyObject *resultobj;
18677 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18678 wxBitmap *result;
18679 PyObject * obj0 = 0 ;
18680 char *kwnames[] = {
18681 (char *) "self", NULL
18682 };
18683
18684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
18685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18686 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18687 {
18688 PyThreadState* __tstate = wxPyBeginAllowThreads();
18689 {
18690 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18691 result = (wxBitmap *) &_result_ref;
18692 }
18693
18694 wxPyEndAllowThreads(__tstate);
18695 if (PyErr_Occurred()) SWIG_fail;
18696 }
18697 {
18698 wxBitmap* resultptr = new wxBitmap(*result);
18699 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18700 }
18701 return resultobj;
18702 fail:
18703 return NULL;
18704}
18705
18706
c370783e 18707static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18708 PyObject *resultobj;
18709 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18710 wxBitmap *result;
18711 PyObject * obj0 = 0 ;
18712 char *kwnames[] = {
18713 (char *) "self", NULL
18714 };
18715
18716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
18717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18718 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 {
18722 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18723 result = (wxBitmap *) &_result_ref;
18724 }
18725
18726 wxPyEndAllowThreads(__tstate);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
18729 {
18730 wxBitmap* resultptr = new wxBitmap(*result);
18731 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18732 }
18733 return resultobj;
18734 fail:
18735 return NULL;
18736}
18737
18738
c370783e 18739static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18740 PyObject *resultobj;
18741 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18742 wxBitmap result;
18743 PyObject * obj0 = 0 ;
18744 char *kwnames[] = {
18745 (char *) "self", NULL
18746 };
18747
18748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
18749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18750 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18751 {
18752 PyThreadState* __tstate = wxPyBeginAllowThreads();
18753 result = (arg1)->GetBitmap();
18754
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
18758 {
18759 wxBitmap * resultptr;
36ed4f51 18760 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
18761 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18762 }
18763 return resultobj;
18764 fail:
18765 return NULL;
18766}
18767
18768
c370783e 18769static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18770 PyObject *resultobj;
18771 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18772 wxString result;
18773 PyObject * obj0 = 0 ;
18774 char *kwnames[] = {
18775 (char *) "self", NULL
18776 };
18777
18778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
18779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18780 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 result = (arg1)->GetLabel();
18784
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
18788 {
18789#if wxUSE_UNICODE
18790 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18791#else
18792 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18793#endif
18794 }
18795 return resultobj;
18796 fail:
18797 return NULL;
18798}
18799
18800
c370783e 18801static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18802 PyObject *resultobj;
18803 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18804 wxString result;
18805 PyObject * obj0 = 0 ;
18806 char *kwnames[] = {
18807 (char *) "self", NULL
18808 };
18809
18810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
18811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 result = (arg1)->GetShortHelp();
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 {
18821#if wxUSE_UNICODE
18822 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18823#else
18824 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18825#endif
18826 }
18827 return resultobj;
18828 fail:
18829 return NULL;
18830}
18831
18832
c370783e 18833static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18834 PyObject *resultobj;
18835 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18836 wxString result;
18837 PyObject * obj0 = 0 ;
18838 char *kwnames[] = {
18839 (char *) "self", NULL
18840 };
18841
18842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
18843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18844 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18845 {
18846 PyThreadState* __tstate = wxPyBeginAllowThreads();
18847 result = (arg1)->GetLongHelp();
18848
18849 wxPyEndAllowThreads(__tstate);
18850 if (PyErr_Occurred()) SWIG_fail;
18851 }
18852 {
18853#if wxUSE_UNICODE
18854 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18855#else
18856 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18857#endif
18858 }
18859 return resultobj;
18860 fail:
18861 return NULL;
18862}
18863
18864
c370783e 18865static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18866 PyObject *resultobj;
18867 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18868 bool arg2 ;
18869 bool result;
18870 PyObject * obj0 = 0 ;
18871 PyObject * obj1 = 0 ;
18872 char *kwnames[] = {
18873 (char *) "self",(char *) "enable", NULL
18874 };
18875
18876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18878 if (SWIG_arg_fail(1)) SWIG_fail;
18879 {
18880 arg2 = (bool)(SWIG_As_bool(obj1));
18881 if (SWIG_arg_fail(2)) SWIG_fail;
18882 }
d55e5bfc
RD
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 result = (bool)(arg1)->Enable(arg2);
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 {
18891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18892 }
18893 return resultobj;
18894 fail:
18895 return NULL;
18896}
18897
18898
c370783e 18899static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18900 PyObject *resultobj;
18901 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18902 PyObject * obj0 = 0 ;
18903 char *kwnames[] = {
18904 (char *) "self", NULL
18905 };
18906
18907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
36ed4f51
RD
18908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18909 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18910 {
18911 PyThreadState* __tstate = wxPyBeginAllowThreads();
18912 (arg1)->Toggle();
18913
18914 wxPyEndAllowThreads(__tstate);
18915 if (PyErr_Occurred()) SWIG_fail;
18916 }
18917 Py_INCREF(Py_None); resultobj = Py_None;
18918 return resultobj;
18919 fail:
18920 return NULL;
18921}
18922
18923
c370783e 18924static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18925 PyObject *resultobj;
18926 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18927 bool arg2 ;
18928 bool result;
18929 PyObject * obj0 = 0 ;
18930 PyObject * obj1 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self",(char *) "toggle", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18937 if (SWIG_arg_fail(1)) SWIG_fail;
18938 {
18939 arg2 = (bool)(SWIG_As_bool(obj1));
18940 if (SWIG_arg_fail(2)) SWIG_fail;
18941 }
d55e5bfc
RD
18942 {
18943 PyThreadState* __tstate = wxPyBeginAllowThreads();
18944 result = (bool)(arg1)->SetToggle(arg2);
18945
18946 wxPyEndAllowThreads(__tstate);
18947 if (PyErr_Occurred()) SWIG_fail;
18948 }
18949 {
18950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18951 }
18952 return resultobj;
18953 fail:
18954 return NULL;
18955}
18956
18957
c370783e 18958static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18959 PyObject *resultobj;
18960 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18961 wxString *arg2 = 0 ;
18962 bool result;
b411df4a 18963 bool temp2 = false ;
d55e5bfc
RD
18964 PyObject * obj0 = 0 ;
18965 PyObject * obj1 = 0 ;
18966 char *kwnames[] = {
18967 (char *) "self",(char *) "help", NULL
18968 };
18969
18970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18972 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18973 {
18974 arg2 = wxString_in_helper(obj1);
18975 if (arg2 == NULL) SWIG_fail;
b411df4a 18976 temp2 = true;
d55e5bfc
RD
18977 }
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
18981
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 {
18986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18987 }
18988 {
18989 if (temp2)
18990 delete arg2;
18991 }
18992 return resultobj;
18993 fail:
18994 {
18995 if (temp2)
18996 delete arg2;
18997 }
18998 return NULL;
18999}
19000
19001
c370783e 19002static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19003 PyObject *resultobj;
19004 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19005 wxString *arg2 = 0 ;
19006 bool result;
b411df4a 19007 bool temp2 = false ;
d55e5bfc
RD
19008 PyObject * obj0 = 0 ;
19009 PyObject * obj1 = 0 ;
19010 char *kwnames[] = {
19011 (char *) "self",(char *) "help", NULL
19012 };
19013
19014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19016 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19017 {
19018 arg2 = wxString_in_helper(obj1);
19019 if (arg2 == NULL) SWIG_fail;
b411df4a 19020 temp2 = true;
d55e5bfc
RD
19021 }
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19025
19026 wxPyEndAllowThreads(__tstate);
19027 if (PyErr_Occurred()) SWIG_fail;
19028 }
19029 {
19030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19031 }
19032 {
19033 if (temp2)
19034 delete arg2;
19035 }
19036 return resultobj;
19037 fail:
19038 {
19039 if (temp2)
19040 delete arg2;
19041 }
19042 return NULL;
19043}
19044
19045
c370783e 19046static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19047 PyObject *resultobj;
19048 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19049 wxBitmap *arg2 = 0 ;
19050 PyObject * obj0 = 0 ;
19051 PyObject * obj1 = 0 ;
19052 char *kwnames[] = {
19053 (char *) "self",(char *) "bmp", NULL
19054 };
19055
19056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19058 if (SWIG_arg_fail(1)) SWIG_fail;
19059 {
19060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19061 if (SWIG_arg_fail(2)) SWIG_fail;
19062 if (arg2 == NULL) {
19063 SWIG_null_ref("wxBitmap");
19064 }
19065 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19066 }
19067 {
19068 PyThreadState* __tstate = wxPyBeginAllowThreads();
19069 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19070
19071 wxPyEndAllowThreads(__tstate);
19072 if (PyErr_Occurred()) SWIG_fail;
19073 }
19074 Py_INCREF(Py_None); resultobj = Py_None;
19075 return resultobj;
19076 fail:
19077 return NULL;
19078}
19079
19080
c370783e 19081static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19082 PyObject *resultobj;
19083 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19084 wxBitmap *arg2 = 0 ;
19085 PyObject * obj0 = 0 ;
19086 PyObject * obj1 = 0 ;
19087 char *kwnames[] = {
19088 (char *) "self",(char *) "bmp", NULL
19089 };
19090
19091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19093 if (SWIG_arg_fail(1)) SWIG_fail;
19094 {
19095 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19096 if (SWIG_arg_fail(2)) SWIG_fail;
19097 if (arg2 == NULL) {
19098 SWIG_null_ref("wxBitmap");
19099 }
19100 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19101 }
19102 {
19103 PyThreadState* __tstate = wxPyBeginAllowThreads();
19104 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19105
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
19109 Py_INCREF(Py_None); resultobj = Py_None;
19110 return resultobj;
19111 fail:
19112 return NULL;
19113}
19114
19115
c370783e 19116static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19117 PyObject *resultobj;
19118 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19119 wxString *arg2 = 0 ;
b411df4a 19120 bool temp2 = false ;
d55e5bfc
RD
19121 PyObject * obj0 = 0 ;
19122 PyObject * obj1 = 0 ;
19123 char *kwnames[] = {
19124 (char *) "self",(char *) "label", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19129 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19130 {
19131 arg2 = wxString_in_helper(obj1);
19132 if (arg2 == NULL) SWIG_fail;
b411df4a 19133 temp2 = true;
d55e5bfc
RD
19134 }
19135 {
19136 PyThreadState* __tstate = wxPyBeginAllowThreads();
19137 (arg1)->SetLabel((wxString const &)*arg2);
19138
19139 wxPyEndAllowThreads(__tstate);
19140 if (PyErr_Occurred()) SWIG_fail;
19141 }
19142 Py_INCREF(Py_None); resultobj = Py_None;
19143 {
19144 if (temp2)
19145 delete arg2;
19146 }
19147 return resultobj;
19148 fail:
19149 {
19150 if (temp2)
19151 delete arg2;
19152 }
19153 return NULL;
19154}
19155
19156
c370783e 19157static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19158 PyObject *resultobj;
19159 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19160 PyObject * obj0 = 0 ;
19161 char *kwnames[] = {
19162 (char *) "self", NULL
19163 };
19164
19165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
36ed4f51
RD
19166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19167 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19168 {
19169 PyThreadState* __tstate = wxPyBeginAllowThreads();
19170 (arg1)->Detach();
19171
19172 wxPyEndAllowThreads(__tstate);
19173 if (PyErr_Occurred()) SWIG_fail;
19174 }
19175 Py_INCREF(Py_None); resultobj = Py_None;
19176 return resultobj;
19177 fail:
19178 return NULL;
19179}
19180
19181
c370783e 19182static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19183 PyObject *resultobj;
19184 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19185 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19186 PyObject * obj0 = 0 ;
19187 PyObject * obj1 = 0 ;
19188 char *kwnames[] = {
19189 (char *) "self",(char *) "tbar", NULL
19190 };
19191
19192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19194 if (SWIG_arg_fail(1)) SWIG_fail;
19195 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19196 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19197 {
19198 PyThreadState* __tstate = wxPyBeginAllowThreads();
19199 (arg1)->Attach(arg2);
19200
19201 wxPyEndAllowThreads(__tstate);
19202 if (PyErr_Occurred()) SWIG_fail;
19203 }
19204 Py_INCREF(Py_None); resultobj = Py_None;
19205 return resultobj;
19206 fail:
19207 return NULL;
19208}
19209
19210
c370783e 19211static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19212 PyObject *resultobj;
19213 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19214 PyObject *result;
19215 PyObject * obj0 = 0 ;
19216 char *kwnames[] = {
19217 (char *) "self", NULL
19218 };
19219
19220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
36ed4f51
RD
19221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19222 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19223 {
19224 PyThreadState* __tstate = wxPyBeginAllowThreads();
19225 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19226
19227 wxPyEndAllowThreads(__tstate);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
19230 resultobj = result;
19231 return resultobj;
19232 fail:
19233 return NULL;
19234}
19235
19236
c370783e 19237static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19238 PyObject *resultobj;
19239 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19240 PyObject *arg2 = (PyObject *) 0 ;
19241 PyObject * obj0 = 0 ;
19242 PyObject * obj1 = 0 ;
19243 char *kwnames[] = {
19244 (char *) "self",(char *) "clientData", NULL
19245 };
19246
19247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19249 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19250 arg2 = obj1;
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 wxToolBarToolBase_SetClientData(arg1,arg2);
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 Py_INCREF(Py_None); resultobj = Py_None;
19259 return resultobj;
19260 fail:
19261 return NULL;
19262}
19263
19264
c370783e 19265static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19266 PyObject *obj;
19267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19268 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19269 Py_INCREF(obj);
19270 return Py_BuildValue((char *)"");
19271}
c370783e 19272static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19273 PyObject *resultobj;
19274 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19275 int arg2 ;
19276 wxString *arg3 = 0 ;
19277 wxBitmap *arg4 = 0 ;
19278 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19279 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
36ed4f51 19280 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19281 wxString const &arg7_defvalue = wxPyEmptyString ;
19282 wxString *arg7 = (wxString *) &arg7_defvalue ;
19283 wxString const &arg8_defvalue = wxPyEmptyString ;
19284 wxString *arg8 = (wxString *) &arg8_defvalue ;
19285 PyObject *arg9 = (PyObject *) NULL ;
19286 wxToolBarToolBase *result;
b411df4a
RD
19287 bool temp3 = false ;
19288 bool temp7 = false ;
19289 bool temp8 = false ;
d55e5bfc
RD
19290 PyObject * obj0 = 0 ;
19291 PyObject * obj1 = 0 ;
19292 PyObject * obj2 = 0 ;
19293 PyObject * obj3 = 0 ;
19294 PyObject * obj4 = 0 ;
19295 PyObject * obj5 = 0 ;
19296 PyObject * obj6 = 0 ;
19297 PyObject * obj7 = 0 ;
19298 PyObject * obj8 = 0 ;
19299 char *kwnames[] = {
19300 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19301 };
19302
19303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
19304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19305 if (SWIG_arg_fail(1)) SWIG_fail;
19306 {
19307 arg2 = (int)(SWIG_As_int(obj1));
19308 if (SWIG_arg_fail(2)) SWIG_fail;
19309 }
d55e5bfc
RD
19310 {
19311 arg3 = wxString_in_helper(obj2);
19312 if (arg3 == NULL) SWIG_fail;
b411df4a 19313 temp3 = true;
d55e5bfc 19314 }
36ed4f51
RD
19315 {
19316 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19317 if (SWIG_arg_fail(4)) SWIG_fail;
19318 if (arg4 == NULL) {
19319 SWIG_null_ref("wxBitmap");
19320 }
19321 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
19322 }
19323 if (obj4) {
36ed4f51
RD
19324 {
19325 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19326 if (SWIG_arg_fail(5)) SWIG_fail;
19327 if (arg5 == NULL) {
19328 SWIG_null_ref("wxBitmap");
19329 }
19330 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19331 }
19332 }
19333 if (obj5) {
36ed4f51
RD
19334 {
19335 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19336 if (SWIG_arg_fail(6)) SWIG_fail;
19337 }
d55e5bfc
RD
19338 }
19339 if (obj6) {
19340 {
19341 arg7 = wxString_in_helper(obj6);
19342 if (arg7 == NULL) SWIG_fail;
b411df4a 19343 temp7 = true;
d55e5bfc
RD
19344 }
19345 }
19346 if (obj7) {
19347 {
19348 arg8 = wxString_in_helper(obj7);
19349 if (arg8 == NULL) SWIG_fail;
b411df4a 19350 temp8 = true;
d55e5bfc
RD
19351 }
19352 }
19353 if (obj8) {
19354 arg9 = obj8;
19355 }
19356 {
19357 PyThreadState* __tstate = wxPyBeginAllowThreads();
19358 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19359
19360 wxPyEndAllowThreads(__tstate);
19361 if (PyErr_Occurred()) SWIG_fail;
19362 }
19363 {
412d302d 19364 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19365 }
19366 {
19367 if (temp3)
19368 delete arg3;
19369 }
19370 {
19371 if (temp7)
19372 delete arg7;
19373 }
19374 {
19375 if (temp8)
19376 delete arg8;
19377 }
19378 return resultobj;
19379 fail:
19380 {
19381 if (temp3)
19382 delete arg3;
19383 }
19384 {
19385 if (temp7)
19386 delete arg7;
19387 }
19388 {
19389 if (temp8)
19390 delete arg8;
19391 }
19392 return NULL;
19393}
19394
19395
c370783e 19396static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19397 PyObject *resultobj;
19398 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19399 size_t arg2 ;
19400 int arg3 ;
19401 wxString *arg4 = 0 ;
19402 wxBitmap *arg5 = 0 ;
19403 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19404 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
36ed4f51 19405 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19406 wxString const &arg8_defvalue = wxPyEmptyString ;
19407 wxString *arg8 = (wxString *) &arg8_defvalue ;
19408 wxString const &arg9_defvalue = wxPyEmptyString ;
19409 wxString *arg9 = (wxString *) &arg9_defvalue ;
19410 PyObject *arg10 = (PyObject *) NULL ;
19411 wxToolBarToolBase *result;
b411df4a
RD
19412 bool temp4 = false ;
19413 bool temp8 = false ;
19414 bool temp9 = false ;
d55e5bfc
RD
19415 PyObject * obj0 = 0 ;
19416 PyObject * obj1 = 0 ;
19417 PyObject * obj2 = 0 ;
19418 PyObject * obj3 = 0 ;
19419 PyObject * obj4 = 0 ;
19420 PyObject * obj5 = 0 ;
19421 PyObject * obj6 = 0 ;
19422 PyObject * obj7 = 0 ;
19423 PyObject * obj8 = 0 ;
19424 PyObject * obj9 = 0 ;
19425 char *kwnames[] = {
19426 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19427 };
19428
19429 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
19430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19431 if (SWIG_arg_fail(1)) SWIG_fail;
19432 {
19433 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19434 if (SWIG_arg_fail(2)) SWIG_fail;
19435 }
19436 {
19437 arg3 = (int)(SWIG_As_int(obj2));
19438 if (SWIG_arg_fail(3)) SWIG_fail;
19439 }
d55e5bfc
RD
19440 {
19441 arg4 = wxString_in_helper(obj3);
19442 if (arg4 == NULL) SWIG_fail;
b411df4a 19443 temp4 = true;
d55e5bfc 19444 }
36ed4f51
RD
19445 {
19446 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19447 if (SWIG_arg_fail(5)) SWIG_fail;
19448 if (arg5 == NULL) {
19449 SWIG_null_ref("wxBitmap");
19450 }
19451 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19452 }
19453 if (obj5) {
36ed4f51
RD
19454 {
19455 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19456 if (SWIG_arg_fail(6)) SWIG_fail;
19457 if (arg6 == NULL) {
19458 SWIG_null_ref("wxBitmap");
19459 }
19460 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
19461 }
19462 }
19463 if (obj6) {
36ed4f51
RD
19464 {
19465 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19466 if (SWIG_arg_fail(7)) SWIG_fail;
19467 }
d55e5bfc
RD
19468 }
19469 if (obj7) {
19470 {
19471 arg8 = wxString_in_helper(obj7);
19472 if (arg8 == NULL) SWIG_fail;
b411df4a 19473 temp8 = true;
d55e5bfc
RD
19474 }
19475 }
19476 if (obj8) {
19477 {
19478 arg9 = wxString_in_helper(obj8);
19479 if (arg9 == NULL) SWIG_fail;
b411df4a 19480 temp9 = true;
d55e5bfc
RD
19481 }
19482 }
19483 if (obj9) {
19484 arg10 = obj9;
19485 }
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
19488 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);
19489
19490 wxPyEndAllowThreads(__tstate);
19491 if (PyErr_Occurred()) SWIG_fail;
19492 }
19493 {
412d302d 19494 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19495 }
19496 {
19497 if (temp4)
19498 delete arg4;
19499 }
19500 {
19501 if (temp8)
19502 delete arg8;
19503 }
19504 {
19505 if (temp9)
19506 delete arg9;
19507 }
19508 return resultobj;
19509 fail:
19510 {
19511 if (temp4)
19512 delete arg4;
19513 }
19514 {
19515 if (temp8)
19516 delete arg8;
19517 }
19518 {
19519 if (temp9)
19520 delete arg9;
19521 }
19522 return NULL;
19523}
19524
19525
c370783e 19526static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19527 PyObject *resultobj;
19528 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19529 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19530 wxToolBarToolBase *result;
19531 PyObject * obj0 = 0 ;
19532 PyObject * obj1 = 0 ;
19533 char *kwnames[] = {
19534 (char *) "self",(char *) "tool", NULL
19535 };
19536
19537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19539 if (SWIG_arg_fail(1)) SWIG_fail;
19540 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19541 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19542 {
19543 PyThreadState* __tstate = wxPyBeginAllowThreads();
19544 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19545
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
19549 {
412d302d 19550 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19551 }
19552 return resultobj;
19553 fail:
19554 return NULL;
19555}
19556
19557
c370783e 19558static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19559 PyObject *resultobj;
19560 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19561 size_t arg2 ;
19562 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19563 wxToolBarToolBase *result;
19564 PyObject * obj0 = 0 ;
19565 PyObject * obj1 = 0 ;
19566 PyObject * obj2 = 0 ;
19567 char *kwnames[] = {
19568 (char *) "self",(char *) "pos",(char *) "tool", NULL
19569 };
19570
19571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19573 if (SWIG_arg_fail(1)) SWIG_fail;
19574 {
19575 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19576 if (SWIG_arg_fail(2)) SWIG_fail;
19577 }
19578 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19579 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
19582 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 {
412d302d 19588 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19589 }
19590 return resultobj;
19591 fail:
19592 return NULL;
19593}
19594
19595
c370783e 19596static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19597 PyObject *resultobj;
19598 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19599 wxControl *arg2 = (wxControl *) 0 ;
19600 wxToolBarToolBase *result;
19601 PyObject * obj0 = 0 ;
19602 PyObject * obj1 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self",(char *) "control", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19609 if (SWIG_arg_fail(1)) SWIG_fail;
19610 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19611 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19615
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
19619 {
412d302d 19620 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19621 }
19622 return resultobj;
19623 fail:
19624 return NULL;
19625}
19626
19627
c370783e 19628static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19629 PyObject *resultobj;
19630 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19631 size_t arg2 ;
19632 wxControl *arg3 = (wxControl *) 0 ;
19633 wxToolBarToolBase *result;
19634 PyObject * obj0 = 0 ;
19635 PyObject * obj1 = 0 ;
19636 PyObject * obj2 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self",(char *) "pos",(char *) "control", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19643 if (SWIG_arg_fail(1)) SWIG_fail;
19644 {
19645 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19646 if (SWIG_arg_fail(2)) SWIG_fail;
19647 }
19648 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19649 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 {
412d302d 19658 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19659 }
19660 return resultobj;
19661 fail:
19662 return NULL;
19663}
19664
19665
c370783e 19666static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19667 PyObject *resultobj;
19668 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19669 int arg2 ;
19670 wxControl *result;
19671 PyObject * obj0 = 0 ;
19672 PyObject * obj1 = 0 ;
19673 char *kwnames[] = {
19674 (char *) "self",(char *) "id", NULL
19675 };
19676
19677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19679 if (SWIG_arg_fail(1)) SWIG_fail;
19680 {
19681 arg2 = (int)(SWIG_As_int(obj1));
19682 if (SWIG_arg_fail(2)) SWIG_fail;
19683 }
d55e5bfc
RD
19684 {
19685 PyThreadState* __tstate = wxPyBeginAllowThreads();
19686 result = (wxControl *)(arg1)->FindControl(arg2);
19687
19688 wxPyEndAllowThreads(__tstate);
19689 if (PyErr_Occurred()) SWIG_fail;
19690 }
19691 {
412d302d 19692 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19693 }
19694 return resultobj;
19695 fail:
19696 return NULL;
19697}
19698
19699
c370783e 19700static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19701 PyObject *resultobj;
19702 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19703 wxToolBarToolBase *result;
19704 PyObject * obj0 = 0 ;
19705 char *kwnames[] = {
19706 (char *) "self", NULL
19707 };
19708
19709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
36ed4f51
RD
19710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19711 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19712 {
19713 PyThreadState* __tstate = wxPyBeginAllowThreads();
19714 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19715
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 {
412d302d 19720 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19721 }
19722 return resultobj;
19723 fail:
19724 return NULL;
19725}
19726
19727
c370783e 19728static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19729 PyObject *resultobj;
19730 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19731 size_t arg2 ;
19732 wxToolBarToolBase *result;
19733 PyObject * obj0 = 0 ;
19734 PyObject * obj1 = 0 ;
19735 char *kwnames[] = {
19736 (char *) "self",(char *) "pos", NULL
19737 };
19738
19739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19741 if (SWIG_arg_fail(1)) SWIG_fail;
19742 {
19743 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19744 if (SWIG_arg_fail(2)) SWIG_fail;
19745 }
d55e5bfc
RD
19746 {
19747 PyThreadState* __tstate = wxPyBeginAllowThreads();
19748 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19749
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 {
412d302d 19754 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19755 }
19756 return resultobj;
19757 fail:
19758 return NULL;
19759}
19760
19761
c370783e 19762static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19763 PyObject *resultobj;
19764 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19765 int arg2 ;
19766 wxToolBarToolBase *result;
19767 PyObject * obj0 = 0 ;
19768 PyObject * obj1 = 0 ;
19769 char *kwnames[] = {
19770 (char *) "self",(char *) "id", NULL
19771 };
19772
19773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19775 if (SWIG_arg_fail(1)) SWIG_fail;
19776 {
19777 arg2 = (int)(SWIG_As_int(obj1));
19778 if (SWIG_arg_fail(2)) SWIG_fail;
19779 }
d55e5bfc
RD
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 {
412d302d 19788 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19789 }
19790 return resultobj;
19791 fail:
19792 return NULL;
19793}
19794
19795
c370783e 19796static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19797 PyObject *resultobj;
19798 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19799 size_t arg2 ;
19800 bool result;
19801 PyObject * obj0 = 0 ;
19802 PyObject * obj1 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self",(char *) "pos", NULL
19805 };
19806
19807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19809 if (SWIG_arg_fail(1)) SWIG_fail;
19810 {
19811 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19812 if (SWIG_arg_fail(2)) SWIG_fail;
19813 }
d55e5bfc
RD
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 result = (bool)(arg1)->DeleteToolByPos(arg2);
19817
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 {
19822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19823 }
19824 return resultobj;
19825 fail:
19826 return NULL;
19827}
19828
19829
c370783e 19830static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19831 PyObject *resultobj;
19832 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19833 int arg2 ;
19834 bool result;
19835 PyObject * obj0 = 0 ;
19836 PyObject * obj1 = 0 ;
19837 char *kwnames[] = {
19838 (char *) "self",(char *) "id", NULL
19839 };
19840
19841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19843 if (SWIG_arg_fail(1)) SWIG_fail;
19844 {
19845 arg2 = (int)(SWIG_As_int(obj1));
19846 if (SWIG_arg_fail(2)) SWIG_fail;
19847 }
d55e5bfc
RD
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 result = (bool)(arg1)->DeleteTool(arg2);
19851
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
19855 {
19856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19857 }
19858 return resultobj;
19859 fail:
19860 return NULL;
19861}
19862
19863
c370783e 19864static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19865 PyObject *resultobj;
19866 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19867 PyObject * obj0 = 0 ;
19868 char *kwnames[] = {
19869 (char *) "self", NULL
19870 };
19871
19872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
36ed4f51
RD
19873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19874 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 (arg1)->ClearTools();
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 Py_INCREF(Py_None); resultobj = Py_None;
19883 return resultobj;
19884 fail:
19885 return NULL;
19886}
19887
19888
c370783e 19889static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19890 PyObject *resultobj;
19891 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19892 bool result;
19893 PyObject * obj0 = 0 ;
19894 char *kwnames[] = {
19895 (char *) "self", NULL
19896 };
19897
19898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 result = (bool)(arg1)->Realize();
19904
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 {
19909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19910 }
19911 return resultobj;
19912 fail:
19913 return NULL;
19914}
19915
19916
c370783e 19917static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19918 PyObject *resultobj;
19919 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19920 int arg2 ;
19921 bool arg3 ;
19922 PyObject * obj0 = 0 ;
19923 PyObject * obj1 = 0 ;
19924 PyObject * obj2 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self",(char *) "id",(char *) "enable", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19931 if (SWIG_arg_fail(1)) SWIG_fail;
19932 {
19933 arg2 = (int)(SWIG_As_int(obj1));
19934 if (SWIG_arg_fail(2)) SWIG_fail;
19935 }
19936 {
19937 arg3 = (bool)(SWIG_As_bool(obj2));
19938 if (SWIG_arg_fail(3)) SWIG_fail;
19939 }
d55e5bfc
RD
19940 {
19941 PyThreadState* __tstate = wxPyBeginAllowThreads();
19942 (arg1)->EnableTool(arg2,arg3);
19943
19944 wxPyEndAllowThreads(__tstate);
19945 if (PyErr_Occurred()) SWIG_fail;
19946 }
19947 Py_INCREF(Py_None); resultobj = Py_None;
19948 return resultobj;
19949 fail:
19950 return NULL;
19951}
19952
19953
c370783e 19954static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19955 PyObject *resultobj;
19956 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19957 int arg2 ;
19958 bool arg3 ;
19959 PyObject * obj0 = 0 ;
19960 PyObject * obj1 = 0 ;
19961 PyObject * obj2 = 0 ;
19962 char *kwnames[] = {
19963 (char *) "self",(char *) "id",(char *) "toggle", NULL
19964 };
19965
19966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19968 if (SWIG_arg_fail(1)) SWIG_fail;
19969 {
19970 arg2 = (int)(SWIG_As_int(obj1));
19971 if (SWIG_arg_fail(2)) SWIG_fail;
19972 }
19973 {
19974 arg3 = (bool)(SWIG_As_bool(obj2));
19975 if (SWIG_arg_fail(3)) SWIG_fail;
19976 }
d55e5bfc
RD
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 (arg1)->ToggleTool(arg2,arg3);
19980
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 Py_INCREF(Py_None); resultobj = Py_None;
19985 return resultobj;
19986 fail:
19987 return NULL;
19988}
19989
19990
c370783e 19991static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19992 PyObject *resultobj;
19993 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19994 int arg2 ;
19995 bool arg3 ;
19996 PyObject * obj0 = 0 ;
19997 PyObject * obj1 = 0 ;
19998 PyObject * obj2 = 0 ;
19999 char *kwnames[] = {
20000 (char *) "self",(char *) "id",(char *) "toggle", NULL
20001 };
20002
20003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20005 if (SWIG_arg_fail(1)) SWIG_fail;
20006 {
20007 arg2 = (int)(SWIG_As_int(obj1));
20008 if (SWIG_arg_fail(2)) SWIG_fail;
20009 }
20010 {
20011 arg3 = (bool)(SWIG_As_bool(obj2));
20012 if (SWIG_arg_fail(3)) SWIG_fail;
20013 }
d55e5bfc
RD
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 (arg1)->SetToggle(arg2,arg3);
20017
20018 wxPyEndAllowThreads(__tstate);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
20021 Py_INCREF(Py_None); resultobj = Py_None;
20022 return resultobj;
20023 fail:
20024 return NULL;
20025}
20026
20027
c370783e 20028static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20029 PyObject *resultobj;
20030 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20031 int arg2 ;
20032 PyObject *result;
20033 PyObject * obj0 = 0 ;
20034 PyObject * obj1 = 0 ;
20035 char *kwnames[] = {
20036 (char *) "self",(char *) "id", NULL
20037 };
20038
20039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20041 if (SWIG_arg_fail(1)) SWIG_fail;
20042 {
20043 arg2 = (int)(SWIG_As_int(obj1));
20044 if (SWIG_arg_fail(2)) SWIG_fail;
20045 }
d55e5bfc
RD
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 resultobj = result;
20054 return resultobj;
20055 fail:
20056 return NULL;
20057}
20058
20059
c370783e 20060static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20061 PyObject *resultobj;
20062 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20063 int arg2 ;
20064 PyObject *arg3 = (PyObject *) 0 ;
20065 PyObject * obj0 = 0 ;
20066 PyObject * obj1 = 0 ;
20067 PyObject * obj2 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self",(char *) "id",(char *) "clientData", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20074 if (SWIG_arg_fail(1)) SWIG_fail;
20075 {
20076 arg2 = (int)(SWIG_As_int(obj1));
20077 if (SWIG_arg_fail(2)) SWIG_fail;
20078 }
d55e5bfc
RD
20079 arg3 = obj2;
20080 {
20081 PyThreadState* __tstate = wxPyBeginAllowThreads();
20082 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20083
20084 wxPyEndAllowThreads(__tstate);
20085 if (PyErr_Occurred()) SWIG_fail;
20086 }
20087 Py_INCREF(Py_None); resultobj = Py_None;
20088 return resultobj;
20089 fail:
20090 return NULL;
20091}
20092
20093
c370783e 20094static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20095 PyObject *resultobj;
20096 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20097 int arg2 ;
20098 int result;
20099 PyObject * obj0 = 0 ;
20100 PyObject * obj1 = 0 ;
20101 char *kwnames[] = {
20102 (char *) "self",(char *) "id", NULL
20103 };
20104
20105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20107 if (SWIG_arg_fail(1)) SWIG_fail;
20108 {
20109 arg2 = (int)(SWIG_As_int(obj1));
20110 if (SWIG_arg_fail(2)) SWIG_fail;
20111 }
d55e5bfc
RD
20112 {
20113 PyThreadState* __tstate = wxPyBeginAllowThreads();
20114 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20115
20116 wxPyEndAllowThreads(__tstate);
20117 if (PyErr_Occurred()) SWIG_fail;
20118 }
36ed4f51
RD
20119 {
20120 resultobj = SWIG_From_int((int)(result));
20121 }
d55e5bfc
RD
20122 return resultobj;
20123 fail:
20124 return NULL;
20125}
20126
20127
c370783e 20128static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20129 PyObject *resultobj;
20130 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20131 int arg2 ;
20132 bool result;
20133 PyObject * obj0 = 0 ;
20134 PyObject * obj1 = 0 ;
20135 char *kwnames[] = {
20136 (char *) "self",(char *) "id", NULL
20137 };
20138
20139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20141 if (SWIG_arg_fail(1)) SWIG_fail;
20142 {
20143 arg2 = (int)(SWIG_As_int(obj1));
20144 if (SWIG_arg_fail(2)) SWIG_fail;
20145 }
d55e5bfc
RD
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 result = (bool)(arg1)->GetToolState(arg2);
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 {
20154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20155 }
20156 return resultobj;
20157 fail:
20158 return NULL;
20159}
20160
20161
c370783e 20162static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20163 PyObject *resultobj;
20164 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20165 int arg2 ;
20166 bool result;
20167 PyObject * obj0 = 0 ;
20168 PyObject * obj1 = 0 ;
20169 char *kwnames[] = {
20170 (char *) "self",(char *) "id", NULL
20171 };
20172
20173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20175 if (SWIG_arg_fail(1)) SWIG_fail;
20176 {
20177 arg2 = (int)(SWIG_As_int(obj1));
20178 if (SWIG_arg_fail(2)) SWIG_fail;
20179 }
d55e5bfc
RD
20180 {
20181 PyThreadState* __tstate = wxPyBeginAllowThreads();
20182 result = (bool)(arg1)->GetToolEnabled(arg2);
20183
20184 wxPyEndAllowThreads(__tstate);
20185 if (PyErr_Occurred()) SWIG_fail;
20186 }
20187 {
20188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20189 }
20190 return resultobj;
20191 fail:
20192 return NULL;
20193}
20194
20195
c370783e 20196static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20197 PyObject *resultobj;
20198 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20199 int arg2 ;
20200 wxString *arg3 = 0 ;
b411df4a 20201 bool temp3 = false ;
d55e5bfc
RD
20202 PyObject * obj0 = 0 ;
20203 PyObject * obj1 = 0 ;
20204 PyObject * obj2 = 0 ;
20205 char *kwnames[] = {
20206 (char *) "self",(char *) "id",(char *) "helpString", NULL
20207 };
20208
20209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20211 if (SWIG_arg_fail(1)) SWIG_fail;
20212 {
20213 arg2 = (int)(SWIG_As_int(obj1));
20214 if (SWIG_arg_fail(2)) SWIG_fail;
20215 }
d55e5bfc
RD
20216 {
20217 arg3 = wxString_in_helper(obj2);
20218 if (arg3 == NULL) SWIG_fail;
b411df4a 20219 temp3 = true;
d55e5bfc
RD
20220 }
20221 {
20222 PyThreadState* __tstate = wxPyBeginAllowThreads();
20223 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20224
20225 wxPyEndAllowThreads(__tstate);
20226 if (PyErr_Occurred()) SWIG_fail;
20227 }
20228 Py_INCREF(Py_None); resultobj = Py_None;
20229 {
20230 if (temp3)
20231 delete arg3;
20232 }
20233 return resultobj;
20234 fail:
20235 {
20236 if (temp3)
20237 delete arg3;
20238 }
20239 return NULL;
20240}
20241
20242
c370783e 20243static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20244 PyObject *resultobj;
20245 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20246 int arg2 ;
20247 wxString result;
20248 PyObject * obj0 = 0 ;
20249 PyObject * obj1 = 0 ;
20250 char *kwnames[] = {
20251 (char *) "self",(char *) "id", NULL
20252 };
20253
20254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20256 if (SWIG_arg_fail(1)) SWIG_fail;
20257 {
20258 arg2 = (int)(SWIG_As_int(obj1));
20259 if (SWIG_arg_fail(2)) SWIG_fail;
20260 }
d55e5bfc
RD
20261 {
20262 PyThreadState* __tstate = wxPyBeginAllowThreads();
20263 result = (arg1)->GetToolShortHelp(arg2);
20264
20265 wxPyEndAllowThreads(__tstate);
20266 if (PyErr_Occurred()) SWIG_fail;
20267 }
20268 {
20269#if wxUSE_UNICODE
20270 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20271#else
20272 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20273#endif
20274 }
20275 return resultobj;
20276 fail:
20277 return NULL;
20278}
20279
20280
c370783e 20281static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20282 PyObject *resultobj;
20283 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20284 int arg2 ;
20285 wxString *arg3 = 0 ;
b411df4a 20286 bool temp3 = false ;
d55e5bfc
RD
20287 PyObject * obj0 = 0 ;
20288 PyObject * obj1 = 0 ;
20289 PyObject * obj2 = 0 ;
20290 char *kwnames[] = {
20291 (char *) "self",(char *) "id",(char *) "helpString", NULL
20292 };
20293
20294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20296 if (SWIG_arg_fail(1)) SWIG_fail;
20297 {
20298 arg2 = (int)(SWIG_As_int(obj1));
20299 if (SWIG_arg_fail(2)) SWIG_fail;
20300 }
d55e5bfc
RD
20301 {
20302 arg3 = wxString_in_helper(obj2);
20303 if (arg3 == NULL) SWIG_fail;
b411df4a 20304 temp3 = true;
d55e5bfc
RD
20305 }
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 Py_INCREF(Py_None); resultobj = Py_None;
20314 {
20315 if (temp3)
20316 delete arg3;
20317 }
20318 return resultobj;
20319 fail:
20320 {
20321 if (temp3)
20322 delete arg3;
20323 }
20324 return NULL;
20325}
20326
20327
c370783e 20328static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20329 PyObject *resultobj;
20330 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20331 int arg2 ;
20332 wxString result;
20333 PyObject * obj0 = 0 ;
20334 PyObject * obj1 = 0 ;
20335 char *kwnames[] = {
20336 (char *) "self",(char *) "id", NULL
20337 };
20338
20339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20341 if (SWIG_arg_fail(1)) SWIG_fail;
20342 {
20343 arg2 = (int)(SWIG_As_int(obj1));
20344 if (SWIG_arg_fail(2)) SWIG_fail;
20345 }
d55e5bfc
RD
20346 {
20347 PyThreadState* __tstate = wxPyBeginAllowThreads();
20348 result = (arg1)->GetToolLongHelp(arg2);
20349
20350 wxPyEndAllowThreads(__tstate);
20351 if (PyErr_Occurred()) SWIG_fail;
20352 }
20353 {
20354#if wxUSE_UNICODE
20355 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20356#else
20357 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20358#endif
20359 }
20360 return resultobj;
20361 fail:
20362 return NULL;
20363}
20364
20365
c370783e 20366static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20367 PyObject *resultobj;
20368 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20369 int arg2 ;
20370 int arg3 ;
20371 PyObject * obj0 = 0 ;
20372 PyObject * obj1 = 0 ;
20373 PyObject * obj2 = 0 ;
20374 char *kwnames[] = {
20375 (char *) "self",(char *) "x",(char *) "y", NULL
20376 };
20377
20378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20380 if (SWIG_arg_fail(1)) SWIG_fail;
20381 {
20382 arg2 = (int)(SWIG_As_int(obj1));
20383 if (SWIG_arg_fail(2)) SWIG_fail;
20384 }
20385 {
20386 arg3 = (int)(SWIG_As_int(obj2));
20387 if (SWIG_arg_fail(3)) SWIG_fail;
20388 }
d55e5bfc
RD
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 (arg1)->SetMargins(arg2,arg3);
20392
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 Py_INCREF(Py_None); resultobj = Py_None;
20397 return resultobj;
20398 fail:
20399 return NULL;
20400}
20401
20402
c370783e 20403static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20404 PyObject *resultobj;
20405 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20406 wxSize *arg2 = 0 ;
20407 wxSize temp2 ;
20408 PyObject * obj0 = 0 ;
20409 PyObject * obj1 = 0 ;
20410 char *kwnames[] = {
20411 (char *) "self",(char *) "size", NULL
20412 };
20413
20414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20417 {
20418 arg2 = &temp2;
20419 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20420 }
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 (arg1)->SetMargins((wxSize const &)*arg2);
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 Py_INCREF(Py_None); resultobj = Py_None;
20429 return resultobj;
20430 fail:
20431 return NULL;
20432}
20433
20434
c370783e 20435static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20436 PyObject *resultobj;
20437 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20438 int arg2 ;
20439 PyObject * obj0 = 0 ;
20440 PyObject * obj1 = 0 ;
20441 char *kwnames[] = {
20442 (char *) "self",(char *) "packing", NULL
20443 };
20444
20445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20447 if (SWIG_arg_fail(1)) SWIG_fail;
20448 {
20449 arg2 = (int)(SWIG_As_int(obj1));
20450 if (SWIG_arg_fail(2)) SWIG_fail;
20451 }
d55e5bfc
RD
20452 {
20453 PyThreadState* __tstate = wxPyBeginAllowThreads();
20454 (arg1)->SetToolPacking(arg2);
20455
20456 wxPyEndAllowThreads(__tstate);
20457 if (PyErr_Occurred()) SWIG_fail;
20458 }
20459 Py_INCREF(Py_None); resultobj = Py_None;
20460 return resultobj;
20461 fail:
20462 return NULL;
20463}
20464
20465
c370783e 20466static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20467 PyObject *resultobj;
20468 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20469 int arg2 ;
20470 PyObject * obj0 = 0 ;
20471 PyObject * obj1 = 0 ;
20472 char *kwnames[] = {
20473 (char *) "self",(char *) "separation", NULL
20474 };
20475
20476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20478 if (SWIG_arg_fail(1)) SWIG_fail;
20479 {
20480 arg2 = (int)(SWIG_As_int(obj1));
20481 if (SWIG_arg_fail(2)) SWIG_fail;
20482 }
d55e5bfc
RD
20483 {
20484 PyThreadState* __tstate = wxPyBeginAllowThreads();
20485 (arg1)->SetToolSeparation(arg2);
20486
20487 wxPyEndAllowThreads(__tstate);
20488 if (PyErr_Occurred()) SWIG_fail;
20489 }
20490 Py_INCREF(Py_None); resultobj = Py_None;
20491 return resultobj;
20492 fail:
20493 return NULL;
20494}
20495
20496
c370783e 20497static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20498 PyObject *resultobj;
20499 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20500 wxSize result;
20501 PyObject * obj0 = 0 ;
20502 char *kwnames[] = {
20503 (char *) "self", NULL
20504 };
20505
20506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
20507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20508 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20509 {
20510 PyThreadState* __tstate = wxPyBeginAllowThreads();
20511 result = (arg1)->GetToolMargins();
20512
20513 wxPyEndAllowThreads(__tstate);
20514 if (PyErr_Occurred()) SWIG_fail;
20515 }
20516 {
20517 wxSize * resultptr;
36ed4f51 20518 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20519 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20520 }
20521 return resultobj;
20522 fail:
20523 return NULL;
20524}
20525
20526
c370783e 20527static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20528 PyObject *resultobj;
20529 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20530 wxSize result;
20531 PyObject * obj0 = 0 ;
20532 char *kwnames[] = {
20533 (char *) "self", NULL
20534 };
20535
20536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
20537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20538 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20539 {
20540 PyThreadState* __tstate = wxPyBeginAllowThreads();
20541 result = (arg1)->GetMargins();
20542
20543 wxPyEndAllowThreads(__tstate);
20544 if (PyErr_Occurred()) SWIG_fail;
20545 }
20546 {
20547 wxSize * resultptr;
36ed4f51 20548 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20549 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20550 }
20551 return resultobj;
20552 fail:
20553 return NULL;
20554}
20555
20556
c370783e 20557static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20558 PyObject *resultobj;
20559 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20560 int result;
20561 PyObject * obj0 = 0 ;
20562 char *kwnames[] = {
20563 (char *) "self", NULL
20564 };
20565
20566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
36ed4f51
RD
20567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20568 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20569 {
20570 PyThreadState* __tstate = wxPyBeginAllowThreads();
20571 result = (int)(arg1)->GetToolPacking();
20572
20573 wxPyEndAllowThreads(__tstate);
20574 if (PyErr_Occurred()) SWIG_fail;
20575 }
36ed4f51
RD
20576 {
20577 resultobj = SWIG_From_int((int)(result));
20578 }
d55e5bfc
RD
20579 return resultobj;
20580 fail:
20581 return NULL;
20582}
20583
20584
c370783e 20585static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20586 PyObject *resultobj;
20587 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20588 int result;
20589 PyObject * obj0 = 0 ;
20590 char *kwnames[] = {
20591 (char *) "self", NULL
20592 };
20593
20594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
36ed4f51
RD
20595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 result = (int)(arg1)->GetToolSeparation();
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
36ed4f51
RD
20604 {
20605 resultobj = SWIG_From_int((int)(result));
20606 }
d55e5bfc
RD
20607 return resultobj;
20608 fail:
20609 return NULL;
20610}
20611
20612
c370783e 20613static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20614 PyObject *resultobj;
20615 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20616 int arg2 ;
20617 PyObject * obj0 = 0 ;
20618 PyObject * obj1 = 0 ;
20619 char *kwnames[] = {
20620 (char *) "self",(char *) "nRows", NULL
20621 };
20622
20623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20625 if (SWIG_arg_fail(1)) SWIG_fail;
20626 {
20627 arg2 = (int)(SWIG_As_int(obj1));
20628 if (SWIG_arg_fail(2)) SWIG_fail;
20629 }
d55e5bfc
RD
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 (arg1)->SetRows(arg2);
20633
20634 wxPyEndAllowThreads(__tstate);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
20637 Py_INCREF(Py_None); resultobj = Py_None;
20638 return resultobj;
20639 fail:
20640 return NULL;
20641}
20642
20643
c370783e 20644static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20645 PyObject *resultobj;
20646 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20647 int arg2 ;
20648 int arg3 ;
20649 PyObject * obj0 = 0 ;
20650 PyObject * obj1 = 0 ;
20651 PyObject * obj2 = 0 ;
20652 char *kwnames[] = {
20653 (char *) "self",(char *) "rows",(char *) "cols", NULL
20654 };
20655
20656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20658 if (SWIG_arg_fail(1)) SWIG_fail;
20659 {
20660 arg2 = (int)(SWIG_As_int(obj1));
20661 if (SWIG_arg_fail(2)) SWIG_fail;
20662 }
20663 {
20664 arg3 = (int)(SWIG_As_int(obj2));
20665 if (SWIG_arg_fail(3)) SWIG_fail;
20666 }
d55e5bfc
RD
20667 {
20668 PyThreadState* __tstate = wxPyBeginAllowThreads();
20669 (arg1)->SetMaxRowsCols(arg2,arg3);
20670
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 Py_INCREF(Py_None); resultobj = Py_None;
20675 return resultobj;
20676 fail:
20677 return NULL;
20678}
20679
20680
c370783e 20681static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20682 PyObject *resultobj;
20683 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20684 int result;
20685 PyObject * obj0 = 0 ;
20686 char *kwnames[] = {
20687 (char *) "self", NULL
20688 };
20689
20690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
36ed4f51
RD
20691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20692 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20693 {
20694 PyThreadState* __tstate = wxPyBeginAllowThreads();
20695 result = (int)(arg1)->GetMaxRows();
20696
20697 wxPyEndAllowThreads(__tstate);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 }
36ed4f51
RD
20700 {
20701 resultobj = SWIG_From_int((int)(result));
20702 }
d55e5bfc
RD
20703 return resultobj;
20704 fail:
20705 return NULL;
20706}
20707
20708
c370783e 20709static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20710 PyObject *resultobj;
20711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20712 int result;
20713 PyObject * obj0 = 0 ;
20714 char *kwnames[] = {
20715 (char *) "self", NULL
20716 };
20717
20718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
36ed4f51
RD
20719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20720 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20721 {
20722 PyThreadState* __tstate = wxPyBeginAllowThreads();
20723 result = (int)(arg1)->GetMaxCols();
20724
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
36ed4f51
RD
20728 {
20729 resultobj = SWIG_From_int((int)(result));
20730 }
d55e5bfc
RD
20731 return resultobj;
20732 fail:
20733 return NULL;
20734}
20735
20736
c370783e 20737static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20738 PyObject *resultobj;
20739 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20740 wxSize *arg2 = 0 ;
20741 wxSize temp2 ;
20742 PyObject * obj0 = 0 ;
20743 PyObject * obj1 = 0 ;
20744 char *kwnames[] = {
20745 (char *) "self",(char *) "size", NULL
20746 };
20747
20748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20750 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20751 {
20752 arg2 = &temp2;
20753 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20754 }
20755 {
20756 PyThreadState* __tstate = wxPyBeginAllowThreads();
20757 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20758
20759 wxPyEndAllowThreads(__tstate);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 }
20762 Py_INCREF(Py_None); resultobj = Py_None;
20763 return resultobj;
20764 fail:
20765 return NULL;
20766}
20767
20768
c370783e 20769static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20770 PyObject *resultobj;
20771 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20772 wxSize result;
20773 PyObject * obj0 = 0 ;
20774 char *kwnames[] = {
20775 (char *) "self", NULL
20776 };
20777
20778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20780 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20781 {
20782 PyThreadState* __tstate = wxPyBeginAllowThreads();
20783 result = (arg1)->GetToolBitmapSize();
20784
20785 wxPyEndAllowThreads(__tstate);
20786 if (PyErr_Occurred()) SWIG_fail;
20787 }
20788 {
20789 wxSize * resultptr;
36ed4f51 20790 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20792 }
20793 return resultobj;
20794 fail:
20795 return NULL;
20796}
20797
20798
c370783e 20799static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20800 PyObject *resultobj;
20801 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20802 wxSize result;
20803 PyObject * obj0 = 0 ;
20804 char *kwnames[] = {
20805 (char *) "self", NULL
20806 };
20807
20808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20810 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20811 {
20812 PyThreadState* __tstate = wxPyBeginAllowThreads();
20813 result = (arg1)->GetToolSize();
20814
20815 wxPyEndAllowThreads(__tstate);
20816 if (PyErr_Occurred()) SWIG_fail;
20817 }
20818 {
20819 wxSize * resultptr;
36ed4f51 20820 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20821 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20822 }
20823 return resultobj;
20824 fail:
20825 return NULL;
20826}
20827
20828
c370783e 20829static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20830 PyObject *resultobj;
20831 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20832 int arg2 ;
20833 int arg3 ;
20834 wxToolBarToolBase *result;
20835 PyObject * obj0 = 0 ;
20836 PyObject * obj1 = 0 ;
20837 PyObject * obj2 = 0 ;
20838 char *kwnames[] = {
20839 (char *) "self",(char *) "x",(char *) "y", NULL
20840 };
20841
20842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20844 if (SWIG_arg_fail(1)) SWIG_fail;
20845 {
20846 arg2 = (int)(SWIG_As_int(obj1));
20847 if (SWIG_arg_fail(2)) SWIG_fail;
20848 }
20849 {
20850 arg3 = (int)(SWIG_As_int(obj2));
20851 if (SWIG_arg_fail(3)) SWIG_fail;
20852 }
d55e5bfc
RD
20853 {
20854 PyThreadState* __tstate = wxPyBeginAllowThreads();
20855 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20856
20857 wxPyEndAllowThreads(__tstate);
20858 if (PyErr_Occurred()) SWIG_fail;
20859 }
20860 {
412d302d 20861 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20862 }
20863 return resultobj;
20864 fail:
20865 return NULL;
20866}
20867
20868
c370783e 20869static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20870 PyObject *resultobj;
20871 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20872 int arg2 ;
20873 wxToolBarToolBase *result;
20874 PyObject * obj0 = 0 ;
20875 PyObject * obj1 = 0 ;
20876 char *kwnames[] = {
20877 (char *) "self",(char *) "toolid", NULL
20878 };
20879
20880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20882 if (SWIG_arg_fail(1)) SWIG_fail;
20883 {
20884 arg2 = (int)(SWIG_As_int(obj1));
20885 if (SWIG_arg_fail(2)) SWIG_fail;
20886 }
d55e5bfc
RD
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20890
20891 wxPyEndAllowThreads(__tstate);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 }
20894 {
412d302d 20895 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20896 }
20897 return resultobj;
20898 fail:
20899 return NULL;
20900}
20901
20902
c370783e 20903static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20904 PyObject *resultobj;
20905 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20906 bool result;
20907 PyObject * obj0 = 0 ;
20908 char *kwnames[] = {
20909 (char *) "self", NULL
20910 };
20911
20912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
20913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20914 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20915 {
20916 PyThreadState* __tstate = wxPyBeginAllowThreads();
20917 result = (bool)(arg1)->IsVertical();
20918
20919 wxPyEndAllowThreads(__tstate);
20920 if (PyErr_Occurred()) SWIG_fail;
20921 }
20922 {
20923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20924 }
20925 return resultobj;
20926 fail:
20927 return NULL;
20928}
20929
20930
c370783e 20931static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20932 PyObject *obj;
20933 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20934 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20935 Py_INCREF(obj);
20936 return Py_BuildValue((char *)"");
20937}
c370783e 20938static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20939 PyObject *resultobj;
20940 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 20941 int arg2 = (int) -1 ;
d55e5bfc
RD
20942 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20943 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20944 wxSize const &arg4_defvalue = wxDefaultSize ;
20945 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20946 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20947 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
20948 wxString *arg6 = (wxString *) &arg6_defvalue ;
20949 wxToolBar *result;
20950 wxPoint temp3 ;
20951 wxSize temp4 ;
b411df4a 20952 bool temp6 = false ;
d55e5bfc
RD
20953 PyObject * obj0 = 0 ;
20954 PyObject * obj1 = 0 ;
20955 PyObject * obj2 = 0 ;
20956 PyObject * obj3 = 0 ;
20957 PyObject * obj4 = 0 ;
20958 PyObject * obj5 = 0 ;
20959 char *kwnames[] = {
20960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20961 };
20962
bfddbb17 20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
20964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20965 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 20966 if (obj1) {
36ed4f51
RD
20967 {
20968 arg2 = (int)(SWIG_As_int(obj1));
20969 if (SWIG_arg_fail(2)) SWIG_fail;
20970 }
bfddbb17 20971 }
d55e5bfc
RD
20972 if (obj2) {
20973 {
20974 arg3 = &temp3;
20975 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20976 }
20977 }
20978 if (obj3) {
20979 {
20980 arg4 = &temp4;
20981 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20982 }
20983 }
20984 if (obj4) {
36ed4f51
RD
20985 {
20986 arg5 = (long)(SWIG_As_long(obj4));
20987 if (SWIG_arg_fail(5)) SWIG_fail;
20988 }
d55e5bfc
RD
20989 }
20990 if (obj5) {
20991 {
20992 arg6 = wxString_in_helper(obj5);
20993 if (arg6 == NULL) SWIG_fail;
b411df4a 20994 temp6 = true;
d55e5bfc
RD
20995 }
20996 }
20997 {
0439c23b 20998 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
20999 PyThreadState* __tstate = wxPyBeginAllowThreads();
21000 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21001
21002 wxPyEndAllowThreads(__tstate);
110da5b0 21003 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 21004 }
b0f7404b 21005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
21006 {
21007 if (temp6)
21008 delete arg6;
21009 }
21010 return resultobj;
21011 fail:
21012 {
21013 if (temp6)
21014 delete arg6;
21015 }
21016 return NULL;
21017}
21018
21019
c370783e 21020static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21021 PyObject *resultobj;
21022 wxToolBar *result;
21023 char *kwnames[] = {
21024 NULL
21025 };
21026
21027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21028 {
0439c23b 21029 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21030 PyThreadState* __tstate = wxPyBeginAllowThreads();
21031 result = (wxToolBar *)new wxToolBar();
21032
21033 wxPyEndAllowThreads(__tstate);
110da5b0 21034 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 21035 }
b0f7404b 21036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
21037 return resultobj;
21038 fail:
21039 return NULL;
21040}
21041
21042
c370783e 21043static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21044 PyObject *resultobj;
21045 wxToolBar *arg1 = (wxToolBar *) 0 ;
21046 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 21047 int arg3 = (int) -1 ;
d55e5bfc
RD
21048 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21049 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21050 wxSize const &arg5_defvalue = wxDefaultSize ;
21051 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21052 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21053 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21054 wxString *arg7 = (wxString *) &arg7_defvalue ;
21055 bool result;
21056 wxPoint temp4 ;
21057 wxSize temp5 ;
b411df4a 21058 bool temp7 = false ;
d55e5bfc
RD
21059 PyObject * obj0 = 0 ;
21060 PyObject * obj1 = 0 ;
21061 PyObject * obj2 = 0 ;
21062 PyObject * obj3 = 0 ;
21063 PyObject * obj4 = 0 ;
21064 PyObject * obj5 = 0 ;
21065 PyObject * obj6 = 0 ;
21066 char *kwnames[] = {
21067 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21068 };
21069
bfddbb17 21070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
21071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21072 if (SWIG_arg_fail(1)) SWIG_fail;
21073 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21074 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 21075 if (obj2) {
36ed4f51
RD
21076 {
21077 arg3 = (int)(SWIG_As_int(obj2));
21078 if (SWIG_arg_fail(3)) SWIG_fail;
21079 }
bfddbb17 21080 }
d55e5bfc
RD
21081 if (obj3) {
21082 {
21083 arg4 = &temp4;
21084 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21085 }
21086 }
21087 if (obj4) {
21088 {
21089 arg5 = &temp5;
21090 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21091 }
21092 }
21093 if (obj5) {
36ed4f51
RD
21094 {
21095 arg6 = (long)(SWIG_As_long(obj5));
21096 if (SWIG_arg_fail(6)) SWIG_fail;
21097 }
d55e5bfc
RD
21098 }
21099 if (obj6) {
21100 {
21101 arg7 = wxString_in_helper(obj6);
21102 if (arg7 == NULL) SWIG_fail;
b411df4a 21103 temp7 = true;
d55e5bfc
RD
21104 }
21105 }
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21109
21110 wxPyEndAllowThreads(__tstate);
21111 if (PyErr_Occurred()) SWIG_fail;
21112 }
21113 {
21114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21115 }
21116 {
21117 if (temp7)
21118 delete arg7;
21119 }
21120 return resultobj;
21121 fail:
21122 {
21123 if (temp7)
21124 delete arg7;
21125 }
21126 return NULL;
21127}
21128
21129
c370783e 21130static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21131 PyObject *resultobj;
21132 wxToolBar *arg1 = (wxToolBar *) 0 ;
21133 int arg2 ;
21134 int arg3 ;
21135 wxToolBarToolBase *result;
21136 PyObject * obj0 = 0 ;
21137 PyObject * obj1 = 0 ;
21138 PyObject * obj2 = 0 ;
21139 char *kwnames[] = {
21140 (char *) "self",(char *) "x",(char *) "y", NULL
21141 };
21142
21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail;
21146 {
21147 arg2 = (int)(SWIG_As_int(obj1));
21148 if (SWIG_arg_fail(2)) SWIG_fail;
21149 }
21150 {
21151 arg3 = (int)(SWIG_As_int(obj2));
21152 if (SWIG_arg_fail(3)) SWIG_fail;
21153 }
d55e5bfc
RD
21154 {
21155 PyThreadState* __tstate = wxPyBeginAllowThreads();
21156 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21157
21158 wxPyEndAllowThreads(__tstate);
21159 if (PyErr_Occurred()) SWIG_fail;
21160 }
21161 {
412d302d 21162 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21163 }
21164 return resultobj;
21165 fail:
21166 return NULL;
21167}
21168
21169
c370783e 21170static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 21171 PyObject *resultobj;
36ed4f51 21172 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
21173 wxVisualAttributes result;
21174 PyObject * obj0 = 0 ;
21175 char *kwnames[] = {
21176 (char *) "variant", NULL
21177 };
21178
21179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21180 if (obj0) {
36ed4f51
RD
21181 {
21182 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21183 if (SWIG_arg_fail(1)) SWIG_fail;
21184 }
f20a2e1f
RD
21185 }
21186 {
0439c23b 21187 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
21188 PyThreadState* __tstate = wxPyBeginAllowThreads();
21189 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21190
21191 wxPyEndAllowThreads(__tstate);
110da5b0 21192 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
21193 }
21194 {
21195 wxVisualAttributes * resultptr;
36ed4f51 21196 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
21197 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21198 }
21199 return resultobj;
21200 fail:
21201 return NULL;
21202}
21203
21204
c370783e 21205static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21206 PyObject *obj;
21207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21208 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21209 Py_INCREF(obj);
21210 return Py_BuildValue((char *)"");
21211}
c370783e 21212static int _wrap_ListCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
21213 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21214 return 1;
21215}
21216
21217
36ed4f51 21218static PyObject *_wrap_ListCtrlNameStr_get(void) {
d55e5bfc
RD
21219 PyObject *pyobj;
21220
21221 {
21222#if wxUSE_UNICODE
21223 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21224#else
21225 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21226#endif
21227 }
21228 return pyobj;
21229}
21230
21231
c370783e 21232static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21233 PyObject *resultobj;
21234 wxColour const &arg1_defvalue = wxNullColour ;
21235 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21236 wxColour const &arg2_defvalue = wxNullColour ;
21237 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21238 wxFont const &arg3_defvalue = wxNullFont ;
21239 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21240 wxListItemAttr *result;
21241 wxColour temp1 ;
21242 wxColour temp2 ;
21243 PyObject * obj0 = 0 ;
21244 PyObject * obj1 = 0 ;
21245 PyObject * obj2 = 0 ;
21246 char *kwnames[] = {
21247 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21248 };
21249
21250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21251 if (obj0) {
21252 {
21253 arg1 = &temp1;
21254 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21255 }
21256 }
21257 if (obj1) {
21258 {
21259 arg2 = &temp2;
21260 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21261 }
21262 }
21263 if (obj2) {
36ed4f51
RD
21264 {
21265 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21266 if (SWIG_arg_fail(3)) SWIG_fail;
21267 if (arg3 == NULL) {
21268 SWIG_null_ref("wxFont");
21269 }
21270 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
21271 }
21272 }
21273 {
21274 PyThreadState* __tstate = wxPyBeginAllowThreads();
21275 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21276
21277 wxPyEndAllowThreads(__tstate);
21278 if (PyErr_Occurred()) SWIG_fail;
21279 }
21280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21281 return resultobj;
21282 fail:
21283 return NULL;
21284}
21285
21286
c370783e 21287static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21288 PyObject *resultobj;
21289 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21290 wxColour *arg2 = 0 ;
21291 wxColour temp2 ;
21292 PyObject * obj0 = 0 ;
21293 PyObject * obj1 = 0 ;
21294 char *kwnames[] = {
21295 (char *) "self",(char *) "colText", NULL
21296 };
21297
21298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21301 {
21302 arg2 = &temp2;
21303 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21304 }
21305 {
21306 PyThreadState* __tstate = wxPyBeginAllowThreads();
21307 (arg1)->SetTextColour((wxColour const &)*arg2);
21308
21309 wxPyEndAllowThreads(__tstate);
21310 if (PyErr_Occurred()) SWIG_fail;
21311 }
21312 Py_INCREF(Py_None); resultobj = Py_None;
21313 return resultobj;
21314 fail:
21315 return NULL;
21316}
21317
21318
c370783e 21319static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21320 PyObject *resultobj;
21321 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21322 wxColour *arg2 = 0 ;
21323 wxColour temp2 ;
21324 PyObject * obj0 = 0 ;
21325 PyObject * obj1 = 0 ;
21326 char *kwnames[] = {
21327 (char *) "self",(char *) "colBack", NULL
21328 };
21329
21330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21333 {
21334 arg2 = &temp2;
21335 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21336 }
21337 {
21338 PyThreadState* __tstate = wxPyBeginAllowThreads();
21339 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21340
21341 wxPyEndAllowThreads(__tstate);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 Py_INCREF(Py_None); resultobj = Py_None;
21345 return resultobj;
21346 fail:
21347 return NULL;
21348}
21349
21350
c370783e 21351static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21352 PyObject *resultobj;
21353 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21354 wxFont *arg2 = 0 ;
21355 PyObject * obj0 = 0 ;
21356 PyObject * obj1 = 0 ;
21357 char *kwnames[] = {
21358 (char *) "self",(char *) "font", NULL
21359 };
21360
21361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21363 if (SWIG_arg_fail(1)) SWIG_fail;
21364 {
21365 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21366 if (SWIG_arg_fail(2)) SWIG_fail;
21367 if (arg2 == NULL) {
21368 SWIG_null_ref("wxFont");
21369 }
21370 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21371 }
21372 {
21373 PyThreadState* __tstate = wxPyBeginAllowThreads();
21374 (arg1)->SetFont((wxFont const &)*arg2);
21375
21376 wxPyEndAllowThreads(__tstate);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 }
21379 Py_INCREF(Py_None); resultobj = Py_None;
21380 return resultobj;
21381 fail:
21382 return NULL;
21383}
21384
21385
c370783e 21386static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21387 PyObject *resultobj;
21388 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21389 bool result;
21390 PyObject * obj0 = 0 ;
21391 char *kwnames[] = {
21392 (char *) "self", NULL
21393 };
21394
21395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21397 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21398 {
21399 PyThreadState* __tstate = wxPyBeginAllowThreads();
21400 result = (bool)(arg1)->HasTextColour();
21401
21402 wxPyEndAllowThreads(__tstate);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 }
21405 {
21406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21407 }
21408 return resultobj;
21409 fail:
21410 return NULL;
21411}
21412
21413
c370783e 21414static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21415 PyObject *resultobj;
21416 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21417 bool result;
21418 PyObject * obj0 = 0 ;
21419 char *kwnames[] = {
21420 (char *) "self", NULL
21421 };
21422
21423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21425 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 result = (bool)(arg1)->HasBackgroundColour();
21429
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 {
21434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21435 }
21436 return resultobj;
21437 fail:
21438 return NULL;
21439}
21440
21441
c370783e 21442static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21443 PyObject *resultobj;
21444 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21445 bool result;
21446 PyObject * obj0 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
21452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 result = (bool)(arg1)->HasFont();
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 {
21462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21463 }
21464 return resultobj;
21465 fail:
21466 return NULL;
21467}
21468
21469
c370783e 21470static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21471 PyObject *resultobj;
21472 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21473 wxColour result;
21474 PyObject * obj0 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "self", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 result = (arg1)->GetTextColour();
21485
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 {
21490 wxColour * resultptr;
36ed4f51 21491 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21493 }
21494 return resultobj;
21495 fail:
21496 return NULL;
21497}
21498
21499
c370783e 21500static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21501 PyObject *resultobj;
21502 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21503 wxColour result;
21504 PyObject * obj0 = 0 ;
21505 char *kwnames[] = {
21506 (char *) "self", NULL
21507 };
21508
21509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21511 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 result = (arg1)->GetBackgroundColour();
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 {
21520 wxColour * resultptr;
36ed4f51 21521 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21523 }
21524 return resultobj;
21525 fail:
21526 return NULL;
21527}
21528
21529
c370783e 21530static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21531 PyObject *resultobj;
21532 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21533 wxFont result;
21534 PyObject * obj0 = 0 ;
21535 char *kwnames[] = {
21536 (char *) "self", NULL
21537 };
21538
21539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
21540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21541 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21542 {
21543 PyThreadState* __tstate = wxPyBeginAllowThreads();
21544 result = (arg1)->GetFont();
21545
21546 wxPyEndAllowThreads(__tstate);
21547 if (PyErr_Occurred()) SWIG_fail;
21548 }
21549 {
21550 wxFont * resultptr;
36ed4f51 21551 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
21552 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21553 }
21554 return resultobj;
21555 fail:
21556 return NULL;
21557}
21558
21559
c370783e 21560static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21561 PyObject *resultobj;
21562 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21563 PyObject * obj0 = 0 ;
21564 char *kwnames[] = {
21565 (char *) "self", NULL
21566 };
21567
21568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
21569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21570 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21571 {
21572 PyThreadState* __tstate = wxPyBeginAllowThreads();
21573 wxListItemAttr_Destroy(arg1);
21574
21575 wxPyEndAllowThreads(__tstate);
21576 if (PyErr_Occurred()) SWIG_fail;
21577 }
21578 Py_INCREF(Py_None); resultobj = Py_None;
21579 return resultobj;
21580 fail:
21581 return NULL;
21582}
21583
21584
c370783e 21585static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21586 PyObject *obj;
21587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21588 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21589 Py_INCREF(obj);
21590 return Py_BuildValue((char *)"");
21591}
c370783e 21592static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21593 PyObject *resultobj;
21594 wxListItem *result;
21595 char *kwnames[] = {
21596 NULL
21597 };
21598
21599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21600 {
21601 PyThreadState* __tstate = wxPyBeginAllowThreads();
21602 result = (wxListItem *)new wxListItem();
21603
21604 wxPyEndAllowThreads(__tstate);
21605 if (PyErr_Occurred()) SWIG_fail;
21606 }
21607 {
412d302d 21608 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
21609 }
21610 return resultobj;
21611 fail:
21612 return NULL;
21613}
21614
21615
c370783e 21616static PyObject *_wrap_delete_ListItem(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:delete_ListItem",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 delete arg1;
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_Clear(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_Clear",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)->Clear();
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_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21667 PyObject *resultobj;
21668 wxListItem *arg1 = (wxListItem *) 0 ;
21669 PyObject * obj0 = 0 ;
21670 char *kwnames[] = {
21671 (char *) "self", NULL
21672 };
21673
21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
21675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21676 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21677 {
21678 PyThreadState* __tstate = wxPyBeginAllowThreads();
21679 (arg1)->ClearAttributes();
21680
21681 wxPyEndAllowThreads(__tstate);
21682 if (PyErr_Occurred()) SWIG_fail;
21683 }
21684 Py_INCREF(Py_None); resultobj = Py_None;
21685 return resultobj;
21686 fail:
21687 return NULL;
21688}
21689
21690
c370783e 21691static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21692 PyObject *resultobj;
21693 wxListItem *arg1 = (wxListItem *) 0 ;
21694 long arg2 ;
21695 PyObject * obj0 = 0 ;
21696 PyObject * obj1 = 0 ;
21697 char *kwnames[] = {
21698 (char *) "self",(char *) "mask", NULL
21699 };
21700
21701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21703 if (SWIG_arg_fail(1)) SWIG_fail;
21704 {
21705 arg2 = (long)(SWIG_As_long(obj1));
21706 if (SWIG_arg_fail(2)) SWIG_fail;
21707 }
d55e5bfc
RD
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 (arg1)->SetMask(arg2);
21711
21712 wxPyEndAllowThreads(__tstate);
21713 if (PyErr_Occurred()) SWIG_fail;
21714 }
21715 Py_INCREF(Py_None); resultobj = Py_None;
21716 return resultobj;
21717 fail:
21718 return NULL;
21719}
21720
21721
c370783e 21722static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21723 PyObject *resultobj;
21724 wxListItem *arg1 = (wxListItem *) 0 ;
21725 long arg2 ;
21726 PyObject * obj0 = 0 ;
21727 PyObject * obj1 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self",(char *) "id", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21734 if (SWIG_arg_fail(1)) SWIG_fail;
21735 {
21736 arg2 = (long)(SWIG_As_long(obj1));
21737 if (SWIG_arg_fail(2)) SWIG_fail;
21738 }
d55e5bfc
RD
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 (arg1)->SetId(arg2);
21742
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 Py_INCREF(Py_None); resultobj = Py_None;
21747 return resultobj;
21748 fail:
21749 return NULL;
21750}
21751
21752
c370783e 21753static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21754 PyObject *resultobj;
21755 wxListItem *arg1 = (wxListItem *) 0 ;
21756 int arg2 ;
21757 PyObject * obj0 = 0 ;
21758 PyObject * obj1 = 0 ;
21759 char *kwnames[] = {
21760 (char *) "self",(char *) "col", NULL
21761 };
21762
21763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21765 if (SWIG_arg_fail(1)) SWIG_fail;
21766 {
21767 arg2 = (int)(SWIG_As_int(obj1));
21768 if (SWIG_arg_fail(2)) SWIG_fail;
21769 }
d55e5bfc
RD
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 (arg1)->SetColumn(arg2);
21773
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
21777 Py_INCREF(Py_None); resultobj = Py_None;
21778 return resultobj;
21779 fail:
21780 return NULL;
21781}
21782
21783
c370783e 21784static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21785 PyObject *resultobj;
21786 wxListItem *arg1 = (wxListItem *) 0 ;
21787 long arg2 ;
21788 PyObject * obj0 = 0 ;
21789 PyObject * obj1 = 0 ;
21790 char *kwnames[] = {
21791 (char *) "self",(char *) "state", NULL
21792 };
21793
21794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21796 if (SWIG_arg_fail(1)) SWIG_fail;
21797 {
21798 arg2 = (long)(SWIG_As_long(obj1));
21799 if (SWIG_arg_fail(2)) SWIG_fail;
21800 }
d55e5bfc
RD
21801 {
21802 PyThreadState* __tstate = wxPyBeginAllowThreads();
21803 (arg1)->SetState(arg2);
21804
21805 wxPyEndAllowThreads(__tstate);
21806 if (PyErr_Occurred()) SWIG_fail;
21807 }
21808 Py_INCREF(Py_None); resultobj = Py_None;
21809 return resultobj;
21810 fail:
21811 return NULL;
21812}
21813
21814
c370783e 21815static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21816 PyObject *resultobj;
21817 wxListItem *arg1 = (wxListItem *) 0 ;
21818 long arg2 ;
21819 PyObject * obj0 = 0 ;
21820 PyObject * obj1 = 0 ;
21821 char *kwnames[] = {
21822 (char *) "self",(char *) "stateMask", NULL
21823 };
21824
21825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21827 if (SWIG_arg_fail(1)) SWIG_fail;
21828 {
21829 arg2 = (long)(SWIG_As_long(obj1));
21830 if (SWIG_arg_fail(2)) SWIG_fail;
21831 }
d55e5bfc
RD
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 (arg1)->SetStateMask(arg2);
21835
21836 wxPyEndAllowThreads(__tstate);
21837 if (PyErr_Occurred()) SWIG_fail;
21838 }
21839 Py_INCREF(Py_None); resultobj = Py_None;
21840 return resultobj;
21841 fail:
21842 return NULL;
21843}
21844
21845
c370783e 21846static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21847 PyObject *resultobj;
21848 wxListItem *arg1 = (wxListItem *) 0 ;
21849 wxString *arg2 = 0 ;
b411df4a 21850 bool temp2 = false ;
d55e5bfc
RD
21851 PyObject * obj0 = 0 ;
21852 PyObject * obj1 = 0 ;
21853 char *kwnames[] = {
21854 (char *) "self",(char *) "text", NULL
21855 };
21856
21857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21859 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21860 {
21861 arg2 = wxString_in_helper(obj1);
21862 if (arg2 == NULL) SWIG_fail;
b411df4a 21863 temp2 = true;
d55e5bfc
RD
21864 }
21865 {
21866 PyThreadState* __tstate = wxPyBeginAllowThreads();
21867 (arg1)->SetText((wxString const &)*arg2);
21868
21869 wxPyEndAllowThreads(__tstate);
21870 if (PyErr_Occurred()) SWIG_fail;
21871 }
21872 Py_INCREF(Py_None); resultobj = Py_None;
21873 {
21874 if (temp2)
21875 delete arg2;
21876 }
21877 return resultobj;
21878 fail:
21879 {
21880 if (temp2)
21881 delete arg2;
21882 }
21883 return NULL;
21884}
21885
21886
c370783e 21887static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21888 PyObject *resultobj;
21889 wxListItem *arg1 = (wxListItem *) 0 ;
21890 int arg2 ;
21891 PyObject * obj0 = 0 ;
21892 PyObject * obj1 = 0 ;
21893 char *kwnames[] = {
21894 (char *) "self",(char *) "image", NULL
21895 };
21896
21897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21899 if (SWIG_arg_fail(1)) SWIG_fail;
21900 {
21901 arg2 = (int)(SWIG_As_int(obj1));
21902 if (SWIG_arg_fail(2)) SWIG_fail;
21903 }
d55e5bfc
RD
21904 {
21905 PyThreadState* __tstate = wxPyBeginAllowThreads();
21906 (arg1)->SetImage(arg2);
21907
21908 wxPyEndAllowThreads(__tstate);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 }
21911 Py_INCREF(Py_None); resultobj = Py_None;
21912 return resultobj;
21913 fail:
21914 return NULL;
21915}
21916
21917
c370783e 21918static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21919 PyObject *resultobj;
21920 wxListItem *arg1 = (wxListItem *) 0 ;
21921 long arg2 ;
21922 PyObject * obj0 = 0 ;
21923 PyObject * obj1 = 0 ;
21924 char *kwnames[] = {
21925 (char *) "self",(char *) "data", NULL
21926 };
21927
21928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21930 if (SWIG_arg_fail(1)) SWIG_fail;
21931 {
21932 arg2 = (long)(SWIG_As_long(obj1));
21933 if (SWIG_arg_fail(2)) SWIG_fail;
21934 }
d55e5bfc
RD
21935 {
21936 PyThreadState* __tstate = wxPyBeginAllowThreads();
21937 (arg1)->SetData(arg2);
21938
21939 wxPyEndAllowThreads(__tstate);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 }
21942 Py_INCREF(Py_None); resultobj = Py_None;
21943 return resultobj;
21944 fail:
21945 return NULL;
21946}
21947
21948
c370783e 21949static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21950 PyObject *resultobj;
21951 wxListItem *arg1 = (wxListItem *) 0 ;
21952 int arg2 ;
21953 PyObject * obj0 = 0 ;
21954 PyObject * obj1 = 0 ;
21955 char *kwnames[] = {
21956 (char *) "self",(char *) "width", NULL
21957 };
21958
21959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21961 if (SWIG_arg_fail(1)) SWIG_fail;
21962 {
21963 arg2 = (int)(SWIG_As_int(obj1));
21964 if (SWIG_arg_fail(2)) SWIG_fail;
21965 }
d55e5bfc
RD
21966 {
21967 PyThreadState* __tstate = wxPyBeginAllowThreads();
21968 (arg1)->SetWidth(arg2);
21969
21970 wxPyEndAllowThreads(__tstate);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 }
21973 Py_INCREF(Py_None); resultobj = Py_None;
21974 return resultobj;
21975 fail:
21976 return NULL;
21977}
21978
21979
c370783e 21980static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21981 PyObject *resultobj;
21982 wxListItem *arg1 = (wxListItem *) 0 ;
36ed4f51 21983 wxListColumnFormat arg2 ;
d55e5bfc
RD
21984 PyObject * obj0 = 0 ;
21985 PyObject * obj1 = 0 ;
21986 char *kwnames[] = {
21987 (char *) "self",(char *) "align", NULL
21988 };
21989
21990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21992 if (SWIG_arg_fail(1)) SWIG_fail;
21993 {
21994 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
21995 if (SWIG_arg_fail(2)) SWIG_fail;
21996 }
d55e5bfc
RD
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 (arg1)->SetAlign((wxListColumnFormat )arg2);
22000
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 Py_INCREF(Py_None); resultobj = Py_None;
22005 return resultobj;
22006 fail:
22007 return NULL;
22008}
22009
22010
c370783e 22011static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22012 PyObject *resultobj;
22013 wxListItem *arg1 = (wxListItem *) 0 ;
22014 wxColour *arg2 = 0 ;
22015 wxColour temp2 ;
22016 PyObject * obj0 = 0 ;
22017 PyObject * obj1 = 0 ;
22018 char *kwnames[] = {
22019 (char *) "self",(char *) "colText", NULL
22020 };
22021
22022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22024 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22025 {
22026 arg2 = &temp2;
22027 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22028 }
22029 {
22030 PyThreadState* __tstate = wxPyBeginAllowThreads();
22031 (arg1)->SetTextColour((wxColour const &)*arg2);
22032
22033 wxPyEndAllowThreads(__tstate);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
22036 Py_INCREF(Py_None); resultobj = Py_None;
22037 return resultobj;
22038 fail:
22039 return NULL;
22040}
22041
22042
c370783e 22043static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22044 PyObject *resultobj;
22045 wxListItem *arg1 = (wxListItem *) 0 ;
22046 wxColour *arg2 = 0 ;
22047 wxColour temp2 ;
22048 PyObject * obj0 = 0 ;
22049 PyObject * obj1 = 0 ;
22050 char *kwnames[] = {
22051 (char *) "self",(char *) "colBack", NULL
22052 };
22053
22054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22056 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22057 {
22058 arg2 = &temp2;
22059 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22060 }
22061 {
22062 PyThreadState* __tstate = wxPyBeginAllowThreads();
22063 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22064
22065 wxPyEndAllowThreads(__tstate);
22066 if (PyErr_Occurred()) SWIG_fail;
22067 }
22068 Py_INCREF(Py_None); resultobj = Py_None;
22069 return resultobj;
22070 fail:
22071 return NULL;
22072}
22073
22074
c370783e 22075static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22076 PyObject *resultobj;
22077 wxListItem *arg1 = (wxListItem *) 0 ;
22078 wxFont *arg2 = 0 ;
22079 PyObject * obj0 = 0 ;
22080 PyObject * obj1 = 0 ;
22081 char *kwnames[] = {
22082 (char *) "self",(char *) "font", NULL
22083 };
22084
22085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22087 if (SWIG_arg_fail(1)) SWIG_fail;
22088 {
22089 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22090 if (SWIG_arg_fail(2)) SWIG_fail;
22091 if (arg2 == NULL) {
22092 SWIG_null_ref("wxFont");
22093 }
22094 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22095 }
22096 {
22097 PyThreadState* __tstate = wxPyBeginAllowThreads();
22098 (arg1)->SetFont((wxFont const &)*arg2);
22099
22100 wxPyEndAllowThreads(__tstate);
22101 if (PyErr_Occurred()) SWIG_fail;
22102 }
22103 Py_INCREF(Py_None); resultobj = Py_None;
22104 return resultobj;
22105 fail:
22106 return NULL;
22107}
22108
22109
c370783e 22110static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22111 PyObject *resultobj;
22112 wxListItem *arg1 = (wxListItem *) 0 ;
22113 long result;
22114 PyObject * obj0 = 0 ;
22115 char *kwnames[] = {
22116 (char *) "self", NULL
22117 };
22118
22119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
36ed4f51
RD
22120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22121 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22122 {
22123 PyThreadState* __tstate = wxPyBeginAllowThreads();
22124 result = (long)(arg1)->GetMask();
22125
22126 wxPyEndAllowThreads(__tstate);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
36ed4f51
RD
22129 {
22130 resultobj = SWIG_From_long((long)(result));
22131 }
d55e5bfc
RD
22132 return resultobj;
22133 fail:
22134 return NULL;
22135}
22136
22137
c370783e 22138static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22139 PyObject *resultobj;
22140 wxListItem *arg1 = (wxListItem *) 0 ;
22141 long result;
22142 PyObject * obj0 = 0 ;
22143 char *kwnames[] = {
22144 (char *) "self", NULL
22145 };
22146
22147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
22148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22149 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 result = (long)(arg1)->GetId();
22153
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
36ed4f51
RD
22157 {
22158 resultobj = SWIG_From_long((long)(result));
22159 }
d55e5bfc
RD
22160 return resultobj;
22161 fail:
22162 return NULL;
22163}
22164
22165
c370783e 22166static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22167 PyObject *resultobj;
22168 wxListItem *arg1 = (wxListItem *) 0 ;
22169 int result;
22170 PyObject * obj0 = 0 ;
22171 char *kwnames[] = {
22172 (char *) "self", NULL
22173 };
22174
22175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
36ed4f51
RD
22176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22178 {
22179 PyThreadState* __tstate = wxPyBeginAllowThreads();
22180 result = (int)(arg1)->GetColumn();
22181
22182 wxPyEndAllowThreads(__tstate);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 }
36ed4f51
RD
22185 {
22186 resultobj = SWIG_From_int((int)(result));
22187 }
d55e5bfc
RD
22188 return resultobj;
22189 fail:
22190 return NULL;
22191}
22192
22193
c370783e 22194static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22195 PyObject *resultobj;
22196 wxListItem *arg1 = (wxListItem *) 0 ;
22197 long result;
22198 PyObject * obj0 = 0 ;
22199 char *kwnames[] = {
22200 (char *) "self", NULL
22201 };
22202
22203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
36ed4f51
RD
22204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22205 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22206 {
22207 PyThreadState* __tstate = wxPyBeginAllowThreads();
22208 result = (long)(arg1)->GetState();
22209
22210 wxPyEndAllowThreads(__tstate);
22211 if (PyErr_Occurred()) SWIG_fail;
22212 }
36ed4f51
RD
22213 {
22214 resultobj = SWIG_From_long((long)(result));
22215 }
d55e5bfc
RD
22216 return resultobj;
22217 fail:
22218 return NULL;
22219}
22220
22221
c370783e 22222static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22223 PyObject *resultobj;
22224 wxListItem *arg1 = (wxListItem *) 0 ;
22225 wxString *result;
22226 PyObject * obj0 = 0 ;
22227 char *kwnames[] = {
22228 (char *) "self", NULL
22229 };
22230
22231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
22232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22233 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22234 {
22235 PyThreadState* __tstate = wxPyBeginAllowThreads();
22236 {
22237 wxString const &_result_ref = (arg1)->GetText();
22238 result = (wxString *) &_result_ref;
22239 }
22240
22241 wxPyEndAllowThreads(__tstate);
22242 if (PyErr_Occurred()) SWIG_fail;
22243 }
22244 {
22245#if wxUSE_UNICODE
22246 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22247#else
22248 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22249#endif
22250 }
22251 return resultobj;
22252 fail:
22253 return NULL;
22254}
22255
22256
c370783e 22257static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22258 PyObject *resultobj;
22259 wxListItem *arg1 = (wxListItem *) 0 ;
22260 int result;
22261 PyObject * obj0 = 0 ;
22262 char *kwnames[] = {
22263 (char *) "self", NULL
22264 };
22265
22266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22268 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22269 {
22270 PyThreadState* __tstate = wxPyBeginAllowThreads();
22271 result = (int)(arg1)->GetImage();
22272
22273 wxPyEndAllowThreads(__tstate);
22274 if (PyErr_Occurred()) SWIG_fail;
22275 }
36ed4f51
RD
22276 {
22277 resultobj = SWIG_From_int((int)(result));
22278 }
d55e5bfc
RD
22279 return resultobj;
22280 fail:
22281 return NULL;
22282}
22283
22284
c370783e 22285static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22286 PyObject *resultobj;
22287 wxListItem *arg1 = (wxListItem *) 0 ;
22288 long result;
22289 PyObject * obj0 = 0 ;
22290 char *kwnames[] = {
22291 (char *) "self", NULL
22292 };
22293
22294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22297 {
22298 PyThreadState* __tstate = wxPyBeginAllowThreads();
22299 result = (long)(arg1)->GetData();
22300
22301 wxPyEndAllowThreads(__tstate);
22302 if (PyErr_Occurred()) SWIG_fail;
22303 }
36ed4f51
RD
22304 {
22305 resultobj = SWIG_From_long((long)(result));
22306 }
d55e5bfc
RD
22307 return resultobj;
22308 fail:
22309 return NULL;
22310}
22311
22312
c370783e 22313static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22314 PyObject *resultobj;
22315 wxListItem *arg1 = (wxListItem *) 0 ;
22316 int result;
22317 PyObject * obj0 = 0 ;
22318 char *kwnames[] = {
22319 (char *) "self", NULL
22320 };
22321
22322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
22323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22324 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22325 {
22326 PyThreadState* __tstate = wxPyBeginAllowThreads();
22327 result = (int)(arg1)->GetWidth();
22328
22329 wxPyEndAllowThreads(__tstate);
22330 if (PyErr_Occurred()) SWIG_fail;
22331 }
36ed4f51
RD
22332 {
22333 resultobj = SWIG_From_int((int)(result));
22334 }
d55e5bfc
RD
22335 return resultobj;
22336 fail:
22337 return NULL;
22338}
22339
22340
c370783e 22341static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22342 PyObject *resultobj;
22343 wxListItem *arg1 = (wxListItem *) 0 ;
36ed4f51 22344 wxListColumnFormat result;
d55e5bfc
RD
22345 PyObject * obj0 = 0 ;
22346 char *kwnames[] = {
22347 (char *) "self", NULL
22348 };
22349
22350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
36ed4f51
RD
22351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22352 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22353 {
22354 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 22355 result = (wxListColumnFormat)(arg1)->GetAlign();
d55e5bfc
RD
22356
22357 wxPyEndAllowThreads(__tstate);
22358 if (PyErr_Occurred()) SWIG_fail;
22359 }
36ed4f51 22360 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22361 return resultobj;
22362 fail:
22363 return NULL;
22364}
22365
22366
c370783e 22367static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22368 PyObject *resultobj;
22369 wxListItem *arg1 = (wxListItem *) 0 ;
22370 wxListItemAttr *result;
22371 PyObject * obj0 = 0 ;
22372 char *kwnames[] = {
22373 (char *) "self", NULL
22374 };
22375
22376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
22377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22378 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22379 {
22380 PyThreadState* __tstate = wxPyBeginAllowThreads();
22381 result = (wxListItemAttr *)(arg1)->GetAttributes();
22382
22383 wxPyEndAllowThreads(__tstate);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 }
22386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22387 return resultobj;
22388 fail:
22389 return NULL;
22390}
22391
22392
c370783e 22393static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22394 PyObject *resultobj;
22395 wxListItem *arg1 = (wxListItem *) 0 ;
22396 bool result;
22397 PyObject * obj0 = 0 ;
22398 char *kwnames[] = {
22399 (char *) "self", NULL
22400 };
22401
22402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
22403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22404 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22405 {
22406 PyThreadState* __tstate = wxPyBeginAllowThreads();
22407 result = (bool)(arg1)->HasAttributes();
22408
22409 wxPyEndAllowThreads(__tstate);
22410 if (PyErr_Occurred()) SWIG_fail;
22411 }
22412 {
22413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22414 }
22415 return resultobj;
22416 fail:
22417 return NULL;
22418}
22419
22420
c370783e 22421static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22422 PyObject *resultobj;
22423 wxListItem *arg1 = (wxListItem *) 0 ;
22424 wxColour result;
22425 PyObject * obj0 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
22431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22432 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22433 {
22434 PyThreadState* __tstate = wxPyBeginAllowThreads();
22435 result = ((wxListItem const *)arg1)->GetTextColour();
22436
22437 wxPyEndAllowThreads(__tstate);
22438 if (PyErr_Occurred()) SWIG_fail;
22439 }
22440 {
22441 wxColour * resultptr;
36ed4f51 22442 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22444 }
22445 return resultobj;
22446 fail:
22447 return NULL;
22448}
22449
22450
c370783e 22451static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22452 PyObject *resultobj;
22453 wxListItem *arg1 = (wxListItem *) 0 ;
22454 wxColour result;
22455 PyObject * obj0 = 0 ;
22456 char *kwnames[] = {
22457 (char *) "self", NULL
22458 };
22459
22460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
22461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22462 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22463 {
22464 PyThreadState* __tstate = wxPyBeginAllowThreads();
22465 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22466
22467 wxPyEndAllowThreads(__tstate);
22468 if (PyErr_Occurred()) SWIG_fail;
22469 }
22470 {
22471 wxColour * resultptr;
36ed4f51 22472 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22474 }
22475 return resultobj;
22476 fail:
22477 return NULL;
22478}
22479
22480
c370783e 22481static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22482 PyObject *resultobj;
22483 wxListItem *arg1 = (wxListItem *) 0 ;
22484 wxFont result;
22485 PyObject * obj0 = 0 ;
22486 char *kwnames[] = {
22487 (char *) "self", NULL
22488 };
22489
22490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
22491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22492 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22493 {
22494 PyThreadState* __tstate = wxPyBeginAllowThreads();
22495 result = ((wxListItem const *)arg1)->GetFont();
22496
22497 wxPyEndAllowThreads(__tstate);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 }
22500 {
22501 wxFont * resultptr;
36ed4f51 22502 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
22503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22504 }
22505 return resultobj;
22506 fail:
22507 return NULL;
22508}
22509
22510
c370783e 22511static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22512 PyObject *resultobj;
22513 wxListItem *arg1 = (wxListItem *) 0 ;
22514 long arg2 ;
22515 PyObject * obj0 = 0 ;
22516 PyObject * obj1 = 0 ;
22517 char *kwnames[] = {
22518 (char *) "self",(char *) "m_mask", NULL
22519 };
22520
22521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) 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;
22524 {
22525 arg2 = (long)(SWIG_As_long(obj1));
22526 if (SWIG_arg_fail(2)) SWIG_fail;
22527 }
d55e5bfc
RD
22528 if (arg1) (arg1)->m_mask = arg2;
22529
22530 Py_INCREF(Py_None); resultobj = Py_None;
22531 return resultobj;
22532 fail:
22533 return NULL;
22534}
22535
22536
c370783e 22537static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22538 PyObject *resultobj;
22539 wxListItem *arg1 = (wxListItem *) 0 ;
22540 long result;
22541 PyObject * obj0 = 0 ;
22542 char *kwnames[] = {
22543 (char *) "self", NULL
22544 };
22545
22546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22548 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22549 result = (long) ((arg1)->m_mask);
22550
36ed4f51
RD
22551 {
22552 resultobj = SWIG_From_long((long)(result));
22553 }
d55e5bfc
RD
22554 return resultobj;
22555 fail:
22556 return NULL;
22557}
22558
22559
c370783e 22560static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22561 PyObject *resultobj;
22562 wxListItem *arg1 = (wxListItem *) 0 ;
22563 long arg2 ;
22564 PyObject * obj0 = 0 ;
22565 PyObject * obj1 = 0 ;
22566 char *kwnames[] = {
22567 (char *) "self",(char *) "m_itemId", NULL
22568 };
22569
22570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) 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;
22573 {
22574 arg2 = (long)(SWIG_As_long(obj1));
22575 if (SWIG_arg_fail(2)) SWIG_fail;
22576 }
d55e5bfc
RD
22577 if (arg1) (arg1)->m_itemId = arg2;
22578
22579 Py_INCREF(Py_None); resultobj = Py_None;
22580 return resultobj;
22581 fail:
22582 return NULL;
22583}
22584
22585
c370783e 22586static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22587 PyObject *resultobj;
22588 wxListItem *arg1 = (wxListItem *) 0 ;
22589 long result;
22590 PyObject * obj0 = 0 ;
22591 char *kwnames[] = {
22592 (char *) "self", NULL
22593 };
22594
22595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22597 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22598 result = (long) ((arg1)->m_itemId);
22599
36ed4f51
RD
22600 {
22601 resultobj = SWIG_From_long((long)(result));
22602 }
d55e5bfc
RD
22603 return resultobj;
22604 fail:
22605 return NULL;
22606}
22607
22608
c370783e 22609static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22610 PyObject *resultobj;
22611 wxListItem *arg1 = (wxListItem *) 0 ;
22612 int arg2 ;
22613 PyObject * obj0 = 0 ;
22614 PyObject * obj1 = 0 ;
22615 char *kwnames[] = {
22616 (char *) "self",(char *) "m_col", NULL
22617 };
22618
22619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) 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;
22622 {
22623 arg2 = (int)(SWIG_As_int(obj1));
22624 if (SWIG_arg_fail(2)) SWIG_fail;
22625 }
d55e5bfc
RD
22626 if (arg1) (arg1)->m_col = arg2;
22627
22628 Py_INCREF(Py_None); resultobj = Py_None;
22629 return resultobj;
22630 fail:
22631 return NULL;
22632}
22633
22634
c370783e 22635static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22636 PyObject *resultobj;
22637 wxListItem *arg1 = (wxListItem *) 0 ;
22638 int result;
22639 PyObject * obj0 = 0 ;
22640 char *kwnames[] = {
22641 (char *) "self", NULL
22642 };
22643
22644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22646 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22647 result = (int) ((arg1)->m_col);
22648
36ed4f51
RD
22649 {
22650 resultobj = SWIG_From_int((int)(result));
22651 }
d55e5bfc
RD
22652 return resultobj;
22653 fail:
22654 return NULL;
22655}
22656
22657
c370783e 22658static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22659 PyObject *resultobj;
22660 wxListItem *arg1 = (wxListItem *) 0 ;
22661 long arg2 ;
22662 PyObject * obj0 = 0 ;
22663 PyObject * obj1 = 0 ;
22664 char *kwnames[] = {
22665 (char *) "self",(char *) "m_state", NULL
22666 };
22667
22668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) 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;
22671 {
22672 arg2 = (long)(SWIG_As_long(obj1));
22673 if (SWIG_arg_fail(2)) SWIG_fail;
22674 }
d55e5bfc
RD
22675 if (arg1) (arg1)->m_state = arg2;
22676
22677 Py_INCREF(Py_None); resultobj = Py_None;
22678 return resultobj;
22679 fail:
22680 return NULL;
22681}
22682
22683
c370783e 22684static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22685 PyObject *resultobj;
22686 wxListItem *arg1 = (wxListItem *) 0 ;
22687 long result;
22688 PyObject * obj0 = 0 ;
22689 char *kwnames[] = {
22690 (char *) "self", NULL
22691 };
22692
22693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22695 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22696 result = (long) ((arg1)->m_state);
22697
36ed4f51
RD
22698 {
22699 resultobj = SWIG_From_long((long)(result));
22700 }
d55e5bfc
RD
22701 return resultobj;
22702 fail:
22703 return NULL;
22704}
22705
22706
c370783e 22707static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22708 PyObject *resultobj;
22709 wxListItem *arg1 = (wxListItem *) 0 ;
22710 long arg2 ;
22711 PyObject * obj0 = 0 ;
22712 PyObject * obj1 = 0 ;
22713 char *kwnames[] = {
22714 (char *) "self",(char *) "m_stateMask", NULL
22715 };
22716
22717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) 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;
22720 {
22721 arg2 = (long)(SWIG_As_long(obj1));
22722 if (SWIG_arg_fail(2)) SWIG_fail;
22723 }
d55e5bfc
RD
22724 if (arg1) (arg1)->m_stateMask = arg2;
22725
22726 Py_INCREF(Py_None); resultobj = Py_None;
22727 return resultobj;
22728 fail:
22729 return NULL;
22730}
22731
22732
c370783e 22733static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22734 PyObject *resultobj;
22735 wxListItem *arg1 = (wxListItem *) 0 ;
22736 long result;
22737 PyObject * obj0 = 0 ;
22738 char *kwnames[] = {
22739 (char *) "self", NULL
22740 };
22741
22742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) 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 result = (long) ((arg1)->m_stateMask);
22746
36ed4f51
RD
22747 {
22748 resultobj = SWIG_From_long((long)(result));
22749 }
d55e5bfc
RD
22750 return resultobj;
22751 fail:
22752 return NULL;
22753}
22754
22755
c370783e 22756static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22757 PyObject *resultobj;
22758 wxListItem *arg1 = (wxListItem *) 0 ;
22759 wxString *arg2 = (wxString *) 0 ;
b411df4a 22760 bool temp2 = false ;
d55e5bfc
RD
22761 PyObject * obj0 = 0 ;
22762 PyObject * obj1 = 0 ;
22763 char *kwnames[] = {
22764 (char *) "self",(char *) "m_text", NULL
22765 };
22766
22767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22769 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22770 {
22771 arg2 = wxString_in_helper(obj1);
22772 if (arg2 == NULL) SWIG_fail;
b411df4a 22773 temp2 = true;
d55e5bfc
RD
22774 }
22775 if (arg1) (arg1)->m_text = *arg2;
22776
22777 Py_INCREF(Py_None); resultobj = Py_None;
22778 {
22779 if (temp2)
22780 delete arg2;
22781 }
22782 return resultobj;
22783 fail:
22784 {
22785 if (temp2)
22786 delete arg2;
22787 }
22788 return NULL;
22789}
22790
22791
c370783e 22792static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22793 PyObject *resultobj;
22794 wxListItem *arg1 = (wxListItem *) 0 ;
22795 wxString *result;
22796 PyObject * obj0 = 0 ;
22797 char *kwnames[] = {
22798 (char *) "self", NULL
22799 };
22800
22801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22803 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22804 result = (wxString *)& ((arg1)->m_text);
22805
22806 {
22807#if wxUSE_UNICODE
22808 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22809#else
22810 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22811#endif
22812 }
22813 return resultobj;
22814 fail:
22815 return NULL;
22816}
22817
22818
c370783e 22819static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22820 PyObject *resultobj;
22821 wxListItem *arg1 = (wxListItem *) 0 ;
22822 int arg2 ;
22823 PyObject * obj0 = 0 ;
22824 PyObject * obj1 = 0 ;
22825 char *kwnames[] = {
22826 (char *) "self",(char *) "m_image", NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) 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;
22832 {
22833 arg2 = (int)(SWIG_As_int(obj1));
22834 if (SWIG_arg_fail(2)) SWIG_fail;
22835 }
d55e5bfc
RD
22836 if (arg1) (arg1)->m_image = arg2;
22837
22838 Py_INCREF(Py_None); resultobj = Py_None;
22839 return resultobj;
22840 fail:
22841 return NULL;
22842}
22843
22844
c370783e 22845static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22846 PyObject *resultobj;
22847 wxListItem *arg1 = (wxListItem *) 0 ;
22848 int result;
22849 PyObject * obj0 = 0 ;
22850 char *kwnames[] = {
22851 (char *) "self", NULL
22852 };
22853
22854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22857 result = (int) ((arg1)->m_image);
22858
36ed4f51
RD
22859 {
22860 resultobj = SWIG_From_int((int)(result));
22861 }
d55e5bfc
RD
22862 return resultobj;
22863 fail:
22864 return NULL;
22865}
22866
22867
c370783e 22868static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22869 PyObject *resultobj;
22870 wxListItem *arg1 = (wxListItem *) 0 ;
22871 long arg2 ;
22872 PyObject * obj0 = 0 ;
22873 PyObject * obj1 = 0 ;
22874 char *kwnames[] = {
22875 (char *) "self",(char *) "m_data", NULL
22876 };
22877
22878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) 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;
22881 {
22882 arg2 = (long)(SWIG_As_long(obj1));
22883 if (SWIG_arg_fail(2)) SWIG_fail;
22884 }
d55e5bfc
RD
22885 if (arg1) (arg1)->m_data = arg2;
22886
22887 Py_INCREF(Py_None); resultobj = Py_None;
22888 return resultobj;
22889 fail:
22890 return NULL;
22891}
22892
22893
c370783e 22894static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22895 PyObject *resultobj;
22896 wxListItem *arg1 = (wxListItem *) 0 ;
22897 long result;
22898 PyObject * obj0 = 0 ;
22899 char *kwnames[] = {
22900 (char *) "self", NULL
22901 };
22902
22903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22905 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22906 result = (long) ((arg1)->m_data);
22907
36ed4f51
RD
22908 {
22909 resultobj = SWIG_From_long((long)(result));
22910 }
d55e5bfc
RD
22911 return resultobj;
22912 fail:
22913 return NULL;
22914}
22915
22916
c370783e 22917static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22918 PyObject *resultobj;
22919 wxListItem *arg1 = (wxListItem *) 0 ;
22920 int arg2 ;
22921 PyObject * obj0 = 0 ;
22922 PyObject * obj1 = 0 ;
22923 char *kwnames[] = {
22924 (char *) "self",(char *) "m_format", NULL
22925 };
22926
22927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) 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;
22930 {
22931 arg2 = (int)(SWIG_As_int(obj1));
22932 if (SWIG_arg_fail(2)) SWIG_fail;
22933 }
d55e5bfc
RD
22934 if (arg1) (arg1)->m_format = arg2;
22935
22936 Py_INCREF(Py_None); resultobj = Py_None;
22937 return resultobj;
22938 fail:
22939 return NULL;
22940}
22941
22942
c370783e 22943static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22944 PyObject *resultobj;
22945 wxListItem *arg1 = (wxListItem *) 0 ;
22946 int result;
22947 PyObject * obj0 = 0 ;
22948 char *kwnames[] = {
22949 (char *) "self", NULL
22950 };
22951
22952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22954 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22955 result = (int) ((arg1)->m_format);
22956
36ed4f51
RD
22957 {
22958 resultobj = SWIG_From_int((int)(result));
22959 }
d55e5bfc
RD
22960 return resultobj;
22961 fail:
22962 return NULL;
22963}
22964
22965
c370783e 22966static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22967 PyObject *resultobj;
22968 wxListItem *arg1 = (wxListItem *) 0 ;
22969 int arg2 ;
22970 PyObject * obj0 = 0 ;
22971 PyObject * obj1 = 0 ;
22972 char *kwnames[] = {
22973 (char *) "self",(char *) "m_width", NULL
22974 };
22975
22976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) 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;
22979 {
22980 arg2 = (int)(SWIG_As_int(obj1));
22981 if (SWIG_arg_fail(2)) SWIG_fail;
22982 }
d55e5bfc
RD
22983 if (arg1) (arg1)->m_width = arg2;
22984
22985 Py_INCREF(Py_None); resultobj = Py_None;
22986 return resultobj;
22987 fail:
22988 return NULL;
22989}
22990
22991
c370783e 22992static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22993 PyObject *resultobj;
22994 wxListItem *arg1 = (wxListItem *) 0 ;
22995 int result;
22996 PyObject * obj0 = 0 ;
22997 char *kwnames[] = {
22998 (char *) "self", NULL
22999 };
23000
23001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23003 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23004 result = (int) ((arg1)->m_width);
23005
36ed4f51
RD
23006 {
23007 resultobj = SWIG_From_int((int)(result));
23008 }
d55e5bfc
RD
23009 return resultobj;
23010 fail:
23011 return NULL;
23012}
23013
23014
c370783e 23015static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23016 PyObject *obj;
23017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23018 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23019 Py_INCREF(obj);
23020 return Py_BuildValue((char *)"");
23021}
c370783e 23022static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23023 PyObject *resultobj;
23024 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23025 int arg2 = (int) 0 ;
23026 wxListEvent *result;
23027 PyObject * obj0 = 0 ;
23028 PyObject * obj1 = 0 ;
23029 char *kwnames[] = {
23030 (char *) "commandType",(char *) "id", NULL
23031 };
23032
23033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23034 if (obj0) {
36ed4f51
RD
23035 {
23036 arg1 = (wxEventType)(SWIG_As_int(obj0));
23037 if (SWIG_arg_fail(1)) SWIG_fail;
23038 }
d55e5bfc
RD
23039 }
23040 if (obj1) {
36ed4f51
RD
23041 {
23042 arg2 = (int)(SWIG_As_int(obj1));
23043 if (SWIG_arg_fail(2)) SWIG_fail;
23044 }
d55e5bfc
RD
23045 }
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23049
23050 wxPyEndAllowThreads(__tstate);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 }
23053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23054 return resultobj;
23055 fail:
23056 return NULL;
23057}
23058
23059
c370783e 23060static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23061 PyObject *resultobj;
23062 wxListEvent *arg1 = (wxListEvent *) 0 ;
23063 int arg2 ;
23064 PyObject * obj0 = 0 ;
23065 PyObject * obj1 = 0 ;
23066 char *kwnames[] = {
23067 (char *) "self",(char *) "m_code", NULL
23068 };
23069
23070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) 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;
23073 {
23074 arg2 = (int)(SWIG_As_int(obj1));
23075 if (SWIG_arg_fail(2)) SWIG_fail;
23076 }
d55e5bfc
RD
23077 if (arg1) (arg1)->m_code = arg2;
23078
23079 Py_INCREF(Py_None); resultobj = Py_None;
23080 return resultobj;
23081 fail:
23082 return NULL;
23083}
23084
23085
c370783e 23086static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23087 PyObject *resultobj;
23088 wxListEvent *arg1 = (wxListEvent *) 0 ;
23089 int result;
23090 PyObject * obj0 = 0 ;
23091 char *kwnames[] = {
23092 (char *) "self", NULL
23093 };
23094
23095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23097 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23098 result = (int) ((arg1)->m_code);
23099
36ed4f51
RD
23100 {
23101 resultobj = SWIG_From_int((int)(result));
23102 }
d55e5bfc
RD
23103 return resultobj;
23104 fail:
23105 return NULL;
23106}
23107
23108
c370783e 23109static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23110 PyObject *resultobj;
23111 wxListEvent *arg1 = (wxListEvent *) 0 ;
23112 long arg2 ;
23113 PyObject * obj0 = 0 ;
23114 PyObject * obj1 = 0 ;
23115 char *kwnames[] = {
23116 (char *) "self",(char *) "m_oldItemIndex", NULL
23117 };
23118
23119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) 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;
23122 {
23123 arg2 = (long)(SWIG_As_long(obj1));
23124 if (SWIG_arg_fail(2)) SWIG_fail;
23125 }
d55e5bfc
RD
23126 if (arg1) (arg1)->m_oldItemIndex = arg2;
23127
23128 Py_INCREF(Py_None); resultobj = Py_None;
23129 return resultobj;
23130 fail:
23131 return NULL;
23132}
23133
23134
c370783e 23135static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23136 PyObject *resultobj;
23137 wxListEvent *arg1 = (wxListEvent *) 0 ;
23138 long result;
23139 PyObject * obj0 = 0 ;
23140 char *kwnames[] = {
23141 (char *) "self", NULL
23142 };
23143
23144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23146 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23147 result = (long) ((arg1)->m_oldItemIndex);
23148
36ed4f51
RD
23149 {
23150 resultobj = SWIG_From_long((long)(result));
23151 }
d55e5bfc
RD
23152 return resultobj;
23153 fail:
23154 return NULL;
23155}
23156
23157
c370783e 23158static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23159 PyObject *resultobj;
23160 wxListEvent *arg1 = (wxListEvent *) 0 ;
23161 long arg2 ;
23162 PyObject * obj0 = 0 ;
23163 PyObject * obj1 = 0 ;
23164 char *kwnames[] = {
23165 (char *) "self",(char *) "m_itemIndex", NULL
23166 };
23167
23168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) 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;
23171 {
23172 arg2 = (long)(SWIG_As_long(obj1));
23173 if (SWIG_arg_fail(2)) SWIG_fail;
23174 }
d55e5bfc
RD
23175 if (arg1) (arg1)->m_itemIndex = arg2;
23176
23177 Py_INCREF(Py_None); resultobj = Py_None;
23178 return resultobj;
23179 fail:
23180 return NULL;
23181}
23182
23183
c370783e 23184static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23185 PyObject *resultobj;
23186 wxListEvent *arg1 = (wxListEvent *) 0 ;
23187 long result;
23188 PyObject * obj0 = 0 ;
23189 char *kwnames[] = {
23190 (char *) "self", NULL
23191 };
23192
23193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23195 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23196 result = (long) ((arg1)->m_itemIndex);
23197
36ed4f51
RD
23198 {
23199 resultobj = SWIG_From_long((long)(result));
23200 }
d55e5bfc
RD
23201 return resultobj;
23202 fail:
23203 return NULL;
23204}
23205
23206
c370783e 23207static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23208 PyObject *resultobj;
23209 wxListEvent *arg1 = (wxListEvent *) 0 ;
23210 int arg2 ;
23211 PyObject * obj0 = 0 ;
23212 PyObject * obj1 = 0 ;
23213 char *kwnames[] = {
23214 (char *) "self",(char *) "m_col", NULL
23215 };
23216
23217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) 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;
23220 {
23221 arg2 = (int)(SWIG_As_int(obj1));
23222 if (SWIG_arg_fail(2)) SWIG_fail;
23223 }
d55e5bfc
RD
23224 if (arg1) (arg1)->m_col = arg2;
23225
23226 Py_INCREF(Py_None); resultobj = Py_None;
23227 return resultobj;
23228 fail:
23229 return NULL;
23230}
23231
23232
c370783e 23233static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23234 PyObject *resultobj;
23235 wxListEvent *arg1 = (wxListEvent *) 0 ;
23236 int result;
23237 PyObject * obj0 = 0 ;
23238 char *kwnames[] = {
23239 (char *) "self", NULL
23240 };
23241
23242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23245 result = (int) ((arg1)->m_col);
23246
36ed4f51
RD
23247 {
23248 resultobj = SWIG_From_int((int)(result));
23249 }
d55e5bfc
RD
23250 return resultobj;
23251 fail:
23252 return NULL;
23253}
23254
23255
c370783e 23256static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23257 PyObject *resultobj;
23258 wxListEvent *arg1 = (wxListEvent *) 0 ;
23259 wxPoint *arg2 = (wxPoint *) 0 ;
23260 PyObject * obj0 = 0 ;
23261 PyObject * obj1 = 0 ;
23262 char *kwnames[] = {
23263 (char *) "self",(char *) "m_pointDrag", NULL
23264 };
23265
23266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23268 if (SWIG_arg_fail(1)) SWIG_fail;
23269 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23270 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23271 if (arg1) (arg1)->m_pointDrag = *arg2;
23272
23273 Py_INCREF(Py_None); resultobj = Py_None;
23274 return resultobj;
23275 fail:
23276 return NULL;
23277}
23278
23279
c370783e 23280static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23281 PyObject *resultobj;
23282 wxListEvent *arg1 = (wxListEvent *) 0 ;
23283 wxPoint *result;
23284 PyObject * obj0 = 0 ;
23285 char *kwnames[] = {
23286 (char *) "self", NULL
23287 };
23288
23289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23291 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23292 result = (wxPoint *)& ((arg1)->m_pointDrag);
23293
23294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23295 return resultobj;
23296 fail:
23297 return NULL;
23298}
23299
23300
c370783e 23301static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23302 PyObject *resultobj;
23303 wxListEvent *arg1 = (wxListEvent *) 0 ;
23304 wxListItem *result;
23305 PyObject * obj0 = 0 ;
23306 char *kwnames[] = {
23307 (char *) "self", NULL
23308 };
23309
23310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23312 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23313 result = (wxListItem *)& ((arg1)->m_item);
23314
23315 {
412d302d 23316 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23317 }
23318 return resultobj;
23319 fail:
23320 return NULL;
23321}
23322
23323
c370783e 23324static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23325 PyObject *resultobj;
23326 wxListEvent *arg1 = (wxListEvent *) 0 ;
23327 int result;
23328 PyObject * obj0 = 0 ;
23329 char *kwnames[] = {
23330 (char *) "self", NULL
23331 };
23332
23333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
23334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23335 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23336 {
23337 PyThreadState* __tstate = wxPyBeginAllowThreads();
23338 result = (int)(arg1)->GetKeyCode();
23339
23340 wxPyEndAllowThreads(__tstate);
23341 if (PyErr_Occurred()) SWIG_fail;
23342 }
36ed4f51
RD
23343 {
23344 resultobj = SWIG_From_int((int)(result));
23345 }
d55e5bfc
RD
23346 return resultobj;
23347 fail:
23348 return NULL;
23349}
23350
23351
c370783e 23352static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23353 PyObject *resultobj;
23354 wxListEvent *arg1 = (wxListEvent *) 0 ;
23355 long result;
23356 PyObject * obj0 = 0 ;
23357 char *kwnames[] = {
23358 (char *) "self", NULL
23359 };
23360
23361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
23362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23364 {
23365 PyThreadState* __tstate = wxPyBeginAllowThreads();
23366 result = (long)(arg1)->GetIndex();
23367
23368 wxPyEndAllowThreads(__tstate);
23369 if (PyErr_Occurred()) SWIG_fail;
23370 }
36ed4f51
RD
23371 {
23372 resultobj = SWIG_From_long((long)(result));
23373 }
d55e5bfc
RD
23374 return resultobj;
23375 fail:
23376 return NULL;
23377}
23378
23379
c370783e 23380static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23381 PyObject *resultobj;
23382 wxListEvent *arg1 = (wxListEvent *) 0 ;
23383 int result;
23384 PyObject * obj0 = 0 ;
23385 char *kwnames[] = {
23386 (char *) "self", NULL
23387 };
23388
23389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
36ed4f51
RD
23390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23392 {
23393 PyThreadState* __tstate = wxPyBeginAllowThreads();
23394 result = (int)(arg1)->GetColumn();
23395
23396 wxPyEndAllowThreads(__tstate);
23397 if (PyErr_Occurred()) SWIG_fail;
23398 }
36ed4f51
RD
23399 {
23400 resultobj = SWIG_From_int((int)(result));
23401 }
d55e5bfc
RD
23402 return resultobj;
23403 fail:
23404 return NULL;
23405}
23406
23407
c370783e 23408static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23409 PyObject *resultobj;
23410 wxListEvent *arg1 = (wxListEvent *) 0 ;
23411 wxPoint result;
23412 PyObject * obj0 = 0 ;
23413 char *kwnames[] = {
23414 (char *) "self", NULL
23415 };
23416
23417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
23418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23420 {
23421 PyThreadState* __tstate = wxPyBeginAllowThreads();
23422 result = (arg1)->GetPoint();
23423
23424 wxPyEndAllowThreads(__tstate);
23425 if (PyErr_Occurred()) SWIG_fail;
23426 }
23427 {
23428 wxPoint * resultptr;
36ed4f51 23429 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
23430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23431 }
23432 return resultobj;
23433 fail:
23434 return NULL;
23435}
23436
23437
c370783e 23438static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23439 PyObject *resultobj;
23440 wxListEvent *arg1 = (wxListEvent *) 0 ;
23441 wxString *result;
23442 PyObject * obj0 = 0 ;
23443 char *kwnames[] = {
23444 (char *) "self", NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
23448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23449 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23450 {
23451 PyThreadState* __tstate = wxPyBeginAllowThreads();
23452 {
23453 wxString const &_result_ref = (arg1)->GetLabel();
23454 result = (wxString *) &_result_ref;
23455 }
23456
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 {
23461#if wxUSE_UNICODE
23462 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23463#else
23464 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23465#endif
23466 }
23467 return resultobj;
23468 fail:
23469 return NULL;
23470}
23471
23472
c370783e 23473static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23474 PyObject *resultobj;
23475 wxListEvent *arg1 = (wxListEvent *) 0 ;
23476 wxString *result;
23477 PyObject * obj0 = 0 ;
23478 char *kwnames[] = {
23479 (char *) "self", NULL
23480 };
23481
23482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
23483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23484 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23485 {
23486 PyThreadState* __tstate = wxPyBeginAllowThreads();
23487 {
23488 wxString const &_result_ref = (arg1)->GetText();
23489 result = (wxString *) &_result_ref;
23490 }
23491
23492 wxPyEndAllowThreads(__tstate);
23493 if (PyErr_Occurred()) SWIG_fail;
23494 }
23495 {
23496#if wxUSE_UNICODE
23497 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23498#else
23499 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23500#endif
23501 }
23502 return resultobj;
23503 fail:
23504 return NULL;
23505}
23506
23507
c370783e 23508static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23509 PyObject *resultobj;
23510 wxListEvent *arg1 = (wxListEvent *) 0 ;
23511 int result;
23512 PyObject * obj0 = 0 ;
23513 char *kwnames[] = {
23514 (char *) "self", NULL
23515 };
23516
23517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
23518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23520 {
23521 PyThreadState* __tstate = wxPyBeginAllowThreads();
23522 result = (int)(arg1)->GetImage();
23523
23524 wxPyEndAllowThreads(__tstate);
23525 if (PyErr_Occurred()) SWIG_fail;
23526 }
36ed4f51
RD
23527 {
23528 resultobj = SWIG_From_int((int)(result));
23529 }
d55e5bfc
RD
23530 return resultobj;
23531 fail:
23532 return NULL;
23533}
23534
23535
c370783e 23536static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23537 PyObject *resultobj;
23538 wxListEvent *arg1 = (wxListEvent *) 0 ;
23539 long result;
23540 PyObject * obj0 = 0 ;
23541 char *kwnames[] = {
23542 (char *) "self", NULL
23543 };
23544
23545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23547 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23548 {
23549 PyThreadState* __tstate = wxPyBeginAllowThreads();
23550 result = (long)(arg1)->GetData();
23551
23552 wxPyEndAllowThreads(__tstate);
23553 if (PyErr_Occurred()) SWIG_fail;
23554 }
36ed4f51
RD
23555 {
23556 resultobj = SWIG_From_long((long)(result));
23557 }
d55e5bfc
RD
23558 return resultobj;
23559 fail:
23560 return NULL;
23561}
23562
23563
c370783e 23564static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23565 PyObject *resultobj;
23566 wxListEvent *arg1 = (wxListEvent *) 0 ;
23567 long result;
23568 PyObject * obj0 = 0 ;
23569 char *kwnames[] = {
23570 (char *) "self", NULL
23571 };
23572
23573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
36ed4f51
RD
23574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23575 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23576 {
23577 PyThreadState* __tstate = wxPyBeginAllowThreads();
23578 result = (long)(arg1)->GetMask();
23579
23580 wxPyEndAllowThreads(__tstate);
23581 if (PyErr_Occurred()) SWIG_fail;
23582 }
36ed4f51
RD
23583 {
23584 resultobj = SWIG_From_long((long)(result));
23585 }
d55e5bfc
RD
23586 return resultobj;
23587 fail:
23588 return NULL;
23589}
23590
23591
c370783e 23592static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23593 PyObject *resultobj;
23594 wxListEvent *arg1 = (wxListEvent *) 0 ;
23595 wxListItem *result;
23596 PyObject * obj0 = 0 ;
23597 char *kwnames[] = {
23598 (char *) "self", NULL
23599 };
23600
23601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
23602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23603 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23604 {
23605 PyThreadState* __tstate = wxPyBeginAllowThreads();
23606 {
23607 wxListItem const &_result_ref = (arg1)->GetItem();
23608 result = (wxListItem *) &_result_ref;
23609 }
23610
23611 wxPyEndAllowThreads(__tstate);
23612 if (PyErr_Occurred()) SWIG_fail;
23613 }
23614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23615 return resultobj;
23616 fail:
23617 return NULL;
23618}
23619
23620
c370783e 23621static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23622 PyObject *resultobj;
23623 wxListEvent *arg1 = (wxListEvent *) 0 ;
23624 long result;
23625 PyObject * obj0 = 0 ;
23626 char *kwnames[] = {
23627 (char *) "self", NULL
23628 };
23629
23630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
36ed4f51
RD
23631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23632 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 result = (long)(arg1)->GetCacheFrom();
23636
23637 wxPyEndAllowThreads(__tstate);
23638 if (PyErr_Occurred()) SWIG_fail;
23639 }
36ed4f51
RD
23640 {
23641 resultobj = SWIG_From_long((long)(result));
23642 }
d55e5bfc
RD
23643 return resultobj;
23644 fail:
23645 return NULL;
23646}
23647
23648
c370783e 23649static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23650 PyObject *resultobj;
23651 wxListEvent *arg1 = (wxListEvent *) 0 ;
23652 long result;
23653 PyObject * obj0 = 0 ;
23654 char *kwnames[] = {
23655 (char *) "self", NULL
23656 };
23657
23658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
36ed4f51
RD
23659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23660 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23661 {
23662 PyThreadState* __tstate = wxPyBeginAllowThreads();
23663 result = (long)(arg1)->GetCacheTo();
23664
23665 wxPyEndAllowThreads(__tstate);
23666 if (PyErr_Occurred()) SWIG_fail;
23667 }
36ed4f51
RD
23668 {
23669 resultobj = SWIG_From_long((long)(result));
23670 }
d55e5bfc
RD
23671 return resultobj;
23672 fail:
23673 return NULL;
23674}
23675
23676
c370783e 23677static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23678 PyObject *resultobj;
23679 wxListEvent *arg1 = (wxListEvent *) 0 ;
23680 bool result;
23681 PyObject * obj0 = 0 ;
23682 char *kwnames[] = {
23683 (char *) "self", NULL
23684 };
23685
23686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
36ed4f51
RD
23687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23688 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23689 {
23690 PyThreadState* __tstate = wxPyBeginAllowThreads();
23691 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23692
23693 wxPyEndAllowThreads(__tstate);
23694 if (PyErr_Occurred()) SWIG_fail;
23695 }
23696 {
23697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23698 }
23699 return resultobj;
23700 fail:
23701 return NULL;
23702}
23703
23704
c370783e 23705static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23706 PyObject *resultobj;
23707 wxListEvent *arg1 = (wxListEvent *) 0 ;
23708 bool arg2 ;
23709 PyObject * obj0 = 0 ;
23710 PyObject * obj1 = 0 ;
23711 char *kwnames[] = {
23712 (char *) "self",(char *) "editCancelled", NULL
23713 };
23714
23715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23717 if (SWIG_arg_fail(1)) SWIG_fail;
23718 {
23719 arg2 = (bool)(SWIG_As_bool(obj1));
23720 if (SWIG_arg_fail(2)) SWIG_fail;
23721 }
d55e5bfc
RD
23722 {
23723 PyThreadState* __tstate = wxPyBeginAllowThreads();
23724 (arg1)->SetEditCanceled(arg2);
23725
23726 wxPyEndAllowThreads(__tstate);
23727 if (PyErr_Occurred()) SWIG_fail;
23728 }
23729 Py_INCREF(Py_None); resultobj = Py_None;
23730 return resultobj;
23731 fail:
23732 return NULL;
23733}
23734
23735
c370783e 23736static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23737 PyObject *obj;
23738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23739 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23740 Py_INCREF(obj);
23741 return Py_BuildValue((char *)"");
23742}
c370783e 23743static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23744 PyObject *resultobj;
23745 wxWindow *arg1 = (wxWindow *) 0 ;
23746 int arg2 = (int) -1 ;
23747 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23748 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23749 wxSize const &arg4_defvalue = wxDefaultSize ;
23750 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23751 long arg5 = (long) wxLC_ICON ;
23752 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23753 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23754 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23755 wxString *arg7 = (wxString *) &arg7_defvalue ;
23756 wxPyListCtrl *result;
23757 wxPoint temp3 ;
23758 wxSize temp4 ;
b411df4a 23759 bool temp7 = false ;
d55e5bfc
RD
23760 PyObject * obj0 = 0 ;
23761 PyObject * obj1 = 0 ;
23762 PyObject * obj2 = 0 ;
23763 PyObject * obj3 = 0 ;
23764 PyObject * obj4 = 0 ;
23765 PyObject * obj5 = 0 ;
23766 PyObject * obj6 = 0 ;
23767 char *kwnames[] = {
23768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23769 };
23770
23771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
23772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23773 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23774 if (obj1) {
36ed4f51
RD
23775 {
23776 arg2 = (int)(SWIG_As_int(obj1));
23777 if (SWIG_arg_fail(2)) SWIG_fail;
23778 }
d55e5bfc
RD
23779 }
23780 if (obj2) {
23781 {
23782 arg3 = &temp3;
23783 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23784 }
23785 }
23786 if (obj3) {
23787 {
23788 arg4 = &temp4;
23789 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23790 }
23791 }
23792 if (obj4) {
36ed4f51
RD
23793 {
23794 arg5 = (long)(SWIG_As_long(obj4));
23795 if (SWIG_arg_fail(5)) SWIG_fail;
23796 }
d55e5bfc
RD
23797 }
23798 if (obj5) {
36ed4f51
RD
23799 {
23800 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23801 if (SWIG_arg_fail(6)) SWIG_fail;
23802 if (arg6 == NULL) {
23803 SWIG_null_ref("wxValidator");
23804 }
23805 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
23806 }
23807 }
23808 if (obj6) {
23809 {
23810 arg7 = wxString_in_helper(obj6);
23811 if (arg7 == NULL) SWIG_fail;
b411df4a 23812 temp7 = true;
d55e5bfc
RD
23813 }
23814 }
23815 {
0439c23b 23816 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23817 PyThreadState* __tstate = wxPyBeginAllowThreads();
23818 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23819
23820 wxPyEndAllowThreads(__tstate);
110da5b0 23821 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23822 }
23823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23824 {
23825 if (temp7)
23826 delete arg7;
23827 }
23828 return resultobj;
23829 fail:
23830 {
23831 if (temp7)
23832 delete arg7;
23833 }
23834 return NULL;
23835}
23836
23837
c370783e 23838static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23839 PyObject *resultobj;
23840 wxPyListCtrl *result;
23841 char *kwnames[] = {
23842 NULL
23843 };
23844
23845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23846 {
0439c23b 23847 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23848 PyThreadState* __tstate = wxPyBeginAllowThreads();
23849 result = (wxPyListCtrl *)new wxPyListCtrl();
23850
23851 wxPyEndAllowThreads(__tstate);
110da5b0 23852 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23853 }
23854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23855 return resultobj;
23856 fail:
23857 return NULL;
23858}
23859
23860
c370783e 23861static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23862 PyObject *resultobj;
23863 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23864 wxWindow *arg2 = (wxWindow *) 0 ;
23865 int arg3 = (int) -1 ;
23866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23868 wxSize const &arg5_defvalue = wxDefaultSize ;
23869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23870 long arg6 = (long) wxLC_ICON ;
23871 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23872 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23873 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23874 wxString *arg8 = (wxString *) &arg8_defvalue ;
23875 bool result;
23876 wxPoint temp4 ;
23877 wxSize temp5 ;
b411df4a 23878 bool temp8 = false ;
d55e5bfc
RD
23879 PyObject * obj0 = 0 ;
23880 PyObject * obj1 = 0 ;
23881 PyObject * obj2 = 0 ;
23882 PyObject * obj3 = 0 ;
23883 PyObject * obj4 = 0 ;
23884 PyObject * obj5 = 0 ;
23885 PyObject * obj6 = 0 ;
23886 PyObject * obj7 = 0 ;
23887 char *kwnames[] = {
23888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23889 };
23890
23891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
23892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23893 if (SWIG_arg_fail(1)) SWIG_fail;
23894 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23895 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23896 if (obj2) {
36ed4f51
RD
23897 {
23898 arg3 = (int)(SWIG_As_int(obj2));
23899 if (SWIG_arg_fail(3)) SWIG_fail;
23900 }
d55e5bfc
RD
23901 }
23902 if (obj3) {
23903 {
23904 arg4 = &temp4;
23905 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23906 }
23907 }
23908 if (obj4) {
23909 {
23910 arg5 = &temp5;
23911 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23912 }
23913 }
23914 if (obj5) {
36ed4f51
RD
23915 {
23916 arg6 = (long)(SWIG_As_long(obj5));
23917 if (SWIG_arg_fail(6)) SWIG_fail;
23918 }
d55e5bfc
RD
23919 }
23920 if (obj6) {
36ed4f51
RD
23921 {
23922 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23923 if (SWIG_arg_fail(7)) SWIG_fail;
23924 if (arg7 == NULL) {
23925 SWIG_null_ref("wxValidator");
23926 }
23927 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
23928 }
23929 }
23930 if (obj7) {
23931 {
23932 arg8 = wxString_in_helper(obj7);
23933 if (arg8 == NULL) SWIG_fail;
b411df4a 23934 temp8 = true;
d55e5bfc
RD
23935 }
23936 }
23937 {
23938 PyThreadState* __tstate = wxPyBeginAllowThreads();
23939 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23940
23941 wxPyEndAllowThreads(__tstate);
23942 if (PyErr_Occurred()) SWIG_fail;
23943 }
23944 {
23945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23946 }
23947 {
23948 if (temp8)
23949 delete arg8;
23950 }
23951 return resultobj;
23952 fail:
23953 {
23954 if (temp8)
23955 delete arg8;
23956 }
23957 return NULL;
23958}
23959
23960
c370783e 23961static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23962 PyObject *resultobj;
23963 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23964 PyObject *arg2 = (PyObject *) 0 ;
23965 PyObject *arg3 = (PyObject *) 0 ;
23966 PyObject * obj0 = 0 ;
23967 PyObject * obj1 = 0 ;
23968 PyObject * obj2 = 0 ;
23969 char *kwnames[] = {
23970 (char *) "self",(char *) "self",(char *) "_class", NULL
23971 };
23972
23973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23975 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23976 arg2 = obj1;
23977 arg3 = obj2;
23978 {
23979 PyThreadState* __tstate = wxPyBeginAllowThreads();
23980 (arg1)->_setCallbackInfo(arg2,arg3);
23981
23982 wxPyEndAllowThreads(__tstate);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 }
23985 Py_INCREF(Py_None); resultobj = Py_None;
23986 return resultobj;
23987 fail:
23988 return NULL;
23989}
23990
23991
c370783e 23992static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23993 PyObject *resultobj;
23994 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23995 wxColour *arg2 = 0 ;
23996 bool result;
23997 wxColour temp2 ;
23998 PyObject * obj0 = 0 ;
23999 PyObject * obj1 = 0 ;
24000 char *kwnames[] = {
24001 (char *) "self",(char *) "col", NULL
24002 };
24003
24004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24006 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24007 {
24008 arg2 = &temp2;
24009 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24010 }
24011 {
24012 PyThreadState* __tstate = wxPyBeginAllowThreads();
24013 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24014
24015 wxPyEndAllowThreads(__tstate);
24016 if (PyErr_Occurred()) SWIG_fail;
24017 }
24018 {
24019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24020 }
24021 return resultobj;
24022 fail:
24023 return NULL;
24024}
24025
24026
c370783e 24027static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24028 PyObject *resultobj;
24029 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24030 wxColour *arg2 = 0 ;
24031 bool result;
24032 wxColour temp2 ;
24033 PyObject * obj0 = 0 ;
24034 PyObject * obj1 = 0 ;
24035 char *kwnames[] = {
24036 (char *) "self",(char *) "col", NULL
24037 };
24038
24039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24041 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24042 {
24043 arg2 = &temp2;
24044 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24045 }
24046 {
24047 PyThreadState* __tstate = wxPyBeginAllowThreads();
24048 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24049
24050 wxPyEndAllowThreads(__tstate);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
24053 {
24054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24055 }
24056 return resultobj;
24057 fail:
24058 return NULL;
24059}
24060
24061
c370783e 24062static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24063 PyObject *resultobj;
24064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24065 int arg2 ;
24066 wxListItem *result;
24067 PyObject * obj0 = 0 ;
24068 PyObject * obj1 = 0 ;
24069 char *kwnames[] = {
24070 (char *) "self",(char *) "col", NULL
24071 };
24072
24073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24075 if (SWIG_arg_fail(1)) SWIG_fail;
24076 {
24077 arg2 = (int)(SWIG_As_int(obj1));
24078 if (SWIG_arg_fail(2)) SWIG_fail;
24079 }
d55e5bfc
RD
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24083
24084 wxPyEndAllowThreads(__tstate);
24085 if (PyErr_Occurred()) SWIG_fail;
24086 }
24087 {
412d302d 24088 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24089 }
24090 return resultobj;
24091 fail:
24092 return NULL;
24093}
24094
24095
c370783e 24096static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24097 PyObject *resultobj;
24098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24099 int arg2 ;
24100 wxListItem *arg3 = 0 ;
24101 bool result;
24102 PyObject * obj0 = 0 ;
24103 PyObject * obj1 = 0 ;
24104 PyObject * obj2 = 0 ;
24105 char *kwnames[] = {
24106 (char *) "self",(char *) "col",(char *) "item", NULL
24107 };
24108
24109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24111 if (SWIG_arg_fail(1)) SWIG_fail;
24112 {
24113 arg2 = (int)(SWIG_As_int(obj1));
24114 if (SWIG_arg_fail(2)) SWIG_fail;
24115 }
24116 {
24117 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24118 if (SWIG_arg_fail(3)) SWIG_fail;
24119 if (arg3 == NULL) {
24120 SWIG_null_ref("wxListItem");
24121 }
24122 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24123 }
24124 {
24125 PyThreadState* __tstate = wxPyBeginAllowThreads();
24126 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24127
24128 wxPyEndAllowThreads(__tstate);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 }
24131 {
24132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24133 }
24134 return resultobj;
24135 fail:
24136 return NULL;
24137}
24138
24139
c370783e 24140static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24141 PyObject *resultobj;
24142 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24143 int arg2 ;
24144 int result;
24145 PyObject * obj0 = 0 ;
24146 PyObject * obj1 = 0 ;
24147 char *kwnames[] = {
24148 (char *) "self",(char *) "col", NULL
24149 };
24150
24151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24153 if (SWIG_arg_fail(1)) SWIG_fail;
24154 {
24155 arg2 = (int)(SWIG_As_int(obj1));
24156 if (SWIG_arg_fail(2)) SWIG_fail;
24157 }
d55e5bfc
RD
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
24160 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24161
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
36ed4f51
RD
24165 {
24166 resultobj = SWIG_From_int((int)(result));
24167 }
d55e5bfc
RD
24168 return resultobj;
24169 fail:
24170 return NULL;
24171}
24172
24173
c370783e 24174static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24175 PyObject *resultobj;
24176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24177 int arg2 ;
24178 int arg3 ;
24179 bool result;
24180 PyObject * obj0 = 0 ;
24181 PyObject * obj1 = 0 ;
24182 PyObject * obj2 = 0 ;
24183 char *kwnames[] = {
24184 (char *) "self",(char *) "col",(char *) "width", NULL
24185 };
24186
24187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24189 if (SWIG_arg_fail(1)) SWIG_fail;
24190 {
24191 arg2 = (int)(SWIG_As_int(obj1));
24192 if (SWIG_arg_fail(2)) SWIG_fail;
24193 }
24194 {
24195 arg3 = (int)(SWIG_As_int(obj2));
24196 if (SWIG_arg_fail(3)) SWIG_fail;
24197 }
d55e5bfc
RD
24198 {
24199 PyThreadState* __tstate = wxPyBeginAllowThreads();
24200 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24201
24202 wxPyEndAllowThreads(__tstate);
24203 if (PyErr_Occurred()) SWIG_fail;
24204 }
24205 {
24206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24207 }
24208 return resultobj;
24209 fail:
24210 return NULL;
24211}
24212
24213
c370783e 24214static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24215 PyObject *resultobj;
24216 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24217 int result;
24218 PyObject * obj0 = 0 ;
24219 char *kwnames[] = {
24220 (char *) "self", NULL
24221 };
24222
24223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
24224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24225 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24226 {
24227 PyThreadState* __tstate = wxPyBeginAllowThreads();
24228 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24229
24230 wxPyEndAllowThreads(__tstate);
24231 if (PyErr_Occurred()) SWIG_fail;
24232 }
36ed4f51
RD
24233 {
24234 resultobj = SWIG_From_int((int)(result));
24235 }
d55e5bfc
RD
24236 return resultobj;
24237 fail:
24238 return NULL;
24239}
24240
24241
c370783e 24242static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24243 PyObject *resultobj;
24244 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24245 wxRect result;
24246 PyObject * obj0 = 0 ;
24247 char *kwnames[] = {
24248 (char *) "self", NULL
24249 };
24250
24251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
24252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24253 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24254 {
24255 PyThreadState* __tstate = wxPyBeginAllowThreads();
24256 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24257
24258 wxPyEndAllowThreads(__tstate);
24259 if (PyErr_Occurred()) SWIG_fail;
24260 }
24261 {
24262 wxRect * resultptr;
36ed4f51 24263 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24264 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24265 }
24266 return resultobj;
24267 fail:
24268 return NULL;
24269}
24270
24271
c370783e 24272static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24273 PyObject *resultobj;
24274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24275 long arg2 ;
24276 int arg3 = (int) 0 ;
24277 wxListItem *result;
24278 PyObject * obj0 = 0 ;
24279 PyObject * obj1 = 0 ;
24280 PyObject * obj2 = 0 ;
24281 char *kwnames[] = {
24282 (char *) "self",(char *) "itemId",(char *) "col", NULL
24283 };
24284
24285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24287 if (SWIG_arg_fail(1)) SWIG_fail;
24288 {
24289 arg2 = (long)(SWIG_As_long(obj1));
24290 if (SWIG_arg_fail(2)) SWIG_fail;
24291 }
d55e5bfc 24292 if (obj2) {
36ed4f51
RD
24293 {
24294 arg3 = (int)(SWIG_As_int(obj2));
24295 if (SWIG_arg_fail(3)) SWIG_fail;
24296 }
d55e5bfc
RD
24297 }
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 {
412d302d 24306 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24307 }
24308 return resultobj;
24309 fail:
24310 return NULL;
24311}
24312
24313
c370783e 24314static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24315 PyObject *resultobj;
24316 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24317 wxListItem *arg2 = 0 ;
24318 bool result;
24319 PyObject * obj0 = 0 ;
24320 PyObject * obj1 = 0 ;
24321 char *kwnames[] = {
24322 (char *) "self",(char *) "info", NULL
24323 };
24324
24325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24327 if (SWIG_arg_fail(1)) SWIG_fail;
24328 {
24329 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24330 if (SWIG_arg_fail(2)) SWIG_fail;
24331 if (arg2 == NULL) {
24332 SWIG_null_ref("wxListItem");
24333 }
24334 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24335 }
24336 {
24337 PyThreadState* __tstate = wxPyBeginAllowThreads();
24338 result = (bool)(arg1)->SetItem(*arg2);
24339
24340 wxPyEndAllowThreads(__tstate);
24341 if (PyErr_Occurred()) SWIG_fail;
24342 }
24343 {
24344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24345 }
24346 return resultobj;
24347 fail:
24348 return NULL;
24349}
24350
24351
c370783e 24352static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24353 PyObject *resultobj;
24354 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24355 long arg2 ;
24356 int arg3 ;
24357 wxString *arg4 = 0 ;
24358 int arg5 = (int) -1 ;
24359 long result;
b411df4a 24360 bool temp4 = false ;
d55e5bfc
RD
24361 PyObject * obj0 = 0 ;
24362 PyObject * obj1 = 0 ;
24363 PyObject * obj2 = 0 ;
24364 PyObject * obj3 = 0 ;
24365 PyObject * obj4 = 0 ;
24366 char *kwnames[] = {
24367 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24368 };
24369
24370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
24371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24372 if (SWIG_arg_fail(1)) SWIG_fail;
24373 {
24374 arg2 = (long)(SWIG_As_long(obj1));
24375 if (SWIG_arg_fail(2)) SWIG_fail;
24376 }
24377 {
24378 arg3 = (int)(SWIG_As_int(obj2));
24379 if (SWIG_arg_fail(3)) SWIG_fail;
24380 }
d55e5bfc
RD
24381 {
24382 arg4 = wxString_in_helper(obj3);
24383 if (arg4 == NULL) SWIG_fail;
b411df4a 24384 temp4 = true;
d55e5bfc
RD
24385 }
24386 if (obj4) {
36ed4f51
RD
24387 {
24388 arg5 = (int)(SWIG_As_int(obj4));
24389 if (SWIG_arg_fail(5)) SWIG_fail;
24390 }
d55e5bfc
RD
24391 }
24392 {
24393 PyThreadState* __tstate = wxPyBeginAllowThreads();
24394 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24395
24396 wxPyEndAllowThreads(__tstate);
24397 if (PyErr_Occurred()) SWIG_fail;
24398 }
36ed4f51
RD
24399 {
24400 resultobj = SWIG_From_long((long)(result));
24401 }
d55e5bfc
RD
24402 {
24403 if (temp4)
24404 delete arg4;
24405 }
24406 return resultobj;
24407 fail:
24408 {
24409 if (temp4)
24410 delete arg4;
24411 }
24412 return NULL;
24413}
24414
24415
c370783e 24416static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24417 PyObject *resultobj;
24418 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24419 long arg2 ;
24420 long arg3 ;
24421 int result;
24422 PyObject * obj0 = 0 ;
24423 PyObject * obj1 = 0 ;
24424 PyObject * obj2 = 0 ;
24425 char *kwnames[] = {
24426 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24427 };
24428
24429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24431 if (SWIG_arg_fail(1)) SWIG_fail;
24432 {
24433 arg2 = (long)(SWIG_As_long(obj1));
24434 if (SWIG_arg_fail(2)) SWIG_fail;
24435 }
24436 {
24437 arg3 = (long)(SWIG_As_long(obj2));
24438 if (SWIG_arg_fail(3)) SWIG_fail;
24439 }
d55e5bfc
RD
24440 {
24441 PyThreadState* __tstate = wxPyBeginAllowThreads();
24442 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24443
24444 wxPyEndAllowThreads(__tstate);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
36ed4f51
RD
24447 {
24448 resultobj = SWIG_From_int((int)(result));
24449 }
d55e5bfc
RD
24450 return resultobj;
24451 fail:
24452 return NULL;
24453}
24454
24455
c370783e 24456static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24457 PyObject *resultobj;
24458 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24459 long arg2 ;
24460 long arg3 ;
24461 long arg4 ;
24462 bool result;
24463 PyObject * obj0 = 0 ;
24464 PyObject * obj1 = 0 ;
24465 PyObject * obj2 = 0 ;
24466 PyObject * obj3 = 0 ;
24467 char *kwnames[] = {
24468 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24469 };
24470
24471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24473 if (SWIG_arg_fail(1)) SWIG_fail;
24474 {
24475 arg2 = (long)(SWIG_As_long(obj1));
24476 if (SWIG_arg_fail(2)) SWIG_fail;
24477 }
24478 {
24479 arg3 = (long)(SWIG_As_long(obj2));
24480 if (SWIG_arg_fail(3)) SWIG_fail;
24481 }
24482 {
24483 arg4 = (long)(SWIG_As_long(obj3));
24484 if (SWIG_arg_fail(4)) SWIG_fail;
24485 }
d55e5bfc
RD
24486 {
24487 PyThreadState* __tstate = wxPyBeginAllowThreads();
24488 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24489
24490 wxPyEndAllowThreads(__tstate);
24491 if (PyErr_Occurred()) SWIG_fail;
24492 }
24493 {
24494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24495 }
24496 return resultobj;
24497 fail:
24498 return NULL;
24499}
24500
24501
c370783e 24502static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24503 PyObject *resultobj;
24504 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24505 long arg2 ;
24506 int arg3 ;
84f85550 24507 int arg4 = (int) -1 ;
d55e5bfc
RD
24508 bool result;
24509 PyObject * obj0 = 0 ;
24510 PyObject * obj1 = 0 ;
24511 PyObject * obj2 = 0 ;
24512 PyObject * obj3 = 0 ;
24513 char *kwnames[] = {
24514 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24515 };
24516
84f85550 24517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24519 if (SWIG_arg_fail(1)) SWIG_fail;
24520 {
24521 arg2 = (long)(SWIG_As_long(obj1));
24522 if (SWIG_arg_fail(2)) SWIG_fail;
24523 }
24524 {
24525 arg3 = (int)(SWIG_As_int(obj2));
24526 if (SWIG_arg_fail(3)) SWIG_fail;
24527 }
84f85550 24528 if (obj3) {
36ed4f51
RD
24529 {
24530 arg4 = (int)(SWIG_As_int(obj3));
24531 if (SWIG_arg_fail(4)) SWIG_fail;
24532 }
84f85550 24533 }
d55e5bfc
RD
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 {
24542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24543 }
24544 return resultobj;
24545 fail:
24546 return NULL;
24547}
24548
24549
c370783e 24550static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24551 PyObject *resultobj;
24552 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24553 long arg2 ;
24554 wxString result;
24555 PyObject * obj0 = 0 ;
24556 PyObject * obj1 = 0 ;
24557 char *kwnames[] = {
24558 (char *) "self",(char *) "item", NULL
24559 };
24560
24561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24563 if (SWIG_arg_fail(1)) SWIG_fail;
24564 {
24565 arg2 = (long)(SWIG_As_long(obj1));
24566 if (SWIG_arg_fail(2)) SWIG_fail;
24567 }
d55e5bfc
RD
24568 {
24569 PyThreadState* __tstate = wxPyBeginAllowThreads();
24570 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24571
24572 wxPyEndAllowThreads(__tstate);
24573 if (PyErr_Occurred()) SWIG_fail;
24574 }
24575 {
24576#if wxUSE_UNICODE
24577 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24578#else
24579 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24580#endif
24581 }
24582 return resultobj;
24583 fail:
24584 return NULL;
24585}
24586
24587
c370783e 24588static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24589 PyObject *resultobj;
24590 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24591 long arg2 ;
24592 wxString *arg3 = 0 ;
b411df4a 24593 bool temp3 = false ;
d55e5bfc
RD
24594 PyObject * obj0 = 0 ;
24595 PyObject * obj1 = 0 ;
24596 PyObject * obj2 = 0 ;
24597 char *kwnames[] = {
24598 (char *) "self",(char *) "item",(char *) "str", NULL
24599 };
24600
24601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24603 if (SWIG_arg_fail(1)) SWIG_fail;
24604 {
24605 arg2 = (long)(SWIG_As_long(obj1));
24606 if (SWIG_arg_fail(2)) SWIG_fail;
24607 }
d55e5bfc
RD
24608 {
24609 arg3 = wxString_in_helper(obj2);
24610 if (arg3 == NULL) SWIG_fail;
b411df4a 24611 temp3 = true;
d55e5bfc
RD
24612 }
24613 {
24614 PyThreadState* __tstate = wxPyBeginAllowThreads();
24615 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24616
24617 wxPyEndAllowThreads(__tstate);
24618 if (PyErr_Occurred()) SWIG_fail;
24619 }
24620 Py_INCREF(Py_None); resultobj = Py_None;
24621 {
24622 if (temp3)
24623 delete arg3;
24624 }
24625 return resultobj;
24626 fail:
24627 {
24628 if (temp3)
24629 delete arg3;
24630 }
24631 return NULL;
24632}
24633
24634
c370783e 24635static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24636 PyObject *resultobj;
24637 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24638 long arg2 ;
24639 long result;
24640 PyObject * obj0 = 0 ;
24641 PyObject * obj1 = 0 ;
24642 char *kwnames[] = {
24643 (char *) "self",(char *) "item", NULL
24644 };
24645
24646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24648 if (SWIG_arg_fail(1)) SWIG_fail;
24649 {
24650 arg2 = (long)(SWIG_As_long(obj1));
24651 if (SWIG_arg_fail(2)) SWIG_fail;
24652 }
d55e5bfc
RD
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24656
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
36ed4f51
RD
24660 {
24661 resultobj = SWIG_From_long((long)(result));
24662 }
d55e5bfc
RD
24663 return resultobj;
24664 fail:
24665 return NULL;
24666}
24667
24668
c370783e 24669static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24670 PyObject *resultobj;
24671 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24672 long arg2 ;
24673 long arg3 ;
24674 bool result;
24675 PyObject * obj0 = 0 ;
24676 PyObject * obj1 = 0 ;
24677 PyObject * obj2 = 0 ;
24678 char *kwnames[] = {
24679 (char *) "self",(char *) "item",(char *) "data", NULL
24680 };
24681
24682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail;
24685 {
24686 arg2 = (long)(SWIG_As_long(obj1));
24687 if (SWIG_arg_fail(2)) SWIG_fail;
24688 }
24689 {
24690 arg3 = (long)(SWIG_As_long(obj2));
24691 if (SWIG_arg_fail(3)) SWIG_fail;
24692 }
d55e5bfc
RD
24693 {
24694 PyThreadState* __tstate = wxPyBeginAllowThreads();
24695 result = (bool)(arg1)->SetItemData(arg2,arg3);
24696
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 {
24701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24702 }
24703 return resultobj;
24704 fail:
24705 return NULL;
24706}
24707
24708
c370783e 24709static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24710 PyObject *resultobj;
24711 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24712 long arg2 ;
24713 wxPoint result;
24714 PyObject * obj0 = 0 ;
24715 PyObject * obj1 = 0 ;
24716 char *kwnames[] = {
24717 (char *) "self",(char *) "item", NULL
24718 };
24719
24720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24722 if (SWIG_arg_fail(1)) SWIG_fail;
24723 {
24724 arg2 = (long)(SWIG_As_long(obj1));
24725 if (SWIG_arg_fail(2)) SWIG_fail;
24726 }
d55e5bfc
RD
24727 {
24728 PyThreadState* __tstate = wxPyBeginAllowThreads();
24729 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24730
24731 wxPyEndAllowThreads(__tstate);
24732 if (PyErr_Occurred()) SWIG_fail;
24733 }
24734 {
24735 wxPoint * resultptr;
36ed4f51 24736 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
24737 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24738 }
24739 return resultobj;
24740 fail:
24741 return NULL;
24742}
24743
24744
c370783e 24745static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24746 PyObject *resultobj;
24747 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24748 long arg2 ;
24749 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24750 wxRect result;
24751 PyObject * obj0 = 0 ;
24752 PyObject * obj1 = 0 ;
24753 PyObject * obj2 = 0 ;
24754 char *kwnames[] = {
24755 (char *) "self",(char *) "item",(char *) "code", NULL
24756 };
24757
24758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24760 if (SWIG_arg_fail(1)) SWIG_fail;
24761 {
24762 arg2 = (long)(SWIG_As_long(obj1));
24763 if (SWIG_arg_fail(2)) SWIG_fail;
24764 }
d55e5bfc 24765 if (obj2) {
36ed4f51
RD
24766 {
24767 arg3 = (int)(SWIG_As_int(obj2));
24768 if (SWIG_arg_fail(3)) SWIG_fail;
24769 }
d55e5bfc
RD
24770 }
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24774
24775 wxPyEndAllowThreads(__tstate);
24776 if (PyErr_Occurred()) SWIG_fail;
24777 }
24778 {
24779 wxRect * resultptr;
36ed4f51 24780 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24782 }
24783 return resultobj;
24784 fail:
24785 return NULL;
24786}
24787
24788
c370783e 24789static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24790 PyObject *resultobj;
24791 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24792 long arg2 ;
24793 wxPoint *arg3 = 0 ;
24794 bool result;
24795 wxPoint temp3 ;
24796 PyObject * obj0 = 0 ;
24797 PyObject * obj1 = 0 ;
24798 PyObject * obj2 = 0 ;
24799 char *kwnames[] = {
24800 (char *) "self",(char *) "item",(char *) "pos", NULL
24801 };
24802
24803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24805 if (SWIG_arg_fail(1)) SWIG_fail;
24806 {
24807 arg2 = (long)(SWIG_As_long(obj1));
24808 if (SWIG_arg_fail(2)) SWIG_fail;
24809 }
d55e5bfc
RD
24810 {
24811 arg3 = &temp3;
24812 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24813 }
24814 {
24815 PyThreadState* __tstate = wxPyBeginAllowThreads();
24816 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24817
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 {
24822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24823 }
24824 return resultobj;
24825 fail:
24826 return NULL;
24827}
24828
24829
c370783e 24830static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24831 PyObject *resultobj;
24832 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24833 int result;
24834 PyObject * obj0 = 0 ;
24835 char *kwnames[] = {
24836 (char *) "self", NULL
24837 };
24838
24839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
24840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24842 {
24843 PyThreadState* __tstate = wxPyBeginAllowThreads();
24844 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24845
24846 wxPyEndAllowThreads(__tstate);
24847 if (PyErr_Occurred()) SWIG_fail;
24848 }
36ed4f51
RD
24849 {
24850 resultobj = SWIG_From_int((int)(result));
24851 }
d55e5bfc
RD
24852 return resultobj;
24853 fail:
24854 return NULL;
24855}
24856
24857
c370783e 24858static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24859 PyObject *resultobj;
24860 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24861 int result;
24862 PyObject * obj0 = 0 ;
24863 char *kwnames[] = {
24864 (char *) "self", NULL
24865 };
24866
24867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
24868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24869 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24870 {
24871 PyThreadState* __tstate = wxPyBeginAllowThreads();
24872 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24873
24874 wxPyEndAllowThreads(__tstate);
24875 if (PyErr_Occurred()) SWIG_fail;
24876 }
36ed4f51
RD
24877 {
24878 resultobj = SWIG_From_int((int)(result));
24879 }
d55e5bfc
RD
24880 return resultobj;
24881 fail:
24882 return NULL;
24883}
24884
24885
c370783e 24886static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24887 PyObject *resultobj;
24888 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24889 wxSize result;
24890 PyObject * obj0 = 0 ;
24891 char *kwnames[] = {
24892 (char *) "self", NULL
24893 };
24894
24895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
24896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24897 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24898 {
24899 PyThreadState* __tstate = wxPyBeginAllowThreads();
24900 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24901
24902 wxPyEndAllowThreads(__tstate);
24903 if (PyErr_Occurred()) SWIG_fail;
24904 }
24905 {
24906 wxSize * resultptr;
36ed4f51 24907 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
24908 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24909 }
24910 return resultobj;
24911 fail:
24912 return NULL;
24913}
24914
24915
c370783e 24916static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24917 PyObject *resultobj;
24918 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24919 int arg2 ;
b411df4a 24920 bool arg3 = (bool) false ;
d55e5bfc
RD
24921 PyObject * obj0 = 0 ;
24922 PyObject * obj1 = 0 ;
24923 PyObject * obj2 = 0 ;
24924 char *kwnames[] = {
24925 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24926 };
24927
24928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24930 if (SWIG_arg_fail(1)) SWIG_fail;
24931 {
24932 arg2 = (int)(SWIG_As_int(obj1));
24933 if (SWIG_arg_fail(2)) SWIG_fail;
24934 }
d55e5bfc 24935 if (obj2) {
36ed4f51
RD
24936 {
24937 arg3 = (bool)(SWIG_As_bool(obj2));
24938 if (SWIG_arg_fail(3)) SWIG_fail;
24939 }
d55e5bfc
RD
24940 }
24941 {
24942 PyThreadState* __tstate = wxPyBeginAllowThreads();
24943 (arg1)->SetItemSpacing(arg2,arg3);
24944
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 Py_INCREF(Py_None); resultobj = Py_None;
24949 return resultobj;
24950 fail:
24951 return NULL;
24952}
24953
24954
c370783e 24955static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24956 PyObject *resultobj;
24957 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24958 int result;
24959 PyObject * obj0 = 0 ;
24960 char *kwnames[] = {
24961 (char *) "self", NULL
24962 };
24963
24964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
24965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24966 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24967 {
24968 PyThreadState* __tstate = wxPyBeginAllowThreads();
24969 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
24970
24971 wxPyEndAllowThreads(__tstate);
24972 if (PyErr_Occurred()) SWIG_fail;
24973 }
36ed4f51
RD
24974 {
24975 resultobj = SWIG_From_int((int)(result));
24976 }
d55e5bfc
RD
24977 return resultobj;
24978 fail:
24979 return NULL;
24980}
24981
24982
c370783e 24983static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24984 PyObject *resultobj;
24985 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24986 wxColour result;
24987 PyObject * obj0 = 0 ;
24988 char *kwnames[] = {
24989 (char *) "self", NULL
24990 };
24991
24992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
24993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24994 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
24998
24999 wxPyEndAllowThreads(__tstate);
25000 if (PyErr_Occurred()) SWIG_fail;
25001 }
25002 {
25003 wxColour * resultptr;
36ed4f51 25004 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
25005 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25006 }
25007 return resultobj;
25008 fail:
25009 return NULL;
25010}
25011
25012
c370783e 25013static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25014 PyObject *resultobj;
25015 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25016 wxColour *arg2 = 0 ;
25017 wxColour temp2 ;
25018 PyObject * obj0 = 0 ;
25019 PyObject * obj1 = 0 ;
25020 char *kwnames[] = {
25021 (char *) "self",(char *) "col", NULL
25022 };
25023
25024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25026 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25027 {
25028 arg2 = &temp2;
25029 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25030 }
25031 {
25032 PyThreadState* __tstate = wxPyBeginAllowThreads();
25033 (arg1)->SetTextColour((wxColour const &)*arg2);
25034
25035 wxPyEndAllowThreads(__tstate);
25036 if (PyErr_Occurred()) SWIG_fail;
25037 }
25038 Py_INCREF(Py_None); resultobj = Py_None;
25039 return resultobj;
25040 fail:
25041 return NULL;
25042}
25043
25044
c370783e 25045static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25046 PyObject *resultobj;
25047 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25048 long result;
25049 PyObject * obj0 = 0 ;
25050 char *kwnames[] = {
25051 (char *) "self", NULL
25052 };
25053
25054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
25055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25056 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25057 {
25058 PyThreadState* __tstate = wxPyBeginAllowThreads();
25059 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25060
25061 wxPyEndAllowThreads(__tstate);
25062 if (PyErr_Occurred()) SWIG_fail;
25063 }
36ed4f51
RD
25064 {
25065 resultobj = SWIG_From_long((long)(result));
25066 }
d55e5bfc
RD
25067 return resultobj;
25068 fail:
25069 return NULL;
25070}
25071
25072
c370783e 25073static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25074 PyObject *resultobj;
25075 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25076 long arg2 ;
b411df4a 25077 bool arg3 = (bool) true ;
d55e5bfc
RD
25078 PyObject * obj0 = 0 ;
25079 PyObject * obj1 = 0 ;
25080 PyObject * obj2 = 0 ;
25081 char *kwnames[] = {
25082 (char *) "self",(char *) "style",(char *) "add", NULL
25083 };
25084
25085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25087 if (SWIG_arg_fail(1)) SWIG_fail;
25088 {
25089 arg2 = (long)(SWIG_As_long(obj1));
25090 if (SWIG_arg_fail(2)) SWIG_fail;
25091 }
d55e5bfc 25092 if (obj2) {
36ed4f51
RD
25093 {
25094 arg3 = (bool)(SWIG_As_bool(obj2));
25095 if (SWIG_arg_fail(3)) SWIG_fail;
25096 }
d55e5bfc
RD
25097 }
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 (arg1)->SetSingleStyle(arg2,arg3);
25101
25102 wxPyEndAllowThreads(__tstate);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 }
25105 Py_INCREF(Py_None); resultobj = Py_None;
25106 return resultobj;
25107 fail:
25108 return NULL;
25109}
25110
25111
c370783e 25112static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25113 PyObject *resultobj;
25114 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25115 long arg2 ;
25116 PyObject * obj0 = 0 ;
25117 PyObject * obj1 = 0 ;
25118 char *kwnames[] = {
25119 (char *) "self",(char *) "style", NULL
25120 };
25121
25122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25124 if (SWIG_arg_fail(1)) SWIG_fail;
25125 {
25126 arg2 = (long)(SWIG_As_long(obj1));
25127 if (SWIG_arg_fail(2)) SWIG_fail;
25128 }
d55e5bfc
RD
25129 {
25130 PyThreadState* __tstate = wxPyBeginAllowThreads();
25131 (arg1)->SetWindowStyleFlag(arg2);
25132
25133 wxPyEndAllowThreads(__tstate);
25134 if (PyErr_Occurred()) SWIG_fail;
25135 }
25136 Py_INCREF(Py_None); resultobj = Py_None;
25137 return resultobj;
25138 fail:
25139 return NULL;
25140}
25141
25142
c370783e 25143static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25144 PyObject *resultobj;
25145 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25146 long arg2 ;
25147 int arg3 = (int) wxLIST_NEXT_ALL ;
25148 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25149 long result;
25150 PyObject * obj0 = 0 ;
25151 PyObject * obj1 = 0 ;
25152 PyObject * obj2 = 0 ;
25153 PyObject * obj3 = 0 ;
25154 char *kwnames[] = {
25155 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25156 };
25157
25158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25160 if (SWIG_arg_fail(1)) SWIG_fail;
25161 {
25162 arg2 = (long)(SWIG_As_long(obj1));
25163 if (SWIG_arg_fail(2)) SWIG_fail;
25164 }
d55e5bfc 25165 if (obj2) {
36ed4f51
RD
25166 {
25167 arg3 = (int)(SWIG_As_int(obj2));
25168 if (SWIG_arg_fail(3)) SWIG_fail;
25169 }
d55e5bfc
RD
25170 }
25171 if (obj3) {
36ed4f51
RD
25172 {
25173 arg4 = (int)(SWIG_As_int(obj3));
25174 if (SWIG_arg_fail(4)) SWIG_fail;
25175 }
d55e5bfc
RD
25176 }
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25180
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
36ed4f51
RD
25184 {
25185 resultobj = SWIG_From_long((long)(result));
25186 }
d55e5bfc
RD
25187 return resultobj;
25188 fail:
25189 return NULL;
25190}
25191
25192
c370783e 25193static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25194 PyObject *resultobj;
25195 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25196 int arg2 ;
25197 wxImageList *result;
25198 PyObject * obj0 = 0 ;
25199 PyObject * obj1 = 0 ;
25200 char *kwnames[] = {
25201 (char *) "self",(char *) "which", NULL
25202 };
25203
25204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25206 if (SWIG_arg_fail(1)) SWIG_fail;
25207 {
25208 arg2 = (int)(SWIG_As_int(obj1));
25209 if (SWIG_arg_fail(2)) SWIG_fail;
25210 }
d55e5bfc
RD
25211 {
25212 PyThreadState* __tstate = wxPyBeginAllowThreads();
25213 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25214
25215 wxPyEndAllowThreads(__tstate);
25216 if (PyErr_Occurred()) SWIG_fail;
25217 }
25218 {
412d302d 25219 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25220 }
25221 return resultobj;
25222 fail:
25223 return NULL;
25224}
25225
25226
c370783e 25227static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25228 PyObject *resultobj;
25229 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25230 wxImageList *arg2 = (wxImageList *) 0 ;
25231 int arg3 ;
25232 PyObject * obj0 = 0 ;
25233 PyObject * obj1 = 0 ;
25234 PyObject * obj2 = 0 ;
25235 char *kwnames[] = {
25236 (char *) "self",(char *) "imageList",(char *) "which", NULL
25237 };
25238
25239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25241 if (SWIG_arg_fail(1)) SWIG_fail;
25242 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25243 if (SWIG_arg_fail(2)) SWIG_fail;
25244 {
25245 arg3 = (int)(SWIG_As_int(obj2));
25246 if (SWIG_arg_fail(3)) SWIG_fail;
25247 }
d55e5bfc
RD
25248 {
25249 PyThreadState* __tstate = wxPyBeginAllowThreads();
25250 (arg1)->SetImageList(arg2,arg3);
25251
25252 wxPyEndAllowThreads(__tstate);
25253 if (PyErr_Occurred()) SWIG_fail;
25254 }
25255 Py_INCREF(Py_None); resultobj = Py_None;
25256 return resultobj;
25257 fail:
25258 return NULL;
25259}
25260
25261
c370783e 25262static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25263 PyObject *resultobj;
25264 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25265 wxImageList *arg2 = (wxImageList *) 0 ;
25266 int arg3 ;
25267 PyObject * obj0 = 0 ;
25268 PyObject * obj1 = 0 ;
25269 PyObject * obj2 = 0 ;
25270 char *kwnames[] = {
25271 (char *) "self",(char *) "imageList",(char *) "which", NULL
25272 };
25273
25274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25276 if (SWIG_arg_fail(1)) SWIG_fail;
25277 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25278 if (SWIG_arg_fail(2)) SWIG_fail;
25279 {
25280 arg3 = (int)(SWIG_As_int(obj2));
25281 if (SWIG_arg_fail(3)) SWIG_fail;
25282 }
d55e5bfc
RD
25283 {
25284 PyThreadState* __tstate = wxPyBeginAllowThreads();
25285 (arg1)->AssignImageList(arg2,arg3);
25286
25287 wxPyEndAllowThreads(__tstate);
25288 if (PyErr_Occurred()) SWIG_fail;
25289 }
25290 Py_INCREF(Py_None); resultobj = Py_None;
25291 return resultobj;
25292 fail:
25293 return NULL;
25294}
25295
25296
c370783e 25297static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25298 PyObject *resultobj;
25299 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25300 bool result;
25301 PyObject * obj0 = 0 ;
25302 char *kwnames[] = {
25303 (char *) "self", NULL
25304 };
25305
25306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
36ed4f51
RD
25307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25308 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25309 {
25310 PyThreadState* __tstate = wxPyBeginAllowThreads();
25311 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25312
25313 wxPyEndAllowThreads(__tstate);
25314 if (PyErr_Occurred()) SWIG_fail;
25315 }
25316 {
25317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25318 }
25319 return resultobj;
25320 fail:
25321 return NULL;
25322}
25323
25324
c370783e 25325static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25326 PyObject *resultobj;
25327 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25328 bool result;
25329 PyObject * obj0 = 0 ;
25330 char *kwnames[] = {
25331 (char *) "self", NULL
25332 };
25333
25334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
36ed4f51
RD
25335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25336 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25337 {
25338 PyThreadState* __tstate = wxPyBeginAllowThreads();
25339 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25340
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 {
25345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25346 }
25347 return resultobj;
25348 fail:
25349 return NULL;
25350}
25351
25352
c370783e 25353static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25354 PyObject *resultobj;
25355 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25356 long arg2 ;
25357 PyObject * obj0 = 0 ;
25358 PyObject * obj1 = 0 ;
25359 char *kwnames[] = {
25360 (char *) "self",(char *) "item", NULL
25361 };
25362
25363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25365 if (SWIG_arg_fail(1)) SWIG_fail;
25366 {
25367 arg2 = (long)(SWIG_As_long(obj1));
25368 if (SWIG_arg_fail(2)) SWIG_fail;
25369 }
d55e5bfc
RD
25370 {
25371 PyThreadState* __tstate = wxPyBeginAllowThreads();
25372 (arg1)->RefreshItem(arg2);
25373
25374 wxPyEndAllowThreads(__tstate);
25375 if (PyErr_Occurred()) SWIG_fail;
25376 }
25377 Py_INCREF(Py_None); resultobj = Py_None;
25378 return resultobj;
25379 fail:
25380 return NULL;
25381}
25382
25383
c370783e 25384static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25385 PyObject *resultobj;
25386 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25387 long arg2 ;
25388 long arg3 ;
25389 PyObject * obj0 = 0 ;
25390 PyObject * obj1 = 0 ;
25391 PyObject * obj2 = 0 ;
25392 char *kwnames[] = {
25393 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25394 };
25395
25396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25398 if (SWIG_arg_fail(1)) SWIG_fail;
25399 {
25400 arg2 = (long)(SWIG_As_long(obj1));
25401 if (SWIG_arg_fail(2)) SWIG_fail;
25402 }
25403 {
25404 arg3 = (long)(SWIG_As_long(obj2));
25405 if (SWIG_arg_fail(3)) SWIG_fail;
25406 }
d55e5bfc
RD
25407 {
25408 PyThreadState* __tstate = wxPyBeginAllowThreads();
25409 (arg1)->RefreshItems(arg2,arg3);
25410
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
25414 Py_INCREF(Py_None); resultobj = Py_None;
25415 return resultobj;
25416 fail:
25417 return NULL;
25418}
25419
25420
c370783e 25421static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25422 PyObject *resultobj;
25423 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25424 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25425 bool result;
25426 PyObject * obj0 = 0 ;
25427 PyObject * obj1 = 0 ;
25428 char *kwnames[] = {
25429 (char *) "self",(char *) "flag", NULL
25430 };
25431
25432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25434 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 25435 if (obj1) {
36ed4f51
RD
25436 {
25437 arg2 = (int)(SWIG_As_int(obj1));
25438 if (SWIG_arg_fail(2)) SWIG_fail;
25439 }
d55e5bfc
RD
25440 }
25441 {
25442 PyThreadState* __tstate = wxPyBeginAllowThreads();
25443 result = (bool)(arg1)->Arrange(arg2);
25444
25445 wxPyEndAllowThreads(__tstate);
25446 if (PyErr_Occurred()) SWIG_fail;
25447 }
25448 {
25449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25450 }
25451 return resultobj;
25452 fail:
25453 return NULL;
25454}
25455
25456
c370783e 25457static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25458 PyObject *resultobj;
25459 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25460 long arg2 ;
25461 bool result;
25462 PyObject * obj0 = 0 ;
25463 PyObject * obj1 = 0 ;
25464 char *kwnames[] = {
25465 (char *) "self",(char *) "item", NULL
25466 };
25467
25468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25470 if (SWIG_arg_fail(1)) SWIG_fail;
25471 {
25472 arg2 = (long)(SWIG_As_long(obj1));
25473 if (SWIG_arg_fail(2)) SWIG_fail;
25474 }
d55e5bfc
RD
25475 {
25476 PyThreadState* __tstate = wxPyBeginAllowThreads();
25477 result = (bool)(arg1)->DeleteItem(arg2);
25478
25479 wxPyEndAllowThreads(__tstate);
25480 if (PyErr_Occurred()) SWIG_fail;
25481 }
25482 {
25483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25484 }
25485 return resultobj;
25486 fail:
25487 return NULL;
25488}
25489
25490
c370783e 25491static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25492 PyObject *resultobj;
25493 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25494 bool result;
25495 PyObject * obj0 = 0 ;
25496 char *kwnames[] = {
25497 (char *) "self", NULL
25498 };
25499
25500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
36ed4f51
RD
25501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25502 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25503 {
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 result = (bool)(arg1)->DeleteAllItems();
25506
25507 wxPyEndAllowThreads(__tstate);
25508 if (PyErr_Occurred()) SWIG_fail;
25509 }
25510 {
25511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25512 }
25513 return resultobj;
25514 fail:
25515 return NULL;
25516}
25517
25518
c370783e 25519static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25520 PyObject *resultobj;
25521 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25522 int arg2 ;
25523 bool result;
25524 PyObject * obj0 = 0 ;
25525 PyObject * obj1 = 0 ;
25526 char *kwnames[] = {
25527 (char *) "self",(char *) "col", NULL
25528 };
25529
25530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25532 if (SWIG_arg_fail(1)) SWIG_fail;
25533 {
25534 arg2 = (int)(SWIG_As_int(obj1));
25535 if (SWIG_arg_fail(2)) SWIG_fail;
25536 }
d55e5bfc
RD
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 result = (bool)(arg1)->DeleteColumn(arg2);
25540
25541 wxPyEndAllowThreads(__tstate);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
25544 {
25545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25546 }
25547 return resultobj;
25548 fail:
25549 return NULL;
25550}
25551
25552
c370783e 25553static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25554 PyObject *resultobj;
25555 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25556 bool result;
25557 PyObject * obj0 = 0 ;
25558 char *kwnames[] = {
25559 (char *) "self", NULL
25560 };
25561
25562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
36ed4f51
RD
25563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25564 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25565 {
25566 PyThreadState* __tstate = wxPyBeginAllowThreads();
25567 result = (bool)(arg1)->DeleteAllColumns();
25568
25569 wxPyEndAllowThreads(__tstate);
25570 if (PyErr_Occurred()) SWIG_fail;
25571 }
25572 {
25573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25574 }
25575 return resultobj;
25576 fail:
25577 return NULL;
25578}
25579
25580
c370783e 25581static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25582 PyObject *resultobj;
25583 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25584 PyObject * obj0 = 0 ;
25585 char *kwnames[] = {
25586 (char *) "self", NULL
25587 };
25588
25589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
25590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25592 {
25593 PyThreadState* __tstate = wxPyBeginAllowThreads();
25594 (arg1)->ClearAll();
25595
25596 wxPyEndAllowThreads(__tstate);
25597 if (PyErr_Occurred()) SWIG_fail;
25598 }
25599 Py_INCREF(Py_None); resultobj = Py_None;
25600 return resultobj;
25601 fail:
25602 return NULL;
25603}
25604
25605
c370783e 25606static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25607 PyObject *resultobj;
25608 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25609 long arg2 ;
25610 PyObject * obj0 = 0 ;
25611 PyObject * obj1 = 0 ;
25612 char *kwnames[] = {
25613 (char *) "self",(char *) "item", NULL
25614 };
25615
25616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25618 if (SWIG_arg_fail(1)) SWIG_fail;
25619 {
25620 arg2 = (long)(SWIG_As_long(obj1));
25621 if (SWIG_arg_fail(2)) SWIG_fail;
25622 }
d55e5bfc
RD
25623 {
25624 PyThreadState* __tstate = wxPyBeginAllowThreads();
25625 (arg1)->EditLabel(arg2);
25626
25627 wxPyEndAllowThreads(__tstate);
25628 if (PyErr_Occurred()) SWIG_fail;
25629 }
25630 Py_INCREF(Py_None); resultobj = Py_None;
25631 return resultobj;
25632 fail:
25633 return NULL;
25634}
25635
25636
c370783e 25637static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25638 PyObject *resultobj;
25639 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25640 long arg2 ;
25641 bool result;
25642 PyObject * obj0 = 0 ;
25643 PyObject * obj1 = 0 ;
25644 char *kwnames[] = {
25645 (char *) "self",(char *) "item", NULL
25646 };
25647
25648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25650 if (SWIG_arg_fail(1)) SWIG_fail;
25651 {
25652 arg2 = (long)(SWIG_As_long(obj1));
25653 if (SWIG_arg_fail(2)) SWIG_fail;
25654 }
d55e5bfc
RD
25655 {
25656 PyThreadState* __tstate = wxPyBeginAllowThreads();
25657 result = (bool)(arg1)->EnsureVisible(arg2);
25658
25659 wxPyEndAllowThreads(__tstate);
25660 if (PyErr_Occurred()) SWIG_fail;
25661 }
25662 {
25663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25664 }
25665 return resultobj;
25666 fail:
25667 return NULL;
25668}
25669
25670
c370783e 25671static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25672 PyObject *resultobj;
25673 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25674 long arg2 ;
25675 wxString *arg3 = 0 ;
b411df4a 25676 bool arg4 = (bool) false ;
d55e5bfc 25677 long result;
b411df4a 25678 bool temp3 = false ;
d55e5bfc
RD
25679 PyObject * obj0 = 0 ;
25680 PyObject * obj1 = 0 ;
25681 PyObject * obj2 = 0 ;
25682 PyObject * obj3 = 0 ;
25683 char *kwnames[] = {
25684 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25685 };
25686
25687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25689 if (SWIG_arg_fail(1)) SWIG_fail;
25690 {
25691 arg2 = (long)(SWIG_As_long(obj1));
25692 if (SWIG_arg_fail(2)) SWIG_fail;
25693 }
d55e5bfc
RD
25694 {
25695 arg3 = wxString_in_helper(obj2);
25696 if (arg3 == NULL) SWIG_fail;
b411df4a 25697 temp3 = true;
d55e5bfc
RD
25698 }
25699 if (obj3) {
36ed4f51
RD
25700 {
25701 arg4 = (bool)(SWIG_As_bool(obj3));
25702 if (SWIG_arg_fail(4)) SWIG_fail;
25703 }
d55e5bfc
RD
25704 }
25705 {
25706 PyThreadState* __tstate = wxPyBeginAllowThreads();
25707 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25708
25709 wxPyEndAllowThreads(__tstate);
25710 if (PyErr_Occurred()) SWIG_fail;
25711 }
36ed4f51
RD
25712 {
25713 resultobj = SWIG_From_long((long)(result));
25714 }
d55e5bfc
RD
25715 {
25716 if (temp3)
25717 delete arg3;
25718 }
25719 return resultobj;
25720 fail:
25721 {
25722 if (temp3)
25723 delete arg3;
25724 }
25725 return NULL;
25726}
25727
25728
c370783e 25729static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25730 PyObject *resultobj;
25731 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25732 long arg2 ;
25733 long arg3 ;
25734 long result;
25735 PyObject * obj0 = 0 ;
25736 PyObject * obj1 = 0 ;
25737 PyObject * obj2 = 0 ;
25738 char *kwnames[] = {
25739 (char *) "self",(char *) "start",(char *) "data", NULL
25740 };
25741
25742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25744 if (SWIG_arg_fail(1)) SWIG_fail;
25745 {
25746 arg2 = (long)(SWIG_As_long(obj1));
25747 if (SWIG_arg_fail(2)) SWIG_fail;
25748 }
25749 {
25750 arg3 = (long)(SWIG_As_long(obj2));
25751 if (SWIG_arg_fail(3)) SWIG_fail;
25752 }
d55e5bfc
RD
25753 {
25754 PyThreadState* __tstate = wxPyBeginAllowThreads();
25755 result = (long)(arg1)->FindItem(arg2,arg3);
25756
25757 wxPyEndAllowThreads(__tstate);
25758 if (PyErr_Occurred()) SWIG_fail;
25759 }
36ed4f51
RD
25760 {
25761 resultobj = SWIG_From_long((long)(result));
25762 }
d55e5bfc
RD
25763 return resultobj;
25764 fail:
25765 return NULL;
25766}
25767
25768
c370783e 25769static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25770 PyObject *resultobj;
25771 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25772 long arg2 ;
25773 wxPoint *arg3 = 0 ;
25774 int arg4 ;
25775 long result;
25776 wxPoint temp3 ;
25777 PyObject * obj0 = 0 ;
25778 PyObject * obj1 = 0 ;
25779 PyObject * obj2 = 0 ;
25780 PyObject * obj3 = 0 ;
25781 char *kwnames[] = {
25782 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25783 };
25784
25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25787 if (SWIG_arg_fail(1)) SWIG_fail;
25788 {
25789 arg2 = (long)(SWIG_As_long(obj1));
25790 if (SWIG_arg_fail(2)) SWIG_fail;
25791 }
d55e5bfc
RD
25792 {
25793 arg3 = &temp3;
25794 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25795 }
36ed4f51
RD
25796 {
25797 arg4 = (int)(SWIG_As_int(obj3));
25798 if (SWIG_arg_fail(4)) SWIG_fail;
25799 }
d55e5bfc
RD
25800 {
25801 PyThreadState* __tstate = wxPyBeginAllowThreads();
25802 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25803
25804 wxPyEndAllowThreads(__tstate);
25805 if (PyErr_Occurred()) SWIG_fail;
25806 }
36ed4f51
RD
25807 {
25808 resultobj = SWIG_From_long((long)(result));
25809 }
d55e5bfc
RD
25810 return resultobj;
25811 fail:
25812 return NULL;
25813}
25814
25815
c370783e 25816static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25817 PyObject *resultobj;
25818 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25819 wxPoint *arg2 = 0 ;
25820 int *arg3 = 0 ;
25821 long result;
25822 wxPoint temp2 ;
25823 int temp3 ;
c370783e 25824 int res3 = 0 ;
d55e5bfc
RD
25825 PyObject * obj0 = 0 ;
25826 PyObject * obj1 = 0 ;
25827 char *kwnames[] = {
25828 (char *) "self",(char *) "point", NULL
25829 };
25830
c370783e 25831 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25835 {
25836 arg2 = &temp2;
25837 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25838 }
25839 {
25840 PyThreadState* __tstate = wxPyBeginAllowThreads();
25841 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25842
25843 wxPyEndAllowThreads(__tstate);
25844 if (PyErr_Occurred()) SWIG_fail;
25845 }
36ed4f51
RD
25846 {
25847 resultobj = SWIG_From_long((long)(result));
25848 }
c370783e
RD
25849 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25850 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25851 return resultobj;
25852 fail:
25853 return NULL;
25854}
25855
25856
c370783e 25857static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25858 PyObject *resultobj;
25859 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25860 wxListItem *arg2 = 0 ;
25861 long result;
25862 PyObject * obj0 = 0 ;
25863 PyObject * obj1 = 0 ;
25864 char *kwnames[] = {
25865 (char *) "self",(char *) "info", NULL
25866 };
25867
25868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25870 if (SWIG_arg_fail(1)) SWIG_fail;
25871 {
25872 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25873 if (SWIG_arg_fail(2)) SWIG_fail;
25874 if (arg2 == NULL) {
25875 SWIG_null_ref("wxListItem");
25876 }
25877 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25878 }
25879 {
25880 PyThreadState* __tstate = wxPyBeginAllowThreads();
25881 result = (long)(arg1)->InsertItem(*arg2);
25882
25883 wxPyEndAllowThreads(__tstate);
25884 if (PyErr_Occurred()) SWIG_fail;
25885 }
36ed4f51
RD
25886 {
25887 resultobj = SWIG_From_long((long)(result));
25888 }
d55e5bfc
RD
25889 return resultobj;
25890 fail:
25891 return NULL;
25892}
25893
25894
c370783e 25895static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25896 PyObject *resultobj;
25897 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25898 long arg2 ;
25899 wxString *arg3 = 0 ;
25900 long result;
b411df4a 25901 bool temp3 = false ;
d55e5bfc
RD
25902 PyObject * obj0 = 0 ;
25903 PyObject * obj1 = 0 ;
25904 PyObject * obj2 = 0 ;
25905 char *kwnames[] = {
25906 (char *) "self",(char *) "index",(char *) "label", NULL
25907 };
25908
25909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25911 if (SWIG_arg_fail(1)) SWIG_fail;
25912 {
25913 arg2 = (long)(SWIG_As_long(obj1));
25914 if (SWIG_arg_fail(2)) SWIG_fail;
25915 }
d55e5bfc
RD
25916 {
25917 arg3 = wxString_in_helper(obj2);
25918 if (arg3 == NULL) SWIG_fail;
b411df4a 25919 temp3 = true;
d55e5bfc
RD
25920 }
25921 {
25922 PyThreadState* __tstate = wxPyBeginAllowThreads();
25923 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25924
25925 wxPyEndAllowThreads(__tstate);
25926 if (PyErr_Occurred()) SWIG_fail;
25927 }
36ed4f51
RD
25928 {
25929 resultobj = SWIG_From_long((long)(result));
25930 }
d55e5bfc
RD
25931 {
25932 if (temp3)
25933 delete arg3;
25934 }
25935 return resultobj;
25936 fail:
25937 {
25938 if (temp3)
25939 delete arg3;
25940 }
25941 return NULL;
25942}
25943
25944
c370783e 25945static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25946 PyObject *resultobj;
25947 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25948 long arg2 ;
25949 int arg3 ;
25950 long result;
25951 PyObject * obj0 = 0 ;
25952 PyObject * obj1 = 0 ;
25953 PyObject * obj2 = 0 ;
25954 char *kwnames[] = {
25955 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25956 };
25957
25958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25960 if (SWIG_arg_fail(1)) SWIG_fail;
25961 {
25962 arg2 = (long)(SWIG_As_long(obj1));
25963 if (SWIG_arg_fail(2)) SWIG_fail;
25964 }
25965 {
25966 arg3 = (int)(SWIG_As_int(obj2));
25967 if (SWIG_arg_fail(3)) SWIG_fail;
25968 }
d55e5bfc
RD
25969 {
25970 PyThreadState* __tstate = wxPyBeginAllowThreads();
25971 result = (long)(arg1)->InsertItem(arg2,arg3);
25972
25973 wxPyEndAllowThreads(__tstate);
25974 if (PyErr_Occurred()) SWIG_fail;
25975 }
36ed4f51
RD
25976 {
25977 resultobj = SWIG_From_long((long)(result));
25978 }
d55e5bfc
RD
25979 return resultobj;
25980 fail:
25981 return NULL;
25982}
25983
25984
c370783e 25985static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25986 PyObject *resultobj;
25987 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25988 long arg2 ;
25989 wxString *arg3 = 0 ;
25990 int arg4 ;
25991 long result;
b411df4a 25992 bool temp3 = false ;
d55e5bfc
RD
25993 PyObject * obj0 = 0 ;
25994 PyObject * obj1 = 0 ;
25995 PyObject * obj2 = 0 ;
25996 PyObject * obj3 = 0 ;
25997 char *kwnames[] = {
25998 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25999 };
26000
26001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
26002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26003 if (SWIG_arg_fail(1)) SWIG_fail;
26004 {
26005 arg2 = (long)(SWIG_As_long(obj1));
26006 if (SWIG_arg_fail(2)) SWIG_fail;
26007 }
d55e5bfc
RD
26008 {
26009 arg3 = wxString_in_helper(obj2);
26010 if (arg3 == NULL) SWIG_fail;
b411df4a 26011 temp3 = true;
d55e5bfc 26012 }
36ed4f51
RD
26013 {
26014 arg4 = (int)(SWIG_As_int(obj3));
26015 if (SWIG_arg_fail(4)) SWIG_fail;
26016 }
d55e5bfc
RD
26017 {
26018 PyThreadState* __tstate = wxPyBeginAllowThreads();
26019 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26020
26021 wxPyEndAllowThreads(__tstate);
26022 if (PyErr_Occurred()) SWIG_fail;
26023 }
36ed4f51
RD
26024 {
26025 resultobj = SWIG_From_long((long)(result));
26026 }
d55e5bfc
RD
26027 {
26028 if (temp3)
26029 delete arg3;
26030 }
26031 return resultobj;
26032 fail:
26033 {
26034 if (temp3)
26035 delete arg3;
26036 }
26037 return NULL;
26038}
26039
26040
a3957d3d 26041static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26042 PyObject *resultobj;
26043 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26044 long arg2 ;
26045 wxListItem *arg3 = 0 ;
26046 long result;
26047 PyObject * obj0 = 0 ;
26048 PyObject * obj1 = 0 ;
26049 PyObject * obj2 = 0 ;
26050 char *kwnames[] = {
26051 (char *) "self",(char *) "col",(char *) "info", NULL
26052 };
26053
a3957d3d 26054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26056 if (SWIG_arg_fail(1)) SWIG_fail;
26057 {
26058 arg2 = (long)(SWIG_As_long(obj1));
26059 if (SWIG_arg_fail(2)) SWIG_fail;
26060 }
26061 {
26062 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26063 if (SWIG_arg_fail(3)) SWIG_fail;
26064 if (arg3 == NULL) {
26065 SWIG_null_ref("wxListItem");
26066 }
26067 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26068 }
26069 {
26070 PyThreadState* __tstate = wxPyBeginAllowThreads();
26071 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26072
26073 wxPyEndAllowThreads(__tstate);
26074 if (PyErr_Occurred()) SWIG_fail;
26075 }
36ed4f51
RD
26076 {
26077 resultobj = SWIG_From_long((long)(result));
26078 }
d55e5bfc
RD
26079 return resultobj;
26080 fail:
26081 return NULL;
26082}
26083
26084
c370783e 26085static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26086 PyObject *resultobj;
26087 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26088 long arg2 ;
26089 wxString *arg3 = 0 ;
26090 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26091 int arg5 = (int) -1 ;
26092 long result;
b411df4a 26093 bool temp3 = false ;
d55e5bfc
RD
26094 PyObject * obj0 = 0 ;
26095 PyObject * obj1 = 0 ;
26096 PyObject * obj2 = 0 ;
26097 PyObject * obj3 = 0 ;
26098 PyObject * obj4 = 0 ;
26099 char *kwnames[] = {
26100 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26101 };
26102
26103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
26104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26105 if (SWIG_arg_fail(1)) SWIG_fail;
26106 {
26107 arg2 = (long)(SWIG_As_long(obj1));
26108 if (SWIG_arg_fail(2)) SWIG_fail;
26109 }
d55e5bfc
RD
26110 {
26111 arg3 = wxString_in_helper(obj2);
26112 if (arg3 == NULL) SWIG_fail;
b411df4a 26113 temp3 = true;
d55e5bfc
RD
26114 }
26115 if (obj3) {
36ed4f51
RD
26116 {
26117 arg4 = (int)(SWIG_As_int(obj3));
26118 if (SWIG_arg_fail(4)) SWIG_fail;
26119 }
d55e5bfc
RD
26120 }
26121 if (obj4) {
36ed4f51
RD
26122 {
26123 arg5 = (int)(SWIG_As_int(obj4));
26124 if (SWIG_arg_fail(5)) SWIG_fail;
26125 }
d55e5bfc
RD
26126 }
26127 {
26128 PyThreadState* __tstate = wxPyBeginAllowThreads();
26129 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26130
26131 wxPyEndAllowThreads(__tstate);
26132 if (PyErr_Occurred()) SWIG_fail;
26133 }
36ed4f51
RD
26134 {
26135 resultobj = SWIG_From_long((long)(result));
26136 }
d55e5bfc
RD
26137 {
26138 if (temp3)
26139 delete arg3;
26140 }
26141 return resultobj;
26142 fail:
26143 {
26144 if (temp3)
26145 delete arg3;
26146 }
26147 return NULL;
26148}
26149
26150
c370783e 26151static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26152 PyObject *resultobj;
26153 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26154 long arg2 ;
26155 PyObject * obj0 = 0 ;
26156 PyObject * obj1 = 0 ;
26157 char *kwnames[] = {
26158 (char *) "self",(char *) "count", NULL
26159 };
26160
26161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26163 if (SWIG_arg_fail(1)) SWIG_fail;
26164 {
26165 arg2 = (long)(SWIG_As_long(obj1));
26166 if (SWIG_arg_fail(2)) SWIG_fail;
26167 }
d55e5bfc
RD
26168 {
26169 PyThreadState* __tstate = wxPyBeginAllowThreads();
26170 (arg1)->SetItemCount(arg2);
26171
26172 wxPyEndAllowThreads(__tstate);
26173 if (PyErr_Occurred()) SWIG_fail;
26174 }
26175 Py_INCREF(Py_None); resultobj = Py_None;
26176 return resultobj;
26177 fail:
26178 return NULL;
26179}
26180
26181
c370783e 26182static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26183 PyObject *resultobj;
26184 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26185 int arg2 ;
26186 int arg3 ;
26187 bool result;
26188 PyObject * obj0 = 0 ;
26189 PyObject * obj1 = 0 ;
26190 PyObject * obj2 = 0 ;
26191 char *kwnames[] = {
26192 (char *) "self",(char *) "dx",(char *) "dy", NULL
26193 };
26194
26195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26197 if (SWIG_arg_fail(1)) SWIG_fail;
26198 {
26199 arg2 = (int)(SWIG_As_int(obj1));
26200 if (SWIG_arg_fail(2)) SWIG_fail;
26201 }
26202 {
26203 arg3 = (int)(SWIG_As_int(obj2));
26204 if (SWIG_arg_fail(3)) SWIG_fail;
26205 }
d55e5bfc
RD
26206 {
26207 PyThreadState* __tstate = wxPyBeginAllowThreads();
26208 result = (bool)(arg1)->ScrollList(arg2,arg3);
26209
26210 wxPyEndAllowThreads(__tstate);
26211 if (PyErr_Occurred()) SWIG_fail;
26212 }
26213 {
26214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26215 }
26216 return resultobj;
26217 fail:
26218 return NULL;
26219}
26220
26221
c370783e 26222static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26223 PyObject *resultobj;
26224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26225 long arg2 ;
26226 wxColour *arg3 = 0 ;
26227 wxColour temp3 ;
26228 PyObject * obj0 = 0 ;
26229 PyObject * obj1 = 0 ;
26230 PyObject * obj2 = 0 ;
26231 char *kwnames[] = {
26232 (char *) "self",(char *) "item",(char *) "col", NULL
26233 };
26234
26235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26237 if (SWIG_arg_fail(1)) SWIG_fail;
26238 {
26239 arg2 = (long)(SWIG_As_long(obj1));
26240 if (SWIG_arg_fail(2)) SWIG_fail;
26241 }
d55e5bfc
RD
26242 {
26243 arg3 = &temp3;
26244 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26245 }
26246 {
26247 PyThreadState* __tstate = wxPyBeginAllowThreads();
26248 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26249
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
26253 Py_INCREF(Py_None); resultobj = Py_None;
26254 return resultobj;
26255 fail:
26256 return NULL;
26257}
26258
26259
c370783e 26260static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26261 PyObject *resultobj;
26262 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26263 long arg2 ;
26264 wxColour result;
26265 PyObject * obj0 = 0 ;
26266 PyObject * obj1 = 0 ;
26267 char *kwnames[] = {
26268 (char *) "self",(char *) "item", NULL
26269 };
26270
26271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26273 if (SWIG_arg_fail(1)) SWIG_fail;
26274 {
26275 arg2 = (long)(SWIG_As_long(obj1));
26276 if (SWIG_arg_fail(2)) SWIG_fail;
26277 }
d55e5bfc
RD
26278 {
26279 PyThreadState* __tstate = wxPyBeginAllowThreads();
26280 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26281
26282 wxPyEndAllowThreads(__tstate);
26283 if (PyErr_Occurred()) SWIG_fail;
26284 }
26285 {
26286 wxColour * resultptr;
36ed4f51 26287 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26289 }
26290 return resultobj;
26291 fail:
26292 return NULL;
26293}
26294
26295
c370783e 26296static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26297 PyObject *resultobj;
26298 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26299 long arg2 ;
26300 wxColour *arg3 = 0 ;
26301 wxColour temp3 ;
26302 PyObject * obj0 = 0 ;
26303 PyObject * obj1 = 0 ;
26304 PyObject * obj2 = 0 ;
26305 char *kwnames[] = {
26306 (char *) "self",(char *) "item",(char *) "col", NULL
26307 };
26308
26309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26311 if (SWIG_arg_fail(1)) SWIG_fail;
26312 {
26313 arg2 = (long)(SWIG_As_long(obj1));
26314 if (SWIG_arg_fail(2)) SWIG_fail;
26315 }
d55e5bfc
RD
26316 {
26317 arg3 = &temp3;
26318 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26319 }
26320 {
26321 PyThreadState* __tstate = wxPyBeginAllowThreads();
26322 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26323
26324 wxPyEndAllowThreads(__tstate);
26325 if (PyErr_Occurred()) SWIG_fail;
26326 }
26327 Py_INCREF(Py_None); resultobj = Py_None;
26328 return resultobj;
26329 fail:
26330 return NULL;
26331}
26332
26333
c370783e 26334static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26335 PyObject *resultobj;
26336 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26337 long arg2 ;
26338 wxColour result;
26339 PyObject * obj0 = 0 ;
26340 PyObject * obj1 = 0 ;
26341 char *kwnames[] = {
26342 (char *) "self",(char *) "item", NULL
26343 };
26344
26345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26347 if (SWIG_arg_fail(1)) SWIG_fail;
26348 {
26349 arg2 = (long)(SWIG_As_long(obj1));
26350 if (SWIG_arg_fail(2)) SWIG_fail;
26351 }
d55e5bfc
RD
26352 {
26353 PyThreadState* __tstate = wxPyBeginAllowThreads();
26354 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26355
26356 wxPyEndAllowThreads(__tstate);
26357 if (PyErr_Occurred()) SWIG_fail;
26358 }
26359 {
26360 wxColour * resultptr;
36ed4f51 26361 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26363 }
26364 return resultobj;
26365 fail:
26366 return NULL;
26367}
26368
26369
c370783e 26370static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26371 PyObject *resultobj;
26372 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26373 PyObject *arg2 = (PyObject *) 0 ;
26374 bool result;
26375 PyObject * obj0 = 0 ;
26376 PyObject * obj1 = 0 ;
26377 char *kwnames[] = {
26378 (char *) "self",(char *) "func", NULL
26379 };
26380
26381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26383 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26384 arg2 = obj1;
26385 {
26386 PyThreadState* __tstate = wxPyBeginAllowThreads();
26387 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26388
26389 wxPyEndAllowThreads(__tstate);
26390 if (PyErr_Occurred()) SWIG_fail;
26391 }
26392 {
26393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26394 }
26395 return resultobj;
26396 fail:
26397 return NULL;
26398}
26399
26400
c370783e 26401static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26402 PyObject *resultobj;
26403 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26404 wxWindow *result;
26405 PyObject * obj0 = 0 ;
26406 char *kwnames[] = {
26407 (char *) "self", NULL
26408 };
26409
26410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
26411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26412 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26413 {
26414 PyThreadState* __tstate = wxPyBeginAllowThreads();
26415 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26416
26417 wxPyEndAllowThreads(__tstate);
26418 if (PyErr_Occurred()) SWIG_fail;
26419 }
26420 {
412d302d 26421 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26422 }
26423 return resultobj;
26424 fail:
26425 return NULL;
26426}
26427
26428
c370783e 26429static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 26430 PyObject *resultobj;
36ed4f51 26431 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
26432 wxVisualAttributes result;
26433 PyObject * obj0 = 0 ;
26434 char *kwnames[] = {
26435 (char *) "variant", NULL
26436 };
26437
26438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26439 if (obj0) {
36ed4f51
RD
26440 {
26441 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26442 if (SWIG_arg_fail(1)) SWIG_fail;
26443 }
d55e5bfc
RD
26444 }
26445 {
0439c23b 26446 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26447 PyThreadState* __tstate = wxPyBeginAllowThreads();
26448 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26449
26450 wxPyEndAllowThreads(__tstate);
110da5b0 26451 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26452 }
26453 {
26454 wxVisualAttributes * resultptr;
36ed4f51 26455 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
26456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26457 }
26458 return resultobj;
26459 fail:
26460 return NULL;
26461}
26462
26463
c370783e 26464static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26465 PyObject *obj;
26466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26467 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26468 Py_INCREF(obj);
26469 return Py_BuildValue((char *)"");
26470}
c370783e 26471static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26472 PyObject *resultobj;
26473 wxWindow *arg1 = (wxWindow *) 0 ;
26474 int arg2 = (int) -1 ;
26475 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26476 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26477 wxSize const &arg4_defvalue = wxDefaultSize ;
26478 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26479 long arg5 = (long) wxLC_REPORT ;
26480 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26481 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26482 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26483 wxString *arg7 = (wxString *) &arg7_defvalue ;
26484 wxListView *result;
26485 wxPoint temp3 ;
26486 wxSize temp4 ;
b411df4a 26487 bool temp7 = false ;
d55e5bfc
RD
26488 PyObject * obj0 = 0 ;
26489 PyObject * obj1 = 0 ;
26490 PyObject * obj2 = 0 ;
26491 PyObject * obj3 = 0 ;
26492 PyObject * obj4 = 0 ;
26493 PyObject * obj5 = 0 ;
26494 PyObject * obj6 = 0 ;
26495 char *kwnames[] = {
26496 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26497 };
26498
26499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
26500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26501 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26502 if (obj1) {
36ed4f51
RD
26503 {
26504 arg2 = (int)(SWIG_As_int(obj1));
26505 if (SWIG_arg_fail(2)) SWIG_fail;
26506 }
d55e5bfc
RD
26507 }
26508 if (obj2) {
26509 {
26510 arg3 = &temp3;
26511 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26512 }
26513 }
26514 if (obj3) {
26515 {
26516 arg4 = &temp4;
26517 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26518 }
26519 }
26520 if (obj4) {
36ed4f51
RD
26521 {
26522 arg5 = (long)(SWIG_As_long(obj4));
26523 if (SWIG_arg_fail(5)) SWIG_fail;
26524 }
d55e5bfc
RD
26525 }
26526 if (obj5) {
36ed4f51
RD
26527 {
26528 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26529 if (SWIG_arg_fail(6)) SWIG_fail;
26530 if (arg6 == NULL) {
26531 SWIG_null_ref("wxValidator");
26532 }
26533 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
26534 }
26535 }
26536 if (obj6) {
26537 {
26538 arg7 = wxString_in_helper(obj6);
26539 if (arg7 == NULL) SWIG_fail;
b411df4a 26540 temp7 = true;
d55e5bfc
RD
26541 }
26542 }
26543 {
0439c23b 26544 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26545 PyThreadState* __tstate = wxPyBeginAllowThreads();
26546 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26547
26548 wxPyEndAllowThreads(__tstate);
110da5b0 26549 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26550 }
26551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26552 {
26553 if (temp7)
26554 delete arg7;
26555 }
26556 return resultobj;
26557 fail:
26558 {
26559 if (temp7)
26560 delete arg7;
26561 }
26562 return NULL;
26563}
26564
26565
c370783e 26566static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26567 PyObject *resultobj;
26568 wxListView *result;
26569 char *kwnames[] = {
26570 NULL
26571 };
26572
26573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26574 {
0439c23b 26575 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26576 PyThreadState* __tstate = wxPyBeginAllowThreads();
26577 result = (wxListView *)new wxListView();
26578
26579 wxPyEndAllowThreads(__tstate);
110da5b0 26580 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26581 }
26582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26583 return resultobj;
26584 fail:
26585 return NULL;
26586}
26587
26588
c370783e 26589static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26590 PyObject *resultobj;
26591 wxListView *arg1 = (wxListView *) 0 ;
26592 wxWindow *arg2 = (wxWindow *) 0 ;
26593 int arg3 = (int) -1 ;
26594 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26595 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26596 wxSize const &arg5_defvalue = wxDefaultSize ;
26597 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26598 long arg6 = (long) wxLC_REPORT ;
26599 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26600 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26601 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26602 wxString *arg8 = (wxString *) &arg8_defvalue ;
26603 bool result;
26604 wxPoint temp4 ;
26605 wxSize temp5 ;
b411df4a 26606 bool temp8 = false ;
d55e5bfc
RD
26607 PyObject * obj0 = 0 ;
26608 PyObject * obj1 = 0 ;
26609 PyObject * obj2 = 0 ;
26610 PyObject * obj3 = 0 ;
26611 PyObject * obj4 = 0 ;
26612 PyObject * obj5 = 0 ;
26613 PyObject * obj6 = 0 ;
26614 PyObject * obj7 = 0 ;
26615 char *kwnames[] = {
26616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26617 };
26618
26619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
26620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26621 if (SWIG_arg_fail(1)) SWIG_fail;
26622 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26623 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26624 if (obj2) {
36ed4f51
RD
26625 {
26626 arg3 = (int)(SWIG_As_int(obj2));
26627 if (SWIG_arg_fail(3)) SWIG_fail;
26628 }
d55e5bfc
RD
26629 }
26630 if (obj3) {
26631 {
26632 arg4 = &temp4;
26633 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26634 }
26635 }
26636 if (obj4) {
26637 {
26638 arg5 = &temp5;
26639 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26640 }
26641 }
26642 if (obj5) {
36ed4f51
RD
26643 {
26644 arg6 = (long)(SWIG_As_long(obj5));
26645 if (SWIG_arg_fail(6)) SWIG_fail;
26646 }
d55e5bfc
RD
26647 }
26648 if (obj6) {
36ed4f51
RD
26649 {
26650 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26651 if (SWIG_arg_fail(7)) SWIG_fail;
26652 if (arg7 == NULL) {
26653 SWIG_null_ref("wxValidator");
26654 }
26655 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
26656 }
26657 }
26658 if (obj7) {
26659 {
26660 arg8 = wxString_in_helper(obj7);
26661 if (arg8 == NULL) SWIG_fail;
b411df4a 26662 temp8 = true;
d55e5bfc
RD
26663 }
26664 }
26665 {
26666 PyThreadState* __tstate = wxPyBeginAllowThreads();
26667 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26668
26669 wxPyEndAllowThreads(__tstate);
26670 if (PyErr_Occurred()) SWIG_fail;
26671 }
26672 {
26673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26674 }
26675 {
26676 if (temp8)
26677 delete arg8;
26678 }
26679 return resultobj;
26680 fail:
26681 {
26682 if (temp8)
26683 delete arg8;
26684 }
26685 return NULL;
26686}
26687
26688
c370783e 26689static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26690 PyObject *resultobj;
26691 wxListView *arg1 = (wxListView *) 0 ;
26692 long arg2 ;
b411df4a 26693 bool arg3 = (bool) true ;
d55e5bfc
RD
26694 PyObject * obj0 = 0 ;
26695 PyObject * obj1 = 0 ;
26696 PyObject * obj2 = 0 ;
26697 char *kwnames[] = {
26698 (char *) "self",(char *) "n",(char *) "on", NULL
26699 };
26700
26701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26703 if (SWIG_arg_fail(1)) SWIG_fail;
26704 {
26705 arg2 = (long)(SWIG_As_long(obj1));
26706 if (SWIG_arg_fail(2)) SWIG_fail;
26707 }
d55e5bfc 26708 if (obj2) {
36ed4f51
RD
26709 {
26710 arg3 = (bool)(SWIG_As_bool(obj2));
26711 if (SWIG_arg_fail(3)) SWIG_fail;
26712 }
d55e5bfc
RD
26713 }
26714 {
26715 PyThreadState* __tstate = wxPyBeginAllowThreads();
26716 (arg1)->Select(arg2,arg3);
26717
26718 wxPyEndAllowThreads(__tstate);
26719 if (PyErr_Occurred()) SWIG_fail;
26720 }
26721 Py_INCREF(Py_None); resultobj = Py_None;
26722 return resultobj;
26723 fail:
26724 return NULL;
26725}
26726
26727
c370783e 26728static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26729 PyObject *resultobj;
26730 wxListView *arg1 = (wxListView *) 0 ;
26731 long arg2 ;
26732 PyObject * obj0 = 0 ;
26733 PyObject * obj1 = 0 ;
26734 char *kwnames[] = {
26735 (char *) "self",(char *) "index", NULL
26736 };
26737
26738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26740 if (SWIG_arg_fail(1)) SWIG_fail;
26741 {
26742 arg2 = (long)(SWIG_As_long(obj1));
26743 if (SWIG_arg_fail(2)) SWIG_fail;
26744 }
d55e5bfc
RD
26745 {
26746 PyThreadState* __tstate = wxPyBeginAllowThreads();
26747 (arg1)->Focus(arg2);
26748
26749 wxPyEndAllowThreads(__tstate);
26750 if (PyErr_Occurred()) SWIG_fail;
26751 }
26752 Py_INCREF(Py_None); resultobj = Py_None;
26753 return resultobj;
26754 fail:
26755 return NULL;
26756}
26757
26758
c370783e 26759static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26760 PyObject *resultobj;
26761 wxListView *arg1 = (wxListView *) 0 ;
26762 long result;
26763 PyObject * obj0 = 0 ;
26764 char *kwnames[] = {
26765 (char *) "self", NULL
26766 };
26767
26768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
26769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26770 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26771 {
26772 PyThreadState* __tstate = wxPyBeginAllowThreads();
26773 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26774
26775 wxPyEndAllowThreads(__tstate);
26776 if (PyErr_Occurred()) SWIG_fail;
26777 }
36ed4f51
RD
26778 {
26779 resultobj = SWIG_From_long((long)(result));
26780 }
d55e5bfc
RD
26781 return resultobj;
26782 fail:
26783 return NULL;
26784}
26785
26786
c370783e 26787static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26788 PyObject *resultobj;
26789 wxListView *arg1 = (wxListView *) 0 ;
26790 long arg2 ;
26791 long result;
26792 PyObject * obj0 = 0 ;
26793 PyObject * obj1 = 0 ;
26794 char *kwnames[] = {
26795 (char *) "self",(char *) "item", NULL
26796 };
26797
26798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26800 if (SWIG_arg_fail(1)) SWIG_fail;
26801 {
26802 arg2 = (long)(SWIG_As_long(obj1));
26803 if (SWIG_arg_fail(2)) SWIG_fail;
26804 }
d55e5bfc
RD
26805 {
26806 PyThreadState* __tstate = wxPyBeginAllowThreads();
26807 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26808
26809 wxPyEndAllowThreads(__tstate);
26810 if (PyErr_Occurred()) SWIG_fail;
26811 }
36ed4f51
RD
26812 {
26813 resultobj = SWIG_From_long((long)(result));
26814 }
d55e5bfc
RD
26815 return resultobj;
26816 fail:
26817 return NULL;
26818}
26819
26820
c370783e 26821static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26822 PyObject *resultobj;
26823 wxListView *arg1 = (wxListView *) 0 ;
26824 long result;
26825 PyObject * obj0 = 0 ;
26826 char *kwnames[] = {
26827 (char *) "self", NULL
26828 };
26829
26830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
26831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26832 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26833 {
26834 PyThreadState* __tstate = wxPyBeginAllowThreads();
26835 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26836
26837 wxPyEndAllowThreads(__tstate);
26838 if (PyErr_Occurred()) SWIG_fail;
26839 }
36ed4f51
RD
26840 {
26841 resultobj = SWIG_From_long((long)(result));
26842 }
d55e5bfc
RD
26843 return resultobj;
26844 fail:
26845 return NULL;
26846}
26847
26848
c370783e 26849static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26850 PyObject *resultobj;
26851 wxListView *arg1 = (wxListView *) 0 ;
26852 long arg2 ;
26853 bool result;
26854 PyObject * obj0 = 0 ;
26855 PyObject * obj1 = 0 ;
26856 char *kwnames[] = {
26857 (char *) "self",(char *) "index", NULL
26858 };
26859
26860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26862 if (SWIG_arg_fail(1)) SWIG_fail;
26863 {
26864 arg2 = (long)(SWIG_As_long(obj1));
26865 if (SWIG_arg_fail(2)) SWIG_fail;
26866 }
d55e5bfc
RD
26867 {
26868 PyThreadState* __tstate = wxPyBeginAllowThreads();
26869 result = (bool)(arg1)->IsSelected(arg2);
26870
26871 wxPyEndAllowThreads(__tstate);
26872 if (PyErr_Occurred()) SWIG_fail;
26873 }
26874 {
26875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26876 }
26877 return resultobj;
26878 fail:
26879 return NULL;
26880}
26881
26882
c370783e 26883static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26884 PyObject *resultobj;
26885 wxListView *arg1 = (wxListView *) 0 ;
26886 int arg2 ;
26887 int arg3 ;
26888 PyObject * obj0 = 0 ;
26889 PyObject * obj1 = 0 ;
26890 PyObject * obj2 = 0 ;
26891 char *kwnames[] = {
26892 (char *) "self",(char *) "col",(char *) "image", NULL
26893 };
26894
26895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26897 if (SWIG_arg_fail(1)) SWIG_fail;
26898 {
26899 arg2 = (int)(SWIG_As_int(obj1));
26900 if (SWIG_arg_fail(2)) SWIG_fail;
26901 }
26902 {
26903 arg3 = (int)(SWIG_As_int(obj2));
26904 if (SWIG_arg_fail(3)) SWIG_fail;
26905 }
d55e5bfc
RD
26906 {
26907 PyThreadState* __tstate = wxPyBeginAllowThreads();
26908 (arg1)->SetColumnImage(arg2,arg3);
26909
26910 wxPyEndAllowThreads(__tstate);
26911 if (PyErr_Occurred()) SWIG_fail;
26912 }
26913 Py_INCREF(Py_None); resultobj = Py_None;
26914 return resultobj;
26915 fail:
26916 return NULL;
26917}
26918
26919
c370783e 26920static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26921 PyObject *resultobj;
26922 wxListView *arg1 = (wxListView *) 0 ;
26923 int arg2 ;
26924 PyObject * obj0 = 0 ;
26925 PyObject * obj1 = 0 ;
26926 char *kwnames[] = {
26927 (char *) "self",(char *) "col", NULL
26928 };
26929
26930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26932 if (SWIG_arg_fail(1)) SWIG_fail;
26933 {
26934 arg2 = (int)(SWIG_As_int(obj1));
26935 if (SWIG_arg_fail(2)) SWIG_fail;
26936 }
d55e5bfc
RD
26937 {
26938 PyThreadState* __tstate = wxPyBeginAllowThreads();
26939 (arg1)->ClearColumnImage(arg2);
26940
26941 wxPyEndAllowThreads(__tstate);
26942 if (PyErr_Occurred()) SWIG_fail;
26943 }
26944 Py_INCREF(Py_None); resultobj = Py_None;
26945 return resultobj;
26946 fail:
26947 return NULL;
26948}
26949
26950
c370783e 26951static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26952 PyObject *obj;
26953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26954 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
26955 Py_INCREF(obj);
26956 return Py_BuildValue((char *)"");
26957}
c370783e 26958static int _wrap_TreeCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
26959 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
26960 return 1;
26961}
26962
26963
36ed4f51 26964static PyObject *_wrap_TreeCtrlNameStr_get(void) {
d55e5bfc
RD
26965 PyObject *pyobj;
26966
26967 {
26968#if wxUSE_UNICODE
26969 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
26970#else
26971 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
26972#endif
26973 }
26974 return pyobj;
26975}
26976
26977
c370783e 26978static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26979 PyObject *resultobj;
26980 wxTreeItemId *result;
26981 char *kwnames[] = {
26982 NULL
26983 };
26984
26985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
26986 {
26987 PyThreadState* __tstate = wxPyBeginAllowThreads();
26988 result = (wxTreeItemId *)new wxTreeItemId();
26989
26990 wxPyEndAllowThreads(__tstate);
26991 if (PyErr_Occurred()) SWIG_fail;
26992 }
26993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
26994 return resultobj;
26995 fail:
26996 return NULL;
26997}
26998
26999
c370783e 27000static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27001 PyObject *resultobj;
27002 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27003 PyObject * obj0 = 0 ;
27004 char *kwnames[] = {
27005 (char *) "self", NULL
27006 };
27007
27008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
36ed4f51
RD
27009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27010 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27011 {
27012 PyThreadState* __tstate = wxPyBeginAllowThreads();
27013 delete arg1;
27014
27015 wxPyEndAllowThreads(__tstate);
27016 if (PyErr_Occurred()) SWIG_fail;
27017 }
27018 Py_INCREF(Py_None); resultobj = Py_None;
27019 return resultobj;
27020 fail:
27021 return NULL;
27022}
27023
27024
c370783e 27025static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27026 PyObject *resultobj;
27027 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27028 bool result;
27029 PyObject * obj0 = 0 ;
27030 char *kwnames[] = {
27031 (char *) "self", NULL
27032 };
27033
27034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
27035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27036 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27040
27041 wxPyEndAllowThreads(__tstate);
27042 if (PyErr_Occurred()) SWIG_fail;
27043 }
27044 {
27045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27046 }
27047 return resultobj;
27048 fail:
27049 return NULL;
27050}
27051
27052
c370783e 27053static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27054 PyObject *resultobj;
27055 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27056 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27057 bool result;
27058 PyObject * obj0 = 0 ;
27059 PyObject * obj1 = 0 ;
27060 char *kwnames[] = {
27061 (char *) "self",(char *) "other", NULL
27062 };
27063
27064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27066 if (SWIG_arg_fail(1)) SWIG_fail;
27067 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27068 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27069 {
27070 PyThreadState* __tstate = wxPyBeginAllowThreads();
27071 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27072
27073 wxPyEndAllowThreads(__tstate);
27074 if (PyErr_Occurred()) SWIG_fail;
27075 }
27076 {
27077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27078 }
27079 return resultobj;
27080 fail:
27081 return NULL;
27082}
27083
27084
c370783e 27085static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27086 PyObject *resultobj;
27087 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27088 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27089 bool result;
27090 PyObject * obj0 = 0 ;
27091 PyObject * obj1 = 0 ;
27092 char *kwnames[] = {
27093 (char *) "self",(char *) "other", NULL
27094 };
27095
27096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27098 if (SWIG_arg_fail(1)) SWIG_fail;
27099 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27100 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27101 {
27102 PyThreadState* __tstate = wxPyBeginAllowThreads();
27103 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27104
27105 wxPyEndAllowThreads(__tstate);
27106 if (PyErr_Occurred()) SWIG_fail;
27107 }
27108 {
27109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27110 }
27111 return resultobj;
27112 fail:
27113 return NULL;
27114}
27115
27116
c370783e 27117static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27118 PyObject *resultobj;
27119 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27120 void *arg2 = (void *) 0 ;
27121 PyObject * obj0 = 0 ;
27122 PyObject * obj1 = 0 ;
27123 char *kwnames[] = {
27124 (char *) "self",(char *) "m_pItem", NULL
27125 };
27126
27127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27129 if (SWIG_arg_fail(1)) SWIG_fail;
27130 {
27131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27132 SWIG_arg_fail(2);SWIG_fail;
27133 }
27134 }
d55e5bfc
RD
27135 if (arg1) (arg1)->m_pItem = arg2;
27136
27137 Py_INCREF(Py_None); resultobj = Py_None;
27138 return resultobj;
27139 fail:
27140 return NULL;
27141}
27142
27143
c370783e 27144static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27145 PyObject *resultobj;
27146 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27147 void *result;
27148 PyObject * obj0 = 0 ;
27149 char *kwnames[] = {
27150 (char *) "self", NULL
27151 };
27152
27153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
27154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27156 result = (void *) ((arg1)->m_pItem);
27157
27158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27159 return resultobj;
27160 fail:
27161 return NULL;
27162}
27163
27164
c370783e 27165static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27166 PyObject *obj;
27167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27168 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27169 Py_INCREF(obj);
27170 return Py_BuildValue((char *)"");
27171}
c370783e 27172static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27173 PyObject *resultobj;
27174 PyObject *arg1 = (PyObject *) NULL ;
27175 wxPyTreeItemData *result;
27176 PyObject * obj0 = 0 ;
27177 char *kwnames[] = {
27178 (char *) "obj", NULL
27179 };
27180
27181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27182 if (obj0) {
27183 arg1 = obj0;
27184 }
27185 {
27186 PyThreadState* __tstate = wxPyBeginAllowThreads();
27187 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27188
27189 wxPyEndAllowThreads(__tstate);
27190 if (PyErr_Occurred()) SWIG_fail;
27191 }
27192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27193 return resultobj;
27194 fail:
27195 return NULL;
27196}
27197
27198
c370783e 27199static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27200 PyObject *resultobj;
27201 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27202 PyObject *result;
27203 PyObject * obj0 = 0 ;
27204 char *kwnames[] = {
27205 (char *) "self", NULL
27206 };
27207
27208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
27209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27210 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27211 {
27212 PyThreadState* __tstate = wxPyBeginAllowThreads();
27213 result = (PyObject *)(arg1)->GetData();
27214
27215 wxPyEndAllowThreads(__tstate);
27216 if (PyErr_Occurred()) SWIG_fail;
27217 }
27218 resultobj = result;
27219 return resultobj;
27220 fail:
27221 return NULL;
27222}
27223
27224
c370783e 27225static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27226 PyObject *resultobj;
27227 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27228 PyObject *arg2 = (PyObject *) 0 ;
27229 PyObject * obj0 = 0 ;
27230 PyObject * obj1 = 0 ;
27231 char *kwnames[] = {
27232 (char *) "self",(char *) "obj", NULL
27233 };
27234
27235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27237 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27238 arg2 = obj1;
27239 {
27240 PyThreadState* __tstate = wxPyBeginAllowThreads();
27241 (arg1)->SetData(arg2);
27242
27243 wxPyEndAllowThreads(__tstate);
27244 if (PyErr_Occurred()) SWIG_fail;
27245 }
27246 Py_INCREF(Py_None); resultobj = Py_None;
27247 return resultobj;
27248 fail:
27249 return NULL;
27250}
27251
27252
c370783e 27253static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27254 PyObject *resultobj;
27255 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27256 wxTreeItemId *result;
27257 PyObject * obj0 = 0 ;
27258 char *kwnames[] = {
27259 (char *) "self", NULL
27260 };
27261
27262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
27263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27265 {
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 {
27268 wxTreeItemId const &_result_ref = (arg1)->GetId();
27269 result = (wxTreeItemId *) &_result_ref;
27270 }
27271
27272 wxPyEndAllowThreads(__tstate);
27273 if (PyErr_Occurred()) SWIG_fail;
27274 }
27275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27276 return resultobj;
27277 fail:
27278 return NULL;
27279}
27280
27281
c370783e 27282static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27283 PyObject *resultobj;
27284 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27285 wxTreeItemId *arg2 = 0 ;
27286 PyObject * obj0 = 0 ;
27287 PyObject * obj1 = 0 ;
27288 char *kwnames[] = {
27289 (char *) "self",(char *) "id", NULL
27290 };
27291
27292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27294 if (SWIG_arg_fail(1)) SWIG_fail;
27295 {
27296 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27297 if (SWIG_arg_fail(2)) SWIG_fail;
27298 if (arg2 == NULL) {
27299 SWIG_null_ref("wxTreeItemId");
27300 }
27301 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27302 }
27303 {
27304 PyThreadState* __tstate = wxPyBeginAllowThreads();
27305 (arg1)->SetId((wxTreeItemId const &)*arg2);
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 *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27318 PyObject *resultobj;
27319 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27320 PyObject * obj0 = 0 ;
27321 char *kwnames[] = {
27322 (char *) "self", NULL
27323 };
27324
27325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
27326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27328 {
27329 PyThreadState* __tstate = wxPyBeginAllowThreads();
27330 wxPyTreeItemData_Destroy(arg1);
27331
27332 wxPyEndAllowThreads(__tstate);
27333 if (PyErr_Occurred()) SWIG_fail;
27334 }
27335 Py_INCREF(Py_None); resultobj = Py_None;
27336 return resultobj;
27337 fail:
27338 return NULL;
27339}
27340
27341
c370783e 27342static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27343 PyObject *obj;
27344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27345 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27346 Py_INCREF(obj);
27347 return Py_BuildValue((char *)"");
27348}
c370783e 27349static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27350 PyObject *resultobj;
27351 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27352 int arg2 = (int) 0 ;
27353 wxTreeEvent *result;
27354 PyObject * obj0 = 0 ;
27355 PyObject * obj1 = 0 ;
27356 char *kwnames[] = {
27357 (char *) "commandType",(char *) "id", NULL
27358 };
27359
27360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27361 if (obj0) {
36ed4f51
RD
27362 {
27363 arg1 = (wxEventType)(SWIG_As_int(obj0));
27364 if (SWIG_arg_fail(1)) SWIG_fail;
27365 }
d55e5bfc
RD
27366 }
27367 if (obj1) {
36ed4f51
RD
27368 {
27369 arg2 = (int)(SWIG_As_int(obj1));
27370 if (SWIG_arg_fail(2)) SWIG_fail;
27371 }
d55e5bfc
RD
27372 }
27373 {
27374 PyThreadState* __tstate = wxPyBeginAllowThreads();
27375 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27376
27377 wxPyEndAllowThreads(__tstate);
27378 if (PyErr_Occurred()) SWIG_fail;
27379 }
27380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27381 return resultobj;
27382 fail:
27383 return NULL;
27384}
27385
27386
c370783e 27387static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27388 PyObject *resultobj;
27389 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27390 wxTreeItemId result;
27391 PyObject * obj0 = 0 ;
27392 char *kwnames[] = {
27393 (char *) "self", NULL
27394 };
27395
27396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
27397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27398 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27399 {
27400 PyThreadState* __tstate = wxPyBeginAllowThreads();
27401 result = ((wxTreeEvent const *)arg1)->GetItem();
27402
27403 wxPyEndAllowThreads(__tstate);
27404 if (PyErr_Occurred()) SWIG_fail;
27405 }
27406 {
27407 wxTreeItemId * resultptr;
36ed4f51 27408 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27409 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27410 }
27411 return resultobj;
27412 fail:
27413 return NULL;
27414}
27415
27416
c370783e 27417static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27418 PyObject *resultobj;
27419 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27420 wxTreeItemId *arg2 = 0 ;
27421 PyObject * obj0 = 0 ;
27422 PyObject * obj1 = 0 ;
27423 char *kwnames[] = {
27424 (char *) "self",(char *) "item", NULL
27425 };
27426
27427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27429 if (SWIG_arg_fail(1)) SWIG_fail;
27430 {
27431 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27432 if (SWIG_arg_fail(2)) SWIG_fail;
27433 if (arg2 == NULL) {
27434 SWIG_null_ref("wxTreeItemId");
27435 }
27436 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27437 }
27438 {
27439 PyThreadState* __tstate = wxPyBeginAllowThreads();
27440 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27441
27442 wxPyEndAllowThreads(__tstate);
27443 if (PyErr_Occurred()) SWIG_fail;
27444 }
27445 Py_INCREF(Py_None); resultobj = Py_None;
27446 return resultobj;
27447 fail:
27448 return NULL;
27449}
27450
27451
c370783e 27452static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27453 PyObject *resultobj;
27454 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27455 wxTreeItemId result;
27456 PyObject * obj0 = 0 ;
27457 char *kwnames[] = {
27458 (char *) "self", NULL
27459 };
27460
27461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
27462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27464 {
27465 PyThreadState* __tstate = wxPyBeginAllowThreads();
27466 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27467
27468 wxPyEndAllowThreads(__tstate);
27469 if (PyErr_Occurred()) SWIG_fail;
27470 }
27471 {
27472 wxTreeItemId * resultptr;
36ed4f51 27473 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27474 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27475 }
27476 return resultobj;
27477 fail:
27478 return NULL;
27479}
27480
27481
c370783e 27482static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27483 PyObject *resultobj;
27484 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27485 wxTreeItemId *arg2 = 0 ;
27486 PyObject * obj0 = 0 ;
27487 PyObject * obj1 = 0 ;
27488 char *kwnames[] = {
27489 (char *) "self",(char *) "item", NULL
27490 };
27491
27492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27494 if (SWIG_arg_fail(1)) SWIG_fail;
27495 {
27496 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27497 if (SWIG_arg_fail(2)) SWIG_fail;
27498 if (arg2 == NULL) {
27499 SWIG_null_ref("wxTreeItemId");
27500 }
27501 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27502 }
27503 {
27504 PyThreadState* __tstate = wxPyBeginAllowThreads();
27505 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27506
27507 wxPyEndAllowThreads(__tstate);
27508 if (PyErr_Occurred()) SWIG_fail;
27509 }
27510 Py_INCREF(Py_None); resultobj = Py_None;
27511 return resultobj;
27512 fail:
27513 return NULL;
27514}
27515
27516
c370783e 27517static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27518 PyObject *resultobj;
27519 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27520 wxPoint result;
27521 PyObject * obj0 = 0 ;
27522 char *kwnames[] = {
27523 (char *) "self", NULL
27524 };
27525
27526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
27527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27529 {
27530 PyThreadState* __tstate = wxPyBeginAllowThreads();
27531 result = ((wxTreeEvent const *)arg1)->GetPoint();
27532
27533 wxPyEndAllowThreads(__tstate);
27534 if (PyErr_Occurred()) SWIG_fail;
27535 }
27536 {
27537 wxPoint * resultptr;
36ed4f51 27538 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
27539 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27540 }
27541 return resultobj;
27542 fail:
27543 return NULL;
27544}
27545
27546
c370783e 27547static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27548 PyObject *resultobj;
27549 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27550 wxPoint *arg2 = 0 ;
27551 wxPoint temp2 ;
27552 PyObject * obj0 = 0 ;
27553 PyObject * obj1 = 0 ;
27554 char *kwnames[] = {
27555 (char *) "self",(char *) "pt", NULL
27556 };
27557
27558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27560 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27561 {
27562 arg2 = &temp2;
27563 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27564 }
27565 {
27566 PyThreadState* __tstate = wxPyBeginAllowThreads();
27567 (arg1)->SetPoint((wxPoint const &)*arg2);
27568
27569 wxPyEndAllowThreads(__tstate);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
27572 Py_INCREF(Py_None); resultobj = Py_None;
27573 return resultobj;
27574 fail:
27575 return NULL;
27576}
27577
27578
c370783e 27579static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27580 PyObject *resultobj;
27581 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27582 wxKeyEvent *result;
27583 PyObject * obj0 = 0 ;
27584 char *kwnames[] = {
27585 (char *) "self", NULL
27586 };
27587
27588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
27589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27590 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27591 {
27592 PyThreadState* __tstate = wxPyBeginAllowThreads();
27593 {
27594 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27595 result = (wxKeyEvent *) &_result_ref;
27596 }
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27602 return resultobj;
27603 fail:
27604 return NULL;
27605}
27606
27607
c370783e 27608static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27609 PyObject *resultobj;
27610 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27611 int result;
27612 PyObject * obj0 = 0 ;
27613 char *kwnames[] = {
27614 (char *) "self", NULL
27615 };
27616
27617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
27618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27619 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27620 {
27621 PyThreadState* __tstate = wxPyBeginAllowThreads();
27622 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27623
27624 wxPyEndAllowThreads(__tstate);
27625 if (PyErr_Occurred()) SWIG_fail;
27626 }
36ed4f51
RD
27627 {
27628 resultobj = SWIG_From_int((int)(result));
27629 }
d55e5bfc
RD
27630 return resultobj;
27631 fail:
27632 return NULL;
27633}
27634
27635
c370783e 27636static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27637 PyObject *resultobj;
27638 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27639 wxKeyEvent *arg2 = 0 ;
27640 PyObject * obj0 = 0 ;
27641 PyObject * obj1 = 0 ;
27642 char *kwnames[] = {
27643 (char *) "self",(char *) "evt", NULL
27644 };
27645
27646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27648 if (SWIG_arg_fail(1)) SWIG_fail;
27649 {
27650 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27651 if (SWIG_arg_fail(2)) SWIG_fail;
27652 if (arg2 == NULL) {
27653 SWIG_null_ref("wxKeyEvent");
27654 }
27655 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27656 }
27657 {
27658 PyThreadState* __tstate = wxPyBeginAllowThreads();
27659 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27660
27661 wxPyEndAllowThreads(__tstate);
27662 if (PyErr_Occurred()) SWIG_fail;
27663 }
27664 Py_INCREF(Py_None); resultobj = Py_None;
27665 return resultobj;
27666 fail:
27667 return NULL;
27668}
27669
27670
c370783e 27671static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27672 PyObject *resultobj;
27673 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27674 wxString *result;
27675 PyObject * obj0 = 0 ;
27676 char *kwnames[] = {
27677 (char *) "self", NULL
27678 };
27679
27680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
27681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27682 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27683 {
27684 PyThreadState* __tstate = wxPyBeginAllowThreads();
27685 {
27686 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27687 result = (wxString *) &_result_ref;
27688 }
27689
27690 wxPyEndAllowThreads(__tstate);
27691 if (PyErr_Occurred()) SWIG_fail;
27692 }
27693 {
27694#if wxUSE_UNICODE
27695 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27696#else
27697 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27698#endif
27699 }
27700 return resultobj;
27701 fail:
27702 return NULL;
27703}
27704
27705
c370783e 27706static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27707 PyObject *resultobj;
27708 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27709 wxString *arg2 = 0 ;
b411df4a 27710 bool temp2 = false ;
d55e5bfc
RD
27711 PyObject * obj0 = 0 ;
27712 PyObject * obj1 = 0 ;
27713 char *kwnames[] = {
27714 (char *) "self",(char *) "label", NULL
27715 };
27716
27717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27719 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27720 {
27721 arg2 = wxString_in_helper(obj1);
27722 if (arg2 == NULL) SWIG_fail;
b411df4a 27723 temp2 = true;
d55e5bfc
RD
27724 }
27725 {
27726 PyThreadState* __tstate = wxPyBeginAllowThreads();
27727 (arg1)->SetLabel((wxString const &)*arg2);
27728
27729 wxPyEndAllowThreads(__tstate);
27730 if (PyErr_Occurred()) SWIG_fail;
27731 }
27732 Py_INCREF(Py_None); resultobj = Py_None;
27733 {
27734 if (temp2)
27735 delete arg2;
27736 }
27737 return resultobj;
27738 fail:
27739 {
27740 if (temp2)
27741 delete arg2;
27742 }
27743 return NULL;
27744}
27745
27746
c370783e 27747static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27748 PyObject *resultobj;
27749 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27750 bool result;
27751 PyObject * obj0 = 0 ;
27752 char *kwnames[] = {
27753 (char *) "self", NULL
27754 };
27755
27756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
36ed4f51
RD
27757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27758 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27759 {
27760 PyThreadState* __tstate = wxPyBeginAllowThreads();
27761 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27762
27763 wxPyEndAllowThreads(__tstate);
27764 if (PyErr_Occurred()) SWIG_fail;
27765 }
27766 {
27767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27768 }
27769 return resultobj;
27770 fail:
27771 return NULL;
27772}
27773
27774
c370783e 27775static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27776 PyObject *resultobj;
27777 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27778 bool arg2 ;
27779 PyObject * obj0 = 0 ;
27780 PyObject * obj1 = 0 ;
27781 char *kwnames[] = {
27782 (char *) "self",(char *) "editCancelled", NULL
27783 };
27784
27785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27787 if (SWIG_arg_fail(1)) SWIG_fail;
27788 {
27789 arg2 = (bool)(SWIG_As_bool(obj1));
27790 if (SWIG_arg_fail(2)) SWIG_fail;
27791 }
d55e5bfc
RD
27792 {
27793 PyThreadState* __tstate = wxPyBeginAllowThreads();
27794 (arg1)->SetEditCanceled(arg2);
27795
27796 wxPyEndAllowThreads(__tstate);
27797 if (PyErr_Occurred()) SWIG_fail;
27798 }
27799 Py_INCREF(Py_None); resultobj = Py_None;
27800 return resultobj;
27801 fail:
27802 return NULL;
27803}
27804
27805
c370783e 27806static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27807 PyObject *resultobj;
27808 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27809 wxString *arg2 = 0 ;
b411df4a 27810 bool temp2 = false ;
d55e5bfc
RD
27811 PyObject * obj0 = 0 ;
27812 PyObject * obj1 = 0 ;
27813 char *kwnames[] = {
27814 (char *) "self",(char *) "toolTip", NULL
27815 };
27816
27817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27819 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27820 {
27821 arg2 = wxString_in_helper(obj1);
27822 if (arg2 == NULL) SWIG_fail;
b411df4a 27823 temp2 = true;
d55e5bfc
RD
27824 }
27825 {
27826 PyThreadState* __tstate = wxPyBeginAllowThreads();
27827 (arg1)->SetToolTip((wxString const &)*arg2);
27828
27829 wxPyEndAllowThreads(__tstate);
27830 if (PyErr_Occurred()) SWIG_fail;
27831 }
27832 Py_INCREF(Py_None); resultobj = Py_None;
27833 {
27834 if (temp2)
27835 delete arg2;
27836 }
27837 return resultobj;
27838 fail:
27839 {
27840 if (temp2)
27841 delete arg2;
27842 }
27843 return NULL;
27844}
27845
27846
dcb8fc74
RD
27847static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27848 PyObject *resultobj;
27849 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27850 wxString result;
27851 PyObject * obj0 = 0 ;
27852 char *kwnames[] = {
27853 (char *) "self", NULL
27854 };
27855
27856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27858 if (SWIG_arg_fail(1)) SWIG_fail;
27859 {
27860 PyThreadState* __tstate = wxPyBeginAllowThreads();
27861 result = (arg1)->GetToolTip();
27862
27863 wxPyEndAllowThreads(__tstate);
27864 if (PyErr_Occurred()) SWIG_fail;
27865 }
27866 {
27867#if wxUSE_UNICODE
27868 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27869#else
27870 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27871#endif
27872 }
27873 return resultobj;
27874 fail:
27875 return NULL;
27876}
27877
27878
c370783e 27879static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27880 PyObject *obj;
27881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27882 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27883 Py_INCREF(obj);
27884 return Py_BuildValue((char *)"");
27885}
c370783e 27886static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27887 PyObject *resultobj;
27888 wxWindow *arg1 = (wxWindow *) 0 ;
27889 int arg2 = (int) -1 ;
27890 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27891 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27892 wxSize const &arg4_defvalue = wxDefaultSize ;
27893 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27894 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27895 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27896 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27897 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27898 wxString *arg7 = (wxString *) &arg7_defvalue ;
27899 wxPyTreeCtrl *result;
27900 wxPoint temp3 ;
27901 wxSize temp4 ;
b411df4a 27902 bool temp7 = false ;
d55e5bfc
RD
27903 PyObject * obj0 = 0 ;
27904 PyObject * obj1 = 0 ;
27905 PyObject * obj2 = 0 ;
27906 PyObject * obj3 = 0 ;
27907 PyObject * obj4 = 0 ;
27908 PyObject * obj5 = 0 ;
27909 PyObject * obj6 = 0 ;
27910 char *kwnames[] = {
27911 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27912 };
27913
27914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27916 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27917 if (obj1) {
36ed4f51
RD
27918 {
27919 arg2 = (int)(SWIG_As_int(obj1));
27920 if (SWIG_arg_fail(2)) SWIG_fail;
27921 }
d55e5bfc
RD
27922 }
27923 if (obj2) {
27924 {
27925 arg3 = &temp3;
27926 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27927 }
27928 }
27929 if (obj3) {
27930 {
27931 arg4 = &temp4;
27932 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27933 }
27934 }
27935 if (obj4) {
36ed4f51
RD
27936 {
27937 arg5 = (long)(SWIG_As_long(obj4));
27938 if (SWIG_arg_fail(5)) SWIG_fail;
27939 }
d55e5bfc
RD
27940 }
27941 if (obj5) {
36ed4f51
RD
27942 {
27943 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27944 if (SWIG_arg_fail(6)) SWIG_fail;
27945 if (arg6 == NULL) {
27946 SWIG_null_ref("wxValidator");
27947 }
27948 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
27949 }
27950 }
27951 if (obj6) {
27952 {
27953 arg7 = wxString_in_helper(obj6);
27954 if (arg7 == NULL) SWIG_fail;
b411df4a 27955 temp7 = true;
d55e5bfc
RD
27956 }
27957 }
27958 {
0439c23b 27959 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27960 PyThreadState* __tstate = wxPyBeginAllowThreads();
27961 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27962
27963 wxPyEndAllowThreads(__tstate);
110da5b0 27964 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 27965 }
b0f7404b 27966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
27967 {
27968 if (temp7)
27969 delete arg7;
27970 }
27971 return resultobj;
27972 fail:
27973 {
27974 if (temp7)
27975 delete arg7;
27976 }
27977 return NULL;
27978}
27979
27980
c370783e 27981static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27982 PyObject *resultobj;
27983 wxPyTreeCtrl *result;
27984 char *kwnames[] = {
27985 NULL
27986 };
27987
27988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
27989 {
0439c23b 27990 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27991 PyThreadState* __tstate = wxPyBeginAllowThreads();
27992 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
27993
27994 wxPyEndAllowThreads(__tstate);
110da5b0 27995 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 27996 }
b0f7404b 27997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
27998 return resultobj;
27999 fail:
28000 return NULL;
28001}
28002
28003
c370783e 28004static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28005 PyObject *resultobj;
28006 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28007 wxWindow *arg2 = (wxWindow *) 0 ;
28008 int arg3 = (int) -1 ;
28009 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28010 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28011 wxSize const &arg5_defvalue = wxDefaultSize ;
28012 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28013 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28014 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28015 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28016 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28017 wxString *arg8 = (wxString *) &arg8_defvalue ;
28018 bool result;
28019 wxPoint temp4 ;
28020 wxSize temp5 ;
b411df4a 28021 bool temp8 = false ;
d55e5bfc
RD
28022 PyObject * obj0 = 0 ;
28023 PyObject * obj1 = 0 ;
28024 PyObject * obj2 = 0 ;
28025 PyObject * obj3 = 0 ;
28026 PyObject * obj4 = 0 ;
28027 PyObject * obj5 = 0 ;
28028 PyObject * obj6 = 0 ;
28029 PyObject * obj7 = 0 ;
28030 char *kwnames[] = {
28031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28032 };
28033
28034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
28035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28036 if (SWIG_arg_fail(1)) SWIG_fail;
28037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28038 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28039 if (obj2) {
36ed4f51
RD
28040 {
28041 arg3 = (int)(SWIG_As_int(obj2));
28042 if (SWIG_arg_fail(3)) SWIG_fail;
28043 }
d55e5bfc
RD
28044 }
28045 if (obj3) {
28046 {
28047 arg4 = &temp4;
28048 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28049 }
28050 }
28051 if (obj4) {
28052 {
28053 arg5 = &temp5;
28054 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28055 }
28056 }
28057 if (obj5) {
36ed4f51
RD
28058 {
28059 arg6 = (long)(SWIG_As_long(obj5));
28060 if (SWIG_arg_fail(6)) SWIG_fail;
28061 }
d55e5bfc
RD
28062 }
28063 if (obj6) {
36ed4f51
RD
28064 {
28065 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28066 if (SWIG_arg_fail(7)) SWIG_fail;
28067 if (arg7 == NULL) {
28068 SWIG_null_ref("wxValidator");
28069 }
28070 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
28071 }
28072 }
28073 if (obj7) {
28074 {
28075 arg8 = wxString_in_helper(obj7);
28076 if (arg8 == NULL) SWIG_fail;
b411df4a 28077 temp8 = true;
d55e5bfc
RD
28078 }
28079 }
28080 {
28081 PyThreadState* __tstate = wxPyBeginAllowThreads();
28082 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28083
28084 wxPyEndAllowThreads(__tstate);
28085 if (PyErr_Occurred()) SWIG_fail;
28086 }
28087 {
28088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28089 }
28090 {
28091 if (temp8)
28092 delete arg8;
28093 }
28094 return resultobj;
28095 fail:
28096 {
28097 if (temp8)
28098 delete arg8;
28099 }
28100 return NULL;
28101}
28102
28103
c370783e 28104static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28105 PyObject *resultobj;
28106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28107 PyObject *arg2 = (PyObject *) 0 ;
28108 PyObject *arg3 = (PyObject *) 0 ;
28109 PyObject * obj0 = 0 ;
28110 PyObject * obj1 = 0 ;
28111 PyObject * obj2 = 0 ;
28112 char *kwnames[] = {
28113 (char *) "self",(char *) "self",(char *) "_class", NULL
28114 };
28115
28116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28118 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28119 arg2 = obj1;
28120 arg3 = obj2;
28121 {
28122 PyThreadState* __tstate = wxPyBeginAllowThreads();
28123 (arg1)->_setCallbackInfo(arg2,arg3);
28124
28125 wxPyEndAllowThreads(__tstate);
28126 if (PyErr_Occurred()) SWIG_fail;
28127 }
28128 Py_INCREF(Py_None); resultobj = Py_None;
28129 return resultobj;
28130 fail:
28131 return NULL;
28132}
28133
28134
c370783e 28135static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28136 PyObject *resultobj;
28137 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28138 size_t result;
28139 PyObject * obj0 = 0 ;
28140 char *kwnames[] = {
28141 (char *) "self", NULL
28142 };
28143
28144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) 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;
d55e5bfc
RD
28147 {
28148 PyThreadState* __tstate = wxPyBeginAllowThreads();
28149 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28150
28151 wxPyEndAllowThreads(__tstate);
28152 if (PyErr_Occurred()) SWIG_fail;
28153 }
36ed4f51
RD
28154 {
28155 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28156 }
d55e5bfc
RD
28157 return resultobj;
28158 fail:
28159 return NULL;
28160}
28161
28162
c370783e 28163static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28164 PyObject *resultobj;
28165 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28166 unsigned int result;
28167 PyObject * obj0 = 0 ;
28168 char *kwnames[] = {
28169 (char *) "self", NULL
28170 };
28171
28172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
28173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28174 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28175 {
28176 PyThreadState* __tstate = wxPyBeginAllowThreads();
28177 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28178
28179 wxPyEndAllowThreads(__tstate);
28180 if (PyErr_Occurred()) SWIG_fail;
28181 }
36ed4f51
RD
28182 {
28183 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28184 }
d55e5bfc
RD
28185 return resultobj;
28186 fail:
28187 return NULL;
28188}
28189
28190
c370783e 28191static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28192 PyObject *resultobj;
28193 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28194 unsigned int arg2 ;
28195 PyObject * obj0 = 0 ;
28196 PyObject * obj1 = 0 ;
28197 char *kwnames[] = {
28198 (char *) "self",(char *) "indent", NULL
28199 };
28200
28201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28203 if (SWIG_arg_fail(1)) SWIG_fail;
28204 {
28205 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28206 if (SWIG_arg_fail(2)) SWIG_fail;
28207 }
d55e5bfc
RD
28208 {
28209 PyThreadState* __tstate = wxPyBeginAllowThreads();
28210 (arg1)->SetIndent(arg2);
28211
28212 wxPyEndAllowThreads(__tstate);
28213 if (PyErr_Occurred()) SWIG_fail;
28214 }
28215 Py_INCREF(Py_None); resultobj = Py_None;
28216 return resultobj;
28217 fail:
28218 return NULL;
28219}
28220
28221
c370783e 28222static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28223 PyObject *resultobj;
28224 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28225 unsigned int result;
28226 PyObject * obj0 = 0 ;
28227 char *kwnames[] = {
28228 (char *) "self", NULL
28229 };
28230
28231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
28232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28233 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28234 {
28235 PyThreadState* __tstate = wxPyBeginAllowThreads();
28236 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28237
28238 wxPyEndAllowThreads(__tstate);
28239 if (PyErr_Occurred()) SWIG_fail;
28240 }
36ed4f51
RD
28241 {
28242 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28243 }
d55e5bfc
RD
28244 return resultobj;
28245 fail:
28246 return NULL;
28247}
28248
28249
c370783e 28250static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28251 PyObject *resultobj;
28252 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28253 unsigned int arg2 ;
28254 PyObject * obj0 = 0 ;
28255 PyObject * obj1 = 0 ;
28256 char *kwnames[] = {
28257 (char *) "self",(char *) "spacing", NULL
28258 };
28259
28260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28262 if (SWIG_arg_fail(1)) SWIG_fail;
28263 {
28264 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28265 if (SWIG_arg_fail(2)) SWIG_fail;
28266 }
d55e5bfc
RD
28267 {
28268 PyThreadState* __tstate = wxPyBeginAllowThreads();
28269 (arg1)->SetSpacing(arg2);
28270
28271 wxPyEndAllowThreads(__tstate);
28272 if (PyErr_Occurred()) SWIG_fail;
28273 }
28274 Py_INCREF(Py_None); resultobj = Py_None;
28275 return resultobj;
28276 fail:
28277 return NULL;
28278}
28279
28280
c370783e 28281static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28282 PyObject *resultobj;
28283 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28284 wxImageList *result;
28285 PyObject * obj0 = 0 ;
28286 char *kwnames[] = {
28287 (char *) "self", NULL
28288 };
28289
28290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) 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;
d55e5bfc
RD
28293 {
28294 PyThreadState* __tstate = wxPyBeginAllowThreads();
28295 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28296
28297 wxPyEndAllowThreads(__tstate);
28298 if (PyErr_Occurred()) SWIG_fail;
28299 }
28300 {
412d302d 28301 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28302 }
28303 return resultobj;
28304 fail:
28305 return NULL;
28306}
28307
28308
c370783e 28309static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28310 PyObject *resultobj;
28311 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28312 wxImageList *result;
28313 PyObject * obj0 = 0 ;
28314 char *kwnames[] = {
28315 (char *) "self", NULL
28316 };
28317
28318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
28319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28321 {
28322 PyThreadState* __tstate = wxPyBeginAllowThreads();
28323 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28324
28325 wxPyEndAllowThreads(__tstate);
28326 if (PyErr_Occurred()) SWIG_fail;
28327 }
28328 {
412d302d 28329 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28330 }
28331 return resultobj;
28332 fail:
28333 return NULL;
28334}
28335
28336
c370783e 28337static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28338 PyObject *resultobj;
28339 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28340 wxImageList *arg2 = (wxImageList *) 0 ;
28341 PyObject * obj0 = 0 ;
28342 PyObject * obj1 = 0 ;
28343 char *kwnames[] = {
28344 (char *) "self",(char *) "imageList", NULL
28345 };
28346
28347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28349 if (SWIG_arg_fail(1)) SWIG_fail;
28350 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28351 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28352 {
28353 PyThreadState* __tstate = wxPyBeginAllowThreads();
28354 (arg1)->SetImageList(arg2);
28355
28356 wxPyEndAllowThreads(__tstate);
28357 if (PyErr_Occurred()) SWIG_fail;
28358 }
28359 Py_INCREF(Py_None); resultobj = Py_None;
28360 return resultobj;
28361 fail:
28362 return NULL;
28363}
28364
28365
c370783e 28366static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28367 PyObject *resultobj;
28368 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28369 wxImageList *arg2 = (wxImageList *) 0 ;
28370 PyObject * obj0 = 0 ;
28371 PyObject * obj1 = 0 ;
28372 char *kwnames[] = {
28373 (char *) "self",(char *) "imageList", NULL
28374 };
28375
28376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28378 if (SWIG_arg_fail(1)) SWIG_fail;
28379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28380 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28381 {
28382 PyThreadState* __tstate = wxPyBeginAllowThreads();
28383 (arg1)->SetStateImageList(arg2);
28384
28385 wxPyEndAllowThreads(__tstate);
28386 if (PyErr_Occurred()) SWIG_fail;
28387 }
28388 Py_INCREF(Py_None); resultobj = Py_None;
28389 return resultobj;
28390 fail:
28391 return NULL;
28392}
28393
28394
c370783e 28395static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28396 PyObject *resultobj;
28397 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28398 wxImageList *arg2 = (wxImageList *) 0 ;
28399 PyObject * obj0 = 0 ;
28400 PyObject * obj1 = 0 ;
28401 char *kwnames[] = {
28402 (char *) "self",(char *) "imageList", NULL
28403 };
28404
28405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28407 if (SWIG_arg_fail(1)) SWIG_fail;
28408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28409 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28410 {
28411 PyThreadState* __tstate = wxPyBeginAllowThreads();
28412 (arg1)->AssignImageList(arg2);
28413
28414 wxPyEndAllowThreads(__tstate);
28415 if (PyErr_Occurred()) SWIG_fail;
28416 }
28417 Py_INCREF(Py_None); resultobj = Py_None;
28418 return resultobj;
28419 fail:
28420 return NULL;
28421}
28422
28423
c370783e 28424static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28425 PyObject *resultobj;
28426 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28427 wxImageList *arg2 = (wxImageList *) 0 ;
28428 PyObject * obj0 = 0 ;
28429 PyObject * obj1 = 0 ;
28430 char *kwnames[] = {
28431 (char *) "self",(char *) "imageList", NULL
28432 };
28433
28434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28436 if (SWIG_arg_fail(1)) SWIG_fail;
28437 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28438 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28439 {
28440 PyThreadState* __tstate = wxPyBeginAllowThreads();
28441 (arg1)->AssignStateImageList(arg2);
28442
28443 wxPyEndAllowThreads(__tstate);
28444 if (PyErr_Occurred()) SWIG_fail;
28445 }
28446 Py_INCREF(Py_None); resultobj = Py_None;
28447 return resultobj;
28448 fail:
28449 return NULL;
28450}
28451
28452
c370783e 28453static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28454 PyObject *resultobj;
28455 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28456 wxTreeItemId *arg2 = 0 ;
28457 wxString result;
28458 PyObject * obj0 = 0 ;
28459 PyObject * obj1 = 0 ;
28460 char *kwnames[] = {
28461 (char *) "self",(char *) "item", NULL
28462 };
28463
28464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28466 if (SWIG_arg_fail(1)) SWIG_fail;
28467 {
28468 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28469 if (SWIG_arg_fail(2)) SWIG_fail;
28470 if (arg2 == NULL) {
28471 SWIG_null_ref("wxTreeItemId");
28472 }
28473 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28474 }
28475 {
28476 PyThreadState* __tstate = wxPyBeginAllowThreads();
28477 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28478
28479 wxPyEndAllowThreads(__tstate);
28480 if (PyErr_Occurred()) SWIG_fail;
28481 }
28482 {
28483#if wxUSE_UNICODE
28484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28485#else
28486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28487#endif
28488 }
28489 return resultobj;
28490 fail:
28491 return NULL;
28492}
28493
28494
c370783e 28495static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28496 PyObject *resultobj;
28497 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28498 wxTreeItemId *arg2 = 0 ;
36ed4f51 28499 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28500 int result;
28501 PyObject * obj0 = 0 ;
28502 PyObject * obj1 = 0 ;
28503 PyObject * obj2 = 0 ;
28504 char *kwnames[] = {
28505 (char *) "self",(char *) "item",(char *) "which", NULL
28506 };
28507
28508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28510 if (SWIG_arg_fail(1)) SWIG_fail;
28511 {
28512 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28513 if (SWIG_arg_fail(2)) SWIG_fail;
28514 if (arg2 == NULL) {
28515 SWIG_null_ref("wxTreeItemId");
28516 }
28517 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28518 }
28519 if (obj2) {
36ed4f51
RD
28520 {
28521 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28522 if (SWIG_arg_fail(3)) SWIG_fail;
28523 }
d55e5bfc
RD
28524 }
28525 {
28526 PyThreadState* __tstate = wxPyBeginAllowThreads();
28527 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28528
28529 wxPyEndAllowThreads(__tstate);
28530 if (PyErr_Occurred()) SWIG_fail;
28531 }
36ed4f51
RD
28532 {
28533 resultobj = SWIG_From_int((int)(result));
28534 }
d55e5bfc
RD
28535 return resultobj;
28536 fail:
28537 return NULL;
28538}
28539
28540
c370783e 28541static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28542 PyObject *resultobj;
28543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28544 wxTreeItemId *arg2 = 0 ;
28545 wxPyTreeItemData *result;
28546 PyObject * obj0 = 0 ;
28547 PyObject * obj1 = 0 ;
28548 char *kwnames[] = {
28549 (char *) "self",(char *) "item", NULL
28550 };
28551
28552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28554 if (SWIG_arg_fail(1)) SWIG_fail;
28555 {
28556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28557 if (SWIG_arg_fail(2)) SWIG_fail;
28558 if (arg2 == NULL) {
28559 SWIG_null_ref("wxTreeItemId");
28560 }
28561 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28562 }
28563 {
28564 PyThreadState* __tstate = wxPyBeginAllowThreads();
28565 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28566
28567 wxPyEndAllowThreads(__tstate);
28568 if (PyErr_Occurred()) SWIG_fail;
28569 }
28570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28571 return resultobj;
28572 fail:
28573 return NULL;
28574}
28575
28576
c370783e 28577static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28578 PyObject *resultobj;
28579 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28580 wxTreeItemId *arg2 = 0 ;
28581 PyObject *result;
28582 PyObject * obj0 = 0 ;
28583 PyObject * obj1 = 0 ;
28584 char *kwnames[] = {
28585 (char *) "self",(char *) "item", NULL
28586 };
28587
28588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28590 if (SWIG_arg_fail(1)) SWIG_fail;
28591 {
28592 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28593 if (SWIG_arg_fail(2)) SWIG_fail;
28594 if (arg2 == NULL) {
28595 SWIG_null_ref("wxTreeItemId");
28596 }
28597 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28598 }
28599 {
28600 PyThreadState* __tstate = wxPyBeginAllowThreads();
28601 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28602
28603 wxPyEndAllowThreads(__tstate);
28604 if (PyErr_Occurred()) SWIG_fail;
28605 }
28606 resultobj = result;
28607 return resultobj;
28608 fail:
28609 return NULL;
28610}
28611
28612
c370783e 28613static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28614 PyObject *resultobj;
28615 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28616 wxTreeItemId *arg2 = 0 ;
28617 wxColour result;
28618 PyObject * obj0 = 0 ;
28619 PyObject * obj1 = 0 ;
28620 char *kwnames[] = {
28621 (char *) "self",(char *) "item", NULL
28622 };
28623
28624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28626 if (SWIG_arg_fail(1)) SWIG_fail;
28627 {
28628 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28629 if (SWIG_arg_fail(2)) SWIG_fail;
28630 if (arg2 == NULL) {
28631 SWIG_null_ref("wxTreeItemId");
28632 }
28633 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28634 }
28635 {
28636 PyThreadState* __tstate = wxPyBeginAllowThreads();
28637 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28638
28639 wxPyEndAllowThreads(__tstate);
28640 if (PyErr_Occurred()) SWIG_fail;
28641 }
28642 {
28643 wxColour * resultptr;
36ed4f51 28644 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28645 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28646 }
28647 return resultobj;
28648 fail:
28649 return NULL;
28650}
28651
28652
c370783e 28653static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28654 PyObject *resultobj;
28655 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28656 wxTreeItemId *arg2 = 0 ;
28657 wxColour result;
28658 PyObject * obj0 = 0 ;
28659 PyObject * obj1 = 0 ;
28660 char *kwnames[] = {
28661 (char *) "self",(char *) "item", NULL
28662 };
28663
28664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28666 if (SWIG_arg_fail(1)) SWIG_fail;
28667 {
28668 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28669 if (SWIG_arg_fail(2)) SWIG_fail;
28670 if (arg2 == NULL) {
28671 SWIG_null_ref("wxTreeItemId");
28672 }
28673 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28674 }
28675 {
28676 PyThreadState* __tstate = wxPyBeginAllowThreads();
28677 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28678
28679 wxPyEndAllowThreads(__tstate);
28680 if (PyErr_Occurred()) SWIG_fail;
28681 }
28682 {
28683 wxColour * resultptr;
36ed4f51 28684 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28685 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28686 }
28687 return resultobj;
28688 fail:
28689 return NULL;
28690}
28691
28692
c370783e 28693static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28694 PyObject *resultobj;
28695 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28696 wxTreeItemId *arg2 = 0 ;
28697 wxFont result;
28698 PyObject * obj0 = 0 ;
28699 PyObject * obj1 = 0 ;
28700 char *kwnames[] = {
28701 (char *) "self",(char *) "item", NULL
28702 };
28703
28704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28706 if (SWIG_arg_fail(1)) SWIG_fail;
28707 {
28708 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28709 if (SWIG_arg_fail(2)) SWIG_fail;
28710 if (arg2 == NULL) {
28711 SWIG_null_ref("wxTreeItemId");
28712 }
28713 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28714 }
28715 {
28716 PyThreadState* __tstate = wxPyBeginAllowThreads();
28717 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28718
28719 wxPyEndAllowThreads(__tstate);
28720 if (PyErr_Occurred()) SWIG_fail;
28721 }
28722 {
28723 wxFont * resultptr;
36ed4f51 28724 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
28725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28726 }
28727 return resultobj;
28728 fail:
28729 return NULL;
28730}
28731
28732
c370783e 28733static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28734 PyObject *resultobj;
28735 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28736 wxTreeItemId *arg2 = 0 ;
28737 wxString *arg3 = 0 ;
b411df4a 28738 bool temp3 = false ;
d55e5bfc
RD
28739 PyObject * obj0 = 0 ;
28740 PyObject * obj1 = 0 ;
28741 PyObject * obj2 = 0 ;
28742 char *kwnames[] = {
28743 (char *) "self",(char *) "item",(char *) "text", NULL
28744 };
28745
28746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28748 if (SWIG_arg_fail(1)) SWIG_fail;
28749 {
28750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28751 if (SWIG_arg_fail(2)) SWIG_fail;
28752 if (arg2 == NULL) {
28753 SWIG_null_ref("wxTreeItemId");
28754 }
28755 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28756 }
28757 {
28758 arg3 = wxString_in_helper(obj2);
28759 if (arg3 == NULL) SWIG_fail;
b411df4a 28760 temp3 = true;
d55e5bfc
RD
28761 }
28762 {
28763 PyThreadState* __tstate = wxPyBeginAllowThreads();
28764 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28765
28766 wxPyEndAllowThreads(__tstate);
28767 if (PyErr_Occurred()) SWIG_fail;
28768 }
28769 Py_INCREF(Py_None); resultobj = Py_None;
28770 {
28771 if (temp3)
28772 delete arg3;
28773 }
28774 return resultobj;
28775 fail:
28776 {
28777 if (temp3)
28778 delete arg3;
28779 }
28780 return NULL;
28781}
28782
28783
c370783e 28784static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28785 PyObject *resultobj;
28786 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28787 wxTreeItemId *arg2 = 0 ;
28788 int arg3 ;
36ed4f51 28789 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28790 PyObject * obj0 = 0 ;
28791 PyObject * obj1 = 0 ;
28792 PyObject * obj2 = 0 ;
28793 PyObject * obj3 = 0 ;
28794 char *kwnames[] = {
28795 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28796 };
28797
28798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
28799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28800 if (SWIG_arg_fail(1)) SWIG_fail;
28801 {
28802 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28803 if (SWIG_arg_fail(2)) SWIG_fail;
28804 if (arg2 == NULL) {
28805 SWIG_null_ref("wxTreeItemId");
28806 }
28807 if (SWIG_arg_fail(2)) SWIG_fail;
28808 }
28809 {
28810 arg3 = (int)(SWIG_As_int(obj2));
28811 if (SWIG_arg_fail(3)) SWIG_fail;
28812 }
d55e5bfc 28813 if (obj3) {
36ed4f51
RD
28814 {
28815 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28816 if (SWIG_arg_fail(4)) SWIG_fail;
28817 }
d55e5bfc
RD
28818 }
28819 {
28820 PyThreadState* __tstate = wxPyBeginAllowThreads();
28821 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28822
28823 wxPyEndAllowThreads(__tstate);
28824 if (PyErr_Occurred()) SWIG_fail;
28825 }
28826 Py_INCREF(Py_None); resultobj = Py_None;
28827 return resultobj;
28828 fail:
28829 return NULL;
28830}
28831
28832
c370783e 28833static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28834 PyObject *resultobj;
28835 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28836 wxTreeItemId *arg2 = 0 ;
28837 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28838 PyObject * obj0 = 0 ;
28839 PyObject * obj1 = 0 ;
28840 PyObject * obj2 = 0 ;
28841 char *kwnames[] = {
28842 (char *) "self",(char *) "item",(char *) "data", NULL
28843 };
28844
28845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28847 if (SWIG_arg_fail(1)) SWIG_fail;
28848 {
28849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28850 if (SWIG_arg_fail(2)) SWIG_fail;
28851 if (arg2 == NULL) {
28852 SWIG_null_ref("wxTreeItemId");
28853 }
28854 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28855 }
36ed4f51
RD
28856 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28857 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
28858 {
28859 PyThreadState* __tstate = wxPyBeginAllowThreads();
28860 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28861
28862 wxPyEndAllowThreads(__tstate);
28863 if (PyErr_Occurred()) SWIG_fail;
28864 }
28865 Py_INCREF(Py_None); resultobj = Py_None;
28866 return resultobj;
28867 fail:
28868 return NULL;
28869}
28870
28871
c370783e 28872static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28873 PyObject *resultobj;
28874 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28875 wxTreeItemId *arg2 = 0 ;
28876 PyObject *arg3 = (PyObject *) 0 ;
28877 PyObject * obj0 = 0 ;
28878 PyObject * obj1 = 0 ;
28879 PyObject * obj2 = 0 ;
28880 char *kwnames[] = {
28881 (char *) "self",(char *) "item",(char *) "obj", NULL
28882 };
28883
28884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28886 if (SWIG_arg_fail(1)) SWIG_fail;
28887 {
28888 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28889 if (SWIG_arg_fail(2)) SWIG_fail;
28890 if (arg2 == NULL) {
28891 SWIG_null_ref("wxTreeItemId");
28892 }
28893 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28894 }
28895 arg3 = obj2;
28896 {
28897 PyThreadState* __tstate = wxPyBeginAllowThreads();
28898 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28899
28900 wxPyEndAllowThreads(__tstate);
28901 if (PyErr_Occurred()) SWIG_fail;
28902 }
28903 Py_INCREF(Py_None); resultobj = Py_None;
28904 return resultobj;
28905 fail:
28906 return NULL;
28907}
28908
28909
c370783e 28910static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28911 PyObject *resultobj;
28912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28913 wxTreeItemId *arg2 = 0 ;
b411df4a 28914 bool arg3 = (bool) true ;
d55e5bfc
RD
28915 PyObject * obj0 = 0 ;
28916 PyObject * obj1 = 0 ;
28917 PyObject * obj2 = 0 ;
28918 char *kwnames[] = {
28919 (char *) "self",(char *) "item",(char *) "has", NULL
28920 };
28921
28922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28924 if (SWIG_arg_fail(1)) SWIG_fail;
28925 {
28926 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28927 if (SWIG_arg_fail(2)) SWIG_fail;
28928 if (arg2 == NULL) {
28929 SWIG_null_ref("wxTreeItemId");
28930 }
28931 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28932 }
28933 if (obj2) {
36ed4f51
RD
28934 {
28935 arg3 = (bool)(SWIG_As_bool(obj2));
28936 if (SWIG_arg_fail(3)) SWIG_fail;
28937 }
d55e5bfc
RD
28938 }
28939 {
28940 PyThreadState* __tstate = wxPyBeginAllowThreads();
28941 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28942
28943 wxPyEndAllowThreads(__tstate);
28944 if (PyErr_Occurred()) SWIG_fail;
28945 }
28946 Py_INCREF(Py_None); resultobj = Py_None;
28947 return resultobj;
28948 fail:
28949 return NULL;
28950}
28951
28952
c370783e 28953static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28954 PyObject *resultobj;
28955 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28956 wxTreeItemId *arg2 = 0 ;
b411df4a 28957 bool arg3 = (bool) true ;
d55e5bfc
RD
28958 PyObject * obj0 = 0 ;
28959 PyObject * obj1 = 0 ;
28960 PyObject * obj2 = 0 ;
28961 char *kwnames[] = {
28962 (char *) "self",(char *) "item",(char *) "bold", NULL
28963 };
28964
28965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28967 if (SWIG_arg_fail(1)) SWIG_fail;
28968 {
28969 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28970 if (SWIG_arg_fail(2)) SWIG_fail;
28971 if (arg2 == NULL) {
28972 SWIG_null_ref("wxTreeItemId");
28973 }
28974 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28975 }
28976 if (obj2) {
36ed4f51
RD
28977 {
28978 arg3 = (bool)(SWIG_As_bool(obj2));
28979 if (SWIG_arg_fail(3)) SWIG_fail;
28980 }
d55e5bfc
RD
28981 }
28982 {
28983 PyThreadState* __tstate = wxPyBeginAllowThreads();
28984 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
28985
28986 wxPyEndAllowThreads(__tstate);
28987 if (PyErr_Occurred()) SWIG_fail;
28988 }
28989 Py_INCREF(Py_None); resultobj = Py_None;
28990 return resultobj;
28991 fail:
28992 return NULL;
28993}
28994
28995
fef4c27a
RD
28996static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
28997 PyObject *resultobj;
28998 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28999 wxTreeItemId *arg2 = 0 ;
29000 bool arg3 = (bool) true ;
29001 PyObject * obj0 = 0 ;
29002 PyObject * obj1 = 0 ;
29003 PyObject * obj2 = 0 ;
29004 char *kwnames[] = {
29005 (char *) "self",(char *) "item",(char *) "highlight", NULL
29006 };
29007
29008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
29009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29010 if (SWIG_arg_fail(1)) SWIG_fail;
29011 {
29012 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29013 if (SWIG_arg_fail(2)) SWIG_fail;
29014 if (arg2 == NULL) {
29015 SWIG_null_ref("wxTreeItemId");
29016 }
29017 if (SWIG_arg_fail(2)) SWIG_fail;
29018 }
29019 if (obj2) {
29020 {
29021 arg3 = (bool)(SWIG_As_bool(obj2));
29022 if (SWIG_arg_fail(3)) SWIG_fail;
29023 }
29024 }
29025 {
29026 PyThreadState* __tstate = wxPyBeginAllowThreads();
29027 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29028
29029 wxPyEndAllowThreads(__tstate);
29030 if (PyErr_Occurred()) SWIG_fail;
29031 }
29032 Py_INCREF(Py_None); resultobj = Py_None;
29033 return resultobj;
29034 fail:
29035 return NULL;
29036}
29037
29038
c370783e 29039static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29040 PyObject *resultobj;
29041 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29042 wxTreeItemId *arg2 = 0 ;
29043 wxColour *arg3 = 0 ;
29044 wxColour temp3 ;
29045 PyObject * obj0 = 0 ;
29046 PyObject * obj1 = 0 ;
29047 PyObject * obj2 = 0 ;
29048 char *kwnames[] = {
29049 (char *) "self",(char *) "item",(char *) "col", NULL
29050 };
29051
29052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29054 if (SWIG_arg_fail(1)) SWIG_fail;
29055 {
29056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29057 if (SWIG_arg_fail(2)) SWIG_fail;
29058 if (arg2 == NULL) {
29059 SWIG_null_ref("wxTreeItemId");
29060 }
29061 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29062 }
29063 {
29064 arg3 = &temp3;
29065 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29066 }
29067 {
29068 PyThreadState* __tstate = wxPyBeginAllowThreads();
29069 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29070
29071 wxPyEndAllowThreads(__tstate);
29072 if (PyErr_Occurred()) SWIG_fail;
29073 }
29074 Py_INCREF(Py_None); resultobj = Py_None;
29075 return resultobj;
29076 fail:
29077 return NULL;
29078}
29079
29080
c370783e 29081static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29082 PyObject *resultobj;
29083 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29084 wxTreeItemId *arg2 = 0 ;
29085 wxColour *arg3 = 0 ;
29086 wxColour temp3 ;
29087 PyObject * obj0 = 0 ;
29088 PyObject * obj1 = 0 ;
29089 PyObject * obj2 = 0 ;
29090 char *kwnames[] = {
29091 (char *) "self",(char *) "item",(char *) "col", NULL
29092 };
29093
29094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29096 if (SWIG_arg_fail(1)) SWIG_fail;
29097 {
29098 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29099 if (SWIG_arg_fail(2)) SWIG_fail;
29100 if (arg2 == NULL) {
29101 SWIG_null_ref("wxTreeItemId");
29102 }
29103 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29104 }
29105 {
29106 arg3 = &temp3;
29107 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29108 }
29109 {
29110 PyThreadState* __tstate = wxPyBeginAllowThreads();
29111 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29112
29113 wxPyEndAllowThreads(__tstate);
29114 if (PyErr_Occurred()) SWIG_fail;
29115 }
29116 Py_INCREF(Py_None); resultobj = Py_None;
29117 return resultobj;
29118 fail:
29119 return NULL;
29120}
29121
29122
c370783e 29123static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29124 PyObject *resultobj;
29125 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29126 wxTreeItemId *arg2 = 0 ;
29127 wxFont *arg3 = 0 ;
29128 PyObject * obj0 = 0 ;
29129 PyObject * obj1 = 0 ;
29130 PyObject * obj2 = 0 ;
29131 char *kwnames[] = {
29132 (char *) "self",(char *) "item",(char *) "font", NULL
29133 };
29134
29135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29137 if (SWIG_arg_fail(1)) SWIG_fail;
29138 {
29139 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29140 if (SWIG_arg_fail(2)) SWIG_fail;
29141 if (arg2 == NULL) {
29142 SWIG_null_ref("wxTreeItemId");
29143 }
29144 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 29145 }
36ed4f51
RD
29146 {
29147 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29148 if (SWIG_arg_fail(3)) SWIG_fail;
29149 if (arg3 == NULL) {
29150 SWIG_null_ref("wxFont");
29151 }
29152 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29153 }
29154 {
29155 PyThreadState* __tstate = wxPyBeginAllowThreads();
29156 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29157
29158 wxPyEndAllowThreads(__tstate);
29159 if (PyErr_Occurred()) SWIG_fail;
29160 }
29161 Py_INCREF(Py_None); resultobj = Py_None;
29162 return resultobj;
29163 fail:
29164 return NULL;
29165}
29166
29167
c370783e 29168static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29169 PyObject *resultobj;
29170 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29171 wxTreeItemId *arg2 = 0 ;
29172 bool result;
29173 PyObject * obj0 = 0 ;
29174 PyObject * obj1 = 0 ;
29175 char *kwnames[] = {
29176 (char *) "self",(char *) "item", NULL
29177 };
29178
29179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29181 if (SWIG_arg_fail(1)) SWIG_fail;
29182 {
29183 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29184 if (SWIG_arg_fail(2)) SWIG_fail;
29185 if (arg2 == NULL) {
29186 SWIG_null_ref("wxTreeItemId");
29187 }
29188 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29189 }
29190 {
29191 PyThreadState* __tstate = wxPyBeginAllowThreads();
29192 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29193
29194 wxPyEndAllowThreads(__tstate);
29195 if (PyErr_Occurred()) SWIG_fail;
29196 }
29197 {
29198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29199 }
29200 return resultobj;
29201 fail:
29202 return NULL;
29203}
29204
29205
c370783e 29206static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29207 PyObject *resultobj;
29208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29209 wxTreeItemId *arg2 = 0 ;
29210 bool result;
29211 PyObject * obj0 = 0 ;
29212 PyObject * obj1 = 0 ;
29213 char *kwnames[] = {
29214 (char *) "self",(char *) "item", NULL
29215 };
29216
29217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29219 if (SWIG_arg_fail(1)) SWIG_fail;
29220 {
29221 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29222 if (SWIG_arg_fail(2)) SWIG_fail;
29223 if (arg2 == NULL) {
29224 SWIG_null_ref("wxTreeItemId");
29225 }
29226 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29227 }
29228 {
29229 PyThreadState* __tstate = wxPyBeginAllowThreads();
29230 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29231
29232 wxPyEndAllowThreads(__tstate);
29233 if (PyErr_Occurred()) SWIG_fail;
29234 }
29235 {
29236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29237 }
29238 return resultobj;
29239 fail:
29240 return NULL;
29241}
29242
29243
c370783e 29244static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29245 PyObject *resultobj;
29246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29247 wxTreeItemId *arg2 = 0 ;
29248 bool result;
29249 PyObject * obj0 = 0 ;
29250 PyObject * obj1 = 0 ;
29251 char *kwnames[] = {
29252 (char *) "self",(char *) "item", NULL
29253 };
29254
29255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29257 if (SWIG_arg_fail(1)) SWIG_fail;
29258 {
29259 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29260 if (SWIG_arg_fail(2)) SWIG_fail;
29261 if (arg2 == NULL) {
29262 SWIG_null_ref("wxTreeItemId");
29263 }
29264 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29265 }
29266 {
29267 PyThreadState* __tstate = wxPyBeginAllowThreads();
29268 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29269
29270 wxPyEndAllowThreads(__tstate);
29271 if (PyErr_Occurred()) SWIG_fail;
29272 }
29273 {
29274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29275 }
29276 return resultobj;
29277 fail:
29278 return NULL;
29279}
29280
29281
c370783e 29282static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29283 PyObject *resultobj;
29284 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29285 wxTreeItemId *arg2 = 0 ;
29286 bool result;
29287 PyObject * obj0 = 0 ;
29288 PyObject * obj1 = 0 ;
29289 char *kwnames[] = {
29290 (char *) "self",(char *) "item", NULL
29291 };
29292
29293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29295 if (SWIG_arg_fail(1)) SWIG_fail;
29296 {
29297 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29298 if (SWIG_arg_fail(2)) SWIG_fail;
29299 if (arg2 == NULL) {
29300 SWIG_null_ref("wxTreeItemId");
29301 }
29302 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29303 }
29304 {
29305 PyThreadState* __tstate = wxPyBeginAllowThreads();
29306 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29307
29308 wxPyEndAllowThreads(__tstate);
29309 if (PyErr_Occurred()) SWIG_fail;
29310 }
29311 {
29312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29313 }
29314 return resultobj;
29315 fail:
29316 return NULL;
29317}
29318
29319
c370783e 29320static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29321 PyObject *resultobj;
29322 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29323 wxTreeItemId *arg2 = 0 ;
29324 bool result;
29325 PyObject * obj0 = 0 ;
29326 PyObject * obj1 = 0 ;
29327 char *kwnames[] = {
29328 (char *) "self",(char *) "item", NULL
29329 };
29330
29331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29333 if (SWIG_arg_fail(1)) SWIG_fail;
29334 {
29335 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29336 if (SWIG_arg_fail(2)) SWIG_fail;
29337 if (arg2 == NULL) {
29338 SWIG_null_ref("wxTreeItemId");
29339 }
29340 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29341 }
29342 {
29343 PyThreadState* __tstate = wxPyBeginAllowThreads();
29344 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29345
29346 wxPyEndAllowThreads(__tstate);
29347 if (PyErr_Occurred()) SWIG_fail;
29348 }
29349 {
29350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29351 }
29352 return resultobj;
29353 fail:
29354 return NULL;
29355}
29356
29357
c370783e 29358static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29359 PyObject *resultobj;
29360 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29361 wxTreeItemId *arg2 = 0 ;
b411df4a 29362 bool arg3 = (bool) true ;
d55e5bfc
RD
29363 size_t result;
29364 PyObject * obj0 = 0 ;
29365 PyObject * obj1 = 0 ;
29366 PyObject * obj2 = 0 ;
29367 char *kwnames[] = {
29368 (char *) "self",(char *) "item",(char *) "recursively", NULL
29369 };
29370
29371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29373 if (SWIG_arg_fail(1)) SWIG_fail;
29374 {
29375 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29376 if (SWIG_arg_fail(2)) SWIG_fail;
29377 if (arg2 == NULL) {
29378 SWIG_null_ref("wxTreeItemId");
29379 }
29380 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29381 }
29382 if (obj2) {
36ed4f51
RD
29383 {
29384 arg3 = (bool)(SWIG_As_bool(obj2));
29385 if (SWIG_arg_fail(3)) SWIG_fail;
29386 }
d55e5bfc
RD
29387 }
29388 {
29389 PyThreadState* __tstate = wxPyBeginAllowThreads();
29390 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29391
29392 wxPyEndAllowThreads(__tstate);
29393 if (PyErr_Occurred()) SWIG_fail;
29394 }
36ed4f51
RD
29395 {
29396 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29397 }
d55e5bfc
RD
29398 return resultobj;
29399 fail:
29400 return NULL;
29401}
29402
29403
c370783e 29404static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29405 PyObject *resultobj;
29406 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29407 wxTreeItemId result;
29408 PyObject * obj0 = 0 ;
29409 char *kwnames[] = {
29410 (char *) "self", NULL
29411 };
29412
29413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
29414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29415 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29416 {
29417 PyThreadState* __tstate = wxPyBeginAllowThreads();
29418 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29419
29420 wxPyEndAllowThreads(__tstate);
29421 if (PyErr_Occurred()) SWIG_fail;
29422 }
29423 {
29424 wxTreeItemId * resultptr;
36ed4f51 29425 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29427 }
29428 return resultobj;
29429 fail:
29430 return NULL;
29431}
29432
29433
c370783e 29434static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29435 PyObject *resultobj;
29436 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29437 wxTreeItemId result;
29438 PyObject * obj0 = 0 ;
29439 char *kwnames[] = {
29440 (char *) "self", NULL
29441 };
29442
29443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
29444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29446 {
29447 PyThreadState* __tstate = wxPyBeginAllowThreads();
29448 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29449
29450 wxPyEndAllowThreads(__tstate);
29451 if (PyErr_Occurred()) SWIG_fail;
29452 }
29453 {
29454 wxTreeItemId * resultptr;
36ed4f51 29455 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29457 }
29458 return resultobj;
29459 fail:
29460 return NULL;
29461}
29462
29463
c370783e 29464static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29465 PyObject *resultobj;
29466 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29467 PyObject *result;
29468 PyObject * obj0 = 0 ;
29469 char *kwnames[] = {
29470 (char *) "self", NULL
29471 };
29472
29473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
29474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29475 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29476 {
29477 PyThreadState* __tstate = wxPyBeginAllowThreads();
29478 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29479
29480 wxPyEndAllowThreads(__tstate);
29481 if (PyErr_Occurred()) SWIG_fail;
29482 }
29483 resultobj = result;
29484 return resultobj;
29485 fail:
29486 return NULL;
29487}
29488
29489
c370783e 29490static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29491 PyObject *resultobj;
29492 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29493 wxTreeItemId *arg2 = 0 ;
29494 wxTreeItemId result;
29495 PyObject * obj0 = 0 ;
29496 PyObject * obj1 = 0 ;
29497 char *kwnames[] = {
29498 (char *) "self",(char *) "item", NULL
29499 };
29500
29501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29503 if (SWIG_arg_fail(1)) SWIG_fail;
29504 {
29505 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29506 if (SWIG_arg_fail(2)) SWIG_fail;
29507 if (arg2 == NULL) {
29508 SWIG_null_ref("wxTreeItemId");
29509 }
29510 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29511 }
29512 {
29513 PyThreadState* __tstate = wxPyBeginAllowThreads();
29514 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29515
29516 wxPyEndAllowThreads(__tstate);
29517 if (PyErr_Occurred()) SWIG_fail;
29518 }
29519 {
29520 wxTreeItemId * resultptr;
36ed4f51 29521 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29523 }
29524 return resultobj;
29525 fail:
29526 return NULL;
29527}
29528
29529
c370783e 29530static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29531 PyObject *resultobj;
29532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29533 wxTreeItemId *arg2 = 0 ;
29534 PyObject *result;
29535 PyObject * obj0 = 0 ;
29536 PyObject * obj1 = 0 ;
29537 char *kwnames[] = {
29538 (char *) "self",(char *) "item", NULL
29539 };
29540
29541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29543 if (SWIG_arg_fail(1)) SWIG_fail;
29544 {
29545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29546 if (SWIG_arg_fail(2)) SWIG_fail;
29547 if (arg2 == NULL) {
29548 SWIG_null_ref("wxTreeItemId");
29549 }
29550 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29551 }
29552 {
29553 PyThreadState* __tstate = wxPyBeginAllowThreads();
29554 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29555
29556 wxPyEndAllowThreads(__tstate);
29557 if (PyErr_Occurred()) SWIG_fail;
29558 }
29559 resultobj = result;
29560 return resultobj;
29561 fail:
29562 return NULL;
29563}
29564
29565
c370783e 29566static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29567 PyObject *resultobj;
29568 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29569 wxTreeItemId *arg2 = 0 ;
29570 void *arg3 = (void *) 0 ;
29571 PyObject *result;
29572 PyObject * obj0 = 0 ;
29573 PyObject * obj1 = 0 ;
29574 PyObject * obj2 = 0 ;
29575 char *kwnames[] = {
29576 (char *) "self",(char *) "item",(char *) "cookie", NULL
29577 };
29578
29579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29581 if (SWIG_arg_fail(1)) SWIG_fail;
29582 {
29583 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29584 if (SWIG_arg_fail(2)) SWIG_fail;
29585 if (arg2 == NULL) {
29586 SWIG_null_ref("wxTreeItemId");
29587 }
29588 if (SWIG_arg_fail(2)) SWIG_fail;
29589 }
29590 {
29591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29592 SWIG_arg_fail(3);SWIG_fail;
29593 }
d55e5bfc 29594 }
d55e5bfc
RD
29595 {
29596 PyThreadState* __tstate = wxPyBeginAllowThreads();
29597 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29598
29599 wxPyEndAllowThreads(__tstate);
29600 if (PyErr_Occurred()) SWIG_fail;
29601 }
29602 resultobj = result;
29603 return resultobj;
29604 fail:
29605 return NULL;
29606}
29607
29608
c370783e 29609static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29610 PyObject *resultobj;
29611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29612 wxTreeItemId *arg2 = 0 ;
29613 wxTreeItemId result;
29614 PyObject * obj0 = 0 ;
29615 PyObject * obj1 = 0 ;
29616 char *kwnames[] = {
29617 (char *) "self",(char *) "item", NULL
29618 };
29619
29620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29622 if (SWIG_arg_fail(1)) SWIG_fail;
29623 {
29624 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29625 if (SWIG_arg_fail(2)) SWIG_fail;
29626 if (arg2 == NULL) {
29627 SWIG_null_ref("wxTreeItemId");
29628 }
29629 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29630 }
29631 {
29632 PyThreadState* __tstate = wxPyBeginAllowThreads();
29633 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29634
29635 wxPyEndAllowThreads(__tstate);
29636 if (PyErr_Occurred()) SWIG_fail;
29637 }
29638 {
29639 wxTreeItemId * resultptr;
36ed4f51 29640 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29641 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29642 }
29643 return resultobj;
29644 fail:
29645 return NULL;
29646}
29647
29648
c370783e 29649static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29650 PyObject *resultobj;
29651 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29652 wxTreeItemId *arg2 = 0 ;
29653 wxTreeItemId result;
29654 PyObject * obj0 = 0 ;
29655 PyObject * obj1 = 0 ;
29656 char *kwnames[] = {
29657 (char *) "self",(char *) "item", NULL
29658 };
29659
29660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29662 if (SWIG_arg_fail(1)) SWIG_fail;
29663 {
29664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29665 if (SWIG_arg_fail(2)) SWIG_fail;
29666 if (arg2 == NULL) {
29667 SWIG_null_ref("wxTreeItemId");
29668 }
29669 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29670 }
29671 {
29672 PyThreadState* __tstate = wxPyBeginAllowThreads();
29673 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29674
29675 wxPyEndAllowThreads(__tstate);
29676 if (PyErr_Occurred()) SWIG_fail;
29677 }
29678 {
29679 wxTreeItemId * resultptr;
36ed4f51 29680 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29682 }
29683 return resultobj;
29684 fail:
29685 return NULL;
29686}
29687
29688
c370783e 29689static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29690 PyObject *resultobj;
29691 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29692 wxTreeItemId *arg2 = 0 ;
29693 wxTreeItemId result;
29694 PyObject * obj0 = 0 ;
29695 PyObject * obj1 = 0 ;
29696 char *kwnames[] = {
29697 (char *) "self",(char *) "item", NULL
29698 };
29699
29700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29702 if (SWIG_arg_fail(1)) SWIG_fail;
29703 {
29704 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29705 if (SWIG_arg_fail(2)) SWIG_fail;
29706 if (arg2 == NULL) {
29707 SWIG_null_ref("wxTreeItemId");
29708 }
29709 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29710 }
29711 {
29712 PyThreadState* __tstate = wxPyBeginAllowThreads();
29713 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29714
29715 wxPyEndAllowThreads(__tstate);
29716 if (PyErr_Occurred()) SWIG_fail;
29717 }
29718 {
29719 wxTreeItemId * resultptr;
36ed4f51 29720 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29722 }
29723 return resultobj;
29724 fail:
29725 return NULL;
29726}
29727
29728
c370783e 29729static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29730 PyObject *resultobj;
29731 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29732 wxTreeItemId result;
29733 PyObject * obj0 = 0 ;
29734 char *kwnames[] = {
29735 (char *) "self", NULL
29736 };
29737
29738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
29739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29741 {
29742 PyThreadState* __tstate = wxPyBeginAllowThreads();
29743 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29744
29745 wxPyEndAllowThreads(__tstate);
29746 if (PyErr_Occurred()) SWIG_fail;
29747 }
29748 {
29749 wxTreeItemId * resultptr;
36ed4f51 29750 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29752 }
29753 return resultobj;
29754 fail:
29755 return NULL;
29756}
29757
29758
c370783e 29759static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29760 PyObject *resultobj;
29761 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29762 wxTreeItemId *arg2 = 0 ;
29763 wxTreeItemId result;
29764 PyObject * obj0 = 0 ;
29765 PyObject * obj1 = 0 ;
29766 char *kwnames[] = {
29767 (char *) "self",(char *) "item", NULL
29768 };
29769
29770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29772 if (SWIG_arg_fail(1)) SWIG_fail;
29773 {
29774 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29775 if (SWIG_arg_fail(2)) SWIG_fail;
29776 if (arg2 == NULL) {
29777 SWIG_null_ref("wxTreeItemId");
29778 }
29779 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29780 }
29781 {
29782 PyThreadState* __tstate = wxPyBeginAllowThreads();
29783 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29784
29785 wxPyEndAllowThreads(__tstate);
29786 if (PyErr_Occurred()) SWIG_fail;
29787 }
29788 {
29789 wxTreeItemId * resultptr;
36ed4f51 29790 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29792 }
29793 return resultobj;
29794 fail:
29795 return NULL;
29796}
29797
29798
c370783e 29799static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29800 PyObject *resultobj;
29801 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29802 wxTreeItemId *arg2 = 0 ;
29803 wxTreeItemId result;
29804 PyObject * obj0 = 0 ;
29805 PyObject * obj1 = 0 ;
29806 char *kwnames[] = {
29807 (char *) "self",(char *) "item", NULL
29808 };
29809
29810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29812 if (SWIG_arg_fail(1)) SWIG_fail;
29813 {
29814 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29815 if (SWIG_arg_fail(2)) SWIG_fail;
29816 if (arg2 == NULL) {
29817 SWIG_null_ref("wxTreeItemId");
29818 }
29819 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29820 }
29821 {
29822 PyThreadState* __tstate = wxPyBeginAllowThreads();
29823 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29824
29825 wxPyEndAllowThreads(__tstate);
29826 if (PyErr_Occurred()) SWIG_fail;
29827 }
29828 {
29829 wxTreeItemId * resultptr;
36ed4f51 29830 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29832 }
29833 return resultobj;
29834 fail:
29835 return NULL;
29836}
29837
29838
c370783e 29839static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29840 PyObject *resultobj;
29841 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29842 wxString *arg2 = 0 ;
29843 int arg3 = (int) -1 ;
29844 int arg4 = (int) -1 ;
29845 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29846 wxTreeItemId result;
b411df4a 29847 bool temp2 = false ;
d55e5bfc
RD
29848 PyObject * obj0 = 0 ;
29849 PyObject * obj1 = 0 ;
29850 PyObject * obj2 = 0 ;
29851 PyObject * obj3 = 0 ;
29852 PyObject * obj4 = 0 ;
29853 char *kwnames[] = {
29854 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29855 };
29856
29857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
29858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29859 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29860 {
29861 arg2 = wxString_in_helper(obj1);
29862 if (arg2 == NULL) SWIG_fail;
b411df4a 29863 temp2 = true;
d55e5bfc
RD
29864 }
29865 if (obj2) {
36ed4f51
RD
29866 {
29867 arg3 = (int)(SWIG_As_int(obj2));
29868 if (SWIG_arg_fail(3)) SWIG_fail;
29869 }
d55e5bfc
RD
29870 }
29871 if (obj3) {
36ed4f51
RD
29872 {
29873 arg4 = (int)(SWIG_As_int(obj3));
29874 if (SWIG_arg_fail(4)) SWIG_fail;
29875 }
d55e5bfc
RD
29876 }
29877 if (obj4) {
36ed4f51
RD
29878 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29879 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
29880 }
29881 {
29882 PyThreadState* __tstate = wxPyBeginAllowThreads();
29883 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29884
29885 wxPyEndAllowThreads(__tstate);
29886 if (PyErr_Occurred()) SWIG_fail;
29887 }
29888 {
29889 wxTreeItemId * resultptr;
36ed4f51 29890 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29891 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29892 }
29893 {
29894 if (temp2)
29895 delete arg2;
29896 }
29897 return resultobj;
29898 fail:
29899 {
29900 if (temp2)
29901 delete arg2;
29902 }
29903 return NULL;
29904}
29905
29906
c370783e 29907static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29908 PyObject *resultobj;
29909 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29910 wxTreeItemId *arg2 = 0 ;
29911 wxString *arg3 = 0 ;
29912 int arg4 = (int) -1 ;
29913 int arg5 = (int) -1 ;
29914 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29915 wxTreeItemId result;
b411df4a 29916 bool temp3 = false ;
d55e5bfc
RD
29917 PyObject * obj0 = 0 ;
29918 PyObject * obj1 = 0 ;
29919 PyObject * obj2 = 0 ;
29920 PyObject * obj3 = 0 ;
29921 PyObject * obj4 = 0 ;
29922 PyObject * obj5 = 0 ;
29923 char *kwnames[] = {
29924 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29925 };
29926
29927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
29928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29929 if (SWIG_arg_fail(1)) SWIG_fail;
29930 {
29931 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29932 if (SWIG_arg_fail(2)) SWIG_fail;
29933 if (arg2 == NULL) {
29934 SWIG_null_ref("wxTreeItemId");
29935 }
29936 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29937 }
29938 {
29939 arg3 = wxString_in_helper(obj2);
29940 if (arg3 == NULL) SWIG_fail;
b411df4a 29941 temp3 = true;
d55e5bfc
RD
29942 }
29943 if (obj3) {
36ed4f51
RD
29944 {
29945 arg4 = (int)(SWIG_As_int(obj3));
29946 if (SWIG_arg_fail(4)) SWIG_fail;
29947 }
d55e5bfc
RD
29948 }
29949 if (obj4) {
36ed4f51
RD
29950 {
29951 arg5 = (int)(SWIG_As_int(obj4));
29952 if (SWIG_arg_fail(5)) SWIG_fail;
29953 }
d55e5bfc
RD
29954 }
29955 if (obj5) {
36ed4f51
RD
29956 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29957 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
29958 }
29959 {
29960 PyThreadState* __tstate = wxPyBeginAllowThreads();
29961 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
29962
29963 wxPyEndAllowThreads(__tstate);
29964 if (PyErr_Occurred()) SWIG_fail;
29965 }
29966 {
29967 wxTreeItemId * resultptr;
36ed4f51 29968 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29969 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29970 }
29971 {
29972 if (temp3)
29973 delete arg3;
29974 }
29975 return resultobj;
29976 fail:
29977 {
29978 if (temp3)
29979 delete arg3;
29980 }
29981 return NULL;
29982}
29983
29984
c370783e 29985static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29986 PyObject *resultobj;
29987 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29988 wxTreeItemId *arg2 = 0 ;
29989 wxTreeItemId *arg3 = 0 ;
29990 wxString *arg4 = 0 ;
29991 int arg5 = (int) -1 ;
29992 int arg6 = (int) -1 ;
29993 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
29994 wxTreeItemId result;
b411df4a 29995 bool temp4 = false ;
d55e5bfc
RD
29996 PyObject * obj0 = 0 ;
29997 PyObject * obj1 = 0 ;
29998 PyObject * obj2 = 0 ;
29999 PyObject * obj3 = 0 ;
30000 PyObject * obj4 = 0 ;
30001 PyObject * obj5 = 0 ;
30002 PyObject * obj6 = 0 ;
30003 char *kwnames[] = {
30004 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30005 };
30006
30007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
30008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30009 if (SWIG_arg_fail(1)) SWIG_fail;
30010 {
30011 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30012 if (SWIG_arg_fail(2)) SWIG_fail;
30013 if (arg2 == NULL) {
30014 SWIG_null_ref("wxTreeItemId");
30015 }
30016 if (SWIG_arg_fail(2)) SWIG_fail;
30017 }
30018 {
30019 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30020 if (SWIG_arg_fail(3)) SWIG_fail;
30021 if (arg3 == NULL) {
30022 SWIG_null_ref("wxTreeItemId");
30023 }
30024 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30025 }
30026 {
30027 arg4 = wxString_in_helper(obj3);
30028 if (arg4 == NULL) SWIG_fail;
b411df4a 30029 temp4 = true;
d55e5bfc
RD
30030 }
30031 if (obj4) {
36ed4f51
RD
30032 {
30033 arg5 = (int)(SWIG_As_int(obj4));
30034 if (SWIG_arg_fail(5)) SWIG_fail;
30035 }
d55e5bfc
RD
30036 }
30037 if (obj5) {
36ed4f51
RD
30038 {
30039 arg6 = (int)(SWIG_As_int(obj5));
30040 if (SWIG_arg_fail(6)) SWIG_fail;
30041 }
d55e5bfc
RD
30042 }
30043 if (obj6) {
36ed4f51
RD
30044 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30045 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30046 }
30047 {
30048 PyThreadState* __tstate = wxPyBeginAllowThreads();
30049 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30050
30051 wxPyEndAllowThreads(__tstate);
30052 if (PyErr_Occurred()) SWIG_fail;
30053 }
30054 {
30055 wxTreeItemId * resultptr;
36ed4f51 30056 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30058 }
30059 {
30060 if (temp4)
30061 delete arg4;
30062 }
30063 return resultobj;
30064 fail:
30065 {
30066 if (temp4)
30067 delete arg4;
30068 }
30069 return NULL;
30070}
30071
30072
c370783e 30073static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30074 PyObject *resultobj;
30075 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30076 wxTreeItemId *arg2 = 0 ;
30077 size_t arg3 ;
30078 wxString *arg4 = 0 ;
30079 int arg5 = (int) -1 ;
30080 int arg6 = (int) -1 ;
30081 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30082 wxTreeItemId result;
b411df4a 30083 bool temp4 = false ;
d55e5bfc
RD
30084 PyObject * obj0 = 0 ;
30085 PyObject * obj1 = 0 ;
30086 PyObject * obj2 = 0 ;
30087 PyObject * obj3 = 0 ;
30088 PyObject * obj4 = 0 ;
30089 PyObject * obj5 = 0 ;
30090 PyObject * obj6 = 0 ;
30091 char *kwnames[] = {
30092 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30093 };
30094
30095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
30096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30097 if (SWIG_arg_fail(1)) SWIG_fail;
30098 {
30099 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30100 if (SWIG_arg_fail(2)) SWIG_fail;
30101 if (arg2 == NULL) {
30102 SWIG_null_ref("wxTreeItemId");
30103 }
30104 if (SWIG_arg_fail(2)) SWIG_fail;
30105 }
30106 {
30107 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30108 if (SWIG_arg_fail(3)) SWIG_fail;
30109 }
d55e5bfc
RD
30110 {
30111 arg4 = wxString_in_helper(obj3);
30112 if (arg4 == NULL) SWIG_fail;
b411df4a 30113 temp4 = true;
d55e5bfc
RD
30114 }
30115 if (obj4) {
36ed4f51
RD
30116 {
30117 arg5 = (int)(SWIG_As_int(obj4));
30118 if (SWIG_arg_fail(5)) SWIG_fail;
30119 }
d55e5bfc
RD
30120 }
30121 if (obj5) {
36ed4f51
RD
30122 {
30123 arg6 = (int)(SWIG_As_int(obj5));
30124 if (SWIG_arg_fail(6)) SWIG_fail;
30125 }
d55e5bfc
RD
30126 }
30127 if (obj6) {
36ed4f51
RD
30128 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30129 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30130 }
30131 {
30132 PyThreadState* __tstate = wxPyBeginAllowThreads();
30133 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30134
30135 wxPyEndAllowThreads(__tstate);
30136 if (PyErr_Occurred()) SWIG_fail;
30137 }
30138 {
30139 wxTreeItemId * resultptr;
36ed4f51 30140 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30141 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30142 }
30143 {
30144 if (temp4)
30145 delete arg4;
30146 }
30147 return resultobj;
30148 fail:
30149 {
30150 if (temp4)
30151 delete arg4;
30152 }
30153 return NULL;
30154}
30155
30156
c370783e 30157static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30158 PyObject *resultobj;
30159 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30160 wxTreeItemId *arg2 = 0 ;
30161 wxString *arg3 = 0 ;
30162 int arg4 = (int) -1 ;
30163 int arg5 = (int) -1 ;
30164 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30165 wxTreeItemId result;
b411df4a 30166 bool temp3 = false ;
d55e5bfc
RD
30167 PyObject * obj0 = 0 ;
30168 PyObject * obj1 = 0 ;
30169 PyObject * obj2 = 0 ;
30170 PyObject * obj3 = 0 ;
30171 PyObject * obj4 = 0 ;
30172 PyObject * obj5 = 0 ;
30173 char *kwnames[] = {
30174 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30175 };
30176
30177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
30178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30179 if (SWIG_arg_fail(1)) SWIG_fail;
30180 {
30181 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30182 if (SWIG_arg_fail(2)) SWIG_fail;
30183 if (arg2 == NULL) {
30184 SWIG_null_ref("wxTreeItemId");
30185 }
30186 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30187 }
30188 {
30189 arg3 = wxString_in_helper(obj2);
30190 if (arg3 == NULL) SWIG_fail;
b411df4a 30191 temp3 = true;
d55e5bfc
RD
30192 }
30193 if (obj3) {
36ed4f51
RD
30194 {
30195 arg4 = (int)(SWIG_As_int(obj3));
30196 if (SWIG_arg_fail(4)) SWIG_fail;
30197 }
d55e5bfc
RD
30198 }
30199 if (obj4) {
36ed4f51
RD
30200 {
30201 arg5 = (int)(SWIG_As_int(obj4));
30202 if (SWIG_arg_fail(5)) SWIG_fail;
30203 }
d55e5bfc
RD
30204 }
30205 if (obj5) {
36ed4f51
RD
30206 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30207 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
30208 }
30209 {
30210 PyThreadState* __tstate = wxPyBeginAllowThreads();
30211 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30212
30213 wxPyEndAllowThreads(__tstate);
30214 if (PyErr_Occurred()) SWIG_fail;
30215 }
30216 {
30217 wxTreeItemId * resultptr;
36ed4f51 30218 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30219 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30220 }
30221 {
30222 if (temp3)
30223 delete arg3;
30224 }
30225 return resultobj;
30226 fail:
30227 {
30228 if (temp3)
30229 delete arg3;
30230 }
30231 return NULL;
30232}
30233
30234
c370783e 30235static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30236 PyObject *resultobj;
30237 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30238 wxTreeItemId *arg2 = 0 ;
30239 PyObject * obj0 = 0 ;
30240 PyObject * obj1 = 0 ;
30241 char *kwnames[] = {
30242 (char *) "self",(char *) "item", NULL
30243 };
30244
30245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30247 if (SWIG_arg_fail(1)) SWIG_fail;
30248 {
30249 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30250 if (SWIG_arg_fail(2)) SWIG_fail;
30251 if (arg2 == NULL) {
30252 SWIG_null_ref("wxTreeItemId");
30253 }
30254 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30255 }
30256 {
30257 PyThreadState* __tstate = wxPyBeginAllowThreads();
30258 (arg1)->Delete((wxTreeItemId const &)*arg2);
30259
30260 wxPyEndAllowThreads(__tstate);
30261 if (PyErr_Occurred()) SWIG_fail;
30262 }
30263 Py_INCREF(Py_None); resultobj = Py_None;
30264 return resultobj;
30265 fail:
30266 return NULL;
30267}
30268
30269
c370783e 30270static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30271 PyObject *resultobj;
30272 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30273 wxTreeItemId *arg2 = 0 ;
30274 PyObject * obj0 = 0 ;
30275 PyObject * obj1 = 0 ;
30276 char *kwnames[] = {
30277 (char *) "self",(char *) "item", NULL
30278 };
30279
30280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30282 if (SWIG_arg_fail(1)) SWIG_fail;
30283 {
30284 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30285 if (SWIG_arg_fail(2)) SWIG_fail;
30286 if (arg2 == NULL) {
30287 SWIG_null_ref("wxTreeItemId");
30288 }
30289 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30290 }
30291 {
30292 PyThreadState* __tstate = wxPyBeginAllowThreads();
30293 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30294
30295 wxPyEndAllowThreads(__tstate);
30296 if (PyErr_Occurred()) SWIG_fail;
30297 }
30298 Py_INCREF(Py_None); resultobj = Py_None;
30299 return resultobj;
30300 fail:
30301 return NULL;
30302}
30303
30304
c370783e 30305static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30306 PyObject *resultobj;
30307 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30308 PyObject * obj0 = 0 ;
30309 char *kwnames[] = {
30310 (char *) "self", NULL
30311 };
30312
30313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
36ed4f51
RD
30314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30315 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30316 {
30317 PyThreadState* __tstate = wxPyBeginAllowThreads();
30318 (arg1)->DeleteAllItems();
30319
30320 wxPyEndAllowThreads(__tstate);
30321 if (PyErr_Occurred()) SWIG_fail;
30322 }
30323 Py_INCREF(Py_None); resultobj = Py_None;
30324 return resultobj;
30325 fail:
30326 return NULL;
30327}
30328
30329
c370783e 30330static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30331 PyObject *resultobj;
30332 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30333 wxTreeItemId *arg2 = 0 ;
30334 PyObject * obj0 = 0 ;
30335 PyObject * obj1 = 0 ;
30336 char *kwnames[] = {
30337 (char *) "self",(char *) "item", NULL
30338 };
30339
30340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30342 if (SWIG_arg_fail(1)) SWIG_fail;
30343 {
30344 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30345 if (SWIG_arg_fail(2)) SWIG_fail;
30346 if (arg2 == NULL) {
30347 SWIG_null_ref("wxTreeItemId");
30348 }
30349 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30350 }
30351 {
30352 PyThreadState* __tstate = wxPyBeginAllowThreads();
30353 (arg1)->Expand((wxTreeItemId const &)*arg2);
30354
30355 wxPyEndAllowThreads(__tstate);
30356 if (PyErr_Occurred()) SWIG_fail;
30357 }
30358 Py_INCREF(Py_None); resultobj = Py_None;
30359 return resultobj;
30360 fail:
30361 return NULL;
30362}
30363
30364
c370783e 30365static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30366 PyObject *resultobj;
30367 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30368 wxTreeItemId *arg2 = 0 ;
30369 PyObject * obj0 = 0 ;
30370 PyObject * obj1 = 0 ;
30371 char *kwnames[] = {
30372 (char *) "self",(char *) "item", NULL
30373 };
30374
30375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30377 if (SWIG_arg_fail(1)) SWIG_fail;
30378 {
30379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30380 if (SWIG_arg_fail(2)) SWIG_fail;
30381 if (arg2 == NULL) {
30382 SWIG_null_ref("wxTreeItemId");
30383 }
30384 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30385 }
30386 {
30387 PyThreadState* __tstate = wxPyBeginAllowThreads();
30388 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30389
30390 wxPyEndAllowThreads(__tstate);
30391 if (PyErr_Occurred()) SWIG_fail;
30392 }
30393 Py_INCREF(Py_None); resultobj = Py_None;
30394 return resultobj;
30395 fail:
30396 return NULL;
30397}
30398
30399
c370783e 30400static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30401 PyObject *resultobj;
30402 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30403 wxTreeItemId *arg2 = 0 ;
30404 PyObject * obj0 = 0 ;
30405 PyObject * obj1 = 0 ;
30406 char *kwnames[] = {
30407 (char *) "self",(char *) "item", NULL
30408 };
30409
30410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30412 if (SWIG_arg_fail(1)) SWIG_fail;
30413 {
30414 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30415 if (SWIG_arg_fail(2)) SWIG_fail;
30416 if (arg2 == NULL) {
30417 SWIG_null_ref("wxTreeItemId");
30418 }
30419 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30420 }
30421 {
30422 PyThreadState* __tstate = wxPyBeginAllowThreads();
30423 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30424
30425 wxPyEndAllowThreads(__tstate);
30426 if (PyErr_Occurred()) SWIG_fail;
30427 }
30428 Py_INCREF(Py_None); resultobj = Py_None;
30429 return resultobj;
30430 fail:
30431 return NULL;
30432}
30433
30434
c370783e 30435static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30436 PyObject *resultobj;
30437 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30438 wxTreeItemId *arg2 = 0 ;
30439 PyObject * obj0 = 0 ;
30440 PyObject * obj1 = 0 ;
30441 char *kwnames[] = {
30442 (char *) "self",(char *) "item", NULL
30443 };
30444
30445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30447 if (SWIG_arg_fail(1)) SWIG_fail;
30448 {
30449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30450 if (SWIG_arg_fail(2)) SWIG_fail;
30451 if (arg2 == NULL) {
30452 SWIG_null_ref("wxTreeItemId");
30453 }
30454 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30455 }
30456 {
30457 PyThreadState* __tstate = wxPyBeginAllowThreads();
30458 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30459
30460 wxPyEndAllowThreads(__tstate);
30461 if (PyErr_Occurred()) SWIG_fail;
30462 }
30463 Py_INCREF(Py_None); resultobj = Py_None;
30464 return resultobj;
30465 fail:
30466 return NULL;
30467}
30468
30469
c370783e 30470static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30471 PyObject *resultobj;
30472 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30473 PyObject * obj0 = 0 ;
30474 char *kwnames[] = {
30475 (char *) "self", NULL
30476 };
30477
30478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
36ed4f51
RD
30479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30480 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30481 {
30482 PyThreadState* __tstate = wxPyBeginAllowThreads();
30483 (arg1)->Unselect();
30484
30485 wxPyEndAllowThreads(__tstate);
30486 if (PyErr_Occurred()) SWIG_fail;
30487 }
30488 Py_INCREF(Py_None); resultobj = Py_None;
30489 return resultobj;
30490 fail:
30491 return NULL;
30492}
30493
30494
c370783e 30495static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30496 PyObject *resultobj;
30497 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30498 wxTreeItemId *arg2 = 0 ;
30499 PyObject * obj0 = 0 ;
30500 PyObject * obj1 = 0 ;
30501 char *kwnames[] = {
30502 (char *) "self",(char *) "item", NULL
30503 };
30504
30505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30507 if (SWIG_arg_fail(1)) SWIG_fail;
30508 {
30509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30510 if (SWIG_arg_fail(2)) SWIG_fail;
30511 if (arg2 == NULL) {
30512 SWIG_null_ref("wxTreeItemId");
30513 }
30514 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30515 }
30516 {
30517 PyThreadState* __tstate = wxPyBeginAllowThreads();
30518 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30519
30520 wxPyEndAllowThreads(__tstate);
30521 if (PyErr_Occurred()) SWIG_fail;
30522 }
30523 Py_INCREF(Py_None); resultobj = Py_None;
30524 return resultobj;
30525 fail:
30526 return NULL;
30527}
30528
30529
c370783e 30530static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30531 PyObject *resultobj;
30532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30533 PyObject * obj0 = 0 ;
30534 char *kwnames[] = {
30535 (char *) "self", NULL
30536 };
30537
30538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
30539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30540 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30541 {
30542 PyThreadState* __tstate = wxPyBeginAllowThreads();
30543 (arg1)->UnselectAll();
30544
30545 wxPyEndAllowThreads(__tstate);
30546 if (PyErr_Occurred()) SWIG_fail;
30547 }
30548 Py_INCREF(Py_None); resultobj = Py_None;
30549 return resultobj;
30550 fail:
30551 return NULL;
30552}
30553
30554
c370783e 30555static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30556 PyObject *resultobj;
30557 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30558 wxTreeItemId *arg2 = 0 ;
b411df4a 30559 bool arg3 = (bool) true ;
d55e5bfc
RD
30560 PyObject * obj0 = 0 ;
30561 PyObject * obj1 = 0 ;
30562 PyObject * obj2 = 0 ;
30563 char *kwnames[] = {
30564 (char *) "self",(char *) "item",(char *) "select", NULL
30565 };
30566
30567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30569 if (SWIG_arg_fail(1)) SWIG_fail;
30570 {
30571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30572 if (SWIG_arg_fail(2)) SWIG_fail;
30573 if (arg2 == NULL) {
30574 SWIG_null_ref("wxTreeItemId");
30575 }
30576 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30577 }
30578 if (obj2) {
36ed4f51
RD
30579 {
30580 arg3 = (bool)(SWIG_As_bool(obj2));
30581 if (SWIG_arg_fail(3)) SWIG_fail;
30582 }
d55e5bfc
RD
30583 }
30584 {
30585 PyThreadState* __tstate = wxPyBeginAllowThreads();
30586 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30587
30588 wxPyEndAllowThreads(__tstate);
30589 if (PyErr_Occurred()) SWIG_fail;
30590 }
30591 Py_INCREF(Py_None); resultobj = Py_None;
30592 return resultobj;
30593 fail:
30594 return NULL;
30595}
30596
30597
c370783e 30598static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30599 PyObject *resultobj;
30600 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30601 wxTreeItemId *arg2 = 0 ;
30602 PyObject * obj0 = 0 ;
30603 PyObject * obj1 = 0 ;
30604 char *kwnames[] = {
30605 (char *) "self",(char *) "item", NULL
30606 };
30607
30608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30610 if (SWIG_arg_fail(1)) SWIG_fail;
30611 {
30612 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30613 if (SWIG_arg_fail(2)) SWIG_fail;
30614 if (arg2 == NULL) {
30615 SWIG_null_ref("wxTreeItemId");
30616 }
30617 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30618 }
30619 {
30620 PyThreadState* __tstate = wxPyBeginAllowThreads();
30621 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30622
30623 wxPyEndAllowThreads(__tstate);
30624 if (PyErr_Occurred()) SWIG_fail;
30625 }
30626 Py_INCREF(Py_None); resultobj = Py_None;
30627 return resultobj;
30628 fail:
30629 return NULL;
30630}
30631
30632
c370783e 30633static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30634 PyObject *resultobj;
30635 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30636 wxTreeItemId *arg2 = 0 ;
30637 PyObject * obj0 = 0 ;
30638 PyObject * obj1 = 0 ;
30639 char *kwnames[] = {
30640 (char *) "self",(char *) "item", NULL
30641 };
30642
30643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30645 if (SWIG_arg_fail(1)) SWIG_fail;
30646 {
30647 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30648 if (SWIG_arg_fail(2)) SWIG_fail;
30649 if (arg2 == NULL) {
30650 SWIG_null_ref("wxTreeItemId");
30651 }
30652 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30653 }
30654 {
30655 PyThreadState* __tstate = wxPyBeginAllowThreads();
30656 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30657
30658 wxPyEndAllowThreads(__tstate);
30659 if (PyErr_Occurred()) SWIG_fail;
30660 }
30661 Py_INCREF(Py_None); resultobj = Py_None;
30662 return resultobj;
30663 fail:
30664 return NULL;
30665}
30666
30667
c370783e 30668static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30669 PyObject *resultobj;
30670 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30671 wxTreeItemId *arg2 = 0 ;
30672 PyObject * obj0 = 0 ;
30673 PyObject * obj1 = 0 ;
30674 char *kwnames[] = {
30675 (char *) "self",(char *) "item", NULL
30676 };
30677
30678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30680 if (SWIG_arg_fail(1)) SWIG_fail;
30681 {
30682 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30683 if (SWIG_arg_fail(2)) SWIG_fail;
30684 if (arg2 == NULL) {
30685 SWIG_null_ref("wxTreeItemId");
30686 }
30687 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30688 }
30689 {
30690 PyThreadState* __tstate = wxPyBeginAllowThreads();
30691 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30692
30693 wxPyEndAllowThreads(__tstate);
30694 if (PyErr_Occurred()) SWIG_fail;
30695 }
30696 Py_INCREF(Py_None); resultobj = Py_None;
30697 return resultobj;
30698 fail:
30699 return NULL;
30700}
30701
30702
c370783e 30703static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30704 PyObject *resultobj;
30705 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30706 wxTreeItemId *arg2 = 0 ;
30707 PyObject * obj0 = 0 ;
30708 PyObject * obj1 = 0 ;
30709 char *kwnames[] = {
30710 (char *) "self",(char *) "item", NULL
30711 };
30712
30713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30715 if (SWIG_arg_fail(1)) SWIG_fail;
30716 {
30717 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30718 if (SWIG_arg_fail(2)) SWIG_fail;
30719 if (arg2 == NULL) {
30720 SWIG_null_ref("wxTreeItemId");
30721 }
30722 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30723 }
30724 {
30725 PyThreadState* __tstate = wxPyBeginAllowThreads();
30726 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30727
30728 wxPyEndAllowThreads(__tstate);
30729 if (PyErr_Occurred()) SWIG_fail;
30730 }
30731 Py_INCREF(Py_None); resultobj = Py_None;
30732 return resultobj;
30733 fail:
30734 return NULL;
30735}
30736
30737
c370783e 30738static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30739 PyObject *resultobj;
30740 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30741 wxTextCtrl *result;
30742 PyObject * obj0 = 0 ;
30743 char *kwnames[] = {
30744 (char *) "self", NULL
30745 };
30746
30747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
30748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30749 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30750 {
30751 PyThreadState* __tstate = wxPyBeginAllowThreads();
30752 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30753
30754 wxPyEndAllowThreads(__tstate);
30755 if (PyErr_Occurred()) SWIG_fail;
30756 }
30757 {
412d302d 30758 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30759 }
30760 return resultobj;
30761 fail:
30762 return NULL;
30763}
30764
30765
c370783e 30766static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30767 PyObject *resultobj;
30768 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30769 wxTreeItemId *arg2 = 0 ;
30770 PyObject * obj0 = 0 ;
30771 PyObject * obj1 = 0 ;
30772 char *kwnames[] = {
30773 (char *) "self",(char *) "item", NULL
30774 };
30775
30776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30778 if (SWIG_arg_fail(1)) SWIG_fail;
30779 {
30780 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30781 if (SWIG_arg_fail(2)) SWIG_fail;
30782 if (arg2 == NULL) {
30783 SWIG_null_ref("wxTreeItemId");
30784 }
30785 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30786 }
30787 {
30788 PyThreadState* __tstate = wxPyBeginAllowThreads();
30789 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30790
30791 wxPyEndAllowThreads(__tstate);
30792 if (PyErr_Occurred()) SWIG_fail;
30793 }
30794 Py_INCREF(Py_None); resultobj = Py_None;
30795 return resultobj;
30796 fail:
30797 return NULL;
30798}
30799
30800
c370783e 30801static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30802 PyObject *resultobj;
30803 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30804 wxPoint *arg2 = 0 ;
30805 int *arg3 = 0 ;
30806 wxTreeItemId result;
30807 wxPoint temp2 ;
30808 int temp3 ;
c370783e 30809 int res3 = 0 ;
d55e5bfc
RD
30810 PyObject * obj0 = 0 ;
30811 PyObject * obj1 = 0 ;
30812 char *kwnames[] = {
30813 (char *) "self",(char *) "point", NULL
30814 };
30815
c370783e 30816 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 30817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30819 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30820 {
30821 arg2 = &temp2;
30822 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30823 }
30824 {
30825 PyThreadState* __tstate = wxPyBeginAllowThreads();
30826 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30827
30828 wxPyEndAllowThreads(__tstate);
30829 if (PyErr_Occurred()) SWIG_fail;
30830 }
30831 {
30832 wxTreeItemId * resultptr;
36ed4f51 30833 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30835 }
c370783e
RD
30836 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30837 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
30838 return resultobj;
30839 fail:
30840 return NULL;
30841}
30842
30843
c370783e 30844static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30845 PyObject *resultobj;
30846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30847 wxTreeItemId *arg2 = 0 ;
b411df4a 30848 bool arg3 = (bool) false ;
d55e5bfc
RD
30849 PyObject *result;
30850 PyObject * obj0 = 0 ;
30851 PyObject * obj1 = 0 ;
30852 PyObject * obj2 = 0 ;
30853 char *kwnames[] = {
30854 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30855 };
30856
30857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30859 if (SWIG_arg_fail(1)) SWIG_fail;
30860 {
30861 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30862 if (SWIG_arg_fail(2)) SWIG_fail;
30863 if (arg2 == NULL) {
30864 SWIG_null_ref("wxTreeItemId");
30865 }
30866 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30867 }
30868 if (obj2) {
36ed4f51
RD
30869 {
30870 arg3 = (bool)(SWIG_As_bool(obj2));
30871 if (SWIG_arg_fail(3)) SWIG_fail;
30872 }
d55e5bfc
RD
30873 }
30874 {
30875 PyThreadState* __tstate = wxPyBeginAllowThreads();
30876 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30877
30878 wxPyEndAllowThreads(__tstate);
30879 if (PyErr_Occurred()) SWIG_fail;
30880 }
30881 resultobj = result;
30882 return resultobj;
30883 fail:
30884 return NULL;
30885}
30886
30887
c370783e 30888static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 30889 PyObject *resultobj;
36ed4f51 30890 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
30891 wxVisualAttributes result;
30892 PyObject * obj0 = 0 ;
30893 char *kwnames[] = {
30894 (char *) "variant", NULL
30895 };
30896
30897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30898 if (obj0) {
36ed4f51
RD
30899 {
30900 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30901 if (SWIG_arg_fail(1)) SWIG_fail;
30902 }
d55e5bfc
RD
30903 }
30904 {
0439c23b 30905 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30906 PyThreadState* __tstate = wxPyBeginAllowThreads();
30907 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30908
30909 wxPyEndAllowThreads(__tstate);
110da5b0 30910 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30911 }
30912 {
30913 wxVisualAttributes * resultptr;
36ed4f51 30914 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
30915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30916 }
30917 return resultobj;
30918 fail:
30919 return NULL;
30920}
30921
30922
c370783e 30923static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30924 PyObject *obj;
30925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30926 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30927 Py_INCREF(obj);
30928 return Py_BuildValue((char *)"");
30929}
c370783e 30930static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
d55e5bfc
RD
30931 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30932 return 1;
30933}
30934
30935
36ed4f51 30936static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
d55e5bfc
RD
30937 PyObject *pyobj;
30938
30939 {
30940#if wxUSE_UNICODE
30941 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30942#else
30943 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30944#endif
30945 }
30946 return pyobj;
30947}
30948
30949
c370783e 30950static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30951 PyObject *resultobj;
30952 wxWindow *arg1 = (wxWindow *) 0 ;
30953 int arg2 = (int) (int)-1 ;
30954 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30955 wxString *arg3 = (wxString *) &arg3_defvalue ;
30956 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30957 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30958 wxSize const &arg5_defvalue = wxDefaultSize ;
30959 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30960 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
30961 wxString const &arg7_defvalue = wxPyEmptyString ;
30962 wxString *arg7 = (wxString *) &arg7_defvalue ;
30963 int arg8 = (int) 0 ;
30964 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
30965 wxString *arg9 = (wxString *) &arg9_defvalue ;
30966 wxGenericDirCtrl *result;
b411df4a 30967 bool temp3 = false ;
d55e5bfc
RD
30968 wxPoint temp4 ;
30969 wxSize temp5 ;
b411df4a
RD
30970 bool temp7 = false ;
30971 bool temp9 = false ;
d55e5bfc
RD
30972 PyObject * obj0 = 0 ;
30973 PyObject * obj1 = 0 ;
30974 PyObject * obj2 = 0 ;
30975 PyObject * obj3 = 0 ;
30976 PyObject * obj4 = 0 ;
30977 PyObject * obj5 = 0 ;
30978 PyObject * obj6 = 0 ;
30979 PyObject * obj7 = 0 ;
30980 PyObject * obj8 = 0 ;
30981 char *kwnames[] = {
30982 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30983 };
30984
30985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
30986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30988 if (obj1) {
36ed4f51
RD
30989 {
30990 arg2 = (int const)(SWIG_As_int(obj1));
30991 if (SWIG_arg_fail(2)) SWIG_fail;
30992 }
d55e5bfc
RD
30993 }
30994 if (obj2) {
30995 {
30996 arg3 = wxString_in_helper(obj2);
30997 if (arg3 == NULL) SWIG_fail;
b411df4a 30998 temp3 = true;
d55e5bfc
RD
30999 }
31000 }
31001 if (obj3) {
31002 {
31003 arg4 = &temp4;
31004 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31005 }
31006 }
31007 if (obj4) {
31008 {
31009 arg5 = &temp5;
31010 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31011 }
31012 }
31013 if (obj5) {
36ed4f51
RD
31014 {
31015 arg6 = (long)(SWIG_As_long(obj5));
31016 if (SWIG_arg_fail(6)) SWIG_fail;
31017 }
d55e5bfc
RD
31018 }
31019 if (obj6) {
31020 {
31021 arg7 = wxString_in_helper(obj6);
31022 if (arg7 == NULL) SWIG_fail;
b411df4a 31023 temp7 = true;
d55e5bfc
RD
31024 }
31025 }
31026 if (obj7) {
36ed4f51
RD
31027 {
31028 arg8 = (int)(SWIG_As_int(obj7));
31029 if (SWIG_arg_fail(8)) SWIG_fail;
31030 }
d55e5bfc
RD
31031 }
31032 if (obj8) {
31033 {
31034 arg9 = wxString_in_helper(obj8);
31035 if (arg9 == NULL) SWIG_fail;
b411df4a 31036 temp9 = true;
d55e5bfc
RD
31037 }
31038 }
31039 {
0439c23b 31040 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31041 PyThreadState* __tstate = wxPyBeginAllowThreads();
31042 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31043
31044 wxPyEndAllowThreads(__tstate);
110da5b0 31045 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31046 }
31047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31048 {
31049 if (temp3)
31050 delete arg3;
31051 }
31052 {
31053 if (temp7)
31054 delete arg7;
31055 }
31056 {
31057 if (temp9)
31058 delete arg9;
31059 }
31060 return resultobj;
31061 fail:
31062 {
31063 if (temp3)
31064 delete arg3;
31065 }
31066 {
31067 if (temp7)
31068 delete arg7;
31069 }
31070 {
31071 if (temp9)
31072 delete arg9;
31073 }
31074 return NULL;
31075}
31076
31077
c370783e 31078static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31079 PyObject *resultobj;
31080 wxGenericDirCtrl *result;
31081 char *kwnames[] = {
31082 NULL
31083 };
31084
31085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31086 {
0439c23b 31087 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31088 PyThreadState* __tstate = wxPyBeginAllowThreads();
31089 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31090
31091 wxPyEndAllowThreads(__tstate);
110da5b0 31092 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31093 }
31094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31095 return resultobj;
31096 fail:
31097 return NULL;
31098}
31099
31100
c370783e 31101static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31102 PyObject *resultobj;
31103 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31104 wxWindow *arg2 = (wxWindow *) 0 ;
31105 int arg3 = (int) (int)-1 ;
31106 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31107 wxString *arg4 = (wxString *) &arg4_defvalue ;
31108 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31109 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31110 wxSize const &arg6_defvalue = wxDefaultSize ;
31111 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31112 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31113 wxString const &arg8_defvalue = wxPyEmptyString ;
31114 wxString *arg8 = (wxString *) &arg8_defvalue ;
31115 int arg9 = (int) 0 ;
31116 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31117 wxString *arg10 = (wxString *) &arg10_defvalue ;
31118 bool result;
b411df4a 31119 bool temp4 = false ;
d55e5bfc
RD
31120 wxPoint temp5 ;
31121 wxSize temp6 ;
b411df4a
RD
31122 bool temp8 = false ;
31123 bool temp10 = false ;
d55e5bfc
RD
31124 PyObject * obj0 = 0 ;
31125 PyObject * obj1 = 0 ;
31126 PyObject * obj2 = 0 ;
31127 PyObject * obj3 = 0 ;
31128 PyObject * obj4 = 0 ;
31129 PyObject * obj5 = 0 ;
31130 PyObject * obj6 = 0 ;
31131 PyObject * obj7 = 0 ;
31132 PyObject * obj8 = 0 ;
31133 PyObject * obj9 = 0 ;
31134 char *kwnames[] = {
31135 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31136 };
31137
31138 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
31139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31140 if (SWIG_arg_fail(1)) SWIG_fail;
31141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31142 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31143 if (obj2) {
36ed4f51
RD
31144 {
31145 arg3 = (int const)(SWIG_As_int(obj2));
31146 if (SWIG_arg_fail(3)) SWIG_fail;
31147 }
d55e5bfc
RD
31148 }
31149 if (obj3) {
31150 {
31151 arg4 = wxString_in_helper(obj3);
31152 if (arg4 == NULL) SWIG_fail;
b411df4a 31153 temp4 = true;
d55e5bfc
RD
31154 }
31155 }
31156 if (obj4) {
31157 {
31158 arg5 = &temp5;
31159 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31160 }
31161 }
31162 if (obj5) {
31163 {
31164 arg6 = &temp6;
31165 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31166 }
31167 }
31168 if (obj6) {
36ed4f51
RD
31169 {
31170 arg7 = (long)(SWIG_As_long(obj6));
31171 if (SWIG_arg_fail(7)) SWIG_fail;
31172 }
d55e5bfc
RD
31173 }
31174 if (obj7) {
31175 {
31176 arg8 = wxString_in_helper(obj7);
31177 if (arg8 == NULL) SWIG_fail;
b411df4a 31178 temp8 = true;
d55e5bfc
RD
31179 }
31180 }
31181 if (obj8) {
36ed4f51
RD
31182 {
31183 arg9 = (int)(SWIG_As_int(obj8));
31184 if (SWIG_arg_fail(9)) SWIG_fail;
31185 }
d55e5bfc
RD
31186 }
31187 if (obj9) {
31188 {
31189 arg10 = wxString_in_helper(obj9);
31190 if (arg10 == NULL) SWIG_fail;
b411df4a 31191 temp10 = true;
d55e5bfc
RD
31192 }
31193 }
31194 {
31195 PyThreadState* __tstate = wxPyBeginAllowThreads();
31196 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31197
31198 wxPyEndAllowThreads(__tstate);
31199 if (PyErr_Occurred()) SWIG_fail;
31200 }
31201 {
31202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31203 }
31204 {
31205 if (temp4)
31206 delete arg4;
31207 }
31208 {
31209 if (temp8)
31210 delete arg8;
31211 }
31212 {
31213 if (temp10)
31214 delete arg10;
31215 }
31216 return resultobj;
31217 fail:
31218 {
31219 if (temp4)
31220 delete arg4;
31221 }
31222 {
31223 if (temp8)
31224 delete arg8;
31225 }
31226 {
31227 if (temp10)
31228 delete arg10;
31229 }
31230 return NULL;
31231}
31232
31233
c370783e 31234static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31235 PyObject *resultobj;
31236 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31237 wxString *arg2 = 0 ;
31238 bool result;
b411df4a 31239 bool temp2 = false ;
d55e5bfc
RD
31240 PyObject * obj0 = 0 ;
31241 PyObject * obj1 = 0 ;
31242 char *kwnames[] = {
31243 (char *) "self",(char *) "path", NULL
31244 };
31245
31246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31248 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31249 {
31250 arg2 = wxString_in_helper(obj1);
31251 if (arg2 == NULL) SWIG_fail;
b411df4a 31252 temp2 = true;
d55e5bfc
RD
31253 }
31254 {
31255 PyThreadState* __tstate = wxPyBeginAllowThreads();
31256 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31257
31258 wxPyEndAllowThreads(__tstate);
31259 if (PyErr_Occurred()) SWIG_fail;
31260 }
31261 {
31262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31263 }
31264 {
31265 if (temp2)
31266 delete arg2;
31267 }
31268 return resultobj;
31269 fail:
31270 {
31271 if (temp2)
31272 delete arg2;
31273 }
31274 return NULL;
31275}
31276
31277
c370783e 31278static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31279 PyObject *resultobj;
31280 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31281 wxString result;
31282 PyObject * obj0 = 0 ;
31283 char *kwnames[] = {
31284 (char *) "self", NULL
31285 };
31286
31287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
31288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31289 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31290 {
31291 PyThreadState* __tstate = wxPyBeginAllowThreads();
31292 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31293
31294 wxPyEndAllowThreads(__tstate);
31295 if (PyErr_Occurred()) SWIG_fail;
31296 }
31297 {
31298#if wxUSE_UNICODE
31299 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31300#else
31301 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31302#endif
31303 }
31304 return resultobj;
31305 fail:
31306 return NULL;
31307}
31308
31309
c370783e 31310static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31311 PyObject *resultobj;
31312 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31313 wxString *arg2 = 0 ;
b411df4a 31314 bool temp2 = false ;
d55e5bfc
RD
31315 PyObject * obj0 = 0 ;
31316 PyObject * obj1 = 0 ;
31317 char *kwnames[] = {
31318 (char *) "self",(char *) "path", NULL
31319 };
31320
31321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31323 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31324 {
31325 arg2 = wxString_in_helper(obj1);
31326 if (arg2 == NULL) SWIG_fail;
b411df4a 31327 temp2 = true;
d55e5bfc
RD
31328 }
31329 {
31330 PyThreadState* __tstate = wxPyBeginAllowThreads();
31331 (arg1)->SetDefaultPath((wxString const &)*arg2);
31332
31333 wxPyEndAllowThreads(__tstate);
31334 if (PyErr_Occurred()) SWIG_fail;
31335 }
31336 Py_INCREF(Py_None); resultobj = Py_None;
31337 {
31338 if (temp2)
31339 delete arg2;
31340 }
31341 return resultobj;
31342 fail:
31343 {
31344 if (temp2)
31345 delete arg2;
31346 }
31347 return NULL;
31348}
31349
31350
c370783e 31351static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31352 PyObject *resultobj;
31353 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31354 wxString result;
31355 PyObject * obj0 = 0 ;
31356 char *kwnames[] = {
31357 (char *) "self", NULL
31358 };
31359
31360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
31361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31363 {
31364 PyThreadState* __tstate = wxPyBeginAllowThreads();
31365 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31366
31367 wxPyEndAllowThreads(__tstate);
31368 if (PyErr_Occurred()) SWIG_fail;
31369 }
31370 {
31371#if wxUSE_UNICODE
31372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31373#else
31374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31375#endif
31376 }
31377 return resultobj;
31378 fail:
31379 return NULL;
31380}
31381
31382
c370783e 31383static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31384 PyObject *resultobj;
31385 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31386 wxString result;
31387 PyObject * obj0 = 0 ;
31388 char *kwnames[] = {
31389 (char *) "self", NULL
31390 };
31391
31392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
36ed4f51
RD
31393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31394 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31395 {
31396 PyThreadState* __tstate = wxPyBeginAllowThreads();
31397 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31398
31399 wxPyEndAllowThreads(__tstate);
31400 if (PyErr_Occurred()) SWIG_fail;
31401 }
31402 {
31403#if wxUSE_UNICODE
31404 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31405#else
31406 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31407#endif
31408 }
31409 return resultobj;
31410 fail:
31411 return NULL;
31412}
31413
31414
c370783e 31415static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31416 PyObject *resultobj;
31417 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31418 wxString *arg2 = 0 ;
b411df4a 31419 bool temp2 = false ;
d55e5bfc
RD
31420 PyObject * obj0 = 0 ;
31421 PyObject * obj1 = 0 ;
31422 char *kwnames[] = {
31423 (char *) "self",(char *) "path", NULL
31424 };
31425
31426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31429 {
31430 arg2 = wxString_in_helper(obj1);
31431 if (arg2 == NULL) SWIG_fail;
b411df4a 31432 temp2 = true;
d55e5bfc
RD
31433 }
31434 {
31435 PyThreadState* __tstate = wxPyBeginAllowThreads();
31436 (arg1)->SetPath((wxString const &)*arg2);
31437
31438 wxPyEndAllowThreads(__tstate);
31439 if (PyErr_Occurred()) SWIG_fail;
31440 }
31441 Py_INCREF(Py_None); resultobj = Py_None;
31442 {
31443 if (temp2)
31444 delete arg2;
31445 }
31446 return resultobj;
31447 fail:
31448 {
31449 if (temp2)
31450 delete arg2;
31451 }
31452 return NULL;
31453}
31454
31455
c370783e 31456static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31457 PyObject *resultobj;
31458 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31459 bool arg2 ;
31460 PyObject * obj0 = 0 ;
31461 PyObject * obj1 = 0 ;
31462 char *kwnames[] = {
31463 (char *) "self",(char *) "show", NULL
31464 };
31465
31466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31468 if (SWIG_arg_fail(1)) SWIG_fail;
31469 {
31470 arg2 = (bool)(SWIG_As_bool(obj1));
31471 if (SWIG_arg_fail(2)) SWIG_fail;
31472 }
d55e5bfc
RD
31473 {
31474 PyThreadState* __tstate = wxPyBeginAllowThreads();
31475 (arg1)->ShowHidden(arg2);
31476
31477 wxPyEndAllowThreads(__tstate);
31478 if (PyErr_Occurred()) SWIG_fail;
31479 }
31480 Py_INCREF(Py_None); resultobj = Py_None;
31481 return resultobj;
31482 fail:
31483 return NULL;
31484}
31485
31486
c370783e 31487static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31488 PyObject *resultobj;
31489 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31490 bool result;
31491 PyObject * obj0 = 0 ;
31492 char *kwnames[] = {
31493 (char *) "self", NULL
31494 };
31495
31496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
36ed4f51
RD
31497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31498 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31499 {
31500 PyThreadState* __tstate = wxPyBeginAllowThreads();
31501 result = (bool)(arg1)->GetShowHidden();
31502
31503 wxPyEndAllowThreads(__tstate);
31504 if (PyErr_Occurred()) SWIG_fail;
31505 }
31506 {
31507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31508 }
31509 return resultobj;
31510 fail:
31511 return NULL;
31512}
31513
31514
c370783e 31515static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31516 PyObject *resultobj;
31517 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31518 wxString result;
31519 PyObject * obj0 = 0 ;
31520 char *kwnames[] = {
31521 (char *) "self", NULL
31522 };
31523
31524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
36ed4f51
RD
31525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31526 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31527 {
31528 PyThreadState* __tstate = wxPyBeginAllowThreads();
31529 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31530
31531 wxPyEndAllowThreads(__tstate);
31532 if (PyErr_Occurred()) SWIG_fail;
31533 }
31534 {
31535#if wxUSE_UNICODE
31536 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31537#else
31538 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31539#endif
31540 }
31541 return resultobj;
31542 fail:
31543 return NULL;
31544}
31545
31546
c370783e 31547static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31548 PyObject *resultobj;
31549 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31550 wxString *arg2 = 0 ;
b411df4a 31551 bool temp2 = false ;
d55e5bfc
RD
31552 PyObject * obj0 = 0 ;
31553 PyObject * obj1 = 0 ;
31554 char *kwnames[] = {
31555 (char *) "self",(char *) "filter", NULL
31556 };
31557
31558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31560 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31561 {
31562 arg2 = wxString_in_helper(obj1);
31563 if (arg2 == NULL) SWIG_fail;
b411df4a 31564 temp2 = true;
d55e5bfc
RD
31565 }
31566 {
31567 PyThreadState* __tstate = wxPyBeginAllowThreads();
31568 (arg1)->SetFilter((wxString const &)*arg2);
31569
31570 wxPyEndAllowThreads(__tstate);
31571 if (PyErr_Occurred()) SWIG_fail;
31572 }
31573 Py_INCREF(Py_None); resultobj = Py_None;
31574 {
31575 if (temp2)
31576 delete arg2;
31577 }
31578 return resultobj;
31579 fail:
31580 {
31581 if (temp2)
31582 delete arg2;
31583 }
31584 return NULL;
31585}
31586
31587
c370783e 31588static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31589 PyObject *resultobj;
31590 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31591 int result;
31592 PyObject * obj0 = 0 ;
31593 char *kwnames[] = {
31594 (char *) "self", NULL
31595 };
31596
31597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
31598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31599 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31600 {
31601 PyThreadState* __tstate = wxPyBeginAllowThreads();
31602 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31603
31604 wxPyEndAllowThreads(__tstate);
31605 if (PyErr_Occurred()) SWIG_fail;
31606 }
36ed4f51
RD
31607 {
31608 resultobj = SWIG_From_int((int)(result));
31609 }
d55e5bfc
RD
31610 return resultobj;
31611 fail:
31612 return NULL;
31613}
31614
31615
c370783e 31616static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31617 PyObject *resultobj;
31618 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31619 int arg2 ;
31620 PyObject * obj0 = 0 ;
31621 PyObject * obj1 = 0 ;
31622 char *kwnames[] = {
31623 (char *) "self",(char *) "n", NULL
31624 };
31625
31626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31628 if (SWIG_arg_fail(1)) SWIG_fail;
31629 {
31630 arg2 = (int)(SWIG_As_int(obj1));
31631 if (SWIG_arg_fail(2)) SWIG_fail;
31632 }
d55e5bfc
RD
31633 {
31634 PyThreadState* __tstate = wxPyBeginAllowThreads();
31635 (arg1)->SetFilterIndex(arg2);
31636
31637 wxPyEndAllowThreads(__tstate);
31638 if (PyErr_Occurred()) SWIG_fail;
31639 }
31640 Py_INCREF(Py_None); resultobj = Py_None;
31641 return resultobj;
31642 fail:
31643 return NULL;
31644}
31645
31646
c370783e 31647static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31648 PyObject *resultobj;
31649 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31650 wxTreeItemId result;
31651 PyObject * obj0 = 0 ;
31652 char *kwnames[] = {
31653 (char *) "self", NULL
31654 };
31655
31656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
36ed4f51
RD
31657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31658 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31659 {
31660 PyThreadState* __tstate = wxPyBeginAllowThreads();
31661 result = (arg1)->GetRootId();
31662
31663 wxPyEndAllowThreads(__tstate);
31664 if (PyErr_Occurred()) SWIG_fail;
31665 }
31666 {
31667 wxTreeItemId * resultptr;
36ed4f51 31668 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31670 }
31671 return resultobj;
31672 fail:
31673 return NULL;
31674}
31675
31676
c370783e 31677static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31678 PyObject *resultobj;
31679 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31680 wxPyTreeCtrl *result;
31681 PyObject * obj0 = 0 ;
31682 char *kwnames[] = {
31683 (char *) "self", NULL
31684 };
31685
31686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
31687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31688 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31689 {
31690 PyThreadState* __tstate = wxPyBeginAllowThreads();
31691 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31692
31693 wxPyEndAllowThreads(__tstate);
31694 if (PyErr_Occurred()) SWIG_fail;
31695 }
31696 {
412d302d 31697 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31698 }
31699 return resultobj;
31700 fail:
31701 return NULL;
31702}
31703
31704
c370783e 31705static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31706 PyObject *resultobj;
31707 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31708 wxDirFilterListCtrl *result;
31709 PyObject * obj0 = 0 ;
31710 char *kwnames[] = {
31711 (char *) "self", NULL
31712 };
31713
31714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
31715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31716 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31717 {
31718 PyThreadState* __tstate = wxPyBeginAllowThreads();
31719 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31720
31721 wxPyEndAllowThreads(__tstate);
31722 if (PyErr_Occurred()) SWIG_fail;
31723 }
31724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31725 return resultobj;
31726 fail:
31727 return NULL;
31728}
31729
31730
c370783e 31731static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31732 PyObject *resultobj;
31733 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31734 wxTreeItemId arg2 ;
31735 wxString *arg3 = 0 ;
31736 bool *arg4 = 0 ;
31737 wxTreeItemId result;
b411df4a 31738 bool temp3 = false ;
d55e5bfc 31739 bool temp4 ;
c370783e 31740 int res4 = 0 ;
d55e5bfc
RD
31741 PyObject * obj0 = 0 ;
31742 PyObject * obj1 = 0 ;
31743 PyObject * obj2 = 0 ;
31744 char *kwnames[] = {
31745 (char *) "self",(char *) "parentId",(char *) "path", NULL
31746 };
31747
c370783e 31748 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 31749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31751 if (SWIG_arg_fail(1)) SWIG_fail;
31752 {
31753 wxTreeItemId * argp;
31754 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31755 if (SWIG_arg_fail(2)) SWIG_fail;
31756 if (argp == NULL) {
31757 SWIG_null_ref("wxTreeItemId");
31758 }
31759 if (SWIG_arg_fail(2)) SWIG_fail;
31760 arg2 = *argp;
31761 }
d55e5bfc
RD
31762 {
31763 arg3 = wxString_in_helper(obj2);
31764 if (arg3 == NULL) SWIG_fail;
b411df4a 31765 temp3 = true;
d55e5bfc
RD
31766 }
31767 {
31768 PyThreadState* __tstate = wxPyBeginAllowThreads();
31769 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31770
31771 wxPyEndAllowThreads(__tstate);
31772 if (PyErr_Occurred()) SWIG_fail;
31773 }
31774 {
31775 wxTreeItemId * resultptr;
36ed4f51 31776 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31777 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31778 }
c370783e
RD
31779 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31780 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d55e5bfc
RD
31781 {
31782 if (temp3)
31783 delete arg3;
31784 }
31785 return resultobj;
31786 fail:
31787 {
31788 if (temp3)
31789 delete arg3;
31790 }
31791 return NULL;
31792}
31793
31794
c370783e 31795static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31796 PyObject *resultobj;
31797 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31798 PyObject * obj0 = 0 ;
31799 char *kwnames[] = {
31800 (char *) "self", NULL
31801 };
31802
31803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
36ed4f51
RD
31804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31805 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31806 {
31807 PyThreadState* __tstate = wxPyBeginAllowThreads();
31808 (arg1)->DoResize();
31809
31810 wxPyEndAllowThreads(__tstate);
31811 if (PyErr_Occurred()) SWIG_fail;
31812 }
31813 Py_INCREF(Py_None); resultobj = Py_None;
31814 return resultobj;
31815 fail:
31816 return NULL;
31817}
31818
31819
c370783e 31820static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31821 PyObject *resultobj;
31822 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31823 PyObject * obj0 = 0 ;
31824 char *kwnames[] = {
31825 (char *) "self", NULL
31826 };
31827
31828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
36ed4f51
RD
31829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31830 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31831 {
31832 PyThreadState* __tstate = wxPyBeginAllowThreads();
31833 (arg1)->ReCreateTree();
31834
31835 wxPyEndAllowThreads(__tstate);
31836 if (PyErr_Occurred()) SWIG_fail;
31837 }
31838 Py_INCREF(Py_None); resultobj = Py_None;
31839 return resultobj;
31840 fail:
31841 return NULL;
31842}
31843
31844
c370783e 31845static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31846 PyObject *obj;
31847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31848 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31849 Py_INCREF(obj);
31850 return Py_BuildValue((char *)"");
31851}
c370783e 31852static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31853 PyObject *resultobj;
31854 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31855 int arg2 = (int) (int)-1 ;
31856 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31857 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31858 wxSize const &arg4_defvalue = wxDefaultSize ;
31859 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31860 long arg5 = (long) 0 ;
31861 wxDirFilterListCtrl *result;
31862 wxPoint temp3 ;
31863 wxSize temp4 ;
31864 PyObject * obj0 = 0 ;
31865 PyObject * obj1 = 0 ;
31866 PyObject * obj2 = 0 ;
31867 PyObject * obj3 = 0 ;
31868 PyObject * obj4 = 0 ;
31869 char *kwnames[] = {
31870 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31871 };
31872
31873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
31874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31876 if (obj1) {
36ed4f51
RD
31877 {
31878 arg2 = (int const)(SWIG_As_int(obj1));
31879 if (SWIG_arg_fail(2)) SWIG_fail;
31880 }
d55e5bfc
RD
31881 }
31882 if (obj2) {
31883 {
31884 arg3 = &temp3;
31885 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31886 }
31887 }
31888 if (obj3) {
31889 {
31890 arg4 = &temp4;
31891 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31892 }
31893 }
31894 if (obj4) {
36ed4f51
RD
31895 {
31896 arg5 = (long)(SWIG_As_long(obj4));
31897 if (SWIG_arg_fail(5)) SWIG_fail;
31898 }
d55e5bfc
RD
31899 }
31900 {
0439c23b 31901 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31902 PyThreadState* __tstate = wxPyBeginAllowThreads();
31903 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31904
31905 wxPyEndAllowThreads(__tstate);
110da5b0 31906 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31907 }
31908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31909 return resultobj;
31910 fail:
31911 return NULL;
31912}
31913
31914
c370783e 31915static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31916 PyObject *resultobj;
31917 wxDirFilterListCtrl *result;
31918 char *kwnames[] = {
31919 NULL
31920 };
31921
31922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31923 {
0439c23b 31924 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31925 PyThreadState* __tstate = wxPyBeginAllowThreads();
31926 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31927
31928 wxPyEndAllowThreads(__tstate);
110da5b0 31929 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31930 }
31931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31932 return resultobj;
31933 fail:
31934 return NULL;
31935}
31936
31937
c370783e 31938static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31939 PyObject *resultobj;
31940 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31941 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
31942 int arg3 = (int) (int)-1 ;
31943 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31944 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31945 wxSize const &arg5_defvalue = wxDefaultSize ;
31946 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31947 long arg6 = (long) 0 ;
31948 bool result;
31949 wxPoint temp4 ;
31950 wxSize temp5 ;
31951 PyObject * obj0 = 0 ;
31952 PyObject * obj1 = 0 ;
31953 PyObject * obj2 = 0 ;
31954 PyObject * obj3 = 0 ;
31955 PyObject * obj4 = 0 ;
31956 PyObject * obj5 = 0 ;
31957 char *kwnames[] = {
31958 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31959 };
31960
31961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
31962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31963 if (SWIG_arg_fail(1)) SWIG_fail;
31964 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31965 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31966 if (obj2) {
36ed4f51
RD
31967 {
31968 arg3 = (int const)(SWIG_As_int(obj2));
31969 if (SWIG_arg_fail(3)) SWIG_fail;
31970 }
d55e5bfc
RD
31971 }
31972 if (obj3) {
31973 {
31974 arg4 = &temp4;
31975 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31976 }
31977 }
31978 if (obj4) {
31979 {
31980 arg5 = &temp5;
31981 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31982 }
31983 }
31984 if (obj5) {
36ed4f51
RD
31985 {
31986 arg6 = (long)(SWIG_As_long(obj5));
31987 if (SWIG_arg_fail(6)) SWIG_fail;
31988 }
d55e5bfc
RD
31989 }
31990 {
31991 PyThreadState* __tstate = wxPyBeginAllowThreads();
31992 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
31993
31994 wxPyEndAllowThreads(__tstate);
31995 if (PyErr_Occurred()) SWIG_fail;
31996 }
31997 {
31998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31999 }
32000 return resultobj;
32001 fail:
32002 return NULL;
32003}
32004
32005
c370783e 32006static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32007 PyObject *resultobj;
32008 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32009 wxString *arg2 = 0 ;
32010 int arg3 ;
b411df4a 32011 bool temp2 = false ;
d55e5bfc
RD
32012 PyObject * obj0 = 0 ;
32013 PyObject * obj1 = 0 ;
32014 PyObject * obj2 = 0 ;
32015 char *kwnames[] = {
32016 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32017 };
32018
32019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32021 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32022 {
32023 arg2 = wxString_in_helper(obj1);
32024 if (arg2 == NULL) SWIG_fail;
b411df4a 32025 temp2 = true;
d55e5bfc 32026 }
36ed4f51
RD
32027 {
32028 arg3 = (int)(SWIG_As_int(obj2));
32029 if (SWIG_arg_fail(3)) SWIG_fail;
32030 }
d55e5bfc
RD
32031 {
32032 PyThreadState* __tstate = wxPyBeginAllowThreads();
32033 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32034
32035 wxPyEndAllowThreads(__tstate);
32036 if (PyErr_Occurred()) SWIG_fail;
32037 }
32038 Py_INCREF(Py_None); resultobj = Py_None;
32039 {
32040 if (temp2)
32041 delete arg2;
32042 }
32043 return resultobj;
32044 fail:
32045 {
32046 if (temp2)
32047 delete arg2;
32048 }
32049 return NULL;
32050}
32051
32052
c370783e 32053static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32054 PyObject *obj;
32055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32056 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32057 Py_INCREF(obj);
32058 return Py_BuildValue((char *)"");
32059}
c370783e 32060static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32061 PyObject *resultobj;
32062 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 32063 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
32064 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32065 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32066 wxSize const &arg4_defvalue = wxDefaultSize ;
32067 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32068 long arg5 = (long) 0 ;
32069 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32070 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32071 wxString const &arg7_defvalue = wxPyControlNameStr ;
32072 wxString *arg7 = (wxString *) &arg7_defvalue ;
32073 wxPyControl *result;
32074 wxPoint temp3 ;
32075 wxSize temp4 ;
b411df4a 32076 bool temp7 = false ;
d55e5bfc
RD
32077 PyObject * obj0 = 0 ;
32078 PyObject * obj1 = 0 ;
32079 PyObject * obj2 = 0 ;
32080 PyObject * obj3 = 0 ;
32081 PyObject * obj4 = 0 ;
32082 PyObject * obj5 = 0 ;
32083 PyObject * obj6 = 0 ;
32084 char *kwnames[] = {
32085 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32086 };
32087
bfddbb17 32088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
32089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32090 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 32091 if (obj1) {
36ed4f51
RD
32092 {
32093 arg2 = (int const)(SWIG_As_int(obj1));
32094 if (SWIG_arg_fail(2)) SWIG_fail;
32095 }
bfddbb17 32096 }
d55e5bfc
RD
32097 if (obj2) {
32098 {
32099 arg3 = &temp3;
32100 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32101 }
32102 }
32103 if (obj3) {
32104 {
32105 arg4 = &temp4;
32106 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32107 }
32108 }
32109 if (obj4) {
36ed4f51
RD
32110 {
32111 arg5 = (long)(SWIG_As_long(obj4));
32112 if (SWIG_arg_fail(5)) SWIG_fail;
32113 }
d55e5bfc
RD
32114 }
32115 if (obj5) {
36ed4f51
RD
32116 {
32117 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32118 if (SWIG_arg_fail(6)) SWIG_fail;
32119 if (arg6 == NULL) {
32120 SWIG_null_ref("wxValidator");
32121 }
32122 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
32123 }
32124 }
32125 if (obj6) {
32126 {
32127 arg7 = wxString_in_helper(obj6);
32128 if (arg7 == NULL) SWIG_fail;
b411df4a 32129 temp7 = true;
d55e5bfc
RD
32130 }
32131 }
32132 {
0439c23b 32133 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32134 PyThreadState* __tstate = wxPyBeginAllowThreads();
32135 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32136
32137 wxPyEndAllowThreads(__tstate);
110da5b0 32138 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32139 }
32140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32141 {
32142 if (temp7)
32143 delete arg7;
32144 }
32145 return resultobj;
32146 fail:
32147 {
32148 if (temp7)
32149 delete arg7;
32150 }
32151 return NULL;
32152}
32153
32154
c370783e 32155static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32156 PyObject *resultobj;
32157 wxPyControl *result;
32158 char *kwnames[] = {
32159 NULL
32160 };
32161
32162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32163 {
0439c23b 32164 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32165 PyThreadState* __tstate = wxPyBeginAllowThreads();
32166 result = (wxPyControl *)new wxPyControl();
32167
32168 wxPyEndAllowThreads(__tstate);
110da5b0 32169 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32170 }
32171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32172 return resultobj;
32173 fail:
32174 return NULL;
32175}
32176
32177
c370783e 32178static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32179 PyObject *resultobj;
32180 wxPyControl *arg1 = (wxPyControl *) 0 ;
32181 PyObject *arg2 = (PyObject *) 0 ;
32182 PyObject *arg3 = (PyObject *) 0 ;
32183 PyObject * obj0 = 0 ;
32184 PyObject * obj1 = 0 ;
32185 PyObject * obj2 = 0 ;
32186 char *kwnames[] = {
32187 (char *) "self",(char *) "self",(char *) "_class", NULL
32188 };
32189
32190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32193 arg2 = obj1;
32194 arg3 = obj2;
32195 {
32196 PyThreadState* __tstate = wxPyBeginAllowThreads();
32197 (arg1)->_setCallbackInfo(arg2,arg3);
32198
32199 wxPyEndAllowThreads(__tstate);
32200 if (PyErr_Occurred()) SWIG_fail;
32201 }
32202 Py_INCREF(Py_None); resultobj = Py_None;
32203 return resultobj;
32204 fail:
32205 return NULL;
32206}
32207
32208
c370783e 32209static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
32210 PyObject *resultobj;
32211 wxPyControl *arg1 = (wxPyControl *) 0 ;
32212 wxSize *arg2 = 0 ;
32213 wxSize temp2 ;
32214 PyObject * obj0 = 0 ;
32215 PyObject * obj1 = 0 ;
32216 char *kwnames[] = {
32217 (char *) "self",(char *) "size", NULL
32218 };
32219
32220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32222 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
32223 {
32224 arg2 = &temp2;
32225 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32226 }
32227 {
32228 PyThreadState* __tstate = wxPyBeginAllowThreads();
32229 (arg1)->SetBestSize((wxSize const &)*arg2);
32230
32231 wxPyEndAllowThreads(__tstate);
32232 if (PyErr_Occurred()) SWIG_fail;
32233 }
32234 Py_INCREF(Py_None); resultobj = Py_None;
32235 return resultobj;
32236 fail:
32237 return NULL;
32238}
32239
32240
c370783e 32241static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32242 PyObject *resultobj;
32243 wxPyControl *arg1 = (wxPyControl *) 0 ;
32244 int arg2 ;
32245 int arg3 ;
32246 int arg4 ;
32247 int arg5 ;
32248 PyObject * obj0 = 0 ;
32249 PyObject * obj1 = 0 ;
32250 PyObject * obj2 = 0 ;
32251 PyObject * obj3 = 0 ;
32252 PyObject * obj4 = 0 ;
32253 char *kwnames[] = {
32254 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32255 };
32256
32257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
32258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32259 if (SWIG_arg_fail(1)) SWIG_fail;
32260 {
32261 arg2 = (int)(SWIG_As_int(obj1));
32262 if (SWIG_arg_fail(2)) SWIG_fail;
32263 }
32264 {
32265 arg3 = (int)(SWIG_As_int(obj2));
32266 if (SWIG_arg_fail(3)) SWIG_fail;
32267 }
32268 {
32269 arg4 = (int)(SWIG_As_int(obj3));
32270 if (SWIG_arg_fail(4)) SWIG_fail;
32271 }
32272 {
32273 arg5 = (int)(SWIG_As_int(obj4));
32274 if (SWIG_arg_fail(5)) SWIG_fail;
32275 }
d55e5bfc
RD
32276 {
32277 PyThreadState* __tstate = wxPyBeginAllowThreads();
32278 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
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_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32291 PyObject *resultobj;
32292 wxPyControl *arg1 = (wxPyControl *) 0 ;
32293 int arg2 ;
32294 int arg3 ;
32295 int arg4 ;
32296 int arg5 ;
32297 int arg6 = (int) wxSIZE_AUTO ;
32298 PyObject * obj0 = 0 ;
32299 PyObject * obj1 = 0 ;
32300 PyObject * obj2 = 0 ;
32301 PyObject * obj3 = 0 ;
32302 PyObject * obj4 = 0 ;
32303 PyObject * obj5 = 0 ;
32304 char *kwnames[] = {
32305 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32306 };
32307
32308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
32309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32310 if (SWIG_arg_fail(1)) SWIG_fail;
32311 {
32312 arg2 = (int)(SWIG_As_int(obj1));
32313 if (SWIG_arg_fail(2)) SWIG_fail;
32314 }
32315 {
32316 arg3 = (int)(SWIG_As_int(obj2));
32317 if (SWIG_arg_fail(3)) SWIG_fail;
32318 }
32319 {
32320 arg4 = (int)(SWIG_As_int(obj3));
32321 if (SWIG_arg_fail(4)) SWIG_fail;
32322 }
32323 {
32324 arg5 = (int)(SWIG_As_int(obj4));
32325 if (SWIG_arg_fail(5)) SWIG_fail;
32326 }
d55e5bfc 32327 if (obj5) {
36ed4f51
RD
32328 {
32329 arg6 = (int)(SWIG_As_int(obj5));
32330 if (SWIG_arg_fail(6)) SWIG_fail;
32331 }
d55e5bfc
RD
32332 }
32333 {
32334 PyThreadState* __tstate = wxPyBeginAllowThreads();
32335 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32336
32337 wxPyEndAllowThreads(__tstate);
32338 if (PyErr_Occurred()) SWIG_fail;
32339 }
32340 Py_INCREF(Py_None); resultobj = Py_None;
32341 return resultobj;
32342 fail:
32343 return NULL;
32344}
32345
32346
c370783e 32347static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32348 PyObject *resultobj;
32349 wxPyControl *arg1 = (wxPyControl *) 0 ;
32350 int arg2 ;
32351 int arg3 ;
32352 PyObject * obj0 = 0 ;
32353 PyObject * obj1 = 0 ;
32354 PyObject * obj2 = 0 ;
32355 char *kwnames[] = {
32356 (char *) "self",(char *) "width",(char *) "height", NULL
32357 };
32358
32359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32361 if (SWIG_arg_fail(1)) SWIG_fail;
32362 {
32363 arg2 = (int)(SWIG_As_int(obj1));
32364 if (SWIG_arg_fail(2)) SWIG_fail;
32365 }
32366 {
32367 arg3 = (int)(SWIG_As_int(obj2));
32368 if (SWIG_arg_fail(3)) SWIG_fail;
32369 }
d55e5bfc
RD
32370 {
32371 PyThreadState* __tstate = wxPyBeginAllowThreads();
32372 (arg1)->base_DoSetClientSize(arg2,arg3);
32373
32374 wxPyEndAllowThreads(__tstate);
32375 if (PyErr_Occurred()) SWIG_fail;
32376 }
32377 Py_INCREF(Py_None); resultobj = Py_None;
32378 return resultobj;
32379 fail:
32380 return NULL;
32381}
32382
32383
c370783e 32384static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32385 PyObject *resultobj;
32386 wxPyControl *arg1 = (wxPyControl *) 0 ;
32387 int arg2 ;
32388 int arg3 ;
32389 PyObject * obj0 = 0 ;
32390 PyObject * obj1 = 0 ;
32391 PyObject * obj2 = 0 ;
32392 char *kwnames[] = {
32393 (char *) "self",(char *) "x",(char *) "y", NULL
32394 };
32395
32396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32398 if (SWIG_arg_fail(1)) SWIG_fail;
32399 {
32400 arg2 = (int)(SWIG_As_int(obj1));
32401 if (SWIG_arg_fail(2)) SWIG_fail;
32402 }
32403 {
32404 arg3 = (int)(SWIG_As_int(obj2));
32405 if (SWIG_arg_fail(3)) SWIG_fail;
32406 }
d55e5bfc
RD
32407 {
32408 PyThreadState* __tstate = wxPyBeginAllowThreads();
32409 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32410
32411 wxPyEndAllowThreads(__tstate);
32412 if (PyErr_Occurred()) SWIG_fail;
32413 }
32414 Py_INCREF(Py_None); resultobj = Py_None;
32415 return resultobj;
32416 fail:
32417 return NULL;
32418}
32419
32420
c370783e 32421static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32422 PyObject *resultobj;
32423 wxPyControl *arg1 = (wxPyControl *) 0 ;
32424 int *arg2 = (int *) 0 ;
32425 int *arg3 = (int *) 0 ;
32426 int temp2 ;
c370783e 32427 int res2 = 0 ;
d55e5bfc 32428 int temp3 ;
c370783e 32429 int res3 = 0 ;
d55e5bfc
RD
32430 PyObject * obj0 = 0 ;
32431 char *kwnames[] = {
32432 (char *) "self", NULL
32433 };
32434
c370783e
RD
32435 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32436 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32439 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32440 {
32441 PyThreadState* __tstate = wxPyBeginAllowThreads();
32442 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32443
32444 wxPyEndAllowThreads(__tstate);
32445 if (PyErr_Occurred()) SWIG_fail;
32446 }
32447 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
32448 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32449 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32450 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32451 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32452 return resultobj;
32453 fail:
32454 return NULL;
32455}
32456
32457
c370783e 32458static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32459 PyObject *resultobj;
32460 wxPyControl *arg1 = (wxPyControl *) 0 ;
32461 int *arg2 = (int *) 0 ;
32462 int *arg3 = (int *) 0 ;
32463 int temp2 ;
c370783e 32464 int res2 = 0 ;
d55e5bfc 32465 int temp3 ;
c370783e 32466 int res3 = 0 ;
d55e5bfc
RD
32467 PyObject * obj0 = 0 ;
32468 char *kwnames[] = {
32469 (char *) "self", NULL
32470 };
32471
c370783e
RD
32472 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32473 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32476 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32477 {
32478 PyThreadState* __tstate = wxPyBeginAllowThreads();
32479 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32480
32481 wxPyEndAllowThreads(__tstate);
32482 if (PyErr_Occurred()) SWIG_fail;
32483 }
32484 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
32485 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32486 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32487 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32488 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32489 return resultobj;
32490 fail:
32491 return NULL;
32492}
32493
32494
c370783e 32495static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32496 PyObject *resultobj;
32497 wxPyControl *arg1 = (wxPyControl *) 0 ;
32498 int *arg2 = (int *) 0 ;
32499 int *arg3 = (int *) 0 ;
32500 int temp2 ;
c370783e 32501 int res2 = 0 ;
d55e5bfc 32502 int temp3 ;
c370783e 32503 int res3 = 0 ;
d55e5bfc
RD
32504 PyObject * obj0 = 0 ;
32505 char *kwnames[] = {
32506 (char *) "self", NULL
32507 };
32508
c370783e
RD
32509 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32510 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
32512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32514 {
32515 PyThreadState* __tstate = wxPyBeginAllowThreads();
32516 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32517
32518 wxPyEndAllowThreads(__tstate);
32519 if (PyErr_Occurred()) SWIG_fail;
32520 }
32521 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
32522 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32523 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32524 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32525 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32526 return resultobj;
32527 fail:
32528 return NULL;
32529}
32530
32531
c370783e 32532static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32533 PyObject *resultobj;
32534 wxPyControl *arg1 = (wxPyControl *) 0 ;
32535 wxSize result;
32536 PyObject * obj0 = 0 ;
32537 char *kwnames[] = {
32538 (char *) "self", NULL
32539 };
32540
32541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32543 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32544 {
32545 PyThreadState* __tstate = wxPyBeginAllowThreads();
32546 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32547
32548 wxPyEndAllowThreads(__tstate);
32549 if (PyErr_Occurred()) SWIG_fail;
32550 }
32551 {
32552 wxSize * resultptr;
36ed4f51 32553 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32554 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32555 }
32556 return resultobj;
32557 fail:
32558 return NULL;
32559}
32560
32561
c370783e 32562static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32563 PyObject *resultobj;
32564 wxPyControl *arg1 = (wxPyControl *) 0 ;
32565 wxSize result;
32566 PyObject * obj0 = 0 ;
32567 char *kwnames[] = {
32568 (char *) "self", NULL
32569 };
32570
32571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32573 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32574 {
32575 PyThreadState* __tstate = wxPyBeginAllowThreads();
32576 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32577
32578 wxPyEndAllowThreads(__tstate);
32579 if (PyErr_Occurred()) SWIG_fail;
32580 }
32581 {
32582 wxSize * resultptr;
36ed4f51 32583 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32585 }
32586 return resultobj;
32587 fail:
32588 return NULL;
32589}
32590
32591
c370783e 32592static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32593 PyObject *resultobj;
32594 wxPyControl *arg1 = (wxPyControl *) 0 ;
32595 PyObject * obj0 = 0 ;
32596 char *kwnames[] = {
32597 (char *) "self", NULL
32598 };
32599
32600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
32601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32602 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32603 {
32604 PyThreadState* __tstate = wxPyBeginAllowThreads();
32605 (arg1)->base_InitDialog();
32606
32607 wxPyEndAllowThreads(__tstate);
32608 if (PyErr_Occurred()) SWIG_fail;
32609 }
32610 Py_INCREF(Py_None); resultobj = Py_None;
32611 return resultobj;
32612 fail:
32613 return NULL;
32614}
32615
32616
c370783e 32617static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32618 PyObject *resultobj;
32619 wxPyControl *arg1 = (wxPyControl *) 0 ;
32620 bool result;
32621 PyObject * obj0 = 0 ;
32622 char *kwnames[] = {
32623 (char *) "self", NULL
32624 };
32625
32626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
32627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32628 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32629 {
32630 PyThreadState* __tstate = wxPyBeginAllowThreads();
32631 result = (bool)(arg1)->base_TransferDataToWindow();
32632
32633 wxPyEndAllowThreads(__tstate);
32634 if (PyErr_Occurred()) SWIG_fail;
32635 }
32636 {
32637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32638 }
32639 return resultobj;
32640 fail:
32641 return NULL;
32642}
32643
32644
c370783e 32645static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32646 PyObject *resultobj;
32647 wxPyControl *arg1 = (wxPyControl *) 0 ;
32648 bool result;
32649 PyObject * obj0 = 0 ;
32650 char *kwnames[] = {
32651 (char *) "self", NULL
32652 };
32653
32654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
32655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32656 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32657 {
32658 PyThreadState* __tstate = wxPyBeginAllowThreads();
32659 result = (bool)(arg1)->base_TransferDataFromWindow();
32660
32661 wxPyEndAllowThreads(__tstate);
32662 if (PyErr_Occurred()) SWIG_fail;
32663 }
32664 {
32665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32666 }
32667 return resultobj;
32668 fail:
32669 return NULL;
32670}
32671
32672
c370783e 32673static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32674 PyObject *resultobj;
32675 wxPyControl *arg1 = (wxPyControl *) 0 ;
32676 bool result;
32677 PyObject * obj0 = 0 ;
32678 char *kwnames[] = {
32679 (char *) "self", NULL
32680 };
32681
32682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
32683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32684 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32685 {
32686 PyThreadState* __tstate = wxPyBeginAllowThreads();
32687 result = (bool)(arg1)->base_Validate();
32688
32689 wxPyEndAllowThreads(__tstate);
32690 if (PyErr_Occurred()) SWIG_fail;
32691 }
32692 {
32693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32694 }
32695 return resultobj;
32696 fail:
32697 return NULL;
32698}
32699
32700
c370783e 32701static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32702 PyObject *resultobj;
32703 wxPyControl *arg1 = (wxPyControl *) 0 ;
32704 bool result;
32705 PyObject * obj0 = 0 ;
32706 char *kwnames[] = {
32707 (char *) "self", NULL
32708 };
32709
32710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
32711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32713 {
32714 PyThreadState* __tstate = wxPyBeginAllowThreads();
32715 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32716
32717 wxPyEndAllowThreads(__tstate);
32718 if (PyErr_Occurred()) SWIG_fail;
32719 }
32720 {
32721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32722 }
32723 return resultobj;
32724 fail:
32725 return NULL;
32726}
32727
32728
c370783e 32729static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32730 PyObject *resultobj;
32731 wxPyControl *arg1 = (wxPyControl *) 0 ;
32732 bool result;
32733 PyObject * obj0 = 0 ;
32734 char *kwnames[] = {
32735 (char *) "self", NULL
32736 };
32737
32738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
32739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32741 {
32742 PyThreadState* __tstate = wxPyBeginAllowThreads();
32743 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32744
32745 wxPyEndAllowThreads(__tstate);
32746 if (PyErr_Occurred()) SWIG_fail;
32747 }
32748 {
32749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32750 }
32751 return resultobj;
32752 fail:
32753 return NULL;
32754}
32755
32756
c370783e 32757static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32758 PyObject *resultobj;
32759 wxPyControl *arg1 = (wxPyControl *) 0 ;
32760 wxSize result;
32761 PyObject * obj0 = 0 ;
32762 char *kwnames[] = {
32763 (char *) "self", NULL
32764 };
32765
32766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32768 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32769 {
32770 PyThreadState* __tstate = wxPyBeginAllowThreads();
32771 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32772
32773 wxPyEndAllowThreads(__tstate);
32774 if (PyErr_Occurred()) SWIG_fail;
32775 }
32776 {
32777 wxSize * resultptr;
36ed4f51 32778 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32779 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32780 }
32781 return resultobj;
32782 fail:
32783 return NULL;
32784}
32785
32786
c370783e 32787static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32788 PyObject *resultobj;
32789 wxPyControl *arg1 = (wxPyControl *) 0 ;
32790 wxWindow *arg2 = (wxWindow *) 0 ;
32791 PyObject * obj0 = 0 ;
32792 PyObject * obj1 = 0 ;
32793 char *kwnames[] = {
32794 (char *) "self",(char *) "child", NULL
32795 };
32796
32797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) 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;
32800 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32801 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32802 {
32803 PyThreadState* __tstate = wxPyBeginAllowThreads();
32804 (arg1)->base_AddChild(arg2);
32805
32806 wxPyEndAllowThreads(__tstate);
32807 if (PyErr_Occurred()) SWIG_fail;
32808 }
32809 Py_INCREF(Py_None); resultobj = Py_None;
32810 return resultobj;
32811 fail:
32812 return NULL;
32813}
32814
32815
c370783e 32816static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32817 PyObject *resultobj;
32818 wxPyControl *arg1 = (wxPyControl *) 0 ;
32819 wxWindow *arg2 = (wxWindow *) 0 ;
32820 PyObject * obj0 = 0 ;
32821 PyObject * obj1 = 0 ;
32822 char *kwnames[] = {
32823 (char *) "self",(char *) "child", NULL
32824 };
32825
32826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32828 if (SWIG_arg_fail(1)) SWIG_fail;
32829 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32830 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32831 {
32832 PyThreadState* __tstate = wxPyBeginAllowThreads();
32833 (arg1)->base_RemoveChild(arg2);
32834
32835 wxPyEndAllowThreads(__tstate);
32836 if (PyErr_Occurred()) SWIG_fail;
32837 }
32838 Py_INCREF(Py_None); resultobj = Py_None;
32839 return resultobj;
32840 fail:
32841 return NULL;
32842}
32843
32844
c370783e 32845static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32846 PyObject *resultobj;
32847 wxPyControl *arg1 = (wxPyControl *) 0 ;
32848 bool result;
32849 PyObject * obj0 = 0 ;
32850 char *kwnames[] = {
32851 (char *) "self", NULL
32852 };
32853
32854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
32855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32857 {
32858 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 32859 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
32860
32861 wxPyEndAllowThreads(__tstate);
32862 if (PyErr_Occurred()) SWIG_fail;
32863 }
32864 {
32865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32866 }
32867 return resultobj;
32868 fail:
32869 return NULL;
32870}
32871
32872
c370783e 32873static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
32874 PyObject *resultobj;
32875 wxPyControl *arg1 = (wxPyControl *) 0 ;
32876 wxVisualAttributes result;
32877 PyObject * obj0 = 0 ;
32878 char *kwnames[] = {
32879 (char *) "self", NULL
32880 };
32881
32882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
32883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32884 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
32885 {
32886 PyThreadState* __tstate = wxPyBeginAllowThreads();
32887 result = (arg1)->base_GetDefaultAttributes();
32888
32889 wxPyEndAllowThreads(__tstate);
32890 if (PyErr_Occurred()) SWIG_fail;
32891 }
32892 {
32893 wxVisualAttributes * resultptr;
36ed4f51 32894 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
a5ee0656
RD
32895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32896 }
32897 return resultobj;
32898 fail:
32899 return NULL;
32900}
32901
32902
c370783e 32903static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32904 PyObject *obj;
32905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32906 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32907 Py_INCREF(obj);
32908 return Py_BuildValue((char *)"");
32909}
c370783e 32910static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32911 PyObject *resultobj;
32912 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32913 int arg2 = (int) 0 ;
32914 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32915 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32916 wxHelpEvent *result;
32917 wxPoint temp3 ;
32918 PyObject * obj0 = 0 ;
32919 PyObject * obj1 = 0 ;
32920 PyObject * obj2 = 0 ;
32921 char *kwnames[] = {
32922 (char *) "type",(char *) "winid",(char *) "pt", NULL
32923 };
32924
32925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
32926 if (obj0) {
36ed4f51
RD
32927 {
32928 arg1 = (wxEventType)(SWIG_As_int(obj0));
32929 if (SWIG_arg_fail(1)) SWIG_fail;
32930 }
d55e5bfc
RD
32931 }
32932 if (obj1) {
36ed4f51
RD
32933 {
32934 arg2 = (int)(SWIG_As_int(obj1));
32935 if (SWIG_arg_fail(2)) SWIG_fail;
32936 }
d55e5bfc
RD
32937 }
32938 if (obj2) {
32939 {
32940 arg3 = &temp3;
32941 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32942 }
32943 }
32944 {
32945 PyThreadState* __tstate = wxPyBeginAllowThreads();
32946 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
32947
32948 wxPyEndAllowThreads(__tstate);
32949 if (PyErr_Occurred()) SWIG_fail;
32950 }
32951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
32952 return resultobj;
32953 fail:
32954 return NULL;
32955}
32956
32957
c370783e 32958static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32959 PyObject *resultobj;
32960 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32961 wxPoint result;
32962 PyObject * obj0 = 0 ;
32963 char *kwnames[] = {
32964 (char *) "self", NULL
32965 };
32966
32967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
32968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
32969 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32970 {
32971 PyThreadState* __tstate = wxPyBeginAllowThreads();
32972 result = ((wxHelpEvent const *)arg1)->GetPosition();
32973
32974 wxPyEndAllowThreads(__tstate);
32975 if (PyErr_Occurred()) SWIG_fail;
32976 }
32977 {
32978 wxPoint * resultptr;
36ed4f51 32979 resultptr = new wxPoint((wxPoint const &)(result));
d55e5bfc
RD
32980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
32981 }
32982 return resultobj;
32983 fail:
32984 return NULL;
32985}
32986
32987
c370783e 32988static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32989 PyObject *resultobj;
32990 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32991 wxPoint *arg2 = 0 ;
32992 wxPoint temp2 ;
32993 PyObject * obj0 = 0 ;
32994 PyObject * obj1 = 0 ;
32995 char *kwnames[] = {
32996 (char *) "self",(char *) "pos", NULL
32997 };
32998
32999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33001 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33002 {
33003 arg2 = &temp2;
33004 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33005 }
33006 {
33007 PyThreadState* __tstate = wxPyBeginAllowThreads();
33008 (arg1)->SetPosition((wxPoint const &)*arg2);
33009
33010 wxPyEndAllowThreads(__tstate);
33011 if (PyErr_Occurred()) SWIG_fail;
33012 }
33013 Py_INCREF(Py_None); resultobj = Py_None;
33014 return resultobj;
33015 fail:
33016 return NULL;
33017}
33018
33019
c370783e 33020static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33021 PyObject *resultobj;
33022 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33023 wxString *result;
33024 PyObject * obj0 = 0 ;
33025 char *kwnames[] = {
33026 (char *) "self", NULL
33027 };
33028
33029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
36ed4f51
RD
33030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33032 {
33033 PyThreadState* __tstate = wxPyBeginAllowThreads();
33034 {
33035 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33036 result = (wxString *) &_result_ref;
33037 }
33038
33039 wxPyEndAllowThreads(__tstate);
33040 if (PyErr_Occurred()) SWIG_fail;
33041 }
33042 {
33043#if wxUSE_UNICODE
33044 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33045#else
33046 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33047#endif
33048 }
33049 return resultobj;
33050 fail:
33051 return NULL;
33052}
33053
33054
c370783e 33055static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33056 PyObject *resultobj;
33057 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33058 wxString *arg2 = 0 ;
b411df4a 33059 bool temp2 = false ;
d55e5bfc
RD
33060 PyObject * obj0 = 0 ;
33061 PyObject * obj1 = 0 ;
33062 char *kwnames[] = {
33063 (char *) "self",(char *) "link", NULL
33064 };
33065
33066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33068 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33069 {
33070 arg2 = wxString_in_helper(obj1);
33071 if (arg2 == NULL) SWIG_fail;
b411df4a 33072 temp2 = true;
d55e5bfc
RD
33073 }
33074 {
33075 PyThreadState* __tstate = wxPyBeginAllowThreads();
33076 (arg1)->SetLink((wxString const &)*arg2);
33077
33078 wxPyEndAllowThreads(__tstate);
33079 if (PyErr_Occurred()) SWIG_fail;
33080 }
33081 Py_INCREF(Py_None); resultobj = Py_None;
33082 {
33083 if (temp2)
33084 delete arg2;
33085 }
33086 return resultobj;
33087 fail:
33088 {
33089 if (temp2)
33090 delete arg2;
33091 }
33092 return NULL;
33093}
33094
33095
c370783e 33096static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33097 PyObject *resultobj;
33098 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33099 wxString *result;
33100 PyObject * obj0 = 0 ;
33101 char *kwnames[] = {
33102 (char *) "self", NULL
33103 };
33104
33105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
36ed4f51
RD
33106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33107 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33108 {
33109 PyThreadState* __tstate = wxPyBeginAllowThreads();
33110 {
33111 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33112 result = (wxString *) &_result_ref;
33113 }
33114
33115 wxPyEndAllowThreads(__tstate);
33116 if (PyErr_Occurred()) SWIG_fail;
33117 }
33118 {
33119#if wxUSE_UNICODE
33120 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33121#else
33122 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33123#endif
33124 }
33125 return resultobj;
33126 fail:
33127 return NULL;
33128}
33129
33130
c370783e 33131static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33132 PyObject *resultobj;
33133 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33134 wxString *arg2 = 0 ;
b411df4a 33135 bool temp2 = false ;
d55e5bfc
RD
33136 PyObject * obj0 = 0 ;
33137 PyObject * obj1 = 0 ;
33138 char *kwnames[] = {
33139 (char *) "self",(char *) "target", NULL
33140 };
33141
33142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33144 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33145 {
33146 arg2 = wxString_in_helper(obj1);
33147 if (arg2 == NULL) SWIG_fail;
b411df4a 33148 temp2 = true;
d55e5bfc
RD
33149 }
33150 {
33151 PyThreadState* __tstate = wxPyBeginAllowThreads();
33152 (arg1)->SetTarget((wxString const &)*arg2);
33153
33154 wxPyEndAllowThreads(__tstate);
33155 if (PyErr_Occurred()) SWIG_fail;
33156 }
33157 Py_INCREF(Py_None); resultobj = Py_None;
33158 {
33159 if (temp2)
33160 delete arg2;
33161 }
33162 return resultobj;
33163 fail:
33164 {
33165 if (temp2)
33166 delete arg2;
33167 }
33168 return NULL;
33169}
33170
33171
c370783e 33172static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33173 PyObject *obj;
33174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33175 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33176 Py_INCREF(obj);
33177 return Py_BuildValue((char *)"");
33178}
c370783e 33179static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33180 PyObject *resultobj;
33181 wxWindow *arg1 = (wxWindow *) NULL ;
b411df4a 33182 bool arg2 = (bool) true ;
d55e5bfc
RD
33183 wxContextHelp *result;
33184 PyObject * obj0 = 0 ;
33185 PyObject * obj1 = 0 ;
33186 char *kwnames[] = {
33187 (char *) "window",(char *) "doNow", NULL
33188 };
33189
33190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33191 if (obj0) {
36ed4f51
RD
33192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33193 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33194 }
33195 if (obj1) {
36ed4f51
RD
33196 {
33197 arg2 = (bool)(SWIG_As_bool(obj1));
33198 if (SWIG_arg_fail(2)) SWIG_fail;
33199 }
d55e5bfc
RD
33200 }
33201 {
0439c23b 33202 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33203 PyThreadState* __tstate = wxPyBeginAllowThreads();
33204 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33205
33206 wxPyEndAllowThreads(__tstate);
110da5b0 33207 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33208 }
33209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33210 return resultobj;
33211 fail:
33212 return NULL;
33213}
33214
33215
c370783e 33216static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33217 PyObject *resultobj;
33218 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33219 PyObject * obj0 = 0 ;
33220 char *kwnames[] = {
33221 (char *) "self", NULL
33222 };
33223
33224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
33225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33226 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33227 {
33228 PyThreadState* __tstate = wxPyBeginAllowThreads();
33229 delete arg1;
33230
33231 wxPyEndAllowThreads(__tstate);
33232 if (PyErr_Occurred()) SWIG_fail;
33233 }
33234 Py_INCREF(Py_None); resultobj = Py_None;
33235 return resultobj;
33236 fail:
33237 return NULL;
33238}
33239
33240
c370783e 33241static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33242 PyObject *resultobj;
33243 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33244 wxWindow *arg2 = (wxWindow *) NULL ;
33245 bool result;
33246 PyObject * obj0 = 0 ;
33247 PyObject * obj1 = 0 ;
33248 char *kwnames[] = {
33249 (char *) "self",(char *) "window", NULL
33250 };
33251
33252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33254 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33255 if (obj1) {
36ed4f51
RD
33256 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33257 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33258 }
33259 {
33260 PyThreadState* __tstate = wxPyBeginAllowThreads();
33261 result = (bool)(arg1)->BeginContextHelp(arg2);
33262
33263 wxPyEndAllowThreads(__tstate);
33264 if (PyErr_Occurred()) SWIG_fail;
33265 }
33266 {
33267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33268 }
33269 return resultobj;
33270 fail:
33271 return NULL;
33272}
33273
33274
c370783e 33275static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33276 PyObject *resultobj;
33277 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33278 bool result;
33279 PyObject * obj0 = 0 ;
33280 char *kwnames[] = {
33281 (char *) "self", NULL
33282 };
33283
33284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
33285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33286 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33287 {
33288 PyThreadState* __tstate = wxPyBeginAllowThreads();
33289 result = (bool)(arg1)->EndContextHelp();
33290
33291 wxPyEndAllowThreads(__tstate);
33292 if (PyErr_Occurred()) SWIG_fail;
33293 }
33294 {
33295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33296 }
33297 return resultobj;
33298 fail:
33299 return NULL;
33300}
33301
33302
c370783e 33303static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33304 PyObject *obj;
33305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33306 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33307 Py_INCREF(obj);
33308 return Py_BuildValue((char *)"");
33309}
c370783e 33310static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33311 PyObject *resultobj;
33312 wxWindow *arg1 = (wxWindow *) 0 ;
33313 int arg2 = (int) wxID_CONTEXT_HELP ;
33314 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33315 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33316 wxSize const &arg4_defvalue = wxDefaultSize ;
33317 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33318 long arg5 = (long) wxBU_AUTODRAW ;
33319 wxContextHelpButton *result;
33320 wxPoint temp3 ;
33321 wxSize temp4 ;
33322 PyObject * obj0 = 0 ;
33323 PyObject * obj1 = 0 ;
33324 PyObject * obj2 = 0 ;
33325 PyObject * obj3 = 0 ;
33326 PyObject * obj4 = 0 ;
33327 char *kwnames[] = {
33328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33329 };
33330
33331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33333 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33334 if (obj1) {
36ed4f51
RD
33335 {
33336 arg2 = (int)(SWIG_As_int(obj1));
33337 if (SWIG_arg_fail(2)) SWIG_fail;
33338 }
d55e5bfc
RD
33339 }
33340 if (obj2) {
33341 {
33342 arg3 = &temp3;
33343 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33344 }
33345 }
33346 if (obj3) {
33347 {
33348 arg4 = &temp4;
33349 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33350 }
33351 }
33352 if (obj4) {
36ed4f51
RD
33353 {
33354 arg5 = (long)(SWIG_As_long(obj4));
33355 if (SWIG_arg_fail(5)) SWIG_fail;
33356 }
d55e5bfc
RD
33357 }
33358 {
0439c23b 33359 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33360 PyThreadState* __tstate = wxPyBeginAllowThreads();
33361 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33362
33363 wxPyEndAllowThreads(__tstate);
110da5b0 33364 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33365 }
33366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33367 return resultobj;
33368 fail:
33369 return NULL;
33370}
33371
33372
c370783e 33373static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33374 PyObject *obj;
33375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33376 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33377 Py_INCREF(obj);
33378 return Py_BuildValue((char *)"");
33379}
c370783e 33380static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33381 PyObject *resultobj;
33382 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33383 wxHelpProvider *result;
33384 PyObject * obj0 = 0 ;
33385 char *kwnames[] = {
33386 (char *) "helpProvider", NULL
33387 };
33388
33389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
36ed4f51
RD
33390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33392 {
33393 PyThreadState* __tstate = wxPyBeginAllowThreads();
33394 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33395
33396 wxPyEndAllowThreads(__tstate);
33397 if (PyErr_Occurred()) SWIG_fail;
33398 }
33399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33400 return resultobj;
33401 fail:
33402 return NULL;
33403}
33404
33405
c370783e 33406static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33407 PyObject *resultobj;
33408 wxHelpProvider *result;
33409 char *kwnames[] = {
33410 NULL
33411 };
33412
33413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33414 {
33415 PyThreadState* __tstate = wxPyBeginAllowThreads();
33416 result = (wxHelpProvider *)wxHelpProvider::Get();
33417
33418 wxPyEndAllowThreads(__tstate);
33419 if (PyErr_Occurred()) SWIG_fail;
33420 }
33421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33422 return resultobj;
33423 fail:
33424 return NULL;
33425}
33426
33427
c370783e 33428static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33429 PyObject *resultobj;
33430 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33431 wxWindow *arg2 = (wxWindow *) 0 ;
33432 wxString result;
33433 PyObject * obj0 = 0 ;
33434 PyObject * obj1 = 0 ;
33435 char *kwnames[] = {
33436 (char *) "self",(char *) "window", NULL
33437 };
33438
33439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33441 if (SWIG_arg_fail(1)) SWIG_fail;
33442 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33443 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33444 {
33445 PyThreadState* __tstate = wxPyBeginAllowThreads();
33446 result = (arg1)->GetHelp((wxWindow const *)arg2);
33447
33448 wxPyEndAllowThreads(__tstate);
33449 if (PyErr_Occurred()) SWIG_fail;
33450 }
33451 {
33452#if wxUSE_UNICODE
33453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33454#else
33455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33456#endif
33457 }
33458 return resultobj;
33459 fail:
33460 return NULL;
33461}
33462
33463
c370783e 33464static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33465 PyObject *resultobj;
33466 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33467 wxWindow *arg2 = (wxWindow *) 0 ;
33468 bool result;
33469 PyObject * obj0 = 0 ;
33470 PyObject * obj1 = 0 ;
33471 char *kwnames[] = {
33472 (char *) "self",(char *) "window", NULL
33473 };
33474
33475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33477 if (SWIG_arg_fail(1)) SWIG_fail;
33478 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33479 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33480 {
33481 PyThreadState* __tstate = wxPyBeginAllowThreads();
33482 result = (bool)(arg1)->ShowHelp(arg2);
33483
33484 wxPyEndAllowThreads(__tstate);
33485 if (PyErr_Occurred()) SWIG_fail;
33486 }
33487 {
33488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33489 }
33490 return resultobj;
33491 fail:
33492 return NULL;
33493}
33494
33495
c370783e 33496static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33497 PyObject *resultobj;
33498 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33499 wxWindow *arg2 = (wxWindow *) 0 ;
33500 wxString *arg3 = 0 ;
b411df4a 33501 bool temp3 = false ;
d55e5bfc
RD
33502 PyObject * obj0 = 0 ;
33503 PyObject * obj1 = 0 ;
33504 PyObject * obj2 = 0 ;
33505 char *kwnames[] = {
33506 (char *) "self",(char *) "window",(char *) "text", NULL
33507 };
33508
33509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33511 if (SWIG_arg_fail(1)) SWIG_fail;
33512 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33513 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33514 {
33515 arg3 = wxString_in_helper(obj2);
33516 if (arg3 == NULL) SWIG_fail;
b411df4a 33517 temp3 = true;
d55e5bfc
RD
33518 }
33519 {
33520 PyThreadState* __tstate = wxPyBeginAllowThreads();
33521 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33522
33523 wxPyEndAllowThreads(__tstate);
33524 if (PyErr_Occurred()) SWIG_fail;
33525 }
33526 Py_INCREF(Py_None); resultobj = Py_None;
33527 {
33528 if (temp3)
33529 delete arg3;
33530 }
33531 return resultobj;
33532 fail:
33533 {
33534 if (temp3)
33535 delete arg3;
33536 }
33537 return NULL;
33538}
33539
33540
c370783e 33541static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33542 PyObject *resultobj;
33543 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33544 int arg2 ;
33545 wxString *arg3 = 0 ;
b411df4a 33546 bool temp3 = false ;
d55e5bfc
RD
33547 PyObject * obj0 = 0 ;
33548 PyObject * obj1 = 0 ;
33549 PyObject * obj2 = 0 ;
33550 char *kwnames[] = {
33551 (char *) "self",(char *) "id",(char *) "text", NULL
33552 };
33553
33554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33556 if (SWIG_arg_fail(1)) SWIG_fail;
33557 {
33558 arg2 = (int)(SWIG_As_int(obj1));
33559 if (SWIG_arg_fail(2)) SWIG_fail;
33560 }
d55e5bfc
RD
33561 {
33562 arg3 = wxString_in_helper(obj2);
33563 if (arg3 == NULL) SWIG_fail;
b411df4a 33564 temp3 = true;
d55e5bfc
RD
33565 }
33566 {
33567 PyThreadState* __tstate = wxPyBeginAllowThreads();
33568 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33569
33570 wxPyEndAllowThreads(__tstate);
33571 if (PyErr_Occurred()) SWIG_fail;
33572 }
33573 Py_INCREF(Py_None); resultobj = Py_None;
33574 {
33575 if (temp3)
33576 delete arg3;
33577 }
33578 return resultobj;
33579 fail:
33580 {
33581 if (temp3)
33582 delete arg3;
33583 }
33584 return NULL;
33585}
33586
33587
c370783e 33588static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33589 PyObject *resultobj;
33590 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33591 wxWindow *arg2 = (wxWindow *) 0 ;
33592 PyObject * obj0 = 0 ;
33593 PyObject * obj1 = 0 ;
33594 char *kwnames[] = {
33595 (char *) "self",(char *) "window", NULL
33596 };
33597
33598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33600 if (SWIG_arg_fail(1)) SWIG_fail;
33601 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33602 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33603 {
33604 PyThreadState* __tstate = wxPyBeginAllowThreads();
33605 (arg1)->RemoveHelp(arg2);
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 *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33618 PyObject *resultobj;
33619 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33620 PyObject * obj0 = 0 ;
33621 char *kwnames[] = {
33622 (char *) "self", NULL
33623 };
33624
33625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
33626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33627 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33628 {
33629 PyThreadState* __tstate = wxPyBeginAllowThreads();
33630 wxHelpProvider_Destroy(arg1);
33631
33632 wxPyEndAllowThreads(__tstate);
33633 if (PyErr_Occurred()) SWIG_fail;
33634 }
33635 Py_INCREF(Py_None); resultobj = Py_None;
33636 return resultobj;
33637 fail:
33638 return NULL;
33639}
33640
33641
c370783e 33642static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33643 PyObject *obj;
33644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33645 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33646 Py_INCREF(obj);
33647 return Py_BuildValue((char *)"");
33648}
c370783e 33649static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33650 PyObject *resultobj;
33651 wxSimpleHelpProvider *result;
33652 char *kwnames[] = {
33653 NULL
33654 };
33655
33656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33657 {
33658 PyThreadState* __tstate = wxPyBeginAllowThreads();
33659 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33660
33661 wxPyEndAllowThreads(__tstate);
33662 if (PyErr_Occurred()) SWIG_fail;
33663 }
33664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33665 return resultobj;
33666 fail:
33667 return NULL;
33668}
33669
33670
c370783e 33671static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33672 PyObject *obj;
33673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33674 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33675 Py_INCREF(obj);
33676 return Py_BuildValue((char *)"");
33677}
c370783e 33678static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33679 PyObject *resultobj;
33680 wxBitmap *arg1 = 0 ;
33681 wxCursor const &arg2_defvalue = wxNullCursor ;
33682 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33683 wxGenericDragImage *result;
33684 PyObject * obj0 = 0 ;
33685 PyObject * obj1 = 0 ;
33686 char *kwnames[] = {
33687 (char *) "image",(char *) "cursor", NULL
33688 };
33689
33690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33691 {
33692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33693 if (SWIG_arg_fail(1)) SWIG_fail;
33694 if (arg1 == NULL) {
33695 SWIG_null_ref("wxBitmap");
33696 }
33697 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33698 }
33699 if (obj1) {
36ed4f51
RD
33700 {
33701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33702 if (SWIG_arg_fail(2)) SWIG_fail;
33703 if (arg2 == NULL) {
33704 SWIG_null_ref("wxCursor");
33705 }
33706 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33707 }
33708 }
33709 {
0439c23b 33710 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33711 PyThreadState* __tstate = wxPyBeginAllowThreads();
33712 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33713
33714 wxPyEndAllowThreads(__tstate);
110da5b0 33715 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33716 }
33717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33718 return resultobj;
33719 fail:
33720 return NULL;
33721}
33722
33723
c370783e 33724static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33725 PyObject *resultobj;
33726 wxIcon *arg1 = 0 ;
33727 wxCursor const &arg2_defvalue = wxNullCursor ;
33728 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33729 wxGenericDragImage *result;
33730 PyObject * obj0 = 0 ;
33731 PyObject * obj1 = 0 ;
33732 char *kwnames[] = {
33733 (char *) "image",(char *) "cursor", NULL
33734 };
33735
33736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33737 {
33738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33739 if (SWIG_arg_fail(1)) SWIG_fail;
33740 if (arg1 == NULL) {
33741 SWIG_null_ref("wxIcon");
33742 }
33743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33744 }
33745 if (obj1) {
36ed4f51
RD
33746 {
33747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33748 if (SWIG_arg_fail(2)) SWIG_fail;
33749 if (arg2 == NULL) {
33750 SWIG_null_ref("wxCursor");
33751 }
33752 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33753 }
33754 }
33755 {
0439c23b 33756 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33757 PyThreadState* __tstate = wxPyBeginAllowThreads();
33758 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33759
33760 wxPyEndAllowThreads(__tstate);
110da5b0 33761 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33762 }
33763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33764 return resultobj;
33765 fail:
33766 return NULL;
33767}
33768
33769
c370783e 33770static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33771 PyObject *resultobj;
33772 wxString *arg1 = 0 ;
33773 wxCursor const &arg2_defvalue = wxNullCursor ;
33774 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33775 wxGenericDragImage *result;
b411df4a 33776 bool temp1 = false ;
d55e5bfc
RD
33777 PyObject * obj0 = 0 ;
33778 PyObject * obj1 = 0 ;
33779 char *kwnames[] = {
33780 (char *) "str",(char *) "cursor", NULL
33781 };
33782
33783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33784 {
33785 arg1 = wxString_in_helper(obj0);
33786 if (arg1 == NULL) SWIG_fail;
b411df4a 33787 temp1 = true;
d55e5bfc
RD
33788 }
33789 if (obj1) {
36ed4f51
RD
33790 {
33791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33792 if (SWIG_arg_fail(2)) SWIG_fail;
33793 if (arg2 == NULL) {
33794 SWIG_null_ref("wxCursor");
33795 }
33796 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33797 }
33798 }
33799 {
0439c23b 33800 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33801 PyThreadState* __tstate = wxPyBeginAllowThreads();
33802 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33803
33804 wxPyEndAllowThreads(__tstate);
110da5b0 33805 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33806 }
33807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33808 {
33809 if (temp1)
33810 delete arg1;
33811 }
33812 return resultobj;
33813 fail:
33814 {
33815 if (temp1)
33816 delete arg1;
33817 }
33818 return NULL;
33819}
33820
33821
c370783e 33822static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33823 PyObject *resultobj;
33824 wxPyTreeCtrl *arg1 = 0 ;
33825 wxTreeItemId *arg2 = 0 ;
33826 wxGenericDragImage *result;
33827 PyObject * obj0 = 0 ;
33828 PyObject * obj1 = 0 ;
33829 char *kwnames[] = {
33830 (char *) "treeCtrl",(char *) "id", NULL
33831 };
33832
33833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33834 {
33835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33836 if (SWIG_arg_fail(1)) SWIG_fail;
33837 if (arg1 == NULL) {
33838 SWIG_null_ref("wxPyTreeCtrl");
33839 }
33840 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33841 }
36ed4f51
RD
33842 {
33843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33844 if (SWIG_arg_fail(2)) SWIG_fail;
33845 if (arg2 == NULL) {
33846 SWIG_null_ref("wxTreeItemId");
33847 }
33848 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33849 }
33850 {
0439c23b 33851 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33852 PyThreadState* __tstate = wxPyBeginAllowThreads();
33853 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33854
33855 wxPyEndAllowThreads(__tstate);
110da5b0 33856 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33857 }
33858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33859 return resultobj;
33860 fail:
33861 return NULL;
33862}
33863
33864
c370783e 33865static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33866 PyObject *resultobj;
33867 wxPyListCtrl *arg1 = 0 ;
33868 long arg2 ;
33869 wxGenericDragImage *result;
33870 PyObject * obj0 = 0 ;
33871 PyObject * obj1 = 0 ;
33872 char *kwnames[] = {
33873 (char *) "listCtrl",(char *) "id", NULL
33874 };
33875
33876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33877 {
33878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33879 if (SWIG_arg_fail(1)) SWIG_fail;
33880 if (arg1 == NULL) {
33881 SWIG_null_ref("wxPyListCtrl");
33882 }
33883 if (SWIG_arg_fail(1)) SWIG_fail;
33884 }
33885 {
33886 arg2 = (long)(SWIG_As_long(obj1));
33887 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 33888 }
d55e5bfc 33889 {
0439c23b 33890 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33891 PyThreadState* __tstate = wxPyBeginAllowThreads();
33892 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33893
33894 wxPyEndAllowThreads(__tstate);
110da5b0 33895 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33896 }
33897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33898 return resultobj;
33899 fail:
33900 return NULL;
33901}
33902
33903
c370783e 33904static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33905 PyObject *resultobj;
33906 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33907 PyObject * obj0 = 0 ;
33908 char *kwnames[] = {
33909 (char *) "self", NULL
33910 };
33911
33912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
33913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33914 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33915 {
33916 PyThreadState* __tstate = wxPyBeginAllowThreads();
33917 delete arg1;
33918
33919 wxPyEndAllowThreads(__tstate);
33920 if (PyErr_Occurred()) SWIG_fail;
33921 }
33922 Py_INCREF(Py_None); resultobj = Py_None;
33923 return resultobj;
33924 fail:
33925 return NULL;
33926}
33927
33928
c370783e 33929static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33930 PyObject *resultobj;
33931 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33932 wxBitmap *arg2 = (wxBitmap *) 0 ;
33933 PyObject * obj0 = 0 ;
33934 PyObject * obj1 = 0 ;
33935 char *kwnames[] = {
33936 (char *) "self",(char *) "bitmap", NULL
33937 };
33938
33939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33941 if (SWIG_arg_fail(1)) SWIG_fail;
33942 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33943 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33944 {
33945 PyThreadState* __tstate = wxPyBeginAllowThreads();
33946 (arg1)->SetBackingBitmap(arg2);
33947
33948 wxPyEndAllowThreads(__tstate);
33949 if (PyErr_Occurred()) SWIG_fail;
33950 }
33951 Py_INCREF(Py_None); resultobj = Py_None;
33952 return resultobj;
33953 fail:
33954 return NULL;
33955}
33956
33957
c370783e 33958static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33959 PyObject *resultobj;
33960 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33961 wxPoint *arg2 = 0 ;
33962 wxWindow *arg3 = (wxWindow *) 0 ;
b411df4a 33963 bool arg4 = (bool) false ;
d55e5bfc
RD
33964 wxRect *arg5 = (wxRect *) NULL ;
33965 bool result;
33966 wxPoint temp2 ;
33967 PyObject * obj0 = 0 ;
33968 PyObject * obj1 = 0 ;
33969 PyObject * obj2 = 0 ;
33970 PyObject * obj3 = 0 ;
33971 PyObject * obj4 = 0 ;
33972 char *kwnames[] = {
33973 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33974 };
33975
33976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33979 {
33980 arg2 = &temp2;
33981 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33982 }
36ed4f51
RD
33983 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33984 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 33985 if (obj3) {
36ed4f51
RD
33986 {
33987 arg4 = (bool)(SWIG_As_bool(obj3));
33988 if (SWIG_arg_fail(4)) SWIG_fail;
33989 }
d55e5bfc
RD
33990 }
33991 if (obj4) {
36ed4f51
RD
33992 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
33993 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
33994 }
33995 {
33996 PyThreadState* __tstate = wxPyBeginAllowThreads();
33997 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
33998
33999 wxPyEndAllowThreads(__tstate);
34000 if (PyErr_Occurred()) SWIG_fail;
34001 }
34002 {
34003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34004 }
34005 return resultobj;
34006 fail:
34007 return NULL;
34008}
34009
34010
c370783e 34011static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34012 PyObject *resultobj;
34013 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34014 wxPoint *arg2 = 0 ;
34015 wxWindow *arg3 = (wxWindow *) 0 ;
34016 wxWindow *arg4 = (wxWindow *) 0 ;
34017 bool result;
34018 wxPoint temp2 ;
34019 PyObject * obj0 = 0 ;
34020 PyObject * obj1 = 0 ;
34021 PyObject * obj2 = 0 ;
34022 PyObject * obj3 = 0 ;
34023 char *kwnames[] = {
34024 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34025 };
34026
34027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
34028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34029 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34030 {
34031 arg2 = &temp2;
34032 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34033 }
36ed4f51
RD
34034 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34035 if (SWIG_arg_fail(3)) SWIG_fail;
34036 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34037 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
34038 {
34039 PyThreadState* __tstate = wxPyBeginAllowThreads();
34040 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34041
34042 wxPyEndAllowThreads(__tstate);
34043 if (PyErr_Occurred()) SWIG_fail;
34044 }
34045 {
34046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34047 }
34048 return resultobj;
34049 fail:
34050 return NULL;
34051}
34052
34053
c370783e 34054static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34055 PyObject *resultobj;
34056 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34057 bool result;
34058 PyObject * obj0 = 0 ;
34059 char *kwnames[] = {
34060 (char *) "self", NULL
34061 };
34062
34063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
36ed4f51
RD
34064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34065 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34066 {
34067 PyThreadState* __tstate = wxPyBeginAllowThreads();
34068 result = (bool)(arg1)->EndDrag();
34069
34070 wxPyEndAllowThreads(__tstate);
34071 if (PyErr_Occurred()) SWIG_fail;
34072 }
34073 {
34074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34075 }
34076 return resultobj;
34077 fail:
34078 return NULL;
34079}
34080
34081
c370783e 34082static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34083 PyObject *resultobj;
34084 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34085 wxPoint *arg2 = 0 ;
34086 bool result;
34087 wxPoint temp2 ;
34088 PyObject * obj0 = 0 ;
34089 PyObject * obj1 = 0 ;
34090 char *kwnames[] = {
34091 (char *) "self",(char *) "pt", NULL
34092 };
34093
34094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34097 {
34098 arg2 = &temp2;
34099 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34100 }
34101 {
34102 PyThreadState* __tstate = wxPyBeginAllowThreads();
34103 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34104
34105 wxPyEndAllowThreads(__tstate);
34106 if (PyErr_Occurred()) SWIG_fail;
34107 }
34108 {
34109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34110 }
34111 return resultobj;
34112 fail:
34113 return NULL;
34114}
34115
34116
c370783e 34117static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34118 PyObject *resultobj;
34119 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34120 bool result;
34121 PyObject * obj0 = 0 ;
34122 char *kwnames[] = {
34123 (char *) "self", NULL
34124 };
34125
34126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
36ed4f51
RD
34127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34128 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34129 {
34130 PyThreadState* __tstate = wxPyBeginAllowThreads();
34131 result = (bool)(arg1)->Show();
34132
34133 wxPyEndAllowThreads(__tstate);
34134 if (PyErr_Occurred()) SWIG_fail;
34135 }
34136 {
34137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34138 }
34139 return resultobj;
34140 fail:
34141 return NULL;
34142}
34143
34144
c370783e 34145static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34146 PyObject *resultobj;
34147 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34148 bool result;
34149 PyObject * obj0 = 0 ;
34150 char *kwnames[] = {
34151 (char *) "self", NULL
34152 };
34153
34154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
36ed4f51
RD
34155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34156 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34157 {
34158 PyThreadState* __tstate = wxPyBeginAllowThreads();
34159 result = (bool)(arg1)->Hide();
34160
34161 wxPyEndAllowThreads(__tstate);
34162 if (PyErr_Occurred()) SWIG_fail;
34163 }
34164 {
34165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34166 }
34167 return resultobj;
34168 fail:
34169 return NULL;
34170}
34171
34172
c370783e 34173static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34174 PyObject *resultobj;
34175 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34176 wxPoint *arg2 = 0 ;
34177 wxRect result;
34178 wxPoint temp2 ;
34179 PyObject * obj0 = 0 ;
34180 PyObject * obj1 = 0 ;
34181 char *kwnames[] = {
34182 (char *) "self",(char *) "pos", NULL
34183 };
34184
34185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34188 {
34189 arg2 = &temp2;
34190 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34191 }
34192 {
34193 PyThreadState* __tstate = wxPyBeginAllowThreads();
34194 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34195
34196 wxPyEndAllowThreads(__tstate);
34197 if (PyErr_Occurred()) SWIG_fail;
34198 }
34199 {
34200 wxRect * resultptr;
36ed4f51 34201 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
34202 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34203 }
34204 return resultobj;
34205 fail:
34206 return NULL;
34207}
34208
34209
c370783e 34210static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34211 PyObject *resultobj;
34212 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34213 wxDC *arg2 = 0 ;
34214 wxPoint *arg3 = 0 ;
34215 bool result;
34216 wxPoint temp3 ;
34217 PyObject * obj0 = 0 ;
34218 PyObject * obj1 = 0 ;
34219 PyObject * obj2 = 0 ;
34220 char *kwnames[] = {
34221 (char *) "self",(char *) "dc",(char *) "pos", NULL
34222 };
34223
34224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
34225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34226 if (SWIG_arg_fail(1)) SWIG_fail;
34227 {
34228 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34229 if (SWIG_arg_fail(2)) SWIG_fail;
34230 if (arg2 == NULL) {
34231 SWIG_null_ref("wxDC");
34232 }
34233 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34234 }
34235 {
34236 arg3 = &temp3;
34237 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34238 }
34239 {
34240 PyThreadState* __tstate = wxPyBeginAllowThreads();
34241 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34242
34243 wxPyEndAllowThreads(__tstate);
34244 if (PyErr_Occurred()) SWIG_fail;
34245 }
34246 {
34247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34248 }
34249 return resultobj;
34250 fail:
34251 return NULL;
34252}
34253
34254
c370783e 34255static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34256 PyObject *resultobj;
34257 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34258 wxDC *arg2 = 0 ;
34259 wxMemoryDC *arg3 = 0 ;
34260 wxRect *arg4 = 0 ;
34261 wxRect *arg5 = 0 ;
34262 bool result;
34263 wxRect temp4 ;
34264 wxRect temp5 ;
34265 PyObject * obj0 = 0 ;
34266 PyObject * obj1 = 0 ;
34267 PyObject * obj2 = 0 ;
34268 PyObject * obj3 = 0 ;
34269 PyObject * obj4 = 0 ;
34270 char *kwnames[] = {
34271 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34272 };
34273
34274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34276 if (SWIG_arg_fail(1)) SWIG_fail;
34277 {
34278 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34279 if (SWIG_arg_fail(2)) SWIG_fail;
34280 if (arg2 == NULL) {
34281 SWIG_null_ref("wxDC");
34282 }
34283 if (SWIG_arg_fail(2)) SWIG_fail;
34284 }
34285 {
34286 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34287 if (SWIG_arg_fail(3)) SWIG_fail;
34288 if (arg3 == NULL) {
34289 SWIG_null_ref("wxMemoryDC");
34290 }
34291 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
34292 }
34293 {
34294 arg4 = &temp4;
34295 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34296 }
34297 {
34298 arg5 = &temp5;
34299 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34300 }
34301 {
34302 PyThreadState* __tstate = wxPyBeginAllowThreads();
34303 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34304
34305 wxPyEndAllowThreads(__tstate);
34306 if (PyErr_Occurred()) SWIG_fail;
34307 }
34308 {
34309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34310 }
34311 return resultobj;
34312 fail:
34313 return NULL;
34314}
34315
34316
c370783e 34317static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34318 PyObject *resultobj;
34319 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34320 wxPoint *arg2 = 0 ;
34321 wxPoint *arg3 = 0 ;
34322 bool arg4 ;
34323 bool arg5 ;
34324 bool result;
34325 wxPoint temp2 ;
34326 wxPoint temp3 ;
34327 PyObject * obj0 = 0 ;
34328 PyObject * obj1 = 0 ;
34329 PyObject * obj2 = 0 ;
34330 PyObject * obj3 = 0 ;
34331 PyObject * obj4 = 0 ;
34332 char *kwnames[] = {
34333 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34334 };
34335
34336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34338 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34339 {
34340 arg2 = &temp2;
34341 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34342 }
34343 {
34344 arg3 = &temp3;
34345 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34346 }
36ed4f51
RD
34347 {
34348 arg4 = (bool)(SWIG_As_bool(obj3));
34349 if (SWIG_arg_fail(4)) SWIG_fail;
34350 }
34351 {
34352 arg5 = (bool)(SWIG_As_bool(obj4));
34353 if (SWIG_arg_fail(5)) SWIG_fail;
34354 }
d55e5bfc
RD
34355 {
34356 PyThreadState* __tstate = wxPyBeginAllowThreads();
34357 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34358
34359 wxPyEndAllowThreads(__tstate);
34360 if (PyErr_Occurred()) SWIG_fail;
34361 }
34362 {
34363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34364 }
34365 return resultobj;
34366 fail:
34367 return NULL;
34368}
34369
34370
c370783e 34371static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34372 PyObject *obj;
34373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34374 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34375 Py_INCREF(obj);
34376 return Py_BuildValue((char *)"");
34377}
53aa7709
RD
34378static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34379 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34380 return 1;
34381}
34382
34383
34384static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34385 PyObject *pyobj;
34386
34387 {
34388#if wxUSE_UNICODE
34389 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34390#else
34391 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34392#endif
34393 }
34394 return pyobj;
34395}
34396
34397
34398static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34399 PyObject *resultobj;
34400 wxWindow *arg1 = (wxWindow *) 0 ;
34401 int arg2 = (int) -1 ;
34402 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34403 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34406 wxSize const &arg5_defvalue = wxDefaultSize ;
34407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34408 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34409 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34410 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34411 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34412 wxString *arg8 = (wxString *) &arg8_defvalue ;
34413 wxDatePickerCtrl *result;
34414 wxPoint temp4 ;
34415 wxSize temp5 ;
34416 bool temp8 = false ;
34417 PyObject * obj0 = 0 ;
34418 PyObject * obj1 = 0 ;
34419 PyObject * obj2 = 0 ;
34420 PyObject * obj3 = 0 ;
34421 PyObject * obj4 = 0 ;
34422 PyObject * obj5 = 0 ;
34423 PyObject * obj6 = 0 ;
34424 PyObject * obj7 = 0 ;
34425 char *kwnames[] = {
34426 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34427 };
34428
34429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34431 if (SWIG_arg_fail(1)) SWIG_fail;
34432 if (obj1) {
34433 {
34434 arg2 = (int)(SWIG_As_int(obj1));
34435 if (SWIG_arg_fail(2)) SWIG_fail;
34436 }
34437 }
34438 if (obj2) {
34439 {
34440 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34441 if (SWIG_arg_fail(3)) SWIG_fail;
34442 if (arg3 == NULL) {
34443 SWIG_null_ref("wxDateTime");
34444 }
34445 if (SWIG_arg_fail(3)) SWIG_fail;
34446 }
34447 }
34448 if (obj3) {
34449 {
34450 arg4 = &temp4;
34451 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34452 }
34453 }
34454 if (obj4) {
34455 {
34456 arg5 = &temp5;
34457 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34458 }
34459 }
34460 if (obj5) {
34461 {
34462 arg6 = (long)(SWIG_As_long(obj5));
34463 if (SWIG_arg_fail(6)) SWIG_fail;
34464 }
34465 }
34466 if (obj6) {
34467 {
34468 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34469 if (SWIG_arg_fail(7)) SWIG_fail;
34470 if (arg7 == NULL) {
34471 SWIG_null_ref("wxValidator");
34472 }
34473 if (SWIG_arg_fail(7)) SWIG_fail;
34474 }
34475 }
34476 if (obj7) {
34477 {
34478 arg8 = wxString_in_helper(obj7);
34479 if (arg8 == NULL) SWIG_fail;
34480 temp8 = true;
34481 }
34482 }
34483 {
34484 if (!wxPyCheckForApp()) SWIG_fail;
34485 PyThreadState* __tstate = wxPyBeginAllowThreads();
34486 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34487
34488 wxPyEndAllowThreads(__tstate);
34489 if (PyErr_Occurred()) SWIG_fail;
34490 }
34491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34492 {
34493 if (temp8)
34494 delete arg8;
34495 }
34496 return resultobj;
34497 fail:
34498 {
34499 if (temp8)
34500 delete arg8;
34501 }
34502 return NULL;
34503}
34504
34505
34506static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34507 PyObject *resultobj;
34508 wxDatePickerCtrl *result;
34509 char *kwnames[] = {
34510 NULL
34511 };
34512
34513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34514 {
34515 if (!wxPyCheckForApp()) SWIG_fail;
34516 PyThreadState* __tstate = wxPyBeginAllowThreads();
34517 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34518
34519 wxPyEndAllowThreads(__tstate);
34520 if (PyErr_Occurred()) SWIG_fail;
34521 }
34522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34523 return resultobj;
34524 fail:
34525 return NULL;
34526}
34527
34528
34529static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34530 PyObject *resultobj;
34531 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34532 wxWindow *arg2 = (wxWindow *) 0 ;
34533 int arg3 = (int) -1 ;
34534 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34535 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34536 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34537 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34538 wxSize const &arg6_defvalue = wxDefaultSize ;
34539 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34540 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34541 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34542 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34543 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34544 wxString *arg9 = (wxString *) &arg9_defvalue ;
34545 bool result;
34546 wxPoint temp5 ;
34547 wxSize temp6 ;
34548 bool temp9 = false ;
34549 PyObject * obj0 = 0 ;
34550 PyObject * obj1 = 0 ;
34551 PyObject * obj2 = 0 ;
34552 PyObject * obj3 = 0 ;
34553 PyObject * obj4 = 0 ;
34554 PyObject * obj5 = 0 ;
34555 PyObject * obj6 = 0 ;
34556 PyObject * obj7 = 0 ;
34557 PyObject * obj8 = 0 ;
34558 char *kwnames[] = {
34559 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34560 };
34561
34562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34564 if (SWIG_arg_fail(1)) SWIG_fail;
34565 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34566 if (SWIG_arg_fail(2)) SWIG_fail;
34567 if (obj2) {
34568 {
34569 arg3 = (int)(SWIG_As_int(obj2));
34570 if (SWIG_arg_fail(3)) SWIG_fail;
34571 }
34572 }
34573 if (obj3) {
34574 {
34575 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34576 if (SWIG_arg_fail(4)) SWIG_fail;
34577 if (arg4 == NULL) {
34578 SWIG_null_ref("wxDateTime");
34579 }
34580 if (SWIG_arg_fail(4)) SWIG_fail;
34581 }
34582 }
34583 if (obj4) {
34584 {
34585 arg5 = &temp5;
34586 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34587 }
34588 }
34589 if (obj5) {
34590 {
34591 arg6 = &temp6;
34592 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34593 }
34594 }
34595 if (obj6) {
34596 {
34597 arg7 = (long)(SWIG_As_long(obj6));
34598 if (SWIG_arg_fail(7)) SWIG_fail;
34599 }
34600 }
34601 if (obj7) {
34602 {
34603 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34604 if (SWIG_arg_fail(8)) SWIG_fail;
34605 if (arg8 == NULL) {
34606 SWIG_null_ref("wxValidator");
34607 }
34608 if (SWIG_arg_fail(8)) SWIG_fail;
34609 }
34610 }
34611 if (obj8) {
34612 {
34613 arg9 = wxString_in_helper(obj8);
34614 if (arg9 == NULL) SWIG_fail;
34615 temp9 = true;
34616 }
34617 }
34618 {
34619 PyThreadState* __tstate = wxPyBeginAllowThreads();
34620 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34621
34622 wxPyEndAllowThreads(__tstate);
34623 if (PyErr_Occurred()) SWIG_fail;
34624 }
34625 {
34626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34627 }
34628 {
34629 if (temp9)
34630 delete arg9;
34631 }
34632 return resultobj;
34633 fail:
34634 {
34635 if (temp9)
34636 delete arg9;
34637 }
34638 return NULL;
34639}
34640
34641
34642static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34643 PyObject *resultobj;
34644 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34645 wxDateTime *arg2 = 0 ;
34646 PyObject * obj0 = 0 ;
34647 PyObject * obj1 = 0 ;
34648 char *kwnames[] = {
34649 (char *) "self",(char *) "dt", NULL
34650 };
34651
34652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34654 if (SWIG_arg_fail(1)) SWIG_fail;
34655 {
34656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34657 if (SWIG_arg_fail(2)) SWIG_fail;
34658 if (arg2 == NULL) {
34659 SWIG_null_ref("wxDateTime");
34660 }
34661 if (SWIG_arg_fail(2)) SWIG_fail;
34662 }
34663 {
34664 PyThreadState* __tstate = wxPyBeginAllowThreads();
34665 (arg1)->SetValue((wxDateTime const &)*arg2);
34666
34667 wxPyEndAllowThreads(__tstate);
34668 if (PyErr_Occurred()) SWIG_fail;
34669 }
34670 Py_INCREF(Py_None); resultobj = Py_None;
34671 return resultobj;
34672 fail:
34673 return NULL;
34674}
34675
34676
34677static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34678 PyObject *resultobj;
34679 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34680 wxDateTime result;
34681 PyObject * obj0 = 0 ;
34682 char *kwnames[] = {
34683 (char *) "self", NULL
34684 };
34685
34686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34688 if (SWIG_arg_fail(1)) SWIG_fail;
34689 {
34690 PyThreadState* __tstate = wxPyBeginAllowThreads();
34691 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34692
34693 wxPyEndAllowThreads(__tstate);
34694 if (PyErr_Occurred()) SWIG_fail;
34695 }
34696 {
34697 wxDateTime * resultptr;
34698 resultptr = new wxDateTime((wxDateTime &)(result));
34699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34700 }
34701 return resultobj;
34702 fail:
34703 return NULL;
34704}
34705
34706
34707static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34708 PyObject *resultobj;
34709 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34710 wxDateTime *arg2 = 0 ;
34711 wxDateTime *arg3 = 0 ;
34712 PyObject * obj0 = 0 ;
34713 PyObject * obj1 = 0 ;
34714 PyObject * obj2 = 0 ;
34715 char *kwnames[] = {
34716 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34717 };
34718
34719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34721 if (SWIG_arg_fail(1)) SWIG_fail;
34722 {
34723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34724 if (SWIG_arg_fail(2)) SWIG_fail;
34725 if (arg2 == NULL) {
34726 SWIG_null_ref("wxDateTime");
34727 }
34728 if (SWIG_arg_fail(2)) SWIG_fail;
34729 }
34730 {
34731 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34732 if (SWIG_arg_fail(3)) SWIG_fail;
34733 if (arg3 == NULL) {
34734 SWIG_null_ref("wxDateTime");
34735 }
34736 if (SWIG_arg_fail(3)) SWIG_fail;
34737 }
34738 {
34739 PyThreadState* __tstate = wxPyBeginAllowThreads();
34740 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34741
34742 wxPyEndAllowThreads(__tstate);
34743 if (PyErr_Occurred()) SWIG_fail;
34744 }
34745 Py_INCREF(Py_None); resultobj = Py_None;
34746 return resultobj;
34747 fail:
34748 return NULL;
34749}
34750
34751
34752static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34753 PyObject *resultobj;
34754 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34755 wxDateTime result;
34756 PyObject * obj0 = 0 ;
34757 char *kwnames[] = {
34758 (char *) "self", NULL
34759 };
34760
34761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34763 if (SWIG_arg_fail(1)) SWIG_fail;
34764 {
34765 PyThreadState* __tstate = wxPyBeginAllowThreads();
34766 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34767
34768 wxPyEndAllowThreads(__tstate);
34769 if (PyErr_Occurred()) SWIG_fail;
34770 }
34771 {
34772 wxDateTime * resultptr;
34773 resultptr = new wxDateTime((wxDateTime &)(result));
34774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34775 }
34776 return resultobj;
34777 fail:
34778 return NULL;
34779}
34780
34781
34782static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34783 PyObject *resultobj;
34784 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34785 wxDateTime result;
34786 PyObject * obj0 = 0 ;
34787 char *kwnames[] = {
34788 (char *) "self", NULL
34789 };
34790
34791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
34792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34793 if (SWIG_arg_fail(1)) SWIG_fail;
34794 {
34795 PyThreadState* __tstate = wxPyBeginAllowThreads();
34796 result = wxDatePickerCtrl_GetUpperLimit(arg1);
34797
34798 wxPyEndAllowThreads(__tstate);
34799 if (PyErr_Occurred()) SWIG_fail;
34800 }
34801 {
34802 wxDateTime * resultptr;
34803 resultptr = new wxDateTime((wxDateTime &)(result));
34804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34805 }
34806 return resultobj;
34807 fail:
34808 return NULL;
34809}
34810
34811
34812static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
34813 PyObject *obj;
34814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34815 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
34816 Py_INCREF(obj);
34817 return Py_BuildValue((char *)"");
34818}
d55e5bfc 34819static PyMethodDef SwigMethods[] = {
36ed4f51
RD
34820 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34821 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34822 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34823 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34824 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34825 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34826 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34827 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34828 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34829 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34830 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34831 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34832 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34833 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34834 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34835 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34836 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34837 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34838 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34839 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34840 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34841 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34842 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34843 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34844 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34845 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34846 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34847 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34848 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34849 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34850 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34851 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34852 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34853 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34854 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34855 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34856 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
34857 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34858 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34859 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34860 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34861 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34862 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34863 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34864 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34865 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34866 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34867 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34868 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34869 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34870 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34871 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34872 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34873 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34874 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34875 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34876 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34877 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34878 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34879 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34880 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34881 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34882 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34883 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34884 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34885 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34886 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34887 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34889 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34890 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34893 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34894 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34895 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34902 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34903 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34908 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34909 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34915 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34920 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34926 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34928 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
34934 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
34951 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
34959 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
34990 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35046 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35051 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35063 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35076 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35088 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35092 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35110 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35117 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35143 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35151 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35173 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35179 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 35187 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35188 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35190 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35192 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35198 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35200 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
7993762b 35204 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35205 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35207 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35209 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35214 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35219 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35249 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35294 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35300 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35312 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35364 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35391 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
a3957d3d 35450 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35451 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35462 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35474 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35482 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35489 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
dcb8fc74 35504 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35505 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35506 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a 35534 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35535 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35582 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35604 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35609 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35632 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35634 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35642 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35647 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35649 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35658 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35660 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
53aa7709
RD
35678 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
c370783e 35687 { NULL, NULL, 0, NULL }
d55e5bfc
RD
35688};
35689
35690
35691/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35692
d55e5bfc
RD
35693static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35694 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35695}
35696static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35697 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35698}
62d32a5f
RD
35699static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35700 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35701}
d55e5bfc
RD
35702static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35703 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35704}
35705static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35706 return (void *)((wxSizer *) ((wxGridSizer *) x));
35707}
35708static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35709 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35710}
35711static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35712 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35713}
35714static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35715 return (void *)((wxSizer *) ((wxPySizer *) x));
35716}
35717static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35718 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35719}
35720static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35721 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35722}
35723static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35724 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35725}
35726static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35727 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35728}
35729static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35730 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35731}
35732static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35733 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35734}
6e0de3df
RD
35735static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35736 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35737}
d55e5bfc
RD
35738static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35739 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35740}
35741static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35742 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35743}
35744static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35745 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35746}
35747static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35748 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35749}
35750static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35751 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35752}
d55e5bfc
RD
35753static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35754 return (void *)((wxEvent *) ((wxPyEvent *) x));
35755}
35756static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35757 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35758}
35759static void *_p_wxListEventTo_p_wxEvent(void *x) {
35760 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35761}
35762static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
6e0de3df 35763 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
35764}
35765static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
6e0de3df 35766 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 35767}
b411df4a 35768static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
6e0de3df 35769 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 35770}
d55e5bfc
RD
35771static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35772 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35773}
35774static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35775 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35776}
35777static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35778 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35779}
35780static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35781 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35782}
35783static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35784 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35785}
35786static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35787 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35788}
35789static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35790 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35791}
35792static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35793 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35794}
35795static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35796 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35797}
53aa7709
RD
35798static void *_p_wxDateEventTo_p_wxEvent(void *x) {
35799 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
35800}
d55e5bfc
RD
35801static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35802 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35803}
35804static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35805 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35806}
35807static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35808 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35809}
35810static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35811 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35812}
35813static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35814 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35815}
35816static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35817 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35818}
35819static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35820 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35821}
35822static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35823 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35824}
35825static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35826 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35827}
35828static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35829 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35830}
35831static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35832 return (void *)((wxEvent *) ((wxShowEvent *) x));
35833}
35834static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35835 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35836}
35837static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35838 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35839}
35840static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35841 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35842}
35843static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35844 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35845}
35846static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35847 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35848}
35849static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35850 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35851}
35852static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35853 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35854}
35855static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35856 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35857}
35858static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35859 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35860}
35861static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35862 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35863}
35864static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35865 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35866}
35867static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35868 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35869}
35870static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35871 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35872}
35873static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35874 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35875}
6e0de3df
RD
35876static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35877 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d55e5bfc
RD
35878}
35879static void *_p_wxToolBarTo_p_wxControl(void *x) {
35880 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35881}
b411df4a
RD
35882static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35883 return (void *)((wxControl *) ((wxToggleButton *) x));
d55e5bfc 35884}
b411df4a
RD
35885static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35886 return (void *)((wxControl *) ((wxRadioButton *) x));
d55e5bfc 35887}
b411df4a
RD
35888static void *_p_wxPyControlTo_p_wxControl(void *x) {
35889 return (void *)((wxControl *) ((wxPyControl *) x));
d55e5bfc 35890}
b411df4a
RD
35891static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35892 return (void *)((wxControl *) ((wxToolBarBase *) x));
35893}
35894static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35895 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d55e5bfc
RD
35896}
35897static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35898 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35899}
b411df4a
RD
35900static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35901 return (void *)((wxControl *) ((wxComboBox *) x));
d55e5bfc 35902}
b411df4a
RD
35903static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35904 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d55e5bfc
RD
35905}
35906static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35907 return (void *)((wxControl *) ((wxScrollBar *) x));
35908}
b411df4a
RD
35909static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35910 return (void *)((wxControl *) ((wxControlWithItems *) x));
d55e5bfc
RD
35911}
35912static void *_p_wxGaugeTo_p_wxControl(void *x) {
35913 return (void *)((wxControl *) ((wxGauge *) x));
35914}
b411df4a
RD
35915static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35916 return (void *)((wxControl *) ((wxStaticLine *) x));
d55e5bfc 35917}
b411df4a 35918static void *_p_wxChoicebookTo_p_wxControl(void *x) {
6e0de3df 35919 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d55e5bfc 35920}
b411df4a 35921static void *_p_wxListbookTo_p_wxControl(void *x) {
6e0de3df 35922 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc 35923}
b411df4a
RD
35924static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35925 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d55e5bfc 35926}
b411df4a
RD
35927static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35928 return (void *)((wxControl *) ((wxCheckBox *) x));
d55e5bfc
RD
35929}
35930static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
35931 return (void *)((wxControl *) ((wxRadioBox *) x));
35932}
b411df4a
RD
35933static void *_p_wxChoiceTo_p_wxControl(void *x) {
35934 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
35935}
35936static void *_p_wxListBoxTo_p_wxControl(void *x) {
35937 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
35938}
35939static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
35940 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35941}
35942static void *_p_wxListViewTo_p_wxControl(void *x) {
35943 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
35944}
d55e5bfc 35945static void *_p_wxNotebookTo_p_wxControl(void *x) {
6e0de3df 35946 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc 35947}
b411df4a
RD
35948static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
35949 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d55e5bfc 35950}
b411df4a
RD
35951static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
35952 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d55e5bfc 35953}
b411df4a
RD
35954static void *_p_wxStaticTextTo_p_wxControl(void *x) {
35955 return (void *)((wxControl *) ((wxStaticText *) x));
d55e5bfc 35956}
b411df4a
RD
35957static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
35958 return (void *)((wxControl *) ((wxStaticBox *) x));
d55e5bfc
RD
35959}
35960static void *_p_wxSliderTo_p_wxControl(void *x) {
35961 return (void *)((wxControl *) ((wxSlider *) x));
35962}
b411df4a
RD
35963static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
35964 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
d55e5bfc 35965}
b411df4a
RD
35966static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
35967 return (void *)((wxControl *) ((wxSpinButton *) x));
d55e5bfc 35968}
b411df4a
RD
35969static void *_p_wxButtonTo_p_wxControl(void *x) {
35970 return (void *)((wxControl *) ((wxButton *) x));
d55e5bfc 35971}
b411df4a
RD
35972static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
35973 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
35974}
53aa7709
RD
35975static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
35976 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
35977}
b411df4a
RD
35978static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
35979 return (void *)((wxControl *) ((wxTextCtrl *) x));
d55e5bfc
RD
35980}
35981static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
35982 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
35983}
35984static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
35985 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
35986}
6e0de3df
RD
35987static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
35988 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35989}
d55e5bfc
RD
35990static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
35991 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
35992}
d55e5bfc
RD
35993static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
35994 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
35995}
35996static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
35997 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
35998}
35999static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df 36000 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
36001}
36002static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df 36003 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 36004}
b411df4a 36005static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df
RD
36006 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36007}
36008static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36009 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36010}
36011static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36012 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
b411df4a 36013}
6e0de3df
RD
36014static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36015 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36016}
36017static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36018 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36019}
6e0de3df
RD
36020static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36021 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36022}
d55e5bfc
RD
36023static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36024 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36025}
36026static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36027 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36028}
36029static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36030 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36031}
36032static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36033 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36034}
36035static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36036 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36037}
36038static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36039 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36040}
36041static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36042 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36043}
36044static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36045 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36046}
36047static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36048 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36049}
d55e5bfc
RD
36050static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36051 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
36052}
b411df4a
RD
36053static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36054 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36055}
d55e5bfc
RD
36056static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36057 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36058}
36059static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36060 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36061}
36062static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36063 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36064}
36065static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36066 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36067}
36068static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36069 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36070}
36071static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36072 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36073}
36074static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36075 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36076}
36077static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36078 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36079}
b411df4a 36080static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
6e0de3df 36081 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 36082}
d55e5bfc 36083static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
6e0de3df 36084 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36085}
36086static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36087 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36088}
36089static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36090 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36091}
36092static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36093 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36094}
36095static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36096 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36097}
36098static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36099 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36100}
36101static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36102 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36103}
36104static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
6e0de3df 36105 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36106}
36107static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36108 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36109}
36110static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36111 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36112}
36113static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36114 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36115}
36116static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36117 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36118}
36119static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36120 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36121}
36122static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36123 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36124}
36125static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36126 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36127}
36128static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36129 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36130}
36131static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36132 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36133}
36134static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36135 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36136}
53aa7709
RD
36137static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36138 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36139}
d55e5bfc
RD
36140static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36141 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36142}
36143static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36144 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36145}
d55e5bfc
RD
36146static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36147 return (void *)((wxButton *) ((wxBitmapButton *) x));
36148}
36149static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36150 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36151}
36152static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36153 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36154}
36155static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36156 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36157}
36158static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36159 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36160}
36161static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36162 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36163}
36164static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36165 return (void *)((wxObject *) ((wxSizerItem *) x));
36166}
36167static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36168 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36169}
36170static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36171 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36172}
36173static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36174 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36175}
d55e5bfc
RD
36176static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36177 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36178}
36179static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36180 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36181}
36182static void *_p_wxSizerTo_p_wxObject(void *x) {
36183 return (void *)((wxObject *) ((wxSizer *) x));
36184}
36185static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36186 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36187}
36188static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36190}
36191static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36193}
36194static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36195 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36196}
36197static void *_p_wxEventTo_p_wxObject(void *x) {
36198 return (void *)((wxObject *) ((wxEvent *) x));
36199}
36200static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36201 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36202}
36203static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36204 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36205}
36206static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36207 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36208}
36209static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36211}
36212static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36214}
36215static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36217}
36218static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36219 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36220}
36221static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36222 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36223}
36224static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36225 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36226}
36227static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36228 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36229}
36230static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36231 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36232}
36233static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36234 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36235}
36236static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36237 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36238}
36239static void *_p_wxControlTo_p_wxObject(void *x) {
36240 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36241}
36242static void *_p_wxPyControlTo_p_wxObject(void *x) {
36243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36244}
36245static void *_p_wxGaugeTo_p_wxObject(void *x) {
36246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36247}
36248static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36250}
36251static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36252 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36253}
36254static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36256}
36257static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36258 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36259}
36260static void *_p_wxChoiceTo_p_wxObject(void *x) {
36261 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36262}
36263static void *_p_wxFSFileTo_p_wxObject(void *x) {
36264 return (void *)((wxObject *) ((wxFSFile *) x));
36265}
36266static void *_p_wxPySizerTo_p_wxObject(void *x) {
36267 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36268}
36269static void *_p_wxListViewTo_p_wxObject(void *x) {
36270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36271}
36272static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36274}
36275static void *_p_wxNotebookTo_p_wxObject(void *x) {
6e0de3df 36276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36277}
36278static void *_p_wxPyEventTo_p_wxObject(void *x) {
36279 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36280}
36281static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36282 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36283}
b411df4a 36284static void *_p_wxChoicebookTo_p_wxObject(void *x) {
6e0de3df 36285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 36286}
d55e5bfc 36287static void *_p_wxListbookTo_p_wxObject(void *x) {
6e0de3df 36288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36289}
36290static void *_p_wxShowEventTo_p_wxObject(void *x) {
36291 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36292}
36293static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36295}
36296static void *_p_wxSliderTo_p_wxObject(void *x) {
36297 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36298}
36299static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36300 return (void *)((wxObject *) ((wxMenuItem *) x));
36301}
53aa7709
RD
36302static void *_p_wxDateEventTo_p_wxObject(void *x) {
36303 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36304}
d55e5bfc
RD
36305static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36306 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36307}
36308static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36309 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36310}
36311static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36312 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36313}
36314static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36315 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36316}
36317static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36318 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36319}
36320static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36321 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36322}
36323static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36324 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36325}
36326static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36327 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36328}
36329static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36331}
36332static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36333 return (void *)((wxObject *) ((wxContextHelp *) x));
36334}
6e0de3df
RD
36335static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36337}
d55e5bfc
RD
36338static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36339 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36340}
36341static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36342 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36343}
36344static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36345 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36346}
36347static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36348 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36349}
36350static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36351 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36352}
36353static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36354 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36355}
36356static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36357 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36358}
36359static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36360 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36361}
36362static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36363 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36364}
36365static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36366 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36367}
36368static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36369 return (void *)((wxObject *) ((wxImageHandler *) x));
36370}
36371static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36372 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36373}
36374static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36375 return (void *)((wxObject *) ((wxEvtHandler *) x));
36376}
36377static void *_p_wxListEventTo_p_wxObject(void *x) {
36378 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36379}
36380static void *_p_wxListBoxTo_p_wxObject(void *x) {
36381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36382}
36383static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36385}
d55e5bfc
RD
36386static void *_p_wxButtonTo_p_wxObject(void *x) {
36387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36388}
36389static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36391}
36392static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36394}
36395static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36397}
62d32a5f
RD
36398static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36399 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36400}
d55e5bfc
RD
36401static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36402 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36403}
36404static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36406}
36407static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36409}
36410static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
36412}
36413static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36414 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36415}
36416static void *_p_wxListItemTo_p_wxObject(void *x) {
36417 return (void *)((wxObject *) ((wxListItem *) x));
36418}
36419static void *_p_wxImageTo_p_wxObject(void *x) {
36420 return (void *)((wxObject *) ((wxImage *) x));
36421}
36422static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36423 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36424}
36425static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36426 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36427}
36428static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36429 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36430}
36431static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36432 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36433}
36434static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36436}
36437static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
6e0de3df 36438 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
36439}
36440static void *_p_wxListbookEventTo_p_wxObject(void *x) {
6e0de3df 36441 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 36442}
b411df4a 36443static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
6e0de3df 36444 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 36445}
d55e5bfc
RD
36446static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36447 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36448}
36449static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36450 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36451}
36452static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36453 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36454}
36455static void *_p_wxWindowTo_p_wxObject(void *x) {
36456 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36457}
36458static void *_p_wxMenuTo_p_wxObject(void *x) {
36459 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36460}
36461static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36463}
36464static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36465 return (void *)((wxObject *) ((wxFileSystem *) x));
36466}
36467static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36468 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36469}
36470static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36471 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36472}
36473static void *_p_wxPyAppTo_p_wxObject(void *x) {
36474 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36475}
36476static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36477 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36478}
36479static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36480 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36481}
36482static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36483 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36484}
6e0de3df
RD
36485static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36486 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36487}
d55e5bfc
RD
36488static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36489 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36490}
36491static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36492 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36493}
36494static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36495 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36496}
36497static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36499}
36500static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36501 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36502}
36503static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36504 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36505}
36506static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36507 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36508}
53aa7709
RD
36509static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36510 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36511}
d55e5bfc
RD
36512static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36514}
36515static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36516 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36517}
36518static void *_p_wxToolBarTo_p_wxObject(void *x) {
36519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36520}
36521static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36522 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36523}
36524static void *_p_wxValidatorTo_p_wxObject(void *x) {
36525 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36526}
36527static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36528 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36529}
d55e5bfc
RD
36530static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36531 return (void *)((wxWindow *) ((wxMenuBar *) x));
36532}
6e0de3df
RD
36533static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36534 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36535}
d55e5bfc
RD
36536static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36537 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36538}
36539static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36540 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36541}
36542static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36543 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36544}
d55e5bfc
RD
36545static void *_p_wxControlTo_p_wxWindow(void *x) {
36546 return (void *)((wxWindow *) ((wxControl *) x));
36547}
36548static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36549 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36550}
36551static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36552 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36553}
36554static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36555 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36556}
36557static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36558 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36559}
b411df4a
RD
36560static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36561 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36562}
d55e5bfc
RD
36563static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36564 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36565}
36566static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36567 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36568}
36569static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36570 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36571}
36572static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36573 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36574}
36575static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36576 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36577}
b411df4a 36578static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
6e0de3df 36579 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 36580}
d55e5bfc 36581static void *_p_wxListbookTo_p_wxWindow(void *x) {
6e0de3df 36582 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36583}
36584static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36585 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36586}
36587static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36588 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36589}
36590static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36591 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36592}
36593static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36594 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36595}
36596static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36597 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36598}
36599static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36600 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36601}
36602static void *_p_wxListViewTo_p_wxWindow(void *x) {
36603 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36604}
36605static void *_p_wxNotebookTo_p_wxWindow(void *x) {
6e0de3df 36606 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36607}
36608static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36609 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36610}
36611static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36612 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36613}
36614static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36615 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36616}
36617static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36618 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36619}
36620static void *_p_wxSliderTo_p_wxWindow(void *x) {
36621 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36622}
36623static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36624 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36625}
36626static void *_p_wxButtonTo_p_wxWindow(void *x) {
36627 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36628}
36629static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36630 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36631}
36632static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36633 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36634}
53aa7709
RD
36635static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36636 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36637}
d55e5bfc
RD
36638static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36639 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36640}
6e0de3df
RD
36641static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36642 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36643}
36644static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36645 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36646}
36647static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36648 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36649}
d55e5bfc
RD
36650static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36651 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36652}
d55e5bfc
RD
36653static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36654 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36655}
36656static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36657 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36658}
36659static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36660 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36661}
36662static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36663 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36664}
36665static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36666 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36667}
36668static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 36669 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc
RD
36670}
36671static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 36672 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc 36673}
53aa7709
RD
36674static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36675 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36676}
36677static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36678 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36679}
d55e5bfc
RD
36680static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36681 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36682}
b411df4a
RD
36683static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36684 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36685}
6e0de3df
RD
36686static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36687 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36688}
d55e5bfc
RD
36689static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36690 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36691}
36692static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36693 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36694}
36695static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36696 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36697}
36698static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36699 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36700}
36701static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36702 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36703}
36704static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36705 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36706}
36707static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36708 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36709}
36710static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36711 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36712}
36713static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36714 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36715}
36716static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36717 return (void *)((wxValidator *) ((wxPyValidator *) x));
36718}
36719static 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 36720static 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
36721static 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}};
36722static 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 36723static 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
36724static 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}};
36725static 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
36726static 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}};
36727static 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 36728static 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
36729static 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}};
36730static 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 36731static 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
36732static 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}};
36733static 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}};
36734static 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}};
36735static 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}};
36736static 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}};
36737static 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}};
36738static 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}};
36739static 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
36740static 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}};
36741static 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
36742static 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}};
36743static 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}};
36744static 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}};
36745static 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}};
36746static 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}};
36747static 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}};
36748static 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}};
36749static 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}};
36750static 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}};
36751static 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 36752static 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 36753static 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 36754static 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 36755static 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
36756static 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}};
36757static 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}};
36758static 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}};
36759static 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}};
36760static 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}};
36761static 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}};
36762static 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 36763static 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 36764static 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 36765static 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
36766static 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}};
36767static 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}};
36768static 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
36769static 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}};
36770static 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}};
36771static 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}};
36772static 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}};
36773static 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}};
36774static 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}};
36775static 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}};
36776static 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 36777static 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 36778static 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
36779static 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}};
36780static 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}};
36781static 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}};
36782static 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}};
36783static 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}};
36784static 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 36785static 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
36786static 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}};
36787static 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}};
36788static 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}};
36789static 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 36790static 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
36791static 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}};
36792static 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 36793static 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 36794static 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 36795static 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 36796static 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 36797static 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 36798static 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 36799static 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
36800static 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}};
36801static 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
36802static 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}};
36803static 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}};
36804static 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 36805static 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 36806static 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 36807static 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 36808static 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 36809static 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 36810static 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
36811static 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}};
36812static 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}};
36813static 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}};
36814static 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}};
36815static 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}};
36816static 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}};
36817
36818static swig_type_info *swig_types_initial[] = {
36819_swigt__p_wxTextUrlEvent,
d55e5bfc
RD
36820_swigt__p_wxSizer,
36821_swigt__p_wxCheckBox,
36822_swigt__p_wxPyTreeCtrl,
36823_swigt__p_wxEvent,
36824_swigt__p_wxGenericDirCtrl,
36825_swigt__p_bool,
d55e5bfc
RD
36826_swigt__p_wxItemContainer,
36827_swigt__p_wxPyListCtrl,
36ed4f51 36828_swigt__p_wxPyTreeItemData,
d55e5bfc
RD
36829_swigt__p_wxDirFilterListCtrl,
36830_swigt__p_wxStaticLine,
36831_swigt__p_wxControl,
36832_swigt__p_wxPyControl,
36833_swigt__p_wxGauge,
36834_swigt__p_wxToolBarBase,
36835_swigt__p_wxFont,
36836_swigt__p_wxToggleButton,
36837_swigt__p_wxRadioButton,
36838_swigt__p_wxChoice,
36839_swigt__p_wxMemoryDC,
36ed4f51
RD
36840_swigt__ptrdiff_t,
36841_swigt__std__ptrdiff_t,
d55e5bfc
RD
36842_swigt__p_wxListItemAttr,
36843_swigt__p_void,
36844_swigt__p_int,
36845_swigt__p_wxSize,
36846_swigt__p_wxDC,
36847_swigt__p_wxListView,
36848_swigt__p_wxIcon,
36849_swigt__p_wxVisualAttributes,
36850_swigt__p_wxTextCtrl,
36851_swigt__p_wxNotebook,
b411df4a 36852_swigt__p_wxChoicebook,
d55e5bfc
RD
36853_swigt__p_wxNotifyEvent,
36854_swigt__p_wxArrayString,
36ed4f51 36855_swigt__p_form_ops_t,
d55e5bfc
RD
36856_swigt__p_wxListbook,
36857_swigt__p_wxStaticBitmap,
36858_swigt__p_wxSlider,
36859_swigt__p_wxStaticBox,
36860_swigt__p_wxArrayInt,
36861_swigt__p_wxContextHelp,
36862_swigt__p_long,
36ed4f51 36863_swigt__p_wxDuplexMode,
6e0de3df 36864_swigt__p_wxBookCtrlBase,
d55e5bfc
RD
36865_swigt__p_wxEvtHandler,
36866_swigt__p_wxListEvent,
36867_swigt__p_wxCheckListBox,
36868_swigt__p_wxListBox,
d55e5bfc
RD
36869_swigt__p_wxSpinButton,
36870_swigt__p_wxButton,
36871_swigt__p_wxBitmapButton,
36872_swigt__p_wxRect,
36873_swigt__p_wxContextHelpButton,
36874_swigt__p_wxRadioBox,
36875_swigt__p_wxScrollBar,
36876_swigt__p_char,
d55e5bfc 36877_swigt__p_wxComboBox,
36ed4f51 36878_swigt__p_wxTreeItemId,
d55e5bfc
RD
36879_swigt__p_wxHelpEvent,
36880_swigt__p_wxListItem,
36881_swigt__p_wxNotebookSizer,
36882_swigt__p_wxSpinEvent,
36883_swigt__p_wxGenericDragImage,
36884_swigt__p_wxSpinCtrl,
36ed4f51 36885_swigt__p_wxPaperSize,
d55e5bfc
RD
36886_swigt__p_wxImageList,
36887_swigt__p_wxHelpProvider,
36888_swigt__p_wxTextAttr,
36889_swigt__p_wxSimpleHelpProvider,
b411df4a 36890_swigt__p_wxChoicebookEvent,
d55e5bfc
RD
36891_swigt__p_wxListbookEvent,
36892_swigt__p_wxNotebookEvent,
36ed4f51 36893_swigt__p_wxPoint,
d55e5bfc
RD
36894_swigt__p_wxObject,
36895_swigt__p_wxCursor,
53aa7709 36896_swigt__p_wxDateTime,
d55e5bfc 36897_swigt__p_wxKeyEvent,
36ed4f51 36898_swigt__p_unsigned_long,
d55e5bfc
RD
36899_swigt__p_wxWindow,
36900_swigt__p_wxString,
36901_swigt__p_wxBitmap,
36ed4f51
RD
36902_swigt__unsigned_int,
36903_swigt__p_unsigned_int,
36904_swigt__p_unsigned_char,
d55e5bfc 36905_swigt__p_wxMouseEvent,
6e0de3df 36906_swigt__p_wxBookCtrlBaseEvent,
36ed4f51 36907_swigt__p_wxTreeEvent,
d55e5bfc
RD
36908_swigt__p_wxCommandEvent,
36909_swigt__p_wxStaticText,
53aa7709 36910_swigt__p_wxDatePickerCtrl,
d55e5bfc
RD
36911_swigt__p_wxControlWithItems,
36912_swigt__p_wxToolBarToolBase,
36913_swigt__p_wxColour,
36914_swigt__p_wxToolBar,
36915_swigt__p_wxBookCtrlSizer,
36916_swigt__p_wxValidator,
369170
36918};
36919
36920
36921/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36922
36923static swig_const_info swig_const_table[] = {
c370783e 36924{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
36925
36926#ifdef __cplusplus
36927}
36928#endif
36929
36ed4f51
RD
36930
36931#ifdef __cplusplus
36932extern "C" {
36933#endif
36934
36935 /* Python-specific SWIG API */
36936#define SWIG_newvarlink() SWIG_Python_newvarlink()
36937#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36938#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36939
36940 /* -----------------------------------------------------------------------------
36941 * global variable support code.
36942 * ----------------------------------------------------------------------------- */
36943
36944 typedef struct swig_globalvar {
36945 char *name; /* Name of global variable */
36946 PyObject *(*get_attr)(); /* Return the current value */
36947 int (*set_attr)(PyObject *); /* Set the value */
36948 struct swig_globalvar *next;
36949 } swig_globalvar;
36950
36951 typedef struct swig_varlinkobject {
36952 PyObject_HEAD
36953 swig_globalvar *vars;
36954 } swig_varlinkobject;
36955
36956 static PyObject *
36957 swig_varlink_repr(swig_varlinkobject *v) {
36958 v = v;
36959 return PyString_FromString("<Swig global variables>");
36960 }
36961
36962 static int
36963 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
36964 swig_globalvar *var;
36965 flags = flags;
36966 fprintf(fp,"Swig global variables { ");
36967 for (var = v->vars; var; var=var->next) {
36968 fprintf(fp,"%s", var->name);
36969 if (var->next) fprintf(fp,", ");
36970 }
36971 fprintf(fp," }\n");
36972 return 0;
36973 }
36974
36975 static PyObject *
36976 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36977 swig_globalvar *var = v->vars;
36978 while (var) {
36979 if (strcmp(var->name,n) == 0) {
36980 return (*var->get_attr)();
36981 }
36982 var = var->next;
36983 }
36984 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36985 return NULL;
36986 }
36987
36988 static int
36989 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36990 swig_globalvar *var = v->vars;
36991 while (var) {
36992 if (strcmp(var->name,n) == 0) {
36993 return (*var->set_attr)(p);
36994 }
36995 var = var->next;
36996 }
36997 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36998 return 1;
36999 }
37000
37001 static PyTypeObject varlinktype = {
37002 PyObject_HEAD_INIT(0)
37003 0, /* Number of items in variable part (ob_size) */
37004 (char *)"swigvarlink", /* Type name (tp_name) */
37005 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37006 0, /* Itemsize (tp_itemsize) */
37007 0, /* Deallocator (tp_dealloc) */
37008 (printfunc) swig_varlink_print, /* Print (tp_print) */
37009 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37010 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37011 0, /* tp_compare */
37012 (reprfunc) swig_varlink_repr, /* tp_repr */
37013 0, /* tp_as_number */
37014 0, /* tp_as_sequence */
37015 0, /* tp_as_mapping */
37016 0, /* tp_hash */
37017 0, /* tp_call */
37018 0, /* tp_str */
37019 0, /* tp_getattro */
37020 0, /* tp_setattro */
37021 0, /* tp_as_buffer */
37022 0, /* tp_flags */
37023 0, /* tp_doc */
37024#if PY_VERSION_HEX >= 0x02000000
37025 0, /* tp_traverse */
37026 0, /* tp_clear */
37027#endif
37028#if PY_VERSION_HEX >= 0x02010000
37029 0, /* tp_richcompare */
37030 0, /* tp_weaklistoffset */
37031#endif
37032#if PY_VERSION_HEX >= 0x02020000
37033 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37034#endif
37035#if PY_VERSION_HEX >= 0x02030000
37036 0, /* tp_del */
37037#endif
37038#ifdef COUNT_ALLOCS
37039 0,0,0,0 /* tp_alloc -> tp_next */
37040#endif
37041 };
37042
37043 /* Create a variable linking object for use later */
37044 static PyObject *
37045 SWIG_Python_newvarlink(void) {
37046 swig_varlinkobject *result = 0;
37047 result = PyMem_NEW(swig_varlinkobject,1);
37048 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37049 result->ob_type = &varlinktype;
37050 result->vars = 0;
37051 result->ob_refcnt = 0;
37052 Py_XINCREF((PyObject *) result);
37053 return ((PyObject*) result);
37054 }
37055
37056 static void
37057 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37058 swig_varlinkobject *v;
37059 swig_globalvar *gv;
37060 v= (swig_varlinkobject *) p;
37061 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37062 gv->name = (char *) malloc(strlen(name)+1);
37063 strcpy(gv->name,name);
37064 gv->get_attr = get_attr;
37065 gv->set_attr = set_attr;
37066 gv->next = v->vars;
37067 v->vars = gv;
37068 }
37069
37070 /* -----------------------------------------------------------------------------
37071 * constants/methods manipulation
37072 * ----------------------------------------------------------------------------- */
37073
37074 /* Install Constants */
37075 static void
37076 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37077 PyObject *obj = 0;
37078 size_t i;
37079 for (i = 0; constants[i].type; i++) {
37080 switch(constants[i].type) {
37081 case SWIG_PY_INT:
37082 obj = PyInt_FromLong(constants[i].lvalue);
37083 break;
37084 case SWIG_PY_FLOAT:
37085 obj = PyFloat_FromDouble(constants[i].dvalue);
37086 break;
37087 case SWIG_PY_STRING:
37088 if (constants[i].pvalue) {
37089 obj = PyString_FromString((char *) constants[i].pvalue);
37090 } else {
37091 Py_INCREF(Py_None);
37092 obj = Py_None;
37093 }
37094 break;
37095 case SWIG_PY_POINTER:
37096 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37097 break;
37098 case SWIG_PY_BINARY:
37099 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37100 break;
37101 default:
37102 obj = 0;
37103 break;
37104 }
37105 if (obj) {
37106 PyDict_SetItemString(d,constants[i].name,obj);
37107 Py_DECREF(obj);
37108 }
37109 }
37110 }
37111
37112 /* -----------------------------------------------------------------------------*/
37113 /* Fix SwigMethods to carry the callback ptrs when needed */
37114 /* -----------------------------------------------------------------------------*/
37115
37116 static void
37117 SWIG_Python_FixMethods(PyMethodDef *methods,
37118 swig_const_info *const_table,
37119 swig_type_info **types,
37120 swig_type_info **types_initial) {
37121 size_t i;
37122 for (i = 0; methods[i].ml_name; ++i) {
37123 char *c = methods[i].ml_doc;
37124 if (c && (c = strstr(c, "swig_ptr: "))) {
37125 int j;
37126 swig_const_info *ci = 0;
37127 char *name = c + 10;
37128 for (j = 0; const_table[j].type; j++) {
37129 if (strncmp(const_table[j].name, name,
37130 strlen(const_table[j].name)) == 0) {
37131 ci = &(const_table[j]);
37132 break;
37133 }
37134 }
37135 if (ci) {
37136 size_t shift = (ci->ptype) - types;
37137 swig_type_info *ty = types_initial[shift];
37138 size_t ldoc = (c - methods[i].ml_doc);
37139 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37140 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37141 char *buff = ndoc;
37142 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37143 strncpy(buff, methods[i].ml_doc, ldoc);
37144 buff += ldoc;
37145 strncpy(buff, "swig_ptr: ", 10);
37146 buff += 10;
37147 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37148 methods[i].ml_doc = ndoc;
37149 }
37150 }
37151 }
37152 }
37153
37154 /* -----------------------------------------------------------------------------*
37155 * Initialize type list
37156 * -----------------------------------------------------------------------------*/
37157
37158#if PY_MAJOR_VERSION < 2
37159 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37160 is copied out of Python/modsupport.c in python version 2.3.4 */
37161 static int
37162 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37163 {
37164 PyObject *dict;
37165 if (!PyModule_Check(m)) {
37166 PyErr_SetString(PyExc_TypeError,
37167 "PyModule_AddObject() needs module as first arg");
37168 return -1;
37169 }
37170 if (!o) {
37171 PyErr_SetString(PyExc_TypeError,
37172 "PyModule_AddObject() needs non-NULL value");
37173 return -1;
37174 }
37175
37176 dict = PyModule_GetDict(m);
37177 if (dict == NULL) {
37178 /* Internal error -- modules must have a dict! */
37179 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37180 PyModule_GetName(m));
37181 return -1;
37182 }
37183 if (PyDict_SetItemString(dict, name, o))
37184 return -1;
37185 Py_DECREF(o);
37186 return 0;
37187 }
37188#endif
37189
37190 static swig_type_info **
37191 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37192 static PyMethodDef swig_empty_runtime_method_table[] = {
37193 {
37194 NULL, NULL, 0, NULL
37195 }
37196 };/* Sentinel */
37197
37198 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37199 swig_empty_runtime_method_table);
37200 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37201 if (pointer && module) {
37202 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37203 }
37204 return type_list_handle;
37205 }
37206
37207 static swig_type_info **
37208 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37209 swig_type_info **type_pointer;
37210
37211 /* first check if module already created */
37212 type_pointer = SWIG_Python_GetTypeListHandle();
37213 if (type_pointer) {
37214 return type_pointer;
37215 } else {
37216 /* create a new module and variable */
37217 return SWIG_Python_SetTypeListHandle(type_list_handle);
37218 }
37219 }
37220
37221#ifdef __cplusplus
37222}
37223#endif
37224
37225/* -----------------------------------------------------------------------------*
37226 * Partial Init method
37227 * -----------------------------------------------------------------------------*/
37228
37229#ifdef SWIG_LINK_RUNTIME
37230#ifdef __cplusplus
37231extern "C"
37232#endif
37233SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37234#endif
37235
d55e5bfc
RD
37236#ifdef __cplusplus
37237extern "C"
37238#endif
37239SWIGEXPORT(void) SWIG_init(void) {
37240 static PyObject *SWIG_globals = 0;
37241 static int typeinit = 0;
37242 PyObject *m, *d;
37243 int i;
37244 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
37245
37246 /* Fix SwigMethods to carry the callback ptrs when needed */
37247 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37248
d55e5bfc
RD
37249 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37250 d = PyModule_GetDict(m);
37251
37252 if (!typeinit) {
36ed4f51
RD
37253#ifdef SWIG_LINK_RUNTIME
37254 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37255#else
37256# ifndef SWIG_STATIC_RUNTIME
37257 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37258# endif
37259#endif
d55e5bfc
RD
37260 for (i = 0; swig_types_initial[i]; i++) {
37261 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37262 }
37263 typeinit = 1;
37264 }
37265 SWIG_InstallConstants(d,swig_const_table);
37266
37267 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37268 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
36ed4f51
RD
37269 {
37270 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37271 }
37272 {
37273 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37274 }
37275 {
37276 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37277 }
37278 {
37279 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37280 }
37281 {
37282 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37283 }
37284 {
37285 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37286 }
37287 {
37288 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37289 }
d55e5bfc 37290 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
36ed4f51
RD
37291 {
37292 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37293 }
37294 {
37295 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37296 }
37297 {
37298 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37299 }
37300 {
37301 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37302 }
37303 {
37304 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37305 }
37306 {
37307 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37308 }
d55e5bfc
RD
37309 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37310 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37311 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
36ed4f51
RD
37312 {
37313 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37314 }
37315 {
37316 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37317 }
37318 {
37319 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37320 }
37321 {
37322 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37323 }
d55e5bfc
RD
37324 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37325 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37326 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37327 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37328 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
36ed4f51
RD
37329 {
37330 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37331 }
37332 {
37333 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37334 }
37335 {
37336 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37337 }
37338 {
37339 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37340 }
37341 {
37342 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37343 }
37344 {
37345 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37346 }
37347 {
37348 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37349 }
37350 {
37351 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37352 }
37353 {
37354 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37355 }
37356 {
37357 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37358 }
37359 {
37360 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37361 }
37362 {
37363 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37364 }
37365 {
37366 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37367 }
37368 {
37369 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37370 }
37371 {
37372 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37373 }
37374 {
08d9e66e 37375 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
36ed4f51
RD
37376 }
37377 {
37378 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37379 }
08d9e66e
RD
37380 {
37381 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37382 }
37383 {
37384 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37385 }
36ed4f51
RD
37386 {
37387 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37388 }
88c6b281
RD
37389 {
37390 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37391 }
36ed4f51
RD
37392 {
37393 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37394 }
37395 {
37396 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37397 }
37398 {
37399 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37400 }
37401 {
37402 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37403 }
37404 {
37405 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37406 }
37407 {
37408 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37409 }
37410 {
37411 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37412 }
37413 {
37414 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37415 }
37416 {
37417 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37418 }
37419 {
37420 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37421 }
37422 {
37423 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37424 }
37425 {
37426 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37427 }
37428 {
37429 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37430 }
37431 {
37432 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37433 }
37434 {
37435 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37436 }
37437 {
37438 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37439 }
37440 {
37441 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37442 }
37443 {
37444 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37445 }
37446 {
37447 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37448 }
37449 {
37450 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37451 }
37452 {
37453 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37454 }
37455 {
37456 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37457 }
37458 {
37459 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37460 }
fef4c27a
RD
37461 {
37462 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37463 }
37464 {
37465 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37466 }
d55e5bfc
RD
37467 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37468 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37469 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37470 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37471 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37472 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37473 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
36ed4f51
RD
37474 {
37475 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37476 }
37477 {
37478 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37479 }
37480 {
37481 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37482 }
37483 {
37484 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37485 }
d55e5bfc
RD
37486 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37487 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37488 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37489 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
fef4c27a
RD
37490 {
37491 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37492 }
37493 {
37494 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37495 }
7993762b
RD
37496 {
37497 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
37498 }
fef4c27a
RD
37499 {
37500 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37501 }
37502 {
37503 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37504 }
37505 {
37506 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37507 }
37508 {
37509 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37510 }
37511 {
37512 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37513 }
37514 {
37515 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37516 }
37517 {
37518 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37519 }
37520 {
37521 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37522 }
37523 {
37524 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37525 }
d55e5bfc
RD
37526 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37527 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 37528 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
36ed4f51
RD
37529 {
37530 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37531 }
37532 {
37533 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37534 }
37535 {
37536 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37537 }
37538 {
37539 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37540 }
37541 {
37542 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37543 }
37544 {
37545 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37546 }
091fdbfa
RD
37547 {
37548 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37549 }
36ed4f51
RD
37550 {
37551 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37552 }
37553 {
37554 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37555 }
37556 {
37557 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37558 }
37559 {
37560 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37561 }
d55e5bfc
RD
37562 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37563 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
36ed4f51
RD
37564 {
37565 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37566 }
37567 {
37568 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37569 }
37570 {
37571 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37572 }
37573 {
37574 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37575 }
37576 {
37577 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37578 }
37579 {
37580 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37581 }
d55e5bfc
RD
37582 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37583 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
36ed4f51
RD
37584 {
37585 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37586 }
37587 {
37588 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37589 }
37590 {
37591 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37592 }
37593 {
37594 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37595 }
37596 {
37597 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37598 }
37599 {
37600 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37601 }
b411df4a
RD
37602 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37603 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
36ed4f51
RD
37604 {
37605 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37606 }
37607 {
37608 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37609 }
37610 {
37611 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37612 }
37613 {
37614 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37615 }
37616 {
37617 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37618 }
37619 {
37620 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37621 }
37622 {
37623 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37624 }
37625 {
37626 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37627 }
37628 {
37629 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37630 }
37631 {
37632 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37633 }
37634 {
37635 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37636 }
37637 {
37638 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37639 }
37640 {
37641 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37642 }
37643 {
37644 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37645 }
d55e5bfc 37646 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
36ed4f51
RD
37647 {
37648 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37649 }
37650 {
37651 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37652 }
37653 {
37654 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37655 }
37656 {
37657 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37658 }
37659 {
37660 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37661 }
37662 {
37663 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37664 }
37665 {
37666 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37667 }
37668 {
37669 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37670 }
37671 {
37672 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37673 }
37674 {
37675 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37676 }
37677 {
37678 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37679 }
37680 {
37681 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37682 }
37683 {
37684 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37685 }
37686 {
37687 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37688 }
37689 {
37690 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37691 }
37692 {
37693 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37694 }
37695 {
37696 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37697 }
37698 {
37699 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37700 }
37701 {
37702 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37703 }
37704 {
37705 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37706 }
37707 {
37708 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37709 }
37710 {
37711 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37712 }
37713 {
37714 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37715 }
37716 {
37717 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37718 }
37719 {
37720 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37721 }
37722 {
37723 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37724 }
37725 {
37726 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37727 }
37728 {
37729 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37730 }
37731 {
37732 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37733 }
37734 {
37735 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37736 }
37737 {
37738 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37739 }
37740 {
37741 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37742 }
37743 {
37744 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37745 }
37746 {
37747 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37748 }
37749 {
37750 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37751 }
37752 {
37753 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37754 }
37755 {
37756 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37757 }
37758 {
37759 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37760 }
37761 {
37762 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37763 }
37764 {
37765 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37766 }
37767 {
37768 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37769 }
37770 {
37771 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37772 }
37773 {
37774 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37775 }
37776 {
37777 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37778 }
37779 {
37780 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37781 }
37782 {
37783 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37784 }
37785 {
37786 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37787 }
37788 {
37789 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37790 }
37791 {
37792 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37793 }
37794 {
37795 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37796 }
37797 {
37798 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37799 }
37800 {
37801 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37802 }
37803 {
37804 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37805 }
37806 {
37807 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37808 }
37809 {
37810 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37811 }
37812 {
37813 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37814 }
37815 {
37816 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37817 }
37818 {
37819 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37820 }
37821 {
37822 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37823 }
37824 {
37825 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37826 }
37827 {
37828 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37829 }
37830 {
37831 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37832 }
37833 {
37834 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37835 }
37836 {
37837 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37838 }
37839 {
37840 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37841 }
37842 {
37843 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37844 }
37845 {
37846 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37847 }
37848 {
37849 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37850 }
d55e5bfc
RD
37851 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37852 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37853 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37854 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37855 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37856 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
d55e5bfc
RD
37857 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37858 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37859 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37860 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37861 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37862 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37863 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37864 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37865 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37866 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37867 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37868 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37869 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37870 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
fef4c27a
RD
37871 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37872 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
d55e5bfc
RD
37873
37874 // Map renamed classes back to their common name for OOR
37875 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37876
37877 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
36ed4f51
RD
37878 {
37879 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37880 }
37881 {
37882 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37883 }
37884 {
37885 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37886 }
37887 {
37888 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37889 }
37890 {
37891 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37892 }
37893 {
37894 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37895 }
37896 {
37897 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37898 }
37899 {
37900 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37901 }
37902 {
37903 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37904 }
37905 {
37906 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37907 }
37908 {
37909 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37910 }
37911 {
37912 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37913 }
37914 {
37915 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37916 }
37917 {
37918 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37919 }
37920 {
37921 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37922 }
37923 {
37924 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37925 }
37926 {
37927 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37928 }
37929 {
37930 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
37931 }
37932 {
37933 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
37934 }
37935 {
37936 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
37937 }
37938 {
37939 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
37940 }
37941 {
37942 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
37943 }
37944 {
37945 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
37946 }
37947 {
37948 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
37949 }
37950 {
37951 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
37952 }
37953 {
37954 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
37955 }
37956 {
37957 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
37958 }
37959 {
37960 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
37961 }
37962 {
37963 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
37964 }
37965 {
37966 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
37967 }
37968 {
37969 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
37970 }
37971 {
37972 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
37973 }
37974 {
37975 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
37976 }
37977 {
37978 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
37979 }
37980 {
37981 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
37982 }
d55e5bfc
RD
37983 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
37984 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
37985 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
37986 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
37987 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
37988 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
37989 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
37990 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
37991 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
37992 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
37993 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
37994 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
37995 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
37996 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
37997 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
37998 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
37999 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38000 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38001 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38002 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
62d32a5f 38003 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d55e5bfc
RD
38004
38005 // Map renamed classes back to their common name for OOR
38006 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38007 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38008
38009 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
36ed4f51
RD
38010 {
38011 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38012 }
38013 {
38014 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38015 }
38016 {
38017 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38018 }
38019 {
38020 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38021 }
38022 {
38023 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38024 }
38025 {
38026 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38027 }
38028 {
38029 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38030 }
d55e5bfc
RD
38031 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38032 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38033
38034 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38035
53aa7709
RD
38036 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38037 {
38038 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38039 }
38040 {
38041 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38042 }
38043 {
38044 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38045 }
38046 {
38047 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38048 }
38049 {
38050 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38051 }
d55e5bfc
RD
38052}
38053