]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/msw/_controls_wrap.cpp
Use the wx.ART_NORMAL_FILE icon
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
... / ...
CommitLineData
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
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
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);
26};
27#endif
28
29
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
37
38
39#include <Python.h>
40
41/***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
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"
52
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)
58#else
59#define SWIG_TYPE_TABLE_NAME
60#endif
61
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
67#else
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
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
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}
375
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}
417
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}
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
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.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
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.
448 ************************************************************************/
449
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
461#ifdef __cplusplus
462extern "C" {
463#endif
464
465
466/*************************************************************************/
467
468
469/* The static type info list */
470
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
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}
480
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}
486
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}
492
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}
502
503#ifdef __cplusplus
504}
505#endif
506
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511#ifdef __cplusplus
512extern "C" {
513#endif
514
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
522
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
530
531
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 * ----------------------------------------------------------------------------- */
551
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;
568
569
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577#ifdef __cplusplus
578}
579#endif
580
581
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 ************************************************************************/
591
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
597
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)
601
602
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
614
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
618
619
620#ifdef __cplusplus
621extern "C" {
622#endif
623
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
631
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 * ----------------------------------------------------------------------------- */
637
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)
648{
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;
655 }
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;
664}
665
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}
673
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
676{
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);
690}
691
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}
699
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702{
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711}
712
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
715{
716 PyObject_DEL(self);
717}
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 */
789#endif
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 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803}
804
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807{
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813}
814
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
820
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
826
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
832
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
843
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846{
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867}
868
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
879
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882{
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892}
893
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957}
958
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
974
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977{
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
983
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
995
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 if (str)
1041 Py_DECREF(str);
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]
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];
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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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
1539SWIG_As_int(PyObject* obj)
1540{
1541 int v;
1542 if (!SWIG_AsVal_int(obj, &v)) {
1543 /*
1544 this is needed to make valgrind/purify happier.
1545 */
1546 memset((void*)&v, 0, sizeof(int));
1547 }
1548 return v;
1549}
1550
1551
1552SWIGINTERNSHORT long
1553SWIG_As_long(PyObject* obj)
1554{
1555 long v;
1556 if (!SWIG_AsVal_long(obj, &v)) {
1557 /*
1558 this is needed to make valgrind/purify happier.
1559 */
1560 memset((void*)&v, 0, sizeof(long));
1561 }
1562 return v;
1563}
1564
1565
1566SWIGINTERNSHORT int
1567SWIG_Check_int(PyObject* obj)
1568{
1569 return SWIG_AsVal_int(obj, (int*)0);
1570}
1571
1572
1573SWIGINTERNSHORT int
1574SWIG_Check_long(PyObject* obj)
1575{
1576 return SWIG_AsVal_long(obj, (long*)0);
1577}
1578
1579 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1580
1581SWIGINTERN int
1582 SWIG_AsVal_bool(PyObject *obj, bool *val)
1583{
1584 if (obj == Py_True) {
1585 if (val) *val = true;
1586 return 1;
1587 }
1588 if (obj == Py_False) {
1589 if (val) *val = false;
1590 return 1;
1591 }
1592 int res = 0;
1593 if (SWIG_AsVal_int(obj, &res)) {
1594 if (val) *val = res ? true : false;
1595 return 1;
1596 } else {
1597 PyErr_Clear();
1598 }
1599 if (val) {
1600 SWIG_type_error("bool", obj);
1601 }
1602 return 0;
1603}
1604
1605
1606SWIGINTERNSHORT bool
1607SWIG_As_bool(PyObject* obj)
1608{
1609 bool v;
1610 if (!SWIG_AsVal_bool(obj, &v)) {
1611 /*
1612 this is needed to make valgrind/purify happier.
1613 */
1614 memset((void*)&v, 0, sizeof(bool));
1615 }
1616 return v;
1617}
1618
1619
1620SWIGINTERNSHORT int
1621SWIG_Check_bool(PyObject* obj)
1622{
1623 return SWIG_AsVal_bool(obj, (bool*)0);
1624}
1625
1626 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1627 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1628
1629 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1630#define SWIG_From_long PyInt_FromLong
1631/*@@*/
1632
1633
1634 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1635 PyObject* o2;
1636 PyObject* o3;
1637
1638 if (!target) {
1639 target = o;
1640 } else if (target == Py_None) {
1641 Py_DECREF(Py_None);
1642 target = o;
1643 } else {
1644 if (!PyTuple_Check(target)) {
1645 o2 = target;
1646 target = PyTuple_New(1);
1647 PyTuple_SetItem(target, 0, o2);
1648 }
1649 o3 = PyTuple_New(1);
1650 PyTuple_SetItem(o3, 0, o);
1651
1652 o2 = target;
1653 target = PySequence_Concat(o2, o3);
1654 Py_DECREF(o2);
1655 Py_DECREF(o3);
1656 }
1657 return target;
1658 }
1659
1660
1661 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1662 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1663 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1664 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1665
1666#include <wx/checklst.h>
1667
1668
1669 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1670static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1671 if (clientData) {
1672 wxPyClientData* data = new wxPyClientData(clientData);
1673 self->Insert(item, pos, data);
1674 } else
1675 self->Insert(item, pos);
1676 }
1677static PyObject *wxListBox_GetSelections(wxListBox *self){
1678 wxArrayInt lst;
1679 self->GetSelections(lst);
1680 PyObject *tup = PyTuple_New(lst.GetCount());
1681 for(size_t i=0; i<lst.GetCount(); i++) {
1682 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1683 }
1684 return tup;
1685 }
1686static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1687 #ifdef __WXMSW__
1688 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1689 self->GetItem(item)->SetTextColour(c);
1690 #endif
1691 }
1692static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1693 #ifdef __WXMSW__
1694 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1695 self->GetItem(item)->SetBackgroundColour(c);
1696 #endif
1697 }
1698static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1699 #ifdef __WXMSW__
1700 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1701 self->GetItem(item)->SetFont(f);
1702 #endif
1703 }
1704 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1705
1706SWIGINTERN int
1707SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1708{
1709 long v = 0;
1710 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1711 SWIG_type_error("unsigned number", obj);
1712 }
1713 else if (val)
1714 *val = (unsigned long)v;
1715 return 1;
1716}
1717
1718
1719SWIGINTERNSHORT unsigned long
1720SWIG_As_unsigned_SS_long(PyObject* obj)
1721{
1722 unsigned long v;
1723 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1724 /*
1725 this is needed to make valgrind/purify happier.
1726 */
1727 memset((void*)&v, 0, sizeof(unsigned long));
1728 }
1729 return v;
1730}
1731
1732
1733SWIGINTERNSHORT int
1734SWIG_Check_unsigned_SS_long(PyObject* obj)
1735{
1736 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1737}
1738
1739static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1740 self->AppendText(text);
1741 }
1742static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
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
1775 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
1776
1777SWIGINTERNSHORT PyObject*
1778 SWIG_From_unsigned_SS_long(unsigned long value)
1779{
1780 return (value > LONG_MAX) ?
1781 PyLong_FromUnsignedLong(value)
1782 : PyInt_FromLong((long)(value));
1783}
1784
1785 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1786static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
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 }
1796static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
1797 self->SetClientData(new wxPyUserData(clientData));
1798 }
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){
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 }
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){
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 }
1813static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
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 }
1823static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
1824 self->SetToolClientData(id, new wxPyUserData(clientData));
1825 }
1826
1827#include <wx/listctrl.h>
1828
1829 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
1830static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
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;
1835 wxPyBlock_t blocked = wxPyBeginBlockThreads();
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);
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1873
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1876
1877 PYPRIVATE;
1878};
1879
1880IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1881
1882IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
1883IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
1884IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1885
1886
1887static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
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 }
1902static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
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 }
1910static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
1911 wxPoint pos;
1912 self->GetItemPosition(item, pos);
1913 return pos;
1914 }
1915static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
1916 wxRect rect;
1917 self->GetItemRect(item, rect, code);
1918 return rect;
1919 }
1920
1921static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
1922 if (!PyCallable_Check(func))
1923 return false;
1924 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1925 }
1926static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
1927
1928 return self;
1929
1930
1931
1932 }
1933
1934#include <wx/treectrl.h>
1935#include "wx/wxPython/pytree.h"
1936
1937 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
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; }
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;
1968 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1969 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1970 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1971 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
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
1989/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1990#define SWIG_From_unsigned_SS_int SWIG_From_long
1991/*@@*/
1992#else
1993/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1994#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1995/*@@*/
1996#endif
1997
1998
1999SWIGINTERNSHORT int
2000 SWIG_CheckUnsignedLongInRange(unsigned long value,
2001 unsigned long max_value,
2002 const char *errmsg)
2003{
2004 if (value > max_value) {
2005 if (errmsg) {
2006 PyErr_Format(PyExc_OverflowError,
2007 "value %lu is greater than '%s' minimum %lu",
2008 value, errmsg, max_value);
2009 }
2010 return 0;
2011 }
2012 return 1;
2013 }
2014
2015
2016#if UINT_MAX != ULONG_MAX
2017SWIGINTERN int
2018 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2019{
2020 const char* errmsg = val ? "unsigned int" : (char*)0;
2021 unsigned long v;
2022 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2023 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2024 if (val) *val = (unsigned int)(v);
2025 return 1;
2026 }
2027 } else {
2028 PyErr_Clear();
2029 }
2030 if (val) {
2031 SWIG_type_error(errmsg, obj);
2032 }
2033 return 0;
2034}
2035#else
2036SWIGINTERNSHORT unsigned int
2037 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2038{
2039 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2040}
2041#endif
2042
2043
2044SWIGINTERNSHORT unsigned int
2045SWIG_As_unsigned_SS_int(PyObject* obj)
2046{
2047 unsigned int v;
2048 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2049 /*
2050 this is needed to make valgrind/purify happier.
2051 */
2052 memset((void*)&v, 0, sizeof(unsigned int));
2053 }
2054 return v;
2055}
2056
2057
2058SWIGINTERNSHORT int
2059SWIG_Check_unsigned_SS_int(PyObject* obj)
2060{
2061 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2062}
2063
2064static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
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 }
2073static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
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 }
2082static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2083 data->SetId(item); // set the id
2084 self->SetItemData(item, data);
2085 }
2086static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
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 }
2095static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2096 wxPyBlock_t blocked = wxPyBeginBlockThreads();
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));
2103 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2104 PyList_Append(rval, item);
2105 Py_DECREF(item);
2106 }
2107 wxPyEndBlockThreads(blocked);
2108 return rval;
2109 }
2110static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2111 void* cookie = 0;
2112 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2113 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2114 PyObject* tup = PyTuple_New(2);
2115 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2116 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2117 wxPyEndBlockThreads(blocked);
2118 return tup;
2119 }
2120static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2121 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2122 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2123 PyObject* tup = PyTuple_New(2);
2124 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2125 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2126 wxPyEndBlockThreads(blocked);
2127 return tup;
2128 }
2129static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2130 wxRect rect;
2131 if (self->GetBoundingRect(item, rect, textOnly)) {
2132 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2133 wxRect* r = new wxRect(rect);
2134 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2135 wxPyEndBlockThreads(blocked);
2136 return val;
2137 }
2138 else
2139 RETURN_NONE();
2140 }
2141 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2142
2143SWIGINTERNSHORT PyObject*
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
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
2166 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2167
2168 bool DoEraseBackground(wxDC* dc) {
2169#ifdef __WXMSW__
2170 return wxWindow::DoEraseBackground(dc->GetHDC());
2171#else
2172 dc->SetBackground(wxBrush(GetBackgroundColour()));
2173 dc->Clear();
2174 return true;
2175#endif
2176 }
2177
2178 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2179 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2180 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2181 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2182
2183 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2184 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2185 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2186
2187 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2188 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2189
2190 DEC_PYCALLBACK__(InitDialog);
2191 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2192 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2193 DEC_PYCALLBACK_BOOL_(Validate);
2194
2195 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2196 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2197 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2198
2199 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2200 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2201
2202 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2203 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2204
2205 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2206
2207 PYPRIVATE;
2208};
2209
2210IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2211
2212IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2213IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2214IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2215IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2216
2217IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2218IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2219IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2220
2221IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2222IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2223
2224IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2225IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2226IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2227IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2228
2229IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2230IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2231IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2232
2233IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2234IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2235
2236IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2237IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2238
2239IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2240
2241
2242
2243static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2244
2245#include <wx/generic/dragimgg.h>
2246
2247 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2248static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2249 wxDateTime rv;
2250 self->GetRange(&rv, NULL);
2251 return rv;
2252 }
2253static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2254 wxDateTime rv;
2255 self->GetRange(NULL, &rv);
2256 return rv;
2257 }
2258#ifdef __cplusplus
2259extern "C" {
2260#endif
2261static int _wrap_ButtonNameStr_set(PyObject *) {
2262 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2263 return 1;
2264}
2265
2266
2267static PyObject *_wrap_ButtonNameStr_get(void) {
2268 PyObject *pyobj;
2269
2270 {
2271#if wxUSE_UNICODE
2272 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2273#else
2274 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2275#endif
2276 }
2277 return pyobj;
2278}
2279
2280
2281static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2282 PyObject *resultobj;
2283 wxWindow *arg1 = (wxWindow *) 0 ;
2284 int arg2 = (int) -1 ;
2285 wxString const &arg3_defvalue = wxPyEmptyString ;
2286 wxString *arg3 = (wxString *) &arg3_defvalue ;
2287 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2288 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2289 wxSize const &arg5_defvalue = wxDefaultSize ;
2290 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2291 long arg6 = (long) 0 ;
2292 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2293 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2294 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2295 wxString *arg8 = (wxString *) &arg8_defvalue ;
2296 wxButton *result;
2297 bool temp3 = false ;
2298 wxPoint temp4 ;
2299 wxSize temp5 ;
2300 bool temp8 = false ;
2301 PyObject * obj0 = 0 ;
2302 PyObject * obj1 = 0 ;
2303 PyObject * obj2 = 0 ;
2304 PyObject * obj3 = 0 ;
2305 PyObject * obj4 = 0 ;
2306 PyObject * obj5 = 0 ;
2307 PyObject * obj6 = 0 ;
2308 PyObject * obj7 = 0 ;
2309 char *kwnames[] = {
2310 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2311 };
2312
2313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2315 if (SWIG_arg_fail(1)) SWIG_fail;
2316 if (obj1) {
2317 {
2318 arg2 = (int)(SWIG_As_int(obj1));
2319 if (SWIG_arg_fail(2)) SWIG_fail;
2320 }
2321 }
2322 if (obj2) {
2323 {
2324 arg3 = wxString_in_helper(obj2);
2325 if (arg3 == NULL) SWIG_fail;
2326 temp3 = true;
2327 }
2328 }
2329 if (obj3) {
2330 {
2331 arg4 = &temp4;
2332 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2333 }
2334 }
2335 if (obj4) {
2336 {
2337 arg5 = &temp5;
2338 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2339 }
2340 }
2341 if (obj5) {
2342 {
2343 arg6 = (long)(SWIG_As_long(obj5));
2344 if (SWIG_arg_fail(6)) SWIG_fail;
2345 }
2346 }
2347 if (obj6) {
2348 {
2349 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2350 if (SWIG_arg_fail(7)) SWIG_fail;
2351 if (arg7 == NULL) {
2352 SWIG_null_ref("wxValidator");
2353 }
2354 if (SWIG_arg_fail(7)) SWIG_fail;
2355 }
2356 }
2357 if (obj7) {
2358 {
2359 arg8 = wxString_in_helper(obj7);
2360 if (arg8 == NULL) SWIG_fail;
2361 temp8 = true;
2362 }
2363 }
2364 {
2365 if (!wxPyCheckForApp()) SWIG_fail;
2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
2367 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2368
2369 wxPyEndAllowThreads(__tstate);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 }
2372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2373 {
2374 if (temp3)
2375 delete arg3;
2376 }
2377 {
2378 if (temp8)
2379 delete arg8;
2380 }
2381 return resultobj;
2382 fail:
2383 {
2384 if (temp3)
2385 delete arg3;
2386 }
2387 {
2388 if (temp8)
2389 delete arg8;
2390 }
2391 return NULL;
2392}
2393
2394
2395static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2396 PyObject *resultobj;
2397 wxButton *result;
2398 char *kwnames[] = {
2399 NULL
2400 };
2401
2402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2403 {
2404 if (!wxPyCheckForApp()) SWIG_fail;
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 result = (wxButton *)new wxButton();
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2412 return resultobj;
2413 fail:
2414 return NULL;
2415}
2416
2417
2418static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2419 PyObject *resultobj;
2420 wxButton *arg1 = (wxButton *) 0 ;
2421 wxWindow *arg2 = (wxWindow *) 0 ;
2422 int arg3 = (int) -1 ;
2423 wxString const &arg4_defvalue = wxPyEmptyString ;
2424 wxString *arg4 = (wxString *) &arg4_defvalue ;
2425 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2426 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2427 wxSize const &arg6_defvalue = wxDefaultSize ;
2428 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2429 long arg7 = (long) 0 ;
2430 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2431 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2432 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2433 wxString *arg9 = (wxString *) &arg9_defvalue ;
2434 bool result;
2435 bool temp4 = false ;
2436 wxPoint temp5 ;
2437 wxSize temp6 ;
2438 bool temp9 = false ;
2439 PyObject * obj0 = 0 ;
2440 PyObject * obj1 = 0 ;
2441 PyObject * obj2 = 0 ;
2442 PyObject * obj3 = 0 ;
2443 PyObject * obj4 = 0 ;
2444 PyObject * obj5 = 0 ;
2445 PyObject * obj6 = 0 ;
2446 PyObject * obj7 = 0 ;
2447 PyObject * obj8 = 0 ;
2448 char *kwnames[] = {
2449 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2450 };
2451
2452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2454 if (SWIG_arg_fail(1)) SWIG_fail;
2455 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2456 if (SWIG_arg_fail(2)) SWIG_fail;
2457 if (obj2) {
2458 {
2459 arg3 = (int)(SWIG_As_int(obj2));
2460 if (SWIG_arg_fail(3)) SWIG_fail;
2461 }
2462 }
2463 if (obj3) {
2464 {
2465 arg4 = wxString_in_helper(obj3);
2466 if (arg4 == NULL) SWIG_fail;
2467 temp4 = true;
2468 }
2469 }
2470 if (obj4) {
2471 {
2472 arg5 = &temp5;
2473 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2474 }
2475 }
2476 if (obj5) {
2477 {
2478 arg6 = &temp6;
2479 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2480 }
2481 }
2482 if (obj6) {
2483 {
2484 arg7 = (long)(SWIG_As_long(obj6));
2485 if (SWIG_arg_fail(7)) SWIG_fail;
2486 }
2487 }
2488 if (obj7) {
2489 {
2490 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2491 if (SWIG_arg_fail(8)) SWIG_fail;
2492 if (arg8 == NULL) {
2493 SWIG_null_ref("wxValidator");
2494 }
2495 if (SWIG_arg_fail(8)) SWIG_fail;
2496 }
2497 }
2498 if (obj8) {
2499 {
2500 arg9 = wxString_in_helper(obj8);
2501 if (arg9 == NULL) SWIG_fail;
2502 temp9 = true;
2503 }
2504 }
2505 {
2506 PyThreadState* __tstate = wxPyBeginAllowThreads();
2507 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2508
2509 wxPyEndAllowThreads(__tstate);
2510 if (PyErr_Occurred()) SWIG_fail;
2511 }
2512 {
2513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2514 }
2515 {
2516 if (temp4)
2517 delete arg4;
2518 }
2519 {
2520 if (temp9)
2521 delete arg9;
2522 }
2523 return resultobj;
2524 fail:
2525 {
2526 if (temp4)
2527 delete arg4;
2528 }
2529 {
2530 if (temp9)
2531 delete arg9;
2532 }
2533 return NULL;
2534}
2535
2536
2537static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2538 PyObject *resultobj;
2539 wxButton *arg1 = (wxButton *) 0 ;
2540 PyObject * obj0 = 0 ;
2541 char *kwnames[] = {
2542 (char *) "self", NULL
2543 };
2544
2545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2547 if (SWIG_arg_fail(1)) SWIG_fail;
2548 {
2549 PyThreadState* __tstate = wxPyBeginAllowThreads();
2550 (arg1)->SetDefault();
2551
2552 wxPyEndAllowThreads(__tstate);
2553 if (PyErr_Occurred()) SWIG_fail;
2554 }
2555 Py_INCREF(Py_None); resultobj = Py_None;
2556 return resultobj;
2557 fail:
2558 return NULL;
2559}
2560
2561
2562static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2563 PyObject *resultobj;
2564 wxSize result;
2565 char *kwnames[] = {
2566 NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2570 {
2571 PyThreadState* __tstate = wxPyBeginAllowThreads();
2572 result = wxButton::GetDefaultSize();
2573
2574 wxPyEndAllowThreads(__tstate);
2575 if (PyErr_Occurred()) SWIG_fail;
2576 }
2577 {
2578 wxSize * resultptr;
2579 resultptr = new wxSize((wxSize &)(result));
2580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2581 }
2582 return resultobj;
2583 fail:
2584 return NULL;
2585}
2586
2587
2588static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2589 PyObject *resultobj;
2590 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2591 wxVisualAttributes result;
2592 PyObject * obj0 = 0 ;
2593 char *kwnames[] = {
2594 (char *) "variant", NULL
2595 };
2596
2597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2598 if (obj0) {
2599 {
2600 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2601 if (SWIG_arg_fail(1)) SWIG_fail;
2602 }
2603 }
2604 {
2605 if (!wxPyCheckForApp()) SWIG_fail;
2606 PyThreadState* __tstate = wxPyBeginAllowThreads();
2607 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2608
2609 wxPyEndAllowThreads(__tstate);
2610 if (PyErr_Occurred()) SWIG_fail;
2611 }
2612 {
2613 wxVisualAttributes * resultptr;
2614 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2615 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2616 }
2617 return resultobj;
2618 fail:
2619 return NULL;
2620}
2621
2622
2623static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2624 PyObject *obj;
2625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2626 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2627 Py_INCREF(obj);
2628 return Py_BuildValue((char *)"");
2629}
2630static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2631 PyObject *resultobj;
2632 wxWindow *arg1 = (wxWindow *) 0 ;
2633 int arg2 = (int) -1 ;
2634 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2635 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2636 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2637 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2638 wxSize const &arg5_defvalue = wxDefaultSize ;
2639 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2640 long arg6 = (long) wxBU_AUTODRAW ;
2641 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2642 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2643 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2644 wxString *arg8 = (wxString *) &arg8_defvalue ;
2645 wxBitmapButton *result;
2646 wxPoint temp4 ;
2647 wxSize temp5 ;
2648 bool temp8 = false ;
2649 PyObject * obj0 = 0 ;
2650 PyObject * obj1 = 0 ;
2651 PyObject * obj2 = 0 ;
2652 PyObject * obj3 = 0 ;
2653 PyObject * obj4 = 0 ;
2654 PyObject * obj5 = 0 ;
2655 PyObject * obj6 = 0 ;
2656 PyObject * obj7 = 0 ;
2657 char *kwnames[] = {
2658 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2659 };
2660
2661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2663 if (SWIG_arg_fail(1)) SWIG_fail;
2664 if (obj1) {
2665 {
2666 arg2 = (int)(SWIG_As_int(obj1));
2667 if (SWIG_arg_fail(2)) SWIG_fail;
2668 }
2669 }
2670 if (obj2) {
2671 {
2672 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2673 if (SWIG_arg_fail(3)) SWIG_fail;
2674 if (arg3 == NULL) {
2675 SWIG_null_ref("wxBitmap");
2676 }
2677 if (SWIG_arg_fail(3)) SWIG_fail;
2678 }
2679 }
2680 if (obj3) {
2681 {
2682 arg4 = &temp4;
2683 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2684 }
2685 }
2686 if (obj4) {
2687 {
2688 arg5 = &temp5;
2689 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2690 }
2691 }
2692 if (obj5) {
2693 {
2694 arg6 = (long)(SWIG_As_long(obj5));
2695 if (SWIG_arg_fail(6)) SWIG_fail;
2696 }
2697 }
2698 if (obj6) {
2699 {
2700 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2701 if (SWIG_arg_fail(7)) SWIG_fail;
2702 if (arg7 == NULL) {
2703 SWIG_null_ref("wxValidator");
2704 }
2705 if (SWIG_arg_fail(7)) SWIG_fail;
2706 }
2707 }
2708 if (obj7) {
2709 {
2710 arg8 = wxString_in_helper(obj7);
2711 if (arg8 == NULL) SWIG_fail;
2712 temp8 = true;
2713 }
2714 }
2715 {
2716 if (!wxPyCheckForApp()) SWIG_fail;
2717 PyThreadState* __tstate = wxPyBeginAllowThreads();
2718 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2719
2720 wxPyEndAllowThreads(__tstate);
2721 if (PyErr_Occurred()) SWIG_fail;
2722 }
2723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2724 {
2725 if (temp8)
2726 delete arg8;
2727 }
2728 return resultobj;
2729 fail:
2730 {
2731 if (temp8)
2732 delete arg8;
2733 }
2734 return NULL;
2735}
2736
2737
2738static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2739 PyObject *resultobj;
2740 wxBitmapButton *result;
2741 char *kwnames[] = {
2742 NULL
2743 };
2744
2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2746 {
2747 if (!wxPyCheckForApp()) SWIG_fail;
2748 PyThreadState* __tstate = wxPyBeginAllowThreads();
2749 result = (wxBitmapButton *)new wxBitmapButton();
2750
2751 wxPyEndAllowThreads(__tstate);
2752 if (PyErr_Occurred()) SWIG_fail;
2753 }
2754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2755 return resultobj;
2756 fail:
2757 return NULL;
2758}
2759
2760
2761static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2762 PyObject *resultobj;
2763 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2764 wxWindow *arg2 = (wxWindow *) 0 ;
2765 int arg3 = (int) -1 ;
2766 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2767 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2768 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2769 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2770 wxSize const &arg6_defvalue = wxDefaultSize ;
2771 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2772 long arg7 = (long) wxBU_AUTODRAW ;
2773 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2774 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2775 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2776 wxString *arg9 = (wxString *) &arg9_defvalue ;
2777 bool result;
2778 wxPoint temp5 ;
2779 wxSize temp6 ;
2780 bool temp9 = false ;
2781 PyObject * obj0 = 0 ;
2782 PyObject * obj1 = 0 ;
2783 PyObject * obj2 = 0 ;
2784 PyObject * obj3 = 0 ;
2785 PyObject * obj4 = 0 ;
2786 PyObject * obj5 = 0 ;
2787 PyObject * obj6 = 0 ;
2788 PyObject * obj7 = 0 ;
2789 PyObject * obj8 = 0 ;
2790 char *kwnames[] = {
2791 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2792 };
2793
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2796 if (SWIG_arg_fail(1)) SWIG_fail;
2797 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2798 if (SWIG_arg_fail(2)) SWIG_fail;
2799 if (obj2) {
2800 {
2801 arg3 = (int)(SWIG_As_int(obj2));
2802 if (SWIG_arg_fail(3)) SWIG_fail;
2803 }
2804 }
2805 if (obj3) {
2806 {
2807 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2808 if (SWIG_arg_fail(4)) SWIG_fail;
2809 if (arg4 == NULL) {
2810 SWIG_null_ref("wxBitmap");
2811 }
2812 if (SWIG_arg_fail(4)) SWIG_fail;
2813 }
2814 }
2815 if (obj4) {
2816 {
2817 arg5 = &temp5;
2818 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2819 }
2820 }
2821 if (obj5) {
2822 {
2823 arg6 = &temp6;
2824 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2825 }
2826 }
2827 if (obj6) {
2828 {
2829 arg7 = (long)(SWIG_As_long(obj6));
2830 if (SWIG_arg_fail(7)) SWIG_fail;
2831 }
2832 }
2833 if (obj7) {
2834 {
2835 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2836 if (SWIG_arg_fail(8)) SWIG_fail;
2837 if (arg8 == NULL) {
2838 SWIG_null_ref("wxValidator");
2839 }
2840 if (SWIG_arg_fail(8)) SWIG_fail;
2841 }
2842 }
2843 if (obj8) {
2844 {
2845 arg9 = wxString_in_helper(obj8);
2846 if (arg9 == NULL) SWIG_fail;
2847 temp9 = true;
2848 }
2849 }
2850 {
2851 PyThreadState* __tstate = wxPyBeginAllowThreads();
2852 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2853
2854 wxPyEndAllowThreads(__tstate);
2855 if (PyErr_Occurred()) SWIG_fail;
2856 }
2857 {
2858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2859 }
2860 {
2861 if (temp9)
2862 delete arg9;
2863 }
2864 return resultobj;
2865 fail:
2866 {
2867 if (temp9)
2868 delete arg9;
2869 }
2870 return NULL;
2871}
2872
2873
2874static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2875 PyObject *resultobj;
2876 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2877 wxBitmap result;
2878 PyObject * obj0 = 0 ;
2879 char *kwnames[] = {
2880 (char *) "self", NULL
2881 };
2882
2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
2884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2885 if (SWIG_arg_fail(1)) SWIG_fail;
2886 {
2887 PyThreadState* __tstate = wxPyBeginAllowThreads();
2888 result = (arg1)->GetBitmapLabel();
2889
2890 wxPyEndAllowThreads(__tstate);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
2893 {
2894 wxBitmap * resultptr;
2895 resultptr = new wxBitmap((wxBitmap &)(result));
2896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2897 }
2898 return resultobj;
2899 fail:
2900 return NULL;
2901}
2902
2903
2904static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2905 PyObject *resultobj;
2906 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2907 wxBitmap result;
2908 PyObject * obj0 = 0 ;
2909 char *kwnames[] = {
2910 (char *) "self", NULL
2911 };
2912
2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
2914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2915 if (SWIG_arg_fail(1)) SWIG_fail;
2916 {
2917 PyThreadState* __tstate = wxPyBeginAllowThreads();
2918 result = (arg1)->GetBitmapDisabled();
2919
2920 wxPyEndAllowThreads(__tstate);
2921 if (PyErr_Occurred()) SWIG_fail;
2922 }
2923 {
2924 wxBitmap * resultptr;
2925 resultptr = new wxBitmap((wxBitmap &)(result));
2926 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2927 }
2928 return resultobj;
2929 fail:
2930 return NULL;
2931}
2932
2933
2934static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2937 wxBitmap result;
2938 PyObject * obj0 = 0 ;
2939 char *kwnames[] = {
2940 (char *) "self", NULL
2941 };
2942
2943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
2944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2945 if (SWIG_arg_fail(1)) SWIG_fail;
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 result = (arg1)->GetBitmapFocus();
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 {
2954 wxBitmap * resultptr;
2955 resultptr = new wxBitmap((wxBitmap &)(result));
2956 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2957 }
2958 return resultobj;
2959 fail:
2960 return NULL;
2961}
2962
2963
2964static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
2965 PyObject *resultobj;
2966 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2967 wxBitmap result;
2968 PyObject * obj0 = 0 ;
2969 char *kwnames[] = {
2970 (char *) "self", NULL
2971 };
2972
2973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
2974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2975 if (SWIG_arg_fail(1)) SWIG_fail;
2976 {
2977 PyThreadState* __tstate = wxPyBeginAllowThreads();
2978 result = (arg1)->GetBitmapSelected();
2979
2980 wxPyEndAllowThreads(__tstate);
2981 if (PyErr_Occurred()) SWIG_fail;
2982 }
2983 {
2984 wxBitmap * resultptr;
2985 resultptr = new wxBitmap((wxBitmap &)(result));
2986 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2987 }
2988 return resultobj;
2989 fail:
2990 return NULL;
2991}
2992
2993
2994static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2995 PyObject *resultobj;
2996 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2997 wxBitmap *arg2 = 0 ;
2998 PyObject * obj0 = 0 ;
2999 PyObject * obj1 = 0 ;
3000 char *kwnames[] = {
3001 (char *) "self",(char *) "bitmap", NULL
3002 };
3003
3004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
3005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3006 if (SWIG_arg_fail(1)) SWIG_fail;
3007 {
3008 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3009 if (SWIG_arg_fail(2)) SWIG_fail;
3010 if (arg2 == NULL) {
3011 SWIG_null_ref("wxBitmap");
3012 }
3013 if (SWIG_arg_fail(2)) SWIG_fail;
3014 }
3015 {
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3018
3019 wxPyEndAllowThreads(__tstate);
3020 if (PyErr_Occurred()) SWIG_fail;
3021 }
3022 Py_INCREF(Py_None); resultobj = Py_None;
3023 return resultobj;
3024 fail:
3025 return NULL;
3026}
3027
3028
3029static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3030 PyObject *resultobj;
3031 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3032 wxBitmap *arg2 = 0 ;
3033 PyObject * obj0 = 0 ;
3034 PyObject * obj1 = 0 ;
3035 char *kwnames[] = {
3036 (char *) "self",(char *) "bitmap", NULL
3037 };
3038
3039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3041 if (SWIG_arg_fail(1)) SWIG_fail;
3042 {
3043 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3044 if (SWIG_arg_fail(2)) SWIG_fail;
3045 if (arg2 == NULL) {
3046 SWIG_null_ref("wxBitmap");
3047 }
3048 if (SWIG_arg_fail(2)) SWIG_fail;
3049 }
3050 {
3051 PyThreadState* __tstate = wxPyBeginAllowThreads();
3052 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3053
3054 wxPyEndAllowThreads(__tstate);
3055 if (PyErr_Occurred()) SWIG_fail;
3056 }
3057 Py_INCREF(Py_None); resultobj = Py_None;
3058 return resultobj;
3059 fail:
3060 return NULL;
3061}
3062
3063
3064static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3065 PyObject *resultobj;
3066 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3067 wxBitmap *arg2 = 0 ;
3068 PyObject * obj0 = 0 ;
3069 PyObject * obj1 = 0 ;
3070 char *kwnames[] = {
3071 (char *) "self",(char *) "bitmap", NULL
3072 };
3073
3074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3076 if (SWIG_arg_fail(1)) SWIG_fail;
3077 {
3078 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3079 if (SWIG_arg_fail(2)) SWIG_fail;
3080 if (arg2 == NULL) {
3081 SWIG_null_ref("wxBitmap");
3082 }
3083 if (SWIG_arg_fail(2)) SWIG_fail;
3084 }
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 Py_INCREF(Py_None); resultobj = Py_None;
3093 return resultobj;
3094 fail:
3095 return NULL;
3096}
3097
3098
3099static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3100 PyObject *resultobj;
3101 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3102 wxBitmap *arg2 = 0 ;
3103 PyObject * obj0 = 0 ;
3104 PyObject * obj1 = 0 ;
3105 char *kwnames[] = {
3106 (char *) "self",(char *) "bitmap", NULL
3107 };
3108
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3111 if (SWIG_arg_fail(1)) SWIG_fail;
3112 {
3113 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3114 if (SWIG_arg_fail(2)) SWIG_fail;
3115 if (arg2 == NULL) {
3116 SWIG_null_ref("wxBitmap");
3117 }
3118 if (SWIG_arg_fail(2)) SWIG_fail;
3119 }
3120 {
3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
3122 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3123
3124 wxPyEndAllowThreads(__tstate);
3125 if (PyErr_Occurred()) SWIG_fail;
3126 }
3127 Py_INCREF(Py_None); resultobj = Py_None;
3128 return resultobj;
3129 fail:
3130 return NULL;
3131}
3132
3133
3134static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3135 PyObject *resultobj;
3136 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3137 int arg2 ;
3138 int arg3 ;
3139 PyObject * obj0 = 0 ;
3140 PyObject * obj1 = 0 ;
3141 PyObject * obj2 = 0 ;
3142 char *kwnames[] = {
3143 (char *) "self",(char *) "x",(char *) "y", NULL
3144 };
3145
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3148 if (SWIG_arg_fail(1)) SWIG_fail;
3149 {
3150 arg2 = (int)(SWIG_As_int(obj1));
3151 if (SWIG_arg_fail(2)) SWIG_fail;
3152 }
3153 {
3154 arg3 = (int)(SWIG_As_int(obj2));
3155 if (SWIG_arg_fail(3)) SWIG_fail;
3156 }
3157 {
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 (arg1)->SetMargins(arg2,arg3);
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 Py_INCREF(Py_None); resultobj = Py_None;
3165 return resultobj;
3166 fail:
3167 return NULL;
3168}
3169
3170
3171static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3172 PyObject *resultobj;
3173 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3174 int result;
3175 PyObject * obj0 = 0 ;
3176 char *kwnames[] = {
3177 (char *) "self", NULL
3178 };
3179
3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3182 if (SWIG_arg_fail(1)) SWIG_fail;
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 {
3191 resultobj = SWIG_From_int((int)(result));
3192 }
3193 return resultobj;
3194 fail:
3195 return NULL;
3196}
3197
3198
3199static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3200 PyObject *resultobj;
3201 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3202 int result;
3203 PyObject * obj0 = 0 ;
3204 char *kwnames[] = {
3205 (char *) "self", NULL
3206 };
3207
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3210 if (SWIG_arg_fail(1)) SWIG_fail;
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3214
3215 wxPyEndAllowThreads(__tstate);
3216 if (PyErr_Occurred()) SWIG_fail;
3217 }
3218 {
3219 resultobj = SWIG_From_int((int)(result));
3220 }
3221 return resultobj;
3222 fail:
3223 return NULL;
3224}
3225
3226
3227static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3228 PyObject *obj;
3229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3230 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3231 Py_INCREF(obj);
3232 return Py_BuildValue((char *)"");
3233}
3234static int _wrap_CheckBoxNameStr_set(PyObject *) {
3235 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3236 return 1;
3237}
3238
3239
3240static PyObject *_wrap_CheckBoxNameStr_get(void) {
3241 PyObject *pyobj;
3242
3243 {
3244#if wxUSE_UNICODE
3245 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3246#else
3247 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3248#endif
3249 }
3250 return pyobj;
3251}
3252
3253
3254static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3255 PyObject *resultobj;
3256 wxWindow *arg1 = (wxWindow *) 0 ;
3257 int arg2 = (int) -1 ;
3258 wxString const &arg3_defvalue = wxPyEmptyString ;
3259 wxString *arg3 = (wxString *) &arg3_defvalue ;
3260 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3261 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3262 wxSize const &arg5_defvalue = wxDefaultSize ;
3263 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3264 long arg6 = (long) 0 ;
3265 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3266 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3267 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3268 wxString *arg8 = (wxString *) &arg8_defvalue ;
3269 wxCheckBox *result;
3270 bool temp3 = false ;
3271 wxPoint temp4 ;
3272 wxSize temp5 ;
3273 bool temp8 = false ;
3274 PyObject * obj0 = 0 ;
3275 PyObject * obj1 = 0 ;
3276 PyObject * obj2 = 0 ;
3277 PyObject * obj3 = 0 ;
3278 PyObject * obj4 = 0 ;
3279 PyObject * obj5 = 0 ;
3280 PyObject * obj6 = 0 ;
3281 PyObject * obj7 = 0 ;
3282 char *kwnames[] = {
3283 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3284 };
3285
3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3288 if (SWIG_arg_fail(1)) SWIG_fail;
3289 if (obj1) {
3290 {
3291 arg2 = (int)(SWIG_As_int(obj1));
3292 if (SWIG_arg_fail(2)) SWIG_fail;
3293 }
3294 }
3295 if (obj2) {
3296 {
3297 arg3 = wxString_in_helper(obj2);
3298 if (arg3 == NULL) SWIG_fail;
3299 temp3 = true;
3300 }
3301 }
3302 if (obj3) {
3303 {
3304 arg4 = &temp4;
3305 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3306 }
3307 }
3308 if (obj4) {
3309 {
3310 arg5 = &temp5;
3311 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3312 }
3313 }
3314 if (obj5) {
3315 {
3316 arg6 = (long)(SWIG_As_long(obj5));
3317 if (SWIG_arg_fail(6)) SWIG_fail;
3318 }
3319 }
3320 if (obj6) {
3321 {
3322 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3323 if (SWIG_arg_fail(7)) SWIG_fail;
3324 if (arg7 == NULL) {
3325 SWIG_null_ref("wxValidator");
3326 }
3327 if (SWIG_arg_fail(7)) SWIG_fail;
3328 }
3329 }
3330 if (obj7) {
3331 {
3332 arg8 = wxString_in_helper(obj7);
3333 if (arg8 == NULL) SWIG_fail;
3334 temp8 = true;
3335 }
3336 }
3337 {
3338 if (!wxPyCheckForApp()) SWIG_fail;
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 }
3345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3346 {
3347 if (temp3)
3348 delete arg3;
3349 }
3350 {
3351 if (temp8)
3352 delete arg8;
3353 }
3354 return resultobj;
3355 fail:
3356 {
3357 if (temp3)
3358 delete arg3;
3359 }
3360 {
3361 if (temp8)
3362 delete arg8;
3363 }
3364 return NULL;
3365}
3366
3367
3368static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj;
3370 wxCheckBox *result;
3371 char *kwnames[] = {
3372 NULL
3373 };
3374
3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3376 {
3377 if (!wxPyCheckForApp()) SWIG_fail;
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 result = (wxCheckBox *)new wxCheckBox();
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3385 return resultobj;
3386 fail:
3387 return NULL;
3388}
3389
3390
3391static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3392 PyObject *resultobj;
3393 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3394 wxWindow *arg2 = (wxWindow *) 0 ;
3395 int arg3 = (int) -1 ;
3396 wxString const &arg4_defvalue = wxPyEmptyString ;
3397 wxString *arg4 = (wxString *) &arg4_defvalue ;
3398 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3399 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3400 wxSize const &arg6_defvalue = wxDefaultSize ;
3401 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3402 long arg7 = (long) 0 ;
3403 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3404 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3405 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3406 wxString *arg9 = (wxString *) &arg9_defvalue ;
3407 bool result;
3408 bool temp4 = false ;
3409 wxPoint temp5 ;
3410 wxSize temp6 ;
3411 bool temp9 = false ;
3412 PyObject * obj0 = 0 ;
3413 PyObject * obj1 = 0 ;
3414 PyObject * obj2 = 0 ;
3415 PyObject * obj3 = 0 ;
3416 PyObject * obj4 = 0 ;
3417 PyObject * obj5 = 0 ;
3418 PyObject * obj6 = 0 ;
3419 PyObject * obj7 = 0 ;
3420 PyObject * obj8 = 0 ;
3421 char *kwnames[] = {
3422 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3423 };
3424
3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3427 if (SWIG_arg_fail(1)) SWIG_fail;
3428 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3429 if (SWIG_arg_fail(2)) SWIG_fail;
3430 if (obj2) {
3431 {
3432 arg3 = (int)(SWIG_As_int(obj2));
3433 if (SWIG_arg_fail(3)) SWIG_fail;
3434 }
3435 }
3436 if (obj3) {
3437 {
3438 arg4 = wxString_in_helper(obj3);
3439 if (arg4 == NULL) SWIG_fail;
3440 temp4 = true;
3441 }
3442 }
3443 if (obj4) {
3444 {
3445 arg5 = &temp5;
3446 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3447 }
3448 }
3449 if (obj5) {
3450 {
3451 arg6 = &temp6;
3452 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3453 }
3454 }
3455 if (obj6) {
3456 {
3457 arg7 = (long)(SWIG_As_long(obj6));
3458 if (SWIG_arg_fail(7)) SWIG_fail;
3459 }
3460 }
3461 if (obj7) {
3462 {
3463 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3464 if (SWIG_arg_fail(8)) SWIG_fail;
3465 if (arg8 == NULL) {
3466 SWIG_null_ref("wxValidator");
3467 }
3468 if (SWIG_arg_fail(8)) SWIG_fail;
3469 }
3470 }
3471 if (obj8) {
3472 {
3473 arg9 = wxString_in_helper(obj8);
3474 if (arg9 == NULL) SWIG_fail;
3475 temp9 = true;
3476 }
3477 }
3478 {
3479 PyThreadState* __tstate = wxPyBeginAllowThreads();
3480 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3481
3482 wxPyEndAllowThreads(__tstate);
3483 if (PyErr_Occurred()) SWIG_fail;
3484 }
3485 {
3486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3487 }
3488 {
3489 if (temp4)
3490 delete arg4;
3491 }
3492 {
3493 if (temp9)
3494 delete arg9;
3495 }
3496 return resultobj;
3497 fail:
3498 {
3499 if (temp4)
3500 delete arg4;
3501 }
3502 {
3503 if (temp9)
3504 delete arg9;
3505 }
3506 return NULL;
3507}
3508
3509
3510static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3511 PyObject *resultobj;
3512 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3513 bool result;
3514 PyObject * obj0 = 0 ;
3515 char *kwnames[] = {
3516 (char *) "self", NULL
3517 };
3518
3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3521 if (SWIG_arg_fail(1)) SWIG_fail;
3522 {
3523 PyThreadState* __tstate = wxPyBeginAllowThreads();
3524 result = (bool)(arg1)->GetValue();
3525
3526 wxPyEndAllowThreads(__tstate);
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
3529 {
3530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3531 }
3532 return resultobj;
3533 fail:
3534 return NULL;
3535}
3536
3537
3538static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3539 PyObject *resultobj;
3540 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3541 bool result;
3542 PyObject * obj0 = 0 ;
3543 char *kwnames[] = {
3544 (char *) "self", NULL
3545 };
3546
3547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3549 if (SWIG_arg_fail(1)) SWIG_fail;
3550 {
3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
3552 result = (bool)(arg1)->IsChecked();
3553
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
3557 {
3558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3559 }
3560 return resultobj;
3561 fail:
3562 return NULL;
3563}
3564
3565
3566static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3567 PyObject *resultobj;
3568 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3569 bool arg2 ;
3570 PyObject * obj0 = 0 ;
3571 PyObject * obj1 = 0 ;
3572 char *kwnames[] = {
3573 (char *) "self",(char *) "state", NULL
3574 };
3575
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3578 if (SWIG_arg_fail(1)) SWIG_fail;
3579 {
3580 arg2 = (bool const)(SWIG_As_bool(obj1));
3581 if (SWIG_arg_fail(2)) SWIG_fail;
3582 }
3583 {
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 (arg1)->SetValue(arg2);
3586
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 Py_INCREF(Py_None); resultobj = Py_None;
3591 return resultobj;
3592 fail:
3593 return NULL;
3594}
3595
3596
3597static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj;
3599 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3600 wxCheckBoxState result;
3601 PyObject * obj0 = 0 ;
3602 char *kwnames[] = {
3603 (char *) "self", NULL
3604 };
3605
3606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3608 if (SWIG_arg_fail(1)) SWIG_fail;
3609 {
3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
3611 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3612
3613 wxPyEndAllowThreads(__tstate);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 }
3616 resultobj = SWIG_From_int((result));
3617 return resultobj;
3618 fail:
3619 return NULL;
3620}
3621
3622
3623static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3624 PyObject *resultobj;
3625 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3626 wxCheckBoxState arg2 ;
3627 PyObject * obj0 = 0 ;
3628 PyObject * obj1 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self",(char *) "state", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3635 if (SWIG_arg_fail(1)) SWIG_fail;
3636 {
3637 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3638 if (SWIG_arg_fail(2)) SWIG_fail;
3639 }
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 Py_INCREF(Py_None); resultobj = Py_None;
3648 return resultobj;
3649 fail:
3650 return NULL;
3651}
3652
3653
3654static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3655 PyObject *resultobj;
3656 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3657 bool result;
3658 PyObject * obj0 = 0 ;
3659 char *kwnames[] = {
3660 (char *) "self", NULL
3661 };
3662
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3665 if (SWIG_arg_fail(1)) SWIG_fail;
3666 {
3667 PyThreadState* __tstate = wxPyBeginAllowThreads();
3668 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3669
3670 wxPyEndAllowThreads(__tstate);
3671 if (PyErr_Occurred()) SWIG_fail;
3672 }
3673 {
3674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3675 }
3676 return resultobj;
3677 fail:
3678 return NULL;
3679}
3680
3681
3682static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3683 PyObject *resultobj;
3684 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3685 bool result;
3686 PyObject * obj0 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3693 if (SWIG_arg_fail(1)) SWIG_fail;
3694 {
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3697
3698 wxPyEndAllowThreads(__tstate);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 {
3702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3703 }
3704 return resultobj;
3705 fail:
3706 return NULL;
3707}
3708
3709
3710static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3711 PyObject *resultobj;
3712 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3713 wxVisualAttributes result;
3714 PyObject * obj0 = 0 ;
3715 char *kwnames[] = {
3716 (char *) "variant", NULL
3717 };
3718
3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3720 if (obj0) {
3721 {
3722 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3723 if (SWIG_arg_fail(1)) SWIG_fail;
3724 }
3725 }
3726 {
3727 if (!wxPyCheckForApp()) SWIG_fail;
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 {
3735 wxVisualAttributes * resultptr;
3736 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3737 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3738 }
3739 return resultobj;
3740 fail:
3741 return NULL;
3742}
3743
3744
3745static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3746 PyObject *obj;
3747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3748 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3749 Py_INCREF(obj);
3750 return Py_BuildValue((char *)"");
3751}
3752static int _wrap_ChoiceNameStr_set(PyObject *) {
3753 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3754 return 1;
3755}
3756
3757
3758static PyObject *_wrap_ChoiceNameStr_get(void) {
3759 PyObject *pyobj;
3760
3761 {
3762#if wxUSE_UNICODE
3763 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3764#else
3765 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3766#endif
3767 }
3768 return pyobj;
3769}
3770
3771
3772static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3773 PyObject *resultobj;
3774 wxWindow *arg1 = (wxWindow *) 0 ;
3775 int arg2 = (int) -1 ;
3776 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3777 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3778 wxSize const &arg4_defvalue = wxDefaultSize ;
3779 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3780 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3781 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3782 long arg6 = (long) 0 ;
3783 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3784 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3785 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3786 wxString *arg8 = (wxString *) &arg8_defvalue ;
3787 wxChoice *result;
3788 wxPoint temp3 ;
3789 wxSize temp4 ;
3790 bool temp5 = false ;
3791 bool temp8 = false ;
3792 PyObject * obj0 = 0 ;
3793 PyObject * obj1 = 0 ;
3794 PyObject * obj2 = 0 ;
3795 PyObject * obj3 = 0 ;
3796 PyObject * obj4 = 0 ;
3797 PyObject * obj5 = 0 ;
3798 PyObject * obj6 = 0 ;
3799 PyObject * obj7 = 0 ;
3800 char *kwnames[] = {
3801 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3802 };
3803
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3806 if (SWIG_arg_fail(1)) SWIG_fail;
3807 if (obj1) {
3808 {
3809 arg2 = (int)(SWIG_As_int(obj1));
3810 if (SWIG_arg_fail(2)) SWIG_fail;
3811 }
3812 }
3813 if (obj2) {
3814 {
3815 arg3 = &temp3;
3816 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3817 }
3818 }
3819 if (obj3) {
3820 {
3821 arg4 = &temp4;
3822 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3823 }
3824 }
3825 if (obj4) {
3826 {
3827 if (! PySequence_Check(obj4)) {
3828 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3829 SWIG_fail;
3830 }
3831 arg5 = new wxArrayString;
3832 temp5 = true;
3833 int i, len=PySequence_Length(obj4);
3834 for (i=0; i<len; i++) {
3835 PyObject* item = PySequence_GetItem(obj4, i);
3836 wxString* s = wxString_in_helper(item);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 arg5->Add(*s);
3839 delete s;
3840 Py_DECREF(item);
3841 }
3842 }
3843 }
3844 if (obj5) {
3845 {
3846 arg6 = (long)(SWIG_As_long(obj5));
3847 if (SWIG_arg_fail(6)) SWIG_fail;
3848 }
3849 }
3850 if (obj6) {
3851 {
3852 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3853 if (SWIG_arg_fail(7)) SWIG_fail;
3854 if (arg7 == NULL) {
3855 SWIG_null_ref("wxValidator");
3856 }
3857 if (SWIG_arg_fail(7)) SWIG_fail;
3858 }
3859 }
3860 if (obj7) {
3861 {
3862 arg8 = wxString_in_helper(obj7);
3863 if (arg8 == NULL) SWIG_fail;
3864 temp8 = true;
3865 }
3866 }
3867 {
3868 if (!wxPyCheckForApp()) SWIG_fail;
3869 PyThreadState* __tstate = wxPyBeginAllowThreads();
3870 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3871
3872 wxPyEndAllowThreads(__tstate);
3873 if (PyErr_Occurred()) SWIG_fail;
3874 }
3875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3876 {
3877 if (temp5) delete arg5;
3878 }
3879 {
3880 if (temp8)
3881 delete arg8;
3882 }
3883 return resultobj;
3884 fail:
3885 {
3886 if (temp5) delete arg5;
3887 }
3888 {
3889 if (temp8)
3890 delete arg8;
3891 }
3892 return NULL;
3893}
3894
3895
3896static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3897 PyObject *resultobj;
3898 wxChoice *result;
3899 char *kwnames[] = {
3900 NULL
3901 };
3902
3903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3904 {
3905 if (!wxPyCheckForApp()) SWIG_fail;
3906 PyThreadState* __tstate = wxPyBeginAllowThreads();
3907 result = (wxChoice *)new wxChoice();
3908
3909 wxPyEndAllowThreads(__tstate);
3910 if (PyErr_Occurred()) SWIG_fail;
3911 }
3912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3913 return resultobj;
3914 fail:
3915 return NULL;
3916}
3917
3918
3919static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3920 PyObject *resultobj;
3921 wxChoice *arg1 = (wxChoice *) 0 ;
3922 wxWindow *arg2 = (wxWindow *) 0 ;
3923 int arg3 = (int) -1 ;
3924 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3925 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3926 wxSize const &arg5_defvalue = wxDefaultSize ;
3927 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3928 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3929 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3930 long arg7 = (long) 0 ;
3931 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3932 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3933 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3934 wxString *arg9 = (wxString *) &arg9_defvalue ;
3935 bool result;
3936 wxPoint temp4 ;
3937 wxSize temp5 ;
3938 bool temp6 = false ;
3939 bool temp9 = false ;
3940 PyObject * obj0 = 0 ;
3941 PyObject * obj1 = 0 ;
3942 PyObject * obj2 = 0 ;
3943 PyObject * obj3 = 0 ;
3944 PyObject * obj4 = 0 ;
3945 PyObject * obj5 = 0 ;
3946 PyObject * obj6 = 0 ;
3947 PyObject * obj7 = 0 ;
3948 PyObject * obj8 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3955 if (SWIG_arg_fail(1)) SWIG_fail;
3956 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3957 if (SWIG_arg_fail(2)) SWIG_fail;
3958 if (obj2) {
3959 {
3960 arg3 = (int)(SWIG_As_int(obj2));
3961 if (SWIG_arg_fail(3)) SWIG_fail;
3962 }
3963 }
3964 if (obj3) {
3965 {
3966 arg4 = &temp4;
3967 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3968 }
3969 }
3970 if (obj4) {
3971 {
3972 arg5 = &temp5;
3973 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3974 }
3975 }
3976 if (obj5) {
3977 {
3978 if (! PySequence_Check(obj5)) {
3979 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3980 SWIG_fail;
3981 }
3982 arg6 = new wxArrayString;
3983 temp6 = true;
3984 int i, len=PySequence_Length(obj5);
3985 for (i=0; i<len; i++) {
3986 PyObject* item = PySequence_GetItem(obj5, i);
3987 wxString* s = wxString_in_helper(item);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 arg6->Add(*s);
3990 delete s;
3991 Py_DECREF(item);
3992 }
3993 }
3994 }
3995 if (obj6) {
3996 {
3997 arg7 = (long)(SWIG_As_long(obj6));
3998 if (SWIG_arg_fail(7)) SWIG_fail;
3999 }
4000 }
4001 if (obj7) {
4002 {
4003 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4004 if (SWIG_arg_fail(8)) SWIG_fail;
4005 if (arg8 == NULL) {
4006 SWIG_null_ref("wxValidator");
4007 }
4008 if (SWIG_arg_fail(8)) SWIG_fail;
4009 }
4010 }
4011 if (obj8) {
4012 {
4013 arg9 = wxString_in_helper(obj8);
4014 if (arg9 == NULL) SWIG_fail;
4015 temp9 = true;
4016 }
4017 }
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4021
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 {
4026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4027 }
4028 {
4029 if (temp6) delete arg6;
4030 }
4031 {
4032 if (temp9)
4033 delete arg9;
4034 }
4035 return resultobj;
4036 fail:
4037 {
4038 if (temp6) delete arg6;
4039 }
4040 {
4041 if (temp9)
4042 delete arg9;
4043 }
4044 return NULL;
4045}
4046
4047
4048static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4049 PyObject *resultobj;
4050 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4051 wxVisualAttributes result;
4052 PyObject * obj0 = 0 ;
4053 char *kwnames[] = {
4054 (char *) "variant", NULL
4055 };
4056
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4058 if (obj0) {
4059 {
4060 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4061 if (SWIG_arg_fail(1)) SWIG_fail;
4062 }
4063 }
4064 {
4065 if (!wxPyCheckForApp()) SWIG_fail;
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 {
4073 wxVisualAttributes * resultptr;
4074 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4076 }
4077 return resultobj;
4078 fail:
4079 return NULL;
4080}
4081
4082
4083static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4084 PyObject *obj;
4085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4086 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4087 Py_INCREF(obj);
4088 return Py_BuildValue((char *)"");
4089}
4090static int _wrap_ComboBoxNameStr_set(PyObject *) {
4091 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4092 return 1;
4093}
4094
4095
4096static PyObject *_wrap_ComboBoxNameStr_get(void) {
4097 PyObject *pyobj;
4098
4099 {
4100#if wxUSE_UNICODE
4101 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4102#else
4103 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4104#endif
4105 }
4106 return pyobj;
4107}
4108
4109
4110static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4111 PyObject *resultobj;
4112 wxWindow *arg1 = (wxWindow *) 0 ;
4113 int arg2 = (int) -1 ;
4114 wxString const &arg3_defvalue = wxPyEmptyString ;
4115 wxString *arg3 = (wxString *) &arg3_defvalue ;
4116 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4117 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4118 wxSize const &arg5_defvalue = wxDefaultSize ;
4119 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4120 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4121 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4122 long arg7 = (long) 0 ;
4123 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4124 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4125 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4126 wxString *arg9 = (wxString *) &arg9_defvalue ;
4127 wxComboBox *result;
4128 bool temp3 = false ;
4129 wxPoint temp4 ;
4130 wxSize temp5 ;
4131 bool temp6 = false ;
4132 bool temp9 = false ;
4133 PyObject * obj0 = 0 ;
4134 PyObject * obj1 = 0 ;
4135 PyObject * obj2 = 0 ;
4136 PyObject * obj3 = 0 ;
4137 PyObject * obj4 = 0 ;
4138 PyObject * obj5 = 0 ;
4139 PyObject * obj6 = 0 ;
4140 PyObject * obj7 = 0 ;
4141 PyObject * obj8 = 0 ;
4142 char *kwnames[] = {
4143 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4144 };
4145
4146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4148 if (SWIG_arg_fail(1)) SWIG_fail;
4149 if (obj1) {
4150 {
4151 arg2 = (int)(SWIG_As_int(obj1));
4152 if (SWIG_arg_fail(2)) SWIG_fail;
4153 }
4154 }
4155 if (obj2) {
4156 {
4157 arg3 = wxString_in_helper(obj2);
4158 if (arg3 == NULL) SWIG_fail;
4159 temp3 = true;
4160 }
4161 }
4162 if (obj3) {
4163 {
4164 arg4 = &temp4;
4165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4166 }
4167 }
4168 if (obj4) {
4169 {
4170 arg5 = &temp5;
4171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4172 }
4173 }
4174 if (obj5) {
4175 {
4176 if (! PySequence_Check(obj5)) {
4177 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4178 SWIG_fail;
4179 }
4180 arg6 = new wxArrayString;
4181 temp6 = true;
4182 int i, len=PySequence_Length(obj5);
4183 for (i=0; i<len; i++) {
4184 PyObject* item = PySequence_GetItem(obj5, i);
4185 wxString* s = wxString_in_helper(item);
4186 if (PyErr_Occurred()) SWIG_fail;
4187 arg6->Add(*s);
4188 delete s;
4189 Py_DECREF(item);
4190 }
4191 }
4192 }
4193 if (obj6) {
4194 {
4195 arg7 = (long)(SWIG_As_long(obj6));
4196 if (SWIG_arg_fail(7)) SWIG_fail;
4197 }
4198 }
4199 if (obj7) {
4200 {
4201 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4202 if (SWIG_arg_fail(8)) SWIG_fail;
4203 if (arg8 == NULL) {
4204 SWIG_null_ref("wxValidator");
4205 }
4206 if (SWIG_arg_fail(8)) SWIG_fail;
4207 }
4208 }
4209 if (obj8) {
4210 {
4211 arg9 = wxString_in_helper(obj8);
4212 if (arg9 == NULL) SWIG_fail;
4213 temp9 = true;
4214 }
4215 }
4216 {
4217 if (!wxPyCheckForApp()) SWIG_fail;
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 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);
4220
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4225 {
4226 if (temp3)
4227 delete arg3;
4228 }
4229 {
4230 if (temp6) delete arg6;
4231 }
4232 {
4233 if (temp9)
4234 delete arg9;
4235 }
4236 return resultobj;
4237 fail:
4238 {
4239 if (temp3)
4240 delete arg3;
4241 }
4242 {
4243 if (temp6) delete arg6;
4244 }
4245 {
4246 if (temp9)
4247 delete arg9;
4248 }
4249 return NULL;
4250}
4251
4252
4253static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4254 PyObject *resultobj;
4255 wxComboBox *result;
4256 char *kwnames[] = {
4257 NULL
4258 };
4259
4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4261 {
4262 if (!wxPyCheckForApp()) SWIG_fail;
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 result = (wxComboBox *)new wxComboBox();
4265
4266 wxPyEndAllowThreads(__tstate);
4267 if (PyErr_Occurred()) SWIG_fail;
4268 }
4269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4270 return resultobj;
4271 fail:
4272 return NULL;
4273}
4274
4275
4276static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4277 PyObject *resultobj;
4278 wxComboBox *arg1 = (wxComboBox *) 0 ;
4279 wxWindow *arg2 = (wxWindow *) 0 ;
4280 int arg3 = (int) -1 ;
4281 wxString const &arg4_defvalue = wxPyEmptyString ;
4282 wxString *arg4 = (wxString *) &arg4_defvalue ;
4283 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4284 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4285 wxSize const &arg6_defvalue = wxDefaultSize ;
4286 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4287 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4288 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4289 long arg8 = (long) 0 ;
4290 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4291 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4292 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4293 wxString *arg10 = (wxString *) &arg10_defvalue ;
4294 bool result;
4295 bool temp4 = false ;
4296 wxPoint temp5 ;
4297 wxSize temp6 ;
4298 bool temp7 = false ;
4299 bool temp10 = false ;
4300 PyObject * obj0 = 0 ;
4301 PyObject * obj1 = 0 ;
4302 PyObject * obj2 = 0 ;
4303 PyObject * obj3 = 0 ;
4304 PyObject * obj4 = 0 ;
4305 PyObject * obj5 = 0 ;
4306 PyObject * obj6 = 0 ;
4307 PyObject * obj7 = 0 ;
4308 PyObject * obj8 = 0 ;
4309 PyObject * obj9 = 0 ;
4310 char *kwnames[] = {
4311 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4312 };
4313
4314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4316 if (SWIG_arg_fail(1)) SWIG_fail;
4317 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4318 if (SWIG_arg_fail(2)) SWIG_fail;
4319 if (obj2) {
4320 {
4321 arg3 = (int)(SWIG_As_int(obj2));
4322 if (SWIG_arg_fail(3)) SWIG_fail;
4323 }
4324 }
4325 if (obj3) {
4326 {
4327 arg4 = wxString_in_helper(obj3);
4328 if (arg4 == NULL) SWIG_fail;
4329 temp4 = true;
4330 }
4331 }
4332 if (obj4) {
4333 {
4334 arg5 = &temp5;
4335 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4336 }
4337 }
4338 if (obj5) {
4339 {
4340 arg6 = &temp6;
4341 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4342 }
4343 }
4344 if (obj6) {
4345 {
4346 if (! PySequence_Check(obj6)) {
4347 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4348 SWIG_fail;
4349 }
4350 arg7 = new wxArrayString;
4351 temp7 = true;
4352 int i, len=PySequence_Length(obj6);
4353 for (i=0; i<len; i++) {
4354 PyObject* item = PySequence_GetItem(obj6, i);
4355 wxString* s = wxString_in_helper(item);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 arg7->Add(*s);
4358 delete s;
4359 Py_DECREF(item);
4360 }
4361 }
4362 }
4363 if (obj7) {
4364 {
4365 arg8 = (long)(SWIG_As_long(obj7));
4366 if (SWIG_arg_fail(8)) SWIG_fail;
4367 }
4368 }
4369 if (obj8) {
4370 {
4371 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4372 if (SWIG_arg_fail(9)) SWIG_fail;
4373 if (arg9 == NULL) {
4374 SWIG_null_ref("wxValidator");
4375 }
4376 if (SWIG_arg_fail(9)) SWIG_fail;
4377 }
4378 }
4379 if (obj9) {
4380 {
4381 arg10 = wxString_in_helper(obj9);
4382 if (arg10 == NULL) SWIG_fail;
4383 temp10 = true;
4384 }
4385 }
4386 {
4387 PyThreadState* __tstate = wxPyBeginAllowThreads();
4388 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);
4389
4390 wxPyEndAllowThreads(__tstate);
4391 if (PyErr_Occurred()) SWIG_fail;
4392 }
4393 {
4394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4395 }
4396 {
4397 if (temp4)
4398 delete arg4;
4399 }
4400 {
4401 if (temp7) delete arg7;
4402 }
4403 {
4404 if (temp10)
4405 delete arg10;
4406 }
4407 return resultobj;
4408 fail:
4409 {
4410 if (temp4)
4411 delete arg4;
4412 }
4413 {
4414 if (temp7) delete arg7;
4415 }
4416 {
4417 if (temp10)
4418 delete arg10;
4419 }
4420 return NULL;
4421}
4422
4423
4424static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4425 PyObject *resultobj;
4426 wxComboBox *arg1 = (wxComboBox *) 0 ;
4427 wxString result;
4428 PyObject * obj0 = 0 ;
4429 char *kwnames[] = {
4430 (char *) "self", NULL
4431 };
4432
4433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4435 if (SWIG_arg_fail(1)) SWIG_fail;
4436 {
4437 PyThreadState* __tstate = wxPyBeginAllowThreads();
4438 result = ((wxComboBox const *)arg1)->GetValue();
4439
4440 wxPyEndAllowThreads(__tstate);
4441 if (PyErr_Occurred()) SWIG_fail;
4442 }
4443 {
4444#if wxUSE_UNICODE
4445 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4446#else
4447 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4448#endif
4449 }
4450 return resultobj;
4451 fail:
4452 return NULL;
4453}
4454
4455
4456static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4457 PyObject *resultobj;
4458 wxComboBox *arg1 = (wxComboBox *) 0 ;
4459 wxString *arg2 = 0 ;
4460 bool temp2 = false ;
4461 PyObject * obj0 = 0 ;
4462 PyObject * obj1 = 0 ;
4463 char *kwnames[] = {
4464 (char *) "self",(char *) "value", NULL
4465 };
4466
4467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4469 if (SWIG_arg_fail(1)) SWIG_fail;
4470 {
4471 arg2 = wxString_in_helper(obj1);
4472 if (arg2 == NULL) SWIG_fail;
4473 temp2 = true;
4474 }
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 (arg1)->SetValue((wxString const &)*arg2);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 Py_INCREF(Py_None); resultobj = Py_None;
4483 {
4484 if (temp2)
4485 delete arg2;
4486 }
4487 return resultobj;
4488 fail:
4489 {
4490 if (temp2)
4491 delete arg2;
4492 }
4493 return NULL;
4494}
4495
4496
4497static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4498 PyObject *resultobj;
4499 wxComboBox *arg1 = (wxComboBox *) 0 ;
4500 PyObject * obj0 = 0 ;
4501 char *kwnames[] = {
4502 (char *) "self", NULL
4503 };
4504
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail;
4508 {
4509 PyThreadState* __tstate = wxPyBeginAllowThreads();
4510 (arg1)->Copy();
4511
4512 wxPyEndAllowThreads(__tstate);
4513 if (PyErr_Occurred()) SWIG_fail;
4514 }
4515 Py_INCREF(Py_None); resultobj = Py_None;
4516 return resultobj;
4517 fail:
4518 return NULL;
4519}
4520
4521
4522static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4523 PyObject *resultobj;
4524 wxComboBox *arg1 = (wxComboBox *) 0 ;
4525 PyObject * obj0 = 0 ;
4526 char *kwnames[] = {
4527 (char *) "self", NULL
4528 };
4529
4530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4532 if (SWIG_arg_fail(1)) SWIG_fail;
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 (arg1)->Cut();
4536
4537 wxPyEndAllowThreads(__tstate);
4538 if (PyErr_Occurred()) SWIG_fail;
4539 }
4540 Py_INCREF(Py_None); resultobj = Py_None;
4541 return resultobj;
4542 fail:
4543 return NULL;
4544}
4545
4546
4547static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4548 PyObject *resultobj;
4549 wxComboBox *arg1 = (wxComboBox *) 0 ;
4550 PyObject * obj0 = 0 ;
4551 char *kwnames[] = {
4552 (char *) "self", NULL
4553 };
4554
4555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4557 if (SWIG_arg_fail(1)) SWIG_fail;
4558 {
4559 PyThreadState* __tstate = wxPyBeginAllowThreads();
4560 (arg1)->Paste();
4561
4562 wxPyEndAllowThreads(__tstate);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 }
4565 Py_INCREF(Py_None); resultobj = Py_None;
4566 return resultobj;
4567 fail:
4568 return NULL;
4569}
4570
4571
4572static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxComboBox *arg1 = (wxComboBox *) 0 ;
4575 long arg2 ;
4576 PyObject * obj0 = 0 ;
4577 PyObject * obj1 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "self",(char *) "pos", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail;
4585 {
4586 arg2 = (long)(SWIG_As_long(obj1));
4587 if (SWIG_arg_fail(2)) SWIG_fail;
4588 }
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 (arg1)->SetInsertionPoint(arg2);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 Py_INCREF(Py_None); resultobj = Py_None;
4597 return resultobj;
4598 fail:
4599 return NULL;
4600}
4601
4602
4603static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4604 PyObject *resultobj;
4605 wxComboBox *arg1 = (wxComboBox *) 0 ;
4606 long result;
4607 PyObject * obj0 = 0 ;
4608 char *kwnames[] = {
4609 (char *) "self", NULL
4610 };
4611
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail;
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4618
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 {
4623 resultobj = SWIG_From_long((long)(result));
4624 }
4625 return resultobj;
4626 fail:
4627 return NULL;
4628}
4629
4630
4631static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxComboBox *arg1 = (wxComboBox *) 0 ;
4634 long result;
4635 PyObject * obj0 = 0 ;
4636 char *kwnames[] = {
4637 (char *) "self", NULL
4638 };
4639
4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4642 if (SWIG_arg_fail(1)) SWIG_fail;
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4646
4647 wxPyEndAllowThreads(__tstate);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 {
4651 resultobj = SWIG_From_long((long)(result));
4652 }
4653 return resultobj;
4654 fail:
4655 return NULL;
4656}
4657
4658
4659static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4660 PyObject *resultobj;
4661 wxComboBox *arg1 = (wxComboBox *) 0 ;
4662 long arg2 ;
4663 long arg3 ;
4664 wxString *arg4 = 0 ;
4665 bool temp4 = false ;
4666 PyObject * obj0 = 0 ;
4667 PyObject * obj1 = 0 ;
4668 PyObject * obj2 = 0 ;
4669 PyObject * obj3 = 0 ;
4670 char *kwnames[] = {
4671 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4672 };
4673
4674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4676 if (SWIG_arg_fail(1)) SWIG_fail;
4677 {
4678 arg2 = (long)(SWIG_As_long(obj1));
4679 if (SWIG_arg_fail(2)) SWIG_fail;
4680 }
4681 {
4682 arg3 = (long)(SWIG_As_long(obj2));
4683 if (SWIG_arg_fail(3)) SWIG_fail;
4684 }
4685 {
4686 arg4 = wxString_in_helper(obj3);
4687 if (arg4 == NULL) SWIG_fail;
4688 temp4 = true;
4689 }
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 Py_INCREF(Py_None); resultobj = Py_None;
4698 {
4699 if (temp4)
4700 delete arg4;
4701 }
4702 return resultobj;
4703 fail:
4704 {
4705 if (temp4)
4706 delete arg4;
4707 }
4708 return NULL;
4709}
4710
4711
4712static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4713 PyObject *resultobj;
4714 wxComboBox *arg1 = (wxComboBox *) 0 ;
4715 int arg2 ;
4716 PyObject * obj0 = 0 ;
4717 PyObject * obj1 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "n", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail;
4725 {
4726 arg2 = (int)(SWIG_As_int(obj1));
4727 if (SWIG_arg_fail(2)) SWIG_fail;
4728 }
4729 {
4730 PyThreadState* __tstate = wxPyBeginAllowThreads();
4731 (arg1)->SetSelection(arg2);
4732
4733 wxPyEndAllowThreads(__tstate);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 }
4736 Py_INCREF(Py_None); resultobj = Py_None;
4737 return resultobj;
4738 fail:
4739 return NULL;
4740}
4741
4742
4743static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4744 PyObject *resultobj;
4745 wxComboBox *arg1 = (wxComboBox *) 0 ;
4746 long arg2 ;
4747 long arg3 ;
4748 PyObject * obj0 = 0 ;
4749 PyObject * obj1 = 0 ;
4750 PyObject * obj2 = 0 ;
4751 char *kwnames[] = {
4752 (char *) "self",(char *) "from",(char *) "to", NULL
4753 };
4754
4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4757 if (SWIG_arg_fail(1)) SWIG_fail;
4758 {
4759 arg2 = (long)(SWIG_As_long(obj1));
4760 if (SWIG_arg_fail(2)) SWIG_fail;
4761 }
4762 {
4763 arg3 = (long)(SWIG_As_long(obj2));
4764 if (SWIG_arg_fail(3)) SWIG_fail;
4765 }
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 (arg1)->SetSelection(arg2,arg3);
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 Py_INCREF(Py_None); resultobj = Py_None;
4774 return resultobj;
4775 fail:
4776 return NULL;
4777}
4778
4779
4780static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4781 PyObject *resultobj;
4782 wxComboBox *arg1 = (wxComboBox *) 0 ;
4783 long *arg2 = (long *) 0 ;
4784 long *arg3 = (long *) 0 ;
4785 long temp2 ;
4786 int res2 = 0 ;
4787 long temp3 ;
4788 int res3 = 0 ;
4789 PyObject * obj0 = 0 ;
4790 char *kwnames[] = {
4791 (char *) "self", NULL
4792 };
4793
4794 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4795 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
4797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4798 if (SWIG_arg_fail(1)) SWIG_fail;
4799 {
4800 PyThreadState* __tstate = wxPyBeginAllowThreads();
4801 (arg1)->GetSelection(arg2,arg3);
4802
4803 wxPyEndAllowThreads(__tstate);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 }
4806 Py_INCREF(Py_None); resultobj = Py_None;
4807 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4808 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4809 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4810 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4811 return resultobj;
4812 fail:
4813 return NULL;
4814}
4815
4816
4817static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4818 PyObject *resultobj;
4819 wxComboBox *arg1 = (wxComboBox *) 0 ;
4820 wxString *arg2 = 0 ;
4821 bool result;
4822 bool temp2 = false ;
4823 PyObject * obj0 = 0 ;
4824 PyObject * obj1 = 0 ;
4825 char *kwnames[] = {
4826 (char *) "self",(char *) "string", NULL
4827 };
4828
4829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4831 if (SWIG_arg_fail(1)) SWIG_fail;
4832 {
4833 arg2 = wxString_in_helper(obj1);
4834 if (arg2 == NULL) SWIG_fail;
4835 temp2 = true;
4836 }
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4840
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 {
4845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4846 }
4847 {
4848 if (temp2)
4849 delete arg2;
4850 }
4851 return resultobj;
4852 fail:
4853 {
4854 if (temp2)
4855 delete arg2;
4856 }
4857 return NULL;
4858}
4859
4860
4861static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj;
4863 wxComboBox *arg1 = (wxComboBox *) 0 ;
4864 int arg2 ;
4865 wxString *arg3 = 0 ;
4866 bool temp3 = false ;
4867 PyObject * obj0 = 0 ;
4868 PyObject * obj1 = 0 ;
4869 PyObject * obj2 = 0 ;
4870 char *kwnames[] = {
4871 (char *) "self",(char *) "n",(char *) "string", NULL
4872 };
4873
4874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4876 if (SWIG_arg_fail(1)) SWIG_fail;
4877 {
4878 arg2 = (int)(SWIG_As_int(obj1));
4879 if (SWIG_arg_fail(2)) SWIG_fail;
4880 }
4881 {
4882 arg3 = wxString_in_helper(obj2);
4883 if (arg3 == NULL) SWIG_fail;
4884 temp3 = true;
4885 }
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 (arg1)->SetString(arg2,(wxString const &)*arg3);
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 Py_INCREF(Py_None); resultobj = Py_None;
4894 {
4895 if (temp3)
4896 delete arg3;
4897 }
4898 return resultobj;
4899 fail:
4900 {
4901 if (temp3)
4902 delete arg3;
4903 }
4904 return NULL;
4905}
4906
4907
4908static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4909 PyObject *resultobj;
4910 wxComboBox *arg1 = (wxComboBox *) 0 ;
4911 bool arg2 ;
4912 PyObject * obj0 = 0 ;
4913 PyObject * obj1 = 0 ;
4914 char *kwnames[] = {
4915 (char *) "self",(char *) "editable", NULL
4916 };
4917
4918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
4919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4920 if (SWIG_arg_fail(1)) SWIG_fail;
4921 {
4922 arg2 = (bool)(SWIG_As_bool(obj1));
4923 if (SWIG_arg_fail(2)) SWIG_fail;
4924 }
4925 {
4926 PyThreadState* __tstate = wxPyBeginAllowThreads();
4927 (arg1)->SetEditable(arg2);
4928
4929 wxPyEndAllowThreads(__tstate);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 }
4932 Py_INCREF(Py_None); resultobj = Py_None;
4933 return resultobj;
4934 fail:
4935 return NULL;
4936}
4937
4938
4939static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
4940 PyObject *resultobj;
4941 wxComboBox *arg1 = (wxComboBox *) 0 ;
4942 PyObject * obj0 = 0 ;
4943 char *kwnames[] = {
4944 (char *) "self", NULL
4945 };
4946
4947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
4948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4949 if (SWIG_arg_fail(1)) SWIG_fail;
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 (arg1)->SetInsertionPointEnd();
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 Py_INCREF(Py_None); resultobj = Py_None;
4958 return resultobj;
4959 fail:
4960 return NULL;
4961}
4962
4963
4964static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
4965 PyObject *resultobj;
4966 wxComboBox *arg1 = (wxComboBox *) 0 ;
4967 long arg2 ;
4968 long arg3 ;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971 PyObject * obj2 = 0 ;
4972 char *kwnames[] = {
4973 (char *) "self",(char *) "from",(char *) "to", NULL
4974 };
4975
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
4977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4978 if (SWIG_arg_fail(1)) SWIG_fail;
4979 {
4980 arg2 = (long)(SWIG_As_long(obj1));
4981 if (SWIG_arg_fail(2)) SWIG_fail;
4982 }
4983 {
4984 arg3 = (long)(SWIG_As_long(obj2));
4985 if (SWIG_arg_fail(3)) SWIG_fail;
4986 }
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 (arg1)->Remove(arg2,arg3);
4990
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 Py_INCREF(Py_None); resultobj = Py_None;
4995 return resultobj;
4996 fail:
4997 return NULL;
4998}
4999
5000
5001static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5002 PyObject *resultobj;
5003 wxComboBox *arg1 = (wxComboBox *) 0 ;
5004 bool result;
5005 PyObject * obj0 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5012 if (SWIG_arg_fail(1)) SWIG_fail;
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5016
5017 wxPyEndAllowThreads(__tstate);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 }
5020 {
5021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5022 }
5023 return resultobj;
5024 fail:
5025 return NULL;
5026}
5027
5028
5029static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj;
5031 wxComboBox *arg1 = (wxComboBox *) 0 ;
5032 PyObject * obj0 = 0 ;
5033 char *kwnames[] = {
5034 (char *) "self", NULL
5035 };
5036
5037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5039 if (SWIG_arg_fail(1)) SWIG_fail;
5040 {
5041 PyThreadState* __tstate = wxPyBeginAllowThreads();
5042 (arg1)->Undo();
5043
5044 wxPyEndAllowThreads(__tstate);
5045 if (PyErr_Occurred()) SWIG_fail;
5046 }
5047 Py_INCREF(Py_None); resultobj = Py_None;
5048 return resultobj;
5049 fail:
5050 return NULL;
5051}
5052
5053
5054static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5055 PyObject *resultobj;
5056 wxComboBox *arg1 = (wxComboBox *) 0 ;
5057 PyObject * obj0 = 0 ;
5058 char *kwnames[] = {
5059 (char *) "self", NULL
5060 };
5061
5062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5064 if (SWIG_arg_fail(1)) SWIG_fail;
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 (arg1)->Redo();
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 Py_INCREF(Py_None); resultobj = Py_None;
5073 return resultobj;
5074 fail:
5075 return NULL;
5076}
5077
5078
5079static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj;
5081 wxComboBox *arg1 = (wxComboBox *) 0 ;
5082 PyObject * obj0 = 0 ;
5083 char *kwnames[] = {
5084 (char *) "self", NULL
5085 };
5086
5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5089 if (SWIG_arg_fail(1)) SWIG_fail;
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 (arg1)->SelectAll();
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 Py_INCREF(Py_None); resultobj = Py_None;
5098 return resultobj;
5099 fail:
5100 return NULL;
5101}
5102
5103
5104static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5105 PyObject *resultobj;
5106 wxComboBox *arg1 = (wxComboBox *) 0 ;
5107 bool result;
5108 PyObject * obj0 = 0 ;
5109 char *kwnames[] = {
5110 (char *) "self", NULL
5111 };
5112
5113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5115 if (SWIG_arg_fail(1)) SWIG_fail;
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5119
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 {
5124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5125 }
5126 return resultobj;
5127 fail:
5128 return NULL;
5129}
5130
5131
5132static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxComboBox *arg1 = (wxComboBox *) 0 ;
5135 bool result;
5136 PyObject * obj0 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail;
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 result = (bool)((wxComboBox const *)arg1)->CanCut();
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 {
5152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5153 }
5154 return resultobj;
5155 fail:
5156 return NULL;
5157}
5158
5159
5160static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxComboBox *arg1 = (wxComboBox *) 0 ;
5163 bool result;
5164 PyObject * obj0 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "self", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5171 if (SWIG_arg_fail(1)) SWIG_fail;
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5175
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 {
5180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5181 }
5182 return resultobj;
5183 fail:
5184 return NULL;
5185}
5186
5187
5188static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5189 PyObject *resultobj;
5190 wxComboBox *arg1 = (wxComboBox *) 0 ;
5191 bool result;
5192 PyObject * obj0 = 0 ;
5193 char *kwnames[] = {
5194 (char *) "self", NULL
5195 };
5196
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5199 if (SWIG_arg_fail(1)) SWIG_fail;
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5203
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 {
5208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5209 }
5210 return resultobj;
5211 fail:
5212 return NULL;
5213}
5214
5215
5216static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5217 PyObject *resultobj;
5218 wxComboBox *arg1 = (wxComboBox *) 0 ;
5219 bool result;
5220 PyObject * obj0 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "self", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5227 if (SWIG_arg_fail(1)) SWIG_fail;
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 {
5236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5237 }
5238 return resultobj;
5239 fail:
5240 return NULL;
5241}
5242
5243
5244static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj;
5246 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5247 wxVisualAttributes result;
5248 PyObject * obj0 = 0 ;
5249 char *kwnames[] = {
5250 (char *) "variant", NULL
5251 };
5252
5253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5254 if (obj0) {
5255 {
5256 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5257 if (SWIG_arg_fail(1)) SWIG_fail;
5258 }
5259 }
5260 {
5261 if (!wxPyCheckForApp()) SWIG_fail;
5262 PyThreadState* __tstate = wxPyBeginAllowThreads();
5263 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5264
5265 wxPyEndAllowThreads(__tstate);
5266 if (PyErr_Occurred()) SWIG_fail;
5267 }
5268 {
5269 wxVisualAttributes * resultptr;
5270 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5271 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5272 }
5273 return resultobj;
5274 fail:
5275 return NULL;
5276}
5277
5278
5279static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5280 PyObject *obj;
5281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5282 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5283 Py_INCREF(obj);
5284 return Py_BuildValue((char *)"");
5285}
5286static int _wrap_GaugeNameStr_set(PyObject *) {
5287 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5288 return 1;
5289}
5290
5291
5292static PyObject *_wrap_GaugeNameStr_get(void) {
5293 PyObject *pyobj;
5294
5295 {
5296#if wxUSE_UNICODE
5297 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5298#else
5299 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5300#endif
5301 }
5302 return pyobj;
5303}
5304
5305
5306static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5307 PyObject *resultobj;
5308 wxWindow *arg1 = (wxWindow *) 0 ;
5309 int arg2 = (int) -1 ;
5310 int arg3 = (int) 100 ;
5311 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5312 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5313 wxSize const &arg5_defvalue = wxDefaultSize ;
5314 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5315 long arg6 = (long) wxGA_HORIZONTAL ;
5316 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5317 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5318 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5319 wxString *arg8 = (wxString *) &arg8_defvalue ;
5320 wxGauge *result;
5321 wxPoint temp4 ;
5322 wxSize temp5 ;
5323 bool temp8 = false ;
5324 PyObject * obj0 = 0 ;
5325 PyObject * obj1 = 0 ;
5326 PyObject * obj2 = 0 ;
5327 PyObject * obj3 = 0 ;
5328 PyObject * obj4 = 0 ;
5329 PyObject * obj5 = 0 ;
5330 PyObject * obj6 = 0 ;
5331 PyObject * obj7 = 0 ;
5332 char *kwnames[] = {
5333 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5334 };
5335
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5338 if (SWIG_arg_fail(1)) SWIG_fail;
5339 if (obj1) {
5340 {
5341 arg2 = (int)(SWIG_As_int(obj1));
5342 if (SWIG_arg_fail(2)) SWIG_fail;
5343 }
5344 }
5345 if (obj2) {
5346 {
5347 arg3 = (int)(SWIG_As_int(obj2));
5348 if (SWIG_arg_fail(3)) SWIG_fail;
5349 }
5350 }
5351 if (obj3) {
5352 {
5353 arg4 = &temp4;
5354 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5355 }
5356 }
5357 if (obj4) {
5358 {
5359 arg5 = &temp5;
5360 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5361 }
5362 }
5363 if (obj5) {
5364 {
5365 arg6 = (long)(SWIG_As_long(obj5));
5366 if (SWIG_arg_fail(6)) SWIG_fail;
5367 }
5368 }
5369 if (obj6) {
5370 {
5371 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5372 if (SWIG_arg_fail(7)) SWIG_fail;
5373 if (arg7 == NULL) {
5374 SWIG_null_ref("wxValidator");
5375 }
5376 if (SWIG_arg_fail(7)) SWIG_fail;
5377 }
5378 }
5379 if (obj7) {
5380 {
5381 arg8 = wxString_in_helper(obj7);
5382 if (arg8 == NULL) SWIG_fail;
5383 temp8 = true;
5384 }
5385 }
5386 {
5387 if (!wxPyCheckForApp()) SWIG_fail;
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5395 {
5396 if (temp8)
5397 delete arg8;
5398 }
5399 return resultobj;
5400 fail:
5401 {
5402 if (temp8)
5403 delete arg8;
5404 }
5405 return NULL;
5406}
5407
5408
5409static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5410 PyObject *resultobj;
5411 wxGauge *result;
5412 char *kwnames[] = {
5413 NULL
5414 };
5415
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5417 {
5418 if (!wxPyCheckForApp()) SWIG_fail;
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (wxGauge *)new wxGauge();
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5426 return resultobj;
5427 fail:
5428 return NULL;
5429}
5430
5431
5432static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj;
5434 wxGauge *arg1 = (wxGauge *) 0 ;
5435 wxWindow *arg2 = (wxWindow *) 0 ;
5436 int arg3 = (int) -1 ;
5437 int arg4 = (int) 100 ;
5438 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5439 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5440 wxSize const &arg6_defvalue = wxDefaultSize ;
5441 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5442 long arg7 = (long) wxGA_HORIZONTAL ;
5443 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5444 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5445 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5446 wxString *arg9 = (wxString *) &arg9_defvalue ;
5447 bool result;
5448 wxPoint temp5 ;
5449 wxSize temp6 ;
5450 bool temp9 = false ;
5451 PyObject * obj0 = 0 ;
5452 PyObject * obj1 = 0 ;
5453 PyObject * obj2 = 0 ;
5454 PyObject * obj3 = 0 ;
5455 PyObject * obj4 = 0 ;
5456 PyObject * obj5 = 0 ;
5457 PyObject * obj6 = 0 ;
5458 PyObject * obj7 = 0 ;
5459 PyObject * obj8 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5466 if (SWIG_arg_fail(1)) SWIG_fail;
5467 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5468 if (SWIG_arg_fail(2)) SWIG_fail;
5469 if (obj2) {
5470 {
5471 arg3 = (int)(SWIG_As_int(obj2));
5472 if (SWIG_arg_fail(3)) SWIG_fail;
5473 }
5474 }
5475 if (obj3) {
5476 {
5477 arg4 = (int)(SWIG_As_int(obj3));
5478 if (SWIG_arg_fail(4)) SWIG_fail;
5479 }
5480 }
5481 if (obj4) {
5482 {
5483 arg5 = &temp5;
5484 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5485 }
5486 }
5487 if (obj5) {
5488 {
5489 arg6 = &temp6;
5490 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5491 }
5492 }
5493 if (obj6) {
5494 {
5495 arg7 = (long)(SWIG_As_long(obj6));
5496 if (SWIG_arg_fail(7)) SWIG_fail;
5497 }
5498 }
5499 if (obj7) {
5500 {
5501 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5502 if (SWIG_arg_fail(8)) SWIG_fail;
5503 if (arg8 == NULL) {
5504 SWIG_null_ref("wxValidator");
5505 }
5506 if (SWIG_arg_fail(8)) SWIG_fail;
5507 }
5508 }
5509 if (obj8) {
5510 {
5511 arg9 = wxString_in_helper(obj8);
5512 if (arg9 == NULL) SWIG_fail;
5513 temp9 = true;
5514 }
5515 }
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5519
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 {
5524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5525 }
5526 {
5527 if (temp9)
5528 delete arg9;
5529 }
5530 return resultobj;
5531 fail:
5532 {
5533 if (temp9)
5534 delete arg9;
5535 }
5536 return NULL;
5537}
5538
5539
5540static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5541 PyObject *resultobj;
5542 wxGauge *arg1 = (wxGauge *) 0 ;
5543 int arg2 ;
5544 PyObject * obj0 = 0 ;
5545 PyObject * obj1 = 0 ;
5546 char *kwnames[] = {
5547 (char *) "self",(char *) "range", NULL
5548 };
5549
5550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5552 if (SWIG_arg_fail(1)) SWIG_fail;
5553 {
5554 arg2 = (int)(SWIG_As_int(obj1));
5555 if (SWIG_arg_fail(2)) SWIG_fail;
5556 }
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 (arg1)->SetRange(arg2);
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 Py_INCREF(Py_None); resultobj = Py_None;
5565 return resultobj;
5566 fail:
5567 return NULL;
5568}
5569
5570
5571static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5572 PyObject *resultobj;
5573 wxGauge *arg1 = (wxGauge *) 0 ;
5574 int result;
5575 PyObject * obj0 = 0 ;
5576 char *kwnames[] = {
5577 (char *) "self", NULL
5578 };
5579
5580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5582 if (SWIG_arg_fail(1)) SWIG_fail;
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 result = (int)((wxGauge const *)arg1)->GetRange();
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
5590 {
5591 resultobj = SWIG_From_int((int)(result));
5592 }
5593 return resultobj;
5594 fail:
5595 return NULL;
5596}
5597
5598
5599static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5600 PyObject *resultobj;
5601 wxGauge *arg1 = (wxGauge *) 0 ;
5602 int arg2 ;
5603 PyObject * obj0 = 0 ;
5604 PyObject * obj1 = 0 ;
5605 char *kwnames[] = {
5606 (char *) "self",(char *) "pos", NULL
5607 };
5608
5609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail;
5612 {
5613 arg2 = (int)(SWIG_As_int(obj1));
5614 if (SWIG_arg_fail(2)) SWIG_fail;
5615 }
5616 {
5617 PyThreadState* __tstate = wxPyBeginAllowThreads();
5618 (arg1)->SetValue(arg2);
5619
5620 wxPyEndAllowThreads(__tstate);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 }
5623 Py_INCREF(Py_None); resultobj = Py_None;
5624 return resultobj;
5625 fail:
5626 return NULL;
5627}
5628
5629
5630static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5631 PyObject *resultobj;
5632 wxGauge *arg1 = (wxGauge *) 0 ;
5633 int result;
5634 PyObject * obj0 = 0 ;
5635 char *kwnames[] = {
5636 (char *) "self", NULL
5637 };
5638
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5641 if (SWIG_arg_fail(1)) SWIG_fail;
5642 {
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 result = (int)((wxGauge const *)arg1)->GetValue();
5645
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 {
5650 resultobj = SWIG_From_int((int)(result));
5651 }
5652 return resultobj;
5653 fail:
5654 return NULL;
5655}
5656
5657
5658static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5659 PyObject *resultobj;
5660 wxGauge *arg1 = (wxGauge *) 0 ;
5661 bool result;
5662 PyObject * obj0 = 0 ;
5663 char *kwnames[] = {
5664 (char *) "self", NULL
5665 };
5666
5667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5669 if (SWIG_arg_fail(1)) SWIG_fail;
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (bool)((wxGauge const *)arg1)->IsVertical();
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 {
5678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5679 }
5680 return resultobj;
5681 fail:
5682 return NULL;
5683}
5684
5685
5686static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5687 PyObject *resultobj;
5688 wxGauge *arg1 = (wxGauge *) 0 ;
5689 int arg2 ;
5690 PyObject * obj0 = 0 ;
5691 PyObject * obj1 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self",(char *) "w", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail;
5699 {
5700 arg2 = (int)(SWIG_As_int(obj1));
5701 if (SWIG_arg_fail(2)) SWIG_fail;
5702 }
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 (arg1)->SetShadowWidth(arg2);
5706
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
5710 Py_INCREF(Py_None); resultobj = Py_None;
5711 return resultobj;
5712 fail:
5713 return NULL;
5714}
5715
5716
5717static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5718 PyObject *resultobj;
5719 wxGauge *arg1 = (wxGauge *) 0 ;
5720 int result;
5721 PyObject * obj0 = 0 ;
5722 char *kwnames[] = {
5723 (char *) "self", NULL
5724 };
5725
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5728 if (SWIG_arg_fail(1)) SWIG_fail;
5729 {
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 {
5737 resultobj = SWIG_From_int((int)(result));
5738 }
5739 return resultobj;
5740 fail:
5741 return NULL;
5742}
5743
5744
5745static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxGauge *arg1 = (wxGauge *) 0 ;
5748 int arg2 ;
5749 PyObject * obj0 = 0 ;
5750 PyObject * obj1 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self",(char *) "w", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5757 if (SWIG_arg_fail(1)) SWIG_fail;
5758 {
5759 arg2 = (int)(SWIG_As_int(obj1));
5760 if (SWIG_arg_fail(2)) SWIG_fail;
5761 }
5762 {
5763 PyThreadState* __tstate = wxPyBeginAllowThreads();
5764 (arg1)->SetBezelFace(arg2);
5765
5766 wxPyEndAllowThreads(__tstate);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
5769 Py_INCREF(Py_None); resultobj = Py_None;
5770 return resultobj;
5771 fail:
5772 return NULL;
5773}
5774
5775
5776static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5777 PyObject *resultobj;
5778 wxGauge *arg1 = (wxGauge *) 0 ;
5779 int result;
5780 PyObject * obj0 = 0 ;
5781 char *kwnames[] = {
5782 (char *) "self", NULL
5783 };
5784
5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5787 if (SWIG_arg_fail(1)) SWIG_fail;
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 {
5796 resultobj = SWIG_From_int((int)(result));
5797 }
5798 return resultobj;
5799 fail:
5800 return NULL;
5801}
5802
5803
5804static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5805 PyObject *resultobj;
5806 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5807 wxVisualAttributes result;
5808 PyObject * obj0 = 0 ;
5809 char *kwnames[] = {
5810 (char *) "variant", NULL
5811 };
5812
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5814 if (obj0) {
5815 {
5816 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5817 if (SWIG_arg_fail(1)) SWIG_fail;
5818 }
5819 }
5820 {
5821 if (!wxPyCheckForApp()) SWIG_fail;
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 {
5829 wxVisualAttributes * resultptr;
5830 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5832 }
5833 return resultobj;
5834 fail:
5835 return NULL;
5836}
5837
5838
5839static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
5840 PyObject *obj;
5841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5842 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5843 Py_INCREF(obj);
5844 return Py_BuildValue((char *)"");
5845}
5846static int _wrap_StaticBitmapNameStr_set(PyObject *) {
5847 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5848 return 1;
5849}
5850
5851
5852static PyObject *_wrap_StaticBitmapNameStr_get(void) {
5853 PyObject *pyobj;
5854
5855 {
5856#if wxUSE_UNICODE
5857 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5858#else
5859 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5860#endif
5861 }
5862 return pyobj;
5863}
5864
5865
5866static int _wrap_StaticBoxNameStr_set(PyObject *) {
5867 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5868 return 1;
5869}
5870
5871
5872static PyObject *_wrap_StaticBoxNameStr_get(void) {
5873 PyObject *pyobj;
5874
5875 {
5876#if wxUSE_UNICODE
5877 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5878#else
5879 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5880#endif
5881 }
5882 return pyobj;
5883}
5884
5885
5886static int _wrap_StaticTextNameStr_set(PyObject *) {
5887 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5888 return 1;
5889}
5890
5891
5892static PyObject *_wrap_StaticTextNameStr_get(void) {
5893 PyObject *pyobj;
5894
5895 {
5896#if wxUSE_UNICODE
5897 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5898#else
5899 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5900#endif
5901 }
5902 return pyobj;
5903}
5904
5905
5906static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5907 PyObject *resultobj;
5908 wxWindow *arg1 = (wxWindow *) 0 ;
5909 int arg2 = (int) -1 ;
5910 wxString const &arg3_defvalue = wxPyEmptyString ;
5911 wxString *arg3 = (wxString *) &arg3_defvalue ;
5912 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5913 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5914 wxSize const &arg5_defvalue = wxDefaultSize ;
5915 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5916 long arg6 = (long) 0 ;
5917 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5918 wxString *arg7 = (wxString *) &arg7_defvalue ;
5919 wxStaticBox *result;
5920 bool temp3 = false ;
5921 wxPoint temp4 ;
5922 wxSize temp5 ;
5923 bool temp7 = false ;
5924 PyObject * obj0 = 0 ;
5925 PyObject * obj1 = 0 ;
5926 PyObject * obj2 = 0 ;
5927 PyObject * obj3 = 0 ;
5928 PyObject * obj4 = 0 ;
5929 PyObject * obj5 = 0 ;
5930 PyObject * obj6 = 0 ;
5931 char *kwnames[] = {
5932 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5933 };
5934
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5937 if (SWIG_arg_fail(1)) SWIG_fail;
5938 if (obj1) {
5939 {
5940 arg2 = (int)(SWIG_As_int(obj1));
5941 if (SWIG_arg_fail(2)) SWIG_fail;
5942 }
5943 }
5944 if (obj2) {
5945 {
5946 arg3 = wxString_in_helper(obj2);
5947 if (arg3 == NULL) SWIG_fail;
5948 temp3 = true;
5949 }
5950 }
5951 if (obj3) {
5952 {
5953 arg4 = &temp4;
5954 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5955 }
5956 }
5957 if (obj4) {
5958 {
5959 arg5 = &temp5;
5960 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5961 }
5962 }
5963 if (obj5) {
5964 {
5965 arg6 = (long)(SWIG_As_long(obj5));
5966 if (SWIG_arg_fail(6)) SWIG_fail;
5967 }
5968 }
5969 if (obj6) {
5970 {
5971 arg7 = wxString_in_helper(obj6);
5972 if (arg7 == NULL) SWIG_fail;
5973 temp7 = true;
5974 }
5975 }
5976 {
5977 if (!wxPyCheckForApp()) SWIG_fail;
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) SWIG_fail;
5983 }
5984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
5985 {
5986 if (temp3)
5987 delete arg3;
5988 }
5989 {
5990 if (temp7)
5991 delete arg7;
5992 }
5993 return resultobj;
5994 fail:
5995 {
5996 if (temp3)
5997 delete arg3;
5998 }
5999 {
6000 if (temp7)
6001 delete arg7;
6002 }
6003 return NULL;
6004}
6005
6006
6007static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6008 PyObject *resultobj;
6009 wxStaticBox *result;
6010 char *kwnames[] = {
6011 NULL
6012 };
6013
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6015 {
6016 if (!wxPyCheckForApp()) SWIG_fail;
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 result = (wxStaticBox *)new wxStaticBox();
6019
6020 wxPyEndAllowThreads(__tstate);
6021 if (PyErr_Occurred()) SWIG_fail;
6022 }
6023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6024 return resultobj;
6025 fail:
6026 return NULL;
6027}
6028
6029
6030static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6031 PyObject *resultobj;
6032 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6033 wxWindow *arg2 = (wxWindow *) 0 ;
6034 int arg3 = (int) -1 ;
6035 wxString const &arg4_defvalue = wxPyEmptyString ;
6036 wxString *arg4 = (wxString *) &arg4_defvalue ;
6037 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6038 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6039 wxSize const &arg6_defvalue = wxDefaultSize ;
6040 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6041 long arg7 = (long) 0 ;
6042 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6043 wxString *arg8 = (wxString *) &arg8_defvalue ;
6044 bool result;
6045 bool temp4 = false ;
6046 wxPoint temp5 ;
6047 wxSize temp6 ;
6048 bool temp8 = false ;
6049 PyObject * obj0 = 0 ;
6050 PyObject * obj1 = 0 ;
6051 PyObject * obj2 = 0 ;
6052 PyObject * obj3 = 0 ;
6053 PyObject * obj4 = 0 ;
6054 PyObject * obj5 = 0 ;
6055 PyObject * obj6 = 0 ;
6056 PyObject * obj7 = 0 ;
6057 char *kwnames[] = {
6058 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6059 };
6060
6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6063 if (SWIG_arg_fail(1)) SWIG_fail;
6064 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6065 if (SWIG_arg_fail(2)) SWIG_fail;
6066 if (obj2) {
6067 {
6068 arg3 = (int)(SWIG_As_int(obj2));
6069 if (SWIG_arg_fail(3)) SWIG_fail;
6070 }
6071 }
6072 if (obj3) {
6073 {
6074 arg4 = wxString_in_helper(obj3);
6075 if (arg4 == NULL) SWIG_fail;
6076 temp4 = true;
6077 }
6078 }
6079 if (obj4) {
6080 {
6081 arg5 = &temp5;
6082 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6083 }
6084 }
6085 if (obj5) {
6086 {
6087 arg6 = &temp6;
6088 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6089 }
6090 }
6091 if (obj6) {
6092 {
6093 arg7 = (long)(SWIG_As_long(obj6));
6094 if (SWIG_arg_fail(7)) SWIG_fail;
6095 }
6096 }
6097 if (obj7) {
6098 {
6099 arg8 = wxString_in_helper(obj7);
6100 if (arg8 == NULL) SWIG_fail;
6101 temp8 = true;
6102 }
6103 }
6104 {
6105 PyThreadState* __tstate = wxPyBeginAllowThreads();
6106 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6107
6108 wxPyEndAllowThreads(__tstate);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 }
6111 {
6112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6113 }
6114 {
6115 if (temp4)
6116 delete arg4;
6117 }
6118 {
6119 if (temp8)
6120 delete arg8;
6121 }
6122 return resultobj;
6123 fail:
6124 {
6125 if (temp4)
6126 delete arg4;
6127 }
6128 {
6129 if (temp8)
6130 delete arg8;
6131 }
6132 return NULL;
6133}
6134
6135
6136static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6137 PyObject *resultobj;
6138 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6139 wxVisualAttributes result;
6140 PyObject * obj0 = 0 ;
6141 char *kwnames[] = {
6142 (char *) "variant", NULL
6143 };
6144
6145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6146 if (obj0) {
6147 {
6148 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6149 if (SWIG_arg_fail(1)) SWIG_fail;
6150 }
6151 }
6152 {
6153 if (!wxPyCheckForApp()) SWIG_fail;
6154 PyThreadState* __tstate = wxPyBeginAllowThreads();
6155 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6156
6157 wxPyEndAllowThreads(__tstate);
6158 if (PyErr_Occurred()) SWIG_fail;
6159 }
6160 {
6161 wxVisualAttributes * resultptr;
6162 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6163 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6164 }
6165 return resultobj;
6166 fail:
6167 return NULL;
6168}
6169
6170
6171static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6172 PyObject *obj;
6173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6174 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6175 Py_INCREF(obj);
6176 return Py_BuildValue((char *)"");
6177}
6178static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6179 PyObject *resultobj;
6180 wxWindow *arg1 = (wxWindow *) 0 ;
6181 int arg2 = (int) -1 ;
6182 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6183 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6184 wxSize const &arg4_defvalue = wxDefaultSize ;
6185 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6186 long arg5 = (long) wxLI_HORIZONTAL ;
6187 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6188 wxString *arg6 = (wxString *) &arg6_defvalue ;
6189 wxStaticLine *result;
6190 wxPoint temp3 ;
6191 wxSize temp4 ;
6192 bool temp6 = false ;
6193 PyObject * obj0 = 0 ;
6194 PyObject * obj1 = 0 ;
6195 PyObject * obj2 = 0 ;
6196 PyObject * obj3 = 0 ;
6197 PyObject * obj4 = 0 ;
6198 PyObject * obj5 = 0 ;
6199 char *kwnames[] = {
6200 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6201 };
6202
6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6205 if (SWIG_arg_fail(1)) SWIG_fail;
6206 if (obj1) {
6207 {
6208 arg2 = (int)(SWIG_As_int(obj1));
6209 if (SWIG_arg_fail(2)) SWIG_fail;
6210 }
6211 }
6212 if (obj2) {
6213 {
6214 arg3 = &temp3;
6215 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6216 }
6217 }
6218 if (obj3) {
6219 {
6220 arg4 = &temp4;
6221 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6222 }
6223 }
6224 if (obj4) {
6225 {
6226 arg5 = (long)(SWIG_As_long(obj4));
6227 if (SWIG_arg_fail(5)) SWIG_fail;
6228 }
6229 }
6230 if (obj5) {
6231 {
6232 arg6 = wxString_in_helper(obj5);
6233 if (arg6 == NULL) SWIG_fail;
6234 temp6 = true;
6235 }
6236 }
6237 {
6238 if (!wxPyCheckForApp()) SWIG_fail;
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6241
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6246 {
6247 if (temp6)
6248 delete arg6;
6249 }
6250 return resultobj;
6251 fail:
6252 {
6253 if (temp6)
6254 delete arg6;
6255 }
6256 return NULL;
6257}
6258
6259
6260static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj;
6262 wxStaticLine *result;
6263 char *kwnames[] = {
6264 NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6268 {
6269 if (!wxPyCheckForApp()) SWIG_fail;
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 result = (wxStaticLine *)new wxStaticLine();
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6277 return resultobj;
6278 fail:
6279 return NULL;
6280}
6281
6282
6283static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6284 PyObject *resultobj;
6285 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6286 wxWindow *arg2 = (wxWindow *) 0 ;
6287 int arg3 = (int) -1 ;
6288 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6289 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6290 wxSize const &arg5_defvalue = wxDefaultSize ;
6291 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6292 long arg6 = (long) wxLI_HORIZONTAL ;
6293 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6294 wxString *arg7 = (wxString *) &arg7_defvalue ;
6295 bool result;
6296 wxPoint temp4 ;
6297 wxSize temp5 ;
6298 bool temp7 = false ;
6299 PyObject * obj0 = 0 ;
6300 PyObject * obj1 = 0 ;
6301 PyObject * obj2 = 0 ;
6302 PyObject * obj3 = 0 ;
6303 PyObject * obj4 = 0 ;
6304 PyObject * obj5 = 0 ;
6305 PyObject * obj6 = 0 ;
6306 char *kwnames[] = {
6307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6308 };
6309
6310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6312 if (SWIG_arg_fail(1)) SWIG_fail;
6313 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6314 if (SWIG_arg_fail(2)) SWIG_fail;
6315 if (obj2) {
6316 {
6317 arg3 = (int)(SWIG_As_int(obj2));
6318 if (SWIG_arg_fail(3)) SWIG_fail;
6319 }
6320 }
6321 if (obj3) {
6322 {
6323 arg4 = &temp4;
6324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6325 }
6326 }
6327 if (obj4) {
6328 {
6329 arg5 = &temp5;
6330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6331 }
6332 }
6333 if (obj5) {
6334 {
6335 arg6 = (long)(SWIG_As_long(obj5));
6336 if (SWIG_arg_fail(6)) SWIG_fail;
6337 }
6338 }
6339 if (obj6) {
6340 {
6341 arg7 = wxString_in_helper(obj6);
6342 if (arg7 == NULL) SWIG_fail;
6343 temp7 = true;
6344 }
6345 }
6346 {
6347 PyThreadState* __tstate = wxPyBeginAllowThreads();
6348 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6349
6350 wxPyEndAllowThreads(__tstate);
6351 if (PyErr_Occurred()) SWIG_fail;
6352 }
6353 {
6354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6355 }
6356 {
6357 if (temp7)
6358 delete arg7;
6359 }
6360 return resultobj;
6361 fail:
6362 {
6363 if (temp7)
6364 delete arg7;
6365 }
6366 return NULL;
6367}
6368
6369
6370static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6371 PyObject *resultobj;
6372 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6373 bool result;
6374 PyObject * obj0 = 0 ;
6375 char *kwnames[] = {
6376 (char *) "self", NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6381 if (SWIG_arg_fail(1)) SWIG_fail;
6382 {
6383 PyThreadState* __tstate = wxPyBeginAllowThreads();
6384 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6385
6386 wxPyEndAllowThreads(__tstate);
6387 if (PyErr_Occurred()) SWIG_fail;
6388 }
6389 {
6390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6391 }
6392 return resultobj;
6393 fail:
6394 return NULL;
6395}
6396
6397
6398static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 int result;
6401 char *kwnames[] = {
6402 NULL
6403 };
6404
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6406 {
6407 PyThreadState* __tstate = wxPyBeginAllowThreads();
6408 result = (int)wxStaticLine::GetDefaultSize();
6409
6410 wxPyEndAllowThreads(__tstate);
6411 if (PyErr_Occurred()) SWIG_fail;
6412 }
6413 {
6414 resultobj = SWIG_From_int((int)(result));
6415 }
6416 return resultobj;
6417 fail:
6418 return NULL;
6419}
6420
6421
6422static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6423 PyObject *resultobj;
6424 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6425 wxVisualAttributes result;
6426 PyObject * obj0 = 0 ;
6427 char *kwnames[] = {
6428 (char *) "variant", NULL
6429 };
6430
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6432 if (obj0) {
6433 {
6434 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6435 if (SWIG_arg_fail(1)) SWIG_fail;
6436 }
6437 }
6438 {
6439 if (!wxPyCheckForApp()) SWIG_fail;
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6442
6443 wxPyEndAllowThreads(__tstate);
6444 if (PyErr_Occurred()) SWIG_fail;
6445 }
6446 {
6447 wxVisualAttributes * resultptr;
6448 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6449 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6450 }
6451 return resultobj;
6452 fail:
6453 return NULL;
6454}
6455
6456
6457static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6458 PyObject *obj;
6459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6460 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6461 Py_INCREF(obj);
6462 return Py_BuildValue((char *)"");
6463}
6464static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6465 PyObject *resultobj;
6466 wxWindow *arg1 = (wxWindow *) 0 ;
6467 int arg2 = (int) -1 ;
6468 wxString const &arg3_defvalue = wxPyEmptyString ;
6469 wxString *arg3 = (wxString *) &arg3_defvalue ;
6470 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6471 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6472 wxSize const &arg5_defvalue = wxDefaultSize ;
6473 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6474 long arg6 = (long) 0 ;
6475 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6476 wxString *arg7 = (wxString *) &arg7_defvalue ;
6477 wxStaticText *result;
6478 bool temp3 = false ;
6479 wxPoint temp4 ;
6480 wxSize temp5 ;
6481 bool temp7 = false ;
6482 PyObject * obj0 = 0 ;
6483 PyObject * obj1 = 0 ;
6484 PyObject * obj2 = 0 ;
6485 PyObject * obj3 = 0 ;
6486 PyObject * obj4 = 0 ;
6487 PyObject * obj5 = 0 ;
6488 PyObject * obj6 = 0 ;
6489 char *kwnames[] = {
6490 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6491 };
6492
6493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6495 if (SWIG_arg_fail(1)) SWIG_fail;
6496 if (obj1) {
6497 {
6498 arg2 = (int)(SWIG_As_int(obj1));
6499 if (SWIG_arg_fail(2)) SWIG_fail;
6500 }
6501 }
6502 if (obj2) {
6503 {
6504 arg3 = wxString_in_helper(obj2);
6505 if (arg3 == NULL) SWIG_fail;
6506 temp3 = true;
6507 }
6508 }
6509 if (obj3) {
6510 {
6511 arg4 = &temp4;
6512 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6513 }
6514 }
6515 if (obj4) {
6516 {
6517 arg5 = &temp5;
6518 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6519 }
6520 }
6521 if (obj5) {
6522 {
6523 arg6 = (long)(SWIG_As_long(obj5));
6524 if (SWIG_arg_fail(6)) SWIG_fail;
6525 }
6526 }
6527 if (obj6) {
6528 {
6529 arg7 = wxString_in_helper(obj6);
6530 if (arg7 == NULL) SWIG_fail;
6531 temp7 = true;
6532 }
6533 }
6534 {
6535 if (!wxPyCheckForApp()) SWIG_fail;
6536 PyThreadState* __tstate = wxPyBeginAllowThreads();
6537 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6538
6539 wxPyEndAllowThreads(__tstate);
6540 if (PyErr_Occurred()) SWIG_fail;
6541 }
6542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6543 {
6544 if (temp3)
6545 delete arg3;
6546 }
6547 {
6548 if (temp7)
6549 delete arg7;
6550 }
6551 return resultobj;
6552 fail:
6553 {
6554 if (temp3)
6555 delete arg3;
6556 }
6557 {
6558 if (temp7)
6559 delete arg7;
6560 }
6561 return NULL;
6562}
6563
6564
6565static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6566 PyObject *resultobj;
6567 wxStaticText *result;
6568 char *kwnames[] = {
6569 NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6573 {
6574 if (!wxPyCheckForApp()) SWIG_fail;
6575 PyThreadState* __tstate = wxPyBeginAllowThreads();
6576 result = (wxStaticText *)new wxStaticText();
6577
6578 wxPyEndAllowThreads(__tstate);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 }
6581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6582 return resultobj;
6583 fail:
6584 return NULL;
6585}
6586
6587
6588static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6589 PyObject *resultobj;
6590 wxStaticText *arg1 = (wxStaticText *) 0 ;
6591 wxWindow *arg2 = (wxWindow *) 0 ;
6592 int arg3 = (int) -1 ;
6593 wxString const &arg4_defvalue = wxPyEmptyString ;
6594 wxString *arg4 = (wxString *) &arg4_defvalue ;
6595 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6596 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6597 wxSize const &arg6_defvalue = wxDefaultSize ;
6598 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6599 long arg7 = (long) 0 ;
6600 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6601 wxString *arg8 = (wxString *) &arg8_defvalue ;
6602 bool result;
6603 bool temp4 = false ;
6604 wxPoint temp5 ;
6605 wxSize temp6 ;
6606 bool temp8 = false ;
6607 PyObject * obj0 = 0 ;
6608 PyObject * obj1 = 0 ;
6609 PyObject * obj2 = 0 ;
6610 PyObject * obj3 = 0 ;
6611 PyObject * obj4 = 0 ;
6612 PyObject * obj5 = 0 ;
6613 PyObject * obj6 = 0 ;
6614 PyObject * obj7 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6621 if (SWIG_arg_fail(1)) SWIG_fail;
6622 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6623 if (SWIG_arg_fail(2)) SWIG_fail;
6624 if (obj2) {
6625 {
6626 arg3 = (int)(SWIG_As_int(obj2));
6627 if (SWIG_arg_fail(3)) SWIG_fail;
6628 }
6629 }
6630 if (obj3) {
6631 {
6632 arg4 = wxString_in_helper(obj3);
6633 if (arg4 == NULL) SWIG_fail;
6634 temp4 = true;
6635 }
6636 }
6637 if (obj4) {
6638 {
6639 arg5 = &temp5;
6640 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6641 }
6642 }
6643 if (obj5) {
6644 {
6645 arg6 = &temp6;
6646 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6647 }
6648 }
6649 if (obj6) {
6650 {
6651 arg7 = (long)(SWIG_As_long(obj6));
6652 if (SWIG_arg_fail(7)) SWIG_fail;
6653 }
6654 }
6655 if (obj7) {
6656 {
6657 arg8 = wxString_in_helper(obj7);
6658 if (arg8 == NULL) SWIG_fail;
6659 temp8 = true;
6660 }
6661 }
6662 {
6663 PyThreadState* __tstate = wxPyBeginAllowThreads();
6664 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6665
6666 wxPyEndAllowThreads(__tstate);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
6669 {
6670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6671 }
6672 {
6673 if (temp4)
6674 delete arg4;
6675 }
6676 {
6677 if (temp8)
6678 delete arg8;
6679 }
6680 return resultobj;
6681 fail:
6682 {
6683 if (temp4)
6684 delete arg4;
6685 }
6686 {
6687 if (temp8)
6688 delete arg8;
6689 }
6690 return NULL;
6691}
6692
6693
6694static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj;
6696 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6697 wxVisualAttributes result;
6698 PyObject * obj0 = 0 ;
6699 char *kwnames[] = {
6700 (char *) "variant", NULL
6701 };
6702
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6704 if (obj0) {
6705 {
6706 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6707 if (SWIG_arg_fail(1)) SWIG_fail;
6708 }
6709 }
6710 {
6711 if (!wxPyCheckForApp()) SWIG_fail;
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6714
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 {
6719 wxVisualAttributes * resultptr;
6720 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6722 }
6723 return resultobj;
6724 fail:
6725 return NULL;
6726}
6727
6728
6729static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6730 PyObject *obj;
6731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6732 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6733 Py_INCREF(obj);
6734 return Py_BuildValue((char *)"");
6735}
6736static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6737 PyObject *resultobj;
6738 wxWindow *arg1 = (wxWindow *) 0 ;
6739 int arg2 = (int) -1 ;
6740 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6741 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6742 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6743 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6744 wxSize const &arg5_defvalue = wxDefaultSize ;
6745 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6746 long arg6 = (long) 0 ;
6747 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6748 wxString *arg7 = (wxString *) &arg7_defvalue ;
6749 wxStaticBitmap *result;
6750 wxPoint temp4 ;
6751 wxSize temp5 ;
6752 bool temp7 = false ;
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 PyObject * obj2 = 0 ;
6756 PyObject * obj3 = 0 ;
6757 PyObject * obj4 = 0 ;
6758 PyObject * obj5 = 0 ;
6759 PyObject * obj6 = 0 ;
6760 char *kwnames[] = {
6761 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6762 };
6763
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6766 if (SWIG_arg_fail(1)) SWIG_fail;
6767 if (obj1) {
6768 {
6769 arg2 = (int)(SWIG_As_int(obj1));
6770 if (SWIG_arg_fail(2)) SWIG_fail;
6771 }
6772 }
6773 if (obj2) {
6774 {
6775 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6776 if (SWIG_arg_fail(3)) SWIG_fail;
6777 if (arg3 == NULL) {
6778 SWIG_null_ref("wxBitmap");
6779 }
6780 if (SWIG_arg_fail(3)) SWIG_fail;
6781 }
6782 }
6783 if (obj3) {
6784 {
6785 arg4 = &temp4;
6786 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6787 }
6788 }
6789 if (obj4) {
6790 {
6791 arg5 = &temp5;
6792 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6793 }
6794 }
6795 if (obj5) {
6796 {
6797 arg6 = (long)(SWIG_As_long(obj5));
6798 if (SWIG_arg_fail(6)) SWIG_fail;
6799 }
6800 }
6801 if (obj6) {
6802 {
6803 arg7 = wxString_in_helper(obj6);
6804 if (arg7 == NULL) SWIG_fail;
6805 temp7 = true;
6806 }
6807 }
6808 {
6809 if (!wxPyCheckForApp()) SWIG_fail;
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6817 {
6818 if (temp7)
6819 delete arg7;
6820 }
6821 return resultobj;
6822 fail:
6823 {
6824 if (temp7)
6825 delete arg7;
6826 }
6827 return NULL;
6828}
6829
6830
6831static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6832 PyObject *resultobj;
6833 wxStaticBitmap *result;
6834 char *kwnames[] = {
6835 NULL
6836 };
6837
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6839 {
6840 if (!wxPyCheckForApp()) SWIG_fail;
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 result = (wxStaticBitmap *)new wxStaticBitmap();
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6848 return resultobj;
6849 fail:
6850 return NULL;
6851}
6852
6853
6854static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj;
6856 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6857 wxWindow *arg2 = (wxWindow *) 0 ;
6858 int arg3 = (int) -1 ;
6859 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6860 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
6861 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6862 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6863 wxSize const &arg6_defvalue = wxDefaultSize ;
6864 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6865 long arg7 = (long) 0 ;
6866 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6867 wxString *arg8 = (wxString *) &arg8_defvalue ;
6868 bool result;
6869 wxPoint temp5 ;
6870 wxSize temp6 ;
6871 bool temp8 = false ;
6872 PyObject * obj0 = 0 ;
6873 PyObject * obj1 = 0 ;
6874 PyObject * obj2 = 0 ;
6875 PyObject * obj3 = 0 ;
6876 PyObject * obj4 = 0 ;
6877 PyObject * obj5 = 0 ;
6878 PyObject * obj6 = 0 ;
6879 PyObject * obj7 = 0 ;
6880 char *kwnames[] = {
6881 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6882 };
6883
6884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6886 if (SWIG_arg_fail(1)) SWIG_fail;
6887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6888 if (SWIG_arg_fail(2)) SWIG_fail;
6889 if (obj2) {
6890 {
6891 arg3 = (int)(SWIG_As_int(obj2));
6892 if (SWIG_arg_fail(3)) SWIG_fail;
6893 }
6894 }
6895 if (obj3) {
6896 {
6897 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6898 if (SWIG_arg_fail(4)) SWIG_fail;
6899 if (arg4 == NULL) {
6900 SWIG_null_ref("wxBitmap");
6901 }
6902 if (SWIG_arg_fail(4)) SWIG_fail;
6903 }
6904 }
6905 if (obj4) {
6906 {
6907 arg5 = &temp5;
6908 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6909 }
6910 }
6911 if (obj5) {
6912 {
6913 arg6 = &temp6;
6914 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6915 }
6916 }
6917 if (obj6) {
6918 {
6919 arg7 = (long)(SWIG_As_long(obj6));
6920 if (SWIG_arg_fail(7)) SWIG_fail;
6921 }
6922 }
6923 if (obj7) {
6924 {
6925 arg8 = wxString_in_helper(obj7);
6926 if (arg8 == NULL) SWIG_fail;
6927 temp8 = true;
6928 }
6929 }
6930 {
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 {
6938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6939 }
6940 {
6941 if (temp8)
6942 delete arg8;
6943 }
6944 return resultobj;
6945 fail:
6946 {
6947 if (temp8)
6948 delete arg8;
6949 }
6950 return NULL;
6951}
6952
6953
6954static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6955 PyObject *resultobj;
6956 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6957 wxBitmap result;
6958 PyObject * obj0 = 0 ;
6959 char *kwnames[] = {
6960 (char *) "self", NULL
6961 };
6962
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
6964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6965 if (SWIG_arg_fail(1)) SWIG_fail;
6966 {
6967 PyThreadState* __tstate = wxPyBeginAllowThreads();
6968 result = (arg1)->GetBitmap();
6969
6970 wxPyEndAllowThreads(__tstate);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 }
6973 {
6974 wxBitmap * resultptr;
6975 resultptr = new wxBitmap((wxBitmap &)(result));
6976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6977 }
6978 return resultobj;
6979 fail:
6980 return NULL;
6981}
6982
6983
6984static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6985 PyObject *resultobj;
6986 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6987 wxBitmap *arg2 = 0 ;
6988 PyObject * obj0 = 0 ;
6989 PyObject * obj1 = 0 ;
6990 char *kwnames[] = {
6991 (char *) "self",(char *) "bitmap", NULL
6992 };
6993
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6996 if (SWIG_arg_fail(1)) SWIG_fail;
6997 {
6998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6999 if (SWIG_arg_fail(2)) SWIG_fail;
7000 if (arg2 == NULL) {
7001 SWIG_null_ref("wxBitmap");
7002 }
7003 if (SWIG_arg_fail(2)) SWIG_fail;
7004 }
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7008
7009 wxPyEndAllowThreads(__tstate);
7010 if (PyErr_Occurred()) SWIG_fail;
7011 }
7012 Py_INCREF(Py_None); resultobj = Py_None;
7013 return resultobj;
7014 fail:
7015 return NULL;
7016}
7017
7018
7019static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7020 PyObject *resultobj;
7021 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7022 wxIcon *arg2 = 0 ;
7023 PyObject * obj0 = 0 ;
7024 PyObject * obj1 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "self",(char *) "icon", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7031 if (SWIG_arg_fail(1)) SWIG_fail;
7032 {
7033 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7034 if (SWIG_arg_fail(2)) SWIG_fail;
7035 if (arg2 == NULL) {
7036 SWIG_null_ref("wxIcon");
7037 }
7038 if (SWIG_arg_fail(2)) SWIG_fail;
7039 }
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 (arg1)->SetIcon((wxIcon const &)*arg2);
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 Py_INCREF(Py_None); resultobj = Py_None;
7048 return resultobj;
7049 fail:
7050 return NULL;
7051}
7052
7053
7054static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7055 PyObject *resultobj;
7056 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7057 wxVisualAttributes result;
7058 PyObject * obj0 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "variant", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7064 if (obj0) {
7065 {
7066 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7067 if (SWIG_arg_fail(1)) SWIG_fail;
7068 }
7069 }
7070 {
7071 if (!wxPyCheckForApp()) SWIG_fail;
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7074
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 {
7079 wxVisualAttributes * resultptr;
7080 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7082 }
7083 return resultobj;
7084 fail:
7085 return NULL;
7086}
7087
7088
7089static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7090 PyObject *obj;
7091 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7092 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7093 Py_INCREF(obj);
7094 return Py_BuildValue((char *)"");
7095}
7096static int _wrap_ListBoxNameStr_set(PyObject *) {
7097 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7098 return 1;
7099}
7100
7101
7102static PyObject *_wrap_ListBoxNameStr_get(void) {
7103 PyObject *pyobj;
7104
7105 {
7106#if wxUSE_UNICODE
7107 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7108#else
7109 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7110#endif
7111 }
7112 return pyobj;
7113}
7114
7115
7116static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7117 PyObject *resultobj;
7118 wxWindow *arg1 = (wxWindow *) 0 ;
7119 int arg2 = (int) -1 ;
7120 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7121 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7122 wxSize const &arg4_defvalue = wxDefaultSize ;
7123 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7124 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7125 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7126 long arg6 = (long) 0 ;
7127 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7128 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7129 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7130 wxString *arg8 = (wxString *) &arg8_defvalue ;
7131 wxListBox *result;
7132 wxPoint temp3 ;
7133 wxSize temp4 ;
7134 bool temp5 = false ;
7135 bool temp8 = false ;
7136 PyObject * obj0 = 0 ;
7137 PyObject * obj1 = 0 ;
7138 PyObject * obj2 = 0 ;
7139 PyObject * obj3 = 0 ;
7140 PyObject * obj4 = 0 ;
7141 PyObject * obj5 = 0 ;
7142 PyObject * obj6 = 0 ;
7143 PyObject * obj7 = 0 ;
7144 char *kwnames[] = {
7145 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7146 };
7147
7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7150 if (SWIG_arg_fail(1)) SWIG_fail;
7151 if (obj1) {
7152 {
7153 arg2 = (int)(SWIG_As_int(obj1));
7154 if (SWIG_arg_fail(2)) SWIG_fail;
7155 }
7156 }
7157 if (obj2) {
7158 {
7159 arg3 = &temp3;
7160 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7161 }
7162 }
7163 if (obj3) {
7164 {
7165 arg4 = &temp4;
7166 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7167 }
7168 }
7169 if (obj4) {
7170 {
7171 if (! PySequence_Check(obj4)) {
7172 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7173 SWIG_fail;
7174 }
7175 arg5 = new wxArrayString;
7176 temp5 = true;
7177 int i, len=PySequence_Length(obj4);
7178 for (i=0; i<len; i++) {
7179 PyObject* item = PySequence_GetItem(obj4, i);
7180 wxString* s = wxString_in_helper(item);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 arg5->Add(*s);
7183 delete s;
7184 Py_DECREF(item);
7185 }
7186 }
7187 }
7188 if (obj5) {
7189 {
7190 arg6 = (long)(SWIG_As_long(obj5));
7191 if (SWIG_arg_fail(6)) SWIG_fail;
7192 }
7193 }
7194 if (obj6) {
7195 {
7196 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7197 if (SWIG_arg_fail(7)) SWIG_fail;
7198 if (arg7 == NULL) {
7199 SWIG_null_ref("wxValidator");
7200 }
7201 if (SWIG_arg_fail(7)) SWIG_fail;
7202 }
7203 }
7204 if (obj7) {
7205 {
7206 arg8 = wxString_in_helper(obj7);
7207 if (arg8 == NULL) SWIG_fail;
7208 temp8 = true;
7209 }
7210 }
7211 {
7212 if (!wxPyCheckForApp()) SWIG_fail;
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7215
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7220 {
7221 if (temp5) delete arg5;
7222 }
7223 {
7224 if (temp8)
7225 delete arg8;
7226 }
7227 return resultobj;
7228 fail:
7229 {
7230 if (temp5) delete arg5;
7231 }
7232 {
7233 if (temp8)
7234 delete arg8;
7235 }
7236 return NULL;
7237}
7238
7239
7240static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj;
7242 wxListBox *result;
7243 char *kwnames[] = {
7244 NULL
7245 };
7246
7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7248 {
7249 if (!wxPyCheckForApp()) SWIG_fail;
7250 PyThreadState* __tstate = wxPyBeginAllowThreads();
7251 result = (wxListBox *)new wxListBox();
7252
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7257 return resultobj;
7258 fail:
7259 return NULL;
7260}
7261
7262
7263static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7264 PyObject *resultobj;
7265 wxListBox *arg1 = (wxListBox *) 0 ;
7266 wxWindow *arg2 = (wxWindow *) 0 ;
7267 int arg3 = (int) -1 ;
7268 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7269 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7270 wxSize const &arg5_defvalue = wxDefaultSize ;
7271 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7272 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7273 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7274 long arg7 = (long) 0 ;
7275 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7276 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7277 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7278 wxString *arg9 = (wxString *) &arg9_defvalue ;
7279 bool result;
7280 wxPoint temp4 ;
7281 wxSize temp5 ;
7282 bool temp6 = false ;
7283 bool temp9 = false ;
7284 PyObject * obj0 = 0 ;
7285 PyObject * obj1 = 0 ;
7286 PyObject * obj2 = 0 ;
7287 PyObject * obj3 = 0 ;
7288 PyObject * obj4 = 0 ;
7289 PyObject * obj5 = 0 ;
7290 PyObject * obj6 = 0 ;
7291 PyObject * obj7 = 0 ;
7292 PyObject * obj8 = 0 ;
7293 char *kwnames[] = {
7294 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7295 };
7296
7297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7299 if (SWIG_arg_fail(1)) SWIG_fail;
7300 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7301 if (SWIG_arg_fail(2)) SWIG_fail;
7302 if (obj2) {
7303 {
7304 arg3 = (int)(SWIG_As_int(obj2));
7305 if (SWIG_arg_fail(3)) SWIG_fail;
7306 }
7307 }
7308 if (obj3) {
7309 {
7310 arg4 = &temp4;
7311 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7312 }
7313 }
7314 if (obj4) {
7315 {
7316 arg5 = &temp5;
7317 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7318 }
7319 }
7320 if (obj5) {
7321 {
7322 if (! PySequence_Check(obj5)) {
7323 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7324 SWIG_fail;
7325 }
7326 arg6 = new wxArrayString;
7327 temp6 = true;
7328 int i, len=PySequence_Length(obj5);
7329 for (i=0; i<len; i++) {
7330 PyObject* item = PySequence_GetItem(obj5, i);
7331 wxString* s = wxString_in_helper(item);
7332 if (PyErr_Occurred()) SWIG_fail;
7333 arg6->Add(*s);
7334 delete s;
7335 Py_DECREF(item);
7336 }
7337 }
7338 }
7339 if (obj6) {
7340 {
7341 arg7 = (long)(SWIG_As_long(obj6));
7342 if (SWIG_arg_fail(7)) SWIG_fail;
7343 }
7344 }
7345 if (obj7) {
7346 {
7347 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7348 if (SWIG_arg_fail(8)) SWIG_fail;
7349 if (arg8 == NULL) {
7350 SWIG_null_ref("wxValidator");
7351 }
7352 if (SWIG_arg_fail(8)) SWIG_fail;
7353 }
7354 }
7355 if (obj8) {
7356 {
7357 arg9 = wxString_in_helper(obj8);
7358 if (arg9 == NULL) SWIG_fail;
7359 temp9 = true;
7360 }
7361 }
7362 {
7363 PyThreadState* __tstate = wxPyBeginAllowThreads();
7364 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7365
7366 wxPyEndAllowThreads(__tstate);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
7369 {
7370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7371 }
7372 {
7373 if (temp6) delete arg6;
7374 }
7375 {
7376 if (temp9)
7377 delete arg9;
7378 }
7379 return resultobj;
7380 fail:
7381 {
7382 if (temp6) delete arg6;
7383 }
7384 {
7385 if (temp9)
7386 delete arg9;
7387 }
7388 return NULL;
7389}
7390
7391
7392static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7393 PyObject *resultobj;
7394 wxListBox *arg1 = (wxListBox *) 0 ;
7395 wxString *arg2 = 0 ;
7396 int arg3 ;
7397 PyObject *arg4 = (PyObject *) NULL ;
7398 bool temp2 = false ;
7399 PyObject * obj0 = 0 ;
7400 PyObject * obj1 = 0 ;
7401 PyObject * obj2 = 0 ;
7402 PyObject * obj3 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail;
7410 {
7411 arg2 = wxString_in_helper(obj1);
7412 if (arg2 == NULL) SWIG_fail;
7413 temp2 = true;
7414 }
7415 {
7416 arg3 = (int)(SWIG_As_int(obj2));
7417 if (SWIG_arg_fail(3)) SWIG_fail;
7418 }
7419 if (obj3) {
7420 arg4 = obj3;
7421 }
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 Py_INCREF(Py_None); resultobj = Py_None;
7430 {
7431 if (temp2)
7432 delete arg2;
7433 }
7434 return resultobj;
7435 fail:
7436 {
7437 if (temp2)
7438 delete arg2;
7439 }
7440 return NULL;
7441}
7442
7443
7444static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj;
7446 wxListBox *arg1 = (wxListBox *) 0 ;
7447 wxArrayString *arg2 = 0 ;
7448 int arg3 ;
7449 bool temp2 = false ;
7450 PyObject * obj0 = 0 ;
7451 PyObject * obj1 = 0 ;
7452 PyObject * obj2 = 0 ;
7453 char *kwnames[] = {
7454 (char *) "self",(char *) "items",(char *) "pos", NULL
7455 };
7456
7457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7459 if (SWIG_arg_fail(1)) SWIG_fail;
7460 {
7461 if (! PySequence_Check(obj1)) {
7462 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7463 SWIG_fail;
7464 }
7465 arg2 = new wxArrayString;
7466 temp2 = true;
7467 int i, len=PySequence_Length(obj1);
7468 for (i=0; i<len; i++) {
7469 PyObject* item = PySequence_GetItem(obj1, i);
7470 wxString* s = wxString_in_helper(item);
7471 if (PyErr_Occurred()) SWIG_fail;
7472 arg2->Add(*s);
7473 delete s;
7474 Py_DECREF(item);
7475 }
7476 }
7477 {
7478 arg3 = (int)(SWIG_As_int(obj2));
7479 if (SWIG_arg_fail(3)) SWIG_fail;
7480 }
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 Py_INCREF(Py_None); resultobj = Py_None;
7489 {
7490 if (temp2) delete arg2;
7491 }
7492 return resultobj;
7493 fail:
7494 {
7495 if (temp2) delete arg2;
7496 }
7497 return NULL;
7498}
7499
7500
7501static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj;
7503 wxListBox *arg1 = (wxListBox *) 0 ;
7504 wxArrayString *arg2 = 0 ;
7505 bool temp2 = false ;
7506 PyObject * obj0 = 0 ;
7507 PyObject * obj1 = 0 ;
7508 char *kwnames[] = {
7509 (char *) "self",(char *) "items", NULL
7510 };
7511
7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7514 if (SWIG_arg_fail(1)) SWIG_fail;
7515 {
7516 if (! PySequence_Check(obj1)) {
7517 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7518 SWIG_fail;
7519 }
7520 arg2 = new wxArrayString;
7521 temp2 = true;
7522 int i, len=PySequence_Length(obj1);
7523 for (i=0; i<len; i++) {
7524 PyObject* item = PySequence_GetItem(obj1, i);
7525 wxString* s = wxString_in_helper(item);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 arg2->Add(*s);
7528 delete s;
7529 Py_DECREF(item);
7530 }
7531 }
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 (arg1)->Set((wxArrayString const &)*arg2);
7535
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 Py_INCREF(Py_None); resultobj = Py_None;
7540 {
7541 if (temp2) delete arg2;
7542 }
7543 return resultobj;
7544 fail:
7545 {
7546 if (temp2) delete arg2;
7547 }
7548 return NULL;
7549}
7550
7551
7552static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxListBox *arg1 = (wxListBox *) 0 ;
7555 int arg2 ;
7556 bool result;
7557 PyObject * obj0 = 0 ;
7558 PyObject * obj1 = 0 ;
7559 char *kwnames[] = {
7560 (char *) "self",(char *) "n", NULL
7561 };
7562
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7565 if (SWIG_arg_fail(1)) SWIG_fail;
7566 {
7567 arg2 = (int)(SWIG_As_int(obj1));
7568 if (SWIG_arg_fail(2)) SWIG_fail;
7569 }
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 {
7578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7579 }
7580 return resultobj;
7581 fail:
7582 return NULL;
7583}
7584
7585
7586static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj;
7588 wxListBox *arg1 = (wxListBox *) 0 ;
7589 int arg2 ;
7590 bool arg3 = (bool) true ;
7591 PyObject * obj0 = 0 ;
7592 PyObject * obj1 = 0 ;
7593 PyObject * obj2 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "self",(char *) "n",(char *) "select", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7600 if (SWIG_arg_fail(1)) SWIG_fail;
7601 {
7602 arg2 = (int)(SWIG_As_int(obj1));
7603 if (SWIG_arg_fail(2)) SWIG_fail;
7604 }
7605 if (obj2) {
7606 {
7607 arg3 = (bool)(SWIG_As_bool(obj2));
7608 if (SWIG_arg_fail(3)) SWIG_fail;
7609 }
7610 }
7611 {
7612 PyThreadState* __tstate = wxPyBeginAllowThreads();
7613 (arg1)->SetSelection(arg2,arg3);
7614
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) SWIG_fail;
7617 }
7618 Py_INCREF(Py_None); resultobj = Py_None;
7619 return resultobj;
7620 fail:
7621 return NULL;
7622}
7623
7624
7625static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7626 PyObject *resultobj;
7627 wxListBox *arg1 = (wxListBox *) 0 ;
7628 int arg2 ;
7629 PyObject * obj0 = 0 ;
7630 PyObject * obj1 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self",(char *) "n", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7637 if (SWIG_arg_fail(1)) SWIG_fail;
7638 {
7639 arg2 = (int)(SWIG_As_int(obj1));
7640 if (SWIG_arg_fail(2)) SWIG_fail;
7641 }
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 (arg1)->Select(arg2);
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 Py_INCREF(Py_None); resultobj = Py_None;
7650 return resultobj;
7651 fail:
7652 return NULL;
7653}
7654
7655
7656static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7657 PyObject *resultobj;
7658 wxListBox *arg1 = (wxListBox *) 0 ;
7659 int arg2 ;
7660 PyObject * obj0 = 0 ;
7661 PyObject * obj1 = 0 ;
7662 char *kwnames[] = {
7663 (char *) "self",(char *) "n", NULL
7664 };
7665
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7668 if (SWIG_arg_fail(1)) SWIG_fail;
7669 {
7670 arg2 = (int)(SWIG_As_int(obj1));
7671 if (SWIG_arg_fail(2)) SWIG_fail;
7672 }
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 (arg1)->Deselect(arg2);
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 Py_INCREF(Py_None); resultobj = Py_None;
7681 return resultobj;
7682 fail:
7683 return NULL;
7684}
7685
7686
7687static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxListBox *arg1 = (wxListBox *) 0 ;
7690 int arg2 = (int) -1 ;
7691 PyObject * obj0 = 0 ;
7692 PyObject * obj1 = 0 ;
7693 char *kwnames[] = {
7694 (char *) "self",(char *) "itemToLeaveSelected", NULL
7695 };
7696
7697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7699 if (SWIG_arg_fail(1)) SWIG_fail;
7700 if (obj1) {
7701 {
7702 arg2 = (int)(SWIG_As_int(obj1));
7703 if (SWIG_arg_fail(2)) SWIG_fail;
7704 }
7705 }
7706 {
7707 PyThreadState* __tstate = wxPyBeginAllowThreads();
7708 (arg1)->DeselectAll(arg2);
7709
7710 wxPyEndAllowThreads(__tstate);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 }
7713 Py_INCREF(Py_None); resultobj = Py_None;
7714 return resultobj;
7715 fail:
7716 return NULL;
7717}
7718
7719
7720static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj;
7722 wxListBox *arg1 = (wxListBox *) 0 ;
7723 wxString *arg2 = 0 ;
7724 bool arg3 = (bool) true ;
7725 bool result;
7726 bool temp2 = false ;
7727 PyObject * obj0 = 0 ;
7728 PyObject * obj1 = 0 ;
7729 PyObject * obj2 = 0 ;
7730 char *kwnames[] = {
7731 (char *) "self",(char *) "s",(char *) "select", NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7736 if (SWIG_arg_fail(1)) SWIG_fail;
7737 {
7738 arg2 = wxString_in_helper(obj1);
7739 if (arg2 == NULL) SWIG_fail;
7740 temp2 = true;
7741 }
7742 if (obj2) {
7743 {
7744 arg3 = (bool)(SWIG_As_bool(obj2));
7745 if (SWIG_arg_fail(3)) SWIG_fail;
7746 }
7747 }
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7751
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 {
7756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7757 }
7758 {
7759 if (temp2)
7760 delete arg2;
7761 }
7762 return resultobj;
7763 fail:
7764 {
7765 if (temp2)
7766 delete arg2;
7767 }
7768 return NULL;
7769}
7770
7771
7772static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj;
7774 wxListBox *arg1 = (wxListBox *) 0 ;
7775 PyObject *result;
7776 PyObject * obj0 = 0 ;
7777 char *kwnames[] = {
7778 (char *) "self", NULL
7779 };
7780
7781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
7782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7783 if (SWIG_arg_fail(1)) SWIG_fail;
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 result = (PyObject *)wxListBox_GetSelections(arg1);
7787
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
7791 resultobj = result;
7792 return resultobj;
7793 fail:
7794 return NULL;
7795}
7796
7797
7798static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7799 PyObject *resultobj;
7800 wxListBox *arg1 = (wxListBox *) 0 ;
7801 int arg2 ;
7802 PyObject * obj0 = 0 ;
7803 PyObject * obj1 = 0 ;
7804 char *kwnames[] = {
7805 (char *) "self",(char *) "n", NULL
7806 };
7807
7808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
7809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7810 if (SWIG_arg_fail(1)) SWIG_fail;
7811 {
7812 arg2 = (int)(SWIG_As_int(obj1));
7813 if (SWIG_arg_fail(2)) SWIG_fail;
7814 }
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 (arg1)->SetFirstItem(arg2);
7818
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 Py_INCREF(Py_None); resultobj = Py_None;
7823 return resultobj;
7824 fail:
7825 return NULL;
7826}
7827
7828
7829static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7830 PyObject *resultobj;
7831 wxListBox *arg1 = (wxListBox *) 0 ;
7832 wxString *arg2 = 0 ;
7833 bool temp2 = false ;
7834 PyObject * obj0 = 0 ;
7835 PyObject * obj1 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "self",(char *) "s", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
7841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7842 if (SWIG_arg_fail(1)) SWIG_fail;
7843 {
7844 arg2 = wxString_in_helper(obj1);
7845 if (arg2 == NULL) SWIG_fail;
7846 temp2 = true;
7847 }
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 (arg1)->SetFirstItem((wxString const &)*arg2);
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 Py_INCREF(Py_None); resultobj = Py_None;
7856 {
7857 if (temp2)
7858 delete arg2;
7859 }
7860 return resultobj;
7861 fail:
7862 {
7863 if (temp2)
7864 delete arg2;
7865 }
7866 return NULL;
7867}
7868
7869
7870static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7871 PyObject *resultobj;
7872 wxListBox *arg1 = (wxListBox *) 0 ;
7873 int arg2 ;
7874 PyObject * obj0 = 0 ;
7875 PyObject * obj1 = 0 ;
7876 char *kwnames[] = {
7877 (char *) "self",(char *) "n", NULL
7878 };
7879
7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7882 if (SWIG_arg_fail(1)) SWIG_fail;
7883 {
7884 arg2 = (int)(SWIG_As_int(obj1));
7885 if (SWIG_arg_fail(2)) SWIG_fail;
7886 }
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 (arg1)->EnsureVisible(arg2);
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 Py_INCREF(Py_None); resultobj = Py_None;
7895 return resultobj;
7896 fail:
7897 return NULL;
7898}
7899
7900
7901static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj;
7903 wxListBox *arg1 = (wxListBox *) 0 ;
7904 wxString *arg2 = 0 ;
7905 bool temp2 = false ;
7906 PyObject * obj0 = 0 ;
7907 PyObject * obj1 = 0 ;
7908 char *kwnames[] = {
7909 (char *) "self",(char *) "s", NULL
7910 };
7911
7912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7914 if (SWIG_arg_fail(1)) SWIG_fail;
7915 {
7916 arg2 = wxString_in_helper(obj1);
7917 if (arg2 == NULL) SWIG_fail;
7918 temp2 = true;
7919 }
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 Py_INCREF(Py_None); resultobj = Py_None;
7928 {
7929 if (temp2)
7930 delete arg2;
7931 }
7932 return resultobj;
7933 fail:
7934 {
7935 if (temp2)
7936 delete arg2;
7937 }
7938 return NULL;
7939}
7940
7941
7942static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
7943 PyObject *resultobj;
7944 wxListBox *arg1 = (wxListBox *) 0 ;
7945 bool result;
7946 PyObject * obj0 = 0 ;
7947 char *kwnames[] = {
7948 (char *) "self", NULL
7949 };
7950
7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
7952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7953 if (SWIG_arg_fail(1)) SWIG_fail;
7954 {
7955 PyThreadState* __tstate = wxPyBeginAllowThreads();
7956 result = (bool)((wxListBox const *)arg1)->IsSorted();
7957
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
7961 {
7962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7963 }
7964 return resultobj;
7965 fail:
7966 return NULL;
7967}
7968
7969
7970static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7971 PyObject *resultobj;
7972 wxListBox *arg1 = (wxListBox *) 0 ;
7973 int arg2 ;
7974 wxColour *arg3 = 0 ;
7975 wxColour temp3 ;
7976 PyObject * obj0 = 0 ;
7977 PyObject * obj1 = 0 ;
7978 PyObject * obj2 = 0 ;
7979 char *kwnames[] = {
7980 (char *) "self",(char *) "item",(char *) "c", NULL
7981 };
7982
7983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7985 if (SWIG_arg_fail(1)) SWIG_fail;
7986 {
7987 arg2 = (int)(SWIG_As_int(obj1));
7988 if (SWIG_arg_fail(2)) SWIG_fail;
7989 }
7990 {
7991 arg3 = &temp3;
7992 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7993 }
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 Py_INCREF(Py_None); resultobj = Py_None;
8002 return resultobj;
8003 fail:
8004 return NULL;
8005}
8006
8007
8008static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8009 PyObject *resultobj;
8010 wxListBox *arg1 = (wxListBox *) 0 ;
8011 int arg2 ;
8012 wxColour *arg3 = 0 ;
8013 wxColour temp3 ;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 PyObject * obj2 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self",(char *) "item",(char *) "c", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8023 if (SWIG_arg_fail(1)) SWIG_fail;
8024 {
8025 arg2 = (int)(SWIG_As_int(obj1));
8026 if (SWIG_arg_fail(2)) SWIG_fail;
8027 }
8028 {
8029 arg3 = &temp3;
8030 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8031 }
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 Py_INCREF(Py_None); resultobj = Py_None;
8040 return resultobj;
8041 fail:
8042 return NULL;
8043}
8044
8045
8046static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8047 PyObject *resultobj;
8048 wxListBox *arg1 = (wxListBox *) 0 ;
8049 int arg2 ;
8050 wxFont *arg3 = 0 ;
8051 PyObject * obj0 = 0 ;
8052 PyObject * obj1 = 0 ;
8053 PyObject * obj2 = 0 ;
8054 char *kwnames[] = {
8055 (char *) "self",(char *) "item",(char *) "f", NULL
8056 };
8057
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8060 if (SWIG_arg_fail(1)) SWIG_fail;
8061 {
8062 arg2 = (int)(SWIG_As_int(obj1));
8063 if (SWIG_arg_fail(2)) SWIG_fail;
8064 }
8065 {
8066 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8067 if (SWIG_arg_fail(3)) SWIG_fail;
8068 if (arg3 == NULL) {
8069 SWIG_null_ref("wxFont");
8070 }
8071 if (SWIG_arg_fail(3)) SWIG_fail;
8072 }
8073 {
8074 PyThreadState* __tstate = wxPyBeginAllowThreads();
8075 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8076
8077 wxPyEndAllowThreads(__tstate);
8078 if (PyErr_Occurred()) SWIG_fail;
8079 }
8080 Py_INCREF(Py_None); resultobj = Py_None;
8081 return resultobj;
8082 fail:
8083 return NULL;
8084}
8085
8086
8087static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8088 PyObject *resultobj;
8089 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8090 wxVisualAttributes result;
8091 PyObject * obj0 = 0 ;
8092 char *kwnames[] = {
8093 (char *) "variant", NULL
8094 };
8095
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8097 if (obj0) {
8098 {
8099 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8100 if (SWIG_arg_fail(1)) SWIG_fail;
8101 }
8102 }
8103 {
8104 if (!wxPyCheckForApp()) SWIG_fail;
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 {
8112 wxVisualAttributes * resultptr;
8113 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8115 }
8116 return resultobj;
8117 fail:
8118 return NULL;
8119}
8120
8121
8122static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8123 PyObject *obj;
8124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8125 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8126 Py_INCREF(obj);
8127 return Py_BuildValue((char *)"");
8128}
8129static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8130 PyObject *resultobj;
8131 wxWindow *arg1 = (wxWindow *) 0 ;
8132 int arg2 = (int) -1 ;
8133 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8134 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8135 wxSize const &arg4_defvalue = wxDefaultSize ;
8136 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8137 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8138 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8139 long arg6 = (long) 0 ;
8140 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8141 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8142 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8143 wxString *arg8 = (wxString *) &arg8_defvalue ;
8144 wxCheckListBox *result;
8145 wxPoint temp3 ;
8146 wxSize temp4 ;
8147 bool temp5 = false ;
8148 bool temp8 = false ;
8149 PyObject * obj0 = 0 ;
8150 PyObject * obj1 = 0 ;
8151 PyObject * obj2 = 0 ;
8152 PyObject * obj3 = 0 ;
8153 PyObject * obj4 = 0 ;
8154 PyObject * obj5 = 0 ;
8155 PyObject * obj6 = 0 ;
8156 PyObject * obj7 = 0 ;
8157 char *kwnames[] = {
8158 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8159 };
8160
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8163 if (SWIG_arg_fail(1)) SWIG_fail;
8164 if (obj1) {
8165 {
8166 arg2 = (int)(SWIG_As_int(obj1));
8167 if (SWIG_arg_fail(2)) SWIG_fail;
8168 }
8169 }
8170 if (obj2) {
8171 {
8172 arg3 = &temp3;
8173 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8174 }
8175 }
8176 if (obj3) {
8177 {
8178 arg4 = &temp4;
8179 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8180 }
8181 }
8182 if (obj4) {
8183 {
8184 if (! PySequence_Check(obj4)) {
8185 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8186 SWIG_fail;
8187 }
8188 arg5 = new wxArrayString;
8189 temp5 = true;
8190 int i, len=PySequence_Length(obj4);
8191 for (i=0; i<len; i++) {
8192 PyObject* item = PySequence_GetItem(obj4, i);
8193 wxString* s = wxString_in_helper(item);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 arg5->Add(*s);
8196 delete s;
8197 Py_DECREF(item);
8198 }
8199 }
8200 }
8201 if (obj5) {
8202 {
8203 arg6 = (long)(SWIG_As_long(obj5));
8204 if (SWIG_arg_fail(6)) SWIG_fail;
8205 }
8206 }
8207 if (obj6) {
8208 {
8209 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8210 if (SWIG_arg_fail(7)) SWIG_fail;
8211 if (arg7 == NULL) {
8212 SWIG_null_ref("wxValidator");
8213 }
8214 if (SWIG_arg_fail(7)) SWIG_fail;
8215 }
8216 }
8217 if (obj7) {
8218 {
8219 arg8 = wxString_in_helper(obj7);
8220 if (arg8 == NULL) SWIG_fail;
8221 temp8 = true;
8222 }
8223 }
8224 {
8225 if (!wxPyCheckForApp()) SWIG_fail;
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8228
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8233 {
8234 if (temp5) delete arg5;
8235 }
8236 {
8237 if (temp8)
8238 delete arg8;
8239 }
8240 return resultobj;
8241 fail:
8242 {
8243 if (temp5) delete arg5;
8244 }
8245 {
8246 if (temp8)
8247 delete arg8;
8248 }
8249 return NULL;
8250}
8251
8252
8253static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8254 PyObject *resultobj;
8255 wxCheckListBox *result;
8256 char *kwnames[] = {
8257 NULL
8258 };
8259
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8261 {
8262 if (!wxPyCheckForApp()) SWIG_fail;
8263 PyThreadState* __tstate = wxPyBeginAllowThreads();
8264 result = (wxCheckListBox *)new wxCheckListBox();
8265
8266 wxPyEndAllowThreads(__tstate);
8267 if (PyErr_Occurred()) SWIG_fail;
8268 }
8269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8270 return resultobj;
8271 fail:
8272 return NULL;
8273}
8274
8275
8276static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8277 PyObject *resultobj;
8278 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8279 wxWindow *arg2 = (wxWindow *) 0 ;
8280 int arg3 = (int) -1 ;
8281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8283 wxSize const &arg5_defvalue = wxDefaultSize ;
8284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8285 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8286 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8287 long arg7 = (long) 0 ;
8288 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8289 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8290 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8291 wxString *arg9 = (wxString *) &arg9_defvalue ;
8292 bool result;
8293 wxPoint temp4 ;
8294 wxSize temp5 ;
8295 bool temp6 = false ;
8296 bool temp9 = false ;
8297 PyObject * obj0 = 0 ;
8298 PyObject * obj1 = 0 ;
8299 PyObject * obj2 = 0 ;
8300 PyObject * obj3 = 0 ;
8301 PyObject * obj4 = 0 ;
8302 PyObject * obj5 = 0 ;
8303 PyObject * obj6 = 0 ;
8304 PyObject * obj7 = 0 ;
8305 PyObject * obj8 = 0 ;
8306 char *kwnames[] = {
8307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8308 };
8309
8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8312 if (SWIG_arg_fail(1)) SWIG_fail;
8313 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8314 if (SWIG_arg_fail(2)) SWIG_fail;
8315 if (obj2) {
8316 {
8317 arg3 = (int)(SWIG_As_int(obj2));
8318 if (SWIG_arg_fail(3)) SWIG_fail;
8319 }
8320 }
8321 if (obj3) {
8322 {
8323 arg4 = &temp4;
8324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8325 }
8326 }
8327 if (obj4) {
8328 {
8329 arg5 = &temp5;
8330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8331 }
8332 }
8333 if (obj5) {
8334 {
8335 if (! PySequence_Check(obj5)) {
8336 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8337 SWIG_fail;
8338 }
8339 arg6 = new wxArrayString;
8340 temp6 = true;
8341 int i, len=PySequence_Length(obj5);
8342 for (i=0; i<len; i++) {
8343 PyObject* item = PySequence_GetItem(obj5, i);
8344 wxString* s = wxString_in_helper(item);
8345 if (PyErr_Occurred()) SWIG_fail;
8346 arg6->Add(*s);
8347 delete s;
8348 Py_DECREF(item);
8349 }
8350 }
8351 }
8352 if (obj6) {
8353 {
8354 arg7 = (long)(SWIG_As_long(obj6));
8355 if (SWIG_arg_fail(7)) SWIG_fail;
8356 }
8357 }
8358 if (obj7) {
8359 {
8360 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8361 if (SWIG_arg_fail(8)) SWIG_fail;
8362 if (arg8 == NULL) {
8363 SWIG_null_ref("wxValidator");
8364 }
8365 if (SWIG_arg_fail(8)) SWIG_fail;
8366 }
8367 }
8368 if (obj8) {
8369 {
8370 arg9 = wxString_in_helper(obj8);
8371 if (arg9 == NULL) SWIG_fail;
8372 temp9 = true;
8373 }
8374 }
8375 {
8376 PyThreadState* __tstate = wxPyBeginAllowThreads();
8377 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8378
8379 wxPyEndAllowThreads(__tstate);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 {
8383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8384 }
8385 {
8386 if (temp6) delete arg6;
8387 }
8388 {
8389 if (temp9)
8390 delete arg9;
8391 }
8392 return resultobj;
8393 fail:
8394 {
8395 if (temp6) delete arg6;
8396 }
8397 {
8398 if (temp9)
8399 delete arg9;
8400 }
8401 return NULL;
8402}
8403
8404
8405static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj;
8407 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8408 int arg2 ;
8409 bool result;
8410 PyObject * obj0 = 0 ;
8411 PyObject * obj1 = 0 ;
8412 char *kwnames[] = {
8413 (char *) "self",(char *) "index", NULL
8414 };
8415
8416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8418 if (SWIG_arg_fail(1)) SWIG_fail;
8419 {
8420 arg2 = (int)(SWIG_As_int(obj1));
8421 if (SWIG_arg_fail(2)) SWIG_fail;
8422 }
8423 {
8424 PyThreadState* __tstate = wxPyBeginAllowThreads();
8425 result = (bool)(arg1)->IsChecked(arg2);
8426
8427 wxPyEndAllowThreads(__tstate);
8428 if (PyErr_Occurred()) SWIG_fail;
8429 }
8430 {
8431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8432 }
8433 return resultobj;
8434 fail:
8435 return NULL;
8436}
8437
8438
8439static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8440 PyObject *resultobj;
8441 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8442 int arg2 ;
8443 int arg3 = (int) true ;
8444 PyObject * obj0 = 0 ;
8445 PyObject * obj1 = 0 ;
8446 PyObject * obj2 = 0 ;
8447 char *kwnames[] = {
8448 (char *) "self",(char *) "index",(char *) "check", NULL
8449 };
8450
8451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8453 if (SWIG_arg_fail(1)) SWIG_fail;
8454 {
8455 arg2 = (int)(SWIG_As_int(obj1));
8456 if (SWIG_arg_fail(2)) SWIG_fail;
8457 }
8458 if (obj2) {
8459 {
8460 arg3 = (int)(SWIG_As_int(obj2));
8461 if (SWIG_arg_fail(3)) SWIG_fail;
8462 }
8463 }
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 (arg1)->Check(arg2,arg3);
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 Py_INCREF(Py_None); resultobj = Py_None;
8472 return resultobj;
8473 fail:
8474 return NULL;
8475}
8476
8477
8478static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
8479 PyObject *resultobj;
8480 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8481 int result;
8482 PyObject * obj0 = 0 ;
8483 char *kwnames[] = {
8484 (char *) "self", NULL
8485 };
8486
8487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
8488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8489 if (SWIG_arg_fail(1)) SWIG_fail;
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 result = (int)(arg1)->GetItemHeight();
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
8497 {
8498 resultobj = SWIG_From_int((int)(result));
8499 }
8500 return resultobj;
8501 fail:
8502 return NULL;
8503}
8504
8505
8506static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8507 PyObject *resultobj;
8508 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8509 wxPoint *arg2 = 0 ;
8510 int result;
8511 wxPoint temp2 ;
8512 PyObject * obj0 = 0 ;
8513 PyObject * obj1 = 0 ;
8514 char *kwnames[] = {
8515 (char *) "self",(char *) "pt", NULL
8516 };
8517
8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8520 if (SWIG_arg_fail(1)) SWIG_fail;
8521 {
8522 arg2 = &temp2;
8523 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8524 }
8525 {
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8528
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 {
8533 resultobj = SWIG_From_int((int)(result));
8534 }
8535 return resultobj;
8536 fail:
8537 return NULL;
8538}
8539
8540
8541static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8542 PyObject *resultobj;
8543 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8544 int arg2 ;
8545 int arg3 ;
8546 int result;
8547 PyObject * obj0 = 0 ;
8548 PyObject * obj1 = 0 ;
8549 PyObject * obj2 = 0 ;
8550 char *kwnames[] = {
8551 (char *) "self",(char *) "x",(char *) "y", NULL
8552 };
8553
8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8556 if (SWIG_arg_fail(1)) SWIG_fail;
8557 {
8558 arg2 = (int)(SWIG_As_int(obj1));
8559 if (SWIG_arg_fail(2)) SWIG_fail;
8560 }
8561 {
8562 arg3 = (int)(SWIG_As_int(obj2));
8563 if (SWIG_arg_fail(3)) SWIG_fail;
8564 }
8565 {
8566 PyThreadState* __tstate = wxPyBeginAllowThreads();
8567 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8568
8569 wxPyEndAllowThreads(__tstate);
8570 if (PyErr_Occurred()) SWIG_fail;
8571 }
8572 {
8573 resultobj = SWIG_From_int((int)(result));
8574 }
8575 return resultobj;
8576 fail:
8577 return NULL;
8578}
8579
8580
8581static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8582 PyObject *obj;
8583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8584 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8585 Py_INCREF(obj);
8586 return Py_BuildValue((char *)"");
8587}
8588static int _wrap_TextCtrlNameStr_set(PyObject *) {
8589 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8590 return 1;
8591}
8592
8593
8594static PyObject *_wrap_TextCtrlNameStr_get(void) {
8595 PyObject *pyobj;
8596
8597 {
8598#if wxUSE_UNICODE
8599 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8600#else
8601 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8602#endif
8603 }
8604 return pyobj;
8605}
8606
8607
8608static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxColour const &arg1_defvalue = wxNullColour ;
8611 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8612 wxColour const &arg2_defvalue = wxNullColour ;
8613 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8614 wxFont const &arg3_defvalue = wxNullFont ;
8615 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8616 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8617 wxTextAttr *result;
8618 wxColour temp1 ;
8619 wxColour temp2 ;
8620 PyObject * obj0 = 0 ;
8621 PyObject * obj1 = 0 ;
8622 PyObject * obj2 = 0 ;
8623 PyObject * obj3 = 0 ;
8624 char *kwnames[] = {
8625 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8626 };
8627
8628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8629 if (obj0) {
8630 {
8631 arg1 = &temp1;
8632 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8633 }
8634 }
8635 if (obj1) {
8636 {
8637 arg2 = &temp2;
8638 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8639 }
8640 }
8641 if (obj2) {
8642 {
8643 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8644 if (SWIG_arg_fail(3)) SWIG_fail;
8645 if (arg3 == NULL) {
8646 SWIG_null_ref("wxFont");
8647 }
8648 if (SWIG_arg_fail(3)) SWIG_fail;
8649 }
8650 }
8651 if (obj3) {
8652 {
8653 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8654 if (SWIG_arg_fail(4)) SWIG_fail;
8655 }
8656 }
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8660
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8665 return resultobj;
8666 fail:
8667 return NULL;
8668}
8669
8670
8671static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8672 PyObject *resultobj;
8673 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8674 PyObject * obj0 = 0 ;
8675 char *kwnames[] = {
8676 (char *) "self", NULL
8677 };
8678
8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8681 if (SWIG_arg_fail(1)) SWIG_fail;
8682 {
8683 PyThreadState* __tstate = wxPyBeginAllowThreads();
8684 delete arg1;
8685
8686 wxPyEndAllowThreads(__tstate);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
8689 Py_INCREF(Py_None); resultobj = Py_None;
8690 return resultobj;
8691 fail:
8692 return NULL;
8693}
8694
8695
8696static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8697 PyObject *resultobj;
8698 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8699 PyObject * obj0 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8706 if (SWIG_arg_fail(1)) SWIG_fail;
8707 {
8708 PyThreadState* __tstate = wxPyBeginAllowThreads();
8709 (arg1)->Init();
8710
8711 wxPyEndAllowThreads(__tstate);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
8714 Py_INCREF(Py_None); resultobj = Py_None;
8715 return resultobj;
8716 fail:
8717 return NULL;
8718}
8719
8720
8721static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8722 PyObject *resultobj;
8723 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8724 wxColour *arg2 = 0 ;
8725 wxColour temp2 ;
8726 PyObject * obj0 = 0 ;
8727 PyObject * obj1 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "self",(char *) "colText", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8734 if (SWIG_arg_fail(1)) SWIG_fail;
8735 {
8736 arg2 = &temp2;
8737 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8738 }
8739 {
8740 PyThreadState* __tstate = wxPyBeginAllowThreads();
8741 (arg1)->SetTextColour((wxColour const &)*arg2);
8742
8743 wxPyEndAllowThreads(__tstate);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 Py_INCREF(Py_None); resultobj = Py_None;
8747 return resultobj;
8748 fail:
8749 return NULL;
8750}
8751
8752
8753static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8756 wxColour *arg2 = 0 ;
8757 wxColour temp2 ;
8758 PyObject * obj0 = 0 ;
8759 PyObject * obj1 = 0 ;
8760 char *kwnames[] = {
8761 (char *) "self",(char *) "colBack", NULL
8762 };
8763
8764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8766 if (SWIG_arg_fail(1)) SWIG_fail;
8767 {
8768 arg2 = &temp2;
8769 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8770 }
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 Py_INCREF(Py_None); resultobj = Py_None;
8779 return resultobj;
8780 fail:
8781 return NULL;
8782}
8783
8784
8785static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj;
8787 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8788 wxFont *arg2 = 0 ;
8789 long arg3 = (long) wxTEXT_ATTR_FONT ;
8790 PyObject * obj0 = 0 ;
8791 PyObject * obj1 = 0 ;
8792 PyObject * obj2 = 0 ;
8793 char *kwnames[] = {
8794 (char *) "self",(char *) "font",(char *) "flags", NULL
8795 };
8796
8797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8799 if (SWIG_arg_fail(1)) SWIG_fail;
8800 {
8801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8802 if (SWIG_arg_fail(2)) SWIG_fail;
8803 if (arg2 == NULL) {
8804 SWIG_null_ref("wxFont");
8805 }
8806 if (SWIG_arg_fail(2)) SWIG_fail;
8807 }
8808 if (obj2) {
8809 {
8810 arg3 = (long)(SWIG_As_long(obj2));
8811 if (SWIG_arg_fail(3)) SWIG_fail;
8812 }
8813 }
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 Py_INCREF(Py_None); resultobj = Py_None;
8822 return resultobj;
8823 fail:
8824 return NULL;
8825}
8826
8827
8828static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8831 wxTextAttrAlignment arg2 ;
8832 PyObject * obj0 = 0 ;
8833 PyObject * obj1 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self",(char *) "alignment", NULL
8836 };
8837
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail;
8841 {
8842 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8843 if (SWIG_arg_fail(2)) SWIG_fail;
8844 }
8845 {
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
8852 Py_INCREF(Py_None); resultobj = Py_None;
8853 return resultobj;
8854 fail:
8855 return NULL;
8856}
8857
8858
8859static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
8860 PyObject *resultobj;
8861 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8862 wxArrayInt *arg2 = 0 ;
8863 bool temp2 = false ;
8864 PyObject * obj0 = 0 ;
8865 PyObject * obj1 = 0 ;
8866 char *kwnames[] = {
8867 (char *) "self",(char *) "tabs", NULL
8868 };
8869
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
8871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail;
8873 {
8874 if (! PySequence_Check(obj1)) {
8875 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8876 SWIG_fail;
8877 }
8878 arg2 = new wxArrayInt;
8879 temp2 = true;
8880 int i, len=PySequence_Length(obj1);
8881 for (i=0; i<len; i++) {
8882 PyObject* item = PySequence_GetItem(obj1, i);
8883 PyObject* number = PyNumber_Int(item);
8884 arg2->Add(PyInt_AS_LONG(number));
8885 Py_DECREF(item);
8886 Py_DECREF(number);
8887 }
8888 }
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 Py_INCREF(Py_None); resultobj = Py_None;
8897 {
8898 if (temp2) delete arg2;
8899 }
8900 return resultobj;
8901 fail:
8902 {
8903 if (temp2) delete arg2;
8904 }
8905 return NULL;
8906}
8907
8908
8909static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8912 int arg2 ;
8913 int arg3 = (int) 0 ;
8914 PyObject * obj0 = 0 ;
8915 PyObject * obj1 = 0 ;
8916 PyObject * obj2 = 0 ;
8917 char *kwnames[] = {
8918 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
8922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8923 if (SWIG_arg_fail(1)) SWIG_fail;
8924 {
8925 arg2 = (int)(SWIG_As_int(obj1));
8926 if (SWIG_arg_fail(2)) SWIG_fail;
8927 }
8928 if (obj2) {
8929 {
8930 arg3 = (int)(SWIG_As_int(obj2));
8931 if (SWIG_arg_fail(3)) SWIG_fail;
8932 }
8933 }
8934 {
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 (arg1)->SetLeftIndent(arg2,arg3);
8937
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 Py_INCREF(Py_None); resultobj = Py_None;
8942 return resultobj;
8943 fail:
8944 return NULL;
8945}
8946
8947
8948static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8951 int arg2 ;
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "self",(char *) "indent", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
8959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8960 if (SWIG_arg_fail(1)) SWIG_fail;
8961 {
8962 arg2 = (int)(SWIG_As_int(obj1));
8963 if (SWIG_arg_fail(2)) SWIG_fail;
8964 }
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
8967 (arg1)->SetRightIndent(arg2);
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 Py_INCREF(Py_None); resultobj = Py_None;
8973 return resultobj;
8974 fail:
8975 return NULL;
8976}
8977
8978
8979static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8980 PyObject *resultobj;
8981 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8982 long arg2 ;
8983 PyObject * obj0 = 0 ;
8984 PyObject * obj1 = 0 ;
8985 char *kwnames[] = {
8986 (char *) "self",(char *) "flags", NULL
8987 };
8988
8989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8991 if (SWIG_arg_fail(1)) SWIG_fail;
8992 {
8993 arg2 = (long)(SWIG_As_long(obj1));
8994 if (SWIG_arg_fail(2)) SWIG_fail;
8995 }
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 (arg1)->SetFlags(arg2);
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 Py_INCREF(Py_None); resultobj = Py_None;
9004 return resultobj;
9005 fail:
9006 return NULL;
9007}
9008
9009
9010static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj;
9012 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9013 bool result;
9014 PyObject * obj0 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9021 if (SWIG_arg_fail(1)) SWIG_fail;
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 {
9030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9031 }
9032 return resultobj;
9033 fail:
9034 return NULL;
9035}
9036
9037
9038static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9039 PyObject *resultobj;
9040 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9041 bool result;
9042 PyObject * obj0 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "self", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9049 if (SWIG_arg_fail(1)) SWIG_fail;
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 {
9058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9059 }
9060 return resultobj;
9061 fail:
9062 return NULL;
9063}
9064
9065
9066static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9067 PyObject *resultobj;
9068 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9069 bool result;
9070 PyObject * obj0 = 0 ;
9071 char *kwnames[] = {
9072 (char *) "self", NULL
9073 };
9074
9075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9077 if (SWIG_arg_fail(1)) SWIG_fail;
9078 {
9079 PyThreadState* __tstate = wxPyBeginAllowThreads();
9080 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9081
9082 wxPyEndAllowThreads(__tstate);
9083 if (PyErr_Occurred()) SWIG_fail;
9084 }
9085 {
9086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9087 }
9088 return resultobj;
9089 fail:
9090 return NULL;
9091}
9092
9093
9094static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj;
9096 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9097 bool result;
9098 PyObject * obj0 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self", NULL
9101 };
9102
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9105 if (SWIG_arg_fail(1)) SWIG_fail;
9106 {
9107 PyThreadState* __tstate = wxPyBeginAllowThreads();
9108 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9109
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
9113 {
9114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9115 }
9116 return resultobj;
9117 fail:
9118 return NULL;
9119}
9120
9121
9122static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj;
9124 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9125 bool result;
9126 PyObject * obj0 = 0 ;
9127 char *kwnames[] = {
9128 (char *) "self", NULL
9129 };
9130
9131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9133 if (SWIG_arg_fail(1)) SWIG_fail;
9134 {
9135 PyThreadState* __tstate = wxPyBeginAllowThreads();
9136 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9137
9138 wxPyEndAllowThreads(__tstate);
9139 if (PyErr_Occurred()) SWIG_fail;
9140 }
9141 {
9142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9143 }
9144 return resultobj;
9145 fail:
9146 return NULL;
9147}
9148
9149
9150static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9151 PyObject *resultobj;
9152 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9153 bool result;
9154 PyObject * obj0 = 0 ;
9155 char *kwnames[] = {
9156 (char *) "self", NULL
9157 };
9158
9159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9161 if (SWIG_arg_fail(1)) SWIG_fail;
9162 {
9163 PyThreadState* __tstate = wxPyBeginAllowThreads();
9164 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9165
9166 wxPyEndAllowThreads(__tstate);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
9169 {
9170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9171 }
9172 return resultobj;
9173 fail:
9174 return NULL;
9175}
9176
9177
9178static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9179 PyObject *resultobj;
9180 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9181 bool result;
9182 PyObject * obj0 = 0 ;
9183 char *kwnames[] = {
9184 (char *) "self", NULL
9185 };
9186
9187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9189 if (SWIG_arg_fail(1)) SWIG_fail;
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 {
9198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9199 }
9200 return resultobj;
9201 fail:
9202 return NULL;
9203}
9204
9205
9206static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9207 PyObject *resultobj;
9208 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9209 long arg2 ;
9210 bool result;
9211 PyObject * obj0 = 0 ;
9212 PyObject * obj1 = 0 ;
9213 char *kwnames[] = {
9214 (char *) "self",(char *) "flag", NULL
9215 };
9216
9217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9219 if (SWIG_arg_fail(1)) SWIG_fail;
9220 {
9221 arg2 = (long)(SWIG_As_long(obj1));
9222 if (SWIG_arg_fail(2)) SWIG_fail;
9223 }
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9227
9228 wxPyEndAllowThreads(__tstate);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
9231 {
9232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9233 }
9234 return resultobj;
9235 fail:
9236 return NULL;
9237}
9238
9239
9240static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9243 wxColour *result;
9244 PyObject * obj0 = 0 ;
9245 char *kwnames[] = {
9246 (char *) "self", NULL
9247 };
9248
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9251 if (SWIG_arg_fail(1)) SWIG_fail;
9252 {
9253 PyThreadState* __tstate = wxPyBeginAllowThreads();
9254 {
9255 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9256 result = (wxColour *) &_result_ref;
9257 }
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9263 return resultobj;
9264 fail:
9265 return NULL;
9266}
9267
9268
9269static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj;
9271 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9272 wxColour *result;
9273 PyObject * obj0 = 0 ;
9274 char *kwnames[] = {
9275 (char *) "self", NULL
9276 };
9277
9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail;
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 {
9284 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9285 result = (wxColour *) &_result_ref;
9286 }
9287
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9292 return resultobj;
9293 fail:
9294 return NULL;
9295}
9296
9297
9298static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj;
9300 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9301 wxFont *result;
9302 PyObject * obj0 = 0 ;
9303 char *kwnames[] = {
9304 (char *) "self", NULL
9305 };
9306
9307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9309 if (SWIG_arg_fail(1)) SWIG_fail;
9310 {
9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
9312 {
9313 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9314 result = (wxFont *) &_result_ref;
9315 }
9316
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 {
9321 wxFont* resultptr = new wxFont(*result);
9322 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9323 }
9324 return resultobj;
9325 fail:
9326 return NULL;
9327}
9328
9329
9330static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9331 PyObject *resultobj;
9332 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9333 wxTextAttrAlignment result;
9334 PyObject * obj0 = 0 ;
9335 char *kwnames[] = {
9336 (char *) "self", NULL
9337 };
9338
9339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9341 if (SWIG_arg_fail(1)) SWIG_fail;
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9345
9346 wxPyEndAllowThreads(__tstate);
9347 if (PyErr_Occurred()) SWIG_fail;
9348 }
9349 resultobj = SWIG_From_int((result));
9350 return resultobj;
9351 fail:
9352 return NULL;
9353}
9354
9355
9356static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9357 PyObject *resultobj;
9358 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9359 wxArrayInt *result;
9360 PyObject * obj0 = 0 ;
9361 char *kwnames[] = {
9362 (char *) "self", NULL
9363 };
9364
9365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9367 if (SWIG_arg_fail(1)) SWIG_fail;
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 {
9371 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9372 result = (wxArrayInt *) &_result_ref;
9373 }
9374
9375 wxPyEndAllowThreads(__tstate);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 }
9378 {
9379 resultobj = PyList_New(0);
9380 size_t idx;
9381 for (idx = 0; idx < result->GetCount(); idx += 1) {
9382 PyObject* val = PyInt_FromLong( result->Item(idx) );
9383 PyList_Append(resultobj, val);
9384 Py_DECREF(val);
9385 }
9386 }
9387 return resultobj;
9388 fail:
9389 return NULL;
9390}
9391
9392
9393static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9394 PyObject *resultobj;
9395 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9396 long result;
9397 PyObject * obj0 = 0 ;
9398 char *kwnames[] = {
9399 (char *) "self", NULL
9400 };
9401
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9404 if (SWIG_arg_fail(1)) SWIG_fail;
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 {
9413 resultobj = SWIG_From_long((long)(result));
9414 }
9415 return resultobj;
9416 fail:
9417 return NULL;
9418}
9419
9420
9421static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9422 PyObject *resultobj;
9423 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9424 long result;
9425 PyObject * obj0 = 0 ;
9426 char *kwnames[] = {
9427 (char *) "self", NULL
9428 };
9429
9430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9432 if (SWIG_arg_fail(1)) SWIG_fail;
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9436
9437 wxPyEndAllowThreads(__tstate);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 }
9440 {
9441 resultobj = SWIG_From_long((long)(result));
9442 }
9443 return resultobj;
9444 fail:
9445 return NULL;
9446}
9447
9448
9449static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9450 PyObject *resultobj;
9451 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9452 long result;
9453 PyObject * obj0 = 0 ;
9454 char *kwnames[] = {
9455 (char *) "self", NULL
9456 };
9457
9458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9460 if (SWIG_arg_fail(1)) SWIG_fail;
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 {
9469 resultobj = SWIG_From_long((long)(result));
9470 }
9471 return resultobj;
9472 fail:
9473 return NULL;
9474}
9475
9476
9477static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj;
9479 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9480 long result;
9481 PyObject * obj0 = 0 ;
9482 char *kwnames[] = {
9483 (char *) "self", NULL
9484 };
9485
9486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9488 if (SWIG_arg_fail(1)) SWIG_fail;
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 {
9497 resultobj = SWIG_From_long((long)(result));
9498 }
9499 return resultobj;
9500 fail:
9501 return NULL;
9502}
9503
9504
9505static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9506 PyObject *resultobj;
9507 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9508 bool result;
9509 PyObject * obj0 = 0 ;
9510 char *kwnames[] = {
9511 (char *) "self", NULL
9512 };
9513
9514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9516 if (SWIG_arg_fail(1)) SWIG_fail;
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
9524 {
9525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9526 }
9527 return resultobj;
9528 fail:
9529 return NULL;
9530}
9531
9532
9533static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxTextAttr *arg1 = 0 ;
9536 wxTextAttr *arg2 = 0 ;
9537 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9538 wxTextAttr result;
9539 PyObject * obj0 = 0 ;
9540 PyObject * obj1 = 0 ;
9541 PyObject * obj2 = 0 ;
9542 char *kwnames[] = {
9543 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9544 };
9545
9546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9547 {
9548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9549 if (SWIG_arg_fail(1)) SWIG_fail;
9550 if (arg1 == NULL) {
9551 SWIG_null_ref("wxTextAttr");
9552 }
9553 if (SWIG_arg_fail(1)) SWIG_fail;
9554 }
9555 {
9556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9557 if (SWIG_arg_fail(2)) SWIG_fail;
9558 if (arg2 == NULL) {
9559 SWIG_null_ref("wxTextAttr");
9560 }
9561 if (SWIG_arg_fail(2)) SWIG_fail;
9562 }
9563 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9564 if (SWIG_arg_fail(3)) SWIG_fail;
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9568
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 {
9573 wxTextAttr * resultptr;
9574 resultptr = new wxTextAttr((wxTextAttr &)(result));
9575 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9576 }
9577 return resultobj;
9578 fail:
9579 return NULL;
9580}
9581
9582
9583static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9584 PyObject *obj;
9585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9586 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9587 Py_INCREF(obj);
9588 return Py_BuildValue((char *)"");
9589}
9590static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj;
9592 wxWindow *arg1 = (wxWindow *) 0 ;
9593 int arg2 = (int) -1 ;
9594 wxString const &arg3_defvalue = wxPyEmptyString ;
9595 wxString *arg3 = (wxString *) &arg3_defvalue ;
9596 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9597 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9598 wxSize const &arg5_defvalue = wxDefaultSize ;
9599 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9600 long arg6 = (long) 0 ;
9601 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9602 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9603 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9604 wxString *arg8 = (wxString *) &arg8_defvalue ;
9605 wxTextCtrl *result;
9606 bool temp3 = false ;
9607 wxPoint temp4 ;
9608 wxSize temp5 ;
9609 bool temp8 = false ;
9610 PyObject * obj0 = 0 ;
9611 PyObject * obj1 = 0 ;
9612 PyObject * obj2 = 0 ;
9613 PyObject * obj3 = 0 ;
9614 PyObject * obj4 = 0 ;
9615 PyObject * obj5 = 0 ;
9616 PyObject * obj6 = 0 ;
9617 PyObject * obj7 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9624 if (SWIG_arg_fail(1)) SWIG_fail;
9625 if (obj1) {
9626 {
9627 arg2 = (int)(SWIG_As_int(obj1));
9628 if (SWIG_arg_fail(2)) SWIG_fail;
9629 }
9630 }
9631 if (obj2) {
9632 {
9633 arg3 = wxString_in_helper(obj2);
9634 if (arg3 == NULL) SWIG_fail;
9635 temp3 = true;
9636 }
9637 }
9638 if (obj3) {
9639 {
9640 arg4 = &temp4;
9641 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9642 }
9643 }
9644 if (obj4) {
9645 {
9646 arg5 = &temp5;
9647 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9648 }
9649 }
9650 if (obj5) {
9651 {
9652 arg6 = (long)(SWIG_As_long(obj5));
9653 if (SWIG_arg_fail(6)) SWIG_fail;
9654 }
9655 }
9656 if (obj6) {
9657 {
9658 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9659 if (SWIG_arg_fail(7)) SWIG_fail;
9660 if (arg7 == NULL) {
9661 SWIG_null_ref("wxValidator");
9662 }
9663 if (SWIG_arg_fail(7)) SWIG_fail;
9664 }
9665 }
9666 if (obj7) {
9667 {
9668 arg8 = wxString_in_helper(obj7);
9669 if (arg8 == NULL) SWIG_fail;
9670 temp8 = true;
9671 }
9672 }
9673 {
9674 if (!wxPyCheckForApp()) SWIG_fail;
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9682 {
9683 if (temp3)
9684 delete arg3;
9685 }
9686 {
9687 if (temp8)
9688 delete arg8;
9689 }
9690 return resultobj;
9691 fail:
9692 {
9693 if (temp3)
9694 delete arg3;
9695 }
9696 {
9697 if (temp8)
9698 delete arg8;
9699 }
9700 return NULL;
9701}
9702
9703
9704static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9705 PyObject *resultobj;
9706 wxTextCtrl *result;
9707 char *kwnames[] = {
9708 NULL
9709 };
9710
9711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9712 {
9713 if (!wxPyCheckForApp()) SWIG_fail;
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 result = (wxTextCtrl *)new wxTextCtrl();
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9721 return resultobj;
9722 fail:
9723 return NULL;
9724}
9725
9726
9727static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj;
9729 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9730 wxWindow *arg2 = (wxWindow *) 0 ;
9731 int arg3 = (int) -1 ;
9732 wxString const &arg4_defvalue = wxPyEmptyString ;
9733 wxString *arg4 = (wxString *) &arg4_defvalue ;
9734 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9735 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9736 wxSize const &arg6_defvalue = wxDefaultSize ;
9737 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9738 long arg7 = (long) 0 ;
9739 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9740 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9741 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9742 wxString *arg9 = (wxString *) &arg9_defvalue ;
9743 bool result;
9744 bool temp4 = false ;
9745 wxPoint temp5 ;
9746 wxSize temp6 ;
9747 bool temp9 = false ;
9748 PyObject * obj0 = 0 ;
9749 PyObject * obj1 = 0 ;
9750 PyObject * obj2 = 0 ;
9751 PyObject * obj3 = 0 ;
9752 PyObject * obj4 = 0 ;
9753 PyObject * obj5 = 0 ;
9754 PyObject * obj6 = 0 ;
9755 PyObject * obj7 = 0 ;
9756 PyObject * obj8 = 0 ;
9757 char *kwnames[] = {
9758 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9759 };
9760
9761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9763 if (SWIG_arg_fail(1)) SWIG_fail;
9764 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9765 if (SWIG_arg_fail(2)) SWIG_fail;
9766 if (obj2) {
9767 {
9768 arg3 = (int)(SWIG_As_int(obj2));
9769 if (SWIG_arg_fail(3)) SWIG_fail;
9770 }
9771 }
9772 if (obj3) {
9773 {
9774 arg4 = wxString_in_helper(obj3);
9775 if (arg4 == NULL) SWIG_fail;
9776 temp4 = true;
9777 }
9778 }
9779 if (obj4) {
9780 {
9781 arg5 = &temp5;
9782 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9783 }
9784 }
9785 if (obj5) {
9786 {
9787 arg6 = &temp6;
9788 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9789 }
9790 }
9791 if (obj6) {
9792 {
9793 arg7 = (long)(SWIG_As_long(obj6));
9794 if (SWIG_arg_fail(7)) SWIG_fail;
9795 }
9796 }
9797 if (obj7) {
9798 {
9799 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9800 if (SWIG_arg_fail(8)) SWIG_fail;
9801 if (arg8 == NULL) {
9802 SWIG_null_ref("wxValidator");
9803 }
9804 if (SWIG_arg_fail(8)) SWIG_fail;
9805 }
9806 }
9807 if (obj8) {
9808 {
9809 arg9 = wxString_in_helper(obj8);
9810 if (arg9 == NULL) SWIG_fail;
9811 temp9 = true;
9812 }
9813 }
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 {
9822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9823 }
9824 {
9825 if (temp4)
9826 delete arg4;
9827 }
9828 {
9829 if (temp9)
9830 delete arg9;
9831 }
9832 return resultobj;
9833 fail:
9834 {
9835 if (temp4)
9836 delete arg4;
9837 }
9838 {
9839 if (temp9)
9840 delete arg9;
9841 }
9842 return NULL;
9843}
9844
9845
9846static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9847 PyObject *resultobj;
9848 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9849 wxString result;
9850 PyObject * obj0 = 0 ;
9851 char *kwnames[] = {
9852 (char *) "self", NULL
9853 };
9854
9855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
9856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9857 if (SWIG_arg_fail(1)) SWIG_fail;
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 result = ((wxTextCtrl const *)arg1)->GetValue();
9861
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 {
9866#if wxUSE_UNICODE
9867 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9868#else
9869 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9870#endif
9871 }
9872 return resultobj;
9873 fail:
9874 return NULL;
9875}
9876
9877
9878static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9879 PyObject *resultobj;
9880 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9881 wxString *arg2 = 0 ;
9882 bool temp2 = false ;
9883 PyObject * obj0 = 0 ;
9884 PyObject * obj1 = 0 ;
9885 char *kwnames[] = {
9886 (char *) "self",(char *) "value", NULL
9887 };
9888
9889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
9890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9891 if (SWIG_arg_fail(1)) SWIG_fail;
9892 {
9893 arg2 = wxString_in_helper(obj1);
9894 if (arg2 == NULL) SWIG_fail;
9895 temp2 = true;
9896 }
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 (arg1)->SetValue((wxString const &)*arg2);
9900
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
9904 Py_INCREF(Py_None); resultobj = Py_None;
9905 {
9906 if (temp2)
9907 delete arg2;
9908 }
9909 return resultobj;
9910 fail:
9911 {
9912 if (temp2)
9913 delete arg2;
9914 }
9915 return NULL;
9916}
9917
9918
9919static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9920 PyObject *resultobj;
9921 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9922 long arg2 ;
9923 long arg3 ;
9924 wxString result;
9925 PyObject * obj0 = 0 ;
9926 PyObject * obj1 = 0 ;
9927 PyObject * obj2 = 0 ;
9928 char *kwnames[] = {
9929 (char *) "self",(char *) "from",(char *) "to", NULL
9930 };
9931
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9934 if (SWIG_arg_fail(1)) SWIG_fail;
9935 {
9936 arg2 = (long)(SWIG_As_long(obj1));
9937 if (SWIG_arg_fail(2)) SWIG_fail;
9938 }
9939 {
9940 arg3 = (long)(SWIG_As_long(obj2));
9941 if (SWIG_arg_fail(3)) SWIG_fail;
9942 }
9943 {
9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
9945 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9946
9947 wxPyEndAllowThreads(__tstate);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 }
9950 {
9951#if wxUSE_UNICODE
9952 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9953#else
9954 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9955#endif
9956 }
9957 return resultobj;
9958 fail:
9959 return NULL;
9960}
9961
9962
9963static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
9964 PyObject *resultobj;
9965 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9966 long arg2 ;
9967 int result;
9968 PyObject * obj0 = 0 ;
9969 PyObject * obj1 = 0 ;
9970 char *kwnames[] = {
9971 (char *) "self",(char *) "lineNo", NULL
9972 };
9973
9974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
9975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9976 if (SWIG_arg_fail(1)) SWIG_fail;
9977 {
9978 arg2 = (long)(SWIG_As_long(obj1));
9979 if (SWIG_arg_fail(2)) SWIG_fail;
9980 }
9981 {
9982 PyThreadState* __tstate = wxPyBeginAllowThreads();
9983 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
9984
9985 wxPyEndAllowThreads(__tstate);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
9988 {
9989 resultobj = SWIG_From_int((int)(result));
9990 }
9991 return resultobj;
9992 fail:
9993 return NULL;
9994}
9995
9996
9997static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
9998 PyObject *resultobj;
9999 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10000 long arg2 ;
10001 wxString result;
10002 PyObject * obj0 = 0 ;
10003 PyObject * obj1 = 0 ;
10004 char *kwnames[] = {
10005 (char *) "self",(char *) "lineNo", NULL
10006 };
10007
10008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10010 if (SWIG_arg_fail(1)) SWIG_fail;
10011 {
10012 arg2 = (long)(SWIG_As_long(obj1));
10013 if (SWIG_arg_fail(2)) SWIG_fail;
10014 }
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 {
10023#if wxUSE_UNICODE
10024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10025#else
10026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10027#endif
10028 }
10029 return resultobj;
10030 fail:
10031 return NULL;
10032}
10033
10034
10035static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10036 PyObject *resultobj;
10037 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10038 int result;
10039 PyObject * obj0 = 0 ;
10040 char *kwnames[] = {
10041 (char *) "self", NULL
10042 };
10043
10044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10046 if (SWIG_arg_fail(1)) SWIG_fail;
10047 {
10048 PyThreadState* __tstate = wxPyBeginAllowThreads();
10049 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10050
10051 wxPyEndAllowThreads(__tstate);
10052 if (PyErr_Occurred()) SWIG_fail;
10053 }
10054 {
10055 resultobj = SWIG_From_int((int)(result));
10056 }
10057 return resultobj;
10058 fail:
10059 return NULL;
10060}
10061
10062
10063static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10064 PyObject *resultobj;
10065 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10066 bool result;
10067 PyObject * obj0 = 0 ;
10068 char *kwnames[] = {
10069 (char *) "self", NULL
10070 };
10071
10072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10074 if (SWIG_arg_fail(1)) SWIG_fail;
10075 {
10076 PyThreadState* __tstate = wxPyBeginAllowThreads();
10077 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10078
10079 wxPyEndAllowThreads(__tstate);
10080 if (PyErr_Occurred()) SWIG_fail;
10081 }
10082 {
10083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10084 }
10085 return resultobj;
10086 fail:
10087 return NULL;
10088}
10089
10090
10091static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10094 bool result;
10095 PyObject * obj0 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10102 if (SWIG_arg_fail(1)) SWIG_fail;
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 {
10111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10112 }
10113 return resultobj;
10114 fail:
10115 return NULL;
10116}
10117
10118
10119static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10120 PyObject *resultobj;
10121 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10122 bool result;
10123 PyObject * obj0 = 0 ;
10124 char *kwnames[] = {
10125 (char *) "self", NULL
10126 };
10127
10128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10130 if (SWIG_arg_fail(1)) SWIG_fail;
10131 {
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
10133 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10134
10135 wxPyEndAllowThreads(__tstate);
10136 if (PyErr_Occurred()) SWIG_fail;
10137 }
10138 {
10139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10140 }
10141 return resultobj;
10142 fail:
10143 return NULL;
10144}
10145
10146
10147static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10150 bool result;
10151 PyObject * obj0 = 0 ;
10152 char *kwnames[] = {
10153 (char *) "self", NULL
10154 };
10155
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10158 if (SWIG_arg_fail(1)) SWIG_fail;
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
10166 {
10167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10168 }
10169 return resultobj;
10170 fail:
10171 return NULL;
10172}
10173
10174
10175static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10176 PyObject *resultobj;
10177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10178 long *arg2 = (long *) 0 ;
10179 long *arg3 = (long *) 0 ;
10180 long temp2 ;
10181 int res2 = 0 ;
10182 long temp3 ;
10183 int res3 = 0 ;
10184 PyObject * obj0 = 0 ;
10185 char *kwnames[] = {
10186 (char *) "self", NULL
10187 };
10188
10189 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10190 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10193 if (SWIG_arg_fail(1)) SWIG_fail;
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10197
10198 wxPyEndAllowThreads(__tstate);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 Py_INCREF(Py_None); resultobj = Py_None;
10202 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10203 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10204 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10205 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10206 return resultobj;
10207 fail:
10208 return NULL;
10209}
10210
10211
10212static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10213 PyObject *resultobj;
10214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10215 wxString result;
10216 PyObject * obj0 = 0 ;
10217 char *kwnames[] = {
10218 (char *) "self", NULL
10219 };
10220
10221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10223 if (SWIG_arg_fail(1)) SWIG_fail;
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 {
10232#if wxUSE_UNICODE
10233 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10234#else
10235 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10236#endif
10237 }
10238 return resultobj;
10239 fail:
10240 return NULL;
10241}
10242
10243
10244static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj;
10246 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10247 PyObject * obj0 = 0 ;
10248 char *kwnames[] = {
10249 (char *) "self", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10254 if (SWIG_arg_fail(1)) SWIG_fail;
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 (arg1)->Clear();
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 Py_INCREF(Py_None); resultobj = Py_None;
10263 return resultobj;
10264 fail:
10265 return NULL;
10266}
10267
10268
10269static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10270 PyObject *resultobj;
10271 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10272 long arg2 ;
10273 long arg3 ;
10274 wxString *arg4 = 0 ;
10275 bool temp4 = false ;
10276 PyObject * obj0 = 0 ;
10277 PyObject * obj1 = 0 ;
10278 PyObject * obj2 = 0 ;
10279 PyObject * obj3 = 0 ;
10280 char *kwnames[] = {
10281 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10282 };
10283
10284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10286 if (SWIG_arg_fail(1)) SWIG_fail;
10287 {
10288 arg2 = (long)(SWIG_As_long(obj1));
10289 if (SWIG_arg_fail(2)) SWIG_fail;
10290 }
10291 {
10292 arg3 = (long)(SWIG_As_long(obj2));
10293 if (SWIG_arg_fail(3)) SWIG_fail;
10294 }
10295 {
10296 arg4 = wxString_in_helper(obj3);
10297 if (arg4 == NULL) SWIG_fail;
10298 temp4 = true;
10299 }
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10303
10304 wxPyEndAllowThreads(__tstate);
10305 if (PyErr_Occurred()) SWIG_fail;
10306 }
10307 Py_INCREF(Py_None); resultobj = Py_None;
10308 {
10309 if (temp4)
10310 delete arg4;
10311 }
10312 return resultobj;
10313 fail:
10314 {
10315 if (temp4)
10316 delete arg4;
10317 }
10318 return NULL;
10319}
10320
10321
10322static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj;
10324 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10325 long arg2 ;
10326 long arg3 ;
10327 PyObject * obj0 = 0 ;
10328 PyObject * obj1 = 0 ;
10329 PyObject * obj2 = 0 ;
10330 char *kwnames[] = {
10331 (char *) "self",(char *) "from",(char *) "to", NULL
10332 };
10333
10334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10336 if (SWIG_arg_fail(1)) SWIG_fail;
10337 {
10338 arg2 = (long)(SWIG_As_long(obj1));
10339 if (SWIG_arg_fail(2)) SWIG_fail;
10340 }
10341 {
10342 arg3 = (long)(SWIG_As_long(obj2));
10343 if (SWIG_arg_fail(3)) SWIG_fail;
10344 }
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 (arg1)->Remove(arg2,arg3);
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 Py_INCREF(Py_None); resultobj = Py_None;
10353 return resultobj;
10354 fail:
10355 return NULL;
10356}
10357
10358
10359static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10360 PyObject *resultobj;
10361 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10362 wxString *arg2 = 0 ;
10363 bool result;
10364 bool temp2 = false ;
10365 PyObject * obj0 = 0 ;
10366 PyObject * obj1 = 0 ;
10367 char *kwnames[] = {
10368 (char *) "self",(char *) "file", NULL
10369 };
10370
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10373 if (SWIG_arg_fail(1)) SWIG_fail;
10374 {
10375 arg2 = wxString_in_helper(obj1);
10376 if (arg2 == NULL) SWIG_fail;
10377 temp2 = true;
10378 }
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 {
10387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10388 }
10389 {
10390 if (temp2)
10391 delete arg2;
10392 }
10393 return resultobj;
10394 fail:
10395 {
10396 if (temp2)
10397 delete arg2;
10398 }
10399 return NULL;
10400}
10401
10402
10403static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10404 PyObject *resultobj;
10405 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10406 wxString const &arg2_defvalue = wxPyEmptyString ;
10407 wxString *arg2 = (wxString *) &arg2_defvalue ;
10408 bool result;
10409 bool temp2 = false ;
10410 PyObject * obj0 = 0 ;
10411 PyObject * obj1 = 0 ;
10412 char *kwnames[] = {
10413 (char *) "self",(char *) "file", NULL
10414 };
10415
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10418 if (SWIG_arg_fail(1)) SWIG_fail;
10419 if (obj1) {
10420 {
10421 arg2 = wxString_in_helper(obj1);
10422 if (arg2 == NULL) SWIG_fail;
10423 temp2 = true;
10424 }
10425 }
10426 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10429
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
10433 {
10434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10435 }
10436 {
10437 if (temp2)
10438 delete arg2;
10439 }
10440 return resultobj;
10441 fail:
10442 {
10443 if (temp2)
10444 delete arg2;
10445 }
10446 return NULL;
10447}
10448
10449
10450static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj;
10452 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10453 PyObject * obj0 = 0 ;
10454 char *kwnames[] = {
10455 (char *) "self", NULL
10456 };
10457
10458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10460 if (SWIG_arg_fail(1)) SWIG_fail;
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 (arg1)->MarkDirty();
10464
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 Py_INCREF(Py_None); resultobj = Py_None;
10469 return resultobj;
10470 fail:
10471 return NULL;
10472}
10473
10474
10475static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10476 PyObject *resultobj;
10477 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10478 PyObject * obj0 = 0 ;
10479 char *kwnames[] = {
10480 (char *) "self", NULL
10481 };
10482
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10485 if (SWIG_arg_fail(1)) SWIG_fail;
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 (arg1)->DiscardEdits();
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
10493 Py_INCREF(Py_None); resultobj = Py_None;
10494 return resultobj;
10495 fail:
10496 return NULL;
10497}
10498
10499
10500static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10501 PyObject *resultobj;
10502 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10503 unsigned long arg2 ;
10504 PyObject * obj0 = 0 ;
10505 PyObject * obj1 = 0 ;
10506 char *kwnames[] = {
10507 (char *) "self",(char *) "len", NULL
10508 };
10509
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10512 if (SWIG_arg_fail(1)) SWIG_fail;
10513 {
10514 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10515 if (SWIG_arg_fail(2)) SWIG_fail;
10516 }
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 (arg1)->SetMaxLength(arg2);
10520
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 Py_INCREF(Py_None); resultobj = Py_None;
10525 return resultobj;
10526 fail:
10527 return NULL;
10528}
10529
10530
10531static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10532 PyObject *resultobj;
10533 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10534 wxString *arg2 = 0 ;
10535 bool temp2 = false ;
10536 PyObject * obj0 = 0 ;
10537 PyObject * obj1 = 0 ;
10538 char *kwnames[] = {
10539 (char *) "self",(char *) "text", NULL
10540 };
10541
10542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10544 if (SWIG_arg_fail(1)) SWIG_fail;
10545 {
10546 arg2 = wxString_in_helper(obj1);
10547 if (arg2 == NULL) SWIG_fail;
10548 temp2 = true;
10549 }
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 (arg1)->WriteText((wxString const &)*arg2);
10553
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 Py_INCREF(Py_None); resultobj = Py_None;
10558 {
10559 if (temp2)
10560 delete arg2;
10561 }
10562 return resultobj;
10563 fail:
10564 {
10565 if (temp2)
10566 delete arg2;
10567 }
10568 return NULL;
10569}
10570
10571
10572static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj;
10574 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10575 wxString *arg2 = 0 ;
10576 bool temp2 = false ;
10577 PyObject * obj0 = 0 ;
10578 PyObject * obj1 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self",(char *) "text", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10585 if (SWIG_arg_fail(1)) SWIG_fail;
10586 {
10587 arg2 = wxString_in_helper(obj1);
10588 if (arg2 == NULL) SWIG_fail;
10589 temp2 = true;
10590 }
10591 {
10592 PyThreadState* __tstate = wxPyBeginAllowThreads();
10593 (arg1)->AppendText((wxString const &)*arg2);
10594
10595 wxPyEndAllowThreads(__tstate);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 Py_INCREF(Py_None); resultobj = Py_None;
10599 {
10600 if (temp2)
10601 delete arg2;
10602 }
10603 return resultobj;
10604 fail:
10605 {
10606 if (temp2)
10607 delete arg2;
10608 }
10609 return NULL;
10610}
10611
10612
10613static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10614 PyObject *resultobj;
10615 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10616 wxKeyEvent *arg2 = 0 ;
10617 bool result;
10618 PyObject * obj0 = 0 ;
10619 PyObject * obj1 = 0 ;
10620 char *kwnames[] = {
10621 (char *) "self",(char *) "event", NULL
10622 };
10623
10624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10626 if (SWIG_arg_fail(1)) SWIG_fail;
10627 {
10628 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10629 if (SWIG_arg_fail(2)) SWIG_fail;
10630 if (arg2 == NULL) {
10631 SWIG_null_ref("wxKeyEvent");
10632 }
10633 if (SWIG_arg_fail(2)) SWIG_fail;
10634 }
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 {
10643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10644 }
10645 return resultobj;
10646 fail:
10647 return NULL;
10648}
10649
10650
10651static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10652 PyObject *resultobj;
10653 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10654 long arg2 ;
10655 long arg3 ;
10656 wxTextAttr *arg4 = 0 ;
10657 bool result;
10658 PyObject * obj0 = 0 ;
10659 PyObject * obj1 = 0 ;
10660 PyObject * obj2 = 0 ;
10661 PyObject * obj3 = 0 ;
10662 char *kwnames[] = {
10663 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10664 };
10665
10666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10668 if (SWIG_arg_fail(1)) SWIG_fail;
10669 {
10670 arg2 = (long)(SWIG_As_long(obj1));
10671 if (SWIG_arg_fail(2)) SWIG_fail;
10672 }
10673 {
10674 arg3 = (long)(SWIG_As_long(obj2));
10675 if (SWIG_arg_fail(3)) SWIG_fail;
10676 }
10677 {
10678 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10679 if (SWIG_arg_fail(4)) SWIG_fail;
10680 if (arg4 == NULL) {
10681 SWIG_null_ref("wxTextAttr");
10682 }
10683 if (SWIG_arg_fail(4)) SWIG_fail;
10684 }
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 {
10693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10694 }
10695 return resultobj;
10696 fail:
10697 return NULL;
10698}
10699
10700
10701static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10702 PyObject *resultobj;
10703 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10704 long arg2 ;
10705 wxTextAttr *arg3 = 0 ;
10706 bool result;
10707 PyObject * obj0 = 0 ;
10708 PyObject * obj1 = 0 ;
10709 PyObject * obj2 = 0 ;
10710 char *kwnames[] = {
10711 (char *) "self",(char *) "position",(char *) "style", NULL
10712 };
10713
10714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10716 if (SWIG_arg_fail(1)) SWIG_fail;
10717 {
10718 arg2 = (long)(SWIG_As_long(obj1));
10719 if (SWIG_arg_fail(2)) SWIG_fail;
10720 }
10721 {
10722 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10723 if (SWIG_arg_fail(3)) SWIG_fail;
10724 if (arg3 == NULL) {
10725 SWIG_null_ref("wxTextAttr");
10726 }
10727 if (SWIG_arg_fail(3)) SWIG_fail;
10728 }
10729 {
10730 PyThreadState* __tstate = wxPyBeginAllowThreads();
10731 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10732
10733 wxPyEndAllowThreads(__tstate);
10734 if (PyErr_Occurred()) SWIG_fail;
10735 }
10736 {
10737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10738 }
10739 return resultobj;
10740 fail:
10741 return NULL;
10742}
10743
10744
10745static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10746 PyObject *resultobj;
10747 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10748 wxTextAttr *arg2 = 0 ;
10749 bool result;
10750 PyObject * obj0 = 0 ;
10751 PyObject * obj1 = 0 ;
10752 char *kwnames[] = {
10753 (char *) "self",(char *) "style", NULL
10754 };
10755
10756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10758 if (SWIG_arg_fail(1)) SWIG_fail;
10759 {
10760 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10761 if (SWIG_arg_fail(2)) SWIG_fail;
10762 if (arg2 == NULL) {
10763 SWIG_null_ref("wxTextAttr");
10764 }
10765 if (SWIG_arg_fail(2)) SWIG_fail;
10766 }
10767 {
10768 PyThreadState* __tstate = wxPyBeginAllowThreads();
10769 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10770
10771 wxPyEndAllowThreads(__tstate);
10772 if (PyErr_Occurred()) SWIG_fail;
10773 }
10774 {
10775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10776 }
10777 return resultobj;
10778 fail:
10779 return NULL;
10780}
10781
10782
10783static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10784 PyObject *resultobj;
10785 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10786 wxTextAttr *result;
10787 PyObject * obj0 = 0 ;
10788 char *kwnames[] = {
10789 (char *) "self", NULL
10790 };
10791
10792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
10793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10794 if (SWIG_arg_fail(1)) SWIG_fail;
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 {
10798 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10799 result = (wxTextAttr *) &_result_ref;
10800 }
10801
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10806 return resultobj;
10807 fail:
10808 return NULL;
10809}
10810
10811
10812static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10813 PyObject *resultobj;
10814 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10815 long arg2 ;
10816 long arg3 ;
10817 long result;
10818 PyObject * obj0 = 0 ;
10819 PyObject * obj1 = 0 ;
10820 PyObject * obj2 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "self",(char *) "x",(char *) "y", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
10826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10827 if (SWIG_arg_fail(1)) SWIG_fail;
10828 {
10829 arg2 = (long)(SWIG_As_long(obj1));
10830 if (SWIG_arg_fail(2)) SWIG_fail;
10831 }
10832 {
10833 arg3 = (long)(SWIG_As_long(obj2));
10834 if (SWIG_arg_fail(3)) SWIG_fail;
10835 }
10836 {
10837 PyThreadState* __tstate = wxPyBeginAllowThreads();
10838 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10839
10840 wxPyEndAllowThreads(__tstate);
10841 if (PyErr_Occurred()) SWIG_fail;
10842 }
10843 {
10844 resultobj = SWIG_From_long((long)(result));
10845 }
10846 return resultobj;
10847 fail:
10848 return NULL;
10849}
10850
10851
10852static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
10853 PyObject *resultobj;
10854 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10855 long arg2 ;
10856 long *arg3 = (long *) 0 ;
10857 long *arg4 = (long *) 0 ;
10858 long temp3 ;
10859 int res3 = 0 ;
10860 long temp4 ;
10861 int res4 = 0 ;
10862 PyObject * obj0 = 0 ;
10863 PyObject * obj1 = 0 ;
10864 char *kwnames[] = {
10865 (char *) "self",(char *) "pos", NULL
10866 };
10867
10868 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10869 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
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 }
10877 {
10878 PyThreadState* __tstate = wxPyBeginAllowThreads();
10879 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10880
10881 wxPyEndAllowThreads(__tstate);
10882 if (PyErr_Occurred()) SWIG_fail;
10883 }
10884 Py_INCREF(Py_None); resultobj = Py_None;
10885 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10886 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10887 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10888 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10889 return resultobj;
10890 fail:
10891 return NULL;
10892}
10893
10894
10895static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10896 PyObject *resultobj;
10897 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10898 long arg2 ;
10899 PyObject * obj0 = 0 ;
10900 PyObject * obj1 = 0 ;
10901 char *kwnames[] = {
10902 (char *) "self",(char *) "pos", NULL
10903 };
10904
10905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
10906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10907 if (SWIG_arg_fail(1)) SWIG_fail;
10908 {
10909 arg2 = (long)(SWIG_As_long(obj1));
10910 if (SWIG_arg_fail(2)) SWIG_fail;
10911 }
10912 {
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 (arg1)->ShowPosition(arg2);
10915
10916 wxPyEndAllowThreads(__tstate);
10917 if (PyErr_Occurred()) SWIG_fail;
10918 }
10919 Py_INCREF(Py_None); resultobj = Py_None;
10920 return resultobj;
10921 fail:
10922 return NULL;
10923}
10924
10925
10926static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
10927 PyObject *resultobj;
10928 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10929 wxPoint *arg2 = 0 ;
10930 long *arg3 = (long *) 0 ;
10931 long *arg4 = (long *) 0 ;
10932 wxTextCtrlHitTestResult result;
10933 wxPoint temp2 ;
10934 long temp3 ;
10935 int res3 = 0 ;
10936 long temp4 ;
10937 int res4 = 0 ;
10938 PyObject * obj0 = 0 ;
10939 PyObject * obj1 = 0 ;
10940 char *kwnames[] = {
10941 (char *) "self",(char *) "pt", NULL
10942 };
10943
10944 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10945 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
10947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10948 if (SWIG_arg_fail(1)) SWIG_fail;
10949 {
10950 arg2 = &temp2;
10951 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10952 }
10953 {
10954 PyThreadState* __tstate = wxPyBeginAllowThreads();
10955 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
10956
10957 wxPyEndAllowThreads(__tstate);
10958 if (PyErr_Occurred()) SWIG_fail;
10959 }
10960 resultobj = SWIG_From_int((result));
10961 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10962 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10963 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10964 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10965 return resultobj;
10966 fail:
10967 return NULL;
10968}
10969
10970
10971static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
10972 PyObject *resultobj;
10973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10974 wxPoint *arg2 = 0 ;
10975 long *arg3 = (long *) 0 ;
10976 wxTextCtrlHitTestResult result;
10977 wxPoint temp2 ;
10978 long temp3 ;
10979 int res3 = 0 ;
10980 PyObject * obj0 = 0 ;
10981 PyObject * obj1 = 0 ;
10982 char *kwnames[] = {
10983 (char *) "self",(char *) "pt", NULL
10984 };
10985
10986 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
10988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10989 if (SWIG_arg_fail(1)) SWIG_fail;
10990 {
10991 arg2 = &temp2;
10992 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10993 }
10994 {
10995 PyThreadState* __tstate = wxPyBeginAllowThreads();
10996 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
10997
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 resultobj = SWIG_From_int((result));
11002 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11003 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11004 return resultobj;
11005 fail:
11006 return NULL;
11007}
11008
11009
11010static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj;
11012 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11013 PyObject * obj0 = 0 ;
11014 char *kwnames[] = {
11015 (char *) "self", NULL
11016 };
11017
11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11020 if (SWIG_arg_fail(1)) SWIG_fail;
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 (arg1)->Copy();
11024
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
11028 Py_INCREF(Py_None); resultobj = Py_None;
11029 return resultobj;
11030 fail:
11031 return NULL;
11032}
11033
11034
11035static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11036 PyObject *resultobj;
11037 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11038 PyObject * obj0 = 0 ;
11039 char *kwnames[] = {
11040 (char *) "self", NULL
11041 };
11042
11043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11045 if (SWIG_arg_fail(1)) SWIG_fail;
11046 {
11047 PyThreadState* __tstate = wxPyBeginAllowThreads();
11048 (arg1)->Cut();
11049
11050 wxPyEndAllowThreads(__tstate);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 }
11053 Py_INCREF(Py_None); resultobj = Py_None;
11054 return resultobj;
11055 fail:
11056 return NULL;
11057}
11058
11059
11060static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11061 PyObject *resultobj;
11062 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11063 PyObject * obj0 = 0 ;
11064 char *kwnames[] = {
11065 (char *) "self", NULL
11066 };
11067
11068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11070 if (SWIG_arg_fail(1)) SWIG_fail;
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 (arg1)->Paste();
11074
11075 wxPyEndAllowThreads(__tstate);
11076 if (PyErr_Occurred()) SWIG_fail;
11077 }
11078 Py_INCREF(Py_None); resultobj = Py_None;
11079 return resultobj;
11080 fail:
11081 return NULL;
11082}
11083
11084
11085static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11086 PyObject *resultobj;
11087 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11088 bool result;
11089 PyObject * obj0 = 0 ;
11090 char *kwnames[] = {
11091 (char *) "self", NULL
11092 };
11093
11094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11096 if (SWIG_arg_fail(1)) SWIG_fail;
11097 {
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11100
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 {
11105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11106 }
11107 return resultobj;
11108 fail:
11109 return NULL;
11110}
11111
11112
11113static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj;
11115 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11116 bool result;
11117 PyObject * obj0 = 0 ;
11118 char *kwnames[] = {
11119 (char *) "self", NULL
11120 };
11121
11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11124 if (SWIG_arg_fail(1)) SWIG_fail;
11125 {
11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
11127 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11128
11129 wxPyEndAllowThreads(__tstate);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 }
11132 {
11133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11134 }
11135 return resultobj;
11136 fail:
11137 return NULL;
11138}
11139
11140
11141static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11142 PyObject *resultobj;
11143 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11144 bool result;
11145 PyObject * obj0 = 0 ;
11146 char *kwnames[] = {
11147 (char *) "self", NULL
11148 };
11149
11150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11152 if (SWIG_arg_fail(1)) SWIG_fail;
11153 {
11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
11155 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11156
11157 wxPyEndAllowThreads(__tstate);
11158 if (PyErr_Occurred()) SWIG_fail;
11159 }
11160 {
11161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11162 }
11163 return resultobj;
11164 fail:
11165 return NULL;
11166}
11167
11168
11169static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11170 PyObject *resultobj;
11171 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11172 PyObject * obj0 = 0 ;
11173 char *kwnames[] = {
11174 (char *) "self", NULL
11175 };
11176
11177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11179 if (SWIG_arg_fail(1)) SWIG_fail;
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
11182 (arg1)->Undo();
11183
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 Py_INCREF(Py_None); resultobj = Py_None;
11188 return resultobj;
11189 fail:
11190 return NULL;
11191}
11192
11193
11194static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj;
11196 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11197 PyObject * obj0 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "self", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11204 if (SWIG_arg_fail(1)) SWIG_fail;
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 (arg1)->Redo();
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 Py_INCREF(Py_None); resultobj = Py_None;
11213 return resultobj;
11214 fail:
11215 return NULL;
11216}
11217
11218
11219static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj;
11221 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11222 bool result;
11223 PyObject * obj0 = 0 ;
11224 char *kwnames[] = {
11225 (char *) "self", NULL
11226 };
11227
11228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11230 if (SWIG_arg_fail(1)) SWIG_fail;
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
11233 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 {
11239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11240 }
11241 return resultobj;
11242 fail:
11243 return NULL;
11244}
11245
11246
11247static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11248 PyObject *resultobj;
11249 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11250 bool result;
11251 PyObject * obj0 = 0 ;
11252 char *kwnames[] = {
11253 (char *) "self", NULL
11254 };
11255
11256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11258 if (SWIG_arg_fail(1)) SWIG_fail;
11259 {
11260 PyThreadState* __tstate = wxPyBeginAllowThreads();
11261 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11262
11263 wxPyEndAllowThreads(__tstate);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 {
11267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11268 }
11269 return resultobj;
11270 fail:
11271 return NULL;
11272}
11273
11274
11275static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11276 PyObject *resultobj;
11277 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11278 long arg2 ;
11279 PyObject * obj0 = 0 ;
11280 PyObject * obj1 = 0 ;
11281 char *kwnames[] = {
11282 (char *) "self",(char *) "pos", NULL
11283 };
11284
11285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11287 if (SWIG_arg_fail(1)) SWIG_fail;
11288 {
11289 arg2 = (long)(SWIG_As_long(obj1));
11290 if (SWIG_arg_fail(2)) SWIG_fail;
11291 }
11292 {
11293 PyThreadState* __tstate = wxPyBeginAllowThreads();
11294 (arg1)->SetInsertionPoint(arg2);
11295
11296 wxPyEndAllowThreads(__tstate);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 }
11299 Py_INCREF(Py_None); resultobj = Py_None;
11300 return resultobj;
11301 fail:
11302 return NULL;
11303}
11304
11305
11306static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11307 PyObject *resultobj;
11308 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11309 PyObject * obj0 = 0 ;
11310 char *kwnames[] = {
11311 (char *) "self", NULL
11312 };
11313
11314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11316 if (SWIG_arg_fail(1)) SWIG_fail;
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 (arg1)->SetInsertionPointEnd();
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 Py_INCREF(Py_None); resultobj = Py_None;
11325 return resultobj;
11326 fail:
11327 return NULL;
11328}
11329
11330
11331static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11332 PyObject *resultobj;
11333 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11334 long result;
11335 PyObject * obj0 = 0 ;
11336 char *kwnames[] = {
11337 (char *) "self", NULL
11338 };
11339
11340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11342 if (SWIG_arg_fail(1)) SWIG_fail;
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 {
11351 resultobj = SWIG_From_long((long)(result));
11352 }
11353 return resultobj;
11354 fail:
11355 return NULL;
11356}
11357
11358
11359static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11360 PyObject *resultobj;
11361 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11362 long result;
11363 PyObject * obj0 = 0 ;
11364 char *kwnames[] = {
11365 (char *) "self", NULL
11366 };
11367
11368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11370 if (SWIG_arg_fail(1)) SWIG_fail;
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11374
11375 wxPyEndAllowThreads(__tstate);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 }
11378 {
11379 resultobj = SWIG_From_long((long)(result));
11380 }
11381 return resultobj;
11382 fail:
11383 return NULL;
11384}
11385
11386
11387static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11388 PyObject *resultobj;
11389 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11390 long arg2 ;
11391 long arg3 ;
11392 PyObject * obj0 = 0 ;
11393 PyObject * obj1 = 0 ;
11394 PyObject * obj2 = 0 ;
11395 char *kwnames[] = {
11396 (char *) "self",(char *) "from",(char *) "to", NULL
11397 };
11398
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11401 if (SWIG_arg_fail(1)) SWIG_fail;
11402 {
11403 arg2 = (long)(SWIG_As_long(obj1));
11404 if (SWIG_arg_fail(2)) SWIG_fail;
11405 }
11406 {
11407 arg3 = (long)(SWIG_As_long(obj2));
11408 if (SWIG_arg_fail(3)) SWIG_fail;
11409 }
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 (arg1)->SetSelection(arg2,arg3);
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 Py_INCREF(Py_None); resultobj = Py_None;
11418 return resultobj;
11419 fail:
11420 return NULL;
11421}
11422
11423
11424static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj;
11426 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11427 PyObject * obj0 = 0 ;
11428 char *kwnames[] = {
11429 (char *) "self", NULL
11430 };
11431
11432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11434 if (SWIG_arg_fail(1)) SWIG_fail;
11435 {
11436 PyThreadState* __tstate = wxPyBeginAllowThreads();
11437 (arg1)->SelectAll();
11438
11439 wxPyEndAllowThreads(__tstate);
11440 if (PyErr_Occurred()) SWIG_fail;
11441 }
11442 Py_INCREF(Py_None); resultobj = Py_None;
11443 return resultobj;
11444 fail:
11445 return NULL;
11446}
11447
11448
11449static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11450 PyObject *resultobj;
11451 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11452 bool arg2 ;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj1 = 0 ;
11455 char *kwnames[] = {
11456 (char *) "self",(char *) "editable", NULL
11457 };
11458
11459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11461 if (SWIG_arg_fail(1)) SWIG_fail;
11462 {
11463 arg2 = (bool)(SWIG_As_bool(obj1));
11464 if (SWIG_arg_fail(2)) SWIG_fail;
11465 }
11466 {
11467 PyThreadState* __tstate = wxPyBeginAllowThreads();
11468 (arg1)->SetEditable(arg2);
11469
11470 wxPyEndAllowThreads(__tstate);
11471 if (PyErr_Occurred()) SWIG_fail;
11472 }
11473 Py_INCREF(Py_None); resultobj = Py_None;
11474 return resultobj;
11475 fail:
11476 return NULL;
11477}
11478
11479
11480static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
11481 PyObject *resultobj;
11482 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11483 bool arg2 = (bool) true ;
11484 bool result;
11485 PyObject * obj0 = 0 ;
11486 PyObject * obj1 = 0 ;
11487 char *kwnames[] = {
11488 (char *) "self",(char *) "show", NULL
11489 };
11490
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
11492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11493 if (SWIG_arg_fail(1)) SWIG_fail;
11494 if (obj1) {
11495 {
11496 arg2 = (bool)(SWIG_As_bool(obj1));
11497 if (SWIG_arg_fail(2)) SWIG_fail;
11498 }
11499 }
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 result = (bool)(arg1)->ShowNativeCaret(arg2);
11503
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 {
11508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11509 }
11510 return resultobj;
11511 fail:
11512 return NULL;
11513}
11514
11515
11516static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
11517 PyObject *resultobj;
11518 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11519 bool result;
11520 PyObject * obj0 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
11526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail;
11528 {
11529 PyThreadState* __tstate = wxPyBeginAllowThreads();
11530 result = (bool)(arg1)->HideNativeCaret();
11531
11532 wxPyEndAllowThreads(__tstate);
11533 if (PyErr_Occurred()) SWIG_fail;
11534 }
11535 {
11536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11537 }
11538 return resultobj;
11539 fail:
11540 return NULL;
11541}
11542
11543
11544static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11545 PyObject *resultobj;
11546 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11547 wxString *arg2 = 0 ;
11548 bool temp2 = false ;
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 char *kwnames[] = {
11552 (char *) "self",(char *) "text", NULL
11553 };
11554
11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11557 if (SWIG_arg_fail(1)) SWIG_fail;
11558 {
11559 arg2 = wxString_in_helper(obj1);
11560 if (arg2 == NULL) SWIG_fail;
11561 temp2 = true;
11562 }
11563 {
11564 PyThreadState* __tstate = wxPyBeginAllowThreads();
11565 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11566
11567 wxPyEndAllowThreads(__tstate);
11568 if (PyErr_Occurred()) SWIG_fail;
11569 }
11570 Py_INCREF(Py_None); resultobj = Py_None;
11571 {
11572 if (temp2)
11573 delete arg2;
11574 }
11575 return resultobj;
11576 fail:
11577 {
11578 if (temp2)
11579 delete arg2;
11580 }
11581 return NULL;
11582}
11583
11584
11585static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11586 PyObject *resultobj;
11587 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11588 long arg2 ;
11589 long arg3 ;
11590 wxString result;
11591 PyObject * obj0 = 0 ;
11592 PyObject * obj1 = 0 ;
11593 PyObject * obj2 = 0 ;
11594 char *kwnames[] = {
11595 (char *) "self",(char *) "from",(char *) "to", NULL
11596 };
11597
11598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11600 if (SWIG_arg_fail(1)) SWIG_fail;
11601 {
11602 arg2 = (long)(SWIG_As_long(obj1));
11603 if (SWIG_arg_fail(2)) SWIG_fail;
11604 }
11605 {
11606 arg3 = (long)(SWIG_As_long(obj2));
11607 if (SWIG_arg_fail(3)) SWIG_fail;
11608 }
11609 {
11610 PyThreadState* __tstate = wxPyBeginAllowThreads();
11611 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11612
11613 wxPyEndAllowThreads(__tstate);
11614 if (PyErr_Occurred()) SWIG_fail;
11615 }
11616 {
11617#if wxUSE_UNICODE
11618 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11619#else
11620 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11621#endif
11622 }
11623 return resultobj;
11624 fail:
11625 return NULL;
11626}
11627
11628
11629static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj;
11631 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11632 wxVisualAttributes result;
11633 PyObject * obj0 = 0 ;
11634 char *kwnames[] = {
11635 (char *) "variant", NULL
11636 };
11637
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11639 if (obj0) {
11640 {
11641 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11642 if (SWIG_arg_fail(1)) SWIG_fail;
11643 }
11644 }
11645 {
11646 if (!wxPyCheckForApp()) SWIG_fail;
11647 PyThreadState* __tstate = wxPyBeginAllowThreads();
11648 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11649
11650 wxPyEndAllowThreads(__tstate);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
11653 {
11654 wxVisualAttributes * resultptr;
11655 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
11656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11657 }
11658 return resultobj;
11659 fail:
11660 return NULL;
11661}
11662
11663
11664static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11665 PyObject *obj;
11666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11667 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11668 Py_INCREF(obj);
11669 return Py_BuildValue((char *)"");
11670}
11671static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11672 PyObject *resultobj;
11673 int arg1 ;
11674 wxMouseEvent *arg2 = 0 ;
11675 long arg3 ;
11676 long arg4 ;
11677 wxTextUrlEvent *result;
11678 PyObject * obj0 = 0 ;
11679 PyObject * obj1 = 0 ;
11680 PyObject * obj2 = 0 ;
11681 PyObject * obj3 = 0 ;
11682 char *kwnames[] = {
11683 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11684 };
11685
11686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11687 {
11688 arg1 = (int)(SWIG_As_int(obj0));
11689 if (SWIG_arg_fail(1)) SWIG_fail;
11690 }
11691 {
11692 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11693 if (SWIG_arg_fail(2)) SWIG_fail;
11694 if (arg2 == NULL) {
11695 SWIG_null_ref("wxMouseEvent");
11696 }
11697 if (SWIG_arg_fail(2)) SWIG_fail;
11698 }
11699 {
11700 arg3 = (long)(SWIG_As_long(obj2));
11701 if (SWIG_arg_fail(3)) SWIG_fail;
11702 }
11703 {
11704 arg4 = (long)(SWIG_As_long(obj3));
11705 if (SWIG_arg_fail(4)) SWIG_fail;
11706 }
11707 {
11708 PyThreadState* __tstate = wxPyBeginAllowThreads();
11709 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11710
11711 wxPyEndAllowThreads(__tstate);
11712 if (PyErr_Occurred()) SWIG_fail;
11713 }
11714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11715 return resultobj;
11716 fail:
11717 return NULL;
11718}
11719
11720
11721static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11722 PyObject *resultobj;
11723 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11724 wxMouseEvent *result;
11725 PyObject * obj0 = 0 ;
11726 char *kwnames[] = {
11727 (char *) "self", NULL
11728 };
11729
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11732 if (SWIG_arg_fail(1)) SWIG_fail;
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 {
11736 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11737 result = (wxMouseEvent *) &_result_ref;
11738 }
11739
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11744 return resultobj;
11745 fail:
11746 return NULL;
11747}
11748
11749
11750static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11751 PyObject *resultobj;
11752 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11753 long result;
11754 PyObject * obj0 = 0 ;
11755 char *kwnames[] = {
11756 (char *) "self", NULL
11757 };
11758
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11761 if (SWIG_arg_fail(1)) SWIG_fail;
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11765
11766 wxPyEndAllowThreads(__tstate);
11767 if (PyErr_Occurred()) SWIG_fail;
11768 }
11769 {
11770 resultobj = SWIG_From_long((long)(result));
11771 }
11772 return resultobj;
11773 fail:
11774 return NULL;
11775}
11776
11777
11778static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11779 PyObject *resultobj;
11780 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11781 long result;
11782 PyObject * obj0 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11789 if (SWIG_arg_fail(1)) SWIG_fail;
11790 {
11791 PyThreadState* __tstate = wxPyBeginAllowThreads();
11792 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11793
11794 wxPyEndAllowThreads(__tstate);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 }
11797 {
11798 resultobj = SWIG_From_long((long)(result));
11799 }
11800 return resultobj;
11801 fail:
11802 return NULL;
11803}
11804
11805
11806static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11807 PyObject *obj;
11808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11809 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11810 Py_INCREF(obj);
11811 return Py_BuildValue((char *)"");
11812}
11813static int _wrap_ScrollBarNameStr_set(PyObject *) {
11814 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11815 return 1;
11816}
11817
11818
11819static PyObject *_wrap_ScrollBarNameStr_get(void) {
11820 PyObject *pyobj;
11821
11822 {
11823#if wxUSE_UNICODE
11824 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11825#else
11826 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11827#endif
11828 }
11829 return pyobj;
11830}
11831
11832
11833static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj;
11835 wxWindow *arg1 = (wxWindow *) 0 ;
11836 int arg2 = (int) -1 ;
11837 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11838 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11839 wxSize const &arg4_defvalue = wxDefaultSize ;
11840 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11841 long arg5 = (long) wxSB_HORIZONTAL ;
11842 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11843 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11844 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11845 wxString *arg7 = (wxString *) &arg7_defvalue ;
11846 wxScrollBar *result;
11847 wxPoint temp3 ;
11848 wxSize temp4 ;
11849 bool temp7 = false ;
11850 PyObject * obj0 = 0 ;
11851 PyObject * obj1 = 0 ;
11852 PyObject * obj2 = 0 ;
11853 PyObject * obj3 = 0 ;
11854 PyObject * obj4 = 0 ;
11855 PyObject * obj5 = 0 ;
11856 PyObject * obj6 = 0 ;
11857 char *kwnames[] = {
11858 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11859 };
11860
11861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11863 if (SWIG_arg_fail(1)) SWIG_fail;
11864 if (obj1) {
11865 {
11866 arg2 = (int)(SWIG_As_int(obj1));
11867 if (SWIG_arg_fail(2)) SWIG_fail;
11868 }
11869 }
11870 if (obj2) {
11871 {
11872 arg3 = &temp3;
11873 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11874 }
11875 }
11876 if (obj3) {
11877 {
11878 arg4 = &temp4;
11879 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11880 }
11881 }
11882 if (obj4) {
11883 {
11884 arg5 = (long)(SWIG_As_long(obj4));
11885 if (SWIG_arg_fail(5)) SWIG_fail;
11886 }
11887 }
11888 if (obj5) {
11889 {
11890 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11891 if (SWIG_arg_fail(6)) SWIG_fail;
11892 if (arg6 == NULL) {
11893 SWIG_null_ref("wxValidator");
11894 }
11895 if (SWIG_arg_fail(6)) SWIG_fail;
11896 }
11897 }
11898 if (obj6) {
11899 {
11900 arg7 = wxString_in_helper(obj6);
11901 if (arg7 == NULL) SWIG_fail;
11902 temp7 = true;
11903 }
11904 }
11905 {
11906 if (!wxPyCheckForApp()) SWIG_fail;
11907 PyThreadState* __tstate = wxPyBeginAllowThreads();
11908 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11909
11910 wxPyEndAllowThreads(__tstate);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 }
11913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11914 {
11915 if (temp7)
11916 delete arg7;
11917 }
11918 return resultobj;
11919 fail:
11920 {
11921 if (temp7)
11922 delete arg7;
11923 }
11924 return NULL;
11925}
11926
11927
11928static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11929 PyObject *resultobj;
11930 wxScrollBar *result;
11931 char *kwnames[] = {
11932 NULL
11933 };
11934
11935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11936 {
11937 if (!wxPyCheckForApp()) SWIG_fail;
11938 PyThreadState* __tstate = wxPyBeginAllowThreads();
11939 result = (wxScrollBar *)new wxScrollBar();
11940
11941 wxPyEndAllowThreads(__tstate);
11942 if (PyErr_Occurred()) SWIG_fail;
11943 }
11944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11945 return resultobj;
11946 fail:
11947 return NULL;
11948}
11949
11950
11951static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11952 PyObject *resultobj;
11953 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11954 wxWindow *arg2 = (wxWindow *) 0 ;
11955 int arg3 = (int) -1 ;
11956 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11957 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11958 wxSize const &arg5_defvalue = wxDefaultSize ;
11959 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11960 long arg6 = (long) wxSB_HORIZONTAL ;
11961 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11962 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11963 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11964 wxString *arg8 = (wxString *) &arg8_defvalue ;
11965 bool result;
11966 wxPoint temp4 ;
11967 wxSize temp5 ;
11968 bool temp8 = false ;
11969 PyObject * obj0 = 0 ;
11970 PyObject * obj1 = 0 ;
11971 PyObject * obj2 = 0 ;
11972 PyObject * obj3 = 0 ;
11973 PyObject * obj4 = 0 ;
11974 PyObject * obj5 = 0 ;
11975 PyObject * obj6 = 0 ;
11976 PyObject * obj7 = 0 ;
11977 char *kwnames[] = {
11978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11979 };
11980
11981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11983 if (SWIG_arg_fail(1)) SWIG_fail;
11984 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11985 if (SWIG_arg_fail(2)) SWIG_fail;
11986 if (obj2) {
11987 {
11988 arg3 = (int)(SWIG_As_int(obj2));
11989 if (SWIG_arg_fail(3)) SWIG_fail;
11990 }
11991 }
11992 if (obj3) {
11993 {
11994 arg4 = &temp4;
11995 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11996 }
11997 }
11998 if (obj4) {
11999 {
12000 arg5 = &temp5;
12001 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12002 }
12003 }
12004 if (obj5) {
12005 {
12006 arg6 = (long)(SWIG_As_long(obj5));
12007 if (SWIG_arg_fail(6)) SWIG_fail;
12008 }
12009 }
12010 if (obj6) {
12011 {
12012 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12013 if (SWIG_arg_fail(7)) SWIG_fail;
12014 if (arg7 == NULL) {
12015 SWIG_null_ref("wxValidator");
12016 }
12017 if (SWIG_arg_fail(7)) SWIG_fail;
12018 }
12019 }
12020 if (obj7) {
12021 {
12022 arg8 = wxString_in_helper(obj7);
12023 if (arg8 == NULL) SWIG_fail;
12024 temp8 = true;
12025 }
12026 }
12027 {
12028 PyThreadState* __tstate = wxPyBeginAllowThreads();
12029 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12030
12031 wxPyEndAllowThreads(__tstate);
12032 if (PyErr_Occurred()) SWIG_fail;
12033 }
12034 {
12035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12036 }
12037 {
12038 if (temp8)
12039 delete arg8;
12040 }
12041 return resultobj;
12042 fail:
12043 {
12044 if (temp8)
12045 delete arg8;
12046 }
12047 return NULL;
12048}
12049
12050
12051static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12052 PyObject *resultobj;
12053 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12054 int result;
12055 PyObject * obj0 = 0 ;
12056 char *kwnames[] = {
12057 (char *) "self", NULL
12058 };
12059
12060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12062 if (SWIG_arg_fail(1)) SWIG_fail;
12063 {
12064 PyThreadState* __tstate = wxPyBeginAllowThreads();
12065 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12066
12067 wxPyEndAllowThreads(__tstate);
12068 if (PyErr_Occurred()) SWIG_fail;
12069 }
12070 {
12071 resultobj = SWIG_From_int((int)(result));
12072 }
12073 return resultobj;
12074 fail:
12075 return NULL;
12076}
12077
12078
12079static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12080 PyObject *resultobj;
12081 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12082 int result;
12083 PyObject * obj0 = 0 ;
12084 char *kwnames[] = {
12085 (char *) "self", NULL
12086 };
12087
12088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12090 if (SWIG_arg_fail(1)) SWIG_fail;
12091 {
12092 PyThreadState* __tstate = wxPyBeginAllowThreads();
12093 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12094
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 {
12099 resultobj = SWIG_From_int((int)(result));
12100 }
12101 return resultobj;
12102 fail:
12103 return NULL;
12104}
12105
12106
12107static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12108 PyObject *resultobj;
12109 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12110 int result;
12111 PyObject * obj0 = 0 ;
12112 char *kwnames[] = {
12113 (char *) "self", NULL
12114 };
12115
12116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12118 if (SWIG_arg_fail(1)) SWIG_fail;
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 {
12127 resultobj = SWIG_From_int((int)(result));
12128 }
12129 return resultobj;
12130 fail:
12131 return NULL;
12132}
12133
12134
12135static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12136 PyObject *resultobj;
12137 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12138 int result;
12139 PyObject * obj0 = 0 ;
12140 char *kwnames[] = {
12141 (char *) "self", NULL
12142 };
12143
12144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12146 if (SWIG_arg_fail(1)) SWIG_fail;
12147 {
12148 PyThreadState* __tstate = wxPyBeginAllowThreads();
12149 result = (int)((wxScrollBar const *)arg1)->GetRange();
12150
12151 wxPyEndAllowThreads(__tstate);
12152 if (PyErr_Occurred()) SWIG_fail;
12153 }
12154 {
12155 resultobj = SWIG_From_int((int)(result));
12156 }
12157 return resultobj;
12158 fail:
12159 return NULL;
12160}
12161
12162
12163static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12164 PyObject *resultobj;
12165 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12166 bool result;
12167 PyObject * obj0 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "self", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail;
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12178
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
12182 {
12183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12184 }
12185 return resultobj;
12186 fail:
12187 return NULL;
12188}
12189
12190
12191static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12194 int arg2 ;
12195 PyObject * obj0 = 0 ;
12196 PyObject * obj1 = 0 ;
12197 char *kwnames[] = {
12198 (char *) "self",(char *) "viewStart", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12203 if (SWIG_arg_fail(1)) SWIG_fail;
12204 {
12205 arg2 = (int)(SWIG_As_int(obj1));
12206 if (SWIG_arg_fail(2)) SWIG_fail;
12207 }
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 (arg1)->SetThumbPosition(arg2);
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 Py_INCREF(Py_None); resultobj = Py_None;
12216 return resultobj;
12217 fail:
12218 return NULL;
12219}
12220
12221
12222static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12223 PyObject *resultobj;
12224 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12225 int arg2 ;
12226 int arg3 ;
12227 int arg4 ;
12228 int arg5 ;
12229 bool arg6 = (bool) true ;
12230 PyObject * obj0 = 0 ;
12231 PyObject * obj1 = 0 ;
12232 PyObject * obj2 = 0 ;
12233 PyObject * obj3 = 0 ;
12234 PyObject * obj4 = 0 ;
12235 PyObject * obj5 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12238 };
12239
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12242 if (SWIG_arg_fail(1)) SWIG_fail;
12243 {
12244 arg2 = (int)(SWIG_As_int(obj1));
12245 if (SWIG_arg_fail(2)) SWIG_fail;
12246 }
12247 {
12248 arg3 = (int)(SWIG_As_int(obj2));
12249 if (SWIG_arg_fail(3)) SWIG_fail;
12250 }
12251 {
12252 arg4 = (int)(SWIG_As_int(obj3));
12253 if (SWIG_arg_fail(4)) SWIG_fail;
12254 }
12255 {
12256 arg5 = (int)(SWIG_As_int(obj4));
12257 if (SWIG_arg_fail(5)) SWIG_fail;
12258 }
12259 if (obj5) {
12260 {
12261 arg6 = (bool)(SWIG_As_bool(obj5));
12262 if (SWIG_arg_fail(6)) SWIG_fail;
12263 }
12264 }
12265 {
12266 PyThreadState* __tstate = wxPyBeginAllowThreads();
12267 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12268
12269 wxPyEndAllowThreads(__tstate);
12270 if (PyErr_Occurred()) SWIG_fail;
12271 }
12272 Py_INCREF(Py_None); resultobj = Py_None;
12273 return resultobj;
12274 fail:
12275 return NULL;
12276}
12277
12278
12279static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12280 PyObject *resultobj;
12281 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12282 wxVisualAttributes result;
12283 PyObject * obj0 = 0 ;
12284 char *kwnames[] = {
12285 (char *) "variant", NULL
12286 };
12287
12288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12289 if (obj0) {
12290 {
12291 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12292 if (SWIG_arg_fail(1)) SWIG_fail;
12293 }
12294 }
12295 {
12296 if (!wxPyCheckForApp()) SWIG_fail;
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 }
12303 {
12304 wxVisualAttributes * resultptr;
12305 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12306 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12307 }
12308 return resultobj;
12309 fail:
12310 return NULL;
12311}
12312
12313
12314static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12315 PyObject *obj;
12316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12317 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12318 Py_INCREF(obj);
12319 return Py_BuildValue((char *)"");
12320}
12321static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12322 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12323 return 1;
12324}
12325
12326
12327static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12328 PyObject *pyobj;
12329
12330 {
12331#if wxUSE_UNICODE
12332 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12333#else
12334 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12335#endif
12336 }
12337 return pyobj;
12338}
12339
12340
12341static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12342 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12343 return 1;
12344}
12345
12346
12347static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12348 PyObject *pyobj;
12349
12350 {
12351#if wxUSE_UNICODE
12352 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12353#else
12354 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12355#endif
12356 }
12357 return pyobj;
12358}
12359
12360
12361static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12362 PyObject *resultobj;
12363 wxWindow *arg1 = (wxWindow *) 0 ;
12364 int arg2 = (int) -1 ;
12365 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12366 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12367 wxSize const &arg4_defvalue = wxDefaultSize ;
12368 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12369 long arg5 = (long) wxSP_HORIZONTAL ;
12370 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12371 wxString *arg6 = (wxString *) &arg6_defvalue ;
12372 wxSpinButton *result;
12373 wxPoint temp3 ;
12374 wxSize temp4 ;
12375 bool temp6 = false ;
12376 PyObject * obj0 = 0 ;
12377 PyObject * obj1 = 0 ;
12378 PyObject * obj2 = 0 ;
12379 PyObject * obj3 = 0 ;
12380 PyObject * obj4 = 0 ;
12381 PyObject * obj5 = 0 ;
12382 char *kwnames[] = {
12383 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12384 };
12385
12386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12388 if (SWIG_arg_fail(1)) SWIG_fail;
12389 if (obj1) {
12390 {
12391 arg2 = (int)(SWIG_As_int(obj1));
12392 if (SWIG_arg_fail(2)) SWIG_fail;
12393 }
12394 }
12395 if (obj2) {
12396 {
12397 arg3 = &temp3;
12398 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12399 }
12400 }
12401 if (obj3) {
12402 {
12403 arg4 = &temp4;
12404 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12405 }
12406 }
12407 if (obj4) {
12408 {
12409 arg5 = (long)(SWIG_As_long(obj4));
12410 if (SWIG_arg_fail(5)) SWIG_fail;
12411 }
12412 }
12413 if (obj5) {
12414 {
12415 arg6 = wxString_in_helper(obj5);
12416 if (arg6 == NULL) SWIG_fail;
12417 temp6 = true;
12418 }
12419 }
12420 {
12421 if (!wxPyCheckForApp()) SWIG_fail;
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12424
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12429 {
12430 if (temp6)
12431 delete arg6;
12432 }
12433 return resultobj;
12434 fail:
12435 {
12436 if (temp6)
12437 delete arg6;
12438 }
12439 return NULL;
12440}
12441
12442
12443static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj;
12445 wxSpinButton *result;
12446 char *kwnames[] = {
12447 NULL
12448 };
12449
12450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12451 {
12452 if (!wxPyCheckForApp()) SWIG_fail;
12453 PyThreadState* __tstate = wxPyBeginAllowThreads();
12454 result = (wxSpinButton *)new wxSpinButton();
12455
12456 wxPyEndAllowThreads(__tstate);
12457 if (PyErr_Occurred()) SWIG_fail;
12458 }
12459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12460 return resultobj;
12461 fail:
12462 return NULL;
12463}
12464
12465
12466static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12467 PyObject *resultobj;
12468 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12469 wxWindow *arg2 = (wxWindow *) 0 ;
12470 int arg3 = (int) -1 ;
12471 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12472 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12473 wxSize const &arg5_defvalue = wxDefaultSize ;
12474 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12475 long arg6 = (long) wxSP_HORIZONTAL ;
12476 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12477 wxString *arg7 = (wxString *) &arg7_defvalue ;
12478 bool result;
12479 wxPoint temp4 ;
12480 wxSize temp5 ;
12481 bool temp7 = false ;
12482 PyObject * obj0 = 0 ;
12483 PyObject * obj1 = 0 ;
12484 PyObject * obj2 = 0 ;
12485 PyObject * obj3 = 0 ;
12486 PyObject * obj4 = 0 ;
12487 PyObject * obj5 = 0 ;
12488 PyObject * obj6 = 0 ;
12489 char *kwnames[] = {
12490 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12491 };
12492
12493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12495 if (SWIG_arg_fail(1)) SWIG_fail;
12496 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12497 if (SWIG_arg_fail(2)) SWIG_fail;
12498 if (obj2) {
12499 {
12500 arg3 = (int)(SWIG_As_int(obj2));
12501 if (SWIG_arg_fail(3)) SWIG_fail;
12502 }
12503 }
12504 if (obj3) {
12505 {
12506 arg4 = &temp4;
12507 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12508 }
12509 }
12510 if (obj4) {
12511 {
12512 arg5 = &temp5;
12513 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12514 }
12515 }
12516 if (obj5) {
12517 {
12518 arg6 = (long)(SWIG_As_long(obj5));
12519 if (SWIG_arg_fail(6)) SWIG_fail;
12520 }
12521 }
12522 if (obj6) {
12523 {
12524 arg7 = wxString_in_helper(obj6);
12525 if (arg7 == NULL) SWIG_fail;
12526 temp7 = true;
12527 }
12528 }
12529 {
12530 PyThreadState* __tstate = wxPyBeginAllowThreads();
12531 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12532
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 {
12537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12538 }
12539 {
12540 if (temp7)
12541 delete arg7;
12542 }
12543 return resultobj;
12544 fail:
12545 {
12546 if (temp7)
12547 delete arg7;
12548 }
12549 return NULL;
12550}
12551
12552
12553static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12554 PyObject *resultobj;
12555 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12556 int result;
12557 PyObject * obj0 = 0 ;
12558 char *kwnames[] = {
12559 (char *) "self", NULL
12560 };
12561
12562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12564 if (SWIG_arg_fail(1)) SWIG_fail;
12565 {
12566 PyThreadState* __tstate = wxPyBeginAllowThreads();
12567 result = (int)((wxSpinButton const *)arg1)->GetValue();
12568
12569 wxPyEndAllowThreads(__tstate);
12570 if (PyErr_Occurred()) SWIG_fail;
12571 }
12572 {
12573 resultobj = SWIG_From_int((int)(result));
12574 }
12575 return resultobj;
12576 fail:
12577 return NULL;
12578}
12579
12580
12581static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12582 PyObject *resultobj;
12583 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12584 int result;
12585 PyObject * obj0 = 0 ;
12586 char *kwnames[] = {
12587 (char *) "self", NULL
12588 };
12589
12590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12592 if (SWIG_arg_fail(1)) SWIG_fail;
12593 {
12594 PyThreadState* __tstate = wxPyBeginAllowThreads();
12595 result = (int)((wxSpinButton const *)arg1)->GetMin();
12596
12597 wxPyEndAllowThreads(__tstate);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 }
12600 {
12601 resultobj = SWIG_From_int((int)(result));
12602 }
12603 return resultobj;
12604 fail:
12605 return NULL;
12606}
12607
12608
12609static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12610 PyObject *resultobj;
12611 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12612 int result;
12613 PyObject * obj0 = 0 ;
12614 char *kwnames[] = {
12615 (char *) "self", NULL
12616 };
12617
12618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12620 if (SWIG_arg_fail(1)) SWIG_fail;
12621 {
12622 PyThreadState* __tstate = wxPyBeginAllowThreads();
12623 result = (int)((wxSpinButton const *)arg1)->GetMax();
12624
12625 wxPyEndAllowThreads(__tstate);
12626 if (PyErr_Occurred()) SWIG_fail;
12627 }
12628 {
12629 resultobj = SWIG_From_int((int)(result));
12630 }
12631 return resultobj;
12632 fail:
12633 return NULL;
12634}
12635
12636
12637static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12638 PyObject *resultobj;
12639 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12640 int arg2 ;
12641 PyObject * obj0 = 0 ;
12642 PyObject * obj1 = 0 ;
12643 char *kwnames[] = {
12644 (char *) "self",(char *) "val", NULL
12645 };
12646
12647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12649 if (SWIG_arg_fail(1)) SWIG_fail;
12650 {
12651 arg2 = (int)(SWIG_As_int(obj1));
12652 if (SWIG_arg_fail(2)) SWIG_fail;
12653 }
12654 {
12655 PyThreadState* __tstate = wxPyBeginAllowThreads();
12656 (arg1)->SetValue(arg2);
12657
12658 wxPyEndAllowThreads(__tstate);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
12661 Py_INCREF(Py_None); resultobj = Py_None;
12662 return resultobj;
12663 fail:
12664 return NULL;
12665}
12666
12667
12668static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12669 PyObject *resultobj;
12670 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12671 int arg2 ;
12672 PyObject * obj0 = 0 ;
12673 PyObject * obj1 = 0 ;
12674 char *kwnames[] = {
12675 (char *) "self",(char *) "minVal", NULL
12676 };
12677
12678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail;
12681 {
12682 arg2 = (int)(SWIG_As_int(obj1));
12683 if (SWIG_arg_fail(2)) SWIG_fail;
12684 }
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 (arg1)->SetMin(arg2);
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 Py_INCREF(Py_None); resultobj = Py_None;
12693 return resultobj;
12694 fail:
12695 return NULL;
12696}
12697
12698
12699static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12700 PyObject *resultobj;
12701 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12702 int arg2 ;
12703 PyObject * obj0 = 0 ;
12704 PyObject * obj1 = 0 ;
12705 char *kwnames[] = {
12706 (char *) "self",(char *) "maxVal", NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail;
12712 {
12713 arg2 = (int)(SWIG_As_int(obj1));
12714 if (SWIG_arg_fail(2)) SWIG_fail;
12715 }
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 (arg1)->SetMax(arg2);
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 Py_INCREF(Py_None); resultobj = Py_None;
12724 return resultobj;
12725 fail:
12726 return NULL;
12727}
12728
12729
12730static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj;
12732 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12733 int arg2 ;
12734 int arg3 ;
12735 PyObject * obj0 = 0 ;
12736 PyObject * obj1 = 0 ;
12737 PyObject * obj2 = 0 ;
12738 char *kwnames[] = {
12739 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12740 };
12741
12742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail;
12745 {
12746 arg2 = (int)(SWIG_As_int(obj1));
12747 if (SWIG_arg_fail(2)) SWIG_fail;
12748 }
12749 {
12750 arg3 = (int)(SWIG_As_int(obj2));
12751 if (SWIG_arg_fail(3)) SWIG_fail;
12752 }
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 (arg1)->SetRange(arg2,arg3);
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
12760 Py_INCREF(Py_None); resultobj = Py_None;
12761 return resultobj;
12762 fail:
12763 return NULL;
12764}
12765
12766
12767static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12768 PyObject *resultobj;
12769 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12770 bool result;
12771 PyObject * obj0 = 0 ;
12772 char *kwnames[] = {
12773 (char *) "self", NULL
12774 };
12775
12776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12778 if (SWIG_arg_fail(1)) SWIG_fail;
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 {
12787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12788 }
12789 return resultobj;
12790 fail:
12791 return NULL;
12792}
12793
12794
12795static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj;
12797 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12798 wxVisualAttributes result;
12799 PyObject * obj0 = 0 ;
12800 char *kwnames[] = {
12801 (char *) "variant", NULL
12802 };
12803
12804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12805 if (obj0) {
12806 {
12807 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12808 if (SWIG_arg_fail(1)) SWIG_fail;
12809 }
12810 }
12811 {
12812 if (!wxPyCheckForApp()) SWIG_fail;
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 {
12820 wxVisualAttributes * resultptr;
12821 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12823 }
12824 return resultobj;
12825 fail:
12826 return NULL;
12827}
12828
12829
12830static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12831 PyObject *obj;
12832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12833 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12834 Py_INCREF(obj);
12835 return Py_BuildValue((char *)"");
12836}
12837static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj;
12839 wxWindow *arg1 = (wxWindow *) 0 ;
12840 int arg2 = (int) -1 ;
12841 wxString const &arg3_defvalue = wxPyEmptyString ;
12842 wxString *arg3 = (wxString *) &arg3_defvalue ;
12843 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12844 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12845 wxSize const &arg5_defvalue = wxDefaultSize ;
12846 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12847 long arg6 = (long) wxSP_ARROW_KEYS ;
12848 int arg7 = (int) 0 ;
12849 int arg8 = (int) 100 ;
12850 int arg9 = (int) 0 ;
12851 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12852 wxString *arg10 = (wxString *) &arg10_defvalue ;
12853 wxSpinCtrl *result;
12854 bool temp3 = false ;
12855 wxPoint temp4 ;
12856 wxSize temp5 ;
12857 bool temp10 = false ;
12858 PyObject * obj0 = 0 ;
12859 PyObject * obj1 = 0 ;
12860 PyObject * obj2 = 0 ;
12861 PyObject * obj3 = 0 ;
12862 PyObject * obj4 = 0 ;
12863 PyObject * obj5 = 0 ;
12864 PyObject * obj6 = 0 ;
12865 PyObject * obj7 = 0 ;
12866 PyObject * obj8 = 0 ;
12867 PyObject * obj9 = 0 ;
12868 char *kwnames[] = {
12869 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12870 };
12871
12872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12874 if (SWIG_arg_fail(1)) SWIG_fail;
12875 if (obj1) {
12876 {
12877 arg2 = (int)(SWIG_As_int(obj1));
12878 if (SWIG_arg_fail(2)) SWIG_fail;
12879 }
12880 }
12881 if (obj2) {
12882 {
12883 arg3 = wxString_in_helper(obj2);
12884 if (arg3 == NULL) SWIG_fail;
12885 temp3 = true;
12886 }
12887 }
12888 if (obj3) {
12889 {
12890 arg4 = &temp4;
12891 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12892 }
12893 }
12894 if (obj4) {
12895 {
12896 arg5 = &temp5;
12897 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12898 }
12899 }
12900 if (obj5) {
12901 {
12902 arg6 = (long)(SWIG_As_long(obj5));
12903 if (SWIG_arg_fail(6)) SWIG_fail;
12904 }
12905 }
12906 if (obj6) {
12907 {
12908 arg7 = (int)(SWIG_As_int(obj6));
12909 if (SWIG_arg_fail(7)) SWIG_fail;
12910 }
12911 }
12912 if (obj7) {
12913 {
12914 arg8 = (int)(SWIG_As_int(obj7));
12915 if (SWIG_arg_fail(8)) SWIG_fail;
12916 }
12917 }
12918 if (obj8) {
12919 {
12920 arg9 = (int)(SWIG_As_int(obj8));
12921 if (SWIG_arg_fail(9)) SWIG_fail;
12922 }
12923 }
12924 if (obj9) {
12925 {
12926 arg10 = wxString_in_helper(obj9);
12927 if (arg10 == NULL) SWIG_fail;
12928 temp10 = true;
12929 }
12930 }
12931 {
12932 if (!wxPyCheckForApp()) SWIG_fail;
12933 PyThreadState* __tstate = wxPyBeginAllowThreads();
12934 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12935
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12940 {
12941 if (temp3)
12942 delete arg3;
12943 }
12944 {
12945 if (temp10)
12946 delete arg10;
12947 }
12948 return resultobj;
12949 fail:
12950 {
12951 if (temp3)
12952 delete arg3;
12953 }
12954 {
12955 if (temp10)
12956 delete arg10;
12957 }
12958 return NULL;
12959}
12960
12961
12962static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12963 PyObject *resultobj;
12964 wxSpinCtrl *result;
12965 char *kwnames[] = {
12966 NULL
12967 };
12968
12969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12970 {
12971 if (!wxPyCheckForApp()) SWIG_fail;
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (wxSpinCtrl *)new wxSpinCtrl();
12974
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12979 return resultobj;
12980 fail:
12981 return NULL;
12982}
12983
12984
12985static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12986 PyObject *resultobj;
12987 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12988 wxWindow *arg2 = (wxWindow *) 0 ;
12989 int arg3 = (int) -1 ;
12990 wxString const &arg4_defvalue = wxPyEmptyString ;
12991 wxString *arg4 = (wxString *) &arg4_defvalue ;
12992 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12993 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12994 wxSize const &arg6_defvalue = wxDefaultSize ;
12995 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12996 long arg7 = (long) wxSP_ARROW_KEYS ;
12997 int arg8 = (int) 0 ;
12998 int arg9 = (int) 100 ;
12999 int arg10 = (int) 0 ;
13000 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13001 wxString *arg11 = (wxString *) &arg11_defvalue ;
13002 bool result;
13003 bool temp4 = false ;
13004 wxPoint temp5 ;
13005 wxSize temp6 ;
13006 bool temp11 = false ;
13007 PyObject * obj0 = 0 ;
13008 PyObject * obj1 = 0 ;
13009 PyObject * obj2 = 0 ;
13010 PyObject * obj3 = 0 ;
13011 PyObject * obj4 = 0 ;
13012 PyObject * obj5 = 0 ;
13013 PyObject * obj6 = 0 ;
13014 PyObject * obj7 = 0 ;
13015 PyObject * obj8 = 0 ;
13016 PyObject * obj9 = 0 ;
13017 PyObject * obj10 = 0 ;
13018 char *kwnames[] = {
13019 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13020 };
13021
13022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13024 if (SWIG_arg_fail(1)) SWIG_fail;
13025 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13026 if (SWIG_arg_fail(2)) SWIG_fail;
13027 if (obj2) {
13028 {
13029 arg3 = (int)(SWIG_As_int(obj2));
13030 if (SWIG_arg_fail(3)) SWIG_fail;
13031 }
13032 }
13033 if (obj3) {
13034 {
13035 arg4 = wxString_in_helper(obj3);
13036 if (arg4 == NULL) SWIG_fail;
13037 temp4 = true;
13038 }
13039 }
13040 if (obj4) {
13041 {
13042 arg5 = &temp5;
13043 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13044 }
13045 }
13046 if (obj5) {
13047 {
13048 arg6 = &temp6;
13049 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13050 }
13051 }
13052 if (obj6) {
13053 {
13054 arg7 = (long)(SWIG_As_long(obj6));
13055 if (SWIG_arg_fail(7)) SWIG_fail;
13056 }
13057 }
13058 if (obj7) {
13059 {
13060 arg8 = (int)(SWIG_As_int(obj7));
13061 if (SWIG_arg_fail(8)) SWIG_fail;
13062 }
13063 }
13064 if (obj8) {
13065 {
13066 arg9 = (int)(SWIG_As_int(obj8));
13067 if (SWIG_arg_fail(9)) SWIG_fail;
13068 }
13069 }
13070 if (obj9) {
13071 {
13072 arg10 = (int)(SWIG_As_int(obj9));
13073 if (SWIG_arg_fail(10)) SWIG_fail;
13074 }
13075 }
13076 if (obj10) {
13077 {
13078 arg11 = wxString_in_helper(obj10);
13079 if (arg11 == NULL) SWIG_fail;
13080 temp11 = true;
13081 }
13082 }
13083 {
13084 PyThreadState* __tstate = wxPyBeginAllowThreads();
13085 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13086
13087 wxPyEndAllowThreads(__tstate);
13088 if (PyErr_Occurred()) SWIG_fail;
13089 }
13090 {
13091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13092 }
13093 {
13094 if (temp4)
13095 delete arg4;
13096 }
13097 {
13098 if (temp11)
13099 delete arg11;
13100 }
13101 return resultobj;
13102 fail:
13103 {
13104 if (temp4)
13105 delete arg4;
13106 }
13107 {
13108 if (temp11)
13109 delete arg11;
13110 }
13111 return NULL;
13112}
13113
13114
13115static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj;
13117 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13118 int result;
13119 PyObject * obj0 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "self", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13126 if (SWIG_arg_fail(1)) SWIG_fail;
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13130
13131 wxPyEndAllowThreads(__tstate);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 {
13135 resultobj = SWIG_From_int((int)(result));
13136 }
13137 return resultobj;
13138 fail:
13139 return NULL;
13140}
13141
13142
13143static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13144 PyObject *resultobj;
13145 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13146 int arg2 ;
13147 PyObject * obj0 = 0 ;
13148 PyObject * obj1 = 0 ;
13149 char *kwnames[] = {
13150 (char *) "self",(char *) "value", NULL
13151 };
13152
13153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13155 if (SWIG_arg_fail(1)) SWIG_fail;
13156 {
13157 arg2 = (int)(SWIG_As_int(obj1));
13158 if (SWIG_arg_fail(2)) SWIG_fail;
13159 }
13160 {
13161 PyThreadState* __tstate = wxPyBeginAllowThreads();
13162 (arg1)->SetValue(arg2);
13163
13164 wxPyEndAllowThreads(__tstate);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 }
13167 Py_INCREF(Py_None); resultobj = Py_None;
13168 return resultobj;
13169 fail:
13170 return NULL;
13171}
13172
13173
13174static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13175 PyObject *resultobj;
13176 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13177 wxString *arg2 = 0 ;
13178 bool temp2 = false ;
13179 PyObject * obj0 = 0 ;
13180 PyObject * obj1 = 0 ;
13181 char *kwnames[] = {
13182 (char *) "self",(char *) "text", NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13187 if (SWIG_arg_fail(1)) SWIG_fail;
13188 {
13189 arg2 = wxString_in_helper(obj1);
13190 if (arg2 == NULL) SWIG_fail;
13191 temp2 = true;
13192 }
13193 {
13194 PyThreadState* __tstate = wxPyBeginAllowThreads();
13195 (arg1)->SetValue((wxString const &)*arg2);
13196
13197 wxPyEndAllowThreads(__tstate);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 Py_INCREF(Py_None); resultobj = Py_None;
13201 {
13202 if (temp2)
13203 delete arg2;
13204 }
13205 return resultobj;
13206 fail:
13207 {
13208 if (temp2)
13209 delete arg2;
13210 }
13211 return NULL;
13212}
13213
13214
13215static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13216 PyObject *resultobj;
13217 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13218 int arg2 ;
13219 int arg3 ;
13220 PyObject * obj0 = 0 ;
13221 PyObject * obj1 = 0 ;
13222 PyObject * obj2 = 0 ;
13223 char *kwnames[] = {
13224 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13225 };
13226
13227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13229 if (SWIG_arg_fail(1)) SWIG_fail;
13230 {
13231 arg2 = (int)(SWIG_As_int(obj1));
13232 if (SWIG_arg_fail(2)) SWIG_fail;
13233 }
13234 {
13235 arg3 = (int)(SWIG_As_int(obj2));
13236 if (SWIG_arg_fail(3)) SWIG_fail;
13237 }
13238 {
13239 PyThreadState* __tstate = wxPyBeginAllowThreads();
13240 (arg1)->SetRange(arg2,arg3);
13241
13242 wxPyEndAllowThreads(__tstate);
13243 if (PyErr_Occurred()) SWIG_fail;
13244 }
13245 Py_INCREF(Py_None); resultobj = Py_None;
13246 return resultobj;
13247 fail:
13248 return NULL;
13249}
13250
13251
13252static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13253 PyObject *resultobj;
13254 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13255 int result;
13256 PyObject * obj0 = 0 ;
13257 char *kwnames[] = {
13258 (char *) "self", NULL
13259 };
13260
13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13263 if (SWIG_arg_fail(1)) SWIG_fail;
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13267
13268 wxPyEndAllowThreads(__tstate);
13269 if (PyErr_Occurred()) SWIG_fail;
13270 }
13271 {
13272 resultobj = SWIG_From_int((int)(result));
13273 }
13274 return resultobj;
13275 fail:
13276 return NULL;
13277}
13278
13279
13280static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13281 PyObject *resultobj;
13282 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13283 int result;
13284 PyObject * obj0 = 0 ;
13285 char *kwnames[] = {
13286 (char *) "self", NULL
13287 };
13288
13289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13291 if (SWIG_arg_fail(1)) SWIG_fail;
13292 {
13293 PyThreadState* __tstate = wxPyBeginAllowThreads();
13294 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13295
13296 wxPyEndAllowThreads(__tstate);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 {
13300 resultobj = SWIG_From_int((int)(result));
13301 }
13302 return resultobj;
13303 fail:
13304 return NULL;
13305}
13306
13307
13308static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj;
13310 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13311 long arg2 ;
13312 long arg3 ;
13313 PyObject * obj0 = 0 ;
13314 PyObject * obj1 = 0 ;
13315 PyObject * obj2 = 0 ;
13316 char *kwnames[] = {
13317 (char *) "self",(char *) "from",(char *) "to", NULL
13318 };
13319
13320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13322 if (SWIG_arg_fail(1)) SWIG_fail;
13323 {
13324 arg2 = (long)(SWIG_As_long(obj1));
13325 if (SWIG_arg_fail(2)) SWIG_fail;
13326 }
13327 {
13328 arg3 = (long)(SWIG_As_long(obj2));
13329 if (SWIG_arg_fail(3)) SWIG_fail;
13330 }
13331 {
13332 PyThreadState* __tstate = wxPyBeginAllowThreads();
13333 (arg1)->SetSelection(arg2,arg3);
13334
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 Py_INCREF(Py_None); resultobj = Py_None;
13339 return resultobj;
13340 fail:
13341 return NULL;
13342}
13343
13344
13345static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13346 PyObject *resultobj;
13347 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13348 wxVisualAttributes result;
13349 PyObject * obj0 = 0 ;
13350 char *kwnames[] = {
13351 (char *) "variant", NULL
13352 };
13353
13354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13355 if (obj0) {
13356 {
13357 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13358 if (SWIG_arg_fail(1)) SWIG_fail;
13359 }
13360 }
13361 {
13362 if (!wxPyCheckForApp()) SWIG_fail;
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13365
13366 wxPyEndAllowThreads(__tstate);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 }
13369 {
13370 wxVisualAttributes * resultptr;
13371 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
13372 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13373 }
13374 return resultobj;
13375 fail:
13376 return NULL;
13377}
13378
13379
13380static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13381 PyObject *obj;
13382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13383 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13384 Py_INCREF(obj);
13385 return Py_BuildValue((char *)"");
13386}
13387static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13388 PyObject *resultobj;
13389 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13390 int arg2 = (int) 0 ;
13391 wxSpinEvent *result;
13392 PyObject * obj0 = 0 ;
13393 PyObject * obj1 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "commandType",(char *) "winid", NULL
13396 };
13397
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13399 if (obj0) {
13400 {
13401 arg1 = (wxEventType)(SWIG_As_int(obj0));
13402 if (SWIG_arg_fail(1)) SWIG_fail;
13403 }
13404 }
13405 if (obj1) {
13406 {
13407 arg2 = (int)(SWIG_As_int(obj1));
13408 if (SWIG_arg_fail(2)) SWIG_fail;
13409 }
13410 }
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13419 return resultobj;
13420 fail:
13421 return NULL;
13422}
13423
13424
13425static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13428 int result;
13429 PyObject * obj0 = 0 ;
13430 char *kwnames[] = {
13431 (char *) "self", NULL
13432 };
13433
13434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13436 if (SWIG_arg_fail(1)) SWIG_fail;
13437 {
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13440
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
13444 {
13445 resultobj = SWIG_From_int((int)(result));
13446 }
13447 return resultobj;
13448 fail:
13449 return NULL;
13450}
13451
13452
13453static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13454 PyObject *resultobj;
13455 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13456 int arg2 ;
13457 PyObject * obj0 = 0 ;
13458 PyObject * obj1 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self",(char *) "pos", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13465 if (SWIG_arg_fail(1)) SWIG_fail;
13466 {
13467 arg2 = (int)(SWIG_As_int(obj1));
13468 if (SWIG_arg_fail(2)) SWIG_fail;
13469 }
13470 {
13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
13472 (arg1)->SetPosition(arg2);
13473
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 Py_INCREF(Py_None); resultobj = Py_None;
13478 return resultobj;
13479 fail:
13480 return NULL;
13481}
13482
13483
13484static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13485 PyObject *obj;
13486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13487 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13488 Py_INCREF(obj);
13489 return Py_BuildValue((char *)"");
13490}
13491static int _wrap_RadioBoxNameStr_set(PyObject *) {
13492 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13493 return 1;
13494}
13495
13496
13497static PyObject *_wrap_RadioBoxNameStr_get(void) {
13498 PyObject *pyobj;
13499
13500 {
13501#if wxUSE_UNICODE
13502 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13503#else
13504 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13505#endif
13506 }
13507 return pyobj;
13508}
13509
13510
13511static int _wrap_RadioButtonNameStr_set(PyObject *) {
13512 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13513 return 1;
13514}
13515
13516
13517static PyObject *_wrap_RadioButtonNameStr_get(void) {
13518 PyObject *pyobj;
13519
13520 {
13521#if wxUSE_UNICODE
13522 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13523#else
13524 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13525#endif
13526 }
13527 return pyobj;
13528}
13529
13530
13531static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13532 PyObject *resultobj;
13533 wxWindow *arg1 = (wxWindow *) 0 ;
13534 int arg2 = (int) -1 ;
13535 wxString const &arg3_defvalue = wxPyEmptyString ;
13536 wxString *arg3 = (wxString *) &arg3_defvalue ;
13537 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13538 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13539 wxSize const &arg5_defvalue = wxDefaultSize ;
13540 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13541 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13542 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13543 int arg7 = (int) 0 ;
13544 long arg8 = (long) wxRA_HORIZONTAL ;
13545 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13546 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13547 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13548 wxString *arg10 = (wxString *) &arg10_defvalue ;
13549 wxRadioBox *result;
13550 bool temp3 = false ;
13551 wxPoint temp4 ;
13552 wxSize temp5 ;
13553 bool temp6 = false ;
13554 bool temp10 = false ;
13555 PyObject * obj0 = 0 ;
13556 PyObject * obj1 = 0 ;
13557 PyObject * obj2 = 0 ;
13558 PyObject * obj3 = 0 ;
13559 PyObject * obj4 = 0 ;
13560 PyObject * obj5 = 0 ;
13561 PyObject * obj6 = 0 ;
13562 PyObject * obj7 = 0 ;
13563 PyObject * obj8 = 0 ;
13564 PyObject * obj9 = 0 ;
13565 char *kwnames[] = {
13566 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13567 };
13568
13569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13571 if (SWIG_arg_fail(1)) SWIG_fail;
13572 if (obj1) {
13573 {
13574 arg2 = (int)(SWIG_As_int(obj1));
13575 if (SWIG_arg_fail(2)) SWIG_fail;
13576 }
13577 }
13578 if (obj2) {
13579 {
13580 arg3 = wxString_in_helper(obj2);
13581 if (arg3 == NULL) SWIG_fail;
13582 temp3 = true;
13583 }
13584 }
13585 if (obj3) {
13586 {
13587 arg4 = &temp4;
13588 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13589 }
13590 }
13591 if (obj4) {
13592 {
13593 arg5 = &temp5;
13594 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13595 }
13596 }
13597 if (obj5) {
13598 {
13599 if (! PySequence_Check(obj5)) {
13600 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13601 SWIG_fail;
13602 }
13603 arg6 = new wxArrayString;
13604 temp6 = true;
13605 int i, len=PySequence_Length(obj5);
13606 for (i=0; i<len; i++) {
13607 PyObject* item = PySequence_GetItem(obj5, i);
13608 wxString* s = wxString_in_helper(item);
13609 if (PyErr_Occurred()) SWIG_fail;
13610 arg6->Add(*s);
13611 delete s;
13612 Py_DECREF(item);
13613 }
13614 }
13615 }
13616 if (obj6) {
13617 {
13618 arg7 = (int)(SWIG_As_int(obj6));
13619 if (SWIG_arg_fail(7)) SWIG_fail;
13620 }
13621 }
13622 if (obj7) {
13623 {
13624 arg8 = (long)(SWIG_As_long(obj7));
13625 if (SWIG_arg_fail(8)) SWIG_fail;
13626 }
13627 }
13628 if (obj8) {
13629 {
13630 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13631 if (SWIG_arg_fail(9)) SWIG_fail;
13632 if (arg9 == NULL) {
13633 SWIG_null_ref("wxValidator");
13634 }
13635 if (SWIG_arg_fail(9)) SWIG_fail;
13636 }
13637 }
13638 if (obj9) {
13639 {
13640 arg10 = wxString_in_helper(obj9);
13641 if (arg10 == NULL) SWIG_fail;
13642 temp10 = true;
13643 }
13644 }
13645 {
13646 if (!wxPyCheckForApp()) SWIG_fail;
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 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);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13654 {
13655 if (temp3)
13656 delete arg3;
13657 }
13658 {
13659 if (temp6) delete arg6;
13660 }
13661 {
13662 if (temp10)
13663 delete arg10;
13664 }
13665 return resultobj;
13666 fail:
13667 {
13668 if (temp3)
13669 delete arg3;
13670 }
13671 {
13672 if (temp6) delete arg6;
13673 }
13674 {
13675 if (temp10)
13676 delete arg10;
13677 }
13678 return NULL;
13679}
13680
13681
13682static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13683 PyObject *resultobj;
13684 wxRadioBox *result;
13685 char *kwnames[] = {
13686 NULL
13687 };
13688
13689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13690 {
13691 if (!wxPyCheckForApp()) SWIG_fail;
13692 PyThreadState* __tstate = wxPyBeginAllowThreads();
13693 result = (wxRadioBox *)new wxRadioBox();
13694
13695 wxPyEndAllowThreads(__tstate);
13696 if (PyErr_Occurred()) SWIG_fail;
13697 }
13698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13699 return resultobj;
13700 fail:
13701 return NULL;
13702}
13703
13704
13705static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13706 PyObject *resultobj;
13707 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13708 wxWindow *arg2 = (wxWindow *) 0 ;
13709 int arg3 = (int) -1 ;
13710 wxString const &arg4_defvalue = wxPyEmptyString ;
13711 wxString *arg4 = (wxString *) &arg4_defvalue ;
13712 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13713 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13714 wxSize const &arg6_defvalue = wxDefaultSize ;
13715 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13716 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13717 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13718 int arg8 = (int) 0 ;
13719 long arg9 = (long) wxRA_HORIZONTAL ;
13720 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13721 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13722 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13723 wxString *arg11 = (wxString *) &arg11_defvalue ;
13724 bool result;
13725 bool temp4 = false ;
13726 wxPoint temp5 ;
13727 wxSize temp6 ;
13728 bool temp7 = false ;
13729 bool temp11 = false ;
13730 PyObject * obj0 = 0 ;
13731 PyObject * obj1 = 0 ;
13732 PyObject * obj2 = 0 ;
13733 PyObject * obj3 = 0 ;
13734 PyObject * obj4 = 0 ;
13735 PyObject * obj5 = 0 ;
13736 PyObject * obj6 = 0 ;
13737 PyObject * obj7 = 0 ;
13738 PyObject * obj8 = 0 ;
13739 PyObject * obj9 = 0 ;
13740 PyObject * obj10 = 0 ;
13741 char *kwnames[] = {
13742 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13743 };
13744
13745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13747 if (SWIG_arg_fail(1)) SWIG_fail;
13748 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13749 if (SWIG_arg_fail(2)) SWIG_fail;
13750 if (obj2) {
13751 {
13752 arg3 = (int)(SWIG_As_int(obj2));
13753 if (SWIG_arg_fail(3)) SWIG_fail;
13754 }
13755 }
13756 if (obj3) {
13757 {
13758 arg4 = wxString_in_helper(obj3);
13759 if (arg4 == NULL) SWIG_fail;
13760 temp4 = true;
13761 }
13762 }
13763 if (obj4) {
13764 {
13765 arg5 = &temp5;
13766 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13767 }
13768 }
13769 if (obj5) {
13770 {
13771 arg6 = &temp6;
13772 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13773 }
13774 }
13775 if (obj6) {
13776 {
13777 if (! PySequence_Check(obj6)) {
13778 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13779 SWIG_fail;
13780 }
13781 arg7 = new wxArrayString;
13782 temp7 = true;
13783 int i, len=PySequence_Length(obj6);
13784 for (i=0; i<len; i++) {
13785 PyObject* item = PySequence_GetItem(obj6, i);
13786 wxString* s = wxString_in_helper(item);
13787 if (PyErr_Occurred()) SWIG_fail;
13788 arg7->Add(*s);
13789 delete s;
13790 Py_DECREF(item);
13791 }
13792 }
13793 }
13794 if (obj7) {
13795 {
13796 arg8 = (int)(SWIG_As_int(obj7));
13797 if (SWIG_arg_fail(8)) SWIG_fail;
13798 }
13799 }
13800 if (obj8) {
13801 {
13802 arg9 = (long)(SWIG_As_long(obj8));
13803 if (SWIG_arg_fail(9)) SWIG_fail;
13804 }
13805 }
13806 if (obj9) {
13807 {
13808 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13809 if (SWIG_arg_fail(10)) SWIG_fail;
13810 if (arg10 == NULL) {
13811 SWIG_null_ref("wxValidator");
13812 }
13813 if (SWIG_arg_fail(10)) SWIG_fail;
13814 }
13815 }
13816 if (obj10) {
13817 {
13818 arg11 = wxString_in_helper(obj10);
13819 if (arg11 == NULL) SWIG_fail;
13820 temp11 = true;
13821 }
13822 }
13823 {
13824 PyThreadState* __tstate = wxPyBeginAllowThreads();
13825 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);
13826
13827 wxPyEndAllowThreads(__tstate);
13828 if (PyErr_Occurred()) SWIG_fail;
13829 }
13830 {
13831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13832 }
13833 {
13834 if (temp4)
13835 delete arg4;
13836 }
13837 {
13838 if (temp7) delete arg7;
13839 }
13840 {
13841 if (temp11)
13842 delete arg11;
13843 }
13844 return resultobj;
13845 fail:
13846 {
13847 if (temp4)
13848 delete arg4;
13849 }
13850 {
13851 if (temp7) delete arg7;
13852 }
13853 {
13854 if (temp11)
13855 delete arg11;
13856 }
13857 return NULL;
13858}
13859
13860
13861static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj;
13863 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13864 int arg2 ;
13865 PyObject * obj0 = 0 ;
13866 PyObject * obj1 = 0 ;
13867 char *kwnames[] = {
13868 (char *) "self",(char *) "n", NULL
13869 };
13870
13871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13873 if (SWIG_arg_fail(1)) SWIG_fail;
13874 {
13875 arg2 = (int)(SWIG_As_int(obj1));
13876 if (SWIG_arg_fail(2)) SWIG_fail;
13877 }
13878 {
13879 PyThreadState* __tstate = wxPyBeginAllowThreads();
13880 (arg1)->SetSelection(arg2);
13881
13882 wxPyEndAllowThreads(__tstate);
13883 if (PyErr_Occurred()) SWIG_fail;
13884 }
13885 Py_INCREF(Py_None); resultobj = Py_None;
13886 return resultobj;
13887 fail:
13888 return NULL;
13889}
13890
13891
13892static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13893 PyObject *resultobj;
13894 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13895 int result;
13896 PyObject * obj0 = 0 ;
13897 char *kwnames[] = {
13898 (char *) "self", NULL
13899 };
13900
13901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
13902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13903 if (SWIG_arg_fail(1)) SWIG_fail;
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
13906 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 {
13912 resultobj = SWIG_From_int((int)(result));
13913 }
13914 return resultobj;
13915 fail:
13916 return NULL;
13917}
13918
13919
13920static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13921 PyObject *resultobj;
13922 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13923 wxString result;
13924 PyObject * obj0 = 0 ;
13925 char *kwnames[] = {
13926 (char *) "self", NULL
13927 };
13928
13929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
13930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13931 if (SWIG_arg_fail(1)) SWIG_fail;
13932 {
13933 PyThreadState* __tstate = wxPyBeginAllowThreads();
13934 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13935
13936 wxPyEndAllowThreads(__tstate);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 }
13939 {
13940#if wxUSE_UNICODE
13941 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13942#else
13943 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13944#endif
13945 }
13946 return resultobj;
13947 fail:
13948 return NULL;
13949}
13950
13951
13952static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13953 PyObject *resultobj;
13954 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13955 wxString *arg2 = 0 ;
13956 bool result;
13957 bool temp2 = false ;
13958 PyObject * obj0 = 0 ;
13959 PyObject * obj1 = 0 ;
13960 char *kwnames[] = {
13961 (char *) "self",(char *) "s", NULL
13962 };
13963
13964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
13965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13966 if (SWIG_arg_fail(1)) SWIG_fail;
13967 {
13968 arg2 = wxString_in_helper(obj1);
13969 if (arg2 == NULL) SWIG_fail;
13970 temp2 = true;
13971 }
13972 {
13973 PyThreadState* __tstate = wxPyBeginAllowThreads();
13974 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13975
13976 wxPyEndAllowThreads(__tstate);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 {
13980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13981 }
13982 {
13983 if (temp2)
13984 delete arg2;
13985 }
13986 return resultobj;
13987 fail:
13988 {
13989 if (temp2)
13990 delete arg2;
13991 }
13992 return NULL;
13993}
13994
13995
13996static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
13997 PyObject *resultobj;
13998 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13999 int result;
14000 PyObject * obj0 = 0 ;
14001 char *kwnames[] = {
14002 (char *) "self", NULL
14003 };
14004
14005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
14006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14007 if (SWIG_arg_fail(1)) SWIG_fail;
14008 {
14009 PyThreadState* __tstate = wxPyBeginAllowThreads();
14010 result = (int)((wxRadioBox const *)arg1)->GetCount();
14011
14012 wxPyEndAllowThreads(__tstate);
14013 if (PyErr_Occurred()) SWIG_fail;
14014 }
14015 {
14016 resultobj = SWIG_From_int((int)(result));
14017 }
14018 return resultobj;
14019 fail:
14020 return NULL;
14021}
14022
14023
14024static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14025 PyObject *resultobj;
14026 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14027 wxString *arg2 = 0 ;
14028 int result;
14029 bool temp2 = false ;
14030 PyObject * obj0 = 0 ;
14031 PyObject * obj1 = 0 ;
14032 char *kwnames[] = {
14033 (char *) "self",(char *) "s", NULL
14034 };
14035
14036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
14037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14038 if (SWIG_arg_fail(1)) SWIG_fail;
14039 {
14040 arg2 = wxString_in_helper(obj1);
14041 if (arg2 == NULL) SWIG_fail;
14042 temp2 = true;
14043 }
14044 {
14045 PyThreadState* __tstate = wxPyBeginAllowThreads();
14046 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14047
14048 wxPyEndAllowThreads(__tstate);
14049 if (PyErr_Occurred()) SWIG_fail;
14050 }
14051 {
14052 resultobj = SWIG_From_int((int)(result));
14053 }
14054 {
14055 if (temp2)
14056 delete arg2;
14057 }
14058 return resultobj;
14059 fail:
14060 {
14061 if (temp2)
14062 delete arg2;
14063 }
14064 return NULL;
14065}
14066
14067
14068static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj;
14070 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14071 int arg2 ;
14072 wxString result;
14073 PyObject * obj0 = 0 ;
14074 PyObject * obj1 = 0 ;
14075 char *kwnames[] = {
14076 (char *) "self",(char *) "n", NULL
14077 };
14078
14079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14081 if (SWIG_arg_fail(1)) SWIG_fail;
14082 {
14083 arg2 = (int)(SWIG_As_int(obj1));
14084 if (SWIG_arg_fail(2)) SWIG_fail;
14085 }
14086 {
14087 PyThreadState* __tstate = wxPyBeginAllowThreads();
14088 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14089
14090 wxPyEndAllowThreads(__tstate);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 {
14094#if wxUSE_UNICODE
14095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14096#else
14097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14098#endif
14099 }
14100 return resultobj;
14101 fail:
14102 return NULL;
14103}
14104
14105
14106static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14107 PyObject *resultobj;
14108 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14109 int arg2 ;
14110 wxString *arg3 = 0 ;
14111 bool temp3 = false ;
14112 PyObject * obj0 = 0 ;
14113 PyObject * obj1 = 0 ;
14114 PyObject * obj2 = 0 ;
14115 char *kwnames[] = {
14116 (char *) "self",(char *) "n",(char *) "label", NULL
14117 };
14118
14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14121 if (SWIG_arg_fail(1)) SWIG_fail;
14122 {
14123 arg2 = (int)(SWIG_As_int(obj1));
14124 if (SWIG_arg_fail(2)) SWIG_fail;
14125 }
14126 {
14127 arg3 = wxString_in_helper(obj2);
14128 if (arg3 == NULL) SWIG_fail;
14129 temp3 = true;
14130 }
14131 {
14132 PyThreadState* __tstate = wxPyBeginAllowThreads();
14133 (arg1)->SetString(arg2,(wxString const &)*arg3);
14134
14135 wxPyEndAllowThreads(__tstate);
14136 if (PyErr_Occurred()) SWIG_fail;
14137 }
14138 Py_INCREF(Py_None); resultobj = Py_None;
14139 {
14140 if (temp3)
14141 delete arg3;
14142 }
14143 return resultobj;
14144 fail:
14145 {
14146 if (temp3)
14147 delete arg3;
14148 }
14149 return NULL;
14150}
14151
14152
14153static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14154 PyObject *resultobj;
14155 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14156 int arg2 ;
14157 bool arg3 = (bool) true ;
14158 PyObject * obj0 = 0 ;
14159 PyObject * obj1 = 0 ;
14160 PyObject * obj2 = 0 ;
14161 char *kwnames[] = {
14162 (char *) "self",(char *) "n",(char *) "enable", NULL
14163 };
14164
14165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14167 if (SWIG_arg_fail(1)) SWIG_fail;
14168 {
14169 arg2 = (int)(SWIG_As_int(obj1));
14170 if (SWIG_arg_fail(2)) SWIG_fail;
14171 }
14172 if (obj2) {
14173 {
14174 arg3 = (bool)(SWIG_As_bool(obj2));
14175 if (SWIG_arg_fail(3)) SWIG_fail;
14176 }
14177 }
14178 {
14179 PyThreadState* __tstate = wxPyBeginAllowThreads();
14180 (arg1)->Enable(arg2,arg3);
14181
14182 wxPyEndAllowThreads(__tstate);
14183 if (PyErr_Occurred()) SWIG_fail;
14184 }
14185 Py_INCREF(Py_None); resultobj = Py_None;
14186 return resultobj;
14187 fail:
14188 return NULL;
14189}
14190
14191
14192static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14193 PyObject *resultobj;
14194 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14195 int arg2 ;
14196 bool arg3 = (bool) true ;
14197 PyObject * obj0 = 0 ;
14198 PyObject * obj1 = 0 ;
14199 PyObject * obj2 = 0 ;
14200 char *kwnames[] = {
14201 (char *) "self",(char *) "n",(char *) "show", NULL
14202 };
14203
14204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14206 if (SWIG_arg_fail(1)) SWIG_fail;
14207 {
14208 arg2 = (int)(SWIG_As_int(obj1));
14209 if (SWIG_arg_fail(2)) SWIG_fail;
14210 }
14211 if (obj2) {
14212 {
14213 arg3 = (bool)(SWIG_As_bool(obj2));
14214 if (SWIG_arg_fail(3)) SWIG_fail;
14215 }
14216 }
14217 {
14218 PyThreadState* __tstate = wxPyBeginAllowThreads();
14219 (arg1)->Show(arg2,arg3);
14220
14221 wxPyEndAllowThreads(__tstate);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 Py_INCREF(Py_None); resultobj = Py_None;
14225 return resultobj;
14226 fail:
14227 return NULL;
14228}
14229
14230
14231static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14232 PyObject *resultobj;
14233 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14234 int result;
14235 PyObject * obj0 = 0 ;
14236 char *kwnames[] = {
14237 (char *) "self", NULL
14238 };
14239
14240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14242 if (SWIG_arg_fail(1)) SWIG_fail;
14243 {
14244 PyThreadState* __tstate = wxPyBeginAllowThreads();
14245 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14246
14247 wxPyEndAllowThreads(__tstate);
14248 if (PyErr_Occurred()) SWIG_fail;
14249 }
14250 {
14251 resultobj = SWIG_From_int((int)(result));
14252 }
14253 return resultobj;
14254 fail:
14255 return NULL;
14256}
14257
14258
14259static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14262 int result;
14263 PyObject * obj0 = 0 ;
14264 char *kwnames[] = {
14265 (char *) "self", NULL
14266 };
14267
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14270 if (SWIG_arg_fail(1)) SWIG_fail;
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 {
14279 resultobj = SWIG_From_int((int)(result));
14280 }
14281 return resultobj;
14282 fail:
14283 return NULL;
14284}
14285
14286
14287static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14288 PyObject *resultobj;
14289 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14290 int arg2 ;
14291 wxDirection arg3 ;
14292 long arg4 ;
14293 int result;
14294 PyObject * obj0 = 0 ;
14295 PyObject * obj1 = 0 ;
14296 PyObject * obj2 = 0 ;
14297 PyObject * obj3 = 0 ;
14298 char *kwnames[] = {
14299 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14300 };
14301
14302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14304 if (SWIG_arg_fail(1)) SWIG_fail;
14305 {
14306 arg2 = (int)(SWIG_As_int(obj1));
14307 if (SWIG_arg_fail(2)) SWIG_fail;
14308 }
14309 {
14310 arg3 = (wxDirection)(SWIG_As_int(obj2));
14311 if (SWIG_arg_fail(3)) SWIG_fail;
14312 }
14313 {
14314 arg4 = (long)(SWIG_As_long(obj3));
14315 if (SWIG_arg_fail(4)) SWIG_fail;
14316 }
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14320
14321 wxPyEndAllowThreads(__tstate);
14322 if (PyErr_Occurred()) SWIG_fail;
14323 }
14324 {
14325 resultobj = SWIG_From_int((int)(result));
14326 }
14327 return resultobj;
14328 fail:
14329 return NULL;
14330}
14331
14332
14333static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14334 PyObject *resultobj;
14335 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14336 wxVisualAttributes result;
14337 PyObject * obj0 = 0 ;
14338 char *kwnames[] = {
14339 (char *) "variant", NULL
14340 };
14341
14342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14343 if (obj0) {
14344 {
14345 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14346 if (SWIG_arg_fail(1)) SWIG_fail;
14347 }
14348 }
14349 {
14350 if (!wxPyCheckForApp()) SWIG_fail;
14351 PyThreadState* __tstate = wxPyBeginAllowThreads();
14352 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14353
14354 wxPyEndAllowThreads(__tstate);
14355 if (PyErr_Occurred()) SWIG_fail;
14356 }
14357 {
14358 wxVisualAttributes * resultptr;
14359 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14360 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14361 }
14362 return resultobj;
14363 fail:
14364 return NULL;
14365}
14366
14367
14368static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14369 PyObject *obj;
14370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14371 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14372 Py_INCREF(obj);
14373 return Py_BuildValue((char *)"");
14374}
14375static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14376 PyObject *resultobj;
14377 wxWindow *arg1 = (wxWindow *) 0 ;
14378 int arg2 = (int) -1 ;
14379 wxString const &arg3_defvalue = wxPyEmptyString ;
14380 wxString *arg3 = (wxString *) &arg3_defvalue ;
14381 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14382 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14383 wxSize const &arg5_defvalue = wxDefaultSize ;
14384 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14385 long arg6 = (long) 0 ;
14386 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14387 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14388 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14389 wxString *arg8 = (wxString *) &arg8_defvalue ;
14390 wxRadioButton *result;
14391 bool temp3 = false ;
14392 wxPoint temp4 ;
14393 wxSize temp5 ;
14394 bool temp8 = false ;
14395 PyObject * obj0 = 0 ;
14396 PyObject * obj1 = 0 ;
14397 PyObject * obj2 = 0 ;
14398 PyObject * obj3 = 0 ;
14399 PyObject * obj4 = 0 ;
14400 PyObject * obj5 = 0 ;
14401 PyObject * obj6 = 0 ;
14402 PyObject * obj7 = 0 ;
14403 char *kwnames[] = {
14404 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14405 };
14406
14407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14409 if (SWIG_arg_fail(1)) SWIG_fail;
14410 if (obj1) {
14411 {
14412 arg2 = (int)(SWIG_As_int(obj1));
14413 if (SWIG_arg_fail(2)) SWIG_fail;
14414 }
14415 }
14416 if (obj2) {
14417 {
14418 arg3 = wxString_in_helper(obj2);
14419 if (arg3 == NULL) SWIG_fail;
14420 temp3 = true;
14421 }
14422 }
14423 if (obj3) {
14424 {
14425 arg4 = &temp4;
14426 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14427 }
14428 }
14429 if (obj4) {
14430 {
14431 arg5 = &temp5;
14432 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14433 }
14434 }
14435 if (obj5) {
14436 {
14437 arg6 = (long)(SWIG_As_long(obj5));
14438 if (SWIG_arg_fail(6)) SWIG_fail;
14439 }
14440 }
14441 if (obj6) {
14442 {
14443 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14444 if (SWIG_arg_fail(7)) SWIG_fail;
14445 if (arg7 == NULL) {
14446 SWIG_null_ref("wxValidator");
14447 }
14448 if (SWIG_arg_fail(7)) SWIG_fail;
14449 }
14450 }
14451 if (obj7) {
14452 {
14453 arg8 = wxString_in_helper(obj7);
14454 if (arg8 == NULL) SWIG_fail;
14455 temp8 = true;
14456 }
14457 }
14458 {
14459 if (!wxPyCheckForApp()) SWIG_fail;
14460 PyThreadState* __tstate = wxPyBeginAllowThreads();
14461 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14462
14463 wxPyEndAllowThreads(__tstate);
14464 if (PyErr_Occurred()) SWIG_fail;
14465 }
14466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14467 {
14468 if (temp3)
14469 delete arg3;
14470 }
14471 {
14472 if (temp8)
14473 delete arg8;
14474 }
14475 return resultobj;
14476 fail:
14477 {
14478 if (temp3)
14479 delete arg3;
14480 }
14481 {
14482 if (temp8)
14483 delete arg8;
14484 }
14485 return NULL;
14486}
14487
14488
14489static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14490 PyObject *resultobj;
14491 wxRadioButton *result;
14492 char *kwnames[] = {
14493 NULL
14494 };
14495
14496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14497 {
14498 if (!wxPyCheckForApp()) SWIG_fail;
14499 PyThreadState* __tstate = wxPyBeginAllowThreads();
14500 result = (wxRadioButton *)new wxRadioButton();
14501
14502 wxPyEndAllowThreads(__tstate);
14503 if (PyErr_Occurred()) SWIG_fail;
14504 }
14505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14506 return resultobj;
14507 fail:
14508 return NULL;
14509}
14510
14511
14512static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14513 PyObject *resultobj;
14514 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14515 wxWindow *arg2 = (wxWindow *) 0 ;
14516 int arg3 = (int) -1 ;
14517 wxString const &arg4_defvalue = wxPyEmptyString ;
14518 wxString *arg4 = (wxString *) &arg4_defvalue ;
14519 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14520 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14521 wxSize const &arg6_defvalue = wxDefaultSize ;
14522 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14523 long arg7 = (long) 0 ;
14524 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14525 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14526 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14527 wxString *arg9 = (wxString *) &arg9_defvalue ;
14528 bool result;
14529 bool temp4 = false ;
14530 wxPoint temp5 ;
14531 wxSize temp6 ;
14532 bool temp9 = false ;
14533 PyObject * obj0 = 0 ;
14534 PyObject * obj1 = 0 ;
14535 PyObject * obj2 = 0 ;
14536 PyObject * obj3 = 0 ;
14537 PyObject * obj4 = 0 ;
14538 PyObject * obj5 = 0 ;
14539 PyObject * obj6 = 0 ;
14540 PyObject * obj7 = 0 ;
14541 PyObject * obj8 = 0 ;
14542 char *kwnames[] = {
14543 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14544 };
14545
14546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14548 if (SWIG_arg_fail(1)) SWIG_fail;
14549 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14550 if (SWIG_arg_fail(2)) SWIG_fail;
14551 if (obj2) {
14552 {
14553 arg3 = (int)(SWIG_As_int(obj2));
14554 if (SWIG_arg_fail(3)) SWIG_fail;
14555 }
14556 }
14557 if (obj3) {
14558 {
14559 arg4 = wxString_in_helper(obj3);
14560 if (arg4 == NULL) SWIG_fail;
14561 temp4 = true;
14562 }
14563 }
14564 if (obj4) {
14565 {
14566 arg5 = &temp5;
14567 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14568 }
14569 }
14570 if (obj5) {
14571 {
14572 arg6 = &temp6;
14573 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14574 }
14575 }
14576 if (obj6) {
14577 {
14578 arg7 = (long)(SWIG_As_long(obj6));
14579 if (SWIG_arg_fail(7)) SWIG_fail;
14580 }
14581 }
14582 if (obj7) {
14583 {
14584 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14585 if (SWIG_arg_fail(8)) SWIG_fail;
14586 if (arg8 == NULL) {
14587 SWIG_null_ref("wxValidator");
14588 }
14589 if (SWIG_arg_fail(8)) SWIG_fail;
14590 }
14591 }
14592 if (obj8) {
14593 {
14594 arg9 = wxString_in_helper(obj8);
14595 if (arg9 == NULL) SWIG_fail;
14596 temp9 = true;
14597 }
14598 }
14599 {
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14602
14603 wxPyEndAllowThreads(__tstate);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 }
14606 {
14607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14608 }
14609 {
14610 if (temp4)
14611 delete arg4;
14612 }
14613 {
14614 if (temp9)
14615 delete arg9;
14616 }
14617 return resultobj;
14618 fail:
14619 {
14620 if (temp4)
14621 delete arg4;
14622 }
14623 {
14624 if (temp9)
14625 delete arg9;
14626 }
14627 return NULL;
14628}
14629
14630
14631static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj;
14633 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14634 bool result;
14635 PyObject * obj0 = 0 ;
14636 char *kwnames[] = {
14637 (char *) "self", NULL
14638 };
14639
14640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14642 if (SWIG_arg_fail(1)) SWIG_fail;
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 result = (bool)(arg1)->GetValue();
14646
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
14650 {
14651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14652 }
14653 return resultobj;
14654 fail:
14655 return NULL;
14656}
14657
14658
14659static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14660 PyObject *resultobj;
14661 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14662 bool arg2 ;
14663 PyObject * obj0 = 0 ;
14664 PyObject * obj1 = 0 ;
14665 char *kwnames[] = {
14666 (char *) "self",(char *) "value", NULL
14667 };
14668
14669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14671 if (SWIG_arg_fail(1)) SWIG_fail;
14672 {
14673 arg2 = (bool)(SWIG_As_bool(obj1));
14674 if (SWIG_arg_fail(2)) SWIG_fail;
14675 }
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 (arg1)->SetValue(arg2);
14679
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 Py_INCREF(Py_None); resultobj = Py_None;
14684 return resultobj;
14685 fail:
14686 return NULL;
14687}
14688
14689
14690static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14691 PyObject *resultobj;
14692 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14693 wxVisualAttributes result;
14694 PyObject * obj0 = 0 ;
14695 char *kwnames[] = {
14696 (char *) "variant", NULL
14697 };
14698
14699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14700 if (obj0) {
14701 {
14702 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14703 if (SWIG_arg_fail(1)) SWIG_fail;
14704 }
14705 }
14706 {
14707 if (!wxPyCheckForApp()) SWIG_fail;
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14710
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
14714 {
14715 wxVisualAttributes * resultptr;
14716 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14717 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14718 }
14719 return resultobj;
14720 fail:
14721 return NULL;
14722}
14723
14724
14725static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14726 PyObject *obj;
14727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14728 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14729 Py_INCREF(obj);
14730 return Py_BuildValue((char *)"");
14731}
14732static int _wrap_SliderNameStr_set(PyObject *) {
14733 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14734 return 1;
14735}
14736
14737
14738static PyObject *_wrap_SliderNameStr_get(void) {
14739 PyObject *pyobj;
14740
14741 {
14742#if wxUSE_UNICODE
14743 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14744#else
14745 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14746#endif
14747 }
14748 return pyobj;
14749}
14750
14751
14752static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14753 PyObject *resultobj;
14754 wxWindow *arg1 = (wxWindow *) 0 ;
14755 int arg2 = (int) -1 ;
14756 int arg3 = (int) 0 ;
14757 int arg4 = (int) 0 ;
14758 int arg5 = (int) 100 ;
14759 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14760 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14761 wxSize const &arg7_defvalue = wxDefaultSize ;
14762 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14763 long arg8 = (long) wxSL_HORIZONTAL ;
14764 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14765 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14766 wxString const &arg10_defvalue = wxPySliderNameStr ;
14767 wxString *arg10 = (wxString *) &arg10_defvalue ;
14768 wxSlider *result;
14769 wxPoint temp6 ;
14770 wxSize temp7 ;
14771 bool temp10 = false ;
14772 PyObject * obj0 = 0 ;
14773 PyObject * obj1 = 0 ;
14774 PyObject * obj2 = 0 ;
14775 PyObject * obj3 = 0 ;
14776 PyObject * obj4 = 0 ;
14777 PyObject * obj5 = 0 ;
14778 PyObject * obj6 = 0 ;
14779 PyObject * obj7 = 0 ;
14780 PyObject * obj8 = 0 ;
14781 PyObject * obj9 = 0 ;
14782 char *kwnames[] = {
14783 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14784 };
14785
14786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14788 if (SWIG_arg_fail(1)) SWIG_fail;
14789 if (obj1) {
14790 {
14791 arg2 = (int)(SWIG_As_int(obj1));
14792 if (SWIG_arg_fail(2)) SWIG_fail;
14793 }
14794 }
14795 if (obj2) {
14796 {
14797 arg3 = (int)(SWIG_As_int(obj2));
14798 if (SWIG_arg_fail(3)) SWIG_fail;
14799 }
14800 }
14801 if (obj3) {
14802 {
14803 arg4 = (int)(SWIG_As_int(obj3));
14804 if (SWIG_arg_fail(4)) SWIG_fail;
14805 }
14806 }
14807 if (obj4) {
14808 {
14809 arg5 = (int)(SWIG_As_int(obj4));
14810 if (SWIG_arg_fail(5)) SWIG_fail;
14811 }
14812 }
14813 if (obj5) {
14814 {
14815 arg6 = &temp6;
14816 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14817 }
14818 }
14819 if (obj6) {
14820 {
14821 arg7 = &temp7;
14822 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14823 }
14824 }
14825 if (obj7) {
14826 {
14827 arg8 = (long)(SWIG_As_long(obj7));
14828 if (SWIG_arg_fail(8)) SWIG_fail;
14829 }
14830 }
14831 if (obj8) {
14832 {
14833 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14834 if (SWIG_arg_fail(9)) SWIG_fail;
14835 if (arg9 == NULL) {
14836 SWIG_null_ref("wxValidator");
14837 }
14838 if (SWIG_arg_fail(9)) SWIG_fail;
14839 }
14840 }
14841 if (obj9) {
14842 {
14843 arg10 = wxString_in_helper(obj9);
14844 if (arg10 == NULL) SWIG_fail;
14845 temp10 = true;
14846 }
14847 }
14848 {
14849 if (!wxPyCheckForApp()) SWIG_fail;
14850 PyThreadState* __tstate = wxPyBeginAllowThreads();
14851 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14852
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14857 {
14858 if (temp10)
14859 delete arg10;
14860 }
14861 return resultobj;
14862 fail:
14863 {
14864 if (temp10)
14865 delete arg10;
14866 }
14867 return NULL;
14868}
14869
14870
14871static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14872 PyObject *resultobj;
14873 wxSlider *result;
14874 char *kwnames[] = {
14875 NULL
14876 };
14877
14878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14879 {
14880 if (!wxPyCheckForApp()) SWIG_fail;
14881 PyThreadState* __tstate = wxPyBeginAllowThreads();
14882 result = (wxSlider *)new wxSlider();
14883
14884 wxPyEndAllowThreads(__tstate);
14885 if (PyErr_Occurred()) SWIG_fail;
14886 }
14887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14888 return resultobj;
14889 fail:
14890 return NULL;
14891}
14892
14893
14894static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14895 PyObject *resultobj;
14896 wxSlider *arg1 = (wxSlider *) 0 ;
14897 wxWindow *arg2 = (wxWindow *) 0 ;
14898 int arg3 = (int) -1 ;
14899 int arg4 = (int) 0 ;
14900 int arg5 = (int) 0 ;
14901 int arg6 = (int) 100 ;
14902 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14903 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14904 wxSize const &arg8_defvalue = wxDefaultSize ;
14905 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14906 long arg9 = (long) wxSL_HORIZONTAL ;
14907 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14908 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14909 wxString const &arg11_defvalue = wxPySliderNameStr ;
14910 wxString *arg11 = (wxString *) &arg11_defvalue ;
14911 bool result;
14912 wxPoint temp7 ;
14913 wxSize temp8 ;
14914 bool temp11 = false ;
14915 PyObject * obj0 = 0 ;
14916 PyObject * obj1 = 0 ;
14917 PyObject * obj2 = 0 ;
14918 PyObject * obj3 = 0 ;
14919 PyObject * obj4 = 0 ;
14920 PyObject * obj5 = 0 ;
14921 PyObject * obj6 = 0 ;
14922 PyObject * obj7 = 0 ;
14923 PyObject * obj8 = 0 ;
14924 PyObject * obj9 = 0 ;
14925 PyObject * obj10 = 0 ;
14926 char *kwnames[] = {
14927 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14928 };
14929
14930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14932 if (SWIG_arg_fail(1)) SWIG_fail;
14933 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14934 if (SWIG_arg_fail(2)) SWIG_fail;
14935 if (obj2) {
14936 {
14937 arg3 = (int)(SWIG_As_int(obj2));
14938 if (SWIG_arg_fail(3)) SWIG_fail;
14939 }
14940 }
14941 if (obj3) {
14942 {
14943 arg4 = (int)(SWIG_As_int(obj3));
14944 if (SWIG_arg_fail(4)) SWIG_fail;
14945 }
14946 }
14947 if (obj4) {
14948 {
14949 arg5 = (int)(SWIG_As_int(obj4));
14950 if (SWIG_arg_fail(5)) SWIG_fail;
14951 }
14952 }
14953 if (obj5) {
14954 {
14955 arg6 = (int)(SWIG_As_int(obj5));
14956 if (SWIG_arg_fail(6)) SWIG_fail;
14957 }
14958 }
14959 if (obj6) {
14960 {
14961 arg7 = &temp7;
14962 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14963 }
14964 }
14965 if (obj7) {
14966 {
14967 arg8 = &temp8;
14968 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14969 }
14970 }
14971 if (obj8) {
14972 {
14973 arg9 = (long)(SWIG_As_long(obj8));
14974 if (SWIG_arg_fail(9)) SWIG_fail;
14975 }
14976 }
14977 if (obj9) {
14978 {
14979 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14980 if (SWIG_arg_fail(10)) SWIG_fail;
14981 if (arg10 == NULL) {
14982 SWIG_null_ref("wxValidator");
14983 }
14984 if (SWIG_arg_fail(10)) SWIG_fail;
14985 }
14986 }
14987 if (obj10) {
14988 {
14989 arg11 = wxString_in_helper(obj10);
14990 if (arg11 == NULL) SWIG_fail;
14991 temp11 = true;
14992 }
14993 }
14994 {
14995 PyThreadState* __tstate = wxPyBeginAllowThreads();
14996 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14997
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 {
15002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15003 }
15004 {
15005 if (temp11)
15006 delete arg11;
15007 }
15008 return resultobj;
15009 fail:
15010 {
15011 if (temp11)
15012 delete arg11;
15013 }
15014 return NULL;
15015}
15016
15017
15018static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15019 PyObject *resultobj;
15020 wxSlider *arg1 = (wxSlider *) 0 ;
15021 int result;
15022 PyObject * obj0 = 0 ;
15023 char *kwnames[] = {
15024 (char *) "self", NULL
15025 };
15026
15027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15029 if (SWIG_arg_fail(1)) SWIG_fail;
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 result = (int)((wxSlider const *)arg1)->GetValue();
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 {
15038 resultobj = SWIG_From_int((int)(result));
15039 }
15040 return resultobj;
15041 fail:
15042 return NULL;
15043}
15044
15045
15046static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15047 PyObject *resultobj;
15048 wxSlider *arg1 = (wxSlider *) 0 ;
15049 int arg2 ;
15050 PyObject * obj0 = 0 ;
15051 PyObject * obj1 = 0 ;
15052 char *kwnames[] = {
15053 (char *) "self",(char *) "value", NULL
15054 };
15055
15056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15058 if (SWIG_arg_fail(1)) SWIG_fail;
15059 {
15060 arg2 = (int)(SWIG_As_int(obj1));
15061 if (SWIG_arg_fail(2)) SWIG_fail;
15062 }
15063 {
15064 PyThreadState* __tstate = wxPyBeginAllowThreads();
15065 (arg1)->SetValue(arg2);
15066
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 Py_INCREF(Py_None); resultobj = Py_None;
15071 return resultobj;
15072 fail:
15073 return NULL;
15074}
15075
15076
15077static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15078 PyObject *resultobj;
15079 wxSlider *arg1 = (wxSlider *) 0 ;
15080 int arg2 ;
15081 int arg3 ;
15082 PyObject * obj0 = 0 ;
15083 PyObject * obj1 = 0 ;
15084 PyObject * obj2 = 0 ;
15085 char *kwnames[] = {
15086 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15087 };
15088
15089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
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 }
15096 {
15097 arg3 = (int)(SWIG_As_int(obj2));
15098 if (SWIG_arg_fail(3)) SWIG_fail;
15099 }
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 (arg1)->SetRange(arg2,arg3);
15103
15104 wxPyEndAllowThreads(__tstate);
15105 if (PyErr_Occurred()) SWIG_fail;
15106 }
15107 Py_INCREF(Py_None); resultobj = Py_None;
15108 return resultobj;
15109 fail:
15110 return NULL;
15111}
15112
15113
15114static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15115 PyObject *resultobj;
15116 wxSlider *arg1 = (wxSlider *) 0 ;
15117 int result;
15118 PyObject * obj0 = 0 ;
15119 char *kwnames[] = {
15120 (char *) "self", NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15125 if (SWIG_arg_fail(1)) SWIG_fail;
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 result = (int)((wxSlider const *)arg1)->GetMin();
15129
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 {
15134 resultobj = SWIG_From_int((int)(result));
15135 }
15136 return resultobj;
15137 fail:
15138 return NULL;
15139}
15140
15141
15142static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj;
15144 wxSlider *arg1 = (wxSlider *) 0 ;
15145 int result;
15146 PyObject * obj0 = 0 ;
15147 char *kwnames[] = {
15148 (char *) "self", NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15153 if (SWIG_arg_fail(1)) SWIG_fail;
15154 {
15155 PyThreadState* __tstate = wxPyBeginAllowThreads();
15156 result = (int)((wxSlider const *)arg1)->GetMax();
15157
15158 wxPyEndAllowThreads(__tstate);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 }
15161 {
15162 resultobj = SWIG_From_int((int)(result));
15163 }
15164 return resultobj;
15165 fail:
15166 return NULL;
15167}
15168
15169
15170static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj;
15172 wxSlider *arg1 = (wxSlider *) 0 ;
15173 int arg2 ;
15174 PyObject * obj0 = 0 ;
15175 PyObject * obj1 = 0 ;
15176 char *kwnames[] = {
15177 (char *) "self",(char *) "minValue", NULL
15178 };
15179
15180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15182 if (SWIG_arg_fail(1)) SWIG_fail;
15183 {
15184 arg2 = (int)(SWIG_As_int(obj1));
15185 if (SWIG_arg_fail(2)) SWIG_fail;
15186 }
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 (arg1)->SetMin(arg2);
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 Py_INCREF(Py_None); resultobj = Py_None;
15195 return resultobj;
15196 fail:
15197 return NULL;
15198}
15199
15200
15201static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15202 PyObject *resultobj;
15203 wxSlider *arg1 = (wxSlider *) 0 ;
15204 int arg2 ;
15205 PyObject * obj0 = 0 ;
15206 PyObject * obj1 = 0 ;
15207 char *kwnames[] = {
15208 (char *) "self",(char *) "maxValue", NULL
15209 };
15210
15211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15213 if (SWIG_arg_fail(1)) SWIG_fail;
15214 {
15215 arg2 = (int)(SWIG_As_int(obj1));
15216 if (SWIG_arg_fail(2)) SWIG_fail;
15217 }
15218 {
15219 PyThreadState* __tstate = wxPyBeginAllowThreads();
15220 (arg1)->SetMax(arg2);
15221
15222 wxPyEndAllowThreads(__tstate);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 }
15225 Py_INCREF(Py_None); resultobj = Py_None;
15226 return resultobj;
15227 fail:
15228 return NULL;
15229}
15230
15231
15232static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15233 PyObject *resultobj;
15234 wxSlider *arg1 = (wxSlider *) 0 ;
15235 int arg2 ;
15236 PyObject * obj0 = 0 ;
15237 PyObject * obj1 = 0 ;
15238 char *kwnames[] = {
15239 (char *) "self",(char *) "lineSize", NULL
15240 };
15241
15242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15244 if (SWIG_arg_fail(1)) SWIG_fail;
15245 {
15246 arg2 = (int)(SWIG_As_int(obj1));
15247 if (SWIG_arg_fail(2)) SWIG_fail;
15248 }
15249 {
15250 PyThreadState* __tstate = wxPyBeginAllowThreads();
15251 (arg1)->SetLineSize(arg2);
15252
15253 wxPyEndAllowThreads(__tstate);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
15256 Py_INCREF(Py_None); resultobj = Py_None;
15257 return resultobj;
15258 fail:
15259 return NULL;
15260}
15261
15262
15263static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj;
15265 wxSlider *arg1 = (wxSlider *) 0 ;
15266 int arg2 ;
15267 PyObject * obj0 = 0 ;
15268 PyObject * obj1 = 0 ;
15269 char *kwnames[] = {
15270 (char *) "self",(char *) "pageSize", NULL
15271 };
15272
15273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15275 if (SWIG_arg_fail(1)) SWIG_fail;
15276 {
15277 arg2 = (int)(SWIG_As_int(obj1));
15278 if (SWIG_arg_fail(2)) SWIG_fail;
15279 }
15280 {
15281 PyThreadState* __tstate = wxPyBeginAllowThreads();
15282 (arg1)->SetPageSize(arg2);
15283
15284 wxPyEndAllowThreads(__tstate);
15285 if (PyErr_Occurred()) SWIG_fail;
15286 }
15287 Py_INCREF(Py_None); resultobj = Py_None;
15288 return resultobj;
15289 fail:
15290 return NULL;
15291}
15292
15293
15294static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15295 PyObject *resultobj;
15296 wxSlider *arg1 = (wxSlider *) 0 ;
15297 int result;
15298 PyObject * obj0 = 0 ;
15299 char *kwnames[] = {
15300 (char *) "self", NULL
15301 };
15302
15303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15305 if (SWIG_arg_fail(1)) SWIG_fail;
15306 {
15307 PyThreadState* __tstate = wxPyBeginAllowThreads();
15308 result = (int)((wxSlider const *)arg1)->GetLineSize();
15309
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 {
15314 resultobj = SWIG_From_int((int)(result));
15315 }
15316 return resultobj;
15317 fail:
15318 return NULL;
15319}
15320
15321
15322static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15323 PyObject *resultobj;
15324 wxSlider *arg1 = (wxSlider *) 0 ;
15325 int result;
15326 PyObject * obj0 = 0 ;
15327 char *kwnames[] = {
15328 (char *) "self", NULL
15329 };
15330
15331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail;
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 result = (int)((wxSlider const *)arg1)->GetPageSize();
15337
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 {
15342 resultobj = SWIG_From_int((int)(result));
15343 }
15344 return resultobj;
15345 fail:
15346 return NULL;
15347}
15348
15349
15350static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15351 PyObject *resultobj;
15352 wxSlider *arg1 = (wxSlider *) 0 ;
15353 int arg2 ;
15354 PyObject * obj0 = 0 ;
15355 PyObject * obj1 = 0 ;
15356 char *kwnames[] = {
15357 (char *) "self",(char *) "lenPixels", NULL
15358 };
15359
15360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15362 if (SWIG_arg_fail(1)) SWIG_fail;
15363 {
15364 arg2 = (int)(SWIG_As_int(obj1));
15365 if (SWIG_arg_fail(2)) SWIG_fail;
15366 }
15367 {
15368 PyThreadState* __tstate = wxPyBeginAllowThreads();
15369 (arg1)->SetThumbLength(arg2);
15370
15371 wxPyEndAllowThreads(__tstate);
15372 if (PyErr_Occurred()) SWIG_fail;
15373 }
15374 Py_INCREF(Py_None); resultobj = Py_None;
15375 return resultobj;
15376 fail:
15377 return NULL;
15378}
15379
15380
15381static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15382 PyObject *resultobj;
15383 wxSlider *arg1 = (wxSlider *) 0 ;
15384 int result;
15385 PyObject * obj0 = 0 ;
15386 char *kwnames[] = {
15387 (char *) "self", NULL
15388 };
15389
15390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15392 if (SWIG_arg_fail(1)) SWIG_fail;
15393 {
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
15395 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15396
15397 wxPyEndAllowThreads(__tstate);
15398 if (PyErr_Occurred()) SWIG_fail;
15399 }
15400 {
15401 resultobj = SWIG_From_int((int)(result));
15402 }
15403 return resultobj;
15404 fail:
15405 return NULL;
15406}
15407
15408
15409static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxSlider *arg1 = (wxSlider *) 0 ;
15412 int arg2 ;
15413 int arg3 = (int) 1 ;
15414 PyObject * obj0 = 0 ;
15415 PyObject * obj1 = 0 ;
15416 PyObject * obj2 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self",(char *) "n",(char *) "pos", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15423 if (SWIG_arg_fail(1)) SWIG_fail;
15424 {
15425 arg2 = (int)(SWIG_As_int(obj1));
15426 if (SWIG_arg_fail(2)) SWIG_fail;
15427 }
15428 if (obj2) {
15429 {
15430 arg3 = (int)(SWIG_As_int(obj2));
15431 if (SWIG_arg_fail(3)) SWIG_fail;
15432 }
15433 }
15434 {
15435 PyThreadState* __tstate = wxPyBeginAllowThreads();
15436 (arg1)->SetTickFreq(arg2,arg3);
15437
15438 wxPyEndAllowThreads(__tstate);
15439 if (PyErr_Occurred()) SWIG_fail;
15440 }
15441 Py_INCREF(Py_None); resultobj = Py_None;
15442 return resultobj;
15443 fail:
15444 return NULL;
15445}
15446
15447
15448static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15449 PyObject *resultobj;
15450 wxSlider *arg1 = (wxSlider *) 0 ;
15451 int result;
15452 PyObject * obj0 = 0 ;
15453 char *kwnames[] = {
15454 (char *) "self", NULL
15455 };
15456
15457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15459 if (SWIG_arg_fail(1)) SWIG_fail;
15460 {
15461 PyThreadState* __tstate = wxPyBeginAllowThreads();
15462 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15463
15464 wxPyEndAllowThreads(__tstate);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 }
15467 {
15468 resultobj = SWIG_From_int((int)(result));
15469 }
15470 return resultobj;
15471 fail:
15472 return NULL;
15473}
15474
15475
15476static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15477 PyObject *resultobj;
15478 wxSlider *arg1 = (wxSlider *) 0 ;
15479 PyObject * obj0 = 0 ;
15480 char *kwnames[] = {
15481 (char *) "self", NULL
15482 };
15483
15484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15486 if (SWIG_arg_fail(1)) SWIG_fail;
15487 {
15488 PyThreadState* __tstate = wxPyBeginAllowThreads();
15489 (arg1)->ClearTicks();
15490
15491 wxPyEndAllowThreads(__tstate);
15492 if (PyErr_Occurred()) SWIG_fail;
15493 }
15494 Py_INCREF(Py_None); resultobj = Py_None;
15495 return resultobj;
15496 fail:
15497 return NULL;
15498}
15499
15500
15501static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15502 PyObject *resultobj;
15503 wxSlider *arg1 = (wxSlider *) 0 ;
15504 int arg2 ;
15505 PyObject * obj0 = 0 ;
15506 PyObject * obj1 = 0 ;
15507 char *kwnames[] = {
15508 (char *) "self",(char *) "tickPos", NULL
15509 };
15510
15511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15513 if (SWIG_arg_fail(1)) SWIG_fail;
15514 {
15515 arg2 = (int)(SWIG_As_int(obj1));
15516 if (SWIG_arg_fail(2)) SWIG_fail;
15517 }
15518 {
15519 PyThreadState* __tstate = wxPyBeginAllowThreads();
15520 (arg1)->SetTick(arg2);
15521
15522 wxPyEndAllowThreads(__tstate);
15523 if (PyErr_Occurred()) SWIG_fail;
15524 }
15525 Py_INCREF(Py_None); resultobj = Py_None;
15526 return resultobj;
15527 fail:
15528 return NULL;
15529}
15530
15531
15532static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15533 PyObject *resultobj;
15534 wxSlider *arg1 = (wxSlider *) 0 ;
15535 PyObject * obj0 = 0 ;
15536 char *kwnames[] = {
15537 (char *) "self", NULL
15538 };
15539
15540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15542 if (SWIG_arg_fail(1)) SWIG_fail;
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 (arg1)->ClearSel();
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 Py_INCREF(Py_None); resultobj = Py_None;
15551 return resultobj;
15552 fail:
15553 return NULL;
15554}
15555
15556
15557static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15558 PyObject *resultobj;
15559 wxSlider *arg1 = (wxSlider *) 0 ;
15560 int result;
15561 PyObject * obj0 = 0 ;
15562 char *kwnames[] = {
15563 (char *) "self", NULL
15564 };
15565
15566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15568 if (SWIG_arg_fail(1)) SWIG_fail;
15569 {
15570 PyThreadState* __tstate = wxPyBeginAllowThreads();
15571 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15572
15573 wxPyEndAllowThreads(__tstate);
15574 if (PyErr_Occurred()) SWIG_fail;
15575 }
15576 {
15577 resultobj = SWIG_From_int((int)(result));
15578 }
15579 return resultobj;
15580 fail:
15581 return NULL;
15582}
15583
15584
15585static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15586 PyObject *resultobj;
15587 wxSlider *arg1 = (wxSlider *) 0 ;
15588 int result;
15589 PyObject * obj0 = 0 ;
15590 char *kwnames[] = {
15591 (char *) "self", NULL
15592 };
15593
15594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15596 if (SWIG_arg_fail(1)) SWIG_fail;
15597 {
15598 PyThreadState* __tstate = wxPyBeginAllowThreads();
15599 result = (int)((wxSlider const *)arg1)->GetSelStart();
15600
15601 wxPyEndAllowThreads(__tstate);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 }
15604 {
15605 resultobj = SWIG_From_int((int)(result));
15606 }
15607 return resultobj;
15608 fail:
15609 return NULL;
15610}
15611
15612
15613static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15614 PyObject *resultobj;
15615 wxSlider *arg1 = (wxSlider *) 0 ;
15616 int arg2 ;
15617 int arg3 ;
15618 PyObject * obj0 = 0 ;
15619 PyObject * obj1 = 0 ;
15620 PyObject * obj2 = 0 ;
15621 char *kwnames[] = {
15622 (char *) "self",(char *) "min",(char *) "max", NULL
15623 };
15624
15625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15627 if (SWIG_arg_fail(1)) SWIG_fail;
15628 {
15629 arg2 = (int)(SWIG_As_int(obj1));
15630 if (SWIG_arg_fail(2)) SWIG_fail;
15631 }
15632 {
15633 arg3 = (int)(SWIG_As_int(obj2));
15634 if (SWIG_arg_fail(3)) SWIG_fail;
15635 }
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 (arg1)->SetSelection(arg2,arg3);
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 Py_INCREF(Py_None); resultobj = Py_None;
15644 return resultobj;
15645 fail:
15646 return NULL;
15647}
15648
15649
15650static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15651 PyObject *resultobj;
15652 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15653 wxVisualAttributes result;
15654 PyObject * obj0 = 0 ;
15655 char *kwnames[] = {
15656 (char *) "variant", NULL
15657 };
15658
15659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15660 if (obj0) {
15661 {
15662 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15663 if (SWIG_arg_fail(1)) SWIG_fail;
15664 }
15665 }
15666 {
15667 if (!wxPyCheckForApp()) SWIG_fail;
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15670
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15674 {
15675 wxVisualAttributes * resultptr;
15676 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
15677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15678 }
15679 return resultobj;
15680 fail:
15681 return NULL;
15682}
15683
15684
15685static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15686 PyObject *obj;
15687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15688 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15689 Py_INCREF(obj);
15690 return Py_BuildValue((char *)"");
15691}
15692static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15693 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15694 return 1;
15695}
15696
15697
15698static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15699 PyObject *pyobj;
15700
15701 {
15702#if wxUSE_UNICODE
15703 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15704#else
15705 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15706#endif
15707 }
15708 return pyobj;
15709}
15710
15711
15712static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj;
15714 wxWindow *arg1 = (wxWindow *) 0 ;
15715 int arg2 = (int) -1 ;
15716 wxString const &arg3_defvalue = wxPyEmptyString ;
15717 wxString *arg3 = (wxString *) &arg3_defvalue ;
15718 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15719 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15720 wxSize const &arg5_defvalue = wxDefaultSize ;
15721 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15722 long arg6 = (long) 0 ;
15723 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15724 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15725 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15726 wxString *arg8 = (wxString *) &arg8_defvalue ;
15727 wxToggleButton *result;
15728 bool temp3 = false ;
15729 wxPoint temp4 ;
15730 wxSize temp5 ;
15731 bool temp8 = false ;
15732 PyObject * obj0 = 0 ;
15733 PyObject * obj1 = 0 ;
15734 PyObject * obj2 = 0 ;
15735 PyObject * obj3 = 0 ;
15736 PyObject * obj4 = 0 ;
15737 PyObject * obj5 = 0 ;
15738 PyObject * obj6 = 0 ;
15739 PyObject * obj7 = 0 ;
15740 char *kwnames[] = {
15741 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15742 };
15743
15744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15746 if (SWIG_arg_fail(1)) SWIG_fail;
15747 if (obj1) {
15748 {
15749 arg2 = (int)(SWIG_As_int(obj1));
15750 if (SWIG_arg_fail(2)) SWIG_fail;
15751 }
15752 }
15753 if (obj2) {
15754 {
15755 arg3 = wxString_in_helper(obj2);
15756 if (arg3 == NULL) SWIG_fail;
15757 temp3 = true;
15758 }
15759 }
15760 if (obj3) {
15761 {
15762 arg4 = &temp4;
15763 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15764 }
15765 }
15766 if (obj4) {
15767 {
15768 arg5 = &temp5;
15769 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15770 }
15771 }
15772 if (obj5) {
15773 {
15774 arg6 = (long)(SWIG_As_long(obj5));
15775 if (SWIG_arg_fail(6)) SWIG_fail;
15776 }
15777 }
15778 if (obj6) {
15779 {
15780 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15781 if (SWIG_arg_fail(7)) SWIG_fail;
15782 if (arg7 == NULL) {
15783 SWIG_null_ref("wxValidator");
15784 }
15785 if (SWIG_arg_fail(7)) SWIG_fail;
15786 }
15787 }
15788 if (obj7) {
15789 {
15790 arg8 = wxString_in_helper(obj7);
15791 if (arg8 == NULL) SWIG_fail;
15792 temp8 = true;
15793 }
15794 }
15795 {
15796 if (!wxPyCheckForApp()) SWIG_fail;
15797 PyThreadState* __tstate = wxPyBeginAllowThreads();
15798 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15799
15800 wxPyEndAllowThreads(__tstate);
15801 if (PyErr_Occurred()) SWIG_fail;
15802 }
15803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15804 {
15805 if (temp3)
15806 delete arg3;
15807 }
15808 {
15809 if (temp8)
15810 delete arg8;
15811 }
15812 return resultobj;
15813 fail:
15814 {
15815 if (temp3)
15816 delete arg3;
15817 }
15818 {
15819 if (temp8)
15820 delete arg8;
15821 }
15822 return NULL;
15823}
15824
15825
15826static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15827 PyObject *resultobj;
15828 wxToggleButton *result;
15829 char *kwnames[] = {
15830 NULL
15831 };
15832
15833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15834 {
15835 if (!wxPyCheckForApp()) SWIG_fail;
15836 PyThreadState* __tstate = wxPyBeginAllowThreads();
15837 result = (wxToggleButton *)new wxToggleButton();
15838
15839 wxPyEndAllowThreads(__tstate);
15840 if (PyErr_Occurred()) SWIG_fail;
15841 }
15842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15843 return resultobj;
15844 fail:
15845 return NULL;
15846}
15847
15848
15849static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15850 PyObject *resultobj;
15851 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15852 wxWindow *arg2 = (wxWindow *) 0 ;
15853 int arg3 = (int) -1 ;
15854 wxString const &arg4_defvalue = wxPyEmptyString ;
15855 wxString *arg4 = (wxString *) &arg4_defvalue ;
15856 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15857 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15858 wxSize const &arg6_defvalue = wxDefaultSize ;
15859 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15860 long arg7 = (long) 0 ;
15861 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15862 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15863 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15864 wxString *arg9 = (wxString *) &arg9_defvalue ;
15865 bool result;
15866 bool temp4 = false ;
15867 wxPoint temp5 ;
15868 wxSize temp6 ;
15869 bool temp9 = false ;
15870 PyObject * obj0 = 0 ;
15871 PyObject * obj1 = 0 ;
15872 PyObject * obj2 = 0 ;
15873 PyObject * obj3 = 0 ;
15874 PyObject * obj4 = 0 ;
15875 PyObject * obj5 = 0 ;
15876 PyObject * obj6 = 0 ;
15877 PyObject * obj7 = 0 ;
15878 PyObject * obj8 = 0 ;
15879 char *kwnames[] = {
15880 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15881 };
15882
15883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15885 if (SWIG_arg_fail(1)) SWIG_fail;
15886 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15887 if (SWIG_arg_fail(2)) SWIG_fail;
15888 if (obj2) {
15889 {
15890 arg3 = (int)(SWIG_As_int(obj2));
15891 if (SWIG_arg_fail(3)) SWIG_fail;
15892 }
15893 }
15894 if (obj3) {
15895 {
15896 arg4 = wxString_in_helper(obj3);
15897 if (arg4 == NULL) SWIG_fail;
15898 temp4 = true;
15899 }
15900 }
15901 if (obj4) {
15902 {
15903 arg5 = &temp5;
15904 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15905 }
15906 }
15907 if (obj5) {
15908 {
15909 arg6 = &temp6;
15910 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15911 }
15912 }
15913 if (obj6) {
15914 {
15915 arg7 = (long)(SWIG_As_long(obj6));
15916 if (SWIG_arg_fail(7)) SWIG_fail;
15917 }
15918 }
15919 if (obj7) {
15920 {
15921 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15922 if (SWIG_arg_fail(8)) SWIG_fail;
15923 if (arg8 == NULL) {
15924 SWIG_null_ref("wxValidator");
15925 }
15926 if (SWIG_arg_fail(8)) SWIG_fail;
15927 }
15928 }
15929 if (obj8) {
15930 {
15931 arg9 = wxString_in_helper(obj8);
15932 if (arg9 == NULL) SWIG_fail;
15933 temp9 = true;
15934 }
15935 }
15936 {
15937 PyThreadState* __tstate = wxPyBeginAllowThreads();
15938 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15939
15940 wxPyEndAllowThreads(__tstate);
15941 if (PyErr_Occurred()) SWIG_fail;
15942 }
15943 {
15944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15945 }
15946 {
15947 if (temp4)
15948 delete arg4;
15949 }
15950 {
15951 if (temp9)
15952 delete arg9;
15953 }
15954 return resultobj;
15955 fail:
15956 {
15957 if (temp4)
15958 delete arg4;
15959 }
15960 {
15961 if (temp9)
15962 delete arg9;
15963 }
15964 return NULL;
15965}
15966
15967
15968static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15969 PyObject *resultobj;
15970 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15971 bool arg2 ;
15972 PyObject * obj0 = 0 ;
15973 PyObject * obj1 = 0 ;
15974 char *kwnames[] = {
15975 (char *) "self",(char *) "value", NULL
15976 };
15977
15978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15980 if (SWIG_arg_fail(1)) SWIG_fail;
15981 {
15982 arg2 = (bool)(SWIG_As_bool(obj1));
15983 if (SWIG_arg_fail(2)) SWIG_fail;
15984 }
15985 {
15986 PyThreadState* __tstate = wxPyBeginAllowThreads();
15987 (arg1)->SetValue(arg2);
15988
15989 wxPyEndAllowThreads(__tstate);
15990 if (PyErr_Occurred()) SWIG_fail;
15991 }
15992 Py_INCREF(Py_None); resultobj = Py_None;
15993 return resultobj;
15994 fail:
15995 return NULL;
15996}
15997
15998
15999static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16000 PyObject *resultobj;
16001 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16002 bool result;
16003 PyObject * obj0 = 0 ;
16004 char *kwnames[] = {
16005 (char *) "self", NULL
16006 };
16007
16008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
16009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16010 if (SWIG_arg_fail(1)) SWIG_fail;
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 {
16019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16020 }
16021 return resultobj;
16022 fail:
16023 return NULL;
16024}
16025
16026
16027static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16028 PyObject *resultobj;
16029 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16030 wxString *arg2 = 0 ;
16031 bool temp2 = false ;
16032 PyObject * obj0 = 0 ;
16033 PyObject * obj1 = 0 ;
16034 char *kwnames[] = {
16035 (char *) "self",(char *) "label", NULL
16036 };
16037
16038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16040 if (SWIG_arg_fail(1)) SWIG_fail;
16041 {
16042 arg2 = wxString_in_helper(obj1);
16043 if (arg2 == NULL) SWIG_fail;
16044 temp2 = true;
16045 }
16046 {
16047 PyThreadState* __tstate = wxPyBeginAllowThreads();
16048 (arg1)->SetLabel((wxString const &)*arg2);
16049
16050 wxPyEndAllowThreads(__tstate);
16051 if (PyErr_Occurred()) SWIG_fail;
16052 }
16053 Py_INCREF(Py_None); resultobj = Py_None;
16054 {
16055 if (temp2)
16056 delete arg2;
16057 }
16058 return resultobj;
16059 fail:
16060 {
16061 if (temp2)
16062 delete arg2;
16063 }
16064 return NULL;
16065}
16066
16067
16068static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16069 PyObject *resultobj;
16070 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16071 wxVisualAttributes result;
16072 PyObject * obj0 = 0 ;
16073 char *kwnames[] = {
16074 (char *) "variant", NULL
16075 };
16076
16077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16078 if (obj0) {
16079 {
16080 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16081 if (SWIG_arg_fail(1)) SWIG_fail;
16082 }
16083 }
16084 {
16085 if (!wxPyCheckForApp()) SWIG_fail;
16086 PyThreadState* __tstate = wxPyBeginAllowThreads();
16087 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16088
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 {
16093 wxVisualAttributes * resultptr;
16094 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16096 }
16097 return resultobj;
16098 fail:
16099 return NULL;
16100}
16101
16102
16103static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16104 PyObject *obj;
16105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16106 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16107 Py_INCREF(obj);
16108 return Py_BuildValue((char *)"");
16109}
16110static int _wrap_NotebookNameStr_set(PyObject *) {
16111 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16112 return 1;
16113}
16114
16115
16116static PyObject *_wrap_NotebookNameStr_get(void) {
16117 PyObject *pyobj;
16118
16119 {
16120#if wxUSE_UNICODE
16121 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16122#else
16123 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16124#endif
16125 }
16126 return pyobj;
16127}
16128
16129
16130static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16131 PyObject *resultobj;
16132 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16133 size_t result;
16134 PyObject * obj0 = 0 ;
16135 char *kwnames[] = {
16136 (char *) "self", NULL
16137 };
16138
16139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16141 if (SWIG_arg_fail(1)) SWIG_fail;
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16145
16146 wxPyEndAllowThreads(__tstate);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
16149 {
16150 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16151 }
16152 return resultobj;
16153 fail:
16154 return NULL;
16155}
16156
16157
16158static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16159 PyObject *resultobj;
16160 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16161 size_t arg2 ;
16162 wxWindow *result;
16163 PyObject * obj0 = 0 ;
16164 PyObject * obj1 = 0 ;
16165 char *kwnames[] = {
16166 (char *) "self",(char *) "n", NULL
16167 };
16168
16169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16171 if (SWIG_arg_fail(1)) SWIG_fail;
16172 {
16173 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16174 if (SWIG_arg_fail(2)) SWIG_fail;
16175 }
16176 {
16177 PyThreadState* __tstate = wxPyBeginAllowThreads();
16178 result = (wxWindow *)(arg1)->GetPage(arg2);
16179
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 {
16184 resultobj = wxPyMake_wxObject(result, 0);
16185 }
16186 return resultobj;
16187 fail:
16188 return NULL;
16189}
16190
16191
16192static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16193 PyObject *resultobj;
16194 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16195 wxWindow *result;
16196 PyObject * obj0 = 0 ;
16197 char *kwnames[] = {
16198 (char *) "self", NULL
16199 };
16200
16201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16203 if (SWIG_arg_fail(1)) SWIG_fail;
16204 {
16205 PyThreadState* __tstate = wxPyBeginAllowThreads();
16206 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16207
16208 wxPyEndAllowThreads(__tstate);
16209 if (PyErr_Occurred()) SWIG_fail;
16210 }
16211 {
16212 resultobj = wxPyMake_wxObject(result, 0);
16213 }
16214 return resultobj;
16215 fail:
16216 return NULL;
16217}
16218
16219
16220static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16221 PyObject *resultobj;
16222 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16223 int result;
16224 PyObject * obj0 = 0 ;
16225 char *kwnames[] = {
16226 (char *) "self", NULL
16227 };
16228
16229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16231 if (SWIG_arg_fail(1)) SWIG_fail;
16232 {
16233 PyThreadState* __tstate = wxPyBeginAllowThreads();
16234 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16235
16236 wxPyEndAllowThreads(__tstate);
16237 if (PyErr_Occurred()) SWIG_fail;
16238 }
16239 {
16240 resultobj = SWIG_From_int((int)(result));
16241 }
16242 return resultobj;
16243 fail:
16244 return NULL;
16245}
16246
16247
16248static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16249 PyObject *resultobj;
16250 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16251 size_t arg2 ;
16252 wxString *arg3 = 0 ;
16253 bool result;
16254 bool temp3 = false ;
16255 PyObject * obj0 = 0 ;
16256 PyObject * obj1 = 0 ;
16257 PyObject * obj2 = 0 ;
16258 char *kwnames[] = {
16259 (char *) "self",(char *) "n",(char *) "strText", NULL
16260 };
16261
16262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16264 if (SWIG_arg_fail(1)) SWIG_fail;
16265 {
16266 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16267 if (SWIG_arg_fail(2)) SWIG_fail;
16268 }
16269 {
16270 arg3 = wxString_in_helper(obj2);
16271 if (arg3 == NULL) SWIG_fail;
16272 temp3 = true;
16273 }
16274 {
16275 PyThreadState* __tstate = wxPyBeginAllowThreads();
16276 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16277
16278 wxPyEndAllowThreads(__tstate);
16279 if (PyErr_Occurred()) SWIG_fail;
16280 }
16281 {
16282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16283 }
16284 {
16285 if (temp3)
16286 delete arg3;
16287 }
16288 return resultobj;
16289 fail:
16290 {
16291 if (temp3)
16292 delete arg3;
16293 }
16294 return NULL;
16295}
16296
16297
16298static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16299 PyObject *resultobj;
16300 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16301 size_t arg2 ;
16302 wxString result;
16303 PyObject * obj0 = 0 ;
16304 PyObject * obj1 = 0 ;
16305 char *kwnames[] = {
16306 (char *) "self",(char *) "n", NULL
16307 };
16308
16309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16311 if (SWIG_arg_fail(1)) SWIG_fail;
16312 {
16313 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16314 if (SWIG_arg_fail(2)) SWIG_fail;
16315 }
16316 {
16317 PyThreadState* __tstate = wxPyBeginAllowThreads();
16318 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16319
16320 wxPyEndAllowThreads(__tstate);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 }
16323 {
16324#if wxUSE_UNICODE
16325 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16326#else
16327 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16328#endif
16329 }
16330 return resultobj;
16331 fail:
16332 return NULL;
16333}
16334
16335
16336static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16339 wxImageList *arg2 = (wxImageList *) 0 ;
16340 PyObject * obj0 = 0 ;
16341 PyObject * obj1 = 0 ;
16342 char *kwnames[] = {
16343 (char *) "self",(char *) "imageList", NULL
16344 };
16345
16346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16348 if (SWIG_arg_fail(1)) SWIG_fail;
16349 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16350 if (SWIG_arg_fail(2)) SWIG_fail;
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 (arg1)->SetImageList(arg2);
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 Py_INCREF(Py_None); resultobj = Py_None;
16359 return resultobj;
16360 fail:
16361 return NULL;
16362}
16363
16364
16365static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16368 wxImageList *arg2 = (wxImageList *) 0 ;
16369 PyObject * obj0 = 0 ;
16370 PyObject * obj1 = 0 ;
16371 char *kwnames[] = {
16372 (char *) "self",(char *) "imageList", NULL
16373 };
16374
16375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16377 if (SWIG_arg_fail(1)) SWIG_fail;
16378 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16379 if (SWIG_arg_fail(2)) SWIG_fail;
16380 {
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 (arg1)->AssignImageList(arg2);
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 Py_INCREF(Py_None); resultobj = Py_None;
16388 return resultobj;
16389 fail:
16390 return NULL;
16391}
16392
16393
16394static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj;
16396 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16397 wxImageList *result;
16398 PyObject * obj0 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16405 if (SWIG_arg_fail(1)) SWIG_fail;
16406 {
16407 PyThreadState* __tstate = wxPyBeginAllowThreads();
16408 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16409
16410 wxPyEndAllowThreads(__tstate);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 }
16413 {
16414 resultobj = wxPyMake_wxObject(result, 0);
16415 }
16416 return resultobj;
16417 fail:
16418 return NULL;
16419}
16420
16421
16422static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16423 PyObject *resultobj;
16424 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16425 size_t arg2 ;
16426 int result;
16427 PyObject * obj0 = 0 ;
16428 PyObject * obj1 = 0 ;
16429 char *kwnames[] = {
16430 (char *) "self",(char *) "n", NULL
16431 };
16432
16433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16435 if (SWIG_arg_fail(1)) SWIG_fail;
16436 {
16437 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16438 if (SWIG_arg_fail(2)) SWIG_fail;
16439 }
16440 {
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16443
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 {
16448 resultobj = SWIG_From_int((int)(result));
16449 }
16450 return resultobj;
16451 fail:
16452 return NULL;
16453}
16454
16455
16456static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16457 PyObject *resultobj;
16458 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16459 size_t arg2 ;
16460 int arg3 ;
16461 bool result;
16462 PyObject * obj0 = 0 ;
16463 PyObject * obj1 = 0 ;
16464 PyObject * obj2 = 0 ;
16465 char *kwnames[] = {
16466 (char *) "self",(char *) "n",(char *) "imageId", NULL
16467 };
16468
16469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16471 if (SWIG_arg_fail(1)) SWIG_fail;
16472 {
16473 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16474 if (SWIG_arg_fail(2)) SWIG_fail;
16475 }
16476 {
16477 arg3 = (int)(SWIG_As_int(obj2));
16478 if (SWIG_arg_fail(3)) SWIG_fail;
16479 }
16480 {
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16483
16484 wxPyEndAllowThreads(__tstate);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 {
16488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16489 }
16490 return resultobj;
16491 fail:
16492 return NULL;
16493}
16494
16495
16496static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj;
16498 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16499 wxSize *arg2 = 0 ;
16500 wxSize temp2 ;
16501 PyObject * obj0 = 0 ;
16502 PyObject * obj1 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self",(char *) "size", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16509 if (SWIG_arg_fail(1)) SWIG_fail;
16510 {
16511 arg2 = &temp2;
16512 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16513 }
16514 {
16515 PyThreadState* __tstate = wxPyBeginAllowThreads();
16516 (arg1)->SetPageSize((wxSize const &)*arg2);
16517
16518 wxPyEndAllowThreads(__tstate);
16519 if (PyErr_Occurred()) SWIG_fail;
16520 }
16521 Py_INCREF(Py_None); resultobj = Py_None;
16522 return resultobj;
16523 fail:
16524 return NULL;
16525}
16526
16527
16528static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16529 PyObject *resultobj;
16530 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16531 wxSize *arg2 = 0 ;
16532 wxSize result;
16533 wxSize temp2 ;
16534 PyObject * obj0 = 0 ;
16535 PyObject * obj1 = 0 ;
16536 char *kwnames[] = {
16537 (char *) "self",(char *) "sizePage", NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16542 if (SWIG_arg_fail(1)) SWIG_fail;
16543 {
16544 arg2 = &temp2;
16545 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16546 }
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16550
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 {
16555 wxSize * resultptr;
16556 resultptr = new wxSize((wxSize &)(result));
16557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16558 }
16559 return resultobj;
16560 fail:
16561 return NULL;
16562}
16563
16564
16565static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16566 PyObject *resultobj;
16567 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16568 size_t arg2 ;
16569 bool result;
16570 PyObject * obj0 = 0 ;
16571 PyObject * obj1 = 0 ;
16572 char *kwnames[] = {
16573 (char *) "self",(char *) "n", NULL
16574 };
16575
16576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16578 if (SWIG_arg_fail(1)) SWIG_fail;
16579 {
16580 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16581 if (SWIG_arg_fail(2)) SWIG_fail;
16582 }
16583 {
16584 PyThreadState* __tstate = wxPyBeginAllowThreads();
16585 result = (bool)(arg1)->DeletePage(arg2);
16586
16587 wxPyEndAllowThreads(__tstate);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 {
16591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16592 }
16593 return resultobj;
16594 fail:
16595 return NULL;
16596}
16597
16598
16599static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16600 PyObject *resultobj;
16601 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16602 size_t arg2 ;
16603 bool result;
16604 PyObject * obj0 = 0 ;
16605 PyObject * obj1 = 0 ;
16606 char *kwnames[] = {
16607 (char *) "self",(char *) "n", NULL
16608 };
16609
16610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
16611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16612 if (SWIG_arg_fail(1)) SWIG_fail;
16613 {
16614 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16615 if (SWIG_arg_fail(2)) SWIG_fail;
16616 }
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 result = (bool)(arg1)->RemovePage(arg2);
16620
16621 wxPyEndAllowThreads(__tstate);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 {
16625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16626 }
16627 return resultobj;
16628 fail:
16629 return NULL;
16630}
16631
16632
16633static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16634 PyObject *resultobj;
16635 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16636 bool result;
16637 PyObject * obj0 = 0 ;
16638 char *kwnames[] = {
16639 (char *) "self", NULL
16640 };
16641
16642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16644 if (SWIG_arg_fail(1)) SWIG_fail;
16645 {
16646 PyThreadState* __tstate = wxPyBeginAllowThreads();
16647 result = (bool)(arg1)->DeleteAllPages();
16648
16649 wxPyEndAllowThreads(__tstate);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 }
16652 {
16653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16654 }
16655 return resultobj;
16656 fail:
16657 return NULL;
16658}
16659
16660
16661static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16662 PyObject *resultobj;
16663 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16664 wxWindow *arg2 = (wxWindow *) 0 ;
16665 wxString *arg3 = 0 ;
16666 bool arg4 = (bool) false ;
16667 int arg5 = (int) -1 ;
16668 bool result;
16669 bool temp3 = false ;
16670 PyObject * obj0 = 0 ;
16671 PyObject * obj1 = 0 ;
16672 PyObject * obj2 = 0 ;
16673 PyObject * obj3 = 0 ;
16674 PyObject * obj4 = 0 ;
16675 char *kwnames[] = {
16676 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16677 };
16678
16679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16681 if (SWIG_arg_fail(1)) SWIG_fail;
16682 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16683 if (SWIG_arg_fail(2)) SWIG_fail;
16684 {
16685 arg3 = wxString_in_helper(obj2);
16686 if (arg3 == NULL) SWIG_fail;
16687 temp3 = true;
16688 }
16689 if (obj3) {
16690 {
16691 arg4 = (bool)(SWIG_As_bool(obj3));
16692 if (SWIG_arg_fail(4)) SWIG_fail;
16693 }
16694 }
16695 if (obj4) {
16696 {
16697 arg5 = (int)(SWIG_As_int(obj4));
16698 if (SWIG_arg_fail(5)) SWIG_fail;
16699 }
16700 }
16701 {
16702 PyThreadState* __tstate = wxPyBeginAllowThreads();
16703 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 {
16709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16710 }
16711 {
16712 if (temp3)
16713 delete arg3;
16714 }
16715 return resultobj;
16716 fail:
16717 {
16718 if (temp3)
16719 delete arg3;
16720 }
16721 return NULL;
16722}
16723
16724
16725static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16726 PyObject *resultobj;
16727 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16728 size_t arg2 ;
16729 wxWindow *arg3 = (wxWindow *) 0 ;
16730 wxString *arg4 = 0 ;
16731 bool arg5 = (bool) false ;
16732 int arg6 = (int) -1 ;
16733 bool result;
16734 bool temp4 = false ;
16735 PyObject * obj0 = 0 ;
16736 PyObject * obj1 = 0 ;
16737 PyObject * obj2 = 0 ;
16738 PyObject * obj3 = 0 ;
16739 PyObject * obj4 = 0 ;
16740 PyObject * obj5 = 0 ;
16741 char *kwnames[] = {
16742 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16743 };
16744
16745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16747 if (SWIG_arg_fail(1)) SWIG_fail;
16748 {
16749 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16750 if (SWIG_arg_fail(2)) SWIG_fail;
16751 }
16752 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16753 if (SWIG_arg_fail(3)) SWIG_fail;
16754 {
16755 arg4 = wxString_in_helper(obj3);
16756 if (arg4 == NULL) SWIG_fail;
16757 temp4 = true;
16758 }
16759 if (obj4) {
16760 {
16761 arg5 = (bool)(SWIG_As_bool(obj4));
16762 if (SWIG_arg_fail(5)) SWIG_fail;
16763 }
16764 }
16765 if (obj5) {
16766 {
16767 arg6 = (int)(SWIG_As_int(obj5));
16768 if (SWIG_arg_fail(6)) SWIG_fail;
16769 }
16770 }
16771 {
16772 PyThreadState* __tstate = wxPyBeginAllowThreads();
16773 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16774
16775 wxPyEndAllowThreads(__tstate);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 {
16779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16780 }
16781 {
16782 if (temp4)
16783 delete arg4;
16784 }
16785 return resultobj;
16786 fail:
16787 {
16788 if (temp4)
16789 delete arg4;
16790 }
16791 return NULL;
16792}
16793
16794
16795static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16796 PyObject *resultobj;
16797 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16798 size_t arg2 ;
16799 int result;
16800 PyObject * obj0 = 0 ;
16801 PyObject * obj1 = 0 ;
16802 char *kwnames[] = {
16803 (char *) "self",(char *) "n", NULL
16804 };
16805
16806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16808 if (SWIG_arg_fail(1)) SWIG_fail;
16809 {
16810 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16811 if (SWIG_arg_fail(2)) SWIG_fail;
16812 }
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 result = (int)(arg1)->SetSelection(arg2);
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 {
16821 resultobj = SWIG_From_int((int)(result));
16822 }
16823 return resultobj;
16824 fail:
16825 return NULL;
16826}
16827
16828
16829static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16830 PyObject *resultobj;
16831 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16832 bool arg2 = (bool) true ;
16833 PyObject * obj0 = 0 ;
16834 PyObject * obj1 = 0 ;
16835 char *kwnames[] = {
16836 (char *) "self",(char *) "forward", NULL
16837 };
16838
16839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
16840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16841 if (SWIG_arg_fail(1)) SWIG_fail;
16842 if (obj1) {
16843 {
16844 arg2 = (bool)(SWIG_As_bool(obj1));
16845 if (SWIG_arg_fail(2)) SWIG_fail;
16846 }
16847 }
16848 {
16849 PyThreadState* __tstate = wxPyBeginAllowThreads();
16850 (arg1)->AdvanceSelection(arg2);
16851
16852 wxPyEndAllowThreads(__tstate);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 }
16855 Py_INCREF(Py_None); resultobj = Py_None;
16856 return resultobj;
16857 fail:
16858 return NULL;
16859}
16860
16861
16862static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16863 PyObject *resultobj;
16864 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16865 wxVisualAttributes result;
16866 PyObject * obj0 = 0 ;
16867 char *kwnames[] = {
16868 (char *) "variant", NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16872 if (obj0) {
16873 {
16874 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16875 if (SWIG_arg_fail(1)) SWIG_fail;
16876 }
16877 }
16878 {
16879 if (!wxPyCheckForApp()) SWIG_fail;
16880 PyThreadState* __tstate = wxPyBeginAllowThreads();
16881 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
16882
16883 wxPyEndAllowThreads(__tstate);
16884 if (PyErr_Occurred()) SWIG_fail;
16885 }
16886 {
16887 wxVisualAttributes * resultptr;
16888 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16890 }
16891 return resultobj;
16892 fail:
16893 return NULL;
16894}
16895
16896
16897static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
16898 PyObject *obj;
16899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16900 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
16901 Py_INCREF(obj);
16902 return Py_BuildValue((char *)"");
16903}
16904static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16905 PyObject *resultobj;
16906 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16907 int arg2 = (int) 0 ;
16908 int arg3 = (int) -1 ;
16909 int arg4 = (int) -1 ;
16910 wxBookCtrlBaseEvent *result;
16911 PyObject * obj0 = 0 ;
16912 PyObject * obj1 = 0 ;
16913 PyObject * obj2 = 0 ;
16914 PyObject * obj3 = 0 ;
16915 char *kwnames[] = {
16916 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16917 };
16918
16919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16920 if (obj0) {
16921 {
16922 arg1 = (wxEventType)(SWIG_As_int(obj0));
16923 if (SWIG_arg_fail(1)) SWIG_fail;
16924 }
16925 }
16926 if (obj1) {
16927 {
16928 arg2 = (int)(SWIG_As_int(obj1));
16929 if (SWIG_arg_fail(2)) SWIG_fail;
16930 }
16931 }
16932 if (obj2) {
16933 {
16934 arg3 = (int)(SWIG_As_int(obj2));
16935 if (SWIG_arg_fail(3)) SWIG_fail;
16936 }
16937 }
16938 if (obj3) {
16939 {
16940 arg4 = (int)(SWIG_As_int(obj3));
16941 if (SWIG_arg_fail(4)) SWIG_fail;
16942 }
16943 }
16944 {
16945 PyThreadState* __tstate = wxPyBeginAllowThreads();
16946 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
16947
16948 wxPyEndAllowThreads(__tstate);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 }
16951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
16952 return resultobj;
16953 fail:
16954 return NULL;
16955}
16956
16957
16958static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16959 PyObject *resultobj;
16960 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16961 int result;
16962 PyObject * obj0 = 0 ;
16963 char *kwnames[] = {
16964 (char *) "self", NULL
16965 };
16966
16967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
16968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16969 if (SWIG_arg_fail(1)) SWIG_fail;
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
16973
16974 wxPyEndAllowThreads(__tstate);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 }
16977 {
16978 resultobj = SWIG_From_int((int)(result));
16979 }
16980 return resultobj;
16981 fail:
16982 return NULL;
16983}
16984
16985
16986static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16987 PyObject *resultobj;
16988 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16989 int arg2 ;
16990 PyObject * obj0 = 0 ;
16991 PyObject * obj1 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "self",(char *) "nSel", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16998 if (SWIG_arg_fail(1)) SWIG_fail;
16999 {
17000 arg2 = (int)(SWIG_As_int(obj1));
17001 if (SWIG_arg_fail(2)) SWIG_fail;
17002 }
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 (arg1)->SetSelection(arg2);
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 Py_INCREF(Py_None); resultobj = Py_None;
17011 return resultobj;
17012 fail:
17013 return NULL;
17014}
17015
17016
17017static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17020 int result;
17021 PyObject * obj0 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "self", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17028 if (SWIG_arg_fail(1)) SWIG_fail;
17029 {
17030 PyThreadState* __tstate = wxPyBeginAllowThreads();
17031 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17032
17033 wxPyEndAllowThreads(__tstate);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
17036 {
17037 resultobj = SWIG_From_int((int)(result));
17038 }
17039 return resultobj;
17040 fail:
17041 return NULL;
17042}
17043
17044
17045static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17046 PyObject *resultobj;
17047 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17048 int arg2 ;
17049 PyObject * obj0 = 0 ;
17050 PyObject * obj1 = 0 ;
17051 char *kwnames[] = {
17052 (char *) "self",(char *) "nOldSel", NULL
17053 };
17054
17055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17057 if (SWIG_arg_fail(1)) SWIG_fail;
17058 {
17059 arg2 = (int)(SWIG_As_int(obj1));
17060 if (SWIG_arg_fail(2)) SWIG_fail;
17061 }
17062 {
17063 PyThreadState* __tstate = wxPyBeginAllowThreads();
17064 (arg1)->SetOldSelection(arg2);
17065
17066 wxPyEndAllowThreads(__tstate);
17067 if (PyErr_Occurred()) SWIG_fail;
17068 }
17069 Py_INCREF(Py_None); resultobj = Py_None;
17070 return resultobj;
17071 fail:
17072 return NULL;
17073}
17074
17075
17076static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17077 PyObject *obj;
17078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17079 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17080 Py_INCREF(obj);
17081 return Py_BuildValue((char *)"");
17082}
17083static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17084 PyObject *resultobj;
17085 wxWindow *arg1 = (wxWindow *) 0 ;
17086 int arg2 = (int) -1 ;
17087 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17088 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17089 wxSize const &arg4_defvalue = wxDefaultSize ;
17090 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17091 long arg5 = (long) 0 ;
17092 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17093 wxString *arg6 = (wxString *) &arg6_defvalue ;
17094 wxNotebook *result;
17095 wxPoint temp3 ;
17096 wxSize temp4 ;
17097 bool temp6 = false ;
17098 PyObject * obj0 = 0 ;
17099 PyObject * obj1 = 0 ;
17100 PyObject * obj2 = 0 ;
17101 PyObject * obj3 = 0 ;
17102 PyObject * obj4 = 0 ;
17103 PyObject * obj5 = 0 ;
17104 char *kwnames[] = {
17105 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17106 };
17107
17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17110 if (SWIG_arg_fail(1)) SWIG_fail;
17111 if (obj1) {
17112 {
17113 arg2 = (int)(SWIG_As_int(obj1));
17114 if (SWIG_arg_fail(2)) SWIG_fail;
17115 }
17116 }
17117 if (obj2) {
17118 {
17119 arg3 = &temp3;
17120 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17121 }
17122 }
17123 if (obj3) {
17124 {
17125 arg4 = &temp4;
17126 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17127 }
17128 }
17129 if (obj4) {
17130 {
17131 arg5 = (long)(SWIG_As_long(obj4));
17132 if (SWIG_arg_fail(5)) SWIG_fail;
17133 }
17134 }
17135 if (obj5) {
17136 {
17137 arg6 = wxString_in_helper(obj5);
17138 if (arg6 == NULL) SWIG_fail;
17139 temp6 = true;
17140 }
17141 }
17142 {
17143 if (!wxPyCheckForApp()) SWIG_fail;
17144 PyThreadState* __tstate = wxPyBeginAllowThreads();
17145 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17146
17147 wxPyEndAllowThreads(__tstate);
17148 if (PyErr_Occurred()) SWIG_fail;
17149 }
17150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17151 {
17152 if (temp6)
17153 delete arg6;
17154 }
17155 return resultobj;
17156 fail:
17157 {
17158 if (temp6)
17159 delete arg6;
17160 }
17161 return NULL;
17162}
17163
17164
17165static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17166 PyObject *resultobj;
17167 wxNotebook *result;
17168 char *kwnames[] = {
17169 NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17173 {
17174 if (!wxPyCheckForApp()) SWIG_fail;
17175 PyThreadState* __tstate = wxPyBeginAllowThreads();
17176 result = (wxNotebook *)new wxNotebook();
17177
17178 wxPyEndAllowThreads(__tstate);
17179 if (PyErr_Occurred()) SWIG_fail;
17180 }
17181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17182 return resultobj;
17183 fail:
17184 return NULL;
17185}
17186
17187
17188static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17189 PyObject *resultobj;
17190 wxNotebook *arg1 = (wxNotebook *) 0 ;
17191 wxWindow *arg2 = (wxWindow *) 0 ;
17192 int arg3 = (int) -1 ;
17193 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17194 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17195 wxSize const &arg5_defvalue = wxDefaultSize ;
17196 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17197 long arg6 = (long) 0 ;
17198 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17199 wxString *arg7 = (wxString *) &arg7_defvalue ;
17200 bool result;
17201 wxPoint temp4 ;
17202 wxSize temp5 ;
17203 bool temp7 = false ;
17204 PyObject * obj0 = 0 ;
17205 PyObject * obj1 = 0 ;
17206 PyObject * obj2 = 0 ;
17207 PyObject * obj3 = 0 ;
17208 PyObject * obj4 = 0 ;
17209 PyObject * obj5 = 0 ;
17210 PyObject * obj6 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17217 if (SWIG_arg_fail(1)) SWIG_fail;
17218 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17219 if (SWIG_arg_fail(2)) SWIG_fail;
17220 if (obj2) {
17221 {
17222 arg3 = (int)(SWIG_As_int(obj2));
17223 if (SWIG_arg_fail(3)) SWIG_fail;
17224 }
17225 }
17226 if (obj3) {
17227 {
17228 arg4 = &temp4;
17229 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17230 }
17231 }
17232 if (obj4) {
17233 {
17234 arg5 = &temp5;
17235 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17236 }
17237 }
17238 if (obj5) {
17239 {
17240 arg6 = (long)(SWIG_As_long(obj5));
17241 if (SWIG_arg_fail(6)) SWIG_fail;
17242 }
17243 }
17244 if (obj6) {
17245 {
17246 arg7 = wxString_in_helper(obj6);
17247 if (arg7 == NULL) SWIG_fail;
17248 temp7 = true;
17249 }
17250 }
17251 {
17252 PyThreadState* __tstate = wxPyBeginAllowThreads();
17253 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17254
17255 wxPyEndAllowThreads(__tstate);
17256 if (PyErr_Occurred()) SWIG_fail;
17257 }
17258 {
17259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17260 }
17261 {
17262 if (temp7)
17263 delete arg7;
17264 }
17265 return resultobj;
17266 fail:
17267 {
17268 if (temp7)
17269 delete arg7;
17270 }
17271 return NULL;
17272}
17273
17274
17275static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17276 PyObject *resultobj;
17277 wxNotebook *arg1 = (wxNotebook *) 0 ;
17278 int result;
17279 PyObject * obj0 = 0 ;
17280 char *kwnames[] = {
17281 (char *) "self", NULL
17282 };
17283
17284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17286 if (SWIG_arg_fail(1)) SWIG_fail;
17287 {
17288 PyThreadState* __tstate = wxPyBeginAllowThreads();
17289 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17290
17291 wxPyEndAllowThreads(__tstate);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 }
17294 {
17295 resultobj = SWIG_From_int((int)(result));
17296 }
17297 return resultobj;
17298 fail:
17299 return NULL;
17300}
17301
17302
17303static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17304 PyObject *resultobj;
17305 wxNotebook *arg1 = (wxNotebook *) 0 ;
17306 wxSize *arg2 = 0 ;
17307 wxSize temp2 ;
17308 PyObject * obj0 = 0 ;
17309 PyObject * obj1 = 0 ;
17310 char *kwnames[] = {
17311 (char *) "self",(char *) "padding", NULL
17312 };
17313
17314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17316 if (SWIG_arg_fail(1)) SWIG_fail;
17317 {
17318 arg2 = &temp2;
17319 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17320 }
17321 {
17322 PyThreadState* __tstate = wxPyBeginAllowThreads();
17323 (arg1)->SetPadding((wxSize const &)*arg2);
17324
17325 wxPyEndAllowThreads(__tstate);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 Py_INCREF(Py_None); resultobj = Py_None;
17329 return resultobj;
17330 fail:
17331 return NULL;
17332}
17333
17334
17335static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17336 PyObject *resultobj;
17337 wxNotebook *arg1 = (wxNotebook *) 0 ;
17338 wxSize *arg2 = 0 ;
17339 wxSize temp2 ;
17340 PyObject * obj0 = 0 ;
17341 PyObject * obj1 = 0 ;
17342 char *kwnames[] = {
17343 (char *) "self",(char *) "sz", NULL
17344 };
17345
17346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17348 if (SWIG_arg_fail(1)) SWIG_fail;
17349 {
17350 arg2 = &temp2;
17351 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17352 }
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
17355 (arg1)->SetTabSize((wxSize const &)*arg2);
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 Py_INCREF(Py_None); resultobj = Py_None;
17361 return resultobj;
17362 fail:
17363 return NULL;
17364}
17365
17366
17367static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17368 PyObject *resultobj;
17369 wxNotebook *arg1 = (wxNotebook *) 0 ;
17370 wxPoint *arg2 = 0 ;
17371 long *arg3 = (long *) 0 ;
17372 int result;
17373 wxPoint temp2 ;
17374 long temp3 ;
17375 int res3 = 0 ;
17376 PyObject * obj0 = 0 ;
17377 PyObject * obj1 = 0 ;
17378 char *kwnames[] = {
17379 (char *) "self",(char *) "pt", NULL
17380 };
17381
17382 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17385 if (SWIG_arg_fail(1)) SWIG_fail;
17386 {
17387 arg2 = &temp2;
17388 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17389 }
17390 {
17391 PyThreadState* __tstate = wxPyBeginAllowThreads();
17392 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17393
17394 wxPyEndAllowThreads(__tstate);
17395 if (PyErr_Occurred()) SWIG_fail;
17396 }
17397 {
17398 resultobj = SWIG_From_int((int)(result));
17399 }
17400 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17401 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17402 return resultobj;
17403 fail:
17404 return NULL;
17405}
17406
17407
17408static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17409 PyObject *resultobj;
17410 wxNotebook *arg1 = (wxNotebook *) 0 ;
17411 wxSize *arg2 = 0 ;
17412 wxSize result;
17413 wxSize temp2 ;
17414 PyObject * obj0 = 0 ;
17415 PyObject * obj1 = 0 ;
17416 char *kwnames[] = {
17417 (char *) "self",(char *) "sizePage", NULL
17418 };
17419
17420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17422 if (SWIG_arg_fail(1)) SWIG_fail;
17423 {
17424 arg2 = &temp2;
17425 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17426 }
17427 {
17428 PyThreadState* __tstate = wxPyBeginAllowThreads();
17429 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17430
17431 wxPyEndAllowThreads(__tstate);
17432 if (PyErr_Occurred()) SWIG_fail;
17433 }
17434 {
17435 wxSize * resultptr;
17436 resultptr = new wxSize((wxSize &)(result));
17437 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17438 }
17439 return resultobj;
17440 fail:
17441 return NULL;
17442}
17443
17444
17445static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj;
17447 wxNotebook *arg1 = (wxNotebook *) 0 ;
17448 wxColour result;
17449 PyObject * obj0 = 0 ;
17450 char *kwnames[] = {
17451 (char *) "self", NULL
17452 };
17453
17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17456 if (SWIG_arg_fail(1)) SWIG_fail;
17457 {
17458 PyThreadState* __tstate = wxPyBeginAllowThreads();
17459 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17460
17461 wxPyEndAllowThreads(__tstate);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 }
17464 {
17465 wxColour * resultptr;
17466 resultptr = new wxColour((wxColour &)(result));
17467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17468 }
17469 return resultobj;
17470 fail:
17471 return NULL;
17472}
17473
17474
17475static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17476 PyObject *resultobj;
17477 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17478 wxVisualAttributes result;
17479 PyObject * obj0 = 0 ;
17480 char *kwnames[] = {
17481 (char *) "variant", NULL
17482 };
17483
17484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17485 if (obj0) {
17486 {
17487 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17488 if (SWIG_arg_fail(1)) SWIG_fail;
17489 }
17490 }
17491 {
17492 if (!wxPyCheckForApp()) SWIG_fail;
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17495
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 {
17500 wxVisualAttributes * resultptr;
17501 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
17502 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17503 }
17504 return resultobj;
17505 fail:
17506 return NULL;
17507}
17508
17509
17510static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17511 PyObject *obj;
17512 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17513 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17514 Py_INCREF(obj);
17515 return Py_BuildValue((char *)"");
17516}
17517static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17518 PyObject *resultobj;
17519 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17520 int arg2 = (int) 0 ;
17521 int arg3 = (int) -1 ;
17522 int arg4 = (int) -1 ;
17523 wxNotebookEvent *result;
17524 PyObject * obj0 = 0 ;
17525 PyObject * obj1 = 0 ;
17526 PyObject * obj2 = 0 ;
17527 PyObject * obj3 = 0 ;
17528 char *kwnames[] = {
17529 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17530 };
17531
17532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17533 if (obj0) {
17534 {
17535 arg1 = (wxEventType)(SWIG_As_int(obj0));
17536 if (SWIG_arg_fail(1)) SWIG_fail;
17537 }
17538 }
17539 if (obj1) {
17540 {
17541 arg2 = (int)(SWIG_As_int(obj1));
17542 if (SWIG_arg_fail(2)) SWIG_fail;
17543 }
17544 }
17545 if (obj2) {
17546 {
17547 arg3 = (int)(SWIG_As_int(obj2));
17548 if (SWIG_arg_fail(3)) SWIG_fail;
17549 }
17550 }
17551 if (obj3) {
17552 {
17553 arg4 = (int)(SWIG_As_int(obj3));
17554 if (SWIG_arg_fail(4)) SWIG_fail;
17555 }
17556 }
17557 {
17558 PyThreadState* __tstate = wxPyBeginAllowThreads();
17559 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17560
17561 wxPyEndAllowThreads(__tstate);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 }
17564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17565 return resultobj;
17566 fail:
17567 return NULL;
17568}
17569
17570
17571static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17572 PyObject *obj;
17573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17574 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17575 Py_INCREF(obj);
17576 return Py_BuildValue((char *)"");
17577}
17578static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17579 PyObject *resultobj;
17580 wxWindow *arg1 = (wxWindow *) 0 ;
17581 int arg2 = (int) -1 ;
17582 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17583 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17584 wxSize const &arg4_defvalue = wxDefaultSize ;
17585 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17586 long arg5 = (long) 0 ;
17587 wxString const &arg6_defvalue = wxPyEmptyString ;
17588 wxString *arg6 = (wxString *) &arg6_defvalue ;
17589 wxListbook *result;
17590 wxPoint temp3 ;
17591 wxSize temp4 ;
17592 bool temp6 = false ;
17593 PyObject * obj0 = 0 ;
17594 PyObject * obj1 = 0 ;
17595 PyObject * obj2 = 0 ;
17596 PyObject * obj3 = 0 ;
17597 PyObject * obj4 = 0 ;
17598 PyObject * obj5 = 0 ;
17599 char *kwnames[] = {
17600 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17601 };
17602
17603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17605 if (SWIG_arg_fail(1)) SWIG_fail;
17606 if (obj1) {
17607 {
17608 arg2 = (int)(SWIG_As_int(obj1));
17609 if (SWIG_arg_fail(2)) SWIG_fail;
17610 }
17611 }
17612 if (obj2) {
17613 {
17614 arg3 = &temp3;
17615 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17616 }
17617 }
17618 if (obj3) {
17619 {
17620 arg4 = &temp4;
17621 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17622 }
17623 }
17624 if (obj4) {
17625 {
17626 arg5 = (long)(SWIG_As_long(obj4));
17627 if (SWIG_arg_fail(5)) SWIG_fail;
17628 }
17629 }
17630 if (obj5) {
17631 {
17632 arg6 = wxString_in_helper(obj5);
17633 if (arg6 == NULL) SWIG_fail;
17634 temp6 = true;
17635 }
17636 }
17637 {
17638 if (!wxPyCheckForApp()) SWIG_fail;
17639 PyThreadState* __tstate = wxPyBeginAllowThreads();
17640 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17641
17642 wxPyEndAllowThreads(__tstate);
17643 if (PyErr_Occurred()) SWIG_fail;
17644 }
17645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17646 {
17647 if (temp6)
17648 delete arg6;
17649 }
17650 return resultobj;
17651 fail:
17652 {
17653 if (temp6)
17654 delete arg6;
17655 }
17656 return NULL;
17657}
17658
17659
17660static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17661 PyObject *resultobj;
17662 wxListbook *result;
17663 char *kwnames[] = {
17664 NULL
17665 };
17666
17667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17668 {
17669 if (!wxPyCheckForApp()) SWIG_fail;
17670 PyThreadState* __tstate = wxPyBeginAllowThreads();
17671 result = (wxListbook *)new wxListbook();
17672
17673 wxPyEndAllowThreads(__tstate);
17674 if (PyErr_Occurred()) SWIG_fail;
17675 }
17676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17677 return resultobj;
17678 fail:
17679 return NULL;
17680}
17681
17682
17683static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17684 PyObject *resultobj;
17685 wxListbook *arg1 = (wxListbook *) 0 ;
17686 wxWindow *arg2 = (wxWindow *) 0 ;
17687 int arg3 = (int) -1 ;
17688 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17689 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17690 wxSize const &arg5_defvalue = wxDefaultSize ;
17691 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17692 long arg6 = (long) 0 ;
17693 wxString const &arg7_defvalue = wxPyEmptyString ;
17694 wxString *arg7 = (wxString *) &arg7_defvalue ;
17695 bool result;
17696 wxPoint temp4 ;
17697 wxSize temp5 ;
17698 bool temp7 = false ;
17699 PyObject * obj0 = 0 ;
17700 PyObject * obj1 = 0 ;
17701 PyObject * obj2 = 0 ;
17702 PyObject * obj3 = 0 ;
17703 PyObject * obj4 = 0 ;
17704 PyObject * obj5 = 0 ;
17705 PyObject * obj6 = 0 ;
17706 char *kwnames[] = {
17707 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17708 };
17709
17710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17712 if (SWIG_arg_fail(1)) SWIG_fail;
17713 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17714 if (SWIG_arg_fail(2)) SWIG_fail;
17715 if (obj2) {
17716 {
17717 arg3 = (int)(SWIG_As_int(obj2));
17718 if (SWIG_arg_fail(3)) SWIG_fail;
17719 }
17720 }
17721 if (obj3) {
17722 {
17723 arg4 = &temp4;
17724 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17725 }
17726 }
17727 if (obj4) {
17728 {
17729 arg5 = &temp5;
17730 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17731 }
17732 }
17733 if (obj5) {
17734 {
17735 arg6 = (long)(SWIG_As_long(obj5));
17736 if (SWIG_arg_fail(6)) SWIG_fail;
17737 }
17738 }
17739 if (obj6) {
17740 {
17741 arg7 = wxString_in_helper(obj6);
17742 if (arg7 == NULL) SWIG_fail;
17743 temp7 = true;
17744 }
17745 }
17746 {
17747 PyThreadState* __tstate = wxPyBeginAllowThreads();
17748 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17749
17750 wxPyEndAllowThreads(__tstate);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 {
17754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17755 }
17756 {
17757 if (temp7)
17758 delete arg7;
17759 }
17760 return resultobj;
17761 fail:
17762 {
17763 if (temp7)
17764 delete arg7;
17765 }
17766 return NULL;
17767}
17768
17769
17770static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17771 PyObject *resultobj;
17772 wxListbook *arg1 = (wxListbook *) 0 ;
17773 bool result;
17774 PyObject * obj0 = 0 ;
17775 char *kwnames[] = {
17776 (char *) "self", NULL
17777 };
17778
17779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
17780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail;
17782 {
17783 PyThreadState* __tstate = wxPyBeginAllowThreads();
17784 result = (bool)((wxListbook const *)arg1)->IsVertical();
17785
17786 wxPyEndAllowThreads(__tstate);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 }
17789 {
17790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17791 }
17792 return resultobj;
17793 fail:
17794 return NULL;
17795}
17796
17797
17798static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17799 PyObject *resultobj;
17800 wxListbook *arg1 = (wxListbook *) 0 ;
17801 wxListView *result;
17802 PyObject * obj0 = 0 ;
17803 char *kwnames[] = {
17804 (char *) "self", NULL
17805 };
17806
17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
17808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17809 if (SWIG_arg_fail(1)) SWIG_fail;
17810 {
17811 PyThreadState* __tstate = wxPyBeginAllowThreads();
17812 result = (wxListView *)(arg1)->GetListView();
17813
17814 wxPyEndAllowThreads(__tstate);
17815 if (PyErr_Occurred()) SWIG_fail;
17816 }
17817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17818 return resultobj;
17819 fail:
17820 return NULL;
17821}
17822
17823
17824static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
17825 PyObject *obj;
17826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17827 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17828 Py_INCREF(obj);
17829 return Py_BuildValue((char *)"");
17830}
17831static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17832 PyObject *resultobj;
17833 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17834 int arg2 = (int) 0 ;
17835 int arg3 = (int) -1 ;
17836 int arg4 = (int) -1 ;
17837 wxListbookEvent *result;
17838 PyObject * obj0 = 0 ;
17839 PyObject * obj1 = 0 ;
17840 PyObject * obj2 = 0 ;
17841 PyObject * obj3 = 0 ;
17842 char *kwnames[] = {
17843 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17844 };
17845
17846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17847 if (obj0) {
17848 {
17849 arg1 = (wxEventType)(SWIG_As_int(obj0));
17850 if (SWIG_arg_fail(1)) SWIG_fail;
17851 }
17852 }
17853 if (obj1) {
17854 {
17855 arg2 = (int)(SWIG_As_int(obj1));
17856 if (SWIG_arg_fail(2)) SWIG_fail;
17857 }
17858 }
17859 if (obj2) {
17860 {
17861 arg3 = (int)(SWIG_As_int(obj2));
17862 if (SWIG_arg_fail(3)) SWIG_fail;
17863 }
17864 }
17865 if (obj3) {
17866 {
17867 arg4 = (int)(SWIG_As_int(obj3));
17868 if (SWIG_arg_fail(4)) SWIG_fail;
17869 }
17870 }
17871 {
17872 PyThreadState* __tstate = wxPyBeginAllowThreads();
17873 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17874
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
17878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17879 return resultobj;
17880 fail:
17881 return NULL;
17882}
17883
17884
17885static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
17886 PyObject *obj;
17887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17888 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17889 Py_INCREF(obj);
17890 return Py_BuildValue((char *)"");
17891}
17892static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17893 PyObject *resultobj;
17894 wxWindow *arg1 = (wxWindow *) 0 ;
17895 int arg2 ;
17896 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17897 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17898 wxSize const &arg4_defvalue = wxDefaultSize ;
17899 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17900 long arg5 = (long) 0 ;
17901 wxString const &arg6_defvalue = wxPyEmptyString ;
17902 wxString *arg6 = (wxString *) &arg6_defvalue ;
17903 wxChoicebook *result;
17904 wxPoint temp3 ;
17905 wxSize temp4 ;
17906 bool temp6 = false ;
17907 PyObject * obj0 = 0 ;
17908 PyObject * obj1 = 0 ;
17909 PyObject * obj2 = 0 ;
17910 PyObject * obj3 = 0 ;
17911 PyObject * obj4 = 0 ;
17912 PyObject * obj5 = 0 ;
17913 char *kwnames[] = {
17914 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17915 };
17916
17917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17919 if (SWIG_arg_fail(1)) SWIG_fail;
17920 {
17921 arg2 = (int)(SWIG_As_int(obj1));
17922 if (SWIG_arg_fail(2)) SWIG_fail;
17923 }
17924 if (obj2) {
17925 {
17926 arg3 = &temp3;
17927 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17928 }
17929 }
17930 if (obj3) {
17931 {
17932 arg4 = &temp4;
17933 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17934 }
17935 }
17936 if (obj4) {
17937 {
17938 arg5 = (long)(SWIG_As_long(obj4));
17939 if (SWIG_arg_fail(5)) SWIG_fail;
17940 }
17941 }
17942 if (obj5) {
17943 {
17944 arg6 = wxString_in_helper(obj5);
17945 if (arg6 == NULL) SWIG_fail;
17946 temp6 = true;
17947 }
17948 }
17949 {
17950 if (!wxPyCheckForApp()) SWIG_fail;
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
17952 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17953
17954 wxPyEndAllowThreads(__tstate);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 }
17957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17958 {
17959 if (temp6)
17960 delete arg6;
17961 }
17962 return resultobj;
17963 fail:
17964 {
17965 if (temp6)
17966 delete arg6;
17967 }
17968 return NULL;
17969}
17970
17971
17972static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17973 PyObject *resultobj;
17974 wxChoicebook *result;
17975 char *kwnames[] = {
17976 NULL
17977 };
17978
17979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17980 {
17981 if (!wxPyCheckForApp()) SWIG_fail;
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 result = (wxChoicebook *)new wxChoicebook();
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17989 return resultobj;
17990 fail:
17991 return NULL;
17992}
17993
17994
17995static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj;
17997 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17998 wxWindow *arg2 = (wxWindow *) 0 ;
17999 int arg3 ;
18000 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18001 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18002 wxSize const &arg5_defvalue = wxDefaultSize ;
18003 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18004 long arg6 = (long) 0 ;
18005 wxString const &arg7_defvalue = wxPyEmptyString ;
18006 wxString *arg7 = (wxString *) &arg7_defvalue ;
18007 bool result;
18008 wxPoint temp4 ;
18009 wxSize temp5 ;
18010 bool temp7 = false ;
18011 PyObject * obj0 = 0 ;
18012 PyObject * obj1 = 0 ;
18013 PyObject * obj2 = 0 ;
18014 PyObject * obj3 = 0 ;
18015 PyObject * obj4 = 0 ;
18016 PyObject * obj5 = 0 ;
18017 PyObject * obj6 = 0 ;
18018 char *kwnames[] = {
18019 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18020 };
18021
18022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18024 if (SWIG_arg_fail(1)) SWIG_fail;
18025 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18026 if (SWIG_arg_fail(2)) SWIG_fail;
18027 {
18028 arg3 = (int)(SWIG_As_int(obj2));
18029 if (SWIG_arg_fail(3)) SWIG_fail;
18030 }
18031 if (obj3) {
18032 {
18033 arg4 = &temp4;
18034 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18035 }
18036 }
18037 if (obj4) {
18038 {
18039 arg5 = &temp5;
18040 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18041 }
18042 }
18043 if (obj5) {
18044 {
18045 arg6 = (long)(SWIG_As_long(obj5));
18046 if (SWIG_arg_fail(6)) SWIG_fail;
18047 }
18048 }
18049 if (obj6) {
18050 {
18051 arg7 = wxString_in_helper(obj6);
18052 if (arg7 == NULL) SWIG_fail;
18053 temp7 = true;
18054 }
18055 }
18056 {
18057 PyThreadState* __tstate = wxPyBeginAllowThreads();
18058 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18059
18060 wxPyEndAllowThreads(__tstate);
18061 if (PyErr_Occurred()) SWIG_fail;
18062 }
18063 {
18064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18065 }
18066 {
18067 if (temp7)
18068 delete arg7;
18069 }
18070 return resultobj;
18071 fail:
18072 {
18073 if (temp7)
18074 delete arg7;
18075 }
18076 return NULL;
18077}
18078
18079
18080static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18081 PyObject *resultobj;
18082 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18083 bool result;
18084 PyObject * obj0 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "self", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
18090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18091 if (SWIG_arg_fail(1)) SWIG_fail;
18092 {
18093 PyThreadState* __tstate = wxPyBeginAllowThreads();
18094 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18095
18096 wxPyEndAllowThreads(__tstate);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 }
18099 {
18100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18101 }
18102 return resultobj;
18103 fail:
18104 return NULL;
18105}
18106
18107
18108static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj;
18110 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18111 wxChoice *result;
18112 PyObject * obj0 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "self", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18119 if (SWIG_arg_fail(1)) SWIG_fail;
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18123
18124 wxPyEndAllowThreads(__tstate);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 }
18127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18128 return resultobj;
18129 fail:
18130 return NULL;
18131}
18132
18133
18134static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18135 PyObject *resultobj;
18136 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18137 bool result;
18138 PyObject * obj0 = 0 ;
18139 char *kwnames[] = {
18140 (char *) "self", NULL
18141 };
18142
18143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18145 if (SWIG_arg_fail(1)) SWIG_fail;
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 result = (bool)(arg1)->DeleteAllPages();
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 {
18154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18155 }
18156 return resultobj;
18157 fail:
18158 return NULL;
18159}
18160
18161
18162static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18163 PyObject *obj;
18164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18165 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18166 Py_INCREF(obj);
18167 return Py_BuildValue((char *)"");
18168}
18169static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18170 PyObject *resultobj;
18171 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18172 int arg2 = (int) 0 ;
18173 int arg3 = (int) -1 ;
18174 int arg4 = (int) -1 ;
18175 wxChoicebookEvent *result;
18176 PyObject * obj0 = 0 ;
18177 PyObject * obj1 = 0 ;
18178 PyObject * obj2 = 0 ;
18179 PyObject * obj3 = 0 ;
18180 char *kwnames[] = {
18181 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18182 };
18183
18184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18185 if (obj0) {
18186 {
18187 arg1 = (wxEventType)(SWIG_As_int(obj0));
18188 if (SWIG_arg_fail(1)) SWIG_fail;
18189 }
18190 }
18191 if (obj1) {
18192 {
18193 arg2 = (int)(SWIG_As_int(obj1));
18194 if (SWIG_arg_fail(2)) SWIG_fail;
18195 }
18196 }
18197 if (obj2) {
18198 {
18199 arg3 = (int)(SWIG_As_int(obj2));
18200 if (SWIG_arg_fail(3)) SWIG_fail;
18201 }
18202 }
18203 if (obj3) {
18204 {
18205 arg4 = (int)(SWIG_As_int(obj3));
18206 if (SWIG_arg_fail(4)) SWIG_fail;
18207 }
18208 }
18209 {
18210 PyThreadState* __tstate = wxPyBeginAllowThreads();
18211 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18212
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18217 return resultobj;
18218 fail:
18219 return NULL;
18220}
18221
18222
18223static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18224 PyObject *obj;
18225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18226 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18227 Py_INCREF(obj);
18228 return Py_BuildValue((char *)"");
18229}
18230static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18231 PyObject *resultobj;
18232 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18233 wxBookCtrlSizer *result;
18234 PyObject * obj0 = 0 ;
18235 char *kwnames[] = {
18236 (char *) "nb", NULL
18237 };
18238
18239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
18240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18241 if (SWIG_arg_fail(1)) SWIG_fail;
18242 {
18243 PyThreadState* __tstate = wxPyBeginAllowThreads();
18244 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18245
18246 wxPyEndAllowThreads(__tstate);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
18249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18250 return resultobj;
18251 fail:
18252 return NULL;
18253}
18254
18255
18256static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18257 PyObject *resultobj;
18258 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18259 PyObject * obj0 = 0 ;
18260 char *kwnames[] = {
18261 (char *) "self", NULL
18262 };
18263
18264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18266 if (SWIG_arg_fail(1)) SWIG_fail;
18267 {
18268 PyThreadState* __tstate = wxPyBeginAllowThreads();
18269 (arg1)->RecalcSizes();
18270
18271 wxPyEndAllowThreads(__tstate);
18272 if (PyErr_Occurred()) SWIG_fail;
18273 }
18274 Py_INCREF(Py_None); resultobj = Py_None;
18275 return resultobj;
18276 fail:
18277 return NULL;
18278}
18279
18280
18281static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18282 PyObject *resultobj;
18283 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18284 wxSize result;
18285 PyObject * obj0 = 0 ;
18286 char *kwnames[] = {
18287 (char *) "self", NULL
18288 };
18289
18290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
18291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18292 if (SWIG_arg_fail(1)) SWIG_fail;
18293 {
18294 PyThreadState* __tstate = wxPyBeginAllowThreads();
18295 result = (arg1)->CalcMin();
18296
18297 wxPyEndAllowThreads(__tstate);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
18300 {
18301 wxSize * resultptr;
18302 resultptr = new wxSize((wxSize &)(result));
18303 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18304 }
18305 return resultobj;
18306 fail:
18307 return NULL;
18308}
18309
18310
18311static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18312 PyObject *resultobj;
18313 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18314 wxBookCtrlBase *result;
18315 PyObject * obj0 = 0 ;
18316 char *kwnames[] = {
18317 (char *) "self", NULL
18318 };
18319
18320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
18321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18322 if (SWIG_arg_fail(1)) SWIG_fail;
18323 {
18324 PyThreadState* __tstate = wxPyBeginAllowThreads();
18325 result = (wxBookCtrlBase *)(arg1)->GetControl();
18326
18327 wxPyEndAllowThreads(__tstate);
18328 if (PyErr_Occurred()) SWIG_fail;
18329 }
18330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
18331 return resultobj;
18332 fail:
18333 return NULL;
18334}
18335
18336
18337static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
18338 PyObject *obj;
18339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18340 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18341 Py_INCREF(obj);
18342 return Py_BuildValue((char *)"");
18343}
18344static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18345 PyObject *resultobj;
18346 wxNotebook *arg1 = (wxNotebook *) 0 ;
18347 wxNotebookSizer *result;
18348 PyObject * obj0 = 0 ;
18349 char *kwnames[] = {
18350 (char *) "nb", NULL
18351 };
18352
18353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
18354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18355 if (SWIG_arg_fail(1)) SWIG_fail;
18356 {
18357 PyThreadState* __tstate = wxPyBeginAllowThreads();
18358 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18359
18360 wxPyEndAllowThreads(__tstate);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 }
18363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18364 return resultobj;
18365 fail:
18366 return NULL;
18367}
18368
18369
18370static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18371 PyObject *resultobj;
18372 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18373 PyObject * obj0 = 0 ;
18374 char *kwnames[] = {
18375 (char *) "self", NULL
18376 };
18377
18378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18380 if (SWIG_arg_fail(1)) SWIG_fail;
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 (arg1)->RecalcSizes();
18384
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
18388 Py_INCREF(Py_None); resultobj = Py_None;
18389 return resultobj;
18390 fail:
18391 return NULL;
18392}
18393
18394
18395static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
18397 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18398 wxSize result;
18399 PyObject * obj0 = 0 ;
18400 char *kwnames[] = {
18401 (char *) "self", NULL
18402 };
18403
18404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
18405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18406 if (SWIG_arg_fail(1)) SWIG_fail;
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 result = (arg1)->CalcMin();
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 {
18415 wxSize * resultptr;
18416 resultptr = new wxSize((wxSize &)(result));
18417 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18418 }
18419 return resultobj;
18420 fail:
18421 return NULL;
18422}
18423
18424
18425static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
18426 PyObject *resultobj;
18427 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18428 wxNotebook *result;
18429 PyObject * obj0 = 0 ;
18430 char *kwnames[] = {
18431 (char *) "self", NULL
18432 };
18433
18434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
18435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18436 if (SWIG_arg_fail(1)) SWIG_fail;
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 result = (wxNotebook *)(arg1)->GetNotebook();
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 {
18445 resultobj = wxPyMake_wxObject(result, 0);
18446 }
18447 return resultobj;
18448 fail:
18449 return NULL;
18450}
18451
18452
18453static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
18454 PyObject *obj;
18455 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18456 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18457 Py_INCREF(obj);
18458 return Py_BuildValue((char *)"");
18459}
18460static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18461 PyObject *resultobj;
18462 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18463 int result;
18464 PyObject * obj0 = 0 ;
18465 char *kwnames[] = {
18466 (char *) "self", NULL
18467 };
18468
18469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
18470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18471 if (SWIG_arg_fail(1)) SWIG_fail;
18472 {
18473 PyThreadState* __tstate = wxPyBeginAllowThreads();
18474 result = (int)(arg1)->GetId();
18475
18476 wxPyEndAllowThreads(__tstate);
18477 if (PyErr_Occurred()) SWIG_fail;
18478 }
18479 {
18480 resultobj = SWIG_From_int((int)(result));
18481 }
18482 return resultobj;
18483 fail:
18484 return NULL;
18485}
18486
18487
18488static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18489 PyObject *resultobj;
18490 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18491 wxControl *result;
18492 PyObject * obj0 = 0 ;
18493 char *kwnames[] = {
18494 (char *) "self", NULL
18495 };
18496
18497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
18498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18499 if (SWIG_arg_fail(1)) SWIG_fail;
18500 {
18501 PyThreadState* __tstate = wxPyBeginAllowThreads();
18502 result = (wxControl *)(arg1)->GetControl();
18503
18504 wxPyEndAllowThreads(__tstate);
18505 if (PyErr_Occurred()) SWIG_fail;
18506 }
18507 {
18508 resultobj = wxPyMake_wxObject(result, 0);
18509 }
18510 return resultobj;
18511 fail:
18512 return NULL;
18513}
18514
18515
18516static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18517 PyObject *resultobj;
18518 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18519 wxToolBarBase *result;
18520 PyObject * obj0 = 0 ;
18521 char *kwnames[] = {
18522 (char *) "self", NULL
18523 };
18524
18525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
18526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18527 if (SWIG_arg_fail(1)) SWIG_fail;
18528 {
18529 PyThreadState* __tstate = wxPyBeginAllowThreads();
18530 result = (wxToolBarBase *)(arg1)->GetToolBar();
18531
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 {
18536 resultobj = wxPyMake_wxObject(result, 0);
18537 }
18538 return resultobj;
18539 fail:
18540 return NULL;
18541}
18542
18543
18544static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
18545 PyObject *resultobj;
18546 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18547 int result;
18548 PyObject * obj0 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
18554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18555 if (SWIG_arg_fail(1)) SWIG_fail;
18556 {
18557 PyThreadState* __tstate = wxPyBeginAllowThreads();
18558 result = (int)(arg1)->IsButton();
18559
18560 wxPyEndAllowThreads(__tstate);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 }
18563 {
18564 resultobj = SWIG_From_int((int)(result));
18565 }
18566 return resultobj;
18567 fail:
18568 return NULL;
18569}
18570
18571
18572static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18573 PyObject *resultobj;
18574 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18575 int result;
18576 PyObject * obj0 = 0 ;
18577 char *kwnames[] = {
18578 (char *) "self", NULL
18579 };
18580
18581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
18582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18583 if (SWIG_arg_fail(1)) SWIG_fail;
18584 {
18585 PyThreadState* __tstate = wxPyBeginAllowThreads();
18586 result = (int)(arg1)->IsControl();
18587
18588 wxPyEndAllowThreads(__tstate);
18589 if (PyErr_Occurred()) SWIG_fail;
18590 }
18591 {
18592 resultobj = SWIG_From_int((int)(result));
18593 }
18594 return resultobj;
18595 fail:
18596 return NULL;
18597}
18598
18599
18600static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18601 PyObject *resultobj;
18602 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18603 int result;
18604 PyObject * obj0 = 0 ;
18605 char *kwnames[] = {
18606 (char *) "self", NULL
18607 };
18608
18609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18611 if (SWIG_arg_fail(1)) SWIG_fail;
18612 {
18613 PyThreadState* __tstate = wxPyBeginAllowThreads();
18614 result = (int)(arg1)->IsSeparator();
18615
18616 wxPyEndAllowThreads(__tstate);
18617 if (PyErr_Occurred()) SWIG_fail;
18618 }
18619 {
18620 resultobj = SWIG_From_int((int)(result));
18621 }
18622 return resultobj;
18623 fail:
18624 return NULL;
18625}
18626
18627
18628static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18629 PyObject *resultobj;
18630 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18631 int result;
18632 PyObject * obj0 = 0 ;
18633 char *kwnames[] = {
18634 (char *) "self", NULL
18635 };
18636
18637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18639 if (SWIG_arg_fail(1)) SWIG_fail;
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 result = (int)(arg1)->GetStyle();
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 {
18648 resultobj = SWIG_From_int((int)(result));
18649 }
18650 return resultobj;
18651 fail:
18652 return NULL;
18653}
18654
18655
18656static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj;
18658 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18659 wxItemKind result;
18660 PyObject * obj0 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "self", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail;
18668 {
18669 PyThreadState* __tstate = wxPyBeginAllowThreads();
18670 result = (wxItemKind)(arg1)->GetKind();
18671
18672 wxPyEndAllowThreads(__tstate);
18673 if (PyErr_Occurred()) SWIG_fail;
18674 }
18675 resultobj = SWIG_From_int((result));
18676 return resultobj;
18677 fail:
18678 return NULL;
18679}
18680
18681
18682static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18683 PyObject *resultobj;
18684 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18685 bool result;
18686 PyObject * obj0 = 0 ;
18687 char *kwnames[] = {
18688 (char *) "self", NULL
18689 };
18690
18691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
18692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18693 if (SWIG_arg_fail(1)) SWIG_fail;
18694 {
18695 PyThreadState* __tstate = wxPyBeginAllowThreads();
18696 result = (bool)(arg1)->IsEnabled();
18697
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 {
18702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18703 }
18704 return resultobj;
18705 fail:
18706 return NULL;
18707}
18708
18709
18710static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18711 PyObject *resultobj;
18712 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18713 bool result;
18714 PyObject * obj0 = 0 ;
18715 char *kwnames[] = {
18716 (char *) "self", NULL
18717 };
18718
18719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18721 if (SWIG_arg_fail(1)) SWIG_fail;
18722 {
18723 PyThreadState* __tstate = wxPyBeginAllowThreads();
18724 result = (bool)(arg1)->IsToggled();
18725
18726 wxPyEndAllowThreads(__tstate);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
18729 {
18730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18731 }
18732 return resultobj;
18733 fail:
18734 return NULL;
18735}
18736
18737
18738static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18739 PyObject *resultobj;
18740 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18741 bool result;
18742 PyObject * obj0 = 0 ;
18743 char *kwnames[] = {
18744 (char *) "self", NULL
18745 };
18746
18747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18749 if (SWIG_arg_fail(1)) SWIG_fail;
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 result = (bool)(arg1)->CanBeToggled();
18753
18754 wxPyEndAllowThreads(__tstate);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
18757 {
18758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18759 }
18760 return resultobj;
18761 fail:
18762 return NULL;
18763}
18764
18765
18766static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18767 PyObject *resultobj;
18768 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18769 wxBitmap *result;
18770 PyObject * obj0 = 0 ;
18771 char *kwnames[] = {
18772 (char *) "self", NULL
18773 };
18774
18775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18777 if (SWIG_arg_fail(1)) SWIG_fail;
18778 {
18779 PyThreadState* __tstate = wxPyBeginAllowThreads();
18780 {
18781 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18782 result = (wxBitmap *) &_result_ref;
18783 }
18784
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
18788 {
18789 wxBitmap* resultptr = new wxBitmap(*result);
18790 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18791 }
18792 return resultobj;
18793 fail:
18794 return NULL;
18795}
18796
18797
18798static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18799 PyObject *resultobj;
18800 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18801 wxBitmap *result;
18802 PyObject * obj0 = 0 ;
18803 char *kwnames[] = {
18804 (char *) "self", NULL
18805 };
18806
18807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18809 if (SWIG_arg_fail(1)) SWIG_fail;
18810 {
18811 PyThreadState* __tstate = wxPyBeginAllowThreads();
18812 {
18813 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18814 result = (wxBitmap *) &_result_ref;
18815 }
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 {
18821 wxBitmap* resultptr = new wxBitmap(*result);
18822 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18823 }
18824 return resultobj;
18825 fail:
18826 return NULL;
18827}
18828
18829
18830static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18831 PyObject *resultobj;
18832 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18833 wxBitmap result;
18834 PyObject * obj0 = 0 ;
18835 char *kwnames[] = {
18836 (char *) "self", NULL
18837 };
18838
18839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18841 if (SWIG_arg_fail(1)) SWIG_fail;
18842 {
18843 PyThreadState* __tstate = wxPyBeginAllowThreads();
18844 result = (arg1)->GetBitmap();
18845
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 {
18850 wxBitmap * resultptr;
18851 resultptr = new wxBitmap((wxBitmap &)(result));
18852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18853 }
18854 return resultobj;
18855 fail:
18856 return NULL;
18857}
18858
18859
18860static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18861 PyObject *resultobj;
18862 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18863 wxString result;
18864 PyObject * obj0 = 0 ;
18865 char *kwnames[] = {
18866 (char *) "self", NULL
18867 };
18868
18869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18871 if (SWIG_arg_fail(1)) SWIG_fail;
18872 {
18873 PyThreadState* __tstate = wxPyBeginAllowThreads();
18874 result = (arg1)->GetLabel();
18875
18876 wxPyEndAllowThreads(__tstate);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 {
18880#if wxUSE_UNICODE
18881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18882#else
18883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18884#endif
18885 }
18886 return resultobj;
18887 fail:
18888 return NULL;
18889}
18890
18891
18892static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18893 PyObject *resultobj;
18894 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18895 wxString result;
18896 PyObject * obj0 = 0 ;
18897 char *kwnames[] = {
18898 (char *) "self", NULL
18899 };
18900
18901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18903 if (SWIG_arg_fail(1)) SWIG_fail;
18904 {
18905 PyThreadState* __tstate = wxPyBeginAllowThreads();
18906 result = (arg1)->GetShortHelp();
18907
18908 wxPyEndAllowThreads(__tstate);
18909 if (PyErr_Occurred()) SWIG_fail;
18910 }
18911 {
18912#if wxUSE_UNICODE
18913 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18914#else
18915 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18916#endif
18917 }
18918 return resultobj;
18919 fail:
18920 return NULL;
18921}
18922
18923
18924static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18925 PyObject *resultobj;
18926 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18927 wxString result;
18928 PyObject * obj0 = 0 ;
18929 char *kwnames[] = {
18930 (char *) "self", NULL
18931 };
18932
18933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18935 if (SWIG_arg_fail(1)) SWIG_fail;
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 result = (arg1)->GetLongHelp();
18939
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 {
18944#if wxUSE_UNICODE
18945 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18946#else
18947 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18948#endif
18949 }
18950 return resultobj;
18951 fail:
18952 return NULL;
18953}
18954
18955
18956static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18957 PyObject *resultobj;
18958 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18959 bool arg2 ;
18960 bool result;
18961 PyObject * obj0 = 0 ;
18962 PyObject * obj1 = 0 ;
18963 char *kwnames[] = {
18964 (char *) "self",(char *) "enable", NULL
18965 };
18966
18967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
18968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18969 if (SWIG_arg_fail(1)) SWIG_fail;
18970 {
18971 arg2 = (bool)(SWIG_As_bool(obj1));
18972 if (SWIG_arg_fail(2)) SWIG_fail;
18973 }
18974 {
18975 PyThreadState* __tstate = wxPyBeginAllowThreads();
18976 result = (bool)(arg1)->Enable(arg2);
18977
18978 wxPyEndAllowThreads(__tstate);
18979 if (PyErr_Occurred()) SWIG_fail;
18980 }
18981 {
18982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18983 }
18984 return resultobj;
18985 fail:
18986 return NULL;
18987}
18988
18989
18990static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
18991 PyObject *resultobj;
18992 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18993 PyObject * obj0 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
18999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19000 if (SWIG_arg_fail(1)) SWIG_fail;
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 (arg1)->Toggle();
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 Py_INCREF(Py_None); resultobj = Py_None;
19009 return resultobj;
19010 fail:
19011 return NULL;
19012}
19013
19014
19015static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
19016 PyObject *resultobj;
19017 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19018 bool arg2 ;
19019 bool result;
19020 PyObject * obj0 = 0 ;
19021 PyObject * obj1 = 0 ;
19022 char *kwnames[] = {
19023 (char *) "self",(char *) "toggle", NULL
19024 };
19025
19026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
19027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19028 if (SWIG_arg_fail(1)) SWIG_fail;
19029 {
19030 arg2 = (bool)(SWIG_As_bool(obj1));
19031 if (SWIG_arg_fail(2)) SWIG_fail;
19032 }
19033 {
19034 PyThreadState* __tstate = wxPyBeginAllowThreads();
19035 result = (bool)(arg1)->SetToggle(arg2);
19036
19037 wxPyEndAllowThreads(__tstate);
19038 if (PyErr_Occurred()) SWIG_fail;
19039 }
19040 {
19041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19042 }
19043 return resultobj;
19044 fail:
19045 return NULL;
19046}
19047
19048
19049static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19050 PyObject *resultobj;
19051 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19052 wxString *arg2 = 0 ;
19053 bool result;
19054 bool temp2 = false ;
19055 PyObject * obj0 = 0 ;
19056 PyObject * obj1 = 0 ;
19057 char *kwnames[] = {
19058 (char *) "self",(char *) "help", NULL
19059 };
19060
19061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
19062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19063 if (SWIG_arg_fail(1)) SWIG_fail;
19064 {
19065 arg2 = wxString_in_helper(obj1);
19066 if (arg2 == NULL) SWIG_fail;
19067 temp2 = true;
19068 }
19069 {
19070 PyThreadState* __tstate = wxPyBeginAllowThreads();
19071 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19072
19073 wxPyEndAllowThreads(__tstate);
19074 if (PyErr_Occurred()) SWIG_fail;
19075 }
19076 {
19077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19078 }
19079 {
19080 if (temp2)
19081 delete arg2;
19082 }
19083 return resultobj;
19084 fail:
19085 {
19086 if (temp2)
19087 delete arg2;
19088 }
19089 return NULL;
19090}
19091
19092
19093static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19094 PyObject *resultobj;
19095 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19096 wxString *arg2 = 0 ;
19097 bool result;
19098 bool temp2 = false ;
19099 PyObject * obj0 = 0 ;
19100 PyObject * obj1 = 0 ;
19101 char *kwnames[] = {
19102 (char *) "self",(char *) "help", NULL
19103 };
19104
19105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
19106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19107 if (SWIG_arg_fail(1)) SWIG_fail;
19108 {
19109 arg2 = wxString_in_helper(obj1);
19110 if (arg2 == NULL) SWIG_fail;
19111 temp2 = true;
19112 }
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 {
19121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19122 }
19123 {
19124 if (temp2)
19125 delete arg2;
19126 }
19127 return resultobj;
19128 fail:
19129 {
19130 if (temp2)
19131 delete arg2;
19132 }
19133 return NULL;
19134}
19135
19136
19137static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19138 PyObject *resultobj;
19139 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19140 wxBitmap *arg2 = 0 ;
19141 PyObject * obj0 = 0 ;
19142 PyObject * obj1 = 0 ;
19143 char *kwnames[] = {
19144 (char *) "self",(char *) "bmp", NULL
19145 };
19146
19147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
19148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19149 if (SWIG_arg_fail(1)) SWIG_fail;
19150 {
19151 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19152 if (SWIG_arg_fail(2)) SWIG_fail;
19153 if (arg2 == NULL) {
19154 SWIG_null_ref("wxBitmap");
19155 }
19156 if (SWIG_arg_fail(2)) SWIG_fail;
19157 }
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19161
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 Py_INCREF(Py_None); resultobj = Py_None;
19166 return resultobj;
19167 fail:
19168 return NULL;
19169}
19170
19171
19172static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19173 PyObject *resultobj;
19174 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19175 wxBitmap *arg2 = 0 ;
19176 PyObject * obj0 = 0 ;
19177 PyObject * obj1 = 0 ;
19178 char *kwnames[] = {
19179 (char *) "self",(char *) "bmp", NULL
19180 };
19181
19182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
19183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19184 if (SWIG_arg_fail(1)) SWIG_fail;
19185 {
19186 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19187 if (SWIG_arg_fail(2)) SWIG_fail;
19188 if (arg2 == NULL) {
19189 SWIG_null_ref("wxBitmap");
19190 }
19191 if (SWIG_arg_fail(2)) SWIG_fail;
19192 }
19193 {
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19196
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 Py_INCREF(Py_None); resultobj = Py_None;
19201 return resultobj;
19202 fail:
19203 return NULL;
19204}
19205
19206
19207static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19208 PyObject *resultobj;
19209 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19210 wxString *arg2 = 0 ;
19211 bool temp2 = false ;
19212 PyObject * obj0 = 0 ;
19213 PyObject * obj1 = 0 ;
19214 char *kwnames[] = {
19215 (char *) "self",(char *) "label", NULL
19216 };
19217
19218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19220 if (SWIG_arg_fail(1)) SWIG_fail;
19221 {
19222 arg2 = wxString_in_helper(obj1);
19223 if (arg2 == NULL) SWIG_fail;
19224 temp2 = true;
19225 }
19226 {
19227 PyThreadState* __tstate = wxPyBeginAllowThreads();
19228 (arg1)->SetLabel((wxString const &)*arg2);
19229
19230 wxPyEndAllowThreads(__tstate);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 }
19233 Py_INCREF(Py_None); resultobj = Py_None;
19234 {
19235 if (temp2)
19236 delete arg2;
19237 }
19238 return resultobj;
19239 fail:
19240 {
19241 if (temp2)
19242 delete arg2;
19243 }
19244 return NULL;
19245}
19246
19247
19248static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19249 PyObject *resultobj;
19250 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19251 PyObject * obj0 = 0 ;
19252 char *kwnames[] = {
19253 (char *) "self", NULL
19254 };
19255
19256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19258 if (SWIG_arg_fail(1)) SWIG_fail;
19259 {
19260 PyThreadState* __tstate = wxPyBeginAllowThreads();
19261 (arg1)->Detach();
19262
19263 wxPyEndAllowThreads(__tstate);
19264 if (PyErr_Occurred()) SWIG_fail;
19265 }
19266 Py_INCREF(Py_None); resultobj = Py_None;
19267 return resultobj;
19268 fail:
19269 return NULL;
19270}
19271
19272
19273static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19276 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19277 PyObject * obj0 = 0 ;
19278 PyObject * obj1 = 0 ;
19279 char *kwnames[] = {
19280 (char *) "self",(char *) "tbar", NULL
19281 };
19282
19283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19285 if (SWIG_arg_fail(1)) SWIG_fail;
19286 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19287 if (SWIG_arg_fail(2)) SWIG_fail;
19288 {
19289 PyThreadState* __tstate = wxPyBeginAllowThreads();
19290 (arg1)->Attach(arg2);
19291
19292 wxPyEndAllowThreads(__tstate);
19293 if (PyErr_Occurred()) SWIG_fail;
19294 }
19295 Py_INCREF(Py_None); resultobj = Py_None;
19296 return resultobj;
19297 fail:
19298 return NULL;
19299}
19300
19301
19302static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19303 PyObject *resultobj;
19304 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19305 PyObject *result;
19306 PyObject * obj0 = 0 ;
19307 char *kwnames[] = {
19308 (char *) "self", NULL
19309 };
19310
19311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19313 if (SWIG_arg_fail(1)) SWIG_fail;
19314 {
19315 PyThreadState* __tstate = wxPyBeginAllowThreads();
19316 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19317
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 resultobj = result;
19322 return resultobj;
19323 fail:
19324 return NULL;
19325}
19326
19327
19328static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19329 PyObject *resultobj;
19330 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19331 PyObject *arg2 = (PyObject *) 0 ;
19332 PyObject * obj0 = 0 ;
19333 PyObject * obj1 = 0 ;
19334 char *kwnames[] = {
19335 (char *) "self",(char *) "clientData", NULL
19336 };
19337
19338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19340 if (SWIG_arg_fail(1)) SWIG_fail;
19341 arg2 = obj1;
19342 {
19343 PyThreadState* __tstate = wxPyBeginAllowThreads();
19344 wxToolBarToolBase_SetClientData(arg1,arg2);
19345
19346 wxPyEndAllowThreads(__tstate);
19347 if (PyErr_Occurred()) SWIG_fail;
19348 }
19349 Py_INCREF(Py_None); resultobj = Py_None;
19350 return resultobj;
19351 fail:
19352 return NULL;
19353}
19354
19355
19356static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19357 PyObject *obj;
19358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19359 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19360 Py_INCREF(obj);
19361 return Py_BuildValue((char *)"");
19362}
19363static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19364 PyObject *resultobj;
19365 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19366 int arg2 ;
19367 wxString *arg3 = 0 ;
19368 wxBitmap *arg4 = 0 ;
19369 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19370 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19371 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19372 wxString const &arg7_defvalue = wxPyEmptyString ;
19373 wxString *arg7 = (wxString *) &arg7_defvalue ;
19374 wxString const &arg8_defvalue = wxPyEmptyString ;
19375 wxString *arg8 = (wxString *) &arg8_defvalue ;
19376 PyObject *arg9 = (PyObject *) NULL ;
19377 wxToolBarToolBase *result;
19378 bool temp3 = false ;
19379 bool temp7 = false ;
19380 bool temp8 = false ;
19381 PyObject * obj0 = 0 ;
19382 PyObject * obj1 = 0 ;
19383 PyObject * obj2 = 0 ;
19384 PyObject * obj3 = 0 ;
19385 PyObject * obj4 = 0 ;
19386 PyObject * obj5 = 0 ;
19387 PyObject * obj6 = 0 ;
19388 PyObject * obj7 = 0 ;
19389 PyObject * obj8 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19396 if (SWIG_arg_fail(1)) SWIG_fail;
19397 {
19398 arg2 = (int)(SWIG_As_int(obj1));
19399 if (SWIG_arg_fail(2)) SWIG_fail;
19400 }
19401 {
19402 arg3 = wxString_in_helper(obj2);
19403 if (arg3 == NULL) SWIG_fail;
19404 temp3 = true;
19405 }
19406 {
19407 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19408 if (SWIG_arg_fail(4)) SWIG_fail;
19409 if (arg4 == NULL) {
19410 SWIG_null_ref("wxBitmap");
19411 }
19412 if (SWIG_arg_fail(4)) SWIG_fail;
19413 }
19414 if (obj4) {
19415 {
19416 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19417 if (SWIG_arg_fail(5)) SWIG_fail;
19418 if (arg5 == NULL) {
19419 SWIG_null_ref("wxBitmap");
19420 }
19421 if (SWIG_arg_fail(5)) SWIG_fail;
19422 }
19423 }
19424 if (obj5) {
19425 {
19426 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19427 if (SWIG_arg_fail(6)) SWIG_fail;
19428 }
19429 }
19430 if (obj6) {
19431 {
19432 arg7 = wxString_in_helper(obj6);
19433 if (arg7 == NULL) SWIG_fail;
19434 temp7 = true;
19435 }
19436 }
19437 if (obj7) {
19438 {
19439 arg8 = wxString_in_helper(obj7);
19440 if (arg8 == NULL) SWIG_fail;
19441 temp8 = true;
19442 }
19443 }
19444 if (obj8) {
19445 arg9 = obj8;
19446 }
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19450
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 {
19455 resultobj = wxPyMake_wxObject(result, 0);
19456 }
19457 {
19458 if (temp3)
19459 delete arg3;
19460 }
19461 {
19462 if (temp7)
19463 delete arg7;
19464 }
19465 {
19466 if (temp8)
19467 delete arg8;
19468 }
19469 return resultobj;
19470 fail:
19471 {
19472 if (temp3)
19473 delete arg3;
19474 }
19475 {
19476 if (temp7)
19477 delete arg7;
19478 }
19479 {
19480 if (temp8)
19481 delete arg8;
19482 }
19483 return NULL;
19484}
19485
19486
19487static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19488 PyObject *resultobj;
19489 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19490 size_t arg2 ;
19491 int arg3 ;
19492 wxString *arg4 = 0 ;
19493 wxBitmap *arg5 = 0 ;
19494 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19495 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19496 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19497 wxString const &arg8_defvalue = wxPyEmptyString ;
19498 wxString *arg8 = (wxString *) &arg8_defvalue ;
19499 wxString const &arg9_defvalue = wxPyEmptyString ;
19500 wxString *arg9 = (wxString *) &arg9_defvalue ;
19501 PyObject *arg10 = (PyObject *) NULL ;
19502 wxToolBarToolBase *result;
19503 bool temp4 = false ;
19504 bool temp8 = false ;
19505 bool temp9 = false ;
19506 PyObject * obj0 = 0 ;
19507 PyObject * obj1 = 0 ;
19508 PyObject * obj2 = 0 ;
19509 PyObject * obj3 = 0 ;
19510 PyObject * obj4 = 0 ;
19511 PyObject * obj5 = 0 ;
19512 PyObject * obj6 = 0 ;
19513 PyObject * obj7 = 0 ;
19514 PyObject * obj8 = 0 ;
19515 PyObject * obj9 = 0 ;
19516 char *kwnames[] = {
19517 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19518 };
19519
19520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19522 if (SWIG_arg_fail(1)) SWIG_fail;
19523 {
19524 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19525 if (SWIG_arg_fail(2)) SWIG_fail;
19526 }
19527 {
19528 arg3 = (int)(SWIG_As_int(obj2));
19529 if (SWIG_arg_fail(3)) SWIG_fail;
19530 }
19531 {
19532 arg4 = wxString_in_helper(obj3);
19533 if (arg4 == NULL) SWIG_fail;
19534 temp4 = true;
19535 }
19536 {
19537 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19538 if (SWIG_arg_fail(5)) SWIG_fail;
19539 if (arg5 == NULL) {
19540 SWIG_null_ref("wxBitmap");
19541 }
19542 if (SWIG_arg_fail(5)) SWIG_fail;
19543 }
19544 if (obj5) {
19545 {
19546 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19547 if (SWIG_arg_fail(6)) SWIG_fail;
19548 if (arg6 == NULL) {
19549 SWIG_null_ref("wxBitmap");
19550 }
19551 if (SWIG_arg_fail(6)) SWIG_fail;
19552 }
19553 }
19554 if (obj6) {
19555 {
19556 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19557 if (SWIG_arg_fail(7)) SWIG_fail;
19558 }
19559 }
19560 if (obj7) {
19561 {
19562 arg8 = wxString_in_helper(obj7);
19563 if (arg8 == NULL) SWIG_fail;
19564 temp8 = true;
19565 }
19566 }
19567 if (obj8) {
19568 {
19569 arg9 = wxString_in_helper(obj8);
19570 if (arg9 == NULL) SWIG_fail;
19571 temp9 = true;
19572 }
19573 }
19574 if (obj9) {
19575 arg10 = obj9;
19576 }
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 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);
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 {
19585 resultobj = wxPyMake_wxObject(result, 0);
19586 }
19587 {
19588 if (temp4)
19589 delete arg4;
19590 }
19591 {
19592 if (temp8)
19593 delete arg8;
19594 }
19595 {
19596 if (temp9)
19597 delete arg9;
19598 }
19599 return resultobj;
19600 fail:
19601 {
19602 if (temp4)
19603 delete arg4;
19604 }
19605 {
19606 if (temp8)
19607 delete arg8;
19608 }
19609 {
19610 if (temp9)
19611 delete arg9;
19612 }
19613 return NULL;
19614}
19615
19616
19617static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19618 PyObject *resultobj;
19619 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19620 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19621 wxToolBarToolBase *result;
19622 PyObject * obj0 = 0 ;
19623 PyObject * obj1 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self",(char *) "tool", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19630 if (SWIG_arg_fail(1)) SWIG_fail;
19631 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19632 if (SWIG_arg_fail(2)) SWIG_fail;
19633 {
19634 PyThreadState* __tstate = wxPyBeginAllowThreads();
19635 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19636
19637 wxPyEndAllowThreads(__tstate);
19638 if (PyErr_Occurred()) SWIG_fail;
19639 }
19640 {
19641 resultobj = wxPyMake_wxObject(result, 0);
19642 }
19643 return resultobj;
19644 fail:
19645 return NULL;
19646}
19647
19648
19649static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj;
19651 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19652 size_t arg2 ;
19653 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19654 wxToolBarToolBase *result;
19655 PyObject * obj0 = 0 ;
19656 PyObject * obj1 = 0 ;
19657 PyObject * obj2 = 0 ;
19658 char *kwnames[] = {
19659 (char *) "self",(char *) "pos",(char *) "tool", NULL
19660 };
19661
19662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19664 if (SWIG_arg_fail(1)) SWIG_fail;
19665 {
19666 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19667 if (SWIG_arg_fail(2)) SWIG_fail;
19668 }
19669 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19670 if (SWIG_arg_fail(3)) SWIG_fail;
19671 {
19672 PyThreadState* __tstate = wxPyBeginAllowThreads();
19673 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19674
19675 wxPyEndAllowThreads(__tstate);
19676 if (PyErr_Occurred()) SWIG_fail;
19677 }
19678 {
19679 resultobj = wxPyMake_wxObject(result, 0);
19680 }
19681 return resultobj;
19682 fail:
19683 return NULL;
19684}
19685
19686
19687static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19688 PyObject *resultobj;
19689 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19690 wxControl *arg2 = (wxControl *) 0 ;
19691 wxToolBarToolBase *result;
19692 PyObject * obj0 = 0 ;
19693 PyObject * obj1 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self",(char *) "control", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19700 if (SWIG_arg_fail(1)) SWIG_fail;
19701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19702 if (SWIG_arg_fail(2)) SWIG_fail;
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19706
19707 wxPyEndAllowThreads(__tstate);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 }
19710 {
19711 resultobj = wxPyMake_wxObject(result, 0);
19712 }
19713 return resultobj;
19714 fail:
19715 return NULL;
19716}
19717
19718
19719static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19720 PyObject *resultobj;
19721 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19722 size_t arg2 ;
19723 wxControl *arg3 = (wxControl *) 0 ;
19724 wxToolBarToolBase *result;
19725 PyObject * obj0 = 0 ;
19726 PyObject * obj1 = 0 ;
19727 PyObject * obj2 = 0 ;
19728 char *kwnames[] = {
19729 (char *) "self",(char *) "pos",(char *) "control", NULL
19730 };
19731
19732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19734 if (SWIG_arg_fail(1)) SWIG_fail;
19735 {
19736 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19737 if (SWIG_arg_fail(2)) SWIG_fail;
19738 }
19739 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19740 if (SWIG_arg_fail(3)) SWIG_fail;
19741 {
19742 PyThreadState* __tstate = wxPyBeginAllowThreads();
19743 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19744
19745 wxPyEndAllowThreads(__tstate);
19746 if (PyErr_Occurred()) SWIG_fail;
19747 }
19748 {
19749 resultobj = wxPyMake_wxObject(result, 0);
19750 }
19751 return resultobj;
19752 fail:
19753 return NULL;
19754}
19755
19756
19757static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19758 PyObject *resultobj;
19759 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19760 int arg2 ;
19761 wxControl *result;
19762 PyObject * obj0 = 0 ;
19763 PyObject * obj1 = 0 ;
19764 char *kwnames[] = {
19765 (char *) "self",(char *) "id", NULL
19766 };
19767
19768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19770 if (SWIG_arg_fail(1)) SWIG_fail;
19771 {
19772 arg2 = (int)(SWIG_As_int(obj1));
19773 if (SWIG_arg_fail(2)) SWIG_fail;
19774 }
19775 {
19776 PyThreadState* __tstate = wxPyBeginAllowThreads();
19777 result = (wxControl *)(arg1)->FindControl(arg2);
19778
19779 wxPyEndAllowThreads(__tstate);
19780 if (PyErr_Occurred()) SWIG_fail;
19781 }
19782 {
19783 resultobj = wxPyMake_wxObject(result, 0);
19784 }
19785 return resultobj;
19786 fail:
19787 return NULL;
19788}
19789
19790
19791static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj;
19793 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19794 wxToolBarToolBase *result;
19795 PyObject * obj0 = 0 ;
19796 char *kwnames[] = {
19797 (char *) "self", NULL
19798 };
19799
19800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19802 if (SWIG_arg_fail(1)) SWIG_fail;
19803 {
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19806
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 {
19811 resultobj = wxPyMake_wxObject(result, 0);
19812 }
19813 return resultobj;
19814 fail:
19815 return NULL;
19816}
19817
19818
19819static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19820 PyObject *resultobj;
19821 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19822 size_t arg2 ;
19823 wxToolBarToolBase *result;
19824 PyObject * obj0 = 0 ;
19825 PyObject * obj1 = 0 ;
19826 char *kwnames[] = {
19827 (char *) "self",(char *) "pos", NULL
19828 };
19829
19830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19832 if (SWIG_arg_fail(1)) SWIG_fail;
19833 {
19834 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19835 if (SWIG_arg_fail(2)) SWIG_fail;
19836 }
19837 {
19838 PyThreadState* __tstate = wxPyBeginAllowThreads();
19839 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19840
19841 wxPyEndAllowThreads(__tstate);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 {
19845 resultobj = wxPyMake_wxObject(result, 0);
19846 }
19847 return resultobj;
19848 fail:
19849 return NULL;
19850}
19851
19852
19853static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19856 int arg2 ;
19857 wxToolBarToolBase *result;
19858 PyObject * obj0 = 0 ;
19859 PyObject * obj1 = 0 ;
19860 char *kwnames[] = {
19861 (char *) "self",(char *) "id", NULL
19862 };
19863
19864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19866 if (SWIG_arg_fail(1)) SWIG_fail;
19867 {
19868 arg2 = (int)(SWIG_As_int(obj1));
19869 if (SWIG_arg_fail(2)) SWIG_fail;
19870 }
19871 {
19872 PyThreadState* __tstate = wxPyBeginAllowThreads();
19873 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19874
19875 wxPyEndAllowThreads(__tstate);
19876 if (PyErr_Occurred()) SWIG_fail;
19877 }
19878 {
19879 resultobj = wxPyMake_wxObject(result, 0);
19880 }
19881 return resultobj;
19882 fail:
19883 return NULL;
19884}
19885
19886
19887static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19888 PyObject *resultobj;
19889 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19890 size_t arg2 ;
19891 bool result;
19892 PyObject * obj0 = 0 ;
19893 PyObject * obj1 = 0 ;
19894 char *kwnames[] = {
19895 (char *) "self",(char *) "pos", NULL
19896 };
19897
19898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19900 if (SWIG_arg_fail(1)) SWIG_fail;
19901 {
19902 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19903 if (SWIG_arg_fail(2)) SWIG_fail;
19904 }
19905 {
19906 PyThreadState* __tstate = wxPyBeginAllowThreads();
19907 result = (bool)(arg1)->DeleteToolByPos(arg2);
19908
19909 wxPyEndAllowThreads(__tstate);
19910 if (PyErr_Occurred()) SWIG_fail;
19911 }
19912 {
19913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19914 }
19915 return resultobj;
19916 fail:
19917 return NULL;
19918}
19919
19920
19921static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19922 PyObject *resultobj;
19923 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19924 int arg2 ;
19925 bool result;
19926 PyObject * obj0 = 0 ;
19927 PyObject * obj1 = 0 ;
19928 char *kwnames[] = {
19929 (char *) "self",(char *) "id", NULL
19930 };
19931
19932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19934 if (SWIG_arg_fail(1)) SWIG_fail;
19935 {
19936 arg2 = (int)(SWIG_As_int(obj1));
19937 if (SWIG_arg_fail(2)) SWIG_fail;
19938 }
19939 {
19940 PyThreadState* __tstate = wxPyBeginAllowThreads();
19941 result = (bool)(arg1)->DeleteTool(arg2);
19942
19943 wxPyEndAllowThreads(__tstate);
19944 if (PyErr_Occurred()) SWIG_fail;
19945 }
19946 {
19947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19948 }
19949 return resultobj;
19950 fail:
19951 return NULL;
19952}
19953
19954
19955static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19956 PyObject *resultobj;
19957 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19958 PyObject * obj0 = 0 ;
19959 char *kwnames[] = {
19960 (char *) "self", NULL
19961 };
19962
19963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
19964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19965 if (SWIG_arg_fail(1)) SWIG_fail;
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 (arg1)->ClearTools();
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 Py_INCREF(Py_None); resultobj = Py_None;
19974 return resultobj;
19975 fail:
19976 return NULL;
19977}
19978
19979
19980static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19981 PyObject *resultobj;
19982 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19983 bool result;
19984 PyObject * obj0 = 0 ;
19985 char *kwnames[] = {
19986 (char *) "self", NULL
19987 };
19988
19989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
19990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19991 if (SWIG_arg_fail(1)) SWIG_fail;
19992 {
19993 PyThreadState* __tstate = wxPyBeginAllowThreads();
19994 result = (bool)(arg1)->Realize();
19995
19996 wxPyEndAllowThreads(__tstate);
19997 if (PyErr_Occurred()) SWIG_fail;
19998 }
19999 {
20000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20001 }
20002 return resultobj;
20003 fail:
20004 return NULL;
20005}
20006
20007
20008static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
20009 PyObject *resultobj;
20010 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20011 int arg2 ;
20012 bool arg3 ;
20013 PyObject * obj0 = 0 ;
20014 PyObject * obj1 = 0 ;
20015 PyObject * obj2 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "self",(char *) "id",(char *) "enable", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20022 if (SWIG_arg_fail(1)) SWIG_fail;
20023 {
20024 arg2 = (int)(SWIG_As_int(obj1));
20025 if (SWIG_arg_fail(2)) SWIG_fail;
20026 }
20027 {
20028 arg3 = (bool)(SWIG_As_bool(obj2));
20029 if (SWIG_arg_fail(3)) SWIG_fail;
20030 }
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 (arg1)->EnableTool(arg2,arg3);
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 Py_INCREF(Py_None); resultobj = Py_None;
20039 return resultobj;
20040 fail:
20041 return NULL;
20042}
20043
20044
20045static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
20046 PyObject *resultobj;
20047 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20048 int arg2 ;
20049 bool arg3 ;
20050 PyObject * obj0 = 0 ;
20051 PyObject * obj1 = 0 ;
20052 PyObject * obj2 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self",(char *) "id",(char *) "toggle", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20059 if (SWIG_arg_fail(1)) SWIG_fail;
20060 {
20061 arg2 = (int)(SWIG_As_int(obj1));
20062 if (SWIG_arg_fail(2)) SWIG_fail;
20063 }
20064 {
20065 arg3 = (bool)(SWIG_As_bool(obj2));
20066 if (SWIG_arg_fail(3)) SWIG_fail;
20067 }
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 (arg1)->ToggleTool(arg2,arg3);
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 Py_INCREF(Py_None); resultobj = Py_None;
20076 return resultobj;
20077 fail:
20078 return NULL;
20079}
20080
20081
20082static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
20083 PyObject *resultobj;
20084 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20085 int arg2 ;
20086 bool arg3 ;
20087 PyObject * obj0 = 0 ;
20088 PyObject * obj1 = 0 ;
20089 PyObject * obj2 = 0 ;
20090 char *kwnames[] = {
20091 (char *) "self",(char *) "id",(char *) "toggle", NULL
20092 };
20093
20094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20096 if (SWIG_arg_fail(1)) SWIG_fail;
20097 {
20098 arg2 = (int)(SWIG_As_int(obj1));
20099 if (SWIG_arg_fail(2)) SWIG_fail;
20100 }
20101 {
20102 arg3 = (bool)(SWIG_As_bool(obj2));
20103 if (SWIG_arg_fail(3)) SWIG_fail;
20104 }
20105 {
20106 PyThreadState* __tstate = wxPyBeginAllowThreads();
20107 (arg1)->SetToggle(arg2,arg3);
20108
20109 wxPyEndAllowThreads(__tstate);
20110 if (PyErr_Occurred()) SWIG_fail;
20111 }
20112 Py_INCREF(Py_None); resultobj = Py_None;
20113 return resultobj;
20114 fail:
20115 return NULL;
20116}
20117
20118
20119static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20120 PyObject *resultobj;
20121 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20122 int arg2 ;
20123 PyObject *result;
20124 PyObject * obj0 = 0 ;
20125 PyObject * obj1 = 0 ;
20126 char *kwnames[] = {
20127 (char *) "self",(char *) "id", NULL
20128 };
20129
20130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
20131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20132 if (SWIG_arg_fail(1)) SWIG_fail;
20133 {
20134 arg2 = (int)(SWIG_As_int(obj1));
20135 if (SWIG_arg_fail(2)) SWIG_fail;
20136 }
20137 {
20138 PyThreadState* __tstate = wxPyBeginAllowThreads();
20139 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20140
20141 wxPyEndAllowThreads(__tstate);
20142 if (PyErr_Occurred()) SWIG_fail;
20143 }
20144 resultobj = result;
20145 return resultobj;
20146 fail:
20147 return NULL;
20148}
20149
20150
20151static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20152 PyObject *resultobj;
20153 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20154 int arg2 ;
20155 PyObject *arg3 = (PyObject *) 0 ;
20156 PyObject * obj0 = 0 ;
20157 PyObject * obj1 = 0 ;
20158 PyObject * obj2 = 0 ;
20159 char *kwnames[] = {
20160 (char *) "self",(char *) "id",(char *) "clientData", NULL
20161 };
20162
20163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20165 if (SWIG_arg_fail(1)) SWIG_fail;
20166 {
20167 arg2 = (int)(SWIG_As_int(obj1));
20168 if (SWIG_arg_fail(2)) SWIG_fail;
20169 }
20170 arg3 = obj2;
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
20173 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 Py_INCREF(Py_None); resultobj = Py_None;
20179 return resultobj;
20180 fail:
20181 return NULL;
20182}
20183
20184
20185static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
20186 PyObject *resultobj;
20187 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20188 int arg2 ;
20189 int result;
20190 PyObject * obj0 = 0 ;
20191 PyObject * obj1 = 0 ;
20192 char *kwnames[] = {
20193 (char *) "self",(char *) "id", NULL
20194 };
20195
20196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
20197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20198 if (SWIG_arg_fail(1)) SWIG_fail;
20199 {
20200 arg2 = (int)(SWIG_As_int(obj1));
20201 if (SWIG_arg_fail(2)) SWIG_fail;
20202 }
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20206
20207 wxPyEndAllowThreads(__tstate);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 {
20211 resultobj = SWIG_From_int((int)(result));
20212 }
20213 return resultobj;
20214 fail:
20215 return NULL;
20216}
20217
20218
20219static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
20220 PyObject *resultobj;
20221 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20222 int arg2 ;
20223 bool result;
20224 PyObject * obj0 = 0 ;
20225 PyObject * obj1 = 0 ;
20226 char *kwnames[] = {
20227 (char *) "self",(char *) "id", NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20232 if (SWIG_arg_fail(1)) SWIG_fail;
20233 {
20234 arg2 = (int)(SWIG_As_int(obj1));
20235 if (SWIG_arg_fail(2)) SWIG_fail;
20236 }
20237 {
20238 PyThreadState* __tstate = wxPyBeginAllowThreads();
20239 result = (bool)(arg1)->GetToolState(arg2);
20240
20241 wxPyEndAllowThreads(__tstate);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 }
20244 {
20245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20246 }
20247 return resultobj;
20248 fail:
20249 return NULL;
20250}
20251
20252
20253static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20254 PyObject *resultobj;
20255 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20256 int arg2 ;
20257 bool result;
20258 PyObject * obj0 = 0 ;
20259 PyObject * obj1 = 0 ;
20260 char *kwnames[] = {
20261 (char *) "self",(char *) "id", NULL
20262 };
20263
20264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20266 if (SWIG_arg_fail(1)) SWIG_fail;
20267 {
20268 arg2 = (int)(SWIG_As_int(obj1));
20269 if (SWIG_arg_fail(2)) SWIG_fail;
20270 }
20271 {
20272 PyThreadState* __tstate = wxPyBeginAllowThreads();
20273 result = (bool)(arg1)->GetToolEnabled(arg2);
20274
20275 wxPyEndAllowThreads(__tstate);
20276 if (PyErr_Occurred()) SWIG_fail;
20277 }
20278 {
20279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20280 }
20281 return resultobj;
20282 fail:
20283 return NULL;
20284}
20285
20286
20287static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20288 PyObject *resultobj;
20289 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20290 int arg2 ;
20291 wxString *arg3 = 0 ;
20292 bool temp3 = false ;
20293 PyObject * obj0 = 0 ;
20294 PyObject * obj1 = 0 ;
20295 PyObject * obj2 = 0 ;
20296 char *kwnames[] = {
20297 (char *) "self",(char *) "id",(char *) "helpString", NULL
20298 };
20299
20300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20302 if (SWIG_arg_fail(1)) SWIG_fail;
20303 {
20304 arg2 = (int)(SWIG_As_int(obj1));
20305 if (SWIG_arg_fail(2)) SWIG_fail;
20306 }
20307 {
20308 arg3 = wxString_in_helper(obj2);
20309 if (arg3 == NULL) SWIG_fail;
20310 temp3 = true;
20311 }
20312 {
20313 PyThreadState* __tstate = wxPyBeginAllowThreads();
20314 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20315
20316 wxPyEndAllowThreads(__tstate);
20317 if (PyErr_Occurred()) SWIG_fail;
20318 }
20319 Py_INCREF(Py_None); resultobj = Py_None;
20320 {
20321 if (temp3)
20322 delete arg3;
20323 }
20324 return resultobj;
20325 fail:
20326 {
20327 if (temp3)
20328 delete arg3;
20329 }
20330 return NULL;
20331}
20332
20333
20334static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20335 PyObject *resultobj;
20336 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20337 int arg2 ;
20338 wxString result;
20339 PyObject * obj0 = 0 ;
20340 PyObject * obj1 = 0 ;
20341 char *kwnames[] = {
20342 (char *) "self",(char *) "id", NULL
20343 };
20344
20345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20347 if (SWIG_arg_fail(1)) SWIG_fail;
20348 {
20349 arg2 = (int)(SWIG_As_int(obj1));
20350 if (SWIG_arg_fail(2)) SWIG_fail;
20351 }
20352 {
20353 PyThreadState* __tstate = wxPyBeginAllowThreads();
20354 result = (arg1)->GetToolShortHelp(arg2);
20355
20356 wxPyEndAllowThreads(__tstate);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 }
20359 {
20360#if wxUSE_UNICODE
20361 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20362#else
20363 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20364#endif
20365 }
20366 return resultobj;
20367 fail:
20368 return NULL;
20369}
20370
20371
20372static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20375 int arg2 ;
20376 wxString *arg3 = 0 ;
20377 bool temp3 = false ;
20378 PyObject * obj0 = 0 ;
20379 PyObject * obj1 = 0 ;
20380 PyObject * obj2 = 0 ;
20381 char *kwnames[] = {
20382 (char *) "self",(char *) "id",(char *) "helpString", NULL
20383 };
20384
20385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20387 if (SWIG_arg_fail(1)) SWIG_fail;
20388 {
20389 arg2 = (int)(SWIG_As_int(obj1));
20390 if (SWIG_arg_fail(2)) SWIG_fail;
20391 }
20392 {
20393 arg3 = wxString_in_helper(obj2);
20394 if (arg3 == NULL) SWIG_fail;
20395 temp3 = true;
20396 }
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 Py_INCREF(Py_None); resultobj = Py_None;
20405 {
20406 if (temp3)
20407 delete arg3;
20408 }
20409 return resultobj;
20410 fail:
20411 {
20412 if (temp3)
20413 delete arg3;
20414 }
20415 return NULL;
20416}
20417
20418
20419static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20420 PyObject *resultobj;
20421 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20422 int arg2 ;
20423 wxString result;
20424 PyObject * obj0 = 0 ;
20425 PyObject * obj1 = 0 ;
20426 char *kwnames[] = {
20427 (char *) "self",(char *) "id", NULL
20428 };
20429
20430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
20431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20432 if (SWIG_arg_fail(1)) SWIG_fail;
20433 {
20434 arg2 = (int)(SWIG_As_int(obj1));
20435 if (SWIG_arg_fail(2)) SWIG_fail;
20436 }
20437 {
20438 PyThreadState* __tstate = wxPyBeginAllowThreads();
20439 result = (arg1)->GetToolLongHelp(arg2);
20440
20441 wxPyEndAllowThreads(__tstate);
20442 if (PyErr_Occurred()) SWIG_fail;
20443 }
20444 {
20445#if wxUSE_UNICODE
20446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20447#else
20448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20449#endif
20450 }
20451 return resultobj;
20452 fail:
20453 return NULL;
20454}
20455
20456
20457static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20458 PyObject *resultobj;
20459 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20460 int arg2 ;
20461 int arg3 ;
20462 PyObject * obj0 = 0 ;
20463 PyObject * obj1 = 0 ;
20464 PyObject * obj2 = 0 ;
20465 char *kwnames[] = {
20466 (char *) "self",(char *) "x",(char *) "y", NULL
20467 };
20468
20469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20471 if (SWIG_arg_fail(1)) SWIG_fail;
20472 {
20473 arg2 = (int)(SWIG_As_int(obj1));
20474 if (SWIG_arg_fail(2)) SWIG_fail;
20475 }
20476 {
20477 arg3 = (int)(SWIG_As_int(obj2));
20478 if (SWIG_arg_fail(3)) SWIG_fail;
20479 }
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 (arg1)->SetMargins(arg2,arg3);
20483
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 Py_INCREF(Py_None); resultobj = Py_None;
20488 return resultobj;
20489 fail:
20490 return NULL;
20491}
20492
20493
20494static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20495 PyObject *resultobj;
20496 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20497 wxSize *arg2 = 0 ;
20498 wxSize temp2 ;
20499 PyObject * obj0 = 0 ;
20500 PyObject * obj1 = 0 ;
20501 char *kwnames[] = {
20502 (char *) "self",(char *) "size", NULL
20503 };
20504
20505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20507 if (SWIG_arg_fail(1)) SWIG_fail;
20508 {
20509 arg2 = &temp2;
20510 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20511 }
20512 {
20513 PyThreadState* __tstate = wxPyBeginAllowThreads();
20514 (arg1)->SetMargins((wxSize const &)*arg2);
20515
20516 wxPyEndAllowThreads(__tstate);
20517 if (PyErr_Occurred()) SWIG_fail;
20518 }
20519 Py_INCREF(Py_None); resultobj = Py_None;
20520 return resultobj;
20521 fail:
20522 return NULL;
20523}
20524
20525
20526static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20527 PyObject *resultobj;
20528 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20529 int arg2 ;
20530 PyObject * obj0 = 0 ;
20531 PyObject * obj1 = 0 ;
20532 char *kwnames[] = {
20533 (char *) "self",(char *) "packing", NULL
20534 };
20535
20536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20538 if (SWIG_arg_fail(1)) SWIG_fail;
20539 {
20540 arg2 = (int)(SWIG_As_int(obj1));
20541 if (SWIG_arg_fail(2)) SWIG_fail;
20542 }
20543 {
20544 PyThreadState* __tstate = wxPyBeginAllowThreads();
20545 (arg1)->SetToolPacking(arg2);
20546
20547 wxPyEndAllowThreads(__tstate);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 }
20550 Py_INCREF(Py_None); resultobj = Py_None;
20551 return resultobj;
20552 fail:
20553 return NULL;
20554}
20555
20556
20557static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20558 PyObject *resultobj;
20559 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20560 int arg2 ;
20561 PyObject * obj0 = 0 ;
20562 PyObject * obj1 = 0 ;
20563 char *kwnames[] = {
20564 (char *) "self",(char *) "separation", NULL
20565 };
20566
20567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20569 if (SWIG_arg_fail(1)) SWIG_fail;
20570 {
20571 arg2 = (int)(SWIG_As_int(obj1));
20572 if (SWIG_arg_fail(2)) SWIG_fail;
20573 }
20574 {
20575 PyThreadState* __tstate = wxPyBeginAllowThreads();
20576 (arg1)->SetToolSeparation(arg2);
20577
20578 wxPyEndAllowThreads(__tstate);
20579 if (PyErr_Occurred()) SWIG_fail;
20580 }
20581 Py_INCREF(Py_None); resultobj = Py_None;
20582 return resultobj;
20583 fail:
20584 return NULL;
20585}
20586
20587
20588static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20589 PyObject *resultobj;
20590 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20591 wxSize result;
20592 PyObject * obj0 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "self", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20599 if (SWIG_arg_fail(1)) SWIG_fail;
20600 {
20601 PyThreadState* __tstate = wxPyBeginAllowThreads();
20602 result = (arg1)->GetToolMargins();
20603
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 {
20608 wxSize * resultptr;
20609 resultptr = new wxSize((wxSize &)(result));
20610 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20611 }
20612 return resultobj;
20613 fail:
20614 return NULL;
20615}
20616
20617
20618static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20619 PyObject *resultobj;
20620 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20621 wxSize result;
20622 PyObject * obj0 = 0 ;
20623 char *kwnames[] = {
20624 (char *) "self", NULL
20625 };
20626
20627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20629 if (SWIG_arg_fail(1)) SWIG_fail;
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 result = (arg1)->GetMargins();
20633
20634 wxPyEndAllowThreads(__tstate);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
20637 {
20638 wxSize * resultptr;
20639 resultptr = new wxSize((wxSize &)(result));
20640 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20641 }
20642 return resultobj;
20643 fail:
20644 return NULL;
20645}
20646
20647
20648static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20649 PyObject *resultobj;
20650 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20651 int result;
20652 PyObject * obj0 = 0 ;
20653 char *kwnames[] = {
20654 (char *) "self", NULL
20655 };
20656
20657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20659 if (SWIG_arg_fail(1)) SWIG_fail;
20660 {
20661 PyThreadState* __tstate = wxPyBeginAllowThreads();
20662 result = (int)(arg1)->GetToolPacking();
20663
20664 wxPyEndAllowThreads(__tstate);
20665 if (PyErr_Occurred()) SWIG_fail;
20666 }
20667 {
20668 resultobj = SWIG_From_int((int)(result));
20669 }
20670 return resultobj;
20671 fail:
20672 return NULL;
20673}
20674
20675
20676static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20677 PyObject *resultobj;
20678 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20679 int result;
20680 PyObject * obj0 = 0 ;
20681 char *kwnames[] = {
20682 (char *) "self", NULL
20683 };
20684
20685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20687 if (SWIG_arg_fail(1)) SWIG_fail;
20688 {
20689 PyThreadState* __tstate = wxPyBeginAllowThreads();
20690 result = (int)(arg1)->GetToolSeparation();
20691
20692 wxPyEndAllowThreads(__tstate);
20693 if (PyErr_Occurred()) SWIG_fail;
20694 }
20695 {
20696 resultobj = SWIG_From_int((int)(result));
20697 }
20698 return resultobj;
20699 fail:
20700 return NULL;
20701}
20702
20703
20704static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20705 PyObject *resultobj;
20706 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20707 int arg2 ;
20708 PyObject * obj0 = 0 ;
20709 PyObject * obj1 = 0 ;
20710 char *kwnames[] = {
20711 (char *) "self",(char *) "nRows", NULL
20712 };
20713
20714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20716 if (SWIG_arg_fail(1)) SWIG_fail;
20717 {
20718 arg2 = (int)(SWIG_As_int(obj1));
20719 if (SWIG_arg_fail(2)) SWIG_fail;
20720 }
20721 {
20722 PyThreadState* __tstate = wxPyBeginAllowThreads();
20723 (arg1)->SetRows(arg2);
20724
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 Py_INCREF(Py_None); resultobj = Py_None;
20729 return resultobj;
20730 fail:
20731 return NULL;
20732}
20733
20734
20735static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20736 PyObject *resultobj;
20737 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20738 int arg2 ;
20739 int arg3 ;
20740 PyObject * obj0 = 0 ;
20741 PyObject * obj1 = 0 ;
20742 PyObject * obj2 = 0 ;
20743 char *kwnames[] = {
20744 (char *) "self",(char *) "rows",(char *) "cols", NULL
20745 };
20746
20747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20749 if (SWIG_arg_fail(1)) SWIG_fail;
20750 {
20751 arg2 = (int)(SWIG_As_int(obj1));
20752 if (SWIG_arg_fail(2)) SWIG_fail;
20753 }
20754 {
20755 arg3 = (int)(SWIG_As_int(obj2));
20756 if (SWIG_arg_fail(3)) SWIG_fail;
20757 }
20758 {
20759 PyThreadState* __tstate = wxPyBeginAllowThreads();
20760 (arg1)->SetMaxRowsCols(arg2,arg3);
20761
20762 wxPyEndAllowThreads(__tstate);
20763 if (PyErr_Occurred()) SWIG_fail;
20764 }
20765 Py_INCREF(Py_None); resultobj = Py_None;
20766 return resultobj;
20767 fail:
20768 return NULL;
20769}
20770
20771
20772static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20773 PyObject *resultobj;
20774 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20775 int result;
20776 PyObject * obj0 = 0 ;
20777 char *kwnames[] = {
20778 (char *) "self", NULL
20779 };
20780
20781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20783 if (SWIG_arg_fail(1)) SWIG_fail;
20784 {
20785 PyThreadState* __tstate = wxPyBeginAllowThreads();
20786 result = (int)(arg1)->GetMaxRows();
20787
20788 wxPyEndAllowThreads(__tstate);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 }
20791 {
20792 resultobj = SWIG_From_int((int)(result));
20793 }
20794 return resultobj;
20795 fail:
20796 return NULL;
20797}
20798
20799
20800static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20801 PyObject *resultobj;
20802 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20803 int result;
20804 PyObject * obj0 = 0 ;
20805 char *kwnames[] = {
20806 (char *) "self", NULL
20807 };
20808
20809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20811 if (SWIG_arg_fail(1)) SWIG_fail;
20812 {
20813 PyThreadState* __tstate = wxPyBeginAllowThreads();
20814 result = (int)(arg1)->GetMaxCols();
20815
20816 wxPyEndAllowThreads(__tstate);
20817 if (PyErr_Occurred()) SWIG_fail;
20818 }
20819 {
20820 resultobj = SWIG_From_int((int)(result));
20821 }
20822 return resultobj;
20823 fail:
20824 return NULL;
20825}
20826
20827
20828static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj;
20830 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20831 wxSize *arg2 = 0 ;
20832 wxSize temp2 ;
20833 PyObject * obj0 = 0 ;
20834 PyObject * obj1 = 0 ;
20835 char *kwnames[] = {
20836 (char *) "self",(char *) "size", NULL
20837 };
20838
20839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20841 if (SWIG_arg_fail(1)) SWIG_fail;
20842 {
20843 arg2 = &temp2;
20844 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20845 }
20846 {
20847 PyThreadState* __tstate = wxPyBeginAllowThreads();
20848 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20849
20850 wxPyEndAllowThreads(__tstate);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 }
20853 Py_INCREF(Py_None); resultobj = Py_None;
20854 return resultobj;
20855 fail:
20856 return NULL;
20857}
20858
20859
20860static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20861 PyObject *resultobj;
20862 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20863 wxSize result;
20864 PyObject * obj0 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20871 if (SWIG_arg_fail(1)) SWIG_fail;
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 result = (arg1)->GetToolBitmapSize();
20875
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 {
20880 wxSize * resultptr;
20881 resultptr = new wxSize((wxSize &)(result));
20882 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20883 }
20884 return resultobj;
20885 fail:
20886 return NULL;
20887}
20888
20889
20890static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20891 PyObject *resultobj;
20892 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20893 wxSize result;
20894 PyObject * obj0 = 0 ;
20895 char *kwnames[] = {
20896 (char *) "self", NULL
20897 };
20898
20899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20901 if (SWIG_arg_fail(1)) SWIG_fail;
20902 {
20903 PyThreadState* __tstate = wxPyBeginAllowThreads();
20904 result = (arg1)->GetToolSize();
20905
20906 wxPyEndAllowThreads(__tstate);
20907 if (PyErr_Occurred()) SWIG_fail;
20908 }
20909 {
20910 wxSize * resultptr;
20911 resultptr = new wxSize((wxSize &)(result));
20912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20913 }
20914 return resultobj;
20915 fail:
20916 return NULL;
20917}
20918
20919
20920static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20921 PyObject *resultobj;
20922 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20923 int arg2 ;
20924 int arg3 ;
20925 wxToolBarToolBase *result;
20926 PyObject * obj0 = 0 ;
20927 PyObject * obj1 = 0 ;
20928 PyObject * obj2 = 0 ;
20929 char *kwnames[] = {
20930 (char *) "self",(char *) "x",(char *) "y", NULL
20931 };
20932
20933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20935 if (SWIG_arg_fail(1)) SWIG_fail;
20936 {
20937 arg2 = (int)(SWIG_As_int(obj1));
20938 if (SWIG_arg_fail(2)) SWIG_fail;
20939 }
20940 {
20941 arg3 = (int)(SWIG_As_int(obj2));
20942 if (SWIG_arg_fail(3)) SWIG_fail;
20943 }
20944 {
20945 PyThreadState* __tstate = wxPyBeginAllowThreads();
20946 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20947
20948 wxPyEndAllowThreads(__tstate);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 }
20951 {
20952 resultobj = wxPyMake_wxObject(result, 0);
20953 }
20954 return resultobj;
20955 fail:
20956 return NULL;
20957}
20958
20959
20960static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20961 PyObject *resultobj;
20962 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20963 int arg2 ;
20964 wxToolBarToolBase *result;
20965 PyObject * obj0 = 0 ;
20966 PyObject * obj1 = 0 ;
20967 char *kwnames[] = {
20968 (char *) "self",(char *) "toolid", NULL
20969 };
20970
20971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
20972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20973 if (SWIG_arg_fail(1)) SWIG_fail;
20974 {
20975 arg2 = (int)(SWIG_As_int(obj1));
20976 if (SWIG_arg_fail(2)) SWIG_fail;
20977 }
20978 {
20979 PyThreadState* __tstate = wxPyBeginAllowThreads();
20980 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20981
20982 wxPyEndAllowThreads(__tstate);
20983 if (PyErr_Occurred()) SWIG_fail;
20984 }
20985 {
20986 resultobj = wxPyMake_wxObject(result, 0);
20987 }
20988 return resultobj;
20989 fail:
20990 return NULL;
20991}
20992
20993
20994static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
20995 PyObject *resultobj;
20996 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20997 bool result;
20998 PyObject * obj0 = 0 ;
20999 char *kwnames[] = {
21000 (char *) "self", NULL
21001 };
21002
21003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
21004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21005 if (SWIG_arg_fail(1)) SWIG_fail;
21006 {
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 result = (bool)(arg1)->IsVertical();
21009
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
21013 {
21014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21015 }
21016 return resultobj;
21017 fail:
21018 return NULL;
21019}
21020
21021
21022static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
21023 PyObject *obj;
21024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21025 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
21026 Py_INCREF(obj);
21027 return Py_BuildValue((char *)"");
21028}
21029static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21030 PyObject *resultobj;
21031 wxWindow *arg1 = (wxWindow *) 0 ;
21032 int arg2 = (int) -1 ;
21033 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21034 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21035 wxSize const &arg4_defvalue = wxDefaultSize ;
21036 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21037 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21038 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
21039 wxString *arg6 = (wxString *) &arg6_defvalue ;
21040 wxToolBar *result;
21041 wxPoint temp3 ;
21042 wxSize temp4 ;
21043 bool temp6 = false ;
21044 PyObject * obj0 = 0 ;
21045 PyObject * obj1 = 0 ;
21046 PyObject * obj2 = 0 ;
21047 PyObject * obj3 = 0 ;
21048 PyObject * obj4 = 0 ;
21049 PyObject * obj5 = 0 ;
21050 char *kwnames[] = {
21051 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21052 };
21053
21054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21056 if (SWIG_arg_fail(1)) SWIG_fail;
21057 if (obj1) {
21058 {
21059 arg2 = (int)(SWIG_As_int(obj1));
21060 if (SWIG_arg_fail(2)) SWIG_fail;
21061 }
21062 }
21063 if (obj2) {
21064 {
21065 arg3 = &temp3;
21066 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21067 }
21068 }
21069 if (obj3) {
21070 {
21071 arg4 = &temp4;
21072 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21073 }
21074 }
21075 if (obj4) {
21076 {
21077 arg5 = (long)(SWIG_As_long(obj4));
21078 if (SWIG_arg_fail(5)) SWIG_fail;
21079 }
21080 }
21081 if (obj5) {
21082 {
21083 arg6 = wxString_in_helper(obj5);
21084 if (arg6 == NULL) SWIG_fail;
21085 temp6 = true;
21086 }
21087 }
21088 {
21089 if (!wxPyCheckForApp()) SWIG_fail;
21090 PyThreadState* __tstate = wxPyBeginAllowThreads();
21091 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21092
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21097 {
21098 if (temp6)
21099 delete arg6;
21100 }
21101 return resultobj;
21102 fail:
21103 {
21104 if (temp6)
21105 delete arg6;
21106 }
21107 return NULL;
21108}
21109
21110
21111static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21112 PyObject *resultobj;
21113 wxToolBar *result;
21114 char *kwnames[] = {
21115 NULL
21116 };
21117
21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21119 {
21120 if (!wxPyCheckForApp()) SWIG_fail;
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 result = (wxToolBar *)new wxToolBar();
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21128 return resultobj;
21129 fail:
21130 return NULL;
21131}
21132
21133
21134static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj;
21136 wxToolBar *arg1 = (wxToolBar *) 0 ;
21137 wxWindow *arg2 = (wxWindow *) 0 ;
21138 int arg3 = (int) -1 ;
21139 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21140 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21141 wxSize const &arg5_defvalue = wxDefaultSize ;
21142 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21143 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21144 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21145 wxString *arg7 = (wxString *) &arg7_defvalue ;
21146 bool result;
21147 wxPoint temp4 ;
21148 wxSize temp5 ;
21149 bool temp7 = false ;
21150 PyObject * obj0 = 0 ;
21151 PyObject * obj1 = 0 ;
21152 PyObject * obj2 = 0 ;
21153 PyObject * obj3 = 0 ;
21154 PyObject * obj4 = 0 ;
21155 PyObject * obj5 = 0 ;
21156 PyObject * obj6 = 0 ;
21157 char *kwnames[] = {
21158 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21159 };
21160
21161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21163 if (SWIG_arg_fail(1)) SWIG_fail;
21164 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21165 if (SWIG_arg_fail(2)) SWIG_fail;
21166 if (obj2) {
21167 {
21168 arg3 = (int)(SWIG_As_int(obj2));
21169 if (SWIG_arg_fail(3)) SWIG_fail;
21170 }
21171 }
21172 if (obj3) {
21173 {
21174 arg4 = &temp4;
21175 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21176 }
21177 }
21178 if (obj4) {
21179 {
21180 arg5 = &temp5;
21181 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21182 }
21183 }
21184 if (obj5) {
21185 {
21186 arg6 = (long)(SWIG_As_long(obj5));
21187 if (SWIG_arg_fail(6)) SWIG_fail;
21188 }
21189 }
21190 if (obj6) {
21191 {
21192 arg7 = wxString_in_helper(obj6);
21193 if (arg7 == NULL) SWIG_fail;
21194 temp7 = true;
21195 }
21196 }
21197 {
21198 PyThreadState* __tstate = wxPyBeginAllowThreads();
21199 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21200
21201 wxPyEndAllowThreads(__tstate);
21202 if (PyErr_Occurred()) SWIG_fail;
21203 }
21204 {
21205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21206 }
21207 {
21208 if (temp7)
21209 delete arg7;
21210 }
21211 return resultobj;
21212 fail:
21213 {
21214 if (temp7)
21215 delete arg7;
21216 }
21217 return NULL;
21218}
21219
21220
21221static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21222 PyObject *resultobj;
21223 wxToolBar *arg1 = (wxToolBar *) 0 ;
21224 int arg2 ;
21225 int arg3 ;
21226 wxToolBarToolBase *result;
21227 PyObject * obj0 = 0 ;
21228 PyObject * obj1 = 0 ;
21229 PyObject * obj2 = 0 ;
21230 char *kwnames[] = {
21231 (char *) "self",(char *) "x",(char *) "y", NULL
21232 };
21233
21234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21236 if (SWIG_arg_fail(1)) SWIG_fail;
21237 {
21238 arg2 = (int)(SWIG_As_int(obj1));
21239 if (SWIG_arg_fail(2)) SWIG_fail;
21240 }
21241 {
21242 arg3 = (int)(SWIG_As_int(obj2));
21243 if (SWIG_arg_fail(3)) SWIG_fail;
21244 }
21245 {
21246 PyThreadState* __tstate = wxPyBeginAllowThreads();
21247 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21248
21249 wxPyEndAllowThreads(__tstate);
21250 if (PyErr_Occurred()) SWIG_fail;
21251 }
21252 {
21253 resultobj = wxPyMake_wxObject(result, 0);
21254 }
21255 return resultobj;
21256 fail:
21257 return NULL;
21258}
21259
21260
21261static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21262 PyObject *resultobj;
21263 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21264 wxVisualAttributes result;
21265 PyObject * obj0 = 0 ;
21266 char *kwnames[] = {
21267 (char *) "variant", NULL
21268 };
21269
21270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21271 if (obj0) {
21272 {
21273 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21274 if (SWIG_arg_fail(1)) SWIG_fail;
21275 }
21276 }
21277 {
21278 if (!wxPyCheckForApp()) SWIG_fail;
21279 PyThreadState* __tstate = wxPyBeginAllowThreads();
21280 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21281
21282 wxPyEndAllowThreads(__tstate);
21283 if (PyErr_Occurred()) SWIG_fail;
21284 }
21285 {
21286 wxVisualAttributes * resultptr;
21287 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
21288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21289 }
21290 return resultobj;
21291 fail:
21292 return NULL;
21293}
21294
21295
21296static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21297 PyObject *obj;
21298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21299 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21300 Py_INCREF(obj);
21301 return Py_BuildValue((char *)"");
21302}
21303static int _wrap_ListCtrlNameStr_set(PyObject *) {
21304 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21305 return 1;
21306}
21307
21308
21309static PyObject *_wrap_ListCtrlNameStr_get(void) {
21310 PyObject *pyobj;
21311
21312 {
21313#if wxUSE_UNICODE
21314 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21315#else
21316 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21317#endif
21318 }
21319 return pyobj;
21320}
21321
21322
21323static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21324 PyObject *resultobj;
21325 wxColour const &arg1_defvalue = wxNullColour ;
21326 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21327 wxColour const &arg2_defvalue = wxNullColour ;
21328 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21329 wxFont const &arg3_defvalue = wxNullFont ;
21330 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21331 wxListItemAttr *result;
21332 wxColour temp1 ;
21333 wxColour temp2 ;
21334 PyObject * obj0 = 0 ;
21335 PyObject * obj1 = 0 ;
21336 PyObject * obj2 = 0 ;
21337 char *kwnames[] = {
21338 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21339 };
21340
21341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21342 if (obj0) {
21343 {
21344 arg1 = &temp1;
21345 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21346 }
21347 }
21348 if (obj1) {
21349 {
21350 arg2 = &temp2;
21351 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21352 }
21353 }
21354 if (obj2) {
21355 {
21356 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21357 if (SWIG_arg_fail(3)) SWIG_fail;
21358 if (arg3 == NULL) {
21359 SWIG_null_ref("wxFont");
21360 }
21361 if (SWIG_arg_fail(3)) SWIG_fail;
21362 }
21363 }
21364 {
21365 PyThreadState* __tstate = wxPyBeginAllowThreads();
21366 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21367
21368 wxPyEndAllowThreads(__tstate);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 }
21371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21372 return resultobj;
21373 fail:
21374 return NULL;
21375}
21376
21377
21378static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21379 PyObject *resultobj;
21380 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21381 wxColour *arg2 = 0 ;
21382 wxColour temp2 ;
21383 PyObject * obj0 = 0 ;
21384 PyObject * obj1 = 0 ;
21385 char *kwnames[] = {
21386 (char *) "self",(char *) "colText", NULL
21387 };
21388
21389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21391 if (SWIG_arg_fail(1)) SWIG_fail;
21392 {
21393 arg2 = &temp2;
21394 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21395 }
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 (arg1)->SetTextColour((wxColour const &)*arg2);
21399
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 Py_INCREF(Py_None); resultobj = Py_None;
21404 return resultobj;
21405 fail:
21406 return NULL;
21407}
21408
21409
21410static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21411 PyObject *resultobj;
21412 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21413 wxColour *arg2 = 0 ;
21414 wxColour temp2 ;
21415 PyObject * obj0 = 0 ;
21416 PyObject * obj1 = 0 ;
21417 char *kwnames[] = {
21418 (char *) "self",(char *) "colBack", NULL
21419 };
21420
21421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21423 if (SWIG_arg_fail(1)) SWIG_fail;
21424 {
21425 arg2 = &temp2;
21426 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21427 }
21428 {
21429 PyThreadState* __tstate = wxPyBeginAllowThreads();
21430 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21431
21432 wxPyEndAllowThreads(__tstate);
21433 if (PyErr_Occurred()) SWIG_fail;
21434 }
21435 Py_INCREF(Py_None); resultobj = Py_None;
21436 return resultobj;
21437 fail:
21438 return NULL;
21439}
21440
21441
21442static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21443 PyObject *resultobj;
21444 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21445 wxFont *arg2 = 0 ;
21446 PyObject * obj0 = 0 ;
21447 PyObject * obj1 = 0 ;
21448 char *kwnames[] = {
21449 (char *) "self",(char *) "font", NULL
21450 };
21451
21452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21454 if (SWIG_arg_fail(1)) SWIG_fail;
21455 {
21456 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21457 if (SWIG_arg_fail(2)) SWIG_fail;
21458 if (arg2 == NULL) {
21459 SWIG_null_ref("wxFont");
21460 }
21461 if (SWIG_arg_fail(2)) SWIG_fail;
21462 }
21463 {
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
21465 (arg1)->SetFont((wxFont const &)*arg2);
21466
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 Py_INCREF(Py_None); resultobj = Py_None;
21471 return resultobj;
21472 fail:
21473 return NULL;
21474}
21475
21476
21477static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21478 PyObject *resultobj;
21479 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21480 bool result;
21481 PyObject * obj0 = 0 ;
21482 char *kwnames[] = {
21483 (char *) "self", NULL
21484 };
21485
21486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
21487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21488 if (SWIG_arg_fail(1)) SWIG_fail;
21489 {
21490 PyThreadState* __tstate = wxPyBeginAllowThreads();
21491 result = (bool)(arg1)->HasTextColour();
21492
21493 wxPyEndAllowThreads(__tstate);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 }
21496 {
21497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21498 }
21499 return resultobj;
21500 fail:
21501 return NULL;
21502}
21503
21504
21505static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21506 PyObject *resultobj;
21507 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21508 bool result;
21509 PyObject * obj0 = 0 ;
21510 char *kwnames[] = {
21511 (char *) "self", NULL
21512 };
21513
21514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21516 if (SWIG_arg_fail(1)) SWIG_fail;
21517 {
21518 PyThreadState* __tstate = wxPyBeginAllowThreads();
21519 result = (bool)(arg1)->HasBackgroundColour();
21520
21521 wxPyEndAllowThreads(__tstate);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 {
21525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21526 }
21527 return resultobj;
21528 fail:
21529 return NULL;
21530}
21531
21532
21533static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21534 PyObject *resultobj;
21535 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21536 bool result;
21537 PyObject * obj0 = 0 ;
21538 char *kwnames[] = {
21539 (char *) "self", NULL
21540 };
21541
21542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21544 if (SWIG_arg_fail(1)) SWIG_fail;
21545 {
21546 PyThreadState* __tstate = wxPyBeginAllowThreads();
21547 result = (bool)(arg1)->HasFont();
21548
21549 wxPyEndAllowThreads(__tstate);
21550 if (PyErr_Occurred()) SWIG_fail;
21551 }
21552 {
21553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21554 }
21555 return resultobj;
21556 fail:
21557 return NULL;
21558}
21559
21560
21561static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21562 PyObject *resultobj;
21563 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21564 wxColour result;
21565 PyObject * obj0 = 0 ;
21566 char *kwnames[] = {
21567 (char *) "self", NULL
21568 };
21569
21570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21572 if (SWIG_arg_fail(1)) SWIG_fail;
21573 {
21574 PyThreadState* __tstate = wxPyBeginAllowThreads();
21575 result = (arg1)->GetTextColour();
21576
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 {
21581 wxColour * resultptr;
21582 resultptr = new wxColour((wxColour &)(result));
21583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21584 }
21585 return resultobj;
21586 fail:
21587 return NULL;
21588}
21589
21590
21591static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21592 PyObject *resultobj;
21593 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21594 wxColour result;
21595 PyObject * obj0 = 0 ;
21596 char *kwnames[] = {
21597 (char *) "self", NULL
21598 };
21599
21600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
21601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21602 if (SWIG_arg_fail(1)) SWIG_fail;
21603 {
21604 PyThreadState* __tstate = wxPyBeginAllowThreads();
21605 result = (arg1)->GetBackgroundColour();
21606
21607 wxPyEndAllowThreads(__tstate);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
21610 {
21611 wxColour * resultptr;
21612 resultptr = new wxColour((wxColour &)(result));
21613 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21614 }
21615 return resultobj;
21616 fail:
21617 return NULL;
21618}
21619
21620
21621static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21622 PyObject *resultobj;
21623 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21624 wxFont result;
21625 PyObject * obj0 = 0 ;
21626 char *kwnames[] = {
21627 (char *) "self", NULL
21628 };
21629
21630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21632 if (SWIG_arg_fail(1)) SWIG_fail;
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 result = (arg1)->GetFont();
21636
21637 wxPyEndAllowThreads(__tstate);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 }
21640 {
21641 wxFont * resultptr;
21642 resultptr = new wxFont((wxFont &)(result));
21643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21644 }
21645 return resultobj;
21646 fail:
21647 return NULL;
21648}
21649
21650
21651static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21652 PyObject *resultobj;
21653 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21654 PyObject * obj0 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21661 if (SWIG_arg_fail(1)) SWIG_fail;
21662 {
21663 PyThreadState* __tstate = wxPyBeginAllowThreads();
21664 wxListItemAttr_Destroy(arg1);
21665
21666 wxPyEndAllowThreads(__tstate);
21667 if (PyErr_Occurred()) SWIG_fail;
21668 }
21669 Py_INCREF(Py_None); resultobj = Py_None;
21670 return resultobj;
21671 fail:
21672 return NULL;
21673}
21674
21675
21676static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21677 PyObject *obj;
21678 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21679 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21680 Py_INCREF(obj);
21681 return Py_BuildValue((char *)"");
21682}
21683static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21684 PyObject *resultobj;
21685 wxListItem *result;
21686 char *kwnames[] = {
21687 NULL
21688 };
21689
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21691 {
21692 PyThreadState* __tstate = wxPyBeginAllowThreads();
21693 result = (wxListItem *)new wxListItem();
21694
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 {
21699 resultobj = wxPyMake_wxObject(result, 1);
21700 }
21701 return resultobj;
21702 fail:
21703 return NULL;
21704}
21705
21706
21707static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21708 PyObject *resultobj;
21709 wxListItem *arg1 = (wxListItem *) 0 ;
21710 PyObject * obj0 = 0 ;
21711 char *kwnames[] = {
21712 (char *) "self", NULL
21713 };
21714
21715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21717 if (SWIG_arg_fail(1)) SWIG_fail;
21718 {
21719 PyThreadState* __tstate = wxPyBeginAllowThreads();
21720 delete arg1;
21721
21722 wxPyEndAllowThreads(__tstate);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 }
21725 Py_INCREF(Py_None); resultobj = Py_None;
21726 return resultobj;
21727 fail:
21728 return NULL;
21729}
21730
21731
21732static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21733 PyObject *resultobj;
21734 wxListItem *arg1 = (wxListItem *) 0 ;
21735 PyObject * obj0 = 0 ;
21736 char *kwnames[] = {
21737 (char *) "self", NULL
21738 };
21739
21740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21742 if (SWIG_arg_fail(1)) SWIG_fail;
21743 {
21744 PyThreadState* __tstate = wxPyBeginAllowThreads();
21745 (arg1)->Clear();
21746
21747 wxPyEndAllowThreads(__tstate);
21748 if (PyErr_Occurred()) SWIG_fail;
21749 }
21750 Py_INCREF(Py_None); resultobj = Py_None;
21751 return resultobj;
21752 fail:
21753 return NULL;
21754}
21755
21756
21757static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21758 PyObject *resultobj;
21759 wxListItem *arg1 = (wxListItem *) 0 ;
21760 PyObject * obj0 = 0 ;
21761 char *kwnames[] = {
21762 (char *) "self", NULL
21763 };
21764
21765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21767 if (SWIG_arg_fail(1)) SWIG_fail;
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 (arg1)->ClearAttributes();
21771
21772 wxPyEndAllowThreads(__tstate);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 Py_INCREF(Py_None); resultobj = Py_None;
21776 return resultobj;
21777 fail:
21778 return NULL;
21779}
21780
21781
21782static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21783 PyObject *resultobj;
21784 wxListItem *arg1 = (wxListItem *) 0 ;
21785 long arg2 ;
21786 PyObject * obj0 = 0 ;
21787 PyObject * obj1 = 0 ;
21788 char *kwnames[] = {
21789 (char *) "self",(char *) "mask", NULL
21790 };
21791
21792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
21793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21794 if (SWIG_arg_fail(1)) SWIG_fail;
21795 {
21796 arg2 = (long)(SWIG_As_long(obj1));
21797 if (SWIG_arg_fail(2)) SWIG_fail;
21798 }
21799 {
21800 PyThreadState* __tstate = wxPyBeginAllowThreads();
21801 (arg1)->SetMask(arg2);
21802
21803 wxPyEndAllowThreads(__tstate);
21804 if (PyErr_Occurred()) SWIG_fail;
21805 }
21806 Py_INCREF(Py_None); resultobj = Py_None;
21807 return resultobj;
21808 fail:
21809 return NULL;
21810}
21811
21812
21813static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21814 PyObject *resultobj;
21815 wxListItem *arg1 = (wxListItem *) 0 ;
21816 long arg2 ;
21817 PyObject * obj0 = 0 ;
21818 PyObject * obj1 = 0 ;
21819 char *kwnames[] = {
21820 (char *) "self",(char *) "id", NULL
21821 };
21822
21823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21825 if (SWIG_arg_fail(1)) SWIG_fail;
21826 {
21827 arg2 = (long)(SWIG_As_long(obj1));
21828 if (SWIG_arg_fail(2)) SWIG_fail;
21829 }
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 (arg1)->SetId(arg2);
21833
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 Py_INCREF(Py_None); resultobj = Py_None;
21838 return resultobj;
21839 fail:
21840 return NULL;
21841}
21842
21843
21844static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21845 PyObject *resultobj;
21846 wxListItem *arg1 = (wxListItem *) 0 ;
21847 int arg2 ;
21848 PyObject * obj0 = 0 ;
21849 PyObject * obj1 = 0 ;
21850 char *kwnames[] = {
21851 (char *) "self",(char *) "col", NULL
21852 };
21853
21854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21856 if (SWIG_arg_fail(1)) SWIG_fail;
21857 {
21858 arg2 = (int)(SWIG_As_int(obj1));
21859 if (SWIG_arg_fail(2)) SWIG_fail;
21860 }
21861 {
21862 PyThreadState* __tstate = wxPyBeginAllowThreads();
21863 (arg1)->SetColumn(arg2);
21864
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 Py_INCREF(Py_None); resultobj = Py_None;
21869 return resultobj;
21870 fail:
21871 return NULL;
21872}
21873
21874
21875static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21876 PyObject *resultobj;
21877 wxListItem *arg1 = (wxListItem *) 0 ;
21878 long arg2 ;
21879 PyObject * obj0 = 0 ;
21880 PyObject * obj1 = 0 ;
21881 char *kwnames[] = {
21882 (char *) "self",(char *) "state", NULL
21883 };
21884
21885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21887 if (SWIG_arg_fail(1)) SWIG_fail;
21888 {
21889 arg2 = (long)(SWIG_As_long(obj1));
21890 if (SWIG_arg_fail(2)) SWIG_fail;
21891 }
21892 {
21893 PyThreadState* __tstate = wxPyBeginAllowThreads();
21894 (arg1)->SetState(arg2);
21895
21896 wxPyEndAllowThreads(__tstate);
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
21899 Py_INCREF(Py_None); resultobj = Py_None;
21900 return resultobj;
21901 fail:
21902 return NULL;
21903}
21904
21905
21906static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21907 PyObject *resultobj;
21908 wxListItem *arg1 = (wxListItem *) 0 ;
21909 long arg2 ;
21910 PyObject * obj0 = 0 ;
21911 PyObject * obj1 = 0 ;
21912 char *kwnames[] = {
21913 (char *) "self",(char *) "stateMask", NULL
21914 };
21915
21916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21918 if (SWIG_arg_fail(1)) SWIG_fail;
21919 {
21920 arg2 = (long)(SWIG_As_long(obj1));
21921 if (SWIG_arg_fail(2)) SWIG_fail;
21922 }
21923 {
21924 PyThreadState* __tstate = wxPyBeginAllowThreads();
21925 (arg1)->SetStateMask(arg2);
21926
21927 wxPyEndAllowThreads(__tstate);
21928 if (PyErr_Occurred()) SWIG_fail;
21929 }
21930 Py_INCREF(Py_None); resultobj = Py_None;
21931 return resultobj;
21932 fail:
21933 return NULL;
21934}
21935
21936
21937static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21938 PyObject *resultobj;
21939 wxListItem *arg1 = (wxListItem *) 0 ;
21940 wxString *arg2 = 0 ;
21941 bool temp2 = false ;
21942 PyObject * obj0 = 0 ;
21943 PyObject * obj1 = 0 ;
21944 char *kwnames[] = {
21945 (char *) "self",(char *) "text", NULL
21946 };
21947
21948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21950 if (SWIG_arg_fail(1)) SWIG_fail;
21951 {
21952 arg2 = wxString_in_helper(obj1);
21953 if (arg2 == NULL) SWIG_fail;
21954 temp2 = true;
21955 }
21956 {
21957 PyThreadState* __tstate = wxPyBeginAllowThreads();
21958 (arg1)->SetText((wxString const &)*arg2);
21959
21960 wxPyEndAllowThreads(__tstate);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 }
21963 Py_INCREF(Py_None); resultobj = Py_None;
21964 {
21965 if (temp2)
21966 delete arg2;
21967 }
21968 return resultobj;
21969 fail:
21970 {
21971 if (temp2)
21972 delete arg2;
21973 }
21974 return NULL;
21975}
21976
21977
21978static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21979 PyObject *resultobj;
21980 wxListItem *arg1 = (wxListItem *) 0 ;
21981 int arg2 ;
21982 PyObject * obj0 = 0 ;
21983 PyObject * obj1 = 0 ;
21984 char *kwnames[] = {
21985 (char *) "self",(char *) "image", NULL
21986 };
21987
21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
21989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21990 if (SWIG_arg_fail(1)) SWIG_fail;
21991 {
21992 arg2 = (int)(SWIG_As_int(obj1));
21993 if (SWIG_arg_fail(2)) SWIG_fail;
21994 }
21995 {
21996 PyThreadState* __tstate = wxPyBeginAllowThreads();
21997 (arg1)->SetImage(arg2);
21998
21999 wxPyEndAllowThreads(__tstate);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 }
22002 Py_INCREF(Py_None); resultobj = Py_None;
22003 return resultobj;
22004 fail:
22005 return NULL;
22006}
22007
22008
22009static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
22010 PyObject *resultobj;
22011 wxListItem *arg1 = (wxListItem *) 0 ;
22012 long arg2 ;
22013 PyObject * obj0 = 0 ;
22014 PyObject * obj1 = 0 ;
22015 char *kwnames[] = {
22016 (char *) "self",(char *) "data", NULL
22017 };
22018
22019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
22020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22021 if (SWIG_arg_fail(1)) SWIG_fail;
22022 {
22023 arg2 = (long)(SWIG_As_long(obj1));
22024 if (SWIG_arg_fail(2)) SWIG_fail;
22025 }
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 (arg1)->SetData(arg2);
22029
22030 wxPyEndAllowThreads(__tstate);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 Py_INCREF(Py_None); resultobj = Py_None;
22034 return resultobj;
22035 fail:
22036 return NULL;
22037}
22038
22039
22040static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22041 PyObject *resultobj;
22042 wxListItem *arg1 = (wxListItem *) 0 ;
22043 int arg2 ;
22044 PyObject * obj0 = 0 ;
22045 PyObject * obj1 = 0 ;
22046 char *kwnames[] = {
22047 (char *) "self",(char *) "width", NULL
22048 };
22049
22050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
22051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22052 if (SWIG_arg_fail(1)) SWIG_fail;
22053 {
22054 arg2 = (int)(SWIG_As_int(obj1));
22055 if (SWIG_arg_fail(2)) SWIG_fail;
22056 }
22057 {
22058 PyThreadState* __tstate = wxPyBeginAllowThreads();
22059 (arg1)->SetWidth(arg2);
22060
22061 wxPyEndAllowThreads(__tstate);
22062 if (PyErr_Occurred()) SWIG_fail;
22063 }
22064 Py_INCREF(Py_None); resultobj = Py_None;
22065 return resultobj;
22066 fail:
22067 return NULL;
22068}
22069
22070
22071static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22072 PyObject *resultobj;
22073 wxListItem *arg1 = (wxListItem *) 0 ;
22074 wxListColumnFormat arg2 ;
22075 PyObject * obj0 = 0 ;
22076 PyObject * obj1 = 0 ;
22077 char *kwnames[] = {
22078 (char *) "self",(char *) "align", NULL
22079 };
22080
22081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
22082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22083 if (SWIG_arg_fail(1)) SWIG_fail;
22084 {
22085 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22086 if (SWIG_arg_fail(2)) SWIG_fail;
22087 }
22088 {
22089 PyThreadState* __tstate = wxPyBeginAllowThreads();
22090 (arg1)->SetAlign((wxListColumnFormat )arg2);
22091
22092 wxPyEndAllowThreads(__tstate);
22093 if (PyErr_Occurred()) SWIG_fail;
22094 }
22095 Py_INCREF(Py_None); resultobj = Py_None;
22096 return resultobj;
22097 fail:
22098 return NULL;
22099}
22100
22101
22102static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22103 PyObject *resultobj;
22104 wxListItem *arg1 = (wxListItem *) 0 ;
22105 wxColour *arg2 = 0 ;
22106 wxColour temp2 ;
22107 PyObject * obj0 = 0 ;
22108 PyObject * obj1 = 0 ;
22109 char *kwnames[] = {
22110 (char *) "self",(char *) "colText", NULL
22111 };
22112
22113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22115 if (SWIG_arg_fail(1)) SWIG_fail;
22116 {
22117 arg2 = &temp2;
22118 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22119 }
22120 {
22121 PyThreadState* __tstate = wxPyBeginAllowThreads();
22122 (arg1)->SetTextColour((wxColour const &)*arg2);
22123
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 Py_INCREF(Py_None); resultobj = Py_None;
22128 return resultobj;
22129 fail:
22130 return NULL;
22131}
22132
22133
22134static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22135 PyObject *resultobj;
22136 wxListItem *arg1 = (wxListItem *) 0 ;
22137 wxColour *arg2 = 0 ;
22138 wxColour temp2 ;
22139 PyObject * obj0 = 0 ;
22140 PyObject * obj1 = 0 ;
22141 char *kwnames[] = {
22142 (char *) "self",(char *) "colBack", NULL
22143 };
22144
22145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22147 if (SWIG_arg_fail(1)) SWIG_fail;
22148 {
22149 arg2 = &temp2;
22150 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22151 }
22152 {
22153 PyThreadState* __tstate = wxPyBeginAllowThreads();
22154 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22155
22156 wxPyEndAllowThreads(__tstate);
22157 if (PyErr_Occurred()) SWIG_fail;
22158 }
22159 Py_INCREF(Py_None); resultobj = Py_None;
22160 return resultobj;
22161 fail:
22162 return NULL;
22163}
22164
22165
22166static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22167 PyObject *resultobj;
22168 wxListItem *arg1 = (wxListItem *) 0 ;
22169 wxFont *arg2 = 0 ;
22170 PyObject * obj0 = 0 ;
22171 PyObject * obj1 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "self",(char *) "font", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
22177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22178 if (SWIG_arg_fail(1)) SWIG_fail;
22179 {
22180 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22181 if (SWIG_arg_fail(2)) SWIG_fail;
22182 if (arg2 == NULL) {
22183 SWIG_null_ref("wxFont");
22184 }
22185 if (SWIG_arg_fail(2)) SWIG_fail;
22186 }
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 (arg1)->SetFont((wxFont const &)*arg2);
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 Py_INCREF(Py_None); resultobj = Py_None;
22195 return resultobj;
22196 fail:
22197 return NULL;
22198}
22199
22200
22201static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj;
22203 wxListItem *arg1 = (wxListItem *) 0 ;
22204 long result;
22205 PyObject * obj0 = 0 ;
22206 char *kwnames[] = {
22207 (char *) "self", NULL
22208 };
22209
22210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
22211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22212 if (SWIG_arg_fail(1)) SWIG_fail;
22213 {
22214 PyThreadState* __tstate = wxPyBeginAllowThreads();
22215 result = (long)(arg1)->GetMask();
22216
22217 wxPyEndAllowThreads(__tstate);
22218 if (PyErr_Occurred()) SWIG_fail;
22219 }
22220 {
22221 resultobj = SWIG_From_long((long)(result));
22222 }
22223 return resultobj;
22224 fail:
22225 return NULL;
22226}
22227
22228
22229static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22230 PyObject *resultobj;
22231 wxListItem *arg1 = (wxListItem *) 0 ;
22232 long result;
22233 PyObject * obj0 = 0 ;
22234 char *kwnames[] = {
22235 (char *) "self", NULL
22236 };
22237
22238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
22239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail;
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 result = (long)(arg1)->GetId();
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 {
22249 resultobj = SWIG_From_long((long)(result));
22250 }
22251 return resultobj;
22252 fail:
22253 return NULL;
22254}
22255
22256
22257static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
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_GetColumn",kwnames,&obj0)) goto fail;
22267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22268 if (SWIG_arg_fail(1)) SWIG_fail;
22269 {
22270 PyThreadState* __tstate = wxPyBeginAllowThreads();
22271 result = (int)(arg1)->GetColumn();
22272
22273 wxPyEndAllowThreads(__tstate);
22274 if (PyErr_Occurred()) SWIG_fail;
22275 }
22276 {
22277 resultobj = SWIG_From_int((int)(result));
22278 }
22279 return resultobj;
22280 fail:
22281 return NULL;
22282}
22283
22284
22285static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
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_GetState",kwnames,&obj0)) goto fail;
22295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail;
22297 {
22298 PyThreadState* __tstate = wxPyBeginAllowThreads();
22299 result = (long)(arg1)->GetState();
22300
22301 wxPyEndAllowThreads(__tstate);
22302 if (PyErr_Occurred()) SWIG_fail;
22303 }
22304 {
22305 resultobj = SWIG_From_long((long)(result));
22306 }
22307 return resultobj;
22308 fail:
22309 return NULL;
22310}
22311
22312
22313static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22314 PyObject *resultobj;
22315 wxListItem *arg1 = (wxListItem *) 0 ;
22316 wxString *result;
22317 PyObject * obj0 = 0 ;
22318 char *kwnames[] = {
22319 (char *) "self", NULL
22320 };
22321
22322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22324 if (SWIG_arg_fail(1)) SWIG_fail;
22325 {
22326 PyThreadState* __tstate = wxPyBeginAllowThreads();
22327 {
22328 wxString const &_result_ref = (arg1)->GetText();
22329 result = (wxString *) &_result_ref;
22330 }
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 {
22336#if wxUSE_UNICODE
22337 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22338#else
22339 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22340#endif
22341 }
22342 return resultobj;
22343 fail:
22344 return NULL;
22345}
22346
22347
22348static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22349 PyObject *resultobj;
22350 wxListItem *arg1 = (wxListItem *) 0 ;
22351 int result;
22352 PyObject * obj0 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "self", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
22358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22359 if (SWIG_arg_fail(1)) SWIG_fail;
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 result = (int)(arg1)->GetImage();
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 {
22368 resultobj = SWIG_From_int((int)(result));
22369 }
22370 return resultobj;
22371 fail:
22372 return NULL;
22373}
22374
22375
22376static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22377 PyObject *resultobj;
22378 wxListItem *arg1 = (wxListItem *) 0 ;
22379 long result;
22380 PyObject * obj0 = 0 ;
22381 char *kwnames[] = {
22382 (char *) "self", NULL
22383 };
22384
22385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22387 if (SWIG_arg_fail(1)) SWIG_fail;
22388 {
22389 PyThreadState* __tstate = wxPyBeginAllowThreads();
22390 result = (long)(arg1)->GetData();
22391
22392 wxPyEndAllowThreads(__tstate);
22393 if (PyErr_Occurred()) SWIG_fail;
22394 }
22395 {
22396 resultobj = SWIG_From_long((long)(result));
22397 }
22398 return resultobj;
22399 fail:
22400 return NULL;
22401}
22402
22403
22404static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22405 PyObject *resultobj;
22406 wxListItem *arg1 = (wxListItem *) 0 ;
22407 int result;
22408 PyObject * obj0 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self", NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22415 if (SWIG_arg_fail(1)) SWIG_fail;
22416 {
22417 PyThreadState* __tstate = wxPyBeginAllowThreads();
22418 result = (int)(arg1)->GetWidth();
22419
22420 wxPyEndAllowThreads(__tstate);
22421 if (PyErr_Occurred()) SWIG_fail;
22422 }
22423 {
22424 resultobj = SWIG_From_int((int)(result));
22425 }
22426 return resultobj;
22427 fail:
22428 return NULL;
22429}
22430
22431
22432static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj;
22434 wxListItem *arg1 = (wxListItem *) 0 ;
22435 wxListColumnFormat result;
22436 PyObject * obj0 = 0 ;
22437 char *kwnames[] = {
22438 (char *) "self", NULL
22439 };
22440
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22443 if (SWIG_arg_fail(1)) SWIG_fail;
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 result = (wxListColumnFormat)(arg1)->GetAlign();
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 resultobj = SWIG_From_int((result));
22452 return resultobj;
22453 fail:
22454 return NULL;
22455}
22456
22457
22458static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22459 PyObject *resultobj;
22460 wxListItem *arg1 = (wxListItem *) 0 ;
22461 wxListItemAttr *result;
22462 PyObject * obj0 = 0 ;
22463 char *kwnames[] = {
22464 (char *) "self", NULL
22465 };
22466
22467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
22468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22469 if (SWIG_arg_fail(1)) SWIG_fail;
22470 {
22471 PyThreadState* __tstate = wxPyBeginAllowThreads();
22472 result = (wxListItemAttr *)(arg1)->GetAttributes();
22473
22474 wxPyEndAllowThreads(__tstate);
22475 if (PyErr_Occurred()) SWIG_fail;
22476 }
22477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22478 return resultobj;
22479 fail:
22480 return NULL;
22481}
22482
22483
22484static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22485 PyObject *resultobj;
22486 wxListItem *arg1 = (wxListItem *) 0 ;
22487 bool result;
22488 PyObject * obj0 = 0 ;
22489 char *kwnames[] = {
22490 (char *) "self", NULL
22491 };
22492
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22495 if (SWIG_arg_fail(1)) SWIG_fail;
22496 {
22497 PyThreadState* __tstate = wxPyBeginAllowThreads();
22498 result = (bool)(arg1)->HasAttributes();
22499
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 {
22504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22505 }
22506 return resultobj;
22507 fail:
22508 return NULL;
22509}
22510
22511
22512static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22513 PyObject *resultobj;
22514 wxListItem *arg1 = (wxListItem *) 0 ;
22515 wxColour result;
22516 PyObject * obj0 = 0 ;
22517 char *kwnames[] = {
22518 (char *) "self", NULL
22519 };
22520
22521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22523 if (SWIG_arg_fail(1)) SWIG_fail;
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 result = ((wxListItem const *)arg1)->GetTextColour();
22527
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 {
22532 wxColour * resultptr;
22533 resultptr = new wxColour((wxColour &)(result));
22534 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22535 }
22536 return resultobj;
22537 fail:
22538 return NULL;
22539}
22540
22541
22542static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22543 PyObject *resultobj;
22544 wxListItem *arg1 = (wxListItem *) 0 ;
22545 wxColour result;
22546 PyObject * obj0 = 0 ;
22547 char *kwnames[] = {
22548 (char *) "self", NULL
22549 };
22550
22551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22553 if (SWIG_arg_fail(1)) SWIG_fail;
22554 {
22555 PyThreadState* __tstate = wxPyBeginAllowThreads();
22556 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22557
22558 wxPyEndAllowThreads(__tstate);
22559 if (PyErr_Occurred()) SWIG_fail;
22560 }
22561 {
22562 wxColour * resultptr;
22563 resultptr = new wxColour((wxColour &)(result));
22564 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22565 }
22566 return resultobj;
22567 fail:
22568 return NULL;
22569}
22570
22571
22572static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22573 PyObject *resultobj;
22574 wxListItem *arg1 = (wxListItem *) 0 ;
22575 wxFont result;
22576 PyObject * obj0 = 0 ;
22577 char *kwnames[] = {
22578 (char *) "self", NULL
22579 };
22580
22581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22583 if (SWIG_arg_fail(1)) SWIG_fail;
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 result = ((wxListItem const *)arg1)->GetFont();
22587
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 {
22592 wxFont * resultptr;
22593 resultptr = new wxFont((wxFont &)(result));
22594 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22595 }
22596 return resultobj;
22597 fail:
22598 return NULL;
22599}
22600
22601
22602static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22603 PyObject *resultobj;
22604 wxListItem *arg1 = (wxListItem *) 0 ;
22605 long arg2 ;
22606 PyObject * obj0 = 0 ;
22607 PyObject * obj1 = 0 ;
22608 char *kwnames[] = {
22609 (char *) "self",(char *) "m_mask", NULL
22610 };
22611
22612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22614 if (SWIG_arg_fail(1)) SWIG_fail;
22615 {
22616 arg2 = (long)(SWIG_As_long(obj1));
22617 if (SWIG_arg_fail(2)) SWIG_fail;
22618 }
22619 if (arg1) (arg1)->m_mask = arg2;
22620
22621 Py_INCREF(Py_None); resultobj = Py_None;
22622 return resultobj;
22623 fail:
22624 return NULL;
22625}
22626
22627
22628static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22629 PyObject *resultobj;
22630 wxListItem *arg1 = (wxListItem *) 0 ;
22631 long result;
22632 PyObject * obj0 = 0 ;
22633 char *kwnames[] = {
22634 (char *) "self", NULL
22635 };
22636
22637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
22638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22639 if (SWIG_arg_fail(1)) SWIG_fail;
22640 result = (long) ((arg1)->m_mask);
22641
22642 {
22643 resultobj = SWIG_From_long((long)(result));
22644 }
22645 return resultobj;
22646 fail:
22647 return NULL;
22648}
22649
22650
22651static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22652 PyObject *resultobj;
22653 wxListItem *arg1 = (wxListItem *) 0 ;
22654 long arg2 ;
22655 PyObject * obj0 = 0 ;
22656 PyObject * obj1 = 0 ;
22657 char *kwnames[] = {
22658 (char *) "self",(char *) "m_itemId", NULL
22659 };
22660
22661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail;
22664 {
22665 arg2 = (long)(SWIG_As_long(obj1));
22666 if (SWIG_arg_fail(2)) SWIG_fail;
22667 }
22668 if (arg1) (arg1)->m_itemId = arg2;
22669
22670 Py_INCREF(Py_None); resultobj = Py_None;
22671 return resultobj;
22672 fail:
22673 return NULL;
22674}
22675
22676
22677static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22678 PyObject *resultobj;
22679 wxListItem *arg1 = (wxListItem *) 0 ;
22680 long result;
22681 PyObject * obj0 = 0 ;
22682 char *kwnames[] = {
22683 (char *) "self", NULL
22684 };
22685
22686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
22687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22688 if (SWIG_arg_fail(1)) SWIG_fail;
22689 result = (long) ((arg1)->m_itemId);
22690
22691 {
22692 resultobj = SWIG_From_long((long)(result));
22693 }
22694 return resultobj;
22695 fail:
22696 return NULL;
22697}
22698
22699
22700static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22701 PyObject *resultobj;
22702 wxListItem *arg1 = (wxListItem *) 0 ;
22703 int arg2 ;
22704 PyObject * obj0 = 0 ;
22705 PyObject * obj1 = 0 ;
22706 char *kwnames[] = {
22707 (char *) "self",(char *) "m_col", NULL
22708 };
22709
22710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22712 if (SWIG_arg_fail(1)) SWIG_fail;
22713 {
22714 arg2 = (int)(SWIG_As_int(obj1));
22715 if (SWIG_arg_fail(2)) SWIG_fail;
22716 }
22717 if (arg1) (arg1)->m_col = arg2;
22718
22719 Py_INCREF(Py_None); resultobj = Py_None;
22720 return resultobj;
22721 fail:
22722 return NULL;
22723}
22724
22725
22726static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22727 PyObject *resultobj;
22728 wxListItem *arg1 = (wxListItem *) 0 ;
22729 int result;
22730 PyObject * obj0 = 0 ;
22731 char *kwnames[] = {
22732 (char *) "self", NULL
22733 };
22734
22735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22737 if (SWIG_arg_fail(1)) SWIG_fail;
22738 result = (int) ((arg1)->m_col);
22739
22740 {
22741 resultobj = SWIG_From_int((int)(result));
22742 }
22743 return resultobj;
22744 fail:
22745 return NULL;
22746}
22747
22748
22749static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22750 PyObject *resultobj;
22751 wxListItem *arg1 = (wxListItem *) 0 ;
22752 long arg2 ;
22753 PyObject * obj0 = 0 ;
22754 PyObject * obj1 = 0 ;
22755 char *kwnames[] = {
22756 (char *) "self",(char *) "m_state", NULL
22757 };
22758
22759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22761 if (SWIG_arg_fail(1)) SWIG_fail;
22762 {
22763 arg2 = (long)(SWIG_As_long(obj1));
22764 if (SWIG_arg_fail(2)) SWIG_fail;
22765 }
22766 if (arg1) (arg1)->m_state = arg2;
22767
22768 Py_INCREF(Py_None); resultobj = Py_None;
22769 return resultobj;
22770 fail:
22771 return NULL;
22772}
22773
22774
22775static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22776 PyObject *resultobj;
22777 wxListItem *arg1 = (wxListItem *) 0 ;
22778 long result;
22779 PyObject * obj0 = 0 ;
22780 char *kwnames[] = {
22781 (char *) "self", NULL
22782 };
22783
22784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22786 if (SWIG_arg_fail(1)) SWIG_fail;
22787 result = (long) ((arg1)->m_state);
22788
22789 {
22790 resultobj = SWIG_From_long((long)(result));
22791 }
22792 return resultobj;
22793 fail:
22794 return NULL;
22795}
22796
22797
22798static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22799 PyObject *resultobj;
22800 wxListItem *arg1 = (wxListItem *) 0 ;
22801 long arg2 ;
22802 PyObject * obj0 = 0 ;
22803 PyObject * obj1 = 0 ;
22804 char *kwnames[] = {
22805 (char *) "self",(char *) "m_stateMask", NULL
22806 };
22807
22808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
22809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22810 if (SWIG_arg_fail(1)) SWIG_fail;
22811 {
22812 arg2 = (long)(SWIG_As_long(obj1));
22813 if (SWIG_arg_fail(2)) SWIG_fail;
22814 }
22815 if (arg1) (arg1)->m_stateMask = arg2;
22816
22817 Py_INCREF(Py_None); resultobj = Py_None;
22818 return resultobj;
22819 fail:
22820 return NULL;
22821}
22822
22823
22824static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22825 PyObject *resultobj;
22826 wxListItem *arg1 = (wxListItem *) 0 ;
22827 long result;
22828 PyObject * obj0 = 0 ;
22829 char *kwnames[] = {
22830 (char *) "self", NULL
22831 };
22832
22833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22835 if (SWIG_arg_fail(1)) SWIG_fail;
22836 result = (long) ((arg1)->m_stateMask);
22837
22838 {
22839 resultobj = SWIG_From_long((long)(result));
22840 }
22841 return resultobj;
22842 fail:
22843 return NULL;
22844}
22845
22846
22847static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22848 PyObject *resultobj;
22849 wxListItem *arg1 = (wxListItem *) 0 ;
22850 wxString *arg2 = (wxString *) 0 ;
22851 bool temp2 = false ;
22852 PyObject * obj0 = 0 ;
22853 PyObject * obj1 = 0 ;
22854 char *kwnames[] = {
22855 (char *) "self",(char *) "m_text", NULL
22856 };
22857
22858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22860 if (SWIG_arg_fail(1)) SWIG_fail;
22861 {
22862 arg2 = wxString_in_helper(obj1);
22863 if (arg2 == NULL) SWIG_fail;
22864 temp2 = true;
22865 }
22866 if (arg1) (arg1)->m_text = *arg2;
22867
22868 Py_INCREF(Py_None); resultobj = Py_None;
22869 {
22870 if (temp2)
22871 delete arg2;
22872 }
22873 return resultobj;
22874 fail:
22875 {
22876 if (temp2)
22877 delete arg2;
22878 }
22879 return NULL;
22880}
22881
22882
22883static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22884 PyObject *resultobj;
22885 wxListItem *arg1 = (wxListItem *) 0 ;
22886 wxString *result;
22887 PyObject * obj0 = 0 ;
22888 char *kwnames[] = {
22889 (char *) "self", NULL
22890 };
22891
22892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22894 if (SWIG_arg_fail(1)) SWIG_fail;
22895 result = (wxString *)& ((arg1)->m_text);
22896
22897 {
22898#if wxUSE_UNICODE
22899 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22900#else
22901 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22902#endif
22903 }
22904 return resultobj;
22905 fail:
22906 return NULL;
22907}
22908
22909
22910static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22911 PyObject *resultobj;
22912 wxListItem *arg1 = (wxListItem *) 0 ;
22913 int arg2 ;
22914 PyObject * obj0 = 0 ;
22915 PyObject * obj1 = 0 ;
22916 char *kwnames[] = {
22917 (char *) "self",(char *) "m_image", NULL
22918 };
22919
22920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22922 if (SWIG_arg_fail(1)) SWIG_fail;
22923 {
22924 arg2 = (int)(SWIG_As_int(obj1));
22925 if (SWIG_arg_fail(2)) SWIG_fail;
22926 }
22927 if (arg1) (arg1)->m_image = arg2;
22928
22929 Py_INCREF(Py_None); resultobj = Py_None;
22930 return resultobj;
22931 fail:
22932 return NULL;
22933}
22934
22935
22936static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22937 PyObject *resultobj;
22938 wxListItem *arg1 = (wxListItem *) 0 ;
22939 int result;
22940 PyObject * obj0 = 0 ;
22941 char *kwnames[] = {
22942 (char *) "self", NULL
22943 };
22944
22945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22947 if (SWIG_arg_fail(1)) SWIG_fail;
22948 result = (int) ((arg1)->m_image);
22949
22950 {
22951 resultobj = SWIG_From_int((int)(result));
22952 }
22953 return resultobj;
22954 fail:
22955 return NULL;
22956}
22957
22958
22959static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22960 PyObject *resultobj;
22961 wxListItem *arg1 = (wxListItem *) 0 ;
22962 long arg2 ;
22963 PyObject * obj0 = 0 ;
22964 PyObject * obj1 = 0 ;
22965 char *kwnames[] = {
22966 (char *) "self",(char *) "m_data", NULL
22967 };
22968
22969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
22970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22971 if (SWIG_arg_fail(1)) SWIG_fail;
22972 {
22973 arg2 = (long)(SWIG_As_long(obj1));
22974 if (SWIG_arg_fail(2)) SWIG_fail;
22975 }
22976 if (arg1) (arg1)->m_data = arg2;
22977
22978 Py_INCREF(Py_None); resultobj = Py_None;
22979 return resultobj;
22980 fail:
22981 return NULL;
22982}
22983
22984
22985static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
22986 PyObject *resultobj;
22987 wxListItem *arg1 = (wxListItem *) 0 ;
22988 long result;
22989 PyObject * obj0 = 0 ;
22990 char *kwnames[] = {
22991 (char *) "self", NULL
22992 };
22993
22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
22995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22996 if (SWIG_arg_fail(1)) SWIG_fail;
22997 result = (long) ((arg1)->m_data);
22998
22999 {
23000 resultobj = SWIG_From_long((long)(result));
23001 }
23002 return resultobj;
23003 fail:
23004 return NULL;
23005}
23006
23007
23008static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
23009 PyObject *resultobj;
23010 wxListItem *arg1 = (wxListItem *) 0 ;
23011 int arg2 ;
23012 PyObject * obj0 = 0 ;
23013 PyObject * obj1 = 0 ;
23014 char *kwnames[] = {
23015 (char *) "self",(char *) "m_format", NULL
23016 };
23017
23018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
23019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23020 if (SWIG_arg_fail(1)) SWIG_fail;
23021 {
23022 arg2 = (int)(SWIG_As_int(obj1));
23023 if (SWIG_arg_fail(2)) SWIG_fail;
23024 }
23025 if (arg1) (arg1)->m_format = arg2;
23026
23027 Py_INCREF(Py_None); resultobj = Py_None;
23028 return resultobj;
23029 fail:
23030 return NULL;
23031}
23032
23033
23034static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
23035 PyObject *resultobj;
23036 wxListItem *arg1 = (wxListItem *) 0 ;
23037 int result;
23038 PyObject * obj0 = 0 ;
23039 char *kwnames[] = {
23040 (char *) "self", NULL
23041 };
23042
23043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
23044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23045 if (SWIG_arg_fail(1)) SWIG_fail;
23046 result = (int) ((arg1)->m_format);
23047
23048 {
23049 resultobj = SWIG_From_int((int)(result));
23050 }
23051 return resultobj;
23052 fail:
23053 return NULL;
23054}
23055
23056
23057static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
23058 PyObject *resultobj;
23059 wxListItem *arg1 = (wxListItem *) 0 ;
23060 int arg2 ;
23061 PyObject * obj0 = 0 ;
23062 PyObject * obj1 = 0 ;
23063 char *kwnames[] = {
23064 (char *) "self",(char *) "m_width", NULL
23065 };
23066
23067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
23068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23069 if (SWIG_arg_fail(1)) SWIG_fail;
23070 {
23071 arg2 = (int)(SWIG_As_int(obj1));
23072 if (SWIG_arg_fail(2)) SWIG_fail;
23073 }
23074 if (arg1) (arg1)->m_width = arg2;
23075
23076 Py_INCREF(Py_None); resultobj = Py_None;
23077 return resultobj;
23078 fail:
23079 return NULL;
23080}
23081
23082
23083static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
23084 PyObject *resultobj;
23085 wxListItem *arg1 = (wxListItem *) 0 ;
23086 int result;
23087 PyObject * obj0 = 0 ;
23088 char *kwnames[] = {
23089 (char *) "self", NULL
23090 };
23091
23092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
23093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23094 if (SWIG_arg_fail(1)) SWIG_fail;
23095 result = (int) ((arg1)->m_width);
23096
23097 {
23098 resultobj = SWIG_From_int((int)(result));
23099 }
23100 return resultobj;
23101 fail:
23102 return NULL;
23103}
23104
23105
23106static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
23107 PyObject *obj;
23108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23109 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23110 Py_INCREF(obj);
23111 return Py_BuildValue((char *)"");
23112}
23113static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23114 PyObject *resultobj;
23115 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23116 int arg2 = (int) 0 ;
23117 wxListEvent *result;
23118 PyObject * obj0 = 0 ;
23119 PyObject * obj1 = 0 ;
23120 char *kwnames[] = {
23121 (char *) "commandType",(char *) "id", NULL
23122 };
23123
23124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23125 if (obj0) {
23126 {
23127 arg1 = (wxEventType)(SWIG_As_int(obj0));
23128 if (SWIG_arg_fail(1)) SWIG_fail;
23129 }
23130 }
23131 if (obj1) {
23132 {
23133 arg2 = (int)(SWIG_As_int(obj1));
23134 if (SWIG_arg_fail(2)) SWIG_fail;
23135 }
23136 }
23137 {
23138 PyThreadState* __tstate = wxPyBeginAllowThreads();
23139 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23140
23141 wxPyEndAllowThreads(__tstate);
23142 if (PyErr_Occurred()) SWIG_fail;
23143 }
23144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23145 return resultobj;
23146 fail:
23147 return NULL;
23148}
23149
23150
23151static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
23152 PyObject *resultobj;
23153 wxListEvent *arg1 = (wxListEvent *) 0 ;
23154 int arg2 ;
23155 PyObject * obj0 = 0 ;
23156 PyObject * obj1 = 0 ;
23157 char *kwnames[] = {
23158 (char *) "self",(char *) "m_code", NULL
23159 };
23160
23161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
23162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23163 if (SWIG_arg_fail(1)) SWIG_fail;
23164 {
23165 arg2 = (int)(SWIG_As_int(obj1));
23166 if (SWIG_arg_fail(2)) SWIG_fail;
23167 }
23168 if (arg1) (arg1)->m_code = arg2;
23169
23170 Py_INCREF(Py_None); resultobj = Py_None;
23171 return resultobj;
23172 fail:
23173 return NULL;
23174}
23175
23176
23177static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
23178 PyObject *resultobj;
23179 wxListEvent *arg1 = (wxListEvent *) 0 ;
23180 int result;
23181 PyObject * obj0 = 0 ;
23182 char *kwnames[] = {
23183 (char *) "self", NULL
23184 };
23185
23186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
23187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23188 if (SWIG_arg_fail(1)) SWIG_fail;
23189 result = (int) ((arg1)->m_code);
23190
23191 {
23192 resultobj = SWIG_From_int((int)(result));
23193 }
23194 return resultobj;
23195 fail:
23196 return NULL;
23197}
23198
23199
23200static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23201 PyObject *resultobj;
23202 wxListEvent *arg1 = (wxListEvent *) 0 ;
23203 long arg2 ;
23204 PyObject * obj0 = 0 ;
23205 PyObject * obj1 = 0 ;
23206 char *kwnames[] = {
23207 (char *) "self",(char *) "m_oldItemIndex", NULL
23208 };
23209
23210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23212 if (SWIG_arg_fail(1)) SWIG_fail;
23213 {
23214 arg2 = (long)(SWIG_As_long(obj1));
23215 if (SWIG_arg_fail(2)) SWIG_fail;
23216 }
23217 if (arg1) (arg1)->m_oldItemIndex = arg2;
23218
23219 Py_INCREF(Py_None); resultobj = Py_None;
23220 return resultobj;
23221 fail:
23222 return NULL;
23223}
23224
23225
23226static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23227 PyObject *resultobj;
23228 wxListEvent *arg1 = (wxListEvent *) 0 ;
23229 long result;
23230 PyObject * obj0 = 0 ;
23231 char *kwnames[] = {
23232 (char *) "self", NULL
23233 };
23234
23235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23237 if (SWIG_arg_fail(1)) SWIG_fail;
23238 result = (long) ((arg1)->m_oldItemIndex);
23239
23240 {
23241 resultobj = SWIG_From_long((long)(result));
23242 }
23243 return resultobj;
23244 fail:
23245 return NULL;
23246}
23247
23248
23249static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23250 PyObject *resultobj;
23251 wxListEvent *arg1 = (wxListEvent *) 0 ;
23252 long arg2 ;
23253 PyObject * obj0 = 0 ;
23254 PyObject * obj1 = 0 ;
23255 char *kwnames[] = {
23256 (char *) "self",(char *) "m_itemIndex", NULL
23257 };
23258
23259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23261 if (SWIG_arg_fail(1)) SWIG_fail;
23262 {
23263 arg2 = (long)(SWIG_As_long(obj1));
23264 if (SWIG_arg_fail(2)) SWIG_fail;
23265 }
23266 if (arg1) (arg1)->m_itemIndex = arg2;
23267
23268 Py_INCREF(Py_None); resultobj = Py_None;
23269 return resultobj;
23270 fail:
23271 return NULL;
23272}
23273
23274
23275static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23276 PyObject *resultobj;
23277 wxListEvent *arg1 = (wxListEvent *) 0 ;
23278 long result;
23279 PyObject * obj0 = 0 ;
23280 char *kwnames[] = {
23281 (char *) "self", NULL
23282 };
23283
23284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23286 if (SWIG_arg_fail(1)) SWIG_fail;
23287 result = (long) ((arg1)->m_itemIndex);
23288
23289 {
23290 resultobj = SWIG_From_long((long)(result));
23291 }
23292 return resultobj;
23293 fail:
23294 return NULL;
23295}
23296
23297
23298static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23299 PyObject *resultobj;
23300 wxListEvent *arg1 = (wxListEvent *) 0 ;
23301 int arg2 ;
23302 PyObject * obj0 = 0 ;
23303 PyObject * obj1 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "self",(char *) "m_col", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23310 if (SWIG_arg_fail(1)) SWIG_fail;
23311 {
23312 arg2 = (int)(SWIG_As_int(obj1));
23313 if (SWIG_arg_fail(2)) SWIG_fail;
23314 }
23315 if (arg1) (arg1)->m_col = arg2;
23316
23317 Py_INCREF(Py_None); resultobj = Py_None;
23318 return resultobj;
23319 fail:
23320 return NULL;
23321}
23322
23323
23324static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
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_m_col_get",kwnames,&obj0)) goto fail;
23334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23335 if (SWIG_arg_fail(1)) SWIG_fail;
23336 result = (int) ((arg1)->m_col);
23337
23338 {
23339 resultobj = SWIG_From_int((int)(result));
23340 }
23341 return resultobj;
23342 fail:
23343 return NULL;
23344}
23345
23346
23347static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23348 PyObject *resultobj;
23349 wxListEvent *arg1 = (wxListEvent *) 0 ;
23350 wxPoint *arg2 = (wxPoint *) 0 ;
23351 PyObject * obj0 = 0 ;
23352 PyObject * obj1 = 0 ;
23353 char *kwnames[] = {
23354 (char *) "self",(char *) "m_pointDrag", NULL
23355 };
23356
23357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
23358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23359 if (SWIG_arg_fail(1)) SWIG_fail;
23360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23361 if (SWIG_arg_fail(2)) SWIG_fail;
23362 if (arg1) (arg1)->m_pointDrag = *arg2;
23363
23364 Py_INCREF(Py_None); resultobj = Py_None;
23365 return resultobj;
23366 fail:
23367 return NULL;
23368}
23369
23370
23371static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23372 PyObject *resultobj;
23373 wxListEvent *arg1 = (wxListEvent *) 0 ;
23374 wxPoint *result;
23375 PyObject * obj0 = 0 ;
23376 char *kwnames[] = {
23377 (char *) "self", NULL
23378 };
23379
23380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
23381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23382 if (SWIG_arg_fail(1)) SWIG_fail;
23383 result = (wxPoint *)& ((arg1)->m_pointDrag);
23384
23385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23386 return resultobj;
23387 fail:
23388 return NULL;
23389}
23390
23391
23392static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23393 PyObject *resultobj;
23394 wxListEvent *arg1 = (wxListEvent *) 0 ;
23395 wxListItem *result;
23396 PyObject * obj0 = 0 ;
23397 char *kwnames[] = {
23398 (char *) "self", NULL
23399 };
23400
23401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23403 if (SWIG_arg_fail(1)) SWIG_fail;
23404 result = (wxListItem *)& ((arg1)->m_item);
23405
23406 {
23407 resultobj = wxPyMake_wxObject(result, 0);
23408 }
23409 return resultobj;
23410 fail:
23411 return NULL;
23412}
23413
23414
23415static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23416 PyObject *resultobj;
23417 wxListEvent *arg1 = (wxListEvent *) 0 ;
23418 int result;
23419 PyObject * obj0 = 0 ;
23420 char *kwnames[] = {
23421 (char *) "self", NULL
23422 };
23423
23424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23426 if (SWIG_arg_fail(1)) SWIG_fail;
23427 {
23428 PyThreadState* __tstate = wxPyBeginAllowThreads();
23429 result = (int)(arg1)->GetKeyCode();
23430
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
23434 {
23435 resultobj = SWIG_From_int((int)(result));
23436 }
23437 return resultobj;
23438 fail:
23439 return NULL;
23440}
23441
23442
23443static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23444 PyObject *resultobj;
23445 wxListEvent *arg1 = (wxListEvent *) 0 ;
23446 long result;
23447 PyObject * obj0 = 0 ;
23448 char *kwnames[] = {
23449 (char *) "self", NULL
23450 };
23451
23452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23454 if (SWIG_arg_fail(1)) SWIG_fail;
23455 {
23456 PyThreadState* __tstate = wxPyBeginAllowThreads();
23457 result = (long)(arg1)->GetIndex();
23458
23459 wxPyEndAllowThreads(__tstate);
23460 if (PyErr_Occurred()) SWIG_fail;
23461 }
23462 {
23463 resultobj = SWIG_From_long((long)(result));
23464 }
23465 return resultobj;
23466 fail:
23467 return NULL;
23468}
23469
23470
23471static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23472 PyObject *resultobj;
23473 wxListEvent *arg1 = (wxListEvent *) 0 ;
23474 int result;
23475 PyObject * obj0 = 0 ;
23476 char *kwnames[] = {
23477 (char *) "self", NULL
23478 };
23479
23480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23482 if (SWIG_arg_fail(1)) SWIG_fail;
23483 {
23484 PyThreadState* __tstate = wxPyBeginAllowThreads();
23485 result = (int)(arg1)->GetColumn();
23486
23487 wxPyEndAllowThreads(__tstate);
23488 if (PyErr_Occurred()) SWIG_fail;
23489 }
23490 {
23491 resultobj = SWIG_From_int((int)(result));
23492 }
23493 return resultobj;
23494 fail:
23495 return NULL;
23496}
23497
23498
23499static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23500 PyObject *resultobj;
23501 wxListEvent *arg1 = (wxListEvent *) 0 ;
23502 wxPoint result;
23503 PyObject * obj0 = 0 ;
23504 char *kwnames[] = {
23505 (char *) "self", NULL
23506 };
23507
23508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23510 if (SWIG_arg_fail(1)) SWIG_fail;
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 result = (arg1)->GetPoint();
23514
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 {
23519 wxPoint * resultptr;
23520 resultptr = new wxPoint((wxPoint &)(result));
23521 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23522 }
23523 return resultobj;
23524 fail:
23525 return NULL;
23526}
23527
23528
23529static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23530 PyObject *resultobj;
23531 wxListEvent *arg1 = (wxListEvent *) 0 ;
23532 wxString *result;
23533 PyObject * obj0 = 0 ;
23534 char *kwnames[] = {
23535 (char *) "self", NULL
23536 };
23537
23538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
23539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23540 if (SWIG_arg_fail(1)) SWIG_fail;
23541 {
23542 PyThreadState* __tstate = wxPyBeginAllowThreads();
23543 {
23544 wxString const &_result_ref = (arg1)->GetLabel();
23545 result = (wxString *) &_result_ref;
23546 }
23547
23548 wxPyEndAllowThreads(__tstate);
23549 if (PyErr_Occurred()) SWIG_fail;
23550 }
23551 {
23552#if wxUSE_UNICODE
23553 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23554#else
23555 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23556#endif
23557 }
23558 return resultobj;
23559 fail:
23560 return NULL;
23561}
23562
23563
23564static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23565 PyObject *resultobj;
23566 wxListEvent *arg1 = (wxListEvent *) 0 ;
23567 wxString *result;
23568 PyObject * obj0 = 0 ;
23569 char *kwnames[] = {
23570 (char *) "self", NULL
23571 };
23572
23573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23575 if (SWIG_arg_fail(1)) SWIG_fail;
23576 {
23577 PyThreadState* __tstate = wxPyBeginAllowThreads();
23578 {
23579 wxString const &_result_ref = (arg1)->GetText();
23580 result = (wxString *) &_result_ref;
23581 }
23582
23583 wxPyEndAllowThreads(__tstate);
23584 if (PyErr_Occurred()) SWIG_fail;
23585 }
23586 {
23587#if wxUSE_UNICODE
23588 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23589#else
23590 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23591#endif
23592 }
23593 return resultobj;
23594 fail:
23595 return NULL;
23596}
23597
23598
23599static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23600 PyObject *resultobj;
23601 wxListEvent *arg1 = (wxListEvent *) 0 ;
23602 int result;
23603 PyObject * obj0 = 0 ;
23604 char *kwnames[] = {
23605 (char *) "self", NULL
23606 };
23607
23608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
23609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23610 if (SWIG_arg_fail(1)) SWIG_fail;
23611 {
23612 PyThreadState* __tstate = wxPyBeginAllowThreads();
23613 result = (int)(arg1)->GetImage();
23614
23615 wxPyEndAllowThreads(__tstate);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 }
23618 {
23619 resultobj = SWIG_From_int((int)(result));
23620 }
23621 return resultobj;
23622 fail:
23623 return NULL;
23624}
23625
23626
23627static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23628 PyObject *resultobj;
23629 wxListEvent *arg1 = (wxListEvent *) 0 ;
23630 long result;
23631 PyObject * obj0 = 0 ;
23632 char *kwnames[] = {
23633 (char *) "self", NULL
23634 };
23635
23636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23638 if (SWIG_arg_fail(1)) SWIG_fail;
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 result = (long)(arg1)->GetData();
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 {
23647 resultobj = SWIG_From_long((long)(result));
23648 }
23649 return resultobj;
23650 fail:
23651 return NULL;
23652}
23653
23654
23655static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23656 PyObject *resultobj;
23657 wxListEvent *arg1 = (wxListEvent *) 0 ;
23658 long result;
23659 PyObject * obj0 = 0 ;
23660 char *kwnames[] = {
23661 (char *) "self", NULL
23662 };
23663
23664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23666 if (SWIG_arg_fail(1)) SWIG_fail;
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 result = (long)(arg1)->GetMask();
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 {
23675 resultobj = SWIG_From_long((long)(result));
23676 }
23677 return resultobj;
23678 fail:
23679 return NULL;
23680}
23681
23682
23683static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23684 PyObject *resultobj;
23685 wxListEvent *arg1 = (wxListEvent *) 0 ;
23686 wxListItem *result;
23687 PyObject * obj0 = 0 ;
23688 char *kwnames[] = {
23689 (char *) "self", NULL
23690 };
23691
23692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23694 if (SWIG_arg_fail(1)) SWIG_fail;
23695 {
23696 PyThreadState* __tstate = wxPyBeginAllowThreads();
23697 {
23698 wxListItem const &_result_ref = (arg1)->GetItem();
23699 result = (wxListItem *) &_result_ref;
23700 }
23701
23702 wxPyEndAllowThreads(__tstate);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 }
23705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23706 return resultobj;
23707 fail:
23708 return NULL;
23709}
23710
23711
23712static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23713 PyObject *resultobj;
23714 wxListEvent *arg1 = (wxListEvent *) 0 ;
23715 long result;
23716 PyObject * obj0 = 0 ;
23717 char *kwnames[] = {
23718 (char *) "self", NULL
23719 };
23720
23721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23723 if (SWIG_arg_fail(1)) SWIG_fail;
23724 {
23725 PyThreadState* __tstate = wxPyBeginAllowThreads();
23726 result = (long)(arg1)->GetCacheFrom();
23727
23728 wxPyEndAllowThreads(__tstate);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 }
23731 {
23732 resultobj = SWIG_From_long((long)(result));
23733 }
23734 return resultobj;
23735 fail:
23736 return NULL;
23737}
23738
23739
23740static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23741 PyObject *resultobj;
23742 wxListEvent *arg1 = (wxListEvent *) 0 ;
23743 long result;
23744 PyObject * obj0 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "self", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23751 if (SWIG_arg_fail(1)) SWIG_fail;
23752 {
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 result = (long)(arg1)->GetCacheTo();
23755
23756 wxPyEndAllowThreads(__tstate);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 {
23760 resultobj = SWIG_From_long((long)(result));
23761 }
23762 return resultobj;
23763 fail:
23764 return NULL;
23765}
23766
23767
23768static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23769 PyObject *resultobj;
23770 wxListEvent *arg1 = (wxListEvent *) 0 ;
23771 bool result;
23772 PyObject * obj0 = 0 ;
23773 char *kwnames[] = {
23774 (char *) "self", NULL
23775 };
23776
23777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23779 if (SWIG_arg_fail(1)) SWIG_fail;
23780 {
23781 PyThreadState* __tstate = wxPyBeginAllowThreads();
23782 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23783
23784 wxPyEndAllowThreads(__tstate);
23785 if (PyErr_Occurred()) SWIG_fail;
23786 }
23787 {
23788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23789 }
23790 return resultobj;
23791 fail:
23792 return NULL;
23793}
23794
23795
23796static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23797 PyObject *resultobj;
23798 wxListEvent *arg1 = (wxListEvent *) 0 ;
23799 bool arg2 ;
23800 PyObject * obj0 = 0 ;
23801 PyObject * obj1 = 0 ;
23802 char *kwnames[] = {
23803 (char *) "self",(char *) "editCancelled", NULL
23804 };
23805
23806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23808 if (SWIG_arg_fail(1)) SWIG_fail;
23809 {
23810 arg2 = (bool)(SWIG_As_bool(obj1));
23811 if (SWIG_arg_fail(2)) SWIG_fail;
23812 }
23813 {
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 (arg1)->SetEditCanceled(arg2);
23816
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 Py_INCREF(Py_None); resultobj = Py_None;
23821 return resultobj;
23822 fail:
23823 return NULL;
23824}
23825
23826
23827static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23828 PyObject *obj;
23829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23830 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23831 Py_INCREF(obj);
23832 return Py_BuildValue((char *)"");
23833}
23834static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23835 PyObject *resultobj;
23836 wxWindow *arg1 = (wxWindow *) 0 ;
23837 int arg2 = (int) -1 ;
23838 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23839 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23840 wxSize const &arg4_defvalue = wxDefaultSize ;
23841 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23842 long arg5 = (long) wxLC_ICON ;
23843 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23844 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23845 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23846 wxString *arg7 = (wxString *) &arg7_defvalue ;
23847 wxPyListCtrl *result;
23848 wxPoint temp3 ;
23849 wxSize temp4 ;
23850 bool temp7 = false ;
23851 PyObject * obj0 = 0 ;
23852 PyObject * obj1 = 0 ;
23853 PyObject * obj2 = 0 ;
23854 PyObject * obj3 = 0 ;
23855 PyObject * obj4 = 0 ;
23856 PyObject * obj5 = 0 ;
23857 PyObject * obj6 = 0 ;
23858 char *kwnames[] = {
23859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23860 };
23861
23862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23864 if (SWIG_arg_fail(1)) SWIG_fail;
23865 if (obj1) {
23866 {
23867 arg2 = (int)(SWIG_As_int(obj1));
23868 if (SWIG_arg_fail(2)) SWIG_fail;
23869 }
23870 }
23871 if (obj2) {
23872 {
23873 arg3 = &temp3;
23874 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23875 }
23876 }
23877 if (obj3) {
23878 {
23879 arg4 = &temp4;
23880 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23881 }
23882 }
23883 if (obj4) {
23884 {
23885 arg5 = (long)(SWIG_As_long(obj4));
23886 if (SWIG_arg_fail(5)) SWIG_fail;
23887 }
23888 }
23889 if (obj5) {
23890 {
23891 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23892 if (SWIG_arg_fail(6)) SWIG_fail;
23893 if (arg6 == NULL) {
23894 SWIG_null_ref("wxValidator");
23895 }
23896 if (SWIG_arg_fail(6)) SWIG_fail;
23897 }
23898 }
23899 if (obj6) {
23900 {
23901 arg7 = wxString_in_helper(obj6);
23902 if (arg7 == NULL) SWIG_fail;
23903 temp7 = true;
23904 }
23905 }
23906 {
23907 if (!wxPyCheckForApp()) SWIG_fail;
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23910
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23915 {
23916 if (temp7)
23917 delete arg7;
23918 }
23919 return resultobj;
23920 fail:
23921 {
23922 if (temp7)
23923 delete arg7;
23924 }
23925 return NULL;
23926}
23927
23928
23929static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23930 PyObject *resultobj;
23931 wxPyListCtrl *result;
23932 char *kwnames[] = {
23933 NULL
23934 };
23935
23936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23937 {
23938 if (!wxPyCheckForApp()) SWIG_fail;
23939 PyThreadState* __tstate = wxPyBeginAllowThreads();
23940 result = (wxPyListCtrl *)new wxPyListCtrl();
23941
23942 wxPyEndAllowThreads(__tstate);
23943 if (PyErr_Occurred()) SWIG_fail;
23944 }
23945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23946 return resultobj;
23947 fail:
23948 return NULL;
23949}
23950
23951
23952static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23953 PyObject *resultobj;
23954 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23955 wxWindow *arg2 = (wxWindow *) 0 ;
23956 int arg3 = (int) -1 ;
23957 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23958 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23959 wxSize const &arg5_defvalue = wxDefaultSize ;
23960 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23961 long arg6 = (long) wxLC_ICON ;
23962 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23963 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23964 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23965 wxString *arg8 = (wxString *) &arg8_defvalue ;
23966 bool result;
23967 wxPoint temp4 ;
23968 wxSize temp5 ;
23969 bool temp8 = false ;
23970 PyObject * obj0 = 0 ;
23971 PyObject * obj1 = 0 ;
23972 PyObject * obj2 = 0 ;
23973 PyObject * obj3 = 0 ;
23974 PyObject * obj4 = 0 ;
23975 PyObject * obj5 = 0 ;
23976 PyObject * obj6 = 0 ;
23977 PyObject * obj7 = 0 ;
23978 char *kwnames[] = {
23979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23980 };
23981
23982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23984 if (SWIG_arg_fail(1)) SWIG_fail;
23985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23986 if (SWIG_arg_fail(2)) SWIG_fail;
23987 if (obj2) {
23988 {
23989 arg3 = (int)(SWIG_As_int(obj2));
23990 if (SWIG_arg_fail(3)) SWIG_fail;
23991 }
23992 }
23993 if (obj3) {
23994 {
23995 arg4 = &temp4;
23996 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23997 }
23998 }
23999 if (obj4) {
24000 {
24001 arg5 = &temp5;
24002 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24003 }
24004 }
24005 if (obj5) {
24006 {
24007 arg6 = (long)(SWIG_As_long(obj5));
24008 if (SWIG_arg_fail(6)) SWIG_fail;
24009 }
24010 }
24011 if (obj6) {
24012 {
24013 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
24014 if (SWIG_arg_fail(7)) SWIG_fail;
24015 if (arg7 == NULL) {
24016 SWIG_null_ref("wxValidator");
24017 }
24018 if (SWIG_arg_fail(7)) SWIG_fail;
24019 }
24020 }
24021 if (obj7) {
24022 {
24023 arg8 = wxString_in_helper(obj7);
24024 if (arg8 == NULL) SWIG_fail;
24025 temp8 = true;
24026 }
24027 }
24028 {
24029 PyThreadState* __tstate = wxPyBeginAllowThreads();
24030 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24031
24032 wxPyEndAllowThreads(__tstate);
24033 if (PyErr_Occurred()) SWIG_fail;
24034 }
24035 {
24036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24037 }
24038 {
24039 if (temp8)
24040 delete arg8;
24041 }
24042 return resultobj;
24043 fail:
24044 {
24045 if (temp8)
24046 delete arg8;
24047 }
24048 return NULL;
24049}
24050
24051
24052static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24053 PyObject *resultobj;
24054 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24055 PyObject *arg2 = (PyObject *) 0 ;
24056 PyObject *arg3 = (PyObject *) 0 ;
24057 PyObject * obj0 = 0 ;
24058 PyObject * obj1 = 0 ;
24059 PyObject * obj2 = 0 ;
24060 char *kwnames[] = {
24061 (char *) "self",(char *) "self",(char *) "_class", NULL
24062 };
24063
24064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24066 if (SWIG_arg_fail(1)) SWIG_fail;
24067 arg2 = obj1;
24068 arg3 = obj2;
24069 {
24070 PyThreadState* __tstate = wxPyBeginAllowThreads();
24071 (arg1)->_setCallbackInfo(arg2,arg3);
24072
24073 wxPyEndAllowThreads(__tstate);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 }
24076 Py_INCREF(Py_None); resultobj = Py_None;
24077 return resultobj;
24078 fail:
24079 return NULL;
24080}
24081
24082
24083static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24084 PyObject *resultobj;
24085 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24086 wxColour *arg2 = 0 ;
24087 bool result;
24088 wxColour temp2 ;
24089 PyObject * obj0 = 0 ;
24090 PyObject * obj1 = 0 ;
24091 char *kwnames[] = {
24092 (char *) "self",(char *) "col", NULL
24093 };
24094
24095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
24096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24097 if (SWIG_arg_fail(1)) SWIG_fail;
24098 {
24099 arg2 = &temp2;
24100 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24101 }
24102 {
24103 PyThreadState* __tstate = wxPyBeginAllowThreads();
24104 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24105
24106 wxPyEndAllowThreads(__tstate);
24107 if (PyErr_Occurred()) SWIG_fail;
24108 }
24109 {
24110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24111 }
24112 return resultobj;
24113 fail:
24114 return NULL;
24115}
24116
24117
24118static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24119 PyObject *resultobj;
24120 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24121 wxColour *arg2 = 0 ;
24122 bool result;
24123 wxColour temp2 ;
24124 PyObject * obj0 = 0 ;
24125 PyObject * obj1 = 0 ;
24126 char *kwnames[] = {
24127 (char *) "self",(char *) "col", NULL
24128 };
24129
24130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24132 if (SWIG_arg_fail(1)) SWIG_fail;
24133 {
24134 arg2 = &temp2;
24135 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24136 }
24137 {
24138 PyThreadState* __tstate = wxPyBeginAllowThreads();
24139 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24140
24141 wxPyEndAllowThreads(__tstate);
24142 if (PyErr_Occurred()) SWIG_fail;
24143 }
24144 {
24145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24146 }
24147 return resultobj;
24148 fail:
24149 return NULL;
24150}
24151
24152
24153static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24154 PyObject *resultobj;
24155 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24156 int arg2 ;
24157 wxListItem *result;
24158 PyObject * obj0 = 0 ;
24159 PyObject * obj1 = 0 ;
24160 char *kwnames[] = {
24161 (char *) "self",(char *) "col", NULL
24162 };
24163
24164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
24165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24166 if (SWIG_arg_fail(1)) SWIG_fail;
24167 {
24168 arg2 = (int)(SWIG_As_int(obj1));
24169 if (SWIG_arg_fail(2)) SWIG_fail;
24170 }
24171 {
24172 PyThreadState* __tstate = wxPyBeginAllowThreads();
24173 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24174
24175 wxPyEndAllowThreads(__tstate);
24176 if (PyErr_Occurred()) SWIG_fail;
24177 }
24178 {
24179 resultobj = wxPyMake_wxObject(result, 0);
24180 }
24181 return resultobj;
24182 fail:
24183 return NULL;
24184}
24185
24186
24187static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24188 PyObject *resultobj;
24189 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24190 int arg2 ;
24191 wxListItem *arg3 = 0 ;
24192 bool result;
24193 PyObject * obj0 = 0 ;
24194 PyObject * obj1 = 0 ;
24195 PyObject * obj2 = 0 ;
24196 char *kwnames[] = {
24197 (char *) "self",(char *) "col",(char *) "item", NULL
24198 };
24199
24200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
24201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24202 if (SWIG_arg_fail(1)) SWIG_fail;
24203 {
24204 arg2 = (int)(SWIG_As_int(obj1));
24205 if (SWIG_arg_fail(2)) SWIG_fail;
24206 }
24207 {
24208 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24209 if (SWIG_arg_fail(3)) SWIG_fail;
24210 if (arg3 == NULL) {
24211 SWIG_null_ref("wxListItem");
24212 }
24213 if (SWIG_arg_fail(3)) SWIG_fail;
24214 }
24215 {
24216 PyThreadState* __tstate = wxPyBeginAllowThreads();
24217 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24218
24219 wxPyEndAllowThreads(__tstate);
24220 if (PyErr_Occurred()) SWIG_fail;
24221 }
24222 {
24223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24224 }
24225 return resultobj;
24226 fail:
24227 return NULL;
24228}
24229
24230
24231static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24232 PyObject *resultobj;
24233 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24234 int arg2 ;
24235 int result;
24236 PyObject * obj0 = 0 ;
24237 PyObject * obj1 = 0 ;
24238 char *kwnames[] = {
24239 (char *) "self",(char *) "col", NULL
24240 };
24241
24242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24244 if (SWIG_arg_fail(1)) SWIG_fail;
24245 {
24246 arg2 = (int)(SWIG_As_int(obj1));
24247 if (SWIG_arg_fail(2)) SWIG_fail;
24248 }
24249 {
24250 PyThreadState* __tstate = wxPyBeginAllowThreads();
24251 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24252
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
24256 {
24257 resultobj = SWIG_From_int((int)(result));
24258 }
24259 return resultobj;
24260 fail:
24261 return NULL;
24262}
24263
24264
24265static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24266 PyObject *resultobj;
24267 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24268 int arg2 ;
24269 int arg3 ;
24270 bool result;
24271 PyObject * obj0 = 0 ;
24272 PyObject * obj1 = 0 ;
24273 PyObject * obj2 = 0 ;
24274 char *kwnames[] = {
24275 (char *) "self",(char *) "col",(char *) "width", NULL
24276 };
24277
24278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24280 if (SWIG_arg_fail(1)) SWIG_fail;
24281 {
24282 arg2 = (int)(SWIG_As_int(obj1));
24283 if (SWIG_arg_fail(2)) SWIG_fail;
24284 }
24285 {
24286 arg3 = (int)(SWIG_As_int(obj2));
24287 if (SWIG_arg_fail(3)) SWIG_fail;
24288 }
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 {
24297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24298 }
24299 return resultobj;
24300 fail:
24301 return NULL;
24302}
24303
24304
24305static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24306 PyObject *resultobj;
24307 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24308 int result;
24309 PyObject * obj0 = 0 ;
24310 char *kwnames[] = {
24311 (char *) "self", NULL
24312 };
24313
24314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
24315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24316 if (SWIG_arg_fail(1)) SWIG_fail;
24317 {
24318 PyThreadState* __tstate = wxPyBeginAllowThreads();
24319 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24320
24321 wxPyEndAllowThreads(__tstate);
24322 if (PyErr_Occurred()) SWIG_fail;
24323 }
24324 {
24325 resultobj = SWIG_From_int((int)(result));
24326 }
24327 return resultobj;
24328 fail:
24329 return NULL;
24330}
24331
24332
24333static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24334 PyObject *resultobj;
24335 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24336 wxRect result;
24337 PyObject * obj0 = 0 ;
24338 char *kwnames[] = {
24339 (char *) "self", NULL
24340 };
24341
24342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24344 if (SWIG_arg_fail(1)) SWIG_fail;
24345 {
24346 PyThreadState* __tstate = wxPyBeginAllowThreads();
24347 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24348
24349 wxPyEndAllowThreads(__tstate);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 }
24352 {
24353 wxRect * resultptr;
24354 resultptr = new wxRect((wxRect &)(result));
24355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24356 }
24357 return resultobj;
24358 fail:
24359 return NULL;
24360}
24361
24362
24363static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
24364 PyObject *resultobj;
24365 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24366 wxTextCtrl *result;
24367 PyObject * obj0 = 0 ;
24368 char *kwnames[] = {
24369 (char *) "self", NULL
24370 };
24371
24372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
24373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24374 if (SWIG_arg_fail(1)) SWIG_fail;
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
24378
24379 wxPyEndAllowThreads(__tstate);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 }
24382 {
24383 resultobj = wxPyMake_wxObject(result, 0);
24384 }
24385 return resultobj;
24386 fail:
24387 return NULL;
24388}
24389
24390
24391static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24392 PyObject *resultobj;
24393 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24394 long arg2 ;
24395 int arg3 = (int) 0 ;
24396 wxListItem *result;
24397 PyObject * obj0 = 0 ;
24398 PyObject * obj1 = 0 ;
24399 PyObject * obj2 = 0 ;
24400 char *kwnames[] = {
24401 (char *) "self",(char *) "itemId",(char *) "col", NULL
24402 };
24403
24404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24406 if (SWIG_arg_fail(1)) SWIG_fail;
24407 {
24408 arg2 = (long)(SWIG_As_long(obj1));
24409 if (SWIG_arg_fail(2)) SWIG_fail;
24410 }
24411 if (obj2) {
24412 {
24413 arg3 = (int)(SWIG_As_int(obj2));
24414 if (SWIG_arg_fail(3)) SWIG_fail;
24415 }
24416 }
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24420
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 {
24425 resultobj = wxPyMake_wxObject(result, 0);
24426 }
24427 return resultobj;
24428 fail:
24429 return NULL;
24430}
24431
24432
24433static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24434 PyObject *resultobj;
24435 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24436 wxListItem *arg2 = 0 ;
24437 bool result;
24438 PyObject * obj0 = 0 ;
24439 PyObject * obj1 = 0 ;
24440 char *kwnames[] = {
24441 (char *) "self",(char *) "info", NULL
24442 };
24443
24444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24446 if (SWIG_arg_fail(1)) SWIG_fail;
24447 {
24448 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24449 if (SWIG_arg_fail(2)) SWIG_fail;
24450 if (arg2 == NULL) {
24451 SWIG_null_ref("wxListItem");
24452 }
24453 if (SWIG_arg_fail(2)) SWIG_fail;
24454 }
24455 {
24456 PyThreadState* __tstate = wxPyBeginAllowThreads();
24457 result = (bool)(arg1)->SetItem(*arg2);
24458
24459 wxPyEndAllowThreads(__tstate);
24460 if (PyErr_Occurred()) SWIG_fail;
24461 }
24462 {
24463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24464 }
24465 return resultobj;
24466 fail:
24467 return NULL;
24468}
24469
24470
24471static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24472 PyObject *resultobj;
24473 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24474 long arg2 ;
24475 int arg3 ;
24476 wxString *arg4 = 0 ;
24477 int arg5 = (int) -1 ;
24478 long result;
24479 bool temp4 = false ;
24480 PyObject * obj0 = 0 ;
24481 PyObject * obj1 = 0 ;
24482 PyObject * obj2 = 0 ;
24483 PyObject * obj3 = 0 ;
24484 PyObject * obj4 = 0 ;
24485 char *kwnames[] = {
24486 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24487 };
24488
24489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24491 if (SWIG_arg_fail(1)) SWIG_fail;
24492 {
24493 arg2 = (long)(SWIG_As_long(obj1));
24494 if (SWIG_arg_fail(2)) SWIG_fail;
24495 }
24496 {
24497 arg3 = (int)(SWIG_As_int(obj2));
24498 if (SWIG_arg_fail(3)) SWIG_fail;
24499 }
24500 {
24501 arg4 = wxString_in_helper(obj3);
24502 if (arg4 == NULL) SWIG_fail;
24503 temp4 = true;
24504 }
24505 if (obj4) {
24506 {
24507 arg5 = (int)(SWIG_As_int(obj4));
24508 if (SWIG_arg_fail(5)) SWIG_fail;
24509 }
24510 }
24511 {
24512 PyThreadState* __tstate = wxPyBeginAllowThreads();
24513 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24514
24515 wxPyEndAllowThreads(__tstate);
24516 if (PyErr_Occurred()) SWIG_fail;
24517 }
24518 {
24519 resultobj = SWIG_From_long((long)(result));
24520 }
24521 {
24522 if (temp4)
24523 delete arg4;
24524 }
24525 return resultobj;
24526 fail:
24527 {
24528 if (temp4)
24529 delete arg4;
24530 }
24531 return NULL;
24532}
24533
24534
24535static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24536 PyObject *resultobj;
24537 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24538 long arg2 ;
24539 long arg3 ;
24540 int result;
24541 PyObject * obj0 = 0 ;
24542 PyObject * obj1 = 0 ;
24543 PyObject * obj2 = 0 ;
24544 char *kwnames[] = {
24545 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24546 };
24547
24548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24550 if (SWIG_arg_fail(1)) SWIG_fail;
24551 {
24552 arg2 = (long)(SWIG_As_long(obj1));
24553 if (SWIG_arg_fail(2)) SWIG_fail;
24554 }
24555 {
24556 arg3 = (long)(SWIG_As_long(obj2));
24557 if (SWIG_arg_fail(3)) SWIG_fail;
24558 }
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24562
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
24566 {
24567 resultobj = SWIG_From_int((int)(result));
24568 }
24569 return resultobj;
24570 fail:
24571 return NULL;
24572}
24573
24574
24575static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24576 PyObject *resultobj;
24577 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24578 long arg2 ;
24579 long arg3 ;
24580 long arg4 ;
24581 bool result;
24582 PyObject * obj0 = 0 ;
24583 PyObject * obj1 = 0 ;
24584 PyObject * obj2 = 0 ;
24585 PyObject * obj3 = 0 ;
24586 char *kwnames[] = {
24587 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24588 };
24589
24590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24592 if (SWIG_arg_fail(1)) SWIG_fail;
24593 {
24594 arg2 = (long)(SWIG_As_long(obj1));
24595 if (SWIG_arg_fail(2)) SWIG_fail;
24596 }
24597 {
24598 arg3 = (long)(SWIG_As_long(obj2));
24599 if (SWIG_arg_fail(3)) SWIG_fail;
24600 }
24601 {
24602 arg4 = (long)(SWIG_As_long(obj3));
24603 if (SWIG_arg_fail(4)) SWIG_fail;
24604 }
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24608
24609 wxPyEndAllowThreads(__tstate);
24610 if (PyErr_Occurred()) SWIG_fail;
24611 }
24612 {
24613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24614 }
24615 return resultobj;
24616 fail:
24617 return NULL;
24618}
24619
24620
24621static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24622 PyObject *resultobj;
24623 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24624 long arg2 ;
24625 int arg3 ;
24626 int arg4 = (int) -1 ;
24627 bool result;
24628 PyObject * obj0 = 0 ;
24629 PyObject * obj1 = 0 ;
24630 PyObject * obj2 = 0 ;
24631 PyObject * obj3 = 0 ;
24632 char *kwnames[] = {
24633 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24634 };
24635
24636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24638 if (SWIG_arg_fail(1)) SWIG_fail;
24639 {
24640 arg2 = (long)(SWIG_As_long(obj1));
24641 if (SWIG_arg_fail(2)) SWIG_fail;
24642 }
24643 {
24644 arg3 = (int)(SWIG_As_int(obj2));
24645 if (SWIG_arg_fail(3)) SWIG_fail;
24646 }
24647 if (obj3) {
24648 {
24649 arg4 = (int)(SWIG_As_int(obj3));
24650 if (SWIG_arg_fail(4)) SWIG_fail;
24651 }
24652 }
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24656
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
24660 {
24661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24662 }
24663 return resultobj;
24664 fail:
24665 return NULL;
24666}
24667
24668
24669static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24670 PyObject *resultobj;
24671 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24672 long arg2 ;
24673 wxString result;
24674 PyObject * obj0 = 0 ;
24675 PyObject * obj1 = 0 ;
24676 char *kwnames[] = {
24677 (char *) "self",(char *) "item", NULL
24678 };
24679
24680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24682 if (SWIG_arg_fail(1)) SWIG_fail;
24683 {
24684 arg2 = (long)(SWIG_As_long(obj1));
24685 if (SWIG_arg_fail(2)) SWIG_fail;
24686 }
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24690
24691 wxPyEndAllowThreads(__tstate);
24692 if (PyErr_Occurred()) SWIG_fail;
24693 }
24694 {
24695#if wxUSE_UNICODE
24696 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24697#else
24698 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24699#endif
24700 }
24701 return resultobj;
24702 fail:
24703 return NULL;
24704}
24705
24706
24707static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24708 PyObject *resultobj;
24709 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24710 long arg2 ;
24711 wxString *arg3 = 0 ;
24712 bool temp3 = false ;
24713 PyObject * obj0 = 0 ;
24714 PyObject * obj1 = 0 ;
24715 PyObject * obj2 = 0 ;
24716 char *kwnames[] = {
24717 (char *) "self",(char *) "item",(char *) "str", NULL
24718 };
24719
24720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
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 }
24727 {
24728 arg3 = wxString_in_helper(obj2);
24729 if (arg3 == NULL) SWIG_fail;
24730 temp3 = true;
24731 }
24732 {
24733 PyThreadState* __tstate = wxPyBeginAllowThreads();
24734 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24735
24736 wxPyEndAllowThreads(__tstate);
24737 if (PyErr_Occurred()) SWIG_fail;
24738 }
24739 Py_INCREF(Py_None); resultobj = Py_None;
24740 {
24741 if (temp3)
24742 delete arg3;
24743 }
24744 return resultobj;
24745 fail:
24746 {
24747 if (temp3)
24748 delete arg3;
24749 }
24750 return NULL;
24751}
24752
24753
24754static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24755 PyObject *resultobj;
24756 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24757 long arg2 ;
24758 long result;
24759 PyObject * obj0 = 0 ;
24760 PyObject * obj1 = 0 ;
24761 char *kwnames[] = {
24762 (char *) "self",(char *) "item", NULL
24763 };
24764
24765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24767 if (SWIG_arg_fail(1)) SWIG_fail;
24768 {
24769 arg2 = (long)(SWIG_As_long(obj1));
24770 if (SWIG_arg_fail(2)) SWIG_fail;
24771 }
24772 {
24773 PyThreadState* __tstate = wxPyBeginAllowThreads();
24774 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24775
24776 wxPyEndAllowThreads(__tstate);
24777 if (PyErr_Occurred()) SWIG_fail;
24778 }
24779 {
24780 resultobj = SWIG_From_long((long)(result));
24781 }
24782 return resultobj;
24783 fail:
24784 return NULL;
24785}
24786
24787
24788static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24789 PyObject *resultobj;
24790 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24791 long arg2 ;
24792 long arg3 ;
24793 bool result;
24794 PyObject * obj0 = 0 ;
24795 PyObject * obj1 = 0 ;
24796 PyObject * obj2 = 0 ;
24797 char *kwnames[] = {
24798 (char *) "self",(char *) "item",(char *) "data", NULL
24799 };
24800
24801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24803 if (SWIG_arg_fail(1)) SWIG_fail;
24804 {
24805 arg2 = (long)(SWIG_As_long(obj1));
24806 if (SWIG_arg_fail(2)) SWIG_fail;
24807 }
24808 {
24809 arg3 = (long)(SWIG_As_long(obj2));
24810 if (SWIG_arg_fail(3)) SWIG_fail;
24811 }
24812 {
24813 PyThreadState* __tstate = wxPyBeginAllowThreads();
24814 result = (bool)(arg1)->SetItemData(arg2,arg3);
24815
24816 wxPyEndAllowThreads(__tstate);
24817 if (PyErr_Occurred()) SWIG_fail;
24818 }
24819 {
24820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24821 }
24822 return resultobj;
24823 fail:
24824 return NULL;
24825}
24826
24827
24828static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24829 PyObject *resultobj;
24830 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24831 long arg2 ;
24832 wxPoint result;
24833 PyObject * obj0 = 0 ;
24834 PyObject * obj1 = 0 ;
24835 char *kwnames[] = {
24836 (char *) "self",(char *) "item", NULL
24837 };
24838
24839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
24840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail;
24842 {
24843 arg2 = (long)(SWIG_As_long(obj1));
24844 if (SWIG_arg_fail(2)) SWIG_fail;
24845 }
24846 {
24847 PyThreadState* __tstate = wxPyBeginAllowThreads();
24848 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24849
24850 wxPyEndAllowThreads(__tstate);
24851 if (PyErr_Occurred()) SWIG_fail;
24852 }
24853 {
24854 wxPoint * resultptr;
24855 resultptr = new wxPoint((wxPoint &)(result));
24856 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24857 }
24858 return resultobj;
24859 fail:
24860 return NULL;
24861}
24862
24863
24864static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24865 PyObject *resultobj;
24866 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24867 long arg2 ;
24868 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24869 wxRect result;
24870 PyObject * obj0 = 0 ;
24871 PyObject * obj1 = 0 ;
24872 PyObject * obj2 = 0 ;
24873 char *kwnames[] = {
24874 (char *) "self",(char *) "item",(char *) "code", NULL
24875 };
24876
24877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24879 if (SWIG_arg_fail(1)) SWIG_fail;
24880 {
24881 arg2 = (long)(SWIG_As_long(obj1));
24882 if (SWIG_arg_fail(2)) SWIG_fail;
24883 }
24884 if (obj2) {
24885 {
24886 arg3 = (int)(SWIG_As_int(obj2));
24887 if (SWIG_arg_fail(3)) SWIG_fail;
24888 }
24889 }
24890 {
24891 PyThreadState* __tstate = wxPyBeginAllowThreads();
24892 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24893
24894 wxPyEndAllowThreads(__tstate);
24895 if (PyErr_Occurred()) SWIG_fail;
24896 }
24897 {
24898 wxRect * resultptr;
24899 resultptr = new wxRect((wxRect &)(result));
24900 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24901 }
24902 return resultobj;
24903 fail:
24904 return NULL;
24905}
24906
24907
24908static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24909 PyObject *resultobj;
24910 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24911 long arg2 ;
24912 wxPoint *arg3 = 0 ;
24913 bool result;
24914 wxPoint temp3 ;
24915 PyObject * obj0 = 0 ;
24916 PyObject * obj1 = 0 ;
24917 PyObject * obj2 = 0 ;
24918 char *kwnames[] = {
24919 (char *) "self",(char *) "item",(char *) "pos", NULL
24920 };
24921
24922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24924 if (SWIG_arg_fail(1)) SWIG_fail;
24925 {
24926 arg2 = (long)(SWIG_As_long(obj1));
24927 if (SWIG_arg_fail(2)) SWIG_fail;
24928 }
24929 {
24930 arg3 = &temp3;
24931 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24932 }
24933 {
24934 PyThreadState* __tstate = wxPyBeginAllowThreads();
24935 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24936
24937 wxPyEndAllowThreads(__tstate);
24938 if (PyErr_Occurred()) SWIG_fail;
24939 }
24940 {
24941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24942 }
24943 return resultobj;
24944 fail:
24945 return NULL;
24946}
24947
24948
24949static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24950 PyObject *resultobj;
24951 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24952 int result;
24953 PyObject * obj0 = 0 ;
24954 char *kwnames[] = {
24955 (char *) "self", NULL
24956 };
24957
24958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail;
24961 {
24962 PyThreadState* __tstate = wxPyBeginAllowThreads();
24963 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24964
24965 wxPyEndAllowThreads(__tstate);
24966 if (PyErr_Occurred()) SWIG_fail;
24967 }
24968 {
24969 resultobj = SWIG_From_int((int)(result));
24970 }
24971 return resultobj;
24972 fail:
24973 return NULL;
24974}
24975
24976
24977static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
24978 PyObject *resultobj;
24979 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24980 int result;
24981 PyObject * obj0 = 0 ;
24982 char *kwnames[] = {
24983 (char *) "self", NULL
24984 };
24985
24986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
24987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24988 if (SWIG_arg_fail(1)) SWIG_fail;
24989 {
24990 PyThreadState* __tstate = wxPyBeginAllowThreads();
24991 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24992
24993 wxPyEndAllowThreads(__tstate);
24994 if (PyErr_Occurred()) SWIG_fail;
24995 }
24996 {
24997 resultobj = SWIG_From_int((int)(result));
24998 }
24999 return resultobj;
25000 fail:
25001 return NULL;
25002}
25003
25004
25005static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
25006 PyObject *resultobj;
25007 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25008 wxSize result;
25009 PyObject * obj0 = 0 ;
25010 char *kwnames[] = {
25011 (char *) "self", NULL
25012 };
25013
25014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
25015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25016 if (SWIG_arg_fail(1)) SWIG_fail;
25017 {
25018 PyThreadState* __tstate = wxPyBeginAllowThreads();
25019 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
25020
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
25024 {
25025 wxSize * resultptr;
25026 resultptr = new wxSize((wxSize &)(result));
25027 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25028 }
25029 return resultobj;
25030 fail:
25031 return NULL;
25032}
25033
25034
25035static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
25036 PyObject *resultobj;
25037 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25038 int result;
25039 PyObject * obj0 = 0 ;
25040 char *kwnames[] = {
25041 (char *) "self", NULL
25042 };
25043
25044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
25045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25046 if (SWIG_arg_fail(1)) SWIG_fail;
25047 {
25048 PyThreadState* __tstate = wxPyBeginAllowThreads();
25049 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25050
25051 wxPyEndAllowThreads(__tstate);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
25054 {
25055 resultobj = SWIG_From_int((int)(result));
25056 }
25057 return resultobj;
25058 fail:
25059 return NULL;
25060}
25061
25062
25063static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25064 PyObject *resultobj;
25065 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25066 wxColour result;
25067 PyObject * obj0 = 0 ;
25068 char *kwnames[] = {
25069 (char *) "self", NULL
25070 };
25071
25072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
25073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25074 if (SWIG_arg_fail(1)) SWIG_fail;
25075 {
25076 PyThreadState* __tstate = wxPyBeginAllowThreads();
25077 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25078
25079 wxPyEndAllowThreads(__tstate);
25080 if (PyErr_Occurred()) SWIG_fail;
25081 }
25082 {
25083 wxColour * resultptr;
25084 resultptr = new wxColour((wxColour &)(result));
25085 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25086 }
25087 return resultobj;
25088 fail:
25089 return NULL;
25090}
25091
25092
25093static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25094 PyObject *resultobj;
25095 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25096 wxColour *arg2 = 0 ;
25097 wxColour temp2 ;
25098 PyObject * obj0 = 0 ;
25099 PyObject * obj1 = 0 ;
25100 char *kwnames[] = {
25101 (char *) "self",(char *) "col", NULL
25102 };
25103
25104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
25105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25106 if (SWIG_arg_fail(1)) SWIG_fail;
25107 {
25108 arg2 = &temp2;
25109 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25110 }
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 (arg1)->SetTextColour((wxColour const &)*arg2);
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 Py_INCREF(Py_None); resultobj = Py_None;
25119 return resultobj;
25120 fail:
25121 return NULL;
25122}
25123
25124
25125static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
25126 PyObject *resultobj;
25127 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25128 long result;
25129 PyObject * obj0 = 0 ;
25130 char *kwnames[] = {
25131 (char *) "self", NULL
25132 };
25133
25134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
25135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25136 if (SWIG_arg_fail(1)) SWIG_fail;
25137 {
25138 PyThreadState* __tstate = wxPyBeginAllowThreads();
25139 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25140
25141 wxPyEndAllowThreads(__tstate);
25142 if (PyErr_Occurred()) SWIG_fail;
25143 }
25144 {
25145 resultobj = SWIG_From_long((long)(result));
25146 }
25147 return resultobj;
25148 fail:
25149 return NULL;
25150}
25151
25152
25153static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
25154 PyObject *resultobj;
25155 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25156 long arg2 ;
25157 bool arg3 = (bool) true ;
25158 PyObject * obj0 = 0 ;
25159 PyObject * obj1 = 0 ;
25160 PyObject * obj2 = 0 ;
25161 char *kwnames[] = {
25162 (char *) "self",(char *) "style",(char *) "add", NULL
25163 };
25164
25165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
25166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25167 if (SWIG_arg_fail(1)) SWIG_fail;
25168 {
25169 arg2 = (long)(SWIG_As_long(obj1));
25170 if (SWIG_arg_fail(2)) SWIG_fail;
25171 }
25172 if (obj2) {
25173 {
25174 arg3 = (bool)(SWIG_As_bool(obj2));
25175 if (SWIG_arg_fail(3)) SWIG_fail;
25176 }
25177 }
25178 {
25179 PyThreadState* __tstate = wxPyBeginAllowThreads();
25180 (arg1)->SetSingleStyle(arg2,arg3);
25181
25182 wxPyEndAllowThreads(__tstate);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 }
25185 Py_INCREF(Py_None); resultobj = Py_None;
25186 return resultobj;
25187 fail:
25188 return NULL;
25189}
25190
25191
25192static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
25193 PyObject *resultobj;
25194 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25195 long arg2 ;
25196 PyObject * obj0 = 0 ;
25197 PyObject * obj1 = 0 ;
25198 char *kwnames[] = {
25199 (char *) "self",(char *) "style", NULL
25200 };
25201
25202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
25203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25204 if (SWIG_arg_fail(1)) SWIG_fail;
25205 {
25206 arg2 = (long)(SWIG_As_long(obj1));
25207 if (SWIG_arg_fail(2)) SWIG_fail;
25208 }
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 (arg1)->SetWindowStyleFlag(arg2);
25212
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 Py_INCREF(Py_None); resultobj = Py_None;
25217 return resultobj;
25218 fail:
25219 return NULL;
25220}
25221
25222
25223static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
25224 PyObject *resultobj;
25225 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25226 long arg2 ;
25227 int arg3 = (int) wxLIST_NEXT_ALL ;
25228 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25229 long result;
25230 PyObject * obj0 = 0 ;
25231 PyObject * obj1 = 0 ;
25232 PyObject * obj2 = 0 ;
25233 PyObject * obj3 = 0 ;
25234 char *kwnames[] = {
25235 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25236 };
25237
25238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25240 if (SWIG_arg_fail(1)) SWIG_fail;
25241 {
25242 arg2 = (long)(SWIG_As_long(obj1));
25243 if (SWIG_arg_fail(2)) SWIG_fail;
25244 }
25245 if (obj2) {
25246 {
25247 arg3 = (int)(SWIG_As_int(obj2));
25248 if (SWIG_arg_fail(3)) SWIG_fail;
25249 }
25250 }
25251 if (obj3) {
25252 {
25253 arg4 = (int)(SWIG_As_int(obj3));
25254 if (SWIG_arg_fail(4)) SWIG_fail;
25255 }
25256 }
25257 {
25258 PyThreadState* __tstate = wxPyBeginAllowThreads();
25259 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25260
25261 wxPyEndAllowThreads(__tstate);
25262 if (PyErr_Occurred()) SWIG_fail;
25263 }
25264 {
25265 resultobj = SWIG_From_long((long)(result));
25266 }
25267 return resultobj;
25268 fail:
25269 return NULL;
25270}
25271
25272
25273static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25274 PyObject *resultobj;
25275 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25276 int arg2 ;
25277 wxImageList *result;
25278 PyObject * obj0 = 0 ;
25279 PyObject * obj1 = 0 ;
25280 char *kwnames[] = {
25281 (char *) "self",(char *) "which", NULL
25282 };
25283
25284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
25285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25286 if (SWIG_arg_fail(1)) SWIG_fail;
25287 {
25288 arg2 = (int)(SWIG_As_int(obj1));
25289 if (SWIG_arg_fail(2)) SWIG_fail;
25290 }
25291 {
25292 PyThreadState* __tstate = wxPyBeginAllowThreads();
25293 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25294
25295 wxPyEndAllowThreads(__tstate);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 {
25299 resultobj = wxPyMake_wxObject(result, 0);
25300 }
25301 return resultobj;
25302 fail:
25303 return NULL;
25304}
25305
25306
25307static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25308 PyObject *resultobj;
25309 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25310 wxImageList *arg2 = (wxImageList *) 0 ;
25311 int arg3 ;
25312 PyObject * obj0 = 0 ;
25313 PyObject * obj1 = 0 ;
25314 PyObject * obj2 = 0 ;
25315 char *kwnames[] = {
25316 (char *) "self",(char *) "imageList",(char *) "which", NULL
25317 };
25318
25319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25321 if (SWIG_arg_fail(1)) SWIG_fail;
25322 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25323 if (SWIG_arg_fail(2)) SWIG_fail;
25324 {
25325 arg3 = (int)(SWIG_As_int(obj2));
25326 if (SWIG_arg_fail(3)) SWIG_fail;
25327 }
25328 {
25329 PyThreadState* __tstate = wxPyBeginAllowThreads();
25330 (arg1)->SetImageList(arg2,arg3);
25331
25332 wxPyEndAllowThreads(__tstate);
25333 if (PyErr_Occurred()) SWIG_fail;
25334 }
25335 Py_INCREF(Py_None); resultobj = Py_None;
25336 return resultobj;
25337 fail:
25338 return NULL;
25339}
25340
25341
25342static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25343 PyObject *resultobj;
25344 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25345 wxImageList *arg2 = (wxImageList *) 0 ;
25346 int arg3 ;
25347 PyObject * obj0 = 0 ;
25348 PyObject * obj1 = 0 ;
25349 PyObject * obj2 = 0 ;
25350 char *kwnames[] = {
25351 (char *) "self",(char *) "imageList",(char *) "which", NULL
25352 };
25353
25354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25356 if (SWIG_arg_fail(1)) SWIG_fail;
25357 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25358 if (SWIG_arg_fail(2)) SWIG_fail;
25359 {
25360 arg3 = (int)(SWIG_As_int(obj2));
25361 if (SWIG_arg_fail(3)) SWIG_fail;
25362 }
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 (arg1)->AssignImageList(arg2,arg3);
25366
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 Py_INCREF(Py_None); resultobj = Py_None;
25371 return resultobj;
25372 fail:
25373 return NULL;
25374}
25375
25376
25377static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25378 PyObject *resultobj;
25379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25380 bool result;
25381 PyObject * obj0 = 0 ;
25382 char *kwnames[] = {
25383 (char *) "self", NULL
25384 };
25385
25386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25388 if (SWIG_arg_fail(1)) SWIG_fail;
25389 {
25390 PyThreadState* __tstate = wxPyBeginAllowThreads();
25391 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25392
25393 wxPyEndAllowThreads(__tstate);
25394 if (PyErr_Occurred()) SWIG_fail;
25395 }
25396 {
25397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25398 }
25399 return resultobj;
25400 fail:
25401 return NULL;
25402}
25403
25404
25405static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25406 PyObject *resultobj;
25407 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25408 bool result;
25409 PyObject * obj0 = 0 ;
25410 char *kwnames[] = {
25411 (char *) "self", NULL
25412 };
25413
25414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25416 if (SWIG_arg_fail(1)) SWIG_fail;
25417 {
25418 PyThreadState* __tstate = wxPyBeginAllowThreads();
25419 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25420
25421 wxPyEndAllowThreads(__tstate);
25422 if (PyErr_Occurred()) SWIG_fail;
25423 }
25424 {
25425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25426 }
25427 return resultobj;
25428 fail:
25429 return NULL;
25430}
25431
25432
25433static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25434 PyObject *resultobj;
25435 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25436 long arg2 ;
25437 PyObject * obj0 = 0 ;
25438 PyObject * obj1 = 0 ;
25439 char *kwnames[] = {
25440 (char *) "self",(char *) "item", NULL
25441 };
25442
25443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
25444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25445 if (SWIG_arg_fail(1)) SWIG_fail;
25446 {
25447 arg2 = (long)(SWIG_As_long(obj1));
25448 if (SWIG_arg_fail(2)) SWIG_fail;
25449 }
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 (arg1)->RefreshItem(arg2);
25453
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 Py_INCREF(Py_None); resultobj = Py_None;
25458 return resultobj;
25459 fail:
25460 return NULL;
25461}
25462
25463
25464static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25465 PyObject *resultobj;
25466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25467 long arg2 ;
25468 long arg3 ;
25469 PyObject * obj0 = 0 ;
25470 PyObject * obj1 = 0 ;
25471 PyObject * obj2 = 0 ;
25472 char *kwnames[] = {
25473 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25474 };
25475
25476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25478 if (SWIG_arg_fail(1)) SWIG_fail;
25479 {
25480 arg2 = (long)(SWIG_As_long(obj1));
25481 if (SWIG_arg_fail(2)) SWIG_fail;
25482 }
25483 {
25484 arg3 = (long)(SWIG_As_long(obj2));
25485 if (SWIG_arg_fail(3)) SWIG_fail;
25486 }
25487 {
25488 PyThreadState* __tstate = wxPyBeginAllowThreads();
25489 (arg1)->RefreshItems(arg2,arg3);
25490
25491 wxPyEndAllowThreads(__tstate);
25492 if (PyErr_Occurred()) SWIG_fail;
25493 }
25494 Py_INCREF(Py_None); resultobj = Py_None;
25495 return resultobj;
25496 fail:
25497 return NULL;
25498}
25499
25500
25501static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25502 PyObject *resultobj;
25503 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25504 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25505 bool result;
25506 PyObject * obj0 = 0 ;
25507 PyObject * obj1 = 0 ;
25508 char *kwnames[] = {
25509 (char *) "self",(char *) "flag", NULL
25510 };
25511
25512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25514 if (SWIG_arg_fail(1)) SWIG_fail;
25515 if (obj1) {
25516 {
25517 arg2 = (int)(SWIG_As_int(obj1));
25518 if (SWIG_arg_fail(2)) SWIG_fail;
25519 }
25520 }
25521 {
25522 PyThreadState* __tstate = wxPyBeginAllowThreads();
25523 result = (bool)(arg1)->Arrange(arg2);
25524
25525 wxPyEndAllowThreads(__tstate);
25526 if (PyErr_Occurred()) SWIG_fail;
25527 }
25528 {
25529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25530 }
25531 return resultobj;
25532 fail:
25533 return NULL;
25534}
25535
25536
25537static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25538 PyObject *resultobj;
25539 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25540 long arg2 ;
25541 bool result;
25542 PyObject * obj0 = 0 ;
25543 PyObject * obj1 = 0 ;
25544 char *kwnames[] = {
25545 (char *) "self",(char *) "item", NULL
25546 };
25547
25548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25550 if (SWIG_arg_fail(1)) SWIG_fail;
25551 {
25552 arg2 = (long)(SWIG_As_long(obj1));
25553 if (SWIG_arg_fail(2)) SWIG_fail;
25554 }
25555 {
25556 PyThreadState* __tstate = wxPyBeginAllowThreads();
25557 result = (bool)(arg1)->DeleteItem(arg2);
25558
25559 wxPyEndAllowThreads(__tstate);
25560 if (PyErr_Occurred()) SWIG_fail;
25561 }
25562 {
25563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25564 }
25565 return resultobj;
25566 fail:
25567 return NULL;
25568}
25569
25570
25571static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25572 PyObject *resultobj;
25573 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25574 bool result;
25575 PyObject * obj0 = 0 ;
25576 char *kwnames[] = {
25577 (char *) "self", NULL
25578 };
25579
25580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25582 if (SWIG_arg_fail(1)) SWIG_fail;
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 result = (bool)(arg1)->DeleteAllItems();
25586
25587 wxPyEndAllowThreads(__tstate);
25588 if (PyErr_Occurred()) SWIG_fail;
25589 }
25590 {
25591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25592 }
25593 return resultobj;
25594 fail:
25595 return NULL;
25596}
25597
25598
25599static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25600 PyObject *resultobj;
25601 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25602 int arg2 ;
25603 bool result;
25604 PyObject * obj0 = 0 ;
25605 PyObject * obj1 = 0 ;
25606 char *kwnames[] = {
25607 (char *) "self",(char *) "col", NULL
25608 };
25609
25610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25612 if (SWIG_arg_fail(1)) SWIG_fail;
25613 {
25614 arg2 = (int)(SWIG_As_int(obj1));
25615 if (SWIG_arg_fail(2)) SWIG_fail;
25616 }
25617 {
25618 PyThreadState* __tstate = wxPyBeginAllowThreads();
25619 result = (bool)(arg1)->DeleteColumn(arg2);
25620
25621 wxPyEndAllowThreads(__tstate);
25622 if (PyErr_Occurred()) SWIG_fail;
25623 }
25624 {
25625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25626 }
25627 return resultobj;
25628 fail:
25629 return NULL;
25630}
25631
25632
25633static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25634 PyObject *resultobj;
25635 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25636 bool result;
25637 PyObject * obj0 = 0 ;
25638 char *kwnames[] = {
25639 (char *) "self", NULL
25640 };
25641
25642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25644 if (SWIG_arg_fail(1)) SWIG_fail;
25645 {
25646 PyThreadState* __tstate = wxPyBeginAllowThreads();
25647 result = (bool)(arg1)->DeleteAllColumns();
25648
25649 wxPyEndAllowThreads(__tstate);
25650 if (PyErr_Occurred()) SWIG_fail;
25651 }
25652 {
25653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25654 }
25655 return resultobj;
25656 fail:
25657 return NULL;
25658}
25659
25660
25661static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25662 PyObject *resultobj;
25663 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25664 PyObject * obj0 = 0 ;
25665 char *kwnames[] = {
25666 (char *) "self", NULL
25667 };
25668
25669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25671 if (SWIG_arg_fail(1)) SWIG_fail;
25672 {
25673 PyThreadState* __tstate = wxPyBeginAllowThreads();
25674 (arg1)->ClearAll();
25675
25676 wxPyEndAllowThreads(__tstate);
25677 if (PyErr_Occurred()) SWIG_fail;
25678 }
25679 Py_INCREF(Py_None); resultobj = Py_None;
25680 return resultobj;
25681 fail:
25682 return NULL;
25683}
25684
25685
25686static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25687 PyObject *resultobj;
25688 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25689 long arg2 ;
25690 wxTextCtrl *result;
25691 PyObject * obj0 = 0 ;
25692 PyObject * obj1 = 0 ;
25693 char *kwnames[] = {
25694 (char *) "self",(char *) "item", NULL
25695 };
25696
25697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25699 if (SWIG_arg_fail(1)) SWIG_fail;
25700 {
25701 arg2 = (long)(SWIG_As_long(obj1));
25702 if (SWIG_arg_fail(2)) SWIG_fail;
25703 }
25704 {
25705 PyThreadState* __tstate = wxPyBeginAllowThreads();
25706 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
25707
25708 wxPyEndAllowThreads(__tstate);
25709 if (PyErr_Occurred()) SWIG_fail;
25710 }
25711 {
25712 resultobj = wxPyMake_wxObject(result, 0);
25713 }
25714 return resultobj;
25715 fail:
25716 return NULL;
25717}
25718
25719
25720static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25721 PyObject *resultobj;
25722 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25723 bool arg2 ;
25724 bool result;
25725 PyObject * obj0 = 0 ;
25726 PyObject * obj1 = 0 ;
25727 char *kwnames[] = {
25728 (char *) "self",(char *) "cancel", NULL
25729 };
25730
25731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
25732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25733 if (SWIG_arg_fail(1)) SWIG_fail;
25734 {
25735 arg2 = (bool)(SWIG_As_bool(obj1));
25736 if (SWIG_arg_fail(2)) SWIG_fail;
25737 }
25738 {
25739 PyThreadState* __tstate = wxPyBeginAllowThreads();
25740 result = (bool)(arg1)->EndEditLabel(arg2);
25741
25742 wxPyEndAllowThreads(__tstate);
25743 if (PyErr_Occurred()) SWIG_fail;
25744 }
25745 {
25746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25747 }
25748 return resultobj;
25749 fail:
25750 return NULL;
25751}
25752
25753
25754static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25755 PyObject *resultobj;
25756 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25757 long arg2 ;
25758 bool result;
25759 PyObject * obj0 = 0 ;
25760 PyObject * obj1 = 0 ;
25761 char *kwnames[] = {
25762 (char *) "self",(char *) "item", NULL
25763 };
25764
25765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25767 if (SWIG_arg_fail(1)) SWIG_fail;
25768 {
25769 arg2 = (long)(SWIG_As_long(obj1));
25770 if (SWIG_arg_fail(2)) SWIG_fail;
25771 }
25772 {
25773 PyThreadState* __tstate = wxPyBeginAllowThreads();
25774 result = (bool)(arg1)->EnsureVisible(arg2);
25775
25776 wxPyEndAllowThreads(__tstate);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 }
25779 {
25780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25781 }
25782 return resultobj;
25783 fail:
25784 return NULL;
25785}
25786
25787
25788static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25789 PyObject *resultobj;
25790 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25791 long arg2 ;
25792 wxString *arg3 = 0 ;
25793 bool arg4 = (bool) false ;
25794 long result;
25795 bool temp3 = false ;
25796 PyObject * obj0 = 0 ;
25797 PyObject * obj1 = 0 ;
25798 PyObject * obj2 = 0 ;
25799 PyObject * obj3 = 0 ;
25800 char *kwnames[] = {
25801 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25802 };
25803
25804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25806 if (SWIG_arg_fail(1)) SWIG_fail;
25807 {
25808 arg2 = (long)(SWIG_As_long(obj1));
25809 if (SWIG_arg_fail(2)) SWIG_fail;
25810 }
25811 {
25812 arg3 = wxString_in_helper(obj2);
25813 if (arg3 == NULL) SWIG_fail;
25814 temp3 = true;
25815 }
25816 if (obj3) {
25817 {
25818 arg4 = (bool)(SWIG_As_bool(obj3));
25819 if (SWIG_arg_fail(4)) SWIG_fail;
25820 }
25821 }
25822 {
25823 PyThreadState* __tstate = wxPyBeginAllowThreads();
25824 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25825
25826 wxPyEndAllowThreads(__tstate);
25827 if (PyErr_Occurred()) SWIG_fail;
25828 }
25829 {
25830 resultobj = SWIG_From_long((long)(result));
25831 }
25832 {
25833 if (temp3)
25834 delete arg3;
25835 }
25836 return resultobj;
25837 fail:
25838 {
25839 if (temp3)
25840 delete arg3;
25841 }
25842 return NULL;
25843}
25844
25845
25846static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25847 PyObject *resultobj;
25848 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25849 long arg2 ;
25850 long arg3 ;
25851 long result;
25852 PyObject * obj0 = 0 ;
25853 PyObject * obj1 = 0 ;
25854 PyObject * obj2 = 0 ;
25855 char *kwnames[] = {
25856 (char *) "self",(char *) "start",(char *) "data", NULL
25857 };
25858
25859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25861 if (SWIG_arg_fail(1)) SWIG_fail;
25862 {
25863 arg2 = (long)(SWIG_As_long(obj1));
25864 if (SWIG_arg_fail(2)) SWIG_fail;
25865 }
25866 {
25867 arg3 = (long)(SWIG_As_long(obj2));
25868 if (SWIG_arg_fail(3)) SWIG_fail;
25869 }
25870 {
25871 PyThreadState* __tstate = wxPyBeginAllowThreads();
25872 result = (long)(arg1)->FindItem(arg2,arg3);
25873
25874 wxPyEndAllowThreads(__tstate);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 }
25877 {
25878 resultobj = SWIG_From_long((long)(result));
25879 }
25880 return resultobj;
25881 fail:
25882 return NULL;
25883}
25884
25885
25886static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25887 PyObject *resultobj;
25888 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25889 long arg2 ;
25890 wxPoint *arg3 = 0 ;
25891 int arg4 ;
25892 long result;
25893 wxPoint temp3 ;
25894 PyObject * obj0 = 0 ;
25895 PyObject * obj1 = 0 ;
25896 PyObject * obj2 = 0 ;
25897 PyObject * obj3 = 0 ;
25898 char *kwnames[] = {
25899 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25900 };
25901
25902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25904 if (SWIG_arg_fail(1)) SWIG_fail;
25905 {
25906 arg2 = (long)(SWIG_As_long(obj1));
25907 if (SWIG_arg_fail(2)) SWIG_fail;
25908 }
25909 {
25910 arg3 = &temp3;
25911 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25912 }
25913 {
25914 arg4 = (int)(SWIG_As_int(obj3));
25915 if (SWIG_arg_fail(4)) SWIG_fail;
25916 }
25917 {
25918 PyThreadState* __tstate = wxPyBeginAllowThreads();
25919 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25920
25921 wxPyEndAllowThreads(__tstate);
25922 if (PyErr_Occurred()) SWIG_fail;
25923 }
25924 {
25925 resultobj = SWIG_From_long((long)(result));
25926 }
25927 return resultobj;
25928 fail:
25929 return NULL;
25930}
25931
25932
25933static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25934 PyObject *resultobj;
25935 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25936 wxPoint *arg2 = 0 ;
25937 int *arg3 = 0 ;
25938 long result;
25939 wxPoint temp2 ;
25940 int temp3 ;
25941 int res3 = 0 ;
25942 PyObject * obj0 = 0 ;
25943 PyObject * obj1 = 0 ;
25944 char *kwnames[] = {
25945 (char *) "self",(char *) "point", NULL
25946 };
25947
25948 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25951 if (SWIG_arg_fail(1)) SWIG_fail;
25952 {
25953 arg2 = &temp2;
25954 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25955 }
25956 {
25957 PyThreadState* __tstate = wxPyBeginAllowThreads();
25958 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25959
25960 wxPyEndAllowThreads(__tstate);
25961 if (PyErr_Occurred()) SWIG_fail;
25962 }
25963 {
25964 resultobj = SWIG_From_long((long)(result));
25965 }
25966 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25967 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25968 return resultobj;
25969 fail:
25970 return NULL;
25971}
25972
25973
25974static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25975 PyObject *resultobj;
25976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25977 wxListItem *arg2 = 0 ;
25978 long result;
25979 PyObject * obj0 = 0 ;
25980 PyObject * obj1 = 0 ;
25981 char *kwnames[] = {
25982 (char *) "self",(char *) "info", NULL
25983 };
25984
25985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
25986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25987 if (SWIG_arg_fail(1)) SWIG_fail;
25988 {
25989 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25990 if (SWIG_arg_fail(2)) SWIG_fail;
25991 if (arg2 == NULL) {
25992 SWIG_null_ref("wxListItem");
25993 }
25994 if (SWIG_arg_fail(2)) SWIG_fail;
25995 }
25996 {
25997 PyThreadState* __tstate = wxPyBeginAllowThreads();
25998 result = (long)(arg1)->InsertItem(*arg2);
25999
26000 wxPyEndAllowThreads(__tstate);
26001 if (PyErr_Occurred()) SWIG_fail;
26002 }
26003 {
26004 resultobj = SWIG_From_long((long)(result));
26005 }
26006 return resultobj;
26007 fail:
26008 return NULL;
26009}
26010
26011
26012static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26013 PyObject *resultobj;
26014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26015 long arg2 ;
26016 wxString *arg3 = 0 ;
26017 long result;
26018 bool temp3 = false ;
26019 PyObject * obj0 = 0 ;
26020 PyObject * obj1 = 0 ;
26021 PyObject * obj2 = 0 ;
26022 char *kwnames[] = {
26023 (char *) "self",(char *) "index",(char *) "label", NULL
26024 };
26025
26026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26028 if (SWIG_arg_fail(1)) SWIG_fail;
26029 {
26030 arg2 = (long)(SWIG_As_long(obj1));
26031 if (SWIG_arg_fail(2)) SWIG_fail;
26032 }
26033 {
26034 arg3 = wxString_in_helper(obj2);
26035 if (arg3 == NULL) SWIG_fail;
26036 temp3 = true;
26037 }
26038 {
26039 PyThreadState* __tstate = wxPyBeginAllowThreads();
26040 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
26041
26042 wxPyEndAllowThreads(__tstate);
26043 if (PyErr_Occurred()) SWIG_fail;
26044 }
26045 {
26046 resultobj = SWIG_From_long((long)(result));
26047 }
26048 {
26049 if (temp3)
26050 delete arg3;
26051 }
26052 return resultobj;
26053 fail:
26054 {
26055 if (temp3)
26056 delete arg3;
26057 }
26058 return NULL;
26059}
26060
26061
26062static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
26063 PyObject *resultobj;
26064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26065 long arg2 ;
26066 int arg3 ;
26067 long result;
26068 PyObject * obj0 = 0 ;
26069 PyObject * obj1 = 0 ;
26070 PyObject * obj2 = 0 ;
26071 char *kwnames[] = {
26072 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26073 };
26074
26075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26077 if (SWIG_arg_fail(1)) SWIG_fail;
26078 {
26079 arg2 = (long)(SWIG_As_long(obj1));
26080 if (SWIG_arg_fail(2)) SWIG_fail;
26081 }
26082 {
26083 arg3 = (int)(SWIG_As_int(obj2));
26084 if (SWIG_arg_fail(3)) SWIG_fail;
26085 }
26086 {
26087 PyThreadState* __tstate = wxPyBeginAllowThreads();
26088 result = (long)(arg1)->InsertItem(arg2,arg3);
26089
26090 wxPyEndAllowThreads(__tstate);
26091 if (PyErr_Occurred()) SWIG_fail;
26092 }
26093 {
26094 resultobj = SWIG_From_long((long)(result));
26095 }
26096 return resultobj;
26097 fail:
26098 return NULL;
26099}
26100
26101
26102static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26103 PyObject *resultobj;
26104 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26105 long arg2 ;
26106 wxString *arg3 = 0 ;
26107 int arg4 ;
26108 long result;
26109 bool temp3 = false ;
26110 PyObject * obj0 = 0 ;
26111 PyObject * obj1 = 0 ;
26112 PyObject * obj2 = 0 ;
26113 PyObject * obj3 = 0 ;
26114 char *kwnames[] = {
26115 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26116 };
26117
26118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26120 if (SWIG_arg_fail(1)) SWIG_fail;
26121 {
26122 arg2 = (long)(SWIG_As_long(obj1));
26123 if (SWIG_arg_fail(2)) SWIG_fail;
26124 }
26125 {
26126 arg3 = wxString_in_helper(obj2);
26127 if (arg3 == NULL) SWIG_fail;
26128 temp3 = true;
26129 }
26130 {
26131 arg4 = (int)(SWIG_As_int(obj3));
26132 if (SWIG_arg_fail(4)) SWIG_fail;
26133 }
26134 {
26135 PyThreadState* __tstate = wxPyBeginAllowThreads();
26136 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26137
26138 wxPyEndAllowThreads(__tstate);
26139 if (PyErr_Occurred()) SWIG_fail;
26140 }
26141 {
26142 resultobj = SWIG_From_long((long)(result));
26143 }
26144 {
26145 if (temp3)
26146 delete arg3;
26147 }
26148 return resultobj;
26149 fail:
26150 {
26151 if (temp3)
26152 delete arg3;
26153 }
26154 return NULL;
26155}
26156
26157
26158static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
26159 PyObject *resultobj;
26160 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26161 long arg2 ;
26162 wxListItem *arg3 = 0 ;
26163 long result;
26164 PyObject * obj0 = 0 ;
26165 PyObject * obj1 = 0 ;
26166 PyObject * obj2 = 0 ;
26167 char *kwnames[] = {
26168 (char *) "self",(char *) "col",(char *) "info", NULL
26169 };
26170
26171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26173 if (SWIG_arg_fail(1)) SWIG_fail;
26174 {
26175 arg2 = (long)(SWIG_As_long(obj1));
26176 if (SWIG_arg_fail(2)) SWIG_fail;
26177 }
26178 {
26179 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26180 if (SWIG_arg_fail(3)) SWIG_fail;
26181 if (arg3 == NULL) {
26182 SWIG_null_ref("wxListItem");
26183 }
26184 if (SWIG_arg_fail(3)) SWIG_fail;
26185 }
26186 {
26187 PyThreadState* __tstate = wxPyBeginAllowThreads();
26188 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26189
26190 wxPyEndAllowThreads(__tstate);
26191 if (PyErr_Occurred()) SWIG_fail;
26192 }
26193 {
26194 resultobj = SWIG_From_long((long)(result));
26195 }
26196 return resultobj;
26197 fail:
26198 return NULL;
26199}
26200
26201
26202static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26203 PyObject *resultobj;
26204 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26205 long arg2 ;
26206 wxString *arg3 = 0 ;
26207 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26208 int arg5 = (int) -1 ;
26209 long result;
26210 bool temp3 = false ;
26211 PyObject * obj0 = 0 ;
26212 PyObject * obj1 = 0 ;
26213 PyObject * obj2 = 0 ;
26214 PyObject * obj3 = 0 ;
26215 PyObject * obj4 = 0 ;
26216 char *kwnames[] = {
26217 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26218 };
26219
26220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26222 if (SWIG_arg_fail(1)) SWIG_fail;
26223 {
26224 arg2 = (long)(SWIG_As_long(obj1));
26225 if (SWIG_arg_fail(2)) SWIG_fail;
26226 }
26227 {
26228 arg3 = wxString_in_helper(obj2);
26229 if (arg3 == NULL) SWIG_fail;
26230 temp3 = true;
26231 }
26232 if (obj3) {
26233 {
26234 arg4 = (int)(SWIG_As_int(obj3));
26235 if (SWIG_arg_fail(4)) SWIG_fail;
26236 }
26237 }
26238 if (obj4) {
26239 {
26240 arg5 = (int)(SWIG_As_int(obj4));
26241 if (SWIG_arg_fail(5)) SWIG_fail;
26242 }
26243 }
26244 {
26245 PyThreadState* __tstate = wxPyBeginAllowThreads();
26246 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26247
26248 wxPyEndAllowThreads(__tstate);
26249 if (PyErr_Occurred()) SWIG_fail;
26250 }
26251 {
26252 resultobj = SWIG_From_long((long)(result));
26253 }
26254 {
26255 if (temp3)
26256 delete arg3;
26257 }
26258 return resultobj;
26259 fail:
26260 {
26261 if (temp3)
26262 delete arg3;
26263 }
26264 return NULL;
26265}
26266
26267
26268static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26269 PyObject *resultobj;
26270 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26271 long arg2 ;
26272 PyObject * obj0 = 0 ;
26273 PyObject * obj1 = 0 ;
26274 char *kwnames[] = {
26275 (char *) "self",(char *) "count", NULL
26276 };
26277
26278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26280 if (SWIG_arg_fail(1)) SWIG_fail;
26281 {
26282 arg2 = (long)(SWIG_As_long(obj1));
26283 if (SWIG_arg_fail(2)) SWIG_fail;
26284 }
26285 {
26286 PyThreadState* __tstate = wxPyBeginAllowThreads();
26287 (arg1)->SetItemCount(arg2);
26288
26289 wxPyEndAllowThreads(__tstate);
26290 if (PyErr_Occurred()) SWIG_fail;
26291 }
26292 Py_INCREF(Py_None); resultobj = Py_None;
26293 return resultobj;
26294 fail:
26295 return NULL;
26296}
26297
26298
26299static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26300 PyObject *resultobj;
26301 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26302 int arg2 ;
26303 int arg3 ;
26304 bool result;
26305 PyObject * obj0 = 0 ;
26306 PyObject * obj1 = 0 ;
26307 PyObject * obj2 = 0 ;
26308 char *kwnames[] = {
26309 (char *) "self",(char *) "dx",(char *) "dy", NULL
26310 };
26311
26312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26314 if (SWIG_arg_fail(1)) SWIG_fail;
26315 {
26316 arg2 = (int)(SWIG_As_int(obj1));
26317 if (SWIG_arg_fail(2)) SWIG_fail;
26318 }
26319 {
26320 arg3 = (int)(SWIG_As_int(obj2));
26321 if (SWIG_arg_fail(3)) SWIG_fail;
26322 }
26323 {
26324 PyThreadState* __tstate = wxPyBeginAllowThreads();
26325 result = (bool)(arg1)->ScrollList(arg2,arg3);
26326
26327 wxPyEndAllowThreads(__tstate);
26328 if (PyErr_Occurred()) SWIG_fail;
26329 }
26330 {
26331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26332 }
26333 return resultobj;
26334 fail:
26335 return NULL;
26336}
26337
26338
26339static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26340 PyObject *resultobj;
26341 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26342 long arg2 ;
26343 wxColour *arg3 = 0 ;
26344 wxColour temp3 ;
26345 PyObject * obj0 = 0 ;
26346 PyObject * obj1 = 0 ;
26347 PyObject * obj2 = 0 ;
26348 char *kwnames[] = {
26349 (char *) "self",(char *) "item",(char *) "col", NULL
26350 };
26351
26352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26354 if (SWIG_arg_fail(1)) SWIG_fail;
26355 {
26356 arg2 = (long)(SWIG_As_long(obj1));
26357 if (SWIG_arg_fail(2)) SWIG_fail;
26358 }
26359 {
26360 arg3 = &temp3;
26361 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26362 }
26363 {
26364 PyThreadState* __tstate = wxPyBeginAllowThreads();
26365 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26366
26367 wxPyEndAllowThreads(__tstate);
26368 if (PyErr_Occurred()) SWIG_fail;
26369 }
26370 Py_INCREF(Py_None); resultobj = Py_None;
26371 return resultobj;
26372 fail:
26373 return NULL;
26374}
26375
26376
26377static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26378 PyObject *resultobj;
26379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26380 long arg2 ;
26381 wxColour result;
26382 PyObject * obj0 = 0 ;
26383 PyObject * obj1 = 0 ;
26384 char *kwnames[] = {
26385 (char *) "self",(char *) "item", NULL
26386 };
26387
26388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26390 if (SWIG_arg_fail(1)) SWIG_fail;
26391 {
26392 arg2 = (long)(SWIG_As_long(obj1));
26393 if (SWIG_arg_fail(2)) SWIG_fail;
26394 }
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
26397 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26398
26399 wxPyEndAllowThreads(__tstate);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 }
26402 {
26403 wxColour * resultptr;
26404 resultptr = new wxColour((wxColour &)(result));
26405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26406 }
26407 return resultobj;
26408 fail:
26409 return NULL;
26410}
26411
26412
26413static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26414 PyObject *resultobj;
26415 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26416 long arg2 ;
26417 wxColour *arg3 = 0 ;
26418 wxColour temp3 ;
26419 PyObject * obj0 = 0 ;
26420 PyObject * obj1 = 0 ;
26421 PyObject * obj2 = 0 ;
26422 char *kwnames[] = {
26423 (char *) "self",(char *) "item",(char *) "col", NULL
26424 };
26425
26426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26428 if (SWIG_arg_fail(1)) SWIG_fail;
26429 {
26430 arg2 = (long)(SWIG_As_long(obj1));
26431 if (SWIG_arg_fail(2)) SWIG_fail;
26432 }
26433 {
26434 arg3 = &temp3;
26435 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26436 }
26437 {
26438 PyThreadState* __tstate = wxPyBeginAllowThreads();
26439 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26440
26441 wxPyEndAllowThreads(__tstate);
26442 if (PyErr_Occurred()) SWIG_fail;
26443 }
26444 Py_INCREF(Py_None); resultobj = Py_None;
26445 return resultobj;
26446 fail:
26447 return NULL;
26448}
26449
26450
26451static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26452 PyObject *resultobj;
26453 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26454 long arg2 ;
26455 wxColour result;
26456 PyObject * obj0 = 0 ;
26457 PyObject * obj1 = 0 ;
26458 char *kwnames[] = {
26459 (char *) "self",(char *) "item", NULL
26460 };
26461
26462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26464 if (SWIG_arg_fail(1)) SWIG_fail;
26465 {
26466 arg2 = (long)(SWIG_As_long(obj1));
26467 if (SWIG_arg_fail(2)) SWIG_fail;
26468 }
26469 {
26470 PyThreadState* __tstate = wxPyBeginAllowThreads();
26471 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26472
26473 wxPyEndAllowThreads(__tstate);
26474 if (PyErr_Occurred()) SWIG_fail;
26475 }
26476 {
26477 wxColour * resultptr;
26478 resultptr = new wxColour((wxColour &)(result));
26479 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26480 }
26481 return resultobj;
26482 fail:
26483 return NULL;
26484}
26485
26486
26487static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26488 PyObject *resultobj;
26489 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26490 PyObject *arg2 = (PyObject *) 0 ;
26491 bool result;
26492 PyObject * obj0 = 0 ;
26493 PyObject * obj1 = 0 ;
26494 char *kwnames[] = {
26495 (char *) "self",(char *) "func", NULL
26496 };
26497
26498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26500 if (SWIG_arg_fail(1)) SWIG_fail;
26501 arg2 = obj1;
26502 {
26503 PyThreadState* __tstate = wxPyBeginAllowThreads();
26504 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26505
26506 wxPyEndAllowThreads(__tstate);
26507 if (PyErr_Occurred()) SWIG_fail;
26508 }
26509 {
26510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26511 }
26512 return resultobj;
26513 fail:
26514 return NULL;
26515}
26516
26517
26518static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26519 PyObject *resultobj;
26520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26521 wxWindow *result;
26522 PyObject * obj0 = 0 ;
26523 char *kwnames[] = {
26524 (char *) "self", NULL
26525 };
26526
26527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26529 if (SWIG_arg_fail(1)) SWIG_fail;
26530 {
26531 PyThreadState* __tstate = wxPyBeginAllowThreads();
26532 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26533
26534 wxPyEndAllowThreads(__tstate);
26535 if (PyErr_Occurred()) SWIG_fail;
26536 }
26537 {
26538 resultobj = wxPyMake_wxObject(result, 0);
26539 }
26540 return resultobj;
26541 fail:
26542 return NULL;
26543}
26544
26545
26546static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26547 PyObject *resultobj;
26548 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26549 wxVisualAttributes result;
26550 PyObject * obj0 = 0 ;
26551 char *kwnames[] = {
26552 (char *) "variant", NULL
26553 };
26554
26555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26556 if (obj0) {
26557 {
26558 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26559 if (SWIG_arg_fail(1)) SWIG_fail;
26560 }
26561 }
26562 {
26563 if (!wxPyCheckForApp()) SWIG_fail;
26564 PyThreadState* __tstate = wxPyBeginAllowThreads();
26565 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26566
26567 wxPyEndAllowThreads(__tstate);
26568 if (PyErr_Occurred()) SWIG_fail;
26569 }
26570 {
26571 wxVisualAttributes * resultptr;
26572 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
26573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26574 }
26575 return resultobj;
26576 fail:
26577 return NULL;
26578}
26579
26580
26581static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26582 PyObject *obj;
26583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26584 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26585 Py_INCREF(obj);
26586 return Py_BuildValue((char *)"");
26587}
26588static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26589 PyObject *resultobj;
26590 wxWindow *arg1 = (wxWindow *) 0 ;
26591 int arg2 = (int) -1 ;
26592 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26593 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26594 wxSize const &arg4_defvalue = wxDefaultSize ;
26595 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26596 long arg5 = (long) wxLC_REPORT ;
26597 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26598 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26599 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26600 wxString *arg7 = (wxString *) &arg7_defvalue ;
26601 wxListView *result;
26602 wxPoint temp3 ;
26603 wxSize temp4 ;
26604 bool temp7 = false ;
26605 PyObject * obj0 = 0 ;
26606 PyObject * obj1 = 0 ;
26607 PyObject * obj2 = 0 ;
26608 PyObject * obj3 = 0 ;
26609 PyObject * obj4 = 0 ;
26610 PyObject * obj5 = 0 ;
26611 PyObject * obj6 = 0 ;
26612 char *kwnames[] = {
26613 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26614 };
26615
26616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26618 if (SWIG_arg_fail(1)) SWIG_fail;
26619 if (obj1) {
26620 {
26621 arg2 = (int)(SWIG_As_int(obj1));
26622 if (SWIG_arg_fail(2)) SWIG_fail;
26623 }
26624 }
26625 if (obj2) {
26626 {
26627 arg3 = &temp3;
26628 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26629 }
26630 }
26631 if (obj3) {
26632 {
26633 arg4 = &temp4;
26634 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26635 }
26636 }
26637 if (obj4) {
26638 {
26639 arg5 = (long)(SWIG_As_long(obj4));
26640 if (SWIG_arg_fail(5)) SWIG_fail;
26641 }
26642 }
26643 if (obj5) {
26644 {
26645 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26646 if (SWIG_arg_fail(6)) SWIG_fail;
26647 if (arg6 == NULL) {
26648 SWIG_null_ref("wxValidator");
26649 }
26650 if (SWIG_arg_fail(6)) SWIG_fail;
26651 }
26652 }
26653 if (obj6) {
26654 {
26655 arg7 = wxString_in_helper(obj6);
26656 if (arg7 == NULL) SWIG_fail;
26657 temp7 = true;
26658 }
26659 }
26660 {
26661 if (!wxPyCheckForApp()) SWIG_fail;
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26664
26665 wxPyEndAllowThreads(__tstate);
26666 if (PyErr_Occurred()) SWIG_fail;
26667 }
26668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26669 {
26670 if (temp7)
26671 delete arg7;
26672 }
26673 return resultobj;
26674 fail:
26675 {
26676 if (temp7)
26677 delete arg7;
26678 }
26679 return NULL;
26680}
26681
26682
26683static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26684 PyObject *resultobj;
26685 wxListView *result;
26686 char *kwnames[] = {
26687 NULL
26688 };
26689
26690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26691 {
26692 if (!wxPyCheckForApp()) SWIG_fail;
26693 PyThreadState* __tstate = wxPyBeginAllowThreads();
26694 result = (wxListView *)new wxListView();
26695
26696 wxPyEndAllowThreads(__tstate);
26697 if (PyErr_Occurred()) SWIG_fail;
26698 }
26699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26700 return resultobj;
26701 fail:
26702 return NULL;
26703}
26704
26705
26706static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26707 PyObject *resultobj;
26708 wxListView *arg1 = (wxListView *) 0 ;
26709 wxWindow *arg2 = (wxWindow *) 0 ;
26710 int arg3 = (int) -1 ;
26711 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26712 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26713 wxSize const &arg5_defvalue = wxDefaultSize ;
26714 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26715 long arg6 = (long) wxLC_REPORT ;
26716 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26717 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26718 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26719 wxString *arg8 = (wxString *) &arg8_defvalue ;
26720 bool result;
26721 wxPoint temp4 ;
26722 wxSize temp5 ;
26723 bool temp8 = false ;
26724 PyObject * obj0 = 0 ;
26725 PyObject * obj1 = 0 ;
26726 PyObject * obj2 = 0 ;
26727 PyObject * obj3 = 0 ;
26728 PyObject * obj4 = 0 ;
26729 PyObject * obj5 = 0 ;
26730 PyObject * obj6 = 0 ;
26731 PyObject * obj7 = 0 ;
26732 char *kwnames[] = {
26733 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26734 };
26735
26736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26738 if (SWIG_arg_fail(1)) SWIG_fail;
26739 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26740 if (SWIG_arg_fail(2)) SWIG_fail;
26741 if (obj2) {
26742 {
26743 arg3 = (int)(SWIG_As_int(obj2));
26744 if (SWIG_arg_fail(3)) SWIG_fail;
26745 }
26746 }
26747 if (obj3) {
26748 {
26749 arg4 = &temp4;
26750 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26751 }
26752 }
26753 if (obj4) {
26754 {
26755 arg5 = &temp5;
26756 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26757 }
26758 }
26759 if (obj5) {
26760 {
26761 arg6 = (long)(SWIG_As_long(obj5));
26762 if (SWIG_arg_fail(6)) SWIG_fail;
26763 }
26764 }
26765 if (obj6) {
26766 {
26767 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26768 if (SWIG_arg_fail(7)) SWIG_fail;
26769 if (arg7 == NULL) {
26770 SWIG_null_ref("wxValidator");
26771 }
26772 if (SWIG_arg_fail(7)) SWIG_fail;
26773 }
26774 }
26775 if (obj7) {
26776 {
26777 arg8 = wxString_in_helper(obj7);
26778 if (arg8 == NULL) SWIG_fail;
26779 temp8 = true;
26780 }
26781 }
26782 {
26783 PyThreadState* __tstate = wxPyBeginAllowThreads();
26784 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26785
26786 wxPyEndAllowThreads(__tstate);
26787 if (PyErr_Occurred()) SWIG_fail;
26788 }
26789 {
26790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26791 }
26792 {
26793 if (temp8)
26794 delete arg8;
26795 }
26796 return resultobj;
26797 fail:
26798 {
26799 if (temp8)
26800 delete arg8;
26801 }
26802 return NULL;
26803}
26804
26805
26806static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26807 PyObject *resultobj;
26808 wxListView *arg1 = (wxListView *) 0 ;
26809 long arg2 ;
26810 bool arg3 = (bool) true ;
26811 PyObject * obj0 = 0 ;
26812 PyObject * obj1 = 0 ;
26813 PyObject * obj2 = 0 ;
26814 char *kwnames[] = {
26815 (char *) "self",(char *) "n",(char *) "on", NULL
26816 };
26817
26818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26820 if (SWIG_arg_fail(1)) SWIG_fail;
26821 {
26822 arg2 = (long)(SWIG_As_long(obj1));
26823 if (SWIG_arg_fail(2)) SWIG_fail;
26824 }
26825 if (obj2) {
26826 {
26827 arg3 = (bool)(SWIG_As_bool(obj2));
26828 if (SWIG_arg_fail(3)) SWIG_fail;
26829 }
26830 }
26831 {
26832 PyThreadState* __tstate = wxPyBeginAllowThreads();
26833 (arg1)->Select(arg2,arg3);
26834
26835 wxPyEndAllowThreads(__tstate);
26836 if (PyErr_Occurred()) SWIG_fail;
26837 }
26838 Py_INCREF(Py_None); resultobj = Py_None;
26839 return resultobj;
26840 fail:
26841 return NULL;
26842}
26843
26844
26845static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26846 PyObject *resultobj;
26847 wxListView *arg1 = (wxListView *) 0 ;
26848 long arg2 ;
26849 PyObject * obj0 = 0 ;
26850 PyObject * obj1 = 0 ;
26851 char *kwnames[] = {
26852 (char *) "self",(char *) "index", NULL
26853 };
26854
26855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26857 if (SWIG_arg_fail(1)) SWIG_fail;
26858 {
26859 arg2 = (long)(SWIG_As_long(obj1));
26860 if (SWIG_arg_fail(2)) SWIG_fail;
26861 }
26862 {
26863 PyThreadState* __tstate = wxPyBeginAllowThreads();
26864 (arg1)->Focus(arg2);
26865
26866 wxPyEndAllowThreads(__tstate);
26867 if (PyErr_Occurred()) SWIG_fail;
26868 }
26869 Py_INCREF(Py_None); resultobj = Py_None;
26870 return resultobj;
26871 fail:
26872 return NULL;
26873}
26874
26875
26876static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26877 PyObject *resultobj;
26878 wxListView *arg1 = (wxListView *) 0 ;
26879 long result;
26880 PyObject * obj0 = 0 ;
26881 char *kwnames[] = {
26882 (char *) "self", NULL
26883 };
26884
26885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26887 if (SWIG_arg_fail(1)) SWIG_fail;
26888 {
26889 PyThreadState* __tstate = wxPyBeginAllowThreads();
26890 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26891
26892 wxPyEndAllowThreads(__tstate);
26893 if (PyErr_Occurred()) SWIG_fail;
26894 }
26895 {
26896 resultobj = SWIG_From_long((long)(result));
26897 }
26898 return resultobj;
26899 fail:
26900 return NULL;
26901}
26902
26903
26904static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26905 PyObject *resultobj;
26906 wxListView *arg1 = (wxListView *) 0 ;
26907 long arg2 ;
26908 long result;
26909 PyObject * obj0 = 0 ;
26910 PyObject * obj1 = 0 ;
26911 char *kwnames[] = {
26912 (char *) "self",(char *) "item", NULL
26913 };
26914
26915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
26916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26917 if (SWIG_arg_fail(1)) SWIG_fail;
26918 {
26919 arg2 = (long)(SWIG_As_long(obj1));
26920 if (SWIG_arg_fail(2)) SWIG_fail;
26921 }
26922 {
26923 PyThreadState* __tstate = wxPyBeginAllowThreads();
26924 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26925
26926 wxPyEndAllowThreads(__tstate);
26927 if (PyErr_Occurred()) SWIG_fail;
26928 }
26929 {
26930 resultobj = SWIG_From_long((long)(result));
26931 }
26932 return resultobj;
26933 fail:
26934 return NULL;
26935}
26936
26937
26938static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26939 PyObject *resultobj;
26940 wxListView *arg1 = (wxListView *) 0 ;
26941 long result;
26942 PyObject * obj0 = 0 ;
26943 char *kwnames[] = {
26944 (char *) "self", NULL
26945 };
26946
26947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
26948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26949 if (SWIG_arg_fail(1)) SWIG_fail;
26950 {
26951 PyThreadState* __tstate = wxPyBeginAllowThreads();
26952 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26953
26954 wxPyEndAllowThreads(__tstate);
26955 if (PyErr_Occurred()) SWIG_fail;
26956 }
26957 {
26958 resultobj = SWIG_From_long((long)(result));
26959 }
26960 return resultobj;
26961 fail:
26962 return NULL;
26963}
26964
26965
26966static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26967 PyObject *resultobj;
26968 wxListView *arg1 = (wxListView *) 0 ;
26969 long arg2 ;
26970 bool result;
26971 PyObject * obj0 = 0 ;
26972 PyObject * obj1 = 0 ;
26973 char *kwnames[] = {
26974 (char *) "self",(char *) "index", NULL
26975 };
26976
26977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26979 if (SWIG_arg_fail(1)) SWIG_fail;
26980 {
26981 arg2 = (long)(SWIG_As_long(obj1));
26982 if (SWIG_arg_fail(2)) SWIG_fail;
26983 }
26984 {
26985 PyThreadState* __tstate = wxPyBeginAllowThreads();
26986 result = (bool)(arg1)->IsSelected(arg2);
26987
26988 wxPyEndAllowThreads(__tstate);
26989 if (PyErr_Occurred()) SWIG_fail;
26990 }
26991 {
26992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26993 }
26994 return resultobj;
26995 fail:
26996 return NULL;
26997}
26998
26999
27000static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
27001 PyObject *resultobj;
27002 wxListView *arg1 = (wxListView *) 0 ;
27003 int arg2 ;
27004 int arg3 ;
27005 PyObject * obj0 = 0 ;
27006 PyObject * obj1 = 0 ;
27007 PyObject * obj2 = 0 ;
27008 char *kwnames[] = {
27009 (char *) "self",(char *) "col",(char *) "image", NULL
27010 };
27011
27012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
27013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27014 if (SWIG_arg_fail(1)) SWIG_fail;
27015 {
27016 arg2 = (int)(SWIG_As_int(obj1));
27017 if (SWIG_arg_fail(2)) SWIG_fail;
27018 }
27019 {
27020 arg3 = (int)(SWIG_As_int(obj2));
27021 if (SWIG_arg_fail(3)) SWIG_fail;
27022 }
27023 {
27024 PyThreadState* __tstate = wxPyBeginAllowThreads();
27025 (arg1)->SetColumnImage(arg2,arg3);
27026
27027 wxPyEndAllowThreads(__tstate);
27028 if (PyErr_Occurred()) SWIG_fail;
27029 }
27030 Py_INCREF(Py_None); resultobj = Py_None;
27031 return resultobj;
27032 fail:
27033 return NULL;
27034}
27035
27036
27037static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
27038 PyObject *resultobj;
27039 wxListView *arg1 = (wxListView *) 0 ;
27040 int arg2 ;
27041 PyObject * obj0 = 0 ;
27042 PyObject * obj1 = 0 ;
27043 char *kwnames[] = {
27044 (char *) "self",(char *) "col", NULL
27045 };
27046
27047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
27048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27049 if (SWIG_arg_fail(1)) SWIG_fail;
27050 {
27051 arg2 = (int)(SWIG_As_int(obj1));
27052 if (SWIG_arg_fail(2)) SWIG_fail;
27053 }
27054 {
27055 PyThreadState* __tstate = wxPyBeginAllowThreads();
27056 (arg1)->ClearColumnImage(arg2);
27057
27058 wxPyEndAllowThreads(__tstate);
27059 if (PyErr_Occurred()) SWIG_fail;
27060 }
27061 Py_INCREF(Py_None); resultobj = Py_None;
27062 return resultobj;
27063 fail:
27064 return NULL;
27065}
27066
27067
27068static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
27069 PyObject *obj;
27070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27071 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27072 Py_INCREF(obj);
27073 return Py_BuildValue((char *)"");
27074}
27075static int _wrap_TreeCtrlNameStr_set(PyObject *) {
27076 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27077 return 1;
27078}
27079
27080
27081static PyObject *_wrap_TreeCtrlNameStr_get(void) {
27082 PyObject *pyobj;
27083
27084 {
27085#if wxUSE_UNICODE
27086 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27087#else
27088 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27089#endif
27090 }
27091 return pyobj;
27092}
27093
27094
27095static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27096 PyObject *resultobj;
27097 wxTreeItemId *result;
27098 char *kwnames[] = {
27099 NULL
27100 };
27101
27102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27103 {
27104 PyThreadState* __tstate = wxPyBeginAllowThreads();
27105 result = (wxTreeItemId *)new wxTreeItemId();
27106
27107 wxPyEndAllowThreads(__tstate);
27108 if (PyErr_Occurred()) SWIG_fail;
27109 }
27110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27111 return resultobj;
27112 fail:
27113 return NULL;
27114}
27115
27116
27117static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27118 PyObject *resultobj;
27119 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27120 PyObject * obj0 = 0 ;
27121 char *kwnames[] = {
27122 (char *) "self", NULL
27123 };
27124
27125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
27126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27127 if (SWIG_arg_fail(1)) SWIG_fail;
27128 {
27129 PyThreadState* __tstate = wxPyBeginAllowThreads();
27130 delete arg1;
27131
27132 wxPyEndAllowThreads(__tstate);
27133 if (PyErr_Occurred()) SWIG_fail;
27134 }
27135 Py_INCREF(Py_None); resultobj = Py_None;
27136 return resultobj;
27137 fail:
27138 return NULL;
27139}
27140
27141
27142static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27143 PyObject *resultobj;
27144 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27145 bool result;
27146 PyObject * obj0 = 0 ;
27147 char *kwnames[] = {
27148 (char *) "self", NULL
27149 };
27150
27151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
27152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27153 if (SWIG_arg_fail(1)) SWIG_fail;
27154 {
27155 PyThreadState* __tstate = wxPyBeginAllowThreads();
27156 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27157
27158 wxPyEndAllowThreads(__tstate);
27159 if (PyErr_Occurred()) SWIG_fail;
27160 }
27161 {
27162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27163 }
27164 return resultobj;
27165 fail:
27166 return NULL;
27167}
27168
27169
27170static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27171 PyObject *resultobj;
27172 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27173 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27174 bool result;
27175 PyObject * obj0 = 0 ;
27176 PyObject * obj1 = 0 ;
27177 char *kwnames[] = {
27178 (char *) "self",(char *) "other", NULL
27179 };
27180
27181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
27182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27183 if (SWIG_arg_fail(1)) SWIG_fail;
27184 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27185 if (SWIG_arg_fail(2)) SWIG_fail;
27186 {
27187 PyThreadState* __tstate = wxPyBeginAllowThreads();
27188 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27189
27190 wxPyEndAllowThreads(__tstate);
27191 if (PyErr_Occurred()) SWIG_fail;
27192 }
27193 {
27194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27195 }
27196 return resultobj;
27197 fail:
27198 return NULL;
27199}
27200
27201
27202static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27203 PyObject *resultobj;
27204 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27205 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27206 bool result;
27207 PyObject * obj0 = 0 ;
27208 PyObject * obj1 = 0 ;
27209 char *kwnames[] = {
27210 (char *) "self",(char *) "other", NULL
27211 };
27212
27213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
27214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27215 if (SWIG_arg_fail(1)) SWIG_fail;
27216 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27217 if (SWIG_arg_fail(2)) SWIG_fail;
27218 {
27219 PyThreadState* __tstate = wxPyBeginAllowThreads();
27220 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27221
27222 wxPyEndAllowThreads(__tstate);
27223 if (PyErr_Occurred()) SWIG_fail;
27224 }
27225 {
27226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27227 }
27228 return resultobj;
27229 fail:
27230 return NULL;
27231}
27232
27233
27234static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27235 PyObject *resultobj;
27236 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27237 void *arg2 = (void *) 0 ;
27238 PyObject * obj0 = 0 ;
27239 PyObject * obj1 = 0 ;
27240 char *kwnames[] = {
27241 (char *) "self",(char *) "m_pItem", NULL
27242 };
27243
27244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27246 if (SWIG_arg_fail(1)) SWIG_fail;
27247 {
27248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27249 SWIG_arg_fail(2);SWIG_fail;
27250 }
27251 }
27252 if (arg1) (arg1)->m_pItem = arg2;
27253
27254 Py_INCREF(Py_None); resultobj = Py_None;
27255 return resultobj;
27256 fail:
27257 return NULL;
27258}
27259
27260
27261static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27262 PyObject *resultobj;
27263 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27264 void *result;
27265 PyObject * obj0 = 0 ;
27266 char *kwnames[] = {
27267 (char *) "self", NULL
27268 };
27269
27270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27272 if (SWIG_arg_fail(1)) SWIG_fail;
27273 result = (void *) ((arg1)->m_pItem);
27274
27275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27276 return resultobj;
27277 fail:
27278 return NULL;
27279}
27280
27281
27282static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27283 PyObject *obj;
27284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27285 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27286 Py_INCREF(obj);
27287 return Py_BuildValue((char *)"");
27288}
27289static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27290 PyObject *resultobj;
27291 PyObject *arg1 = (PyObject *) NULL ;
27292 wxPyTreeItemData *result;
27293 PyObject * obj0 = 0 ;
27294 char *kwnames[] = {
27295 (char *) "obj", NULL
27296 };
27297
27298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27299 if (obj0) {
27300 arg1 = obj0;
27301 }
27302 {
27303 PyThreadState* __tstate = wxPyBeginAllowThreads();
27304 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27305
27306 wxPyEndAllowThreads(__tstate);
27307 if (PyErr_Occurred()) SWIG_fail;
27308 }
27309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27310 return resultobj;
27311 fail:
27312 return NULL;
27313}
27314
27315
27316static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27317 PyObject *resultobj;
27318 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27319 PyObject *result;
27320 PyObject * obj0 = 0 ;
27321 char *kwnames[] = {
27322 (char *) "self", NULL
27323 };
27324
27325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
27326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27327 if (SWIG_arg_fail(1)) SWIG_fail;
27328 {
27329 PyThreadState* __tstate = wxPyBeginAllowThreads();
27330 result = (PyObject *)(arg1)->GetData();
27331
27332 wxPyEndAllowThreads(__tstate);
27333 if (PyErr_Occurred()) SWIG_fail;
27334 }
27335 resultobj = result;
27336 return resultobj;
27337 fail:
27338 return NULL;
27339}
27340
27341
27342static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27343 PyObject *resultobj;
27344 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27345 PyObject *arg2 = (PyObject *) 0 ;
27346 PyObject * obj0 = 0 ;
27347 PyObject * obj1 = 0 ;
27348 char *kwnames[] = {
27349 (char *) "self",(char *) "obj", NULL
27350 };
27351
27352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27354 if (SWIG_arg_fail(1)) SWIG_fail;
27355 arg2 = obj1;
27356 {
27357 PyThreadState* __tstate = wxPyBeginAllowThreads();
27358 (arg1)->SetData(arg2);
27359
27360 wxPyEndAllowThreads(__tstate);
27361 if (PyErr_Occurred()) SWIG_fail;
27362 }
27363 Py_INCREF(Py_None); resultobj = Py_None;
27364 return resultobj;
27365 fail:
27366 return NULL;
27367}
27368
27369
27370static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27371 PyObject *resultobj;
27372 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27373 wxTreeItemId *result;
27374 PyObject * obj0 = 0 ;
27375 char *kwnames[] = {
27376 (char *) "self", NULL
27377 };
27378
27379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27381 if (SWIG_arg_fail(1)) SWIG_fail;
27382 {
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
27384 {
27385 wxTreeItemId const &_result_ref = (arg1)->GetId();
27386 result = (wxTreeItemId *) &_result_ref;
27387 }
27388
27389 wxPyEndAllowThreads(__tstate);
27390 if (PyErr_Occurred()) SWIG_fail;
27391 }
27392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27393 return resultobj;
27394 fail:
27395 return NULL;
27396}
27397
27398
27399static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27400 PyObject *resultobj;
27401 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27402 wxTreeItemId *arg2 = 0 ;
27403 PyObject * obj0 = 0 ;
27404 PyObject * obj1 = 0 ;
27405 char *kwnames[] = {
27406 (char *) "self",(char *) "id", NULL
27407 };
27408
27409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27411 if (SWIG_arg_fail(1)) SWIG_fail;
27412 {
27413 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27414 if (SWIG_arg_fail(2)) SWIG_fail;
27415 if (arg2 == NULL) {
27416 SWIG_null_ref("wxTreeItemId");
27417 }
27418 if (SWIG_arg_fail(2)) SWIG_fail;
27419 }
27420 {
27421 PyThreadState* __tstate = wxPyBeginAllowThreads();
27422 (arg1)->SetId((wxTreeItemId const &)*arg2);
27423
27424 wxPyEndAllowThreads(__tstate);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 Py_INCREF(Py_None); resultobj = Py_None;
27428 return resultobj;
27429 fail:
27430 return NULL;
27431}
27432
27433
27434static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27435 PyObject *resultobj;
27436 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27437 PyObject * obj0 = 0 ;
27438 char *kwnames[] = {
27439 (char *) "self", NULL
27440 };
27441
27442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27444 if (SWIG_arg_fail(1)) SWIG_fail;
27445 {
27446 PyThreadState* __tstate = wxPyBeginAllowThreads();
27447 wxPyTreeItemData_Destroy(arg1);
27448
27449 wxPyEndAllowThreads(__tstate);
27450 if (PyErr_Occurred()) SWIG_fail;
27451 }
27452 Py_INCREF(Py_None); resultobj = Py_None;
27453 return resultobj;
27454 fail:
27455 return NULL;
27456}
27457
27458
27459static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27460 PyObject *obj;
27461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27462 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27463 Py_INCREF(obj);
27464 return Py_BuildValue((char *)"");
27465}
27466static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27467 PyObject *resultobj;
27468 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27469 int arg2 = (int) 0 ;
27470 wxTreeEvent *result;
27471 PyObject * obj0 = 0 ;
27472 PyObject * obj1 = 0 ;
27473 char *kwnames[] = {
27474 (char *) "commandType",(char *) "id", NULL
27475 };
27476
27477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27478 if (obj0) {
27479 {
27480 arg1 = (wxEventType)(SWIG_As_int(obj0));
27481 if (SWIG_arg_fail(1)) SWIG_fail;
27482 }
27483 }
27484 if (obj1) {
27485 {
27486 arg2 = (int)(SWIG_As_int(obj1));
27487 if (SWIG_arg_fail(2)) SWIG_fail;
27488 }
27489 }
27490 {
27491 PyThreadState* __tstate = wxPyBeginAllowThreads();
27492 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27493
27494 wxPyEndAllowThreads(__tstate);
27495 if (PyErr_Occurred()) SWIG_fail;
27496 }
27497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27498 return resultobj;
27499 fail:
27500 return NULL;
27501}
27502
27503
27504static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27505 PyObject *resultobj;
27506 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27507 wxTreeItemId result;
27508 PyObject * obj0 = 0 ;
27509 char *kwnames[] = {
27510 (char *) "self", NULL
27511 };
27512
27513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27515 if (SWIG_arg_fail(1)) SWIG_fail;
27516 {
27517 PyThreadState* __tstate = wxPyBeginAllowThreads();
27518 result = ((wxTreeEvent const *)arg1)->GetItem();
27519
27520 wxPyEndAllowThreads(__tstate);
27521 if (PyErr_Occurred()) SWIG_fail;
27522 }
27523 {
27524 wxTreeItemId * resultptr;
27525 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27527 }
27528 return resultobj;
27529 fail:
27530 return NULL;
27531}
27532
27533
27534static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27535 PyObject *resultobj;
27536 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27537 wxTreeItemId *arg2 = 0 ;
27538 PyObject * obj0 = 0 ;
27539 PyObject * obj1 = 0 ;
27540 char *kwnames[] = {
27541 (char *) "self",(char *) "item", NULL
27542 };
27543
27544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27546 if (SWIG_arg_fail(1)) SWIG_fail;
27547 {
27548 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27549 if (SWIG_arg_fail(2)) SWIG_fail;
27550 if (arg2 == NULL) {
27551 SWIG_null_ref("wxTreeItemId");
27552 }
27553 if (SWIG_arg_fail(2)) SWIG_fail;
27554 }
27555 {
27556 PyThreadState* __tstate = wxPyBeginAllowThreads();
27557 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27558
27559 wxPyEndAllowThreads(__tstate);
27560 if (PyErr_Occurred()) SWIG_fail;
27561 }
27562 Py_INCREF(Py_None); resultobj = Py_None;
27563 return resultobj;
27564 fail:
27565 return NULL;
27566}
27567
27568
27569static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27570 PyObject *resultobj;
27571 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27572 wxTreeItemId result;
27573 PyObject * obj0 = 0 ;
27574 char *kwnames[] = {
27575 (char *) "self", NULL
27576 };
27577
27578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27580 if (SWIG_arg_fail(1)) SWIG_fail;
27581 {
27582 PyThreadState* __tstate = wxPyBeginAllowThreads();
27583 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27584
27585 wxPyEndAllowThreads(__tstate);
27586 if (PyErr_Occurred()) SWIG_fail;
27587 }
27588 {
27589 wxTreeItemId * resultptr;
27590 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27591 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27592 }
27593 return resultobj;
27594 fail:
27595 return NULL;
27596}
27597
27598
27599static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27600 PyObject *resultobj;
27601 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27602 wxTreeItemId *arg2 = 0 ;
27603 PyObject * obj0 = 0 ;
27604 PyObject * obj1 = 0 ;
27605 char *kwnames[] = {
27606 (char *) "self",(char *) "item", NULL
27607 };
27608
27609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27611 if (SWIG_arg_fail(1)) SWIG_fail;
27612 {
27613 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27614 if (SWIG_arg_fail(2)) SWIG_fail;
27615 if (arg2 == NULL) {
27616 SWIG_null_ref("wxTreeItemId");
27617 }
27618 if (SWIG_arg_fail(2)) SWIG_fail;
27619 }
27620 {
27621 PyThreadState* __tstate = wxPyBeginAllowThreads();
27622 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27623
27624 wxPyEndAllowThreads(__tstate);
27625 if (PyErr_Occurred()) SWIG_fail;
27626 }
27627 Py_INCREF(Py_None); resultobj = Py_None;
27628 return resultobj;
27629 fail:
27630 return NULL;
27631}
27632
27633
27634static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27635 PyObject *resultobj;
27636 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27637 wxPoint result;
27638 PyObject * obj0 = 0 ;
27639 char *kwnames[] = {
27640 (char *) "self", NULL
27641 };
27642
27643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27645 if (SWIG_arg_fail(1)) SWIG_fail;
27646 {
27647 PyThreadState* __tstate = wxPyBeginAllowThreads();
27648 result = ((wxTreeEvent const *)arg1)->GetPoint();
27649
27650 wxPyEndAllowThreads(__tstate);
27651 if (PyErr_Occurred()) SWIG_fail;
27652 }
27653 {
27654 wxPoint * resultptr;
27655 resultptr = new wxPoint((wxPoint &)(result));
27656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27657 }
27658 return resultobj;
27659 fail:
27660 return NULL;
27661}
27662
27663
27664static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27665 PyObject *resultobj;
27666 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27667 wxPoint *arg2 = 0 ;
27668 wxPoint temp2 ;
27669 PyObject * obj0 = 0 ;
27670 PyObject * obj1 = 0 ;
27671 char *kwnames[] = {
27672 (char *) "self",(char *) "pt", NULL
27673 };
27674
27675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27677 if (SWIG_arg_fail(1)) SWIG_fail;
27678 {
27679 arg2 = &temp2;
27680 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27681 }
27682 {
27683 PyThreadState* __tstate = wxPyBeginAllowThreads();
27684 (arg1)->SetPoint((wxPoint const &)*arg2);
27685
27686 wxPyEndAllowThreads(__tstate);
27687 if (PyErr_Occurred()) SWIG_fail;
27688 }
27689 Py_INCREF(Py_None); resultobj = Py_None;
27690 return resultobj;
27691 fail:
27692 return NULL;
27693}
27694
27695
27696static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27697 PyObject *resultobj;
27698 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27699 wxKeyEvent *result;
27700 PyObject * obj0 = 0 ;
27701 char *kwnames[] = {
27702 (char *) "self", NULL
27703 };
27704
27705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27707 if (SWIG_arg_fail(1)) SWIG_fail;
27708 {
27709 PyThreadState* __tstate = wxPyBeginAllowThreads();
27710 {
27711 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27712 result = (wxKeyEvent *) &_result_ref;
27713 }
27714
27715 wxPyEndAllowThreads(__tstate);
27716 if (PyErr_Occurred()) SWIG_fail;
27717 }
27718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27719 return resultobj;
27720 fail:
27721 return NULL;
27722}
27723
27724
27725static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27726 PyObject *resultobj;
27727 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27728 int result;
27729 PyObject * obj0 = 0 ;
27730 char *kwnames[] = {
27731 (char *) "self", NULL
27732 };
27733
27734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27736 if (SWIG_arg_fail(1)) SWIG_fail;
27737 {
27738 PyThreadState* __tstate = wxPyBeginAllowThreads();
27739 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27740
27741 wxPyEndAllowThreads(__tstate);
27742 if (PyErr_Occurred()) SWIG_fail;
27743 }
27744 {
27745 resultobj = SWIG_From_int((int)(result));
27746 }
27747 return resultobj;
27748 fail:
27749 return NULL;
27750}
27751
27752
27753static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27754 PyObject *resultobj;
27755 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27756 wxKeyEvent *arg2 = 0 ;
27757 PyObject * obj0 = 0 ;
27758 PyObject * obj1 = 0 ;
27759 char *kwnames[] = {
27760 (char *) "self",(char *) "evt", NULL
27761 };
27762
27763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
27764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27765 if (SWIG_arg_fail(1)) SWIG_fail;
27766 {
27767 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27768 if (SWIG_arg_fail(2)) SWIG_fail;
27769 if (arg2 == NULL) {
27770 SWIG_null_ref("wxKeyEvent");
27771 }
27772 if (SWIG_arg_fail(2)) SWIG_fail;
27773 }
27774 {
27775 PyThreadState* __tstate = wxPyBeginAllowThreads();
27776 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27777
27778 wxPyEndAllowThreads(__tstate);
27779 if (PyErr_Occurred()) SWIG_fail;
27780 }
27781 Py_INCREF(Py_None); resultobj = Py_None;
27782 return resultobj;
27783 fail:
27784 return NULL;
27785}
27786
27787
27788static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27789 PyObject *resultobj;
27790 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27791 wxString *result;
27792 PyObject * obj0 = 0 ;
27793 char *kwnames[] = {
27794 (char *) "self", NULL
27795 };
27796
27797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
27798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27799 if (SWIG_arg_fail(1)) SWIG_fail;
27800 {
27801 PyThreadState* __tstate = wxPyBeginAllowThreads();
27802 {
27803 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27804 result = (wxString *) &_result_ref;
27805 }
27806
27807 wxPyEndAllowThreads(__tstate);
27808 if (PyErr_Occurred()) SWIG_fail;
27809 }
27810 {
27811#if wxUSE_UNICODE
27812 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27813#else
27814 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27815#endif
27816 }
27817 return resultobj;
27818 fail:
27819 return NULL;
27820}
27821
27822
27823static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27824 PyObject *resultobj;
27825 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27826 wxString *arg2 = 0 ;
27827 bool temp2 = false ;
27828 PyObject * obj0 = 0 ;
27829 PyObject * obj1 = 0 ;
27830 char *kwnames[] = {
27831 (char *) "self",(char *) "label", NULL
27832 };
27833
27834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27836 if (SWIG_arg_fail(1)) SWIG_fail;
27837 {
27838 arg2 = wxString_in_helper(obj1);
27839 if (arg2 == NULL) SWIG_fail;
27840 temp2 = true;
27841 }
27842 {
27843 PyThreadState* __tstate = wxPyBeginAllowThreads();
27844 (arg1)->SetLabel((wxString const &)*arg2);
27845
27846 wxPyEndAllowThreads(__tstate);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 }
27849 Py_INCREF(Py_None); resultobj = Py_None;
27850 {
27851 if (temp2)
27852 delete arg2;
27853 }
27854 return resultobj;
27855 fail:
27856 {
27857 if (temp2)
27858 delete arg2;
27859 }
27860 return NULL;
27861}
27862
27863
27864static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27865 PyObject *resultobj;
27866 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27867 bool result;
27868 PyObject * obj0 = 0 ;
27869 char *kwnames[] = {
27870 (char *) "self", NULL
27871 };
27872
27873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27875 if (SWIG_arg_fail(1)) SWIG_fail;
27876 {
27877 PyThreadState* __tstate = wxPyBeginAllowThreads();
27878 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27879
27880 wxPyEndAllowThreads(__tstate);
27881 if (PyErr_Occurred()) SWIG_fail;
27882 }
27883 {
27884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27885 }
27886 return resultobj;
27887 fail:
27888 return NULL;
27889}
27890
27891
27892static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27893 PyObject *resultobj;
27894 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27895 bool arg2 ;
27896 PyObject * obj0 = 0 ;
27897 PyObject * obj1 = 0 ;
27898 char *kwnames[] = {
27899 (char *) "self",(char *) "editCancelled", NULL
27900 };
27901
27902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
27903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27904 if (SWIG_arg_fail(1)) SWIG_fail;
27905 {
27906 arg2 = (bool)(SWIG_As_bool(obj1));
27907 if (SWIG_arg_fail(2)) SWIG_fail;
27908 }
27909 {
27910 PyThreadState* __tstate = wxPyBeginAllowThreads();
27911 (arg1)->SetEditCanceled(arg2);
27912
27913 wxPyEndAllowThreads(__tstate);
27914 if (PyErr_Occurred()) SWIG_fail;
27915 }
27916 Py_INCREF(Py_None); resultobj = Py_None;
27917 return resultobj;
27918 fail:
27919 return NULL;
27920}
27921
27922
27923static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27924 PyObject *resultobj;
27925 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27926 wxString *arg2 = 0 ;
27927 bool temp2 = false ;
27928 PyObject * obj0 = 0 ;
27929 PyObject * obj1 = 0 ;
27930 char *kwnames[] = {
27931 (char *) "self",(char *) "toolTip", NULL
27932 };
27933
27934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27936 if (SWIG_arg_fail(1)) SWIG_fail;
27937 {
27938 arg2 = wxString_in_helper(obj1);
27939 if (arg2 == NULL) SWIG_fail;
27940 temp2 = true;
27941 }
27942 {
27943 PyThreadState* __tstate = wxPyBeginAllowThreads();
27944 (arg1)->SetToolTip((wxString const &)*arg2);
27945
27946 wxPyEndAllowThreads(__tstate);
27947 if (PyErr_Occurred()) SWIG_fail;
27948 }
27949 Py_INCREF(Py_None); resultobj = Py_None;
27950 {
27951 if (temp2)
27952 delete arg2;
27953 }
27954 return resultobj;
27955 fail:
27956 {
27957 if (temp2)
27958 delete arg2;
27959 }
27960 return NULL;
27961}
27962
27963
27964static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27965 PyObject *resultobj;
27966 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27967 wxString result;
27968 PyObject * obj0 = 0 ;
27969 char *kwnames[] = {
27970 (char *) "self", NULL
27971 };
27972
27973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27975 if (SWIG_arg_fail(1)) SWIG_fail;
27976 {
27977 PyThreadState* __tstate = wxPyBeginAllowThreads();
27978 result = (arg1)->GetToolTip();
27979
27980 wxPyEndAllowThreads(__tstate);
27981 if (PyErr_Occurred()) SWIG_fail;
27982 }
27983 {
27984#if wxUSE_UNICODE
27985 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27986#else
27987 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27988#endif
27989 }
27990 return resultobj;
27991 fail:
27992 return NULL;
27993}
27994
27995
27996static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
27997 PyObject *obj;
27998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27999 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
28000 Py_INCREF(obj);
28001 return Py_BuildValue((char *)"");
28002}
28003static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28004 PyObject *resultobj;
28005 wxWindow *arg1 = (wxWindow *) 0 ;
28006 int arg2 = (int) -1 ;
28007 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28008 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28009 wxSize const &arg4_defvalue = wxDefaultSize ;
28010 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28011 long arg5 = (long) wxTR_DEFAULT_STYLE ;
28012 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28013 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28014 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
28015 wxString *arg7 = (wxString *) &arg7_defvalue ;
28016 wxPyTreeCtrl *result;
28017 wxPoint temp3 ;
28018 wxSize temp4 ;
28019 bool temp7 = false ;
28020 PyObject * obj0 = 0 ;
28021 PyObject * obj1 = 0 ;
28022 PyObject * obj2 = 0 ;
28023 PyObject * obj3 = 0 ;
28024 PyObject * obj4 = 0 ;
28025 PyObject * obj5 = 0 ;
28026 PyObject * obj6 = 0 ;
28027 char *kwnames[] = {
28028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28029 };
28030
28031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28033 if (SWIG_arg_fail(1)) SWIG_fail;
28034 if (obj1) {
28035 {
28036 arg2 = (int)(SWIG_As_int(obj1));
28037 if (SWIG_arg_fail(2)) SWIG_fail;
28038 }
28039 }
28040 if (obj2) {
28041 {
28042 arg3 = &temp3;
28043 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28044 }
28045 }
28046 if (obj3) {
28047 {
28048 arg4 = &temp4;
28049 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28050 }
28051 }
28052 if (obj4) {
28053 {
28054 arg5 = (long)(SWIG_As_long(obj4));
28055 if (SWIG_arg_fail(5)) SWIG_fail;
28056 }
28057 }
28058 if (obj5) {
28059 {
28060 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28061 if (SWIG_arg_fail(6)) SWIG_fail;
28062 if (arg6 == NULL) {
28063 SWIG_null_ref("wxValidator");
28064 }
28065 if (SWIG_arg_fail(6)) SWIG_fail;
28066 }
28067 }
28068 if (obj6) {
28069 {
28070 arg7 = wxString_in_helper(obj6);
28071 if (arg7 == NULL) SWIG_fail;
28072 temp7 = true;
28073 }
28074 }
28075 {
28076 if (!wxPyCheckForApp()) SWIG_fail;
28077 PyThreadState* __tstate = wxPyBeginAllowThreads();
28078 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28079
28080 wxPyEndAllowThreads(__tstate);
28081 if (PyErr_Occurred()) SWIG_fail;
28082 }
28083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28084 {
28085 if (temp7)
28086 delete arg7;
28087 }
28088 return resultobj;
28089 fail:
28090 {
28091 if (temp7)
28092 delete arg7;
28093 }
28094 return NULL;
28095}
28096
28097
28098static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28099 PyObject *resultobj;
28100 wxPyTreeCtrl *result;
28101 char *kwnames[] = {
28102 NULL
28103 };
28104
28105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28106 {
28107 if (!wxPyCheckForApp()) SWIG_fail;
28108 PyThreadState* __tstate = wxPyBeginAllowThreads();
28109 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28110
28111 wxPyEndAllowThreads(__tstate);
28112 if (PyErr_Occurred()) SWIG_fail;
28113 }
28114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28115 return resultobj;
28116 fail:
28117 return NULL;
28118}
28119
28120
28121static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28122 PyObject *resultobj;
28123 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28124 wxWindow *arg2 = (wxWindow *) 0 ;
28125 int arg3 = (int) -1 ;
28126 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28127 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28128 wxSize const &arg5_defvalue = wxDefaultSize ;
28129 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28130 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28131 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28132 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28133 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28134 wxString *arg8 = (wxString *) &arg8_defvalue ;
28135 bool result;
28136 wxPoint temp4 ;
28137 wxSize temp5 ;
28138 bool temp8 = false ;
28139 PyObject * obj0 = 0 ;
28140 PyObject * obj1 = 0 ;
28141 PyObject * obj2 = 0 ;
28142 PyObject * obj3 = 0 ;
28143 PyObject * obj4 = 0 ;
28144 PyObject * obj5 = 0 ;
28145 PyObject * obj6 = 0 ;
28146 PyObject * obj7 = 0 ;
28147 char *kwnames[] = {
28148 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28149 };
28150
28151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28153 if (SWIG_arg_fail(1)) SWIG_fail;
28154 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28155 if (SWIG_arg_fail(2)) SWIG_fail;
28156 if (obj2) {
28157 {
28158 arg3 = (int)(SWIG_As_int(obj2));
28159 if (SWIG_arg_fail(3)) SWIG_fail;
28160 }
28161 }
28162 if (obj3) {
28163 {
28164 arg4 = &temp4;
28165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28166 }
28167 }
28168 if (obj4) {
28169 {
28170 arg5 = &temp5;
28171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28172 }
28173 }
28174 if (obj5) {
28175 {
28176 arg6 = (long)(SWIG_As_long(obj5));
28177 if (SWIG_arg_fail(6)) SWIG_fail;
28178 }
28179 }
28180 if (obj6) {
28181 {
28182 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28183 if (SWIG_arg_fail(7)) SWIG_fail;
28184 if (arg7 == NULL) {
28185 SWIG_null_ref("wxValidator");
28186 }
28187 if (SWIG_arg_fail(7)) SWIG_fail;
28188 }
28189 }
28190 if (obj7) {
28191 {
28192 arg8 = wxString_in_helper(obj7);
28193 if (arg8 == NULL) SWIG_fail;
28194 temp8 = true;
28195 }
28196 }
28197 {
28198 PyThreadState* __tstate = wxPyBeginAllowThreads();
28199 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28200
28201 wxPyEndAllowThreads(__tstate);
28202 if (PyErr_Occurred()) SWIG_fail;
28203 }
28204 {
28205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28206 }
28207 {
28208 if (temp8)
28209 delete arg8;
28210 }
28211 return resultobj;
28212 fail:
28213 {
28214 if (temp8)
28215 delete arg8;
28216 }
28217 return NULL;
28218}
28219
28220
28221static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28222 PyObject *resultobj;
28223 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28224 PyObject *arg2 = (PyObject *) 0 ;
28225 PyObject *arg3 = (PyObject *) 0 ;
28226 PyObject * obj0 = 0 ;
28227 PyObject * obj1 = 0 ;
28228 PyObject * obj2 = 0 ;
28229 char *kwnames[] = {
28230 (char *) "self",(char *) "self",(char *) "_class", NULL
28231 };
28232
28233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28235 if (SWIG_arg_fail(1)) SWIG_fail;
28236 arg2 = obj1;
28237 arg3 = obj2;
28238 {
28239 PyThreadState* __tstate = wxPyBeginAllowThreads();
28240 (arg1)->_setCallbackInfo(arg2,arg3);
28241
28242 wxPyEndAllowThreads(__tstate);
28243 if (PyErr_Occurred()) SWIG_fail;
28244 }
28245 Py_INCREF(Py_None); resultobj = Py_None;
28246 return resultobj;
28247 fail:
28248 return NULL;
28249}
28250
28251
28252static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28253 PyObject *resultobj;
28254 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28255 size_t result;
28256 PyObject * obj0 = 0 ;
28257 char *kwnames[] = {
28258 (char *) "self", NULL
28259 };
28260
28261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28263 if (SWIG_arg_fail(1)) SWIG_fail;
28264 {
28265 PyThreadState* __tstate = wxPyBeginAllowThreads();
28266 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28267
28268 wxPyEndAllowThreads(__tstate);
28269 if (PyErr_Occurred()) SWIG_fail;
28270 }
28271 {
28272 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28273 }
28274 return resultobj;
28275 fail:
28276 return NULL;
28277}
28278
28279
28280static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28281 PyObject *resultobj;
28282 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28283 unsigned int result;
28284 PyObject * obj0 = 0 ;
28285 char *kwnames[] = {
28286 (char *) "self", NULL
28287 };
28288
28289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28291 if (SWIG_arg_fail(1)) SWIG_fail;
28292 {
28293 PyThreadState* __tstate = wxPyBeginAllowThreads();
28294 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28295
28296 wxPyEndAllowThreads(__tstate);
28297 if (PyErr_Occurred()) SWIG_fail;
28298 }
28299 {
28300 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28301 }
28302 return resultobj;
28303 fail:
28304 return NULL;
28305}
28306
28307
28308static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28309 PyObject *resultobj;
28310 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28311 unsigned int arg2 ;
28312 PyObject * obj0 = 0 ;
28313 PyObject * obj1 = 0 ;
28314 char *kwnames[] = {
28315 (char *) "self",(char *) "indent", NULL
28316 };
28317
28318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28320 if (SWIG_arg_fail(1)) SWIG_fail;
28321 {
28322 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28323 if (SWIG_arg_fail(2)) SWIG_fail;
28324 }
28325 {
28326 PyThreadState* __tstate = wxPyBeginAllowThreads();
28327 (arg1)->SetIndent(arg2);
28328
28329 wxPyEndAllowThreads(__tstate);
28330 if (PyErr_Occurred()) SWIG_fail;
28331 }
28332 Py_INCREF(Py_None); resultobj = Py_None;
28333 return resultobj;
28334 fail:
28335 return NULL;
28336}
28337
28338
28339static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28340 PyObject *resultobj;
28341 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28342 unsigned int result;
28343 PyObject * obj0 = 0 ;
28344 char *kwnames[] = {
28345 (char *) "self", NULL
28346 };
28347
28348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28350 if (SWIG_arg_fail(1)) SWIG_fail;
28351 {
28352 PyThreadState* __tstate = wxPyBeginAllowThreads();
28353 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28354
28355 wxPyEndAllowThreads(__tstate);
28356 if (PyErr_Occurred()) SWIG_fail;
28357 }
28358 {
28359 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28360 }
28361 return resultobj;
28362 fail:
28363 return NULL;
28364}
28365
28366
28367static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28368 PyObject *resultobj;
28369 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28370 unsigned int arg2 ;
28371 PyObject * obj0 = 0 ;
28372 PyObject * obj1 = 0 ;
28373 char *kwnames[] = {
28374 (char *) "self",(char *) "spacing", NULL
28375 };
28376
28377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
28378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28379 if (SWIG_arg_fail(1)) SWIG_fail;
28380 {
28381 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28382 if (SWIG_arg_fail(2)) SWIG_fail;
28383 }
28384 {
28385 PyThreadState* __tstate = wxPyBeginAllowThreads();
28386 (arg1)->SetSpacing(arg2);
28387
28388 wxPyEndAllowThreads(__tstate);
28389 if (PyErr_Occurred()) SWIG_fail;
28390 }
28391 Py_INCREF(Py_None); resultobj = Py_None;
28392 return resultobj;
28393 fail:
28394 return NULL;
28395}
28396
28397
28398static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28399 PyObject *resultobj;
28400 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28401 wxImageList *result;
28402 PyObject * obj0 = 0 ;
28403 char *kwnames[] = {
28404 (char *) "self", NULL
28405 };
28406
28407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28409 if (SWIG_arg_fail(1)) SWIG_fail;
28410 {
28411 PyThreadState* __tstate = wxPyBeginAllowThreads();
28412 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28413
28414 wxPyEndAllowThreads(__tstate);
28415 if (PyErr_Occurred()) SWIG_fail;
28416 }
28417 {
28418 resultobj = wxPyMake_wxObject(result, 0);
28419 }
28420 return resultobj;
28421 fail:
28422 return NULL;
28423}
28424
28425
28426static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28427 PyObject *resultobj;
28428 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28429 wxImageList *result;
28430 PyObject * obj0 = 0 ;
28431 char *kwnames[] = {
28432 (char *) "self", NULL
28433 };
28434
28435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28437 if (SWIG_arg_fail(1)) SWIG_fail;
28438 {
28439 PyThreadState* __tstate = wxPyBeginAllowThreads();
28440 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28441
28442 wxPyEndAllowThreads(__tstate);
28443 if (PyErr_Occurred()) SWIG_fail;
28444 }
28445 {
28446 resultobj = wxPyMake_wxObject(result, 0);
28447 }
28448 return resultobj;
28449 fail:
28450 return NULL;
28451}
28452
28453
28454static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28455 PyObject *resultobj;
28456 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28457 wxImageList *arg2 = (wxImageList *) 0 ;
28458 PyObject * obj0 = 0 ;
28459 PyObject * obj1 = 0 ;
28460 char *kwnames[] = {
28461 (char *) "self",(char *) "imageList", NULL
28462 };
28463
28464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28466 if (SWIG_arg_fail(1)) SWIG_fail;
28467 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28468 if (SWIG_arg_fail(2)) SWIG_fail;
28469 {
28470 PyThreadState* __tstate = wxPyBeginAllowThreads();
28471 (arg1)->SetImageList(arg2);
28472
28473 wxPyEndAllowThreads(__tstate);
28474 if (PyErr_Occurred()) SWIG_fail;
28475 }
28476 Py_INCREF(Py_None); resultobj = Py_None;
28477 return resultobj;
28478 fail:
28479 return NULL;
28480}
28481
28482
28483static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28484 PyObject *resultobj;
28485 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28486 wxImageList *arg2 = (wxImageList *) 0 ;
28487 PyObject * obj0 = 0 ;
28488 PyObject * obj1 = 0 ;
28489 char *kwnames[] = {
28490 (char *) "self",(char *) "imageList", NULL
28491 };
28492
28493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28495 if (SWIG_arg_fail(1)) SWIG_fail;
28496 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28497 if (SWIG_arg_fail(2)) SWIG_fail;
28498 {
28499 PyThreadState* __tstate = wxPyBeginAllowThreads();
28500 (arg1)->SetStateImageList(arg2);
28501
28502 wxPyEndAllowThreads(__tstate);
28503 if (PyErr_Occurred()) SWIG_fail;
28504 }
28505 Py_INCREF(Py_None); resultobj = Py_None;
28506 return resultobj;
28507 fail:
28508 return NULL;
28509}
28510
28511
28512static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28513 PyObject *resultobj;
28514 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28515 wxImageList *arg2 = (wxImageList *) 0 ;
28516 PyObject * obj0 = 0 ;
28517 PyObject * obj1 = 0 ;
28518 char *kwnames[] = {
28519 (char *) "self",(char *) "imageList", NULL
28520 };
28521
28522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28524 if (SWIG_arg_fail(1)) SWIG_fail;
28525 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28526 if (SWIG_arg_fail(2)) SWIG_fail;
28527 {
28528 PyThreadState* __tstate = wxPyBeginAllowThreads();
28529 (arg1)->AssignImageList(arg2);
28530
28531 wxPyEndAllowThreads(__tstate);
28532 if (PyErr_Occurred()) SWIG_fail;
28533 }
28534 Py_INCREF(Py_None); resultobj = Py_None;
28535 return resultobj;
28536 fail:
28537 return NULL;
28538}
28539
28540
28541static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28542 PyObject *resultobj;
28543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28544 wxImageList *arg2 = (wxImageList *) 0 ;
28545 PyObject * obj0 = 0 ;
28546 PyObject * obj1 = 0 ;
28547 char *kwnames[] = {
28548 (char *) "self",(char *) "imageList", NULL
28549 };
28550
28551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
28552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28553 if (SWIG_arg_fail(1)) SWIG_fail;
28554 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28555 if (SWIG_arg_fail(2)) SWIG_fail;
28556 {
28557 PyThreadState* __tstate = wxPyBeginAllowThreads();
28558 (arg1)->AssignStateImageList(arg2);
28559
28560 wxPyEndAllowThreads(__tstate);
28561 if (PyErr_Occurred()) SWIG_fail;
28562 }
28563 Py_INCREF(Py_None); resultobj = Py_None;
28564 return resultobj;
28565 fail:
28566 return NULL;
28567}
28568
28569
28570static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28571 PyObject *resultobj;
28572 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28573 wxTreeItemId *arg2 = 0 ;
28574 wxString result;
28575 PyObject * obj0 = 0 ;
28576 PyObject * obj1 = 0 ;
28577 char *kwnames[] = {
28578 (char *) "self",(char *) "item", NULL
28579 };
28580
28581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28583 if (SWIG_arg_fail(1)) SWIG_fail;
28584 {
28585 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28586 if (SWIG_arg_fail(2)) SWIG_fail;
28587 if (arg2 == NULL) {
28588 SWIG_null_ref("wxTreeItemId");
28589 }
28590 if (SWIG_arg_fail(2)) SWIG_fail;
28591 }
28592 {
28593 PyThreadState* __tstate = wxPyBeginAllowThreads();
28594 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28595
28596 wxPyEndAllowThreads(__tstate);
28597 if (PyErr_Occurred()) SWIG_fail;
28598 }
28599 {
28600#if wxUSE_UNICODE
28601 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28602#else
28603 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28604#endif
28605 }
28606 return resultobj;
28607 fail:
28608 return NULL;
28609}
28610
28611
28612static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28613 PyObject *resultobj;
28614 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28615 wxTreeItemId *arg2 = 0 ;
28616 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28617 int result;
28618 PyObject * obj0 = 0 ;
28619 PyObject * obj1 = 0 ;
28620 PyObject * obj2 = 0 ;
28621 char *kwnames[] = {
28622 (char *) "self",(char *) "item",(char *) "which", NULL
28623 };
28624
28625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28627 if (SWIG_arg_fail(1)) SWIG_fail;
28628 {
28629 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28630 if (SWIG_arg_fail(2)) SWIG_fail;
28631 if (arg2 == NULL) {
28632 SWIG_null_ref("wxTreeItemId");
28633 }
28634 if (SWIG_arg_fail(2)) SWIG_fail;
28635 }
28636 if (obj2) {
28637 {
28638 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28639 if (SWIG_arg_fail(3)) SWIG_fail;
28640 }
28641 }
28642 {
28643 PyThreadState* __tstate = wxPyBeginAllowThreads();
28644 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28645
28646 wxPyEndAllowThreads(__tstate);
28647 if (PyErr_Occurred()) SWIG_fail;
28648 }
28649 {
28650 resultobj = SWIG_From_int((int)(result));
28651 }
28652 return resultobj;
28653 fail:
28654 return NULL;
28655}
28656
28657
28658static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28659 PyObject *resultobj;
28660 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28661 wxTreeItemId *arg2 = 0 ;
28662 wxPyTreeItemData *result;
28663 PyObject * obj0 = 0 ;
28664 PyObject * obj1 = 0 ;
28665 char *kwnames[] = {
28666 (char *) "self",(char *) "item", NULL
28667 };
28668
28669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28671 if (SWIG_arg_fail(1)) SWIG_fail;
28672 {
28673 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28674 if (SWIG_arg_fail(2)) SWIG_fail;
28675 if (arg2 == NULL) {
28676 SWIG_null_ref("wxTreeItemId");
28677 }
28678 if (SWIG_arg_fail(2)) SWIG_fail;
28679 }
28680 {
28681 PyThreadState* __tstate = wxPyBeginAllowThreads();
28682 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28683
28684 wxPyEndAllowThreads(__tstate);
28685 if (PyErr_Occurred()) SWIG_fail;
28686 }
28687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28688 return resultobj;
28689 fail:
28690 return NULL;
28691}
28692
28693
28694static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28695 PyObject *resultobj;
28696 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28697 wxTreeItemId *arg2 = 0 ;
28698 PyObject *result;
28699 PyObject * obj0 = 0 ;
28700 PyObject * obj1 = 0 ;
28701 char *kwnames[] = {
28702 (char *) "self",(char *) "item", NULL
28703 };
28704
28705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28707 if (SWIG_arg_fail(1)) SWIG_fail;
28708 {
28709 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28710 if (SWIG_arg_fail(2)) SWIG_fail;
28711 if (arg2 == NULL) {
28712 SWIG_null_ref("wxTreeItemId");
28713 }
28714 if (SWIG_arg_fail(2)) SWIG_fail;
28715 }
28716 {
28717 PyThreadState* __tstate = wxPyBeginAllowThreads();
28718 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28719
28720 wxPyEndAllowThreads(__tstate);
28721 if (PyErr_Occurred()) SWIG_fail;
28722 }
28723 resultobj = result;
28724 return resultobj;
28725 fail:
28726 return NULL;
28727}
28728
28729
28730static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28731 PyObject *resultobj;
28732 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28733 wxTreeItemId *arg2 = 0 ;
28734 wxColour result;
28735 PyObject * obj0 = 0 ;
28736 PyObject * obj1 = 0 ;
28737 char *kwnames[] = {
28738 (char *) "self",(char *) "item", NULL
28739 };
28740
28741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
28742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28743 if (SWIG_arg_fail(1)) SWIG_fail;
28744 {
28745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28746 if (SWIG_arg_fail(2)) SWIG_fail;
28747 if (arg2 == NULL) {
28748 SWIG_null_ref("wxTreeItemId");
28749 }
28750 if (SWIG_arg_fail(2)) SWIG_fail;
28751 }
28752 {
28753 PyThreadState* __tstate = wxPyBeginAllowThreads();
28754 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28755
28756 wxPyEndAllowThreads(__tstate);
28757 if (PyErr_Occurred()) SWIG_fail;
28758 }
28759 {
28760 wxColour * resultptr;
28761 resultptr = new wxColour((wxColour &)(result));
28762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28763 }
28764 return resultobj;
28765 fail:
28766 return NULL;
28767}
28768
28769
28770static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28771 PyObject *resultobj;
28772 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28773 wxTreeItemId *arg2 = 0 ;
28774 wxColour result;
28775 PyObject * obj0 = 0 ;
28776 PyObject * obj1 = 0 ;
28777 char *kwnames[] = {
28778 (char *) "self",(char *) "item", NULL
28779 };
28780
28781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28783 if (SWIG_arg_fail(1)) SWIG_fail;
28784 {
28785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28786 if (SWIG_arg_fail(2)) SWIG_fail;
28787 if (arg2 == NULL) {
28788 SWIG_null_ref("wxTreeItemId");
28789 }
28790 if (SWIG_arg_fail(2)) SWIG_fail;
28791 }
28792 {
28793 PyThreadState* __tstate = wxPyBeginAllowThreads();
28794 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28795
28796 wxPyEndAllowThreads(__tstate);
28797 if (PyErr_Occurred()) SWIG_fail;
28798 }
28799 {
28800 wxColour * resultptr;
28801 resultptr = new wxColour((wxColour &)(result));
28802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28803 }
28804 return resultobj;
28805 fail:
28806 return NULL;
28807}
28808
28809
28810static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28811 PyObject *resultobj;
28812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28813 wxTreeItemId *arg2 = 0 ;
28814 wxFont result;
28815 PyObject * obj0 = 0 ;
28816 PyObject * obj1 = 0 ;
28817 char *kwnames[] = {
28818 (char *) "self",(char *) "item", NULL
28819 };
28820
28821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28823 if (SWIG_arg_fail(1)) SWIG_fail;
28824 {
28825 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28826 if (SWIG_arg_fail(2)) SWIG_fail;
28827 if (arg2 == NULL) {
28828 SWIG_null_ref("wxTreeItemId");
28829 }
28830 if (SWIG_arg_fail(2)) SWIG_fail;
28831 }
28832 {
28833 PyThreadState* __tstate = wxPyBeginAllowThreads();
28834 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28835
28836 wxPyEndAllowThreads(__tstate);
28837 if (PyErr_Occurred()) SWIG_fail;
28838 }
28839 {
28840 wxFont * resultptr;
28841 resultptr = new wxFont((wxFont &)(result));
28842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28843 }
28844 return resultobj;
28845 fail:
28846 return NULL;
28847}
28848
28849
28850static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28851 PyObject *resultobj;
28852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28853 wxTreeItemId *arg2 = 0 ;
28854 wxString *arg3 = 0 ;
28855 bool temp3 = false ;
28856 PyObject * obj0 = 0 ;
28857 PyObject * obj1 = 0 ;
28858 PyObject * obj2 = 0 ;
28859 char *kwnames[] = {
28860 (char *) "self",(char *) "item",(char *) "text", NULL
28861 };
28862
28863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
28864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28865 if (SWIG_arg_fail(1)) SWIG_fail;
28866 {
28867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28868 if (SWIG_arg_fail(2)) SWIG_fail;
28869 if (arg2 == NULL) {
28870 SWIG_null_ref("wxTreeItemId");
28871 }
28872 if (SWIG_arg_fail(2)) SWIG_fail;
28873 }
28874 {
28875 arg3 = wxString_in_helper(obj2);
28876 if (arg3 == NULL) SWIG_fail;
28877 temp3 = true;
28878 }
28879 {
28880 PyThreadState* __tstate = wxPyBeginAllowThreads();
28881 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28882
28883 wxPyEndAllowThreads(__tstate);
28884 if (PyErr_Occurred()) SWIG_fail;
28885 }
28886 Py_INCREF(Py_None); resultobj = Py_None;
28887 {
28888 if (temp3)
28889 delete arg3;
28890 }
28891 return resultobj;
28892 fail:
28893 {
28894 if (temp3)
28895 delete arg3;
28896 }
28897 return NULL;
28898}
28899
28900
28901static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28902 PyObject *resultobj;
28903 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28904 wxTreeItemId *arg2 = 0 ;
28905 int arg3 ;
28906 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28907 PyObject * obj0 = 0 ;
28908 PyObject * obj1 = 0 ;
28909 PyObject * obj2 = 0 ;
28910 PyObject * obj3 = 0 ;
28911 char *kwnames[] = {
28912 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28913 };
28914
28915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28917 if (SWIG_arg_fail(1)) SWIG_fail;
28918 {
28919 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28920 if (SWIG_arg_fail(2)) SWIG_fail;
28921 if (arg2 == NULL) {
28922 SWIG_null_ref("wxTreeItemId");
28923 }
28924 if (SWIG_arg_fail(2)) SWIG_fail;
28925 }
28926 {
28927 arg3 = (int)(SWIG_As_int(obj2));
28928 if (SWIG_arg_fail(3)) SWIG_fail;
28929 }
28930 if (obj3) {
28931 {
28932 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28933 if (SWIG_arg_fail(4)) SWIG_fail;
28934 }
28935 }
28936 {
28937 PyThreadState* __tstate = wxPyBeginAllowThreads();
28938 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28939
28940 wxPyEndAllowThreads(__tstate);
28941 if (PyErr_Occurred()) SWIG_fail;
28942 }
28943 Py_INCREF(Py_None); resultobj = Py_None;
28944 return resultobj;
28945 fail:
28946 return NULL;
28947}
28948
28949
28950static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28951 PyObject *resultobj;
28952 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28953 wxTreeItemId *arg2 = 0 ;
28954 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28955 PyObject * obj0 = 0 ;
28956 PyObject * obj1 = 0 ;
28957 PyObject * obj2 = 0 ;
28958 char *kwnames[] = {
28959 (char *) "self",(char *) "item",(char *) "data", NULL
28960 };
28961
28962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28964 if (SWIG_arg_fail(1)) SWIG_fail;
28965 {
28966 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28967 if (SWIG_arg_fail(2)) SWIG_fail;
28968 if (arg2 == NULL) {
28969 SWIG_null_ref("wxTreeItemId");
28970 }
28971 if (SWIG_arg_fail(2)) SWIG_fail;
28972 }
28973 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28974 if (SWIG_arg_fail(3)) SWIG_fail;
28975 {
28976 PyThreadState* __tstate = wxPyBeginAllowThreads();
28977 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28978
28979 wxPyEndAllowThreads(__tstate);
28980 if (PyErr_Occurred()) SWIG_fail;
28981 }
28982 Py_INCREF(Py_None); resultobj = Py_None;
28983 return resultobj;
28984 fail:
28985 return NULL;
28986}
28987
28988
28989static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28990 PyObject *resultobj;
28991 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28992 wxTreeItemId *arg2 = 0 ;
28993 PyObject *arg3 = (PyObject *) 0 ;
28994 PyObject * obj0 = 0 ;
28995 PyObject * obj1 = 0 ;
28996 PyObject * obj2 = 0 ;
28997 char *kwnames[] = {
28998 (char *) "self",(char *) "item",(char *) "obj", NULL
28999 };
29000
29001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
29002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29003 if (SWIG_arg_fail(1)) SWIG_fail;
29004 {
29005 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29006 if (SWIG_arg_fail(2)) SWIG_fail;
29007 if (arg2 == NULL) {
29008 SWIG_null_ref("wxTreeItemId");
29009 }
29010 if (SWIG_arg_fail(2)) SWIG_fail;
29011 }
29012 arg3 = obj2;
29013 {
29014 PyThreadState* __tstate = wxPyBeginAllowThreads();
29015 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
29016
29017 wxPyEndAllowThreads(__tstate);
29018 if (PyErr_Occurred()) SWIG_fail;
29019 }
29020 Py_INCREF(Py_None); resultobj = Py_None;
29021 return resultobj;
29022 fail:
29023 return NULL;
29024}
29025
29026
29027static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29028 PyObject *resultobj;
29029 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29030 wxTreeItemId *arg2 = 0 ;
29031 bool arg3 = (bool) true ;
29032 PyObject * obj0 = 0 ;
29033 PyObject * obj1 = 0 ;
29034 PyObject * obj2 = 0 ;
29035 char *kwnames[] = {
29036 (char *) "self",(char *) "item",(char *) "has", NULL
29037 };
29038
29039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
29040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29041 if (SWIG_arg_fail(1)) SWIG_fail;
29042 {
29043 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29044 if (SWIG_arg_fail(2)) SWIG_fail;
29045 if (arg2 == NULL) {
29046 SWIG_null_ref("wxTreeItemId");
29047 }
29048 if (SWIG_arg_fail(2)) SWIG_fail;
29049 }
29050 if (obj2) {
29051 {
29052 arg3 = (bool)(SWIG_As_bool(obj2));
29053 if (SWIG_arg_fail(3)) SWIG_fail;
29054 }
29055 }
29056 {
29057 PyThreadState* __tstate = wxPyBeginAllowThreads();
29058 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
29059
29060 wxPyEndAllowThreads(__tstate);
29061 if (PyErr_Occurred()) SWIG_fail;
29062 }
29063 Py_INCREF(Py_None); resultobj = Py_None;
29064 return resultobj;
29065 fail:
29066 return NULL;
29067}
29068
29069
29070static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
29071 PyObject *resultobj;
29072 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29073 wxTreeItemId *arg2 = 0 ;
29074 bool arg3 = (bool) true ;
29075 PyObject * obj0 = 0 ;
29076 PyObject * obj1 = 0 ;
29077 PyObject * obj2 = 0 ;
29078 char *kwnames[] = {
29079 (char *) "self",(char *) "item",(char *) "bold", NULL
29080 };
29081
29082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
29083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29084 if (SWIG_arg_fail(1)) SWIG_fail;
29085 {
29086 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29087 if (SWIG_arg_fail(2)) SWIG_fail;
29088 if (arg2 == NULL) {
29089 SWIG_null_ref("wxTreeItemId");
29090 }
29091 if (SWIG_arg_fail(2)) SWIG_fail;
29092 }
29093 if (obj2) {
29094 {
29095 arg3 = (bool)(SWIG_As_bool(obj2));
29096 if (SWIG_arg_fail(3)) SWIG_fail;
29097 }
29098 }
29099 {
29100 PyThreadState* __tstate = wxPyBeginAllowThreads();
29101 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29102
29103 wxPyEndAllowThreads(__tstate);
29104 if (PyErr_Occurred()) SWIG_fail;
29105 }
29106 Py_INCREF(Py_None); resultobj = Py_None;
29107 return resultobj;
29108 fail:
29109 return NULL;
29110}
29111
29112
29113static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
29114 PyObject *resultobj;
29115 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29116 wxTreeItemId *arg2 = 0 ;
29117 bool arg3 = (bool) true ;
29118 PyObject * obj0 = 0 ;
29119 PyObject * obj1 = 0 ;
29120 PyObject * obj2 = 0 ;
29121 char *kwnames[] = {
29122 (char *) "self",(char *) "item",(char *) "highlight", NULL
29123 };
29124
29125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
29126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29127 if (SWIG_arg_fail(1)) SWIG_fail;
29128 {
29129 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29130 if (SWIG_arg_fail(2)) SWIG_fail;
29131 if (arg2 == NULL) {
29132 SWIG_null_ref("wxTreeItemId");
29133 }
29134 if (SWIG_arg_fail(2)) SWIG_fail;
29135 }
29136 if (obj2) {
29137 {
29138 arg3 = (bool)(SWIG_As_bool(obj2));
29139 if (SWIG_arg_fail(3)) SWIG_fail;
29140 }
29141 }
29142 {
29143 PyThreadState* __tstate = wxPyBeginAllowThreads();
29144 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29145
29146 wxPyEndAllowThreads(__tstate);
29147 if (PyErr_Occurred()) SWIG_fail;
29148 }
29149 Py_INCREF(Py_None); resultobj = Py_None;
29150 return resultobj;
29151 fail:
29152 return NULL;
29153}
29154
29155
29156static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29157 PyObject *resultobj;
29158 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29159 wxTreeItemId *arg2 = 0 ;
29160 wxColour *arg3 = 0 ;
29161 wxColour temp3 ;
29162 PyObject * obj0 = 0 ;
29163 PyObject * obj1 = 0 ;
29164 PyObject * obj2 = 0 ;
29165 char *kwnames[] = {
29166 (char *) "self",(char *) "item",(char *) "col", NULL
29167 };
29168
29169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29171 if (SWIG_arg_fail(1)) SWIG_fail;
29172 {
29173 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29174 if (SWIG_arg_fail(2)) SWIG_fail;
29175 if (arg2 == NULL) {
29176 SWIG_null_ref("wxTreeItemId");
29177 }
29178 if (SWIG_arg_fail(2)) SWIG_fail;
29179 }
29180 {
29181 arg3 = &temp3;
29182 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29183 }
29184 {
29185 PyThreadState* __tstate = wxPyBeginAllowThreads();
29186 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29187
29188 wxPyEndAllowThreads(__tstate);
29189 if (PyErr_Occurred()) SWIG_fail;
29190 }
29191 Py_INCREF(Py_None); resultobj = Py_None;
29192 return resultobj;
29193 fail:
29194 return NULL;
29195}
29196
29197
29198static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29199 PyObject *resultobj;
29200 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29201 wxTreeItemId *arg2 = 0 ;
29202 wxColour *arg3 = 0 ;
29203 wxColour temp3 ;
29204 PyObject * obj0 = 0 ;
29205 PyObject * obj1 = 0 ;
29206 PyObject * obj2 = 0 ;
29207 char *kwnames[] = {
29208 (char *) "self",(char *) "item",(char *) "col", NULL
29209 };
29210
29211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29213 if (SWIG_arg_fail(1)) SWIG_fail;
29214 {
29215 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29216 if (SWIG_arg_fail(2)) SWIG_fail;
29217 if (arg2 == NULL) {
29218 SWIG_null_ref("wxTreeItemId");
29219 }
29220 if (SWIG_arg_fail(2)) SWIG_fail;
29221 }
29222 {
29223 arg3 = &temp3;
29224 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29225 }
29226 {
29227 PyThreadState* __tstate = wxPyBeginAllowThreads();
29228 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29229
29230 wxPyEndAllowThreads(__tstate);
29231 if (PyErr_Occurred()) SWIG_fail;
29232 }
29233 Py_INCREF(Py_None); resultobj = Py_None;
29234 return resultobj;
29235 fail:
29236 return NULL;
29237}
29238
29239
29240static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29241 PyObject *resultobj;
29242 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29243 wxTreeItemId *arg2 = 0 ;
29244 wxFont *arg3 = 0 ;
29245 PyObject * obj0 = 0 ;
29246 PyObject * obj1 = 0 ;
29247 PyObject * obj2 = 0 ;
29248 char *kwnames[] = {
29249 (char *) "self",(char *) "item",(char *) "font", NULL
29250 };
29251
29252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29254 if (SWIG_arg_fail(1)) SWIG_fail;
29255 {
29256 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29257 if (SWIG_arg_fail(2)) SWIG_fail;
29258 if (arg2 == NULL) {
29259 SWIG_null_ref("wxTreeItemId");
29260 }
29261 if (SWIG_arg_fail(2)) SWIG_fail;
29262 }
29263 {
29264 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29265 if (SWIG_arg_fail(3)) SWIG_fail;
29266 if (arg3 == NULL) {
29267 SWIG_null_ref("wxFont");
29268 }
29269 if (SWIG_arg_fail(3)) SWIG_fail;
29270 }
29271 {
29272 PyThreadState* __tstate = wxPyBeginAllowThreads();
29273 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29274
29275 wxPyEndAllowThreads(__tstate);
29276 if (PyErr_Occurred()) SWIG_fail;
29277 }
29278 Py_INCREF(Py_None); resultobj = Py_None;
29279 return resultobj;
29280 fail:
29281 return NULL;
29282}
29283
29284
29285static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29286 PyObject *resultobj;
29287 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29288 wxTreeItemId *arg2 = 0 ;
29289 bool result;
29290 PyObject * obj0 = 0 ;
29291 PyObject * obj1 = 0 ;
29292 char *kwnames[] = {
29293 (char *) "self",(char *) "item", NULL
29294 };
29295
29296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
29297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29298 if (SWIG_arg_fail(1)) SWIG_fail;
29299 {
29300 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29301 if (SWIG_arg_fail(2)) SWIG_fail;
29302 if (arg2 == NULL) {
29303 SWIG_null_ref("wxTreeItemId");
29304 }
29305 if (SWIG_arg_fail(2)) SWIG_fail;
29306 }
29307 {
29308 PyThreadState* __tstate = wxPyBeginAllowThreads();
29309 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29310
29311 wxPyEndAllowThreads(__tstate);
29312 if (PyErr_Occurred()) SWIG_fail;
29313 }
29314 {
29315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29316 }
29317 return resultobj;
29318 fail:
29319 return NULL;
29320}
29321
29322
29323static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29324 PyObject *resultobj;
29325 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29326 wxTreeItemId *arg2 = 0 ;
29327 bool result;
29328 PyObject * obj0 = 0 ;
29329 PyObject * obj1 = 0 ;
29330 char *kwnames[] = {
29331 (char *) "self",(char *) "item", NULL
29332 };
29333
29334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
29335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29336 if (SWIG_arg_fail(1)) SWIG_fail;
29337 {
29338 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29339 if (SWIG_arg_fail(2)) SWIG_fail;
29340 if (arg2 == NULL) {
29341 SWIG_null_ref("wxTreeItemId");
29342 }
29343 if (SWIG_arg_fail(2)) SWIG_fail;
29344 }
29345 {
29346 PyThreadState* __tstate = wxPyBeginAllowThreads();
29347 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29348
29349 wxPyEndAllowThreads(__tstate);
29350 if (PyErr_Occurred()) SWIG_fail;
29351 }
29352 {
29353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29354 }
29355 return resultobj;
29356 fail:
29357 return NULL;
29358}
29359
29360
29361static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
29362 PyObject *resultobj;
29363 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29364 wxTreeItemId *arg2 = 0 ;
29365 bool result;
29366 PyObject * obj0 = 0 ;
29367 PyObject * obj1 = 0 ;
29368 char *kwnames[] = {
29369 (char *) "self",(char *) "item", NULL
29370 };
29371
29372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
29373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29374 if (SWIG_arg_fail(1)) SWIG_fail;
29375 {
29376 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29377 if (SWIG_arg_fail(2)) SWIG_fail;
29378 if (arg2 == NULL) {
29379 SWIG_null_ref("wxTreeItemId");
29380 }
29381 if (SWIG_arg_fail(2)) SWIG_fail;
29382 }
29383 {
29384 PyThreadState* __tstate = wxPyBeginAllowThreads();
29385 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29386
29387 wxPyEndAllowThreads(__tstate);
29388 if (PyErr_Occurred()) SWIG_fail;
29389 }
29390 {
29391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29392 }
29393 return resultobj;
29394 fail:
29395 return NULL;
29396}
29397
29398
29399static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
29400 PyObject *resultobj;
29401 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29402 wxTreeItemId *arg2 = 0 ;
29403 bool result;
29404 PyObject * obj0 = 0 ;
29405 PyObject * obj1 = 0 ;
29406 char *kwnames[] = {
29407 (char *) "self",(char *) "item", NULL
29408 };
29409
29410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
29411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29412 if (SWIG_arg_fail(1)) SWIG_fail;
29413 {
29414 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29415 if (SWIG_arg_fail(2)) SWIG_fail;
29416 if (arg2 == NULL) {
29417 SWIG_null_ref("wxTreeItemId");
29418 }
29419 if (SWIG_arg_fail(2)) SWIG_fail;
29420 }
29421 {
29422 PyThreadState* __tstate = wxPyBeginAllowThreads();
29423 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29424
29425 wxPyEndAllowThreads(__tstate);
29426 if (PyErr_Occurred()) SWIG_fail;
29427 }
29428 {
29429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29430 }
29431 return resultobj;
29432 fail:
29433 return NULL;
29434}
29435
29436
29437static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29438 PyObject *resultobj;
29439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29440 wxTreeItemId *arg2 = 0 ;
29441 bool result;
29442 PyObject * obj0 = 0 ;
29443 PyObject * obj1 = 0 ;
29444 char *kwnames[] = {
29445 (char *) "self",(char *) "item", NULL
29446 };
29447
29448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29450 if (SWIG_arg_fail(1)) SWIG_fail;
29451 {
29452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29453 if (SWIG_arg_fail(2)) SWIG_fail;
29454 if (arg2 == NULL) {
29455 SWIG_null_ref("wxTreeItemId");
29456 }
29457 if (SWIG_arg_fail(2)) SWIG_fail;
29458 }
29459 {
29460 PyThreadState* __tstate = wxPyBeginAllowThreads();
29461 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29462
29463 wxPyEndAllowThreads(__tstate);
29464 if (PyErr_Occurred()) SWIG_fail;
29465 }
29466 {
29467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29468 }
29469 return resultobj;
29470 fail:
29471 return NULL;
29472}
29473
29474
29475static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29476 PyObject *resultobj;
29477 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29478 wxTreeItemId *arg2 = 0 ;
29479 bool arg3 = (bool) true ;
29480 size_t result;
29481 PyObject * obj0 = 0 ;
29482 PyObject * obj1 = 0 ;
29483 PyObject * obj2 = 0 ;
29484 char *kwnames[] = {
29485 (char *) "self",(char *) "item",(char *) "recursively", NULL
29486 };
29487
29488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29490 if (SWIG_arg_fail(1)) SWIG_fail;
29491 {
29492 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29493 if (SWIG_arg_fail(2)) SWIG_fail;
29494 if (arg2 == NULL) {
29495 SWIG_null_ref("wxTreeItemId");
29496 }
29497 if (SWIG_arg_fail(2)) SWIG_fail;
29498 }
29499 if (obj2) {
29500 {
29501 arg3 = (bool)(SWIG_As_bool(obj2));
29502 if (SWIG_arg_fail(3)) SWIG_fail;
29503 }
29504 }
29505 {
29506 PyThreadState* __tstate = wxPyBeginAllowThreads();
29507 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29508
29509 wxPyEndAllowThreads(__tstate);
29510 if (PyErr_Occurred()) SWIG_fail;
29511 }
29512 {
29513 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29514 }
29515 return resultobj;
29516 fail:
29517 return NULL;
29518}
29519
29520
29521static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29522 PyObject *resultobj;
29523 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29524 wxTreeItemId result;
29525 PyObject * obj0 = 0 ;
29526 char *kwnames[] = {
29527 (char *) "self", NULL
29528 };
29529
29530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29532 if (SWIG_arg_fail(1)) SWIG_fail;
29533 {
29534 PyThreadState* __tstate = wxPyBeginAllowThreads();
29535 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29536
29537 wxPyEndAllowThreads(__tstate);
29538 if (PyErr_Occurred()) SWIG_fail;
29539 }
29540 {
29541 wxTreeItemId * resultptr;
29542 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29544 }
29545 return resultobj;
29546 fail:
29547 return NULL;
29548}
29549
29550
29551static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29552 PyObject *resultobj;
29553 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29554 wxTreeItemId result;
29555 PyObject * obj0 = 0 ;
29556 char *kwnames[] = {
29557 (char *) "self", NULL
29558 };
29559
29560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29562 if (SWIG_arg_fail(1)) SWIG_fail;
29563 {
29564 PyThreadState* __tstate = wxPyBeginAllowThreads();
29565 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29566
29567 wxPyEndAllowThreads(__tstate);
29568 if (PyErr_Occurred()) SWIG_fail;
29569 }
29570 {
29571 wxTreeItemId * resultptr;
29572 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29574 }
29575 return resultobj;
29576 fail:
29577 return NULL;
29578}
29579
29580
29581static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29582 PyObject *resultobj;
29583 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29584 PyObject *result;
29585 PyObject * obj0 = 0 ;
29586 char *kwnames[] = {
29587 (char *) "self", NULL
29588 };
29589
29590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29592 if (SWIG_arg_fail(1)) SWIG_fail;
29593 {
29594 PyThreadState* __tstate = wxPyBeginAllowThreads();
29595 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29596
29597 wxPyEndAllowThreads(__tstate);
29598 if (PyErr_Occurred()) SWIG_fail;
29599 }
29600 resultobj = result;
29601 return resultobj;
29602 fail:
29603 return NULL;
29604}
29605
29606
29607static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29608 PyObject *resultobj;
29609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29610 wxTreeItemId *arg2 = 0 ;
29611 wxTreeItemId result;
29612 PyObject * obj0 = 0 ;
29613 PyObject * obj1 = 0 ;
29614 char *kwnames[] = {
29615 (char *) "self",(char *) "item", NULL
29616 };
29617
29618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29620 if (SWIG_arg_fail(1)) SWIG_fail;
29621 {
29622 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29623 if (SWIG_arg_fail(2)) SWIG_fail;
29624 if (arg2 == NULL) {
29625 SWIG_null_ref("wxTreeItemId");
29626 }
29627 if (SWIG_arg_fail(2)) SWIG_fail;
29628 }
29629 {
29630 PyThreadState* __tstate = wxPyBeginAllowThreads();
29631 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29632
29633 wxPyEndAllowThreads(__tstate);
29634 if (PyErr_Occurred()) SWIG_fail;
29635 }
29636 {
29637 wxTreeItemId * resultptr;
29638 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29640 }
29641 return resultobj;
29642 fail:
29643 return NULL;
29644}
29645
29646
29647static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29648 PyObject *resultobj;
29649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29650 wxTreeItemId *arg2 = 0 ;
29651 PyObject *result;
29652 PyObject * obj0 = 0 ;
29653 PyObject * obj1 = 0 ;
29654 char *kwnames[] = {
29655 (char *) "self",(char *) "item", NULL
29656 };
29657
29658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
29659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29660 if (SWIG_arg_fail(1)) SWIG_fail;
29661 {
29662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29663 if (SWIG_arg_fail(2)) SWIG_fail;
29664 if (arg2 == NULL) {
29665 SWIG_null_ref("wxTreeItemId");
29666 }
29667 if (SWIG_arg_fail(2)) SWIG_fail;
29668 }
29669 {
29670 PyThreadState* __tstate = wxPyBeginAllowThreads();
29671 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29672
29673 wxPyEndAllowThreads(__tstate);
29674 if (PyErr_Occurred()) SWIG_fail;
29675 }
29676 resultobj = result;
29677 return resultobj;
29678 fail:
29679 return NULL;
29680}
29681
29682
29683static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29684 PyObject *resultobj;
29685 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29686 wxTreeItemId *arg2 = 0 ;
29687 void *arg3 = (void *) 0 ;
29688 PyObject *result;
29689 PyObject * obj0 = 0 ;
29690 PyObject * obj1 = 0 ;
29691 PyObject * obj2 = 0 ;
29692 char *kwnames[] = {
29693 (char *) "self",(char *) "item",(char *) "cookie", NULL
29694 };
29695
29696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29698 if (SWIG_arg_fail(1)) SWIG_fail;
29699 {
29700 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29701 if (SWIG_arg_fail(2)) SWIG_fail;
29702 if (arg2 == NULL) {
29703 SWIG_null_ref("wxTreeItemId");
29704 }
29705 if (SWIG_arg_fail(2)) SWIG_fail;
29706 }
29707 {
29708 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29709 SWIG_arg_fail(3);SWIG_fail;
29710 }
29711 }
29712 {
29713 PyThreadState* __tstate = wxPyBeginAllowThreads();
29714 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29715
29716 wxPyEndAllowThreads(__tstate);
29717 if (PyErr_Occurred()) SWIG_fail;
29718 }
29719 resultobj = result;
29720 return resultobj;
29721 fail:
29722 return NULL;
29723}
29724
29725
29726static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29727 PyObject *resultobj;
29728 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29729 wxTreeItemId *arg2 = 0 ;
29730 wxTreeItemId result;
29731 PyObject * obj0 = 0 ;
29732 PyObject * obj1 = 0 ;
29733 char *kwnames[] = {
29734 (char *) "self",(char *) "item", NULL
29735 };
29736
29737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29739 if (SWIG_arg_fail(1)) SWIG_fail;
29740 {
29741 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29742 if (SWIG_arg_fail(2)) SWIG_fail;
29743 if (arg2 == NULL) {
29744 SWIG_null_ref("wxTreeItemId");
29745 }
29746 if (SWIG_arg_fail(2)) SWIG_fail;
29747 }
29748 {
29749 PyThreadState* __tstate = wxPyBeginAllowThreads();
29750 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29751
29752 wxPyEndAllowThreads(__tstate);
29753 if (PyErr_Occurred()) SWIG_fail;
29754 }
29755 {
29756 wxTreeItemId * resultptr;
29757 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29758 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29759 }
29760 return resultobj;
29761 fail:
29762 return NULL;
29763}
29764
29765
29766static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29767 PyObject *resultobj;
29768 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29769 wxTreeItemId *arg2 = 0 ;
29770 wxTreeItemId result;
29771 PyObject * obj0 = 0 ;
29772 PyObject * obj1 = 0 ;
29773 char *kwnames[] = {
29774 (char *) "self",(char *) "item", NULL
29775 };
29776
29777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29779 if (SWIG_arg_fail(1)) SWIG_fail;
29780 {
29781 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29782 if (SWIG_arg_fail(2)) SWIG_fail;
29783 if (arg2 == NULL) {
29784 SWIG_null_ref("wxTreeItemId");
29785 }
29786 if (SWIG_arg_fail(2)) SWIG_fail;
29787 }
29788 {
29789 PyThreadState* __tstate = wxPyBeginAllowThreads();
29790 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29791
29792 wxPyEndAllowThreads(__tstate);
29793 if (PyErr_Occurred()) SWIG_fail;
29794 }
29795 {
29796 wxTreeItemId * resultptr;
29797 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29799 }
29800 return resultobj;
29801 fail:
29802 return NULL;
29803}
29804
29805
29806static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29807 PyObject *resultobj;
29808 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29809 wxTreeItemId *arg2 = 0 ;
29810 wxTreeItemId result;
29811 PyObject * obj0 = 0 ;
29812 PyObject * obj1 = 0 ;
29813 char *kwnames[] = {
29814 (char *) "self",(char *) "item", NULL
29815 };
29816
29817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
29818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29819 if (SWIG_arg_fail(1)) SWIG_fail;
29820 {
29821 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29822 if (SWIG_arg_fail(2)) SWIG_fail;
29823 if (arg2 == NULL) {
29824 SWIG_null_ref("wxTreeItemId");
29825 }
29826 if (SWIG_arg_fail(2)) SWIG_fail;
29827 }
29828 {
29829 PyThreadState* __tstate = wxPyBeginAllowThreads();
29830 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29831
29832 wxPyEndAllowThreads(__tstate);
29833 if (PyErr_Occurred()) SWIG_fail;
29834 }
29835 {
29836 wxTreeItemId * resultptr;
29837 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29839 }
29840 return resultobj;
29841 fail:
29842 return NULL;
29843}
29844
29845
29846static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29847 PyObject *resultobj;
29848 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29849 wxTreeItemId result;
29850 PyObject * obj0 = 0 ;
29851 char *kwnames[] = {
29852 (char *) "self", NULL
29853 };
29854
29855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29857 if (SWIG_arg_fail(1)) SWIG_fail;
29858 {
29859 PyThreadState* __tstate = wxPyBeginAllowThreads();
29860 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29861
29862 wxPyEndAllowThreads(__tstate);
29863 if (PyErr_Occurred()) SWIG_fail;
29864 }
29865 {
29866 wxTreeItemId * resultptr;
29867 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29868 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29869 }
29870 return resultobj;
29871 fail:
29872 return NULL;
29873}
29874
29875
29876static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29877 PyObject *resultobj;
29878 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29879 wxTreeItemId *arg2 = 0 ;
29880 wxTreeItemId result;
29881 PyObject * obj0 = 0 ;
29882 PyObject * obj1 = 0 ;
29883 char *kwnames[] = {
29884 (char *) "self",(char *) "item", NULL
29885 };
29886
29887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29889 if (SWIG_arg_fail(1)) SWIG_fail;
29890 {
29891 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29892 if (SWIG_arg_fail(2)) SWIG_fail;
29893 if (arg2 == NULL) {
29894 SWIG_null_ref("wxTreeItemId");
29895 }
29896 if (SWIG_arg_fail(2)) SWIG_fail;
29897 }
29898 {
29899 PyThreadState* __tstate = wxPyBeginAllowThreads();
29900 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29901
29902 wxPyEndAllowThreads(__tstate);
29903 if (PyErr_Occurred()) SWIG_fail;
29904 }
29905 {
29906 wxTreeItemId * resultptr;
29907 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29908 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29909 }
29910 return resultobj;
29911 fail:
29912 return NULL;
29913}
29914
29915
29916static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29917 PyObject *resultobj;
29918 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29919 wxTreeItemId *arg2 = 0 ;
29920 wxTreeItemId result;
29921 PyObject * obj0 = 0 ;
29922 PyObject * obj1 = 0 ;
29923 char *kwnames[] = {
29924 (char *) "self",(char *) "item", NULL
29925 };
29926
29927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
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;
29937 }
29938 {
29939 PyThreadState* __tstate = wxPyBeginAllowThreads();
29940 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29941
29942 wxPyEndAllowThreads(__tstate);
29943 if (PyErr_Occurred()) SWIG_fail;
29944 }
29945 {
29946 wxTreeItemId * resultptr;
29947 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29948 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29949 }
29950 return resultobj;
29951 fail:
29952 return NULL;
29953}
29954
29955
29956static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
29957 PyObject *resultobj;
29958 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29959 wxString *arg2 = 0 ;
29960 int arg3 = (int) -1 ;
29961 int arg4 = (int) -1 ;
29962 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29963 wxTreeItemId result;
29964 bool temp2 = false ;
29965 PyObject * obj0 = 0 ;
29966 PyObject * obj1 = 0 ;
29967 PyObject * obj2 = 0 ;
29968 PyObject * obj3 = 0 ;
29969 PyObject * obj4 = 0 ;
29970 char *kwnames[] = {
29971 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29972 };
29973
29974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29976 if (SWIG_arg_fail(1)) SWIG_fail;
29977 {
29978 arg2 = wxString_in_helper(obj1);
29979 if (arg2 == NULL) SWIG_fail;
29980 temp2 = true;
29981 }
29982 if (obj2) {
29983 {
29984 arg3 = (int)(SWIG_As_int(obj2));
29985 if (SWIG_arg_fail(3)) SWIG_fail;
29986 }
29987 }
29988 if (obj3) {
29989 {
29990 arg4 = (int)(SWIG_As_int(obj3));
29991 if (SWIG_arg_fail(4)) SWIG_fail;
29992 }
29993 }
29994 if (obj4) {
29995 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29996 if (SWIG_arg_fail(5)) SWIG_fail;
29997 }
29998 {
29999 PyThreadState* __tstate = wxPyBeginAllowThreads();
30000 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
30001
30002 wxPyEndAllowThreads(__tstate);
30003 if (PyErr_Occurred()) SWIG_fail;
30004 }
30005 {
30006 wxTreeItemId * resultptr;
30007 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30009 }
30010 {
30011 if (temp2)
30012 delete arg2;
30013 }
30014 return resultobj;
30015 fail:
30016 {
30017 if (temp2)
30018 delete arg2;
30019 }
30020 return NULL;
30021}
30022
30023
30024static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
30025 PyObject *resultobj;
30026 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30027 wxTreeItemId *arg2 = 0 ;
30028 wxString *arg3 = 0 ;
30029 int arg4 = (int) -1 ;
30030 int arg5 = (int) -1 ;
30031 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30032 wxTreeItemId result;
30033 bool temp3 = false ;
30034 PyObject * obj0 = 0 ;
30035 PyObject * obj1 = 0 ;
30036 PyObject * obj2 = 0 ;
30037 PyObject * obj3 = 0 ;
30038 PyObject * obj4 = 0 ;
30039 PyObject * obj5 = 0 ;
30040 char *kwnames[] = {
30041 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30042 };
30043
30044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30046 if (SWIG_arg_fail(1)) SWIG_fail;
30047 {
30048 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30049 if (SWIG_arg_fail(2)) SWIG_fail;
30050 if (arg2 == NULL) {
30051 SWIG_null_ref("wxTreeItemId");
30052 }
30053 if (SWIG_arg_fail(2)) SWIG_fail;
30054 }
30055 {
30056 arg3 = wxString_in_helper(obj2);
30057 if (arg3 == NULL) SWIG_fail;
30058 temp3 = true;
30059 }
30060 if (obj3) {
30061 {
30062 arg4 = (int)(SWIG_As_int(obj3));
30063 if (SWIG_arg_fail(4)) SWIG_fail;
30064 }
30065 }
30066 if (obj4) {
30067 {
30068 arg5 = (int)(SWIG_As_int(obj4));
30069 if (SWIG_arg_fail(5)) SWIG_fail;
30070 }
30071 }
30072 if (obj5) {
30073 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30074 if (SWIG_arg_fail(6)) SWIG_fail;
30075 }
30076 {
30077 PyThreadState* __tstate = wxPyBeginAllowThreads();
30078 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30079
30080 wxPyEndAllowThreads(__tstate);
30081 if (PyErr_Occurred()) SWIG_fail;
30082 }
30083 {
30084 wxTreeItemId * resultptr;
30085 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30086 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30087 }
30088 {
30089 if (temp3)
30090 delete arg3;
30091 }
30092 return resultobj;
30093 fail:
30094 {
30095 if (temp3)
30096 delete arg3;
30097 }
30098 return NULL;
30099}
30100
30101
30102static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
30103 PyObject *resultobj;
30104 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30105 wxTreeItemId *arg2 = 0 ;
30106 wxTreeItemId *arg3 = 0 ;
30107 wxString *arg4 = 0 ;
30108 int arg5 = (int) -1 ;
30109 int arg6 = (int) -1 ;
30110 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30111 wxTreeItemId result;
30112 bool temp4 = false ;
30113 PyObject * obj0 = 0 ;
30114 PyObject * obj1 = 0 ;
30115 PyObject * obj2 = 0 ;
30116 PyObject * obj3 = 0 ;
30117 PyObject * obj4 = 0 ;
30118 PyObject * obj5 = 0 ;
30119 PyObject * obj6 = 0 ;
30120 char *kwnames[] = {
30121 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30122 };
30123
30124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30126 if (SWIG_arg_fail(1)) SWIG_fail;
30127 {
30128 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30129 if (SWIG_arg_fail(2)) SWIG_fail;
30130 if (arg2 == NULL) {
30131 SWIG_null_ref("wxTreeItemId");
30132 }
30133 if (SWIG_arg_fail(2)) SWIG_fail;
30134 }
30135 {
30136 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30137 if (SWIG_arg_fail(3)) SWIG_fail;
30138 if (arg3 == NULL) {
30139 SWIG_null_ref("wxTreeItemId");
30140 }
30141 if (SWIG_arg_fail(3)) SWIG_fail;
30142 }
30143 {
30144 arg4 = wxString_in_helper(obj3);
30145 if (arg4 == NULL) SWIG_fail;
30146 temp4 = true;
30147 }
30148 if (obj4) {
30149 {
30150 arg5 = (int)(SWIG_As_int(obj4));
30151 if (SWIG_arg_fail(5)) SWIG_fail;
30152 }
30153 }
30154 if (obj5) {
30155 {
30156 arg6 = (int)(SWIG_As_int(obj5));
30157 if (SWIG_arg_fail(6)) SWIG_fail;
30158 }
30159 }
30160 if (obj6) {
30161 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30162 if (SWIG_arg_fail(7)) SWIG_fail;
30163 }
30164 {
30165 PyThreadState* __tstate = wxPyBeginAllowThreads();
30166 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30167
30168 wxPyEndAllowThreads(__tstate);
30169 if (PyErr_Occurred()) SWIG_fail;
30170 }
30171 {
30172 wxTreeItemId * resultptr;
30173 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30175 }
30176 {
30177 if (temp4)
30178 delete arg4;
30179 }
30180 return resultobj;
30181 fail:
30182 {
30183 if (temp4)
30184 delete arg4;
30185 }
30186 return NULL;
30187}
30188
30189
30190static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
30191 PyObject *resultobj;
30192 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30193 wxTreeItemId *arg2 = 0 ;
30194 size_t arg3 ;
30195 wxString *arg4 = 0 ;
30196 int arg5 = (int) -1 ;
30197 int arg6 = (int) -1 ;
30198 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30199 wxTreeItemId result;
30200 bool temp4 = false ;
30201 PyObject * obj0 = 0 ;
30202 PyObject * obj1 = 0 ;
30203 PyObject * obj2 = 0 ;
30204 PyObject * obj3 = 0 ;
30205 PyObject * obj4 = 0 ;
30206 PyObject * obj5 = 0 ;
30207 PyObject * obj6 = 0 ;
30208 char *kwnames[] = {
30209 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30210 };
30211
30212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30214 if (SWIG_arg_fail(1)) SWIG_fail;
30215 {
30216 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30217 if (SWIG_arg_fail(2)) SWIG_fail;
30218 if (arg2 == NULL) {
30219 SWIG_null_ref("wxTreeItemId");
30220 }
30221 if (SWIG_arg_fail(2)) SWIG_fail;
30222 }
30223 {
30224 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30225 if (SWIG_arg_fail(3)) SWIG_fail;
30226 }
30227 {
30228 arg4 = wxString_in_helper(obj3);
30229 if (arg4 == NULL) SWIG_fail;
30230 temp4 = true;
30231 }
30232 if (obj4) {
30233 {
30234 arg5 = (int)(SWIG_As_int(obj4));
30235 if (SWIG_arg_fail(5)) SWIG_fail;
30236 }
30237 }
30238 if (obj5) {
30239 {
30240 arg6 = (int)(SWIG_As_int(obj5));
30241 if (SWIG_arg_fail(6)) SWIG_fail;
30242 }
30243 }
30244 if (obj6) {
30245 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30246 if (SWIG_arg_fail(7)) SWIG_fail;
30247 }
30248 {
30249 PyThreadState* __tstate = wxPyBeginAllowThreads();
30250 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30251
30252 wxPyEndAllowThreads(__tstate);
30253 if (PyErr_Occurred()) SWIG_fail;
30254 }
30255 {
30256 wxTreeItemId * resultptr;
30257 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30258 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30259 }
30260 {
30261 if (temp4)
30262 delete arg4;
30263 }
30264 return resultobj;
30265 fail:
30266 {
30267 if (temp4)
30268 delete arg4;
30269 }
30270 return NULL;
30271}
30272
30273
30274static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30275 PyObject *resultobj;
30276 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30277 wxTreeItemId *arg2 = 0 ;
30278 wxString *arg3 = 0 ;
30279 int arg4 = (int) -1 ;
30280 int arg5 = (int) -1 ;
30281 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30282 wxTreeItemId result;
30283 bool temp3 = false ;
30284 PyObject * obj0 = 0 ;
30285 PyObject * obj1 = 0 ;
30286 PyObject * obj2 = 0 ;
30287 PyObject * obj3 = 0 ;
30288 PyObject * obj4 = 0 ;
30289 PyObject * obj5 = 0 ;
30290 char *kwnames[] = {
30291 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30292 };
30293
30294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30296 if (SWIG_arg_fail(1)) SWIG_fail;
30297 {
30298 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30299 if (SWIG_arg_fail(2)) SWIG_fail;
30300 if (arg2 == NULL) {
30301 SWIG_null_ref("wxTreeItemId");
30302 }
30303 if (SWIG_arg_fail(2)) SWIG_fail;
30304 }
30305 {
30306 arg3 = wxString_in_helper(obj2);
30307 if (arg3 == NULL) SWIG_fail;
30308 temp3 = true;
30309 }
30310 if (obj3) {
30311 {
30312 arg4 = (int)(SWIG_As_int(obj3));
30313 if (SWIG_arg_fail(4)) SWIG_fail;
30314 }
30315 }
30316 if (obj4) {
30317 {
30318 arg5 = (int)(SWIG_As_int(obj4));
30319 if (SWIG_arg_fail(5)) SWIG_fail;
30320 }
30321 }
30322 if (obj5) {
30323 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30324 if (SWIG_arg_fail(6)) SWIG_fail;
30325 }
30326 {
30327 PyThreadState* __tstate = wxPyBeginAllowThreads();
30328 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30329
30330 wxPyEndAllowThreads(__tstate);
30331 if (PyErr_Occurred()) SWIG_fail;
30332 }
30333 {
30334 wxTreeItemId * resultptr;
30335 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30336 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30337 }
30338 {
30339 if (temp3)
30340 delete arg3;
30341 }
30342 return resultobj;
30343 fail:
30344 {
30345 if (temp3)
30346 delete arg3;
30347 }
30348 return NULL;
30349}
30350
30351
30352static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30353 PyObject *resultobj;
30354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30355 wxTreeItemId *arg2 = 0 ;
30356 PyObject * obj0 = 0 ;
30357 PyObject * obj1 = 0 ;
30358 char *kwnames[] = {
30359 (char *) "self",(char *) "item", NULL
30360 };
30361
30362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30364 if (SWIG_arg_fail(1)) SWIG_fail;
30365 {
30366 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30367 if (SWIG_arg_fail(2)) SWIG_fail;
30368 if (arg2 == NULL) {
30369 SWIG_null_ref("wxTreeItemId");
30370 }
30371 if (SWIG_arg_fail(2)) SWIG_fail;
30372 }
30373 {
30374 PyThreadState* __tstate = wxPyBeginAllowThreads();
30375 (arg1)->Delete((wxTreeItemId const &)*arg2);
30376
30377 wxPyEndAllowThreads(__tstate);
30378 if (PyErr_Occurred()) SWIG_fail;
30379 }
30380 Py_INCREF(Py_None); resultobj = Py_None;
30381 return resultobj;
30382 fail:
30383 return NULL;
30384}
30385
30386
30387static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30388 PyObject *resultobj;
30389 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30390 wxTreeItemId *arg2 = 0 ;
30391 PyObject * obj0 = 0 ;
30392 PyObject * obj1 = 0 ;
30393 char *kwnames[] = {
30394 (char *) "self",(char *) "item", NULL
30395 };
30396
30397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30399 if (SWIG_arg_fail(1)) SWIG_fail;
30400 {
30401 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30402 if (SWIG_arg_fail(2)) SWIG_fail;
30403 if (arg2 == NULL) {
30404 SWIG_null_ref("wxTreeItemId");
30405 }
30406 if (SWIG_arg_fail(2)) SWIG_fail;
30407 }
30408 {
30409 PyThreadState* __tstate = wxPyBeginAllowThreads();
30410 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30411
30412 wxPyEndAllowThreads(__tstate);
30413 if (PyErr_Occurred()) SWIG_fail;
30414 }
30415 Py_INCREF(Py_None); resultobj = Py_None;
30416 return resultobj;
30417 fail:
30418 return NULL;
30419}
30420
30421
30422static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30423 PyObject *resultobj;
30424 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30425 PyObject * obj0 = 0 ;
30426 char *kwnames[] = {
30427 (char *) "self", NULL
30428 };
30429
30430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30432 if (SWIG_arg_fail(1)) SWIG_fail;
30433 {
30434 PyThreadState* __tstate = wxPyBeginAllowThreads();
30435 (arg1)->DeleteAllItems();
30436
30437 wxPyEndAllowThreads(__tstate);
30438 if (PyErr_Occurred()) SWIG_fail;
30439 }
30440 Py_INCREF(Py_None); resultobj = Py_None;
30441 return resultobj;
30442 fail:
30443 return NULL;
30444}
30445
30446
30447static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30448 PyObject *resultobj;
30449 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30450 wxTreeItemId *arg2 = 0 ;
30451 PyObject * obj0 = 0 ;
30452 PyObject * obj1 = 0 ;
30453 char *kwnames[] = {
30454 (char *) "self",(char *) "item", NULL
30455 };
30456
30457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30459 if (SWIG_arg_fail(1)) SWIG_fail;
30460 {
30461 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30462 if (SWIG_arg_fail(2)) SWIG_fail;
30463 if (arg2 == NULL) {
30464 SWIG_null_ref("wxTreeItemId");
30465 }
30466 if (SWIG_arg_fail(2)) SWIG_fail;
30467 }
30468 {
30469 PyThreadState* __tstate = wxPyBeginAllowThreads();
30470 (arg1)->Expand((wxTreeItemId const &)*arg2);
30471
30472 wxPyEndAllowThreads(__tstate);
30473 if (PyErr_Occurred()) SWIG_fail;
30474 }
30475 Py_INCREF(Py_None); resultobj = Py_None;
30476 return resultobj;
30477 fail:
30478 return NULL;
30479}
30480
30481
30482static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30483 PyObject *resultobj;
30484 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30485 wxTreeItemId *arg2 = 0 ;
30486 PyObject * obj0 = 0 ;
30487 PyObject * obj1 = 0 ;
30488 char *kwnames[] = {
30489 (char *) "self",(char *) "item", NULL
30490 };
30491
30492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30494 if (SWIG_arg_fail(1)) SWIG_fail;
30495 {
30496 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30497 if (SWIG_arg_fail(2)) SWIG_fail;
30498 if (arg2 == NULL) {
30499 SWIG_null_ref("wxTreeItemId");
30500 }
30501 if (SWIG_arg_fail(2)) SWIG_fail;
30502 }
30503 {
30504 PyThreadState* __tstate = wxPyBeginAllowThreads();
30505 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30506
30507 wxPyEndAllowThreads(__tstate);
30508 if (PyErr_Occurred()) SWIG_fail;
30509 }
30510 Py_INCREF(Py_None); resultobj = Py_None;
30511 return resultobj;
30512 fail:
30513 return NULL;
30514}
30515
30516
30517static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30518 PyObject *resultobj;
30519 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30520 wxTreeItemId *arg2 = 0 ;
30521 PyObject * obj0 = 0 ;
30522 PyObject * obj1 = 0 ;
30523 char *kwnames[] = {
30524 (char *) "self",(char *) "item", NULL
30525 };
30526
30527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30529 if (SWIG_arg_fail(1)) SWIG_fail;
30530 {
30531 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30532 if (SWIG_arg_fail(2)) SWIG_fail;
30533 if (arg2 == NULL) {
30534 SWIG_null_ref("wxTreeItemId");
30535 }
30536 if (SWIG_arg_fail(2)) SWIG_fail;
30537 }
30538 {
30539 PyThreadState* __tstate = wxPyBeginAllowThreads();
30540 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30541
30542 wxPyEndAllowThreads(__tstate);
30543 if (PyErr_Occurred()) SWIG_fail;
30544 }
30545 Py_INCREF(Py_None); resultobj = Py_None;
30546 return resultobj;
30547 fail:
30548 return NULL;
30549}
30550
30551
30552static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30553 PyObject *resultobj;
30554 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30555 wxTreeItemId *arg2 = 0 ;
30556 PyObject * obj0 = 0 ;
30557 PyObject * obj1 = 0 ;
30558 char *kwnames[] = {
30559 (char *) "self",(char *) "item", NULL
30560 };
30561
30562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30564 if (SWIG_arg_fail(1)) SWIG_fail;
30565 {
30566 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30567 if (SWIG_arg_fail(2)) SWIG_fail;
30568 if (arg2 == NULL) {
30569 SWIG_null_ref("wxTreeItemId");
30570 }
30571 if (SWIG_arg_fail(2)) SWIG_fail;
30572 }
30573 {
30574 PyThreadState* __tstate = wxPyBeginAllowThreads();
30575 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30576
30577 wxPyEndAllowThreads(__tstate);
30578 if (PyErr_Occurred()) SWIG_fail;
30579 }
30580 Py_INCREF(Py_None); resultobj = Py_None;
30581 return resultobj;
30582 fail:
30583 return NULL;
30584}
30585
30586
30587static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30588 PyObject *resultobj;
30589 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30590 PyObject * obj0 = 0 ;
30591 char *kwnames[] = {
30592 (char *) "self", NULL
30593 };
30594
30595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30597 if (SWIG_arg_fail(1)) SWIG_fail;
30598 {
30599 PyThreadState* __tstate = wxPyBeginAllowThreads();
30600 (arg1)->Unselect();
30601
30602 wxPyEndAllowThreads(__tstate);
30603 if (PyErr_Occurred()) SWIG_fail;
30604 }
30605 Py_INCREF(Py_None); resultobj = Py_None;
30606 return resultobj;
30607 fail:
30608 return NULL;
30609}
30610
30611
30612static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30613 PyObject *resultobj;
30614 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30615 wxTreeItemId *arg2 = 0 ;
30616 PyObject * obj0 = 0 ;
30617 PyObject * obj1 = 0 ;
30618 char *kwnames[] = {
30619 (char *) "self",(char *) "item", NULL
30620 };
30621
30622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30624 if (SWIG_arg_fail(1)) SWIG_fail;
30625 {
30626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30627 if (SWIG_arg_fail(2)) SWIG_fail;
30628 if (arg2 == NULL) {
30629 SWIG_null_ref("wxTreeItemId");
30630 }
30631 if (SWIG_arg_fail(2)) SWIG_fail;
30632 }
30633 {
30634 PyThreadState* __tstate = wxPyBeginAllowThreads();
30635 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30636
30637 wxPyEndAllowThreads(__tstate);
30638 if (PyErr_Occurred()) SWIG_fail;
30639 }
30640 Py_INCREF(Py_None); resultobj = Py_None;
30641 return resultobj;
30642 fail:
30643 return NULL;
30644}
30645
30646
30647static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30648 PyObject *resultobj;
30649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30650 PyObject * obj0 = 0 ;
30651 char *kwnames[] = {
30652 (char *) "self", NULL
30653 };
30654
30655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30657 if (SWIG_arg_fail(1)) SWIG_fail;
30658 {
30659 PyThreadState* __tstate = wxPyBeginAllowThreads();
30660 (arg1)->UnselectAll();
30661
30662 wxPyEndAllowThreads(__tstate);
30663 if (PyErr_Occurred()) SWIG_fail;
30664 }
30665 Py_INCREF(Py_None); resultobj = Py_None;
30666 return resultobj;
30667 fail:
30668 return NULL;
30669}
30670
30671
30672static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30673 PyObject *resultobj;
30674 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30675 wxTreeItemId *arg2 = 0 ;
30676 bool arg3 = (bool) true ;
30677 PyObject * obj0 = 0 ;
30678 PyObject * obj1 = 0 ;
30679 PyObject * obj2 = 0 ;
30680 char *kwnames[] = {
30681 (char *) "self",(char *) "item",(char *) "select", NULL
30682 };
30683
30684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30686 if (SWIG_arg_fail(1)) SWIG_fail;
30687 {
30688 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30689 if (SWIG_arg_fail(2)) SWIG_fail;
30690 if (arg2 == NULL) {
30691 SWIG_null_ref("wxTreeItemId");
30692 }
30693 if (SWIG_arg_fail(2)) SWIG_fail;
30694 }
30695 if (obj2) {
30696 {
30697 arg3 = (bool)(SWIG_As_bool(obj2));
30698 if (SWIG_arg_fail(3)) SWIG_fail;
30699 }
30700 }
30701 {
30702 PyThreadState* __tstate = wxPyBeginAllowThreads();
30703 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30704
30705 wxPyEndAllowThreads(__tstate);
30706 if (PyErr_Occurred()) SWIG_fail;
30707 }
30708 Py_INCREF(Py_None); resultobj = Py_None;
30709 return resultobj;
30710 fail:
30711 return NULL;
30712}
30713
30714
30715static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30716 PyObject *resultobj;
30717 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30718 wxTreeItemId *arg2 = 0 ;
30719 PyObject * obj0 = 0 ;
30720 PyObject * obj1 = 0 ;
30721 char *kwnames[] = {
30722 (char *) "self",(char *) "item", NULL
30723 };
30724
30725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30727 if (SWIG_arg_fail(1)) SWIG_fail;
30728 {
30729 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30730 if (SWIG_arg_fail(2)) SWIG_fail;
30731 if (arg2 == NULL) {
30732 SWIG_null_ref("wxTreeItemId");
30733 }
30734 if (SWIG_arg_fail(2)) SWIG_fail;
30735 }
30736 {
30737 PyThreadState* __tstate = wxPyBeginAllowThreads();
30738 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30739
30740 wxPyEndAllowThreads(__tstate);
30741 if (PyErr_Occurred()) SWIG_fail;
30742 }
30743 Py_INCREF(Py_None); resultobj = Py_None;
30744 return resultobj;
30745 fail:
30746 return NULL;
30747}
30748
30749
30750static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30751 PyObject *resultobj;
30752 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30753 wxTreeItemId *arg2 = 0 ;
30754 PyObject * obj0 = 0 ;
30755 PyObject * obj1 = 0 ;
30756 char *kwnames[] = {
30757 (char *) "self",(char *) "item", NULL
30758 };
30759
30760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
30761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30762 if (SWIG_arg_fail(1)) SWIG_fail;
30763 {
30764 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30765 if (SWIG_arg_fail(2)) SWIG_fail;
30766 if (arg2 == NULL) {
30767 SWIG_null_ref("wxTreeItemId");
30768 }
30769 if (SWIG_arg_fail(2)) SWIG_fail;
30770 }
30771 {
30772 PyThreadState* __tstate = wxPyBeginAllowThreads();
30773 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30774
30775 wxPyEndAllowThreads(__tstate);
30776 if (PyErr_Occurred()) SWIG_fail;
30777 }
30778 Py_INCREF(Py_None); resultobj = Py_None;
30779 return resultobj;
30780 fail:
30781 return NULL;
30782}
30783
30784
30785static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30786 PyObject *resultobj;
30787 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30788 wxTreeItemId *arg2 = 0 ;
30789 PyObject * obj0 = 0 ;
30790 PyObject * obj1 = 0 ;
30791 char *kwnames[] = {
30792 (char *) "self",(char *) "item", NULL
30793 };
30794
30795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30797 if (SWIG_arg_fail(1)) SWIG_fail;
30798 {
30799 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30800 if (SWIG_arg_fail(2)) SWIG_fail;
30801 if (arg2 == NULL) {
30802 SWIG_null_ref("wxTreeItemId");
30803 }
30804 if (SWIG_arg_fail(2)) SWIG_fail;
30805 }
30806 {
30807 PyThreadState* __tstate = wxPyBeginAllowThreads();
30808 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30809
30810 wxPyEndAllowThreads(__tstate);
30811 if (PyErr_Occurred()) SWIG_fail;
30812 }
30813 Py_INCREF(Py_None); resultobj = Py_None;
30814 return resultobj;
30815 fail:
30816 return NULL;
30817}
30818
30819
30820static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30821 PyObject *resultobj;
30822 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30823 wxTreeItemId *arg2 = 0 ;
30824 PyObject * obj0 = 0 ;
30825 PyObject * obj1 = 0 ;
30826 char *kwnames[] = {
30827 (char *) "self",(char *) "item", NULL
30828 };
30829
30830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30832 if (SWIG_arg_fail(1)) SWIG_fail;
30833 {
30834 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30835 if (SWIG_arg_fail(2)) SWIG_fail;
30836 if (arg2 == NULL) {
30837 SWIG_null_ref("wxTreeItemId");
30838 }
30839 if (SWIG_arg_fail(2)) SWIG_fail;
30840 }
30841 {
30842 PyThreadState* __tstate = wxPyBeginAllowThreads();
30843 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30844
30845 wxPyEndAllowThreads(__tstate);
30846 if (PyErr_Occurred()) SWIG_fail;
30847 }
30848 Py_INCREF(Py_None); resultobj = Py_None;
30849 return resultobj;
30850 fail:
30851 return NULL;
30852}
30853
30854
30855static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30856 PyObject *resultobj;
30857 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30858 wxTextCtrl *result;
30859 PyObject * obj0 = 0 ;
30860 char *kwnames[] = {
30861 (char *) "self", NULL
30862 };
30863
30864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30866 if (SWIG_arg_fail(1)) SWIG_fail;
30867 {
30868 PyThreadState* __tstate = wxPyBeginAllowThreads();
30869 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30870
30871 wxPyEndAllowThreads(__tstate);
30872 if (PyErr_Occurred()) SWIG_fail;
30873 }
30874 {
30875 resultobj = wxPyMake_wxObject(result, 0);
30876 }
30877 return resultobj;
30878 fail:
30879 return NULL;
30880}
30881
30882
30883static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30884 PyObject *resultobj;
30885 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30886 wxTreeItemId *arg2 = 0 ;
30887 bool arg3 = (bool) false ;
30888 PyObject * obj0 = 0 ;
30889 PyObject * obj1 = 0 ;
30890 PyObject * obj2 = 0 ;
30891 char *kwnames[] = {
30892 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30893 };
30894
30895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
30896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30897 if (SWIG_arg_fail(1)) SWIG_fail;
30898 {
30899 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30900 if (SWIG_arg_fail(2)) SWIG_fail;
30901 if (arg2 == NULL) {
30902 SWIG_null_ref("wxTreeItemId");
30903 }
30904 if (SWIG_arg_fail(2)) SWIG_fail;
30905 }
30906 if (obj2) {
30907 {
30908 arg3 = (bool)(SWIG_As_bool(obj2));
30909 if (SWIG_arg_fail(3)) SWIG_fail;
30910 }
30911 }
30912 {
30913 PyThreadState* __tstate = wxPyBeginAllowThreads();
30914 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
30915
30916 wxPyEndAllowThreads(__tstate);
30917 if (PyErr_Occurred()) SWIG_fail;
30918 }
30919 Py_INCREF(Py_None); resultobj = Py_None;
30920 return resultobj;
30921 fail:
30922 return NULL;
30923}
30924
30925
30926static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30927 PyObject *resultobj;
30928 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30929 wxTreeItemId *arg2 = 0 ;
30930 PyObject * obj0 = 0 ;
30931 PyObject * obj1 = 0 ;
30932 char *kwnames[] = {
30933 (char *) "self",(char *) "item", NULL
30934 };
30935
30936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
30937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30938 if (SWIG_arg_fail(1)) SWIG_fail;
30939 {
30940 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30941 if (SWIG_arg_fail(2)) SWIG_fail;
30942 if (arg2 == NULL) {
30943 SWIG_null_ref("wxTreeItemId");
30944 }
30945 if (SWIG_arg_fail(2)) SWIG_fail;
30946 }
30947 {
30948 PyThreadState* __tstate = wxPyBeginAllowThreads();
30949 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30950
30951 wxPyEndAllowThreads(__tstate);
30952 if (PyErr_Occurred()) SWIG_fail;
30953 }
30954 Py_INCREF(Py_None); resultobj = Py_None;
30955 return resultobj;
30956 fail:
30957 return NULL;
30958}
30959
30960
30961static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
30962 PyObject *resultobj;
30963 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30964 wxPoint *arg2 = 0 ;
30965 int *arg3 = 0 ;
30966 wxTreeItemId result;
30967 wxPoint temp2 ;
30968 int temp3 ;
30969 int res3 = 0 ;
30970 PyObject * obj0 = 0 ;
30971 PyObject * obj1 = 0 ;
30972 char *kwnames[] = {
30973 (char *) "self",(char *) "point", NULL
30974 };
30975
30976 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
30978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30979 if (SWIG_arg_fail(1)) SWIG_fail;
30980 {
30981 arg2 = &temp2;
30982 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30983 }
30984 {
30985 PyThreadState* __tstate = wxPyBeginAllowThreads();
30986 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30987
30988 wxPyEndAllowThreads(__tstate);
30989 if (PyErr_Occurred()) SWIG_fail;
30990 }
30991 {
30992 wxTreeItemId * resultptr;
30993 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30994 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30995 }
30996 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30997 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30998 return resultobj;
30999 fail:
31000 return NULL;
31001}
31002
31003
31004static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
31005 PyObject *resultobj;
31006 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31007 wxTreeItemId *arg2 = 0 ;
31008 bool arg3 = (bool) false ;
31009 PyObject *result;
31010 PyObject * obj0 = 0 ;
31011 PyObject * obj1 = 0 ;
31012 PyObject * obj2 = 0 ;
31013 char *kwnames[] = {
31014 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31015 };
31016
31017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
31018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31019 if (SWIG_arg_fail(1)) SWIG_fail;
31020 {
31021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31022 if (SWIG_arg_fail(2)) SWIG_fail;
31023 if (arg2 == NULL) {
31024 SWIG_null_ref("wxTreeItemId");
31025 }
31026 if (SWIG_arg_fail(2)) SWIG_fail;
31027 }
31028 if (obj2) {
31029 {
31030 arg3 = (bool)(SWIG_As_bool(obj2));
31031 if (SWIG_arg_fail(3)) SWIG_fail;
31032 }
31033 }
31034 {
31035 PyThreadState* __tstate = wxPyBeginAllowThreads();
31036 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
31037
31038 wxPyEndAllowThreads(__tstate);
31039 if (PyErr_Occurred()) SWIG_fail;
31040 }
31041 resultobj = result;
31042 return resultobj;
31043 fail:
31044 return NULL;
31045}
31046
31047
31048static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
31049 PyObject *resultobj;
31050 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31051 wxTreeItemId *arg2 = 0 ;
31052 int arg3 ;
31053 PyObject * obj0 = 0 ;
31054 PyObject * obj1 = 0 ;
31055 PyObject * obj2 = 0 ;
31056 char *kwnames[] = {
31057 (char *) "self",(char *) "node",(char *) "state", NULL
31058 };
31059
31060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
31061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31062 if (SWIG_arg_fail(1)) SWIG_fail;
31063 {
31064 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31065 if (SWIG_arg_fail(2)) SWIG_fail;
31066 if (arg2 == NULL) {
31067 SWIG_null_ref("wxTreeItemId");
31068 }
31069 if (SWIG_arg_fail(2)) SWIG_fail;
31070 }
31071 {
31072 arg3 = (int)(SWIG_As_int(obj2));
31073 if (SWIG_arg_fail(3)) SWIG_fail;
31074 }
31075 {
31076 PyThreadState* __tstate = wxPyBeginAllowThreads();
31077 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
31078
31079 wxPyEndAllowThreads(__tstate);
31080 if (PyErr_Occurred()) SWIG_fail;
31081 }
31082 Py_INCREF(Py_None); resultobj = Py_None;
31083 return resultobj;
31084 fail:
31085 return NULL;
31086}
31087
31088
31089static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
31090 PyObject *resultobj;
31091 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31092 wxTreeItemId *arg2 = 0 ;
31093 int result;
31094 PyObject * obj0 = 0 ;
31095 PyObject * obj1 = 0 ;
31096 char *kwnames[] = {
31097 (char *) "self",(char *) "node", NULL
31098 };
31099
31100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
31101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31102 if (SWIG_arg_fail(1)) SWIG_fail;
31103 {
31104 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31105 if (SWIG_arg_fail(2)) SWIG_fail;
31106 if (arg2 == NULL) {
31107 SWIG_null_ref("wxTreeItemId");
31108 }
31109 if (SWIG_arg_fail(2)) SWIG_fail;
31110 }
31111 {
31112 PyThreadState* __tstate = wxPyBeginAllowThreads();
31113 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
31114
31115 wxPyEndAllowThreads(__tstate);
31116 if (PyErr_Occurred()) SWIG_fail;
31117 }
31118 {
31119 resultobj = SWIG_From_int((int)(result));
31120 }
31121 return resultobj;
31122 fail:
31123 return NULL;
31124}
31125
31126
31127static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
31128 PyObject *resultobj;
31129 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
31130 wxVisualAttributes result;
31131 PyObject * obj0 = 0 ;
31132 char *kwnames[] = {
31133 (char *) "variant", NULL
31134 };
31135
31136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
31137 if (obj0) {
31138 {
31139 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
31140 if (SWIG_arg_fail(1)) SWIG_fail;
31141 }
31142 }
31143 {
31144 if (!wxPyCheckForApp()) SWIG_fail;
31145 PyThreadState* __tstate = wxPyBeginAllowThreads();
31146 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
31147
31148 wxPyEndAllowThreads(__tstate);
31149 if (PyErr_Occurred()) SWIG_fail;
31150 }
31151 {
31152 wxVisualAttributes * resultptr;
31153 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
31154 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
31155 }
31156 return resultobj;
31157 fail:
31158 return NULL;
31159}
31160
31161
31162static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
31163 PyObject *obj;
31164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31165 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
31166 Py_INCREF(obj);
31167 return Py_BuildValue((char *)"");
31168}
31169static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
31170 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
31171 return 1;
31172}
31173
31174
31175static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
31176 PyObject *pyobj;
31177
31178 {
31179#if wxUSE_UNICODE
31180 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31181#else
31182 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31183#endif
31184 }
31185 return pyobj;
31186}
31187
31188
31189static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31190 PyObject *resultobj;
31191 wxWindow *arg1 = (wxWindow *) 0 ;
31192 int arg2 = (int) (int)-1 ;
31193 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
31194 wxString *arg3 = (wxString *) &arg3_defvalue ;
31195 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31196 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31197 wxSize const &arg5_defvalue = wxDefaultSize ;
31198 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31199 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31200 wxString const &arg7_defvalue = wxPyEmptyString ;
31201 wxString *arg7 = (wxString *) &arg7_defvalue ;
31202 int arg8 = (int) 0 ;
31203 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
31204 wxString *arg9 = (wxString *) &arg9_defvalue ;
31205 wxGenericDirCtrl *result;
31206 bool temp3 = false ;
31207 wxPoint temp4 ;
31208 wxSize temp5 ;
31209 bool temp7 = false ;
31210 bool temp9 = false ;
31211 PyObject * obj0 = 0 ;
31212 PyObject * obj1 = 0 ;
31213 PyObject * obj2 = 0 ;
31214 PyObject * obj3 = 0 ;
31215 PyObject * obj4 = 0 ;
31216 PyObject * obj5 = 0 ;
31217 PyObject * obj6 = 0 ;
31218 PyObject * obj7 = 0 ;
31219 PyObject * obj8 = 0 ;
31220 char *kwnames[] = {
31221 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31222 };
31223
31224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
31225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31226 if (SWIG_arg_fail(1)) SWIG_fail;
31227 if (obj1) {
31228 {
31229 arg2 = (int const)(SWIG_As_int(obj1));
31230 if (SWIG_arg_fail(2)) SWIG_fail;
31231 }
31232 }
31233 if (obj2) {
31234 {
31235 arg3 = wxString_in_helper(obj2);
31236 if (arg3 == NULL) SWIG_fail;
31237 temp3 = true;
31238 }
31239 }
31240 if (obj3) {
31241 {
31242 arg4 = &temp4;
31243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31244 }
31245 }
31246 if (obj4) {
31247 {
31248 arg5 = &temp5;
31249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31250 }
31251 }
31252 if (obj5) {
31253 {
31254 arg6 = (long)(SWIG_As_long(obj5));
31255 if (SWIG_arg_fail(6)) SWIG_fail;
31256 }
31257 }
31258 if (obj6) {
31259 {
31260 arg7 = wxString_in_helper(obj6);
31261 if (arg7 == NULL) SWIG_fail;
31262 temp7 = true;
31263 }
31264 }
31265 if (obj7) {
31266 {
31267 arg8 = (int)(SWIG_As_int(obj7));
31268 if (SWIG_arg_fail(8)) SWIG_fail;
31269 }
31270 }
31271 if (obj8) {
31272 {
31273 arg9 = wxString_in_helper(obj8);
31274 if (arg9 == NULL) SWIG_fail;
31275 temp9 = true;
31276 }
31277 }
31278 {
31279 if (!wxPyCheckForApp()) SWIG_fail;
31280 PyThreadState* __tstate = wxPyBeginAllowThreads();
31281 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31282
31283 wxPyEndAllowThreads(__tstate);
31284 if (PyErr_Occurred()) SWIG_fail;
31285 }
31286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31287 {
31288 if (temp3)
31289 delete arg3;
31290 }
31291 {
31292 if (temp7)
31293 delete arg7;
31294 }
31295 {
31296 if (temp9)
31297 delete arg9;
31298 }
31299 return resultobj;
31300 fail:
31301 {
31302 if (temp3)
31303 delete arg3;
31304 }
31305 {
31306 if (temp7)
31307 delete arg7;
31308 }
31309 {
31310 if (temp9)
31311 delete arg9;
31312 }
31313 return NULL;
31314}
31315
31316
31317static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31318 PyObject *resultobj;
31319 wxGenericDirCtrl *result;
31320 char *kwnames[] = {
31321 NULL
31322 };
31323
31324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31325 {
31326 if (!wxPyCheckForApp()) SWIG_fail;
31327 PyThreadState* __tstate = wxPyBeginAllowThreads();
31328 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31329
31330 wxPyEndAllowThreads(__tstate);
31331 if (PyErr_Occurred()) SWIG_fail;
31332 }
31333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31334 return resultobj;
31335 fail:
31336 return NULL;
31337}
31338
31339
31340static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31341 PyObject *resultobj;
31342 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31343 wxWindow *arg2 = (wxWindow *) 0 ;
31344 int arg3 = (int) (int)-1 ;
31345 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31346 wxString *arg4 = (wxString *) &arg4_defvalue ;
31347 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31348 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31349 wxSize const &arg6_defvalue = wxDefaultSize ;
31350 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31351 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31352 wxString const &arg8_defvalue = wxPyEmptyString ;
31353 wxString *arg8 = (wxString *) &arg8_defvalue ;
31354 int arg9 = (int) 0 ;
31355 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31356 wxString *arg10 = (wxString *) &arg10_defvalue ;
31357 bool result;
31358 bool temp4 = false ;
31359 wxPoint temp5 ;
31360 wxSize temp6 ;
31361 bool temp8 = false ;
31362 bool temp10 = false ;
31363 PyObject * obj0 = 0 ;
31364 PyObject * obj1 = 0 ;
31365 PyObject * obj2 = 0 ;
31366 PyObject * obj3 = 0 ;
31367 PyObject * obj4 = 0 ;
31368 PyObject * obj5 = 0 ;
31369 PyObject * obj6 = 0 ;
31370 PyObject * obj7 = 0 ;
31371 PyObject * obj8 = 0 ;
31372 PyObject * obj9 = 0 ;
31373 char *kwnames[] = {
31374 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31375 };
31376
31377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31379 if (SWIG_arg_fail(1)) SWIG_fail;
31380 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31381 if (SWIG_arg_fail(2)) SWIG_fail;
31382 if (obj2) {
31383 {
31384 arg3 = (int const)(SWIG_As_int(obj2));
31385 if (SWIG_arg_fail(3)) SWIG_fail;
31386 }
31387 }
31388 if (obj3) {
31389 {
31390 arg4 = wxString_in_helper(obj3);
31391 if (arg4 == NULL) SWIG_fail;
31392 temp4 = true;
31393 }
31394 }
31395 if (obj4) {
31396 {
31397 arg5 = &temp5;
31398 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31399 }
31400 }
31401 if (obj5) {
31402 {
31403 arg6 = &temp6;
31404 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31405 }
31406 }
31407 if (obj6) {
31408 {
31409 arg7 = (long)(SWIG_As_long(obj6));
31410 if (SWIG_arg_fail(7)) SWIG_fail;
31411 }
31412 }
31413 if (obj7) {
31414 {
31415 arg8 = wxString_in_helper(obj7);
31416 if (arg8 == NULL) SWIG_fail;
31417 temp8 = true;
31418 }
31419 }
31420 if (obj8) {
31421 {
31422 arg9 = (int)(SWIG_As_int(obj8));
31423 if (SWIG_arg_fail(9)) SWIG_fail;
31424 }
31425 }
31426 if (obj9) {
31427 {
31428 arg10 = wxString_in_helper(obj9);
31429 if (arg10 == NULL) SWIG_fail;
31430 temp10 = true;
31431 }
31432 }
31433 {
31434 PyThreadState* __tstate = wxPyBeginAllowThreads();
31435 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31436
31437 wxPyEndAllowThreads(__tstate);
31438 if (PyErr_Occurred()) SWIG_fail;
31439 }
31440 {
31441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31442 }
31443 {
31444 if (temp4)
31445 delete arg4;
31446 }
31447 {
31448 if (temp8)
31449 delete arg8;
31450 }
31451 {
31452 if (temp10)
31453 delete arg10;
31454 }
31455 return resultobj;
31456 fail:
31457 {
31458 if (temp4)
31459 delete arg4;
31460 }
31461 {
31462 if (temp8)
31463 delete arg8;
31464 }
31465 {
31466 if (temp10)
31467 delete arg10;
31468 }
31469 return NULL;
31470}
31471
31472
31473static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31474 PyObject *resultobj;
31475 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31476 wxString *arg2 = 0 ;
31477 bool result;
31478 bool temp2 = false ;
31479 PyObject * obj0 = 0 ;
31480 PyObject * obj1 = 0 ;
31481 char *kwnames[] = {
31482 (char *) "self",(char *) "path", NULL
31483 };
31484
31485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31487 if (SWIG_arg_fail(1)) SWIG_fail;
31488 {
31489 arg2 = wxString_in_helper(obj1);
31490 if (arg2 == NULL) SWIG_fail;
31491 temp2 = true;
31492 }
31493 {
31494 PyThreadState* __tstate = wxPyBeginAllowThreads();
31495 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31496
31497 wxPyEndAllowThreads(__tstate);
31498 if (PyErr_Occurred()) SWIG_fail;
31499 }
31500 {
31501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31502 }
31503 {
31504 if (temp2)
31505 delete arg2;
31506 }
31507 return resultobj;
31508 fail:
31509 {
31510 if (temp2)
31511 delete arg2;
31512 }
31513 return NULL;
31514}
31515
31516
31517static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31518 PyObject *resultobj;
31519 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31520 wxString result;
31521 PyObject * obj0 = 0 ;
31522 char *kwnames[] = {
31523 (char *) "self", NULL
31524 };
31525
31526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31528 if (SWIG_arg_fail(1)) SWIG_fail;
31529 {
31530 PyThreadState* __tstate = wxPyBeginAllowThreads();
31531 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31532
31533 wxPyEndAllowThreads(__tstate);
31534 if (PyErr_Occurred()) SWIG_fail;
31535 }
31536 {
31537#if wxUSE_UNICODE
31538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31539#else
31540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31541#endif
31542 }
31543 return resultobj;
31544 fail:
31545 return NULL;
31546}
31547
31548
31549static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31550 PyObject *resultobj;
31551 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31552 wxString *arg2 = 0 ;
31553 bool temp2 = false ;
31554 PyObject * obj0 = 0 ;
31555 PyObject * obj1 = 0 ;
31556 char *kwnames[] = {
31557 (char *) "self",(char *) "path", NULL
31558 };
31559
31560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31562 if (SWIG_arg_fail(1)) SWIG_fail;
31563 {
31564 arg2 = wxString_in_helper(obj1);
31565 if (arg2 == NULL) SWIG_fail;
31566 temp2 = true;
31567 }
31568 {
31569 PyThreadState* __tstate = wxPyBeginAllowThreads();
31570 (arg1)->SetDefaultPath((wxString const &)*arg2);
31571
31572 wxPyEndAllowThreads(__tstate);
31573 if (PyErr_Occurred()) SWIG_fail;
31574 }
31575 Py_INCREF(Py_None); resultobj = Py_None;
31576 {
31577 if (temp2)
31578 delete arg2;
31579 }
31580 return resultobj;
31581 fail:
31582 {
31583 if (temp2)
31584 delete arg2;
31585 }
31586 return NULL;
31587}
31588
31589
31590static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31591 PyObject *resultobj;
31592 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31593 wxString result;
31594 PyObject * obj0 = 0 ;
31595 char *kwnames[] = {
31596 (char *) "self", NULL
31597 };
31598
31599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31601 if (SWIG_arg_fail(1)) SWIG_fail;
31602 {
31603 PyThreadState* __tstate = wxPyBeginAllowThreads();
31604 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31605
31606 wxPyEndAllowThreads(__tstate);
31607 if (PyErr_Occurred()) SWIG_fail;
31608 }
31609 {
31610#if wxUSE_UNICODE
31611 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31612#else
31613 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31614#endif
31615 }
31616 return resultobj;
31617 fail:
31618 return NULL;
31619}
31620
31621
31622static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31623 PyObject *resultobj;
31624 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31625 wxString result;
31626 PyObject * obj0 = 0 ;
31627 char *kwnames[] = {
31628 (char *) "self", NULL
31629 };
31630
31631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31633 if (SWIG_arg_fail(1)) SWIG_fail;
31634 {
31635 PyThreadState* __tstate = wxPyBeginAllowThreads();
31636 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31637
31638 wxPyEndAllowThreads(__tstate);
31639 if (PyErr_Occurred()) SWIG_fail;
31640 }
31641 {
31642#if wxUSE_UNICODE
31643 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31644#else
31645 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31646#endif
31647 }
31648 return resultobj;
31649 fail:
31650 return NULL;
31651}
31652
31653
31654static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31655 PyObject *resultobj;
31656 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31657 wxString *arg2 = 0 ;
31658 bool temp2 = false ;
31659 PyObject * obj0 = 0 ;
31660 PyObject * obj1 = 0 ;
31661 char *kwnames[] = {
31662 (char *) "self",(char *) "path", NULL
31663 };
31664
31665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31667 if (SWIG_arg_fail(1)) SWIG_fail;
31668 {
31669 arg2 = wxString_in_helper(obj1);
31670 if (arg2 == NULL) SWIG_fail;
31671 temp2 = true;
31672 }
31673 {
31674 PyThreadState* __tstate = wxPyBeginAllowThreads();
31675 (arg1)->SetPath((wxString const &)*arg2);
31676
31677 wxPyEndAllowThreads(__tstate);
31678 if (PyErr_Occurred()) SWIG_fail;
31679 }
31680 Py_INCREF(Py_None); resultobj = Py_None;
31681 {
31682 if (temp2)
31683 delete arg2;
31684 }
31685 return resultobj;
31686 fail:
31687 {
31688 if (temp2)
31689 delete arg2;
31690 }
31691 return NULL;
31692}
31693
31694
31695static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31696 PyObject *resultobj;
31697 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31698 bool arg2 ;
31699 PyObject * obj0 = 0 ;
31700 PyObject * obj1 = 0 ;
31701 char *kwnames[] = {
31702 (char *) "self",(char *) "show", NULL
31703 };
31704
31705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31707 if (SWIG_arg_fail(1)) SWIG_fail;
31708 {
31709 arg2 = (bool)(SWIG_As_bool(obj1));
31710 if (SWIG_arg_fail(2)) SWIG_fail;
31711 }
31712 {
31713 PyThreadState* __tstate = wxPyBeginAllowThreads();
31714 (arg1)->ShowHidden(arg2);
31715
31716 wxPyEndAllowThreads(__tstate);
31717 if (PyErr_Occurred()) SWIG_fail;
31718 }
31719 Py_INCREF(Py_None); resultobj = Py_None;
31720 return resultobj;
31721 fail:
31722 return NULL;
31723}
31724
31725
31726static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31727 PyObject *resultobj;
31728 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31729 bool result;
31730 PyObject * obj0 = 0 ;
31731 char *kwnames[] = {
31732 (char *) "self", NULL
31733 };
31734
31735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31737 if (SWIG_arg_fail(1)) SWIG_fail;
31738 {
31739 PyThreadState* __tstate = wxPyBeginAllowThreads();
31740 result = (bool)(arg1)->GetShowHidden();
31741
31742 wxPyEndAllowThreads(__tstate);
31743 if (PyErr_Occurred()) SWIG_fail;
31744 }
31745 {
31746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31747 }
31748 return resultobj;
31749 fail:
31750 return NULL;
31751}
31752
31753
31754static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31755 PyObject *resultobj;
31756 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31757 wxString result;
31758 PyObject * obj0 = 0 ;
31759 char *kwnames[] = {
31760 (char *) "self", NULL
31761 };
31762
31763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31765 if (SWIG_arg_fail(1)) SWIG_fail;
31766 {
31767 PyThreadState* __tstate = wxPyBeginAllowThreads();
31768 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31769
31770 wxPyEndAllowThreads(__tstate);
31771 if (PyErr_Occurred()) SWIG_fail;
31772 }
31773 {
31774#if wxUSE_UNICODE
31775 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31776#else
31777 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31778#endif
31779 }
31780 return resultobj;
31781 fail:
31782 return NULL;
31783}
31784
31785
31786static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31787 PyObject *resultobj;
31788 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31789 wxString *arg2 = 0 ;
31790 bool temp2 = false ;
31791 PyObject * obj0 = 0 ;
31792 PyObject * obj1 = 0 ;
31793 char *kwnames[] = {
31794 (char *) "self",(char *) "filter", NULL
31795 };
31796
31797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31799 if (SWIG_arg_fail(1)) SWIG_fail;
31800 {
31801 arg2 = wxString_in_helper(obj1);
31802 if (arg2 == NULL) SWIG_fail;
31803 temp2 = true;
31804 }
31805 {
31806 PyThreadState* __tstate = wxPyBeginAllowThreads();
31807 (arg1)->SetFilter((wxString const &)*arg2);
31808
31809 wxPyEndAllowThreads(__tstate);
31810 if (PyErr_Occurred()) SWIG_fail;
31811 }
31812 Py_INCREF(Py_None); resultobj = Py_None;
31813 {
31814 if (temp2)
31815 delete arg2;
31816 }
31817 return resultobj;
31818 fail:
31819 {
31820 if (temp2)
31821 delete arg2;
31822 }
31823 return NULL;
31824}
31825
31826
31827static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31828 PyObject *resultobj;
31829 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31830 int result;
31831 PyObject * obj0 = 0 ;
31832 char *kwnames[] = {
31833 (char *) "self", NULL
31834 };
31835
31836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31838 if (SWIG_arg_fail(1)) SWIG_fail;
31839 {
31840 PyThreadState* __tstate = wxPyBeginAllowThreads();
31841 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31842
31843 wxPyEndAllowThreads(__tstate);
31844 if (PyErr_Occurred()) SWIG_fail;
31845 }
31846 {
31847 resultobj = SWIG_From_int((int)(result));
31848 }
31849 return resultobj;
31850 fail:
31851 return NULL;
31852}
31853
31854
31855static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31856 PyObject *resultobj;
31857 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31858 int arg2 ;
31859 PyObject * obj0 = 0 ;
31860 PyObject * obj1 = 0 ;
31861 char *kwnames[] = {
31862 (char *) "self",(char *) "n", NULL
31863 };
31864
31865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
31866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31867 if (SWIG_arg_fail(1)) SWIG_fail;
31868 {
31869 arg2 = (int)(SWIG_As_int(obj1));
31870 if (SWIG_arg_fail(2)) SWIG_fail;
31871 }
31872 {
31873 PyThreadState* __tstate = wxPyBeginAllowThreads();
31874 (arg1)->SetFilterIndex(arg2);
31875
31876 wxPyEndAllowThreads(__tstate);
31877 if (PyErr_Occurred()) SWIG_fail;
31878 }
31879 Py_INCREF(Py_None); resultobj = Py_None;
31880 return resultobj;
31881 fail:
31882 return NULL;
31883}
31884
31885
31886static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31887 PyObject *resultobj;
31888 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31889 wxTreeItemId result;
31890 PyObject * obj0 = 0 ;
31891 char *kwnames[] = {
31892 (char *) "self", NULL
31893 };
31894
31895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
31896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31897 if (SWIG_arg_fail(1)) SWIG_fail;
31898 {
31899 PyThreadState* __tstate = wxPyBeginAllowThreads();
31900 result = (arg1)->GetRootId();
31901
31902 wxPyEndAllowThreads(__tstate);
31903 if (PyErr_Occurred()) SWIG_fail;
31904 }
31905 {
31906 wxTreeItemId * resultptr;
31907 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31908 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31909 }
31910 return resultobj;
31911 fail:
31912 return NULL;
31913}
31914
31915
31916static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31917 PyObject *resultobj;
31918 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31919 wxPyTreeCtrl *result;
31920 PyObject * obj0 = 0 ;
31921 char *kwnames[] = {
31922 (char *) "self", NULL
31923 };
31924
31925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
31926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31927 if (SWIG_arg_fail(1)) SWIG_fail;
31928 {
31929 PyThreadState* __tstate = wxPyBeginAllowThreads();
31930 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31931
31932 wxPyEndAllowThreads(__tstate);
31933 if (PyErr_Occurred()) SWIG_fail;
31934 }
31935 {
31936 resultobj = wxPyMake_wxObject(result, 0);
31937 }
31938 return resultobj;
31939 fail:
31940 return NULL;
31941}
31942
31943
31944static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31945 PyObject *resultobj;
31946 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31947 wxDirFilterListCtrl *result;
31948 PyObject * obj0 = 0 ;
31949 char *kwnames[] = {
31950 (char *) "self", NULL
31951 };
31952
31953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
31954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31955 if (SWIG_arg_fail(1)) SWIG_fail;
31956 {
31957 PyThreadState* __tstate = wxPyBeginAllowThreads();
31958 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31959
31960 wxPyEndAllowThreads(__tstate);
31961 if (PyErr_Occurred()) SWIG_fail;
31962 }
31963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31964 return resultobj;
31965 fail:
31966 return NULL;
31967}
31968
31969
31970static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
31971 PyObject *resultobj;
31972 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31973 wxTreeItemId arg2 ;
31974 wxString *arg3 = 0 ;
31975 bool *arg4 = 0 ;
31976 wxTreeItemId result;
31977 bool temp3 = false ;
31978 bool temp4 ;
31979 int res4 = 0 ;
31980 PyObject * obj0 = 0 ;
31981 PyObject * obj1 = 0 ;
31982 PyObject * obj2 = 0 ;
31983 char *kwnames[] = {
31984 (char *) "self",(char *) "parentId",(char *) "path", NULL
31985 };
31986
31987 arg4 = &temp4; res4 = SWIG_NEWOBJ;
31988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
31989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31990 if (SWIG_arg_fail(1)) SWIG_fail;
31991 {
31992 wxTreeItemId * argp;
31993 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31994 if (SWIG_arg_fail(2)) SWIG_fail;
31995 if (argp == NULL) {
31996 SWIG_null_ref("wxTreeItemId");
31997 }
31998 if (SWIG_arg_fail(2)) SWIG_fail;
31999 arg2 = *argp;
32000 }
32001 {
32002 arg3 = wxString_in_helper(obj2);
32003 if (arg3 == NULL) SWIG_fail;
32004 temp3 = true;
32005 }
32006 {
32007 PyThreadState* __tstate = wxPyBeginAllowThreads();
32008 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
32009
32010 wxPyEndAllowThreads(__tstate);
32011 if (PyErr_Occurred()) SWIG_fail;
32012 }
32013 {
32014 wxTreeItemId * resultptr;
32015 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
32016 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32017 }
32018 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
32019 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
32020 {
32021 if (temp3)
32022 delete arg3;
32023 }
32024 return resultobj;
32025 fail:
32026 {
32027 if (temp3)
32028 delete arg3;
32029 }
32030 return NULL;
32031}
32032
32033
32034static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
32035 PyObject *resultobj;
32036 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32037 PyObject * obj0 = 0 ;
32038 char *kwnames[] = {
32039 (char *) "self", NULL
32040 };
32041
32042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
32043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32044 if (SWIG_arg_fail(1)) SWIG_fail;
32045 {
32046 PyThreadState* __tstate = wxPyBeginAllowThreads();
32047 (arg1)->DoResize();
32048
32049 wxPyEndAllowThreads(__tstate);
32050 if (PyErr_Occurred()) SWIG_fail;
32051 }
32052 Py_INCREF(Py_None); resultobj = Py_None;
32053 return resultobj;
32054 fail:
32055 return NULL;
32056}
32057
32058
32059static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
32060 PyObject *resultobj;
32061 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32062 PyObject * obj0 = 0 ;
32063 char *kwnames[] = {
32064 (char *) "self", NULL
32065 };
32066
32067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
32068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32069 if (SWIG_arg_fail(1)) SWIG_fail;
32070 {
32071 PyThreadState* __tstate = wxPyBeginAllowThreads();
32072 (arg1)->ReCreateTree();
32073
32074 wxPyEndAllowThreads(__tstate);
32075 if (PyErr_Occurred()) SWIG_fail;
32076 }
32077 Py_INCREF(Py_None); resultobj = Py_None;
32078 return resultobj;
32079 fail:
32080 return NULL;
32081}
32082
32083
32084static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
32085 PyObject *obj;
32086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32087 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
32088 Py_INCREF(obj);
32089 return Py_BuildValue((char *)"");
32090}
32091static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32092 PyObject *resultobj;
32093 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32094 int arg2 = (int) (int)-1 ;
32095 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32096 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32097 wxSize const &arg4_defvalue = wxDefaultSize ;
32098 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32099 long arg5 = (long) 0 ;
32100 wxDirFilterListCtrl *result;
32101 wxPoint temp3 ;
32102 wxSize temp4 ;
32103 PyObject * obj0 = 0 ;
32104 PyObject * obj1 = 0 ;
32105 PyObject * obj2 = 0 ;
32106 PyObject * obj3 = 0 ;
32107 PyObject * obj4 = 0 ;
32108 char *kwnames[] = {
32109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32110 };
32111
32112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32114 if (SWIG_arg_fail(1)) SWIG_fail;
32115 if (obj1) {
32116 {
32117 arg2 = (int const)(SWIG_As_int(obj1));
32118 if (SWIG_arg_fail(2)) SWIG_fail;
32119 }
32120 }
32121 if (obj2) {
32122 {
32123 arg3 = &temp3;
32124 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32125 }
32126 }
32127 if (obj3) {
32128 {
32129 arg4 = &temp4;
32130 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32131 }
32132 }
32133 if (obj4) {
32134 {
32135 arg5 = (long)(SWIG_As_long(obj4));
32136 if (SWIG_arg_fail(5)) SWIG_fail;
32137 }
32138 }
32139 {
32140 if (!wxPyCheckForApp()) SWIG_fail;
32141 PyThreadState* __tstate = wxPyBeginAllowThreads();
32142 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
32143
32144 wxPyEndAllowThreads(__tstate);
32145 if (PyErr_Occurred()) SWIG_fail;
32146 }
32147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32148 return resultobj;
32149 fail:
32150 return NULL;
32151}
32152
32153
32154static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32155 PyObject *resultobj;
32156 wxDirFilterListCtrl *result;
32157 char *kwnames[] = {
32158 NULL
32159 };
32160
32161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
32162 {
32163 if (!wxPyCheckForApp()) SWIG_fail;
32164 PyThreadState* __tstate = wxPyBeginAllowThreads();
32165 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
32166
32167 wxPyEndAllowThreads(__tstate);
32168 if (PyErr_Occurred()) SWIG_fail;
32169 }
32170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32171 return resultobj;
32172 fail:
32173 return NULL;
32174}
32175
32176
32177static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32178 PyObject *resultobj;
32179 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32180 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
32181 int arg3 = (int) (int)-1 ;
32182 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32183 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32184 wxSize const &arg5_defvalue = wxDefaultSize ;
32185 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32186 long arg6 = (long) 0 ;
32187 bool result;
32188 wxPoint temp4 ;
32189 wxSize temp5 ;
32190 PyObject * obj0 = 0 ;
32191 PyObject * obj1 = 0 ;
32192 PyObject * obj2 = 0 ;
32193 PyObject * obj3 = 0 ;
32194 PyObject * obj4 = 0 ;
32195 PyObject * obj5 = 0 ;
32196 char *kwnames[] = {
32197 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32198 };
32199
32200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32202 if (SWIG_arg_fail(1)) SWIG_fail;
32203 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32204 if (SWIG_arg_fail(2)) SWIG_fail;
32205 if (obj2) {
32206 {
32207 arg3 = (int const)(SWIG_As_int(obj2));
32208 if (SWIG_arg_fail(3)) SWIG_fail;
32209 }
32210 }
32211 if (obj3) {
32212 {
32213 arg4 = &temp4;
32214 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32215 }
32216 }
32217 if (obj4) {
32218 {
32219 arg5 = &temp5;
32220 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32221 }
32222 }
32223 if (obj5) {
32224 {
32225 arg6 = (long)(SWIG_As_long(obj5));
32226 if (SWIG_arg_fail(6)) SWIG_fail;
32227 }
32228 }
32229 {
32230 PyThreadState* __tstate = wxPyBeginAllowThreads();
32231 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32232
32233 wxPyEndAllowThreads(__tstate);
32234 if (PyErr_Occurred()) SWIG_fail;
32235 }
32236 {
32237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32238 }
32239 return resultobj;
32240 fail:
32241 return NULL;
32242}
32243
32244
32245static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
32246 PyObject *resultobj;
32247 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32248 wxString *arg2 = 0 ;
32249 int arg3 ;
32250 bool temp2 = false ;
32251 PyObject * obj0 = 0 ;
32252 PyObject * obj1 = 0 ;
32253 PyObject * obj2 = 0 ;
32254 char *kwnames[] = {
32255 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32256 };
32257
32258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
32259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32260 if (SWIG_arg_fail(1)) SWIG_fail;
32261 {
32262 arg2 = wxString_in_helper(obj1);
32263 if (arg2 == NULL) SWIG_fail;
32264 temp2 = true;
32265 }
32266 {
32267 arg3 = (int)(SWIG_As_int(obj2));
32268 if (SWIG_arg_fail(3)) SWIG_fail;
32269 }
32270 {
32271 PyThreadState* __tstate = wxPyBeginAllowThreads();
32272 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32273
32274 wxPyEndAllowThreads(__tstate);
32275 if (PyErr_Occurred()) SWIG_fail;
32276 }
32277 Py_INCREF(Py_None); resultobj = Py_None;
32278 {
32279 if (temp2)
32280 delete arg2;
32281 }
32282 return resultobj;
32283 fail:
32284 {
32285 if (temp2)
32286 delete arg2;
32287 }
32288 return NULL;
32289}
32290
32291
32292static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32293 PyObject *obj;
32294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32295 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32296 Py_INCREF(obj);
32297 return Py_BuildValue((char *)"");
32298}
32299static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32300 PyObject *resultobj;
32301 wxWindow *arg1 = (wxWindow *) 0 ;
32302 int arg2 = (int) (int)-1 ;
32303 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32304 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32305 wxSize const &arg4_defvalue = wxDefaultSize ;
32306 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32307 long arg5 = (long) 0 ;
32308 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32309 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32310 wxString const &arg7_defvalue = wxPyControlNameStr ;
32311 wxString *arg7 = (wxString *) &arg7_defvalue ;
32312 wxPyControl *result;
32313 wxPoint temp3 ;
32314 wxSize temp4 ;
32315 bool temp7 = false ;
32316 PyObject * obj0 = 0 ;
32317 PyObject * obj1 = 0 ;
32318 PyObject * obj2 = 0 ;
32319 PyObject * obj3 = 0 ;
32320 PyObject * obj4 = 0 ;
32321 PyObject * obj5 = 0 ;
32322 PyObject * obj6 = 0 ;
32323 char *kwnames[] = {
32324 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32325 };
32326
32327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32329 if (SWIG_arg_fail(1)) SWIG_fail;
32330 if (obj1) {
32331 {
32332 arg2 = (int const)(SWIG_As_int(obj1));
32333 if (SWIG_arg_fail(2)) SWIG_fail;
32334 }
32335 }
32336 if (obj2) {
32337 {
32338 arg3 = &temp3;
32339 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32340 }
32341 }
32342 if (obj3) {
32343 {
32344 arg4 = &temp4;
32345 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32346 }
32347 }
32348 if (obj4) {
32349 {
32350 arg5 = (long)(SWIG_As_long(obj4));
32351 if (SWIG_arg_fail(5)) SWIG_fail;
32352 }
32353 }
32354 if (obj5) {
32355 {
32356 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32357 if (SWIG_arg_fail(6)) SWIG_fail;
32358 if (arg6 == NULL) {
32359 SWIG_null_ref("wxValidator");
32360 }
32361 if (SWIG_arg_fail(6)) SWIG_fail;
32362 }
32363 }
32364 if (obj6) {
32365 {
32366 arg7 = wxString_in_helper(obj6);
32367 if (arg7 == NULL) SWIG_fail;
32368 temp7 = true;
32369 }
32370 }
32371 {
32372 if (!wxPyCheckForApp()) SWIG_fail;
32373 PyThreadState* __tstate = wxPyBeginAllowThreads();
32374 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32375
32376 wxPyEndAllowThreads(__tstate);
32377 if (PyErr_Occurred()) SWIG_fail;
32378 }
32379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32380 {
32381 if (temp7)
32382 delete arg7;
32383 }
32384 return resultobj;
32385 fail:
32386 {
32387 if (temp7)
32388 delete arg7;
32389 }
32390 return NULL;
32391}
32392
32393
32394static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32395 PyObject *resultobj;
32396 wxPyControl *result;
32397 char *kwnames[] = {
32398 NULL
32399 };
32400
32401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32402 {
32403 if (!wxPyCheckForApp()) SWIG_fail;
32404 PyThreadState* __tstate = wxPyBeginAllowThreads();
32405 result = (wxPyControl *)new wxPyControl();
32406
32407 wxPyEndAllowThreads(__tstate);
32408 if (PyErr_Occurred()) SWIG_fail;
32409 }
32410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32411 return resultobj;
32412 fail:
32413 return NULL;
32414}
32415
32416
32417static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32418 PyObject *resultobj;
32419 wxPyControl *arg1 = (wxPyControl *) 0 ;
32420 PyObject *arg2 = (PyObject *) 0 ;
32421 PyObject *arg3 = (PyObject *) 0 ;
32422 PyObject * obj0 = 0 ;
32423 PyObject * obj1 = 0 ;
32424 PyObject * obj2 = 0 ;
32425 char *kwnames[] = {
32426 (char *) "self",(char *) "self",(char *) "_class", NULL
32427 };
32428
32429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32431 if (SWIG_arg_fail(1)) SWIG_fail;
32432 arg2 = obj1;
32433 arg3 = obj2;
32434 {
32435 PyThreadState* __tstate = wxPyBeginAllowThreads();
32436 (arg1)->_setCallbackInfo(arg2,arg3);
32437
32438 wxPyEndAllowThreads(__tstate);
32439 if (PyErr_Occurred()) SWIG_fail;
32440 }
32441 Py_INCREF(Py_None); resultobj = Py_None;
32442 return resultobj;
32443 fail:
32444 return NULL;
32445}
32446
32447
32448static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32449 PyObject *resultobj;
32450 wxPyControl *arg1 = (wxPyControl *) 0 ;
32451 wxSize *arg2 = 0 ;
32452 wxSize temp2 ;
32453 PyObject * obj0 = 0 ;
32454 PyObject * obj1 = 0 ;
32455 char *kwnames[] = {
32456 (char *) "self",(char *) "size", NULL
32457 };
32458
32459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32461 if (SWIG_arg_fail(1)) SWIG_fail;
32462 {
32463 arg2 = &temp2;
32464 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32465 }
32466 {
32467 PyThreadState* __tstate = wxPyBeginAllowThreads();
32468 (arg1)->SetBestSize((wxSize const &)*arg2);
32469
32470 wxPyEndAllowThreads(__tstate);
32471 if (PyErr_Occurred()) SWIG_fail;
32472 }
32473 Py_INCREF(Py_None); resultobj = Py_None;
32474 return resultobj;
32475 fail:
32476 return NULL;
32477}
32478
32479
32480static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32481 PyObject *resultobj;
32482 wxPyControl *arg1 = (wxPyControl *) 0 ;
32483 wxDC *arg2 = (wxDC *) 0 ;
32484 bool result;
32485 PyObject * obj0 = 0 ;
32486 PyObject * obj1 = 0 ;
32487 char *kwnames[] = {
32488 (char *) "self",(char *) "dc", NULL
32489 };
32490
32491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
32492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32493 if (SWIG_arg_fail(1)) SWIG_fail;
32494 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32495 if (SWIG_arg_fail(2)) SWIG_fail;
32496 {
32497 PyThreadState* __tstate = wxPyBeginAllowThreads();
32498 result = (bool)(arg1)->DoEraseBackground(arg2);
32499
32500 wxPyEndAllowThreads(__tstate);
32501 if (PyErr_Occurred()) SWIG_fail;
32502 }
32503 {
32504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32505 }
32506 return resultobj;
32507 fail:
32508 return NULL;
32509}
32510
32511
32512static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32513 PyObject *resultobj;
32514 wxPyControl *arg1 = (wxPyControl *) 0 ;
32515 int arg2 ;
32516 int arg3 ;
32517 int arg4 ;
32518 int arg5 ;
32519 PyObject * obj0 = 0 ;
32520 PyObject * obj1 = 0 ;
32521 PyObject * obj2 = 0 ;
32522 PyObject * obj3 = 0 ;
32523 PyObject * obj4 = 0 ;
32524 char *kwnames[] = {
32525 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32526 };
32527
32528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32530 if (SWIG_arg_fail(1)) SWIG_fail;
32531 {
32532 arg2 = (int)(SWIG_As_int(obj1));
32533 if (SWIG_arg_fail(2)) SWIG_fail;
32534 }
32535 {
32536 arg3 = (int)(SWIG_As_int(obj2));
32537 if (SWIG_arg_fail(3)) SWIG_fail;
32538 }
32539 {
32540 arg4 = (int)(SWIG_As_int(obj3));
32541 if (SWIG_arg_fail(4)) SWIG_fail;
32542 }
32543 {
32544 arg5 = (int)(SWIG_As_int(obj4));
32545 if (SWIG_arg_fail(5)) SWIG_fail;
32546 }
32547 {
32548 PyThreadState* __tstate = wxPyBeginAllowThreads();
32549 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32550
32551 wxPyEndAllowThreads(__tstate);
32552 if (PyErr_Occurred()) SWIG_fail;
32553 }
32554 Py_INCREF(Py_None); resultobj = Py_None;
32555 return resultobj;
32556 fail:
32557 return NULL;
32558}
32559
32560
32561static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32562 PyObject *resultobj;
32563 wxPyControl *arg1 = (wxPyControl *) 0 ;
32564 int arg2 ;
32565 int arg3 ;
32566 int arg4 ;
32567 int arg5 ;
32568 int arg6 = (int) wxSIZE_AUTO ;
32569 PyObject * obj0 = 0 ;
32570 PyObject * obj1 = 0 ;
32571 PyObject * obj2 = 0 ;
32572 PyObject * obj3 = 0 ;
32573 PyObject * obj4 = 0 ;
32574 PyObject * obj5 = 0 ;
32575 char *kwnames[] = {
32576 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32577 };
32578
32579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32581 if (SWIG_arg_fail(1)) SWIG_fail;
32582 {
32583 arg2 = (int)(SWIG_As_int(obj1));
32584 if (SWIG_arg_fail(2)) SWIG_fail;
32585 }
32586 {
32587 arg3 = (int)(SWIG_As_int(obj2));
32588 if (SWIG_arg_fail(3)) SWIG_fail;
32589 }
32590 {
32591 arg4 = (int)(SWIG_As_int(obj3));
32592 if (SWIG_arg_fail(4)) SWIG_fail;
32593 }
32594 {
32595 arg5 = (int)(SWIG_As_int(obj4));
32596 if (SWIG_arg_fail(5)) SWIG_fail;
32597 }
32598 if (obj5) {
32599 {
32600 arg6 = (int)(SWIG_As_int(obj5));
32601 if (SWIG_arg_fail(6)) SWIG_fail;
32602 }
32603 }
32604 {
32605 PyThreadState* __tstate = wxPyBeginAllowThreads();
32606 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32607
32608 wxPyEndAllowThreads(__tstate);
32609 if (PyErr_Occurred()) SWIG_fail;
32610 }
32611 Py_INCREF(Py_None); resultobj = Py_None;
32612 return resultobj;
32613 fail:
32614 return NULL;
32615}
32616
32617
32618static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32619 PyObject *resultobj;
32620 wxPyControl *arg1 = (wxPyControl *) 0 ;
32621 int arg2 ;
32622 int arg3 ;
32623 PyObject * obj0 = 0 ;
32624 PyObject * obj1 = 0 ;
32625 PyObject * obj2 = 0 ;
32626 char *kwnames[] = {
32627 (char *) "self",(char *) "width",(char *) "height", NULL
32628 };
32629
32630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32632 if (SWIG_arg_fail(1)) SWIG_fail;
32633 {
32634 arg2 = (int)(SWIG_As_int(obj1));
32635 if (SWIG_arg_fail(2)) SWIG_fail;
32636 }
32637 {
32638 arg3 = (int)(SWIG_As_int(obj2));
32639 if (SWIG_arg_fail(3)) SWIG_fail;
32640 }
32641 {
32642 PyThreadState* __tstate = wxPyBeginAllowThreads();
32643 (arg1)->base_DoSetClientSize(arg2,arg3);
32644
32645 wxPyEndAllowThreads(__tstate);
32646 if (PyErr_Occurred()) SWIG_fail;
32647 }
32648 Py_INCREF(Py_None); resultobj = Py_None;
32649 return resultobj;
32650 fail:
32651 return NULL;
32652}
32653
32654
32655static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32656 PyObject *resultobj;
32657 wxPyControl *arg1 = (wxPyControl *) 0 ;
32658 int arg2 ;
32659 int arg3 ;
32660 PyObject * obj0 = 0 ;
32661 PyObject * obj1 = 0 ;
32662 PyObject * obj2 = 0 ;
32663 char *kwnames[] = {
32664 (char *) "self",(char *) "x",(char *) "y", NULL
32665 };
32666
32667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32669 if (SWIG_arg_fail(1)) SWIG_fail;
32670 {
32671 arg2 = (int)(SWIG_As_int(obj1));
32672 if (SWIG_arg_fail(2)) SWIG_fail;
32673 }
32674 {
32675 arg3 = (int)(SWIG_As_int(obj2));
32676 if (SWIG_arg_fail(3)) SWIG_fail;
32677 }
32678 {
32679 PyThreadState* __tstate = wxPyBeginAllowThreads();
32680 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32681
32682 wxPyEndAllowThreads(__tstate);
32683 if (PyErr_Occurred()) SWIG_fail;
32684 }
32685 Py_INCREF(Py_None); resultobj = Py_None;
32686 return resultobj;
32687 fail:
32688 return NULL;
32689}
32690
32691
32692static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32693 PyObject *resultobj;
32694 wxPyControl *arg1 = (wxPyControl *) 0 ;
32695 int *arg2 = (int *) 0 ;
32696 int *arg3 = (int *) 0 ;
32697 int temp2 ;
32698 int res2 = 0 ;
32699 int temp3 ;
32700 int res3 = 0 ;
32701 PyObject * obj0 = 0 ;
32702 char *kwnames[] = {
32703 (char *) "self", NULL
32704 };
32705
32706 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32707 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32710 if (SWIG_arg_fail(1)) SWIG_fail;
32711 {
32712 PyThreadState* __tstate = wxPyBeginAllowThreads();
32713 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32714
32715 wxPyEndAllowThreads(__tstate);
32716 if (PyErr_Occurred()) SWIG_fail;
32717 }
32718 Py_INCREF(Py_None); resultobj = Py_None;
32719 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32720 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32721 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32722 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32723 return resultobj;
32724 fail:
32725 return NULL;
32726}
32727
32728
32729static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32730 PyObject *resultobj;
32731 wxPyControl *arg1 = (wxPyControl *) 0 ;
32732 int *arg2 = (int *) 0 ;
32733 int *arg3 = (int *) 0 ;
32734 int temp2 ;
32735 int res2 = 0 ;
32736 int temp3 ;
32737 int res3 = 0 ;
32738 PyObject * obj0 = 0 ;
32739 char *kwnames[] = {
32740 (char *) "self", NULL
32741 };
32742
32743 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32744 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32747 if (SWIG_arg_fail(1)) SWIG_fail;
32748 {
32749 PyThreadState* __tstate = wxPyBeginAllowThreads();
32750 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32751
32752 wxPyEndAllowThreads(__tstate);
32753 if (PyErr_Occurred()) SWIG_fail;
32754 }
32755 Py_INCREF(Py_None); resultobj = Py_None;
32756 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32757 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32758 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32759 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32760 return resultobj;
32761 fail:
32762 return NULL;
32763}
32764
32765
32766static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32767 PyObject *resultobj;
32768 wxPyControl *arg1 = (wxPyControl *) 0 ;
32769 int *arg2 = (int *) 0 ;
32770 int *arg3 = (int *) 0 ;
32771 int temp2 ;
32772 int res2 = 0 ;
32773 int temp3 ;
32774 int res3 = 0 ;
32775 PyObject * obj0 = 0 ;
32776 char *kwnames[] = {
32777 (char *) "self", NULL
32778 };
32779
32780 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32781 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
32783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32784 if (SWIG_arg_fail(1)) SWIG_fail;
32785 {
32786 PyThreadState* __tstate = wxPyBeginAllowThreads();
32787 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32788
32789 wxPyEndAllowThreads(__tstate);
32790 if (PyErr_Occurred()) SWIG_fail;
32791 }
32792 Py_INCREF(Py_None); resultobj = Py_None;
32793 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32794 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32795 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32796 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32797 return resultobj;
32798 fail:
32799 return NULL;
32800}
32801
32802
32803static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32804 PyObject *resultobj;
32805 wxPyControl *arg1 = (wxPyControl *) 0 ;
32806 wxSize result;
32807 PyObject * obj0 = 0 ;
32808 char *kwnames[] = {
32809 (char *) "self", NULL
32810 };
32811
32812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32814 if (SWIG_arg_fail(1)) SWIG_fail;
32815 {
32816 PyThreadState* __tstate = wxPyBeginAllowThreads();
32817 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32818
32819 wxPyEndAllowThreads(__tstate);
32820 if (PyErr_Occurred()) SWIG_fail;
32821 }
32822 {
32823 wxSize * resultptr;
32824 resultptr = new wxSize((wxSize &)(result));
32825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32826 }
32827 return resultobj;
32828 fail:
32829 return NULL;
32830}
32831
32832
32833static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32834 PyObject *resultobj;
32835 wxPyControl *arg1 = (wxPyControl *) 0 ;
32836 wxSize result;
32837 PyObject * obj0 = 0 ;
32838 char *kwnames[] = {
32839 (char *) "self", NULL
32840 };
32841
32842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
32843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32844 if (SWIG_arg_fail(1)) SWIG_fail;
32845 {
32846 PyThreadState* __tstate = wxPyBeginAllowThreads();
32847 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32848
32849 wxPyEndAllowThreads(__tstate);
32850 if (PyErr_Occurred()) SWIG_fail;
32851 }
32852 {
32853 wxSize * resultptr;
32854 resultptr = new wxSize((wxSize &)(result));
32855 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32856 }
32857 return resultobj;
32858 fail:
32859 return NULL;
32860}
32861
32862
32863static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32864 PyObject *resultobj;
32865 wxPyControl *arg1 = (wxPyControl *) 0 ;
32866 PyObject * obj0 = 0 ;
32867 char *kwnames[] = {
32868 (char *) "self", NULL
32869 };
32870
32871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32873 if (SWIG_arg_fail(1)) SWIG_fail;
32874 {
32875 PyThreadState* __tstate = wxPyBeginAllowThreads();
32876 (arg1)->base_InitDialog();
32877
32878 wxPyEndAllowThreads(__tstate);
32879 if (PyErr_Occurred()) SWIG_fail;
32880 }
32881 Py_INCREF(Py_None); resultobj = Py_None;
32882 return resultobj;
32883 fail:
32884 return NULL;
32885}
32886
32887
32888static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32889 PyObject *resultobj;
32890 wxPyControl *arg1 = (wxPyControl *) 0 ;
32891 bool result;
32892 PyObject * obj0 = 0 ;
32893 char *kwnames[] = {
32894 (char *) "self", NULL
32895 };
32896
32897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
32898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32899 if (SWIG_arg_fail(1)) SWIG_fail;
32900 {
32901 PyThreadState* __tstate = wxPyBeginAllowThreads();
32902 result = (bool)(arg1)->base_TransferDataToWindow();
32903
32904 wxPyEndAllowThreads(__tstate);
32905 if (PyErr_Occurred()) SWIG_fail;
32906 }
32907 {
32908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32909 }
32910 return resultobj;
32911 fail:
32912 return NULL;
32913}
32914
32915
32916static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32917 PyObject *resultobj;
32918 wxPyControl *arg1 = (wxPyControl *) 0 ;
32919 bool result;
32920 PyObject * obj0 = 0 ;
32921 char *kwnames[] = {
32922 (char *) "self", NULL
32923 };
32924
32925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
32926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32927 if (SWIG_arg_fail(1)) SWIG_fail;
32928 {
32929 PyThreadState* __tstate = wxPyBeginAllowThreads();
32930 result = (bool)(arg1)->base_TransferDataFromWindow();
32931
32932 wxPyEndAllowThreads(__tstate);
32933 if (PyErr_Occurred()) SWIG_fail;
32934 }
32935 {
32936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32937 }
32938 return resultobj;
32939 fail:
32940 return NULL;
32941}
32942
32943
32944static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32945 PyObject *resultobj;
32946 wxPyControl *arg1 = (wxPyControl *) 0 ;
32947 bool result;
32948 PyObject * obj0 = 0 ;
32949 char *kwnames[] = {
32950 (char *) "self", NULL
32951 };
32952
32953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
32954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32955 if (SWIG_arg_fail(1)) SWIG_fail;
32956 {
32957 PyThreadState* __tstate = wxPyBeginAllowThreads();
32958 result = (bool)(arg1)->base_Validate();
32959
32960 wxPyEndAllowThreads(__tstate);
32961 if (PyErr_Occurred()) SWIG_fail;
32962 }
32963 {
32964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32965 }
32966 return resultobj;
32967 fail:
32968 return NULL;
32969}
32970
32971
32972static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32973 PyObject *resultobj;
32974 wxPyControl *arg1 = (wxPyControl *) 0 ;
32975 bool result;
32976 PyObject * obj0 = 0 ;
32977 char *kwnames[] = {
32978 (char *) "self", NULL
32979 };
32980
32981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
32982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32983 if (SWIG_arg_fail(1)) SWIG_fail;
32984 {
32985 PyThreadState* __tstate = wxPyBeginAllowThreads();
32986 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32987
32988 wxPyEndAllowThreads(__tstate);
32989 if (PyErr_Occurred()) SWIG_fail;
32990 }
32991 {
32992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32993 }
32994 return resultobj;
32995 fail:
32996 return NULL;
32997}
32998
32999
33000static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
33001 PyObject *resultobj;
33002 wxPyControl *arg1 = (wxPyControl *) 0 ;
33003 bool result;
33004 PyObject * obj0 = 0 ;
33005 char *kwnames[] = {
33006 (char *) "self", NULL
33007 };
33008
33009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
33010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33011 if (SWIG_arg_fail(1)) SWIG_fail;
33012 {
33013 PyThreadState* __tstate = wxPyBeginAllowThreads();
33014 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
33015
33016 wxPyEndAllowThreads(__tstate);
33017 if (PyErr_Occurred()) SWIG_fail;
33018 }
33019 {
33020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33021 }
33022 return resultobj;
33023 fail:
33024 return NULL;
33025}
33026
33027
33028static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
33029 PyObject *resultobj;
33030 wxPyControl *arg1 = (wxPyControl *) 0 ;
33031 wxSize result;
33032 PyObject * obj0 = 0 ;
33033 char *kwnames[] = {
33034 (char *) "self", NULL
33035 };
33036
33037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
33038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33039 if (SWIG_arg_fail(1)) SWIG_fail;
33040 {
33041 PyThreadState* __tstate = wxPyBeginAllowThreads();
33042 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
33043
33044 wxPyEndAllowThreads(__tstate);
33045 if (PyErr_Occurred()) SWIG_fail;
33046 }
33047 {
33048 wxSize * resultptr;
33049 resultptr = new wxSize((wxSize &)(result));
33050 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33051 }
33052 return resultobj;
33053 fail:
33054 return NULL;
33055}
33056
33057
33058static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
33059 PyObject *resultobj;
33060 wxPyControl *arg1 = (wxPyControl *) 0 ;
33061 wxWindow *arg2 = (wxWindow *) 0 ;
33062 PyObject * obj0 = 0 ;
33063 PyObject * obj1 = 0 ;
33064 char *kwnames[] = {
33065 (char *) "self",(char *) "child", NULL
33066 };
33067
33068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
33069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33070 if (SWIG_arg_fail(1)) SWIG_fail;
33071 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33072 if (SWIG_arg_fail(2)) SWIG_fail;
33073 {
33074 PyThreadState* __tstate = wxPyBeginAllowThreads();
33075 (arg1)->base_AddChild(arg2);
33076
33077 wxPyEndAllowThreads(__tstate);
33078 if (PyErr_Occurred()) SWIG_fail;
33079 }
33080 Py_INCREF(Py_None); resultobj = Py_None;
33081 return resultobj;
33082 fail:
33083 return NULL;
33084}
33085
33086
33087static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
33088 PyObject *resultobj;
33089 wxPyControl *arg1 = (wxPyControl *) 0 ;
33090 wxWindow *arg2 = (wxWindow *) 0 ;
33091 PyObject * obj0 = 0 ;
33092 PyObject * obj1 = 0 ;
33093 char *kwnames[] = {
33094 (char *) "self",(char *) "child", NULL
33095 };
33096
33097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
33098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33099 if (SWIG_arg_fail(1)) SWIG_fail;
33100 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33101 if (SWIG_arg_fail(2)) SWIG_fail;
33102 {
33103 PyThreadState* __tstate = wxPyBeginAllowThreads();
33104 (arg1)->base_RemoveChild(arg2);
33105
33106 wxPyEndAllowThreads(__tstate);
33107 if (PyErr_Occurred()) SWIG_fail;
33108 }
33109 Py_INCREF(Py_None); resultobj = Py_None;
33110 return resultobj;
33111 fail:
33112 return NULL;
33113}
33114
33115
33116static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
33117 PyObject *resultobj;
33118 wxPyControl *arg1 = (wxPyControl *) 0 ;
33119 bool result;
33120 PyObject * obj0 = 0 ;
33121 char *kwnames[] = {
33122 (char *) "self", NULL
33123 };
33124
33125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
33126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33127 if (SWIG_arg_fail(1)) SWIG_fail;
33128 {
33129 PyThreadState* __tstate = wxPyBeginAllowThreads();
33130 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
33131
33132 wxPyEndAllowThreads(__tstate);
33133 if (PyErr_Occurred()) SWIG_fail;
33134 }
33135 {
33136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33137 }
33138 return resultobj;
33139 fail:
33140 return NULL;
33141}
33142
33143
33144static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
33145 PyObject *resultobj;
33146 wxPyControl *arg1 = (wxPyControl *) 0 ;
33147 wxVisualAttributes result;
33148 PyObject * obj0 = 0 ;
33149 char *kwnames[] = {
33150 (char *) "self", NULL
33151 };
33152
33153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
33154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33155 if (SWIG_arg_fail(1)) SWIG_fail;
33156 {
33157 PyThreadState* __tstate = wxPyBeginAllowThreads();
33158 result = (arg1)->base_GetDefaultAttributes();
33159
33160 wxPyEndAllowThreads(__tstate);
33161 if (PyErr_Occurred()) SWIG_fail;
33162 }
33163 {
33164 wxVisualAttributes * resultptr;
33165 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
33166 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33167 }
33168 return resultobj;
33169 fail:
33170 return NULL;
33171}
33172
33173
33174static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
33175 PyObject *obj;
33176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33177 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
33178 Py_INCREF(obj);
33179 return Py_BuildValue((char *)"");
33180}
33181static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
33182 PyObject *resultobj;
33183 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33184 int arg2 = (int) 0 ;
33185 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33186 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33187 wxHelpEvent *result;
33188 wxPoint temp3 ;
33189 PyObject * obj0 = 0 ;
33190 PyObject * obj1 = 0 ;
33191 PyObject * obj2 = 0 ;
33192 char *kwnames[] = {
33193 (char *) "type",(char *) "winid",(char *) "pt", NULL
33194 };
33195
33196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
33197 if (obj0) {
33198 {
33199 arg1 = (wxEventType)(SWIG_As_int(obj0));
33200 if (SWIG_arg_fail(1)) SWIG_fail;
33201 }
33202 }
33203 if (obj1) {
33204 {
33205 arg2 = (int)(SWIG_As_int(obj1));
33206 if (SWIG_arg_fail(2)) SWIG_fail;
33207 }
33208 }
33209 if (obj2) {
33210 {
33211 arg3 = &temp3;
33212 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33213 }
33214 }
33215 {
33216 PyThreadState* __tstate = wxPyBeginAllowThreads();
33217 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33218
33219 wxPyEndAllowThreads(__tstate);
33220 if (PyErr_Occurred()) SWIG_fail;
33221 }
33222 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
33223 return resultobj;
33224 fail:
33225 return NULL;
33226}
33227
33228
33229static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33230 PyObject *resultobj;
33231 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33232 wxPoint result;
33233 PyObject * obj0 = 0 ;
33234 char *kwnames[] = {
33235 (char *) "self", NULL
33236 };
33237
33238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
33239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33240 if (SWIG_arg_fail(1)) SWIG_fail;
33241 {
33242 PyThreadState* __tstate = wxPyBeginAllowThreads();
33243 result = ((wxHelpEvent const *)arg1)->GetPosition();
33244
33245 wxPyEndAllowThreads(__tstate);
33246 if (PyErr_Occurred()) SWIG_fail;
33247 }
33248 {
33249 wxPoint * resultptr;
33250 resultptr = new wxPoint((wxPoint const &)(result));
33251 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33252 }
33253 return resultobj;
33254 fail:
33255 return NULL;
33256}
33257
33258
33259static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33260 PyObject *resultobj;
33261 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33262 wxPoint *arg2 = 0 ;
33263 wxPoint temp2 ;
33264 PyObject * obj0 = 0 ;
33265 PyObject * obj1 = 0 ;
33266 char *kwnames[] = {
33267 (char *) "self",(char *) "pos", NULL
33268 };
33269
33270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33272 if (SWIG_arg_fail(1)) SWIG_fail;
33273 {
33274 arg2 = &temp2;
33275 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33276 }
33277 {
33278 PyThreadState* __tstate = wxPyBeginAllowThreads();
33279 (arg1)->SetPosition((wxPoint const &)*arg2);
33280
33281 wxPyEndAllowThreads(__tstate);
33282 if (PyErr_Occurred()) SWIG_fail;
33283 }
33284 Py_INCREF(Py_None); resultobj = Py_None;
33285 return resultobj;
33286 fail:
33287 return NULL;
33288}
33289
33290
33291static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33292 PyObject *resultobj;
33293 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33294 wxString *result;
33295 PyObject * obj0 = 0 ;
33296 char *kwnames[] = {
33297 (char *) "self", NULL
33298 };
33299
33300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33302 if (SWIG_arg_fail(1)) SWIG_fail;
33303 {
33304 PyThreadState* __tstate = wxPyBeginAllowThreads();
33305 {
33306 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33307 result = (wxString *) &_result_ref;
33308 }
33309
33310 wxPyEndAllowThreads(__tstate);
33311 if (PyErr_Occurred()) SWIG_fail;
33312 }
33313 {
33314#if wxUSE_UNICODE
33315 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33316#else
33317 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33318#endif
33319 }
33320 return resultobj;
33321 fail:
33322 return NULL;
33323}
33324
33325
33326static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33327 PyObject *resultobj;
33328 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33329 wxString *arg2 = 0 ;
33330 bool temp2 = false ;
33331 PyObject * obj0 = 0 ;
33332 PyObject * obj1 = 0 ;
33333 char *kwnames[] = {
33334 (char *) "self",(char *) "link", NULL
33335 };
33336
33337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33339 if (SWIG_arg_fail(1)) SWIG_fail;
33340 {
33341 arg2 = wxString_in_helper(obj1);
33342 if (arg2 == NULL) SWIG_fail;
33343 temp2 = true;
33344 }
33345 {
33346 PyThreadState* __tstate = wxPyBeginAllowThreads();
33347 (arg1)->SetLink((wxString const &)*arg2);
33348
33349 wxPyEndAllowThreads(__tstate);
33350 if (PyErr_Occurred()) SWIG_fail;
33351 }
33352 Py_INCREF(Py_None); resultobj = Py_None;
33353 {
33354 if (temp2)
33355 delete arg2;
33356 }
33357 return resultobj;
33358 fail:
33359 {
33360 if (temp2)
33361 delete arg2;
33362 }
33363 return NULL;
33364}
33365
33366
33367static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33368 PyObject *resultobj;
33369 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33370 wxString *result;
33371 PyObject * obj0 = 0 ;
33372 char *kwnames[] = {
33373 (char *) "self", NULL
33374 };
33375
33376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33378 if (SWIG_arg_fail(1)) SWIG_fail;
33379 {
33380 PyThreadState* __tstate = wxPyBeginAllowThreads();
33381 {
33382 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33383 result = (wxString *) &_result_ref;
33384 }
33385
33386 wxPyEndAllowThreads(__tstate);
33387 if (PyErr_Occurred()) SWIG_fail;
33388 }
33389 {
33390#if wxUSE_UNICODE
33391 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33392#else
33393 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33394#endif
33395 }
33396 return resultobj;
33397 fail:
33398 return NULL;
33399}
33400
33401
33402static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33403 PyObject *resultobj;
33404 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33405 wxString *arg2 = 0 ;
33406 bool temp2 = false ;
33407 PyObject * obj0 = 0 ;
33408 PyObject * obj1 = 0 ;
33409 char *kwnames[] = {
33410 (char *) "self",(char *) "target", NULL
33411 };
33412
33413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33415 if (SWIG_arg_fail(1)) SWIG_fail;
33416 {
33417 arg2 = wxString_in_helper(obj1);
33418 if (arg2 == NULL) SWIG_fail;
33419 temp2 = true;
33420 }
33421 {
33422 PyThreadState* __tstate = wxPyBeginAllowThreads();
33423 (arg1)->SetTarget((wxString const &)*arg2);
33424
33425 wxPyEndAllowThreads(__tstate);
33426 if (PyErr_Occurred()) SWIG_fail;
33427 }
33428 Py_INCREF(Py_None); resultobj = Py_None;
33429 {
33430 if (temp2)
33431 delete arg2;
33432 }
33433 return resultobj;
33434 fail:
33435 {
33436 if (temp2)
33437 delete arg2;
33438 }
33439 return NULL;
33440}
33441
33442
33443static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33444 PyObject *obj;
33445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33446 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33447 Py_INCREF(obj);
33448 return Py_BuildValue((char *)"");
33449}
33450static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33451 PyObject *resultobj;
33452 wxWindow *arg1 = (wxWindow *) NULL ;
33453 bool arg2 = (bool) true ;
33454 wxContextHelp *result;
33455 PyObject * obj0 = 0 ;
33456 PyObject * obj1 = 0 ;
33457 char *kwnames[] = {
33458 (char *) "window",(char *) "doNow", NULL
33459 };
33460
33461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33462 if (obj0) {
33463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33464 if (SWIG_arg_fail(1)) SWIG_fail;
33465 }
33466 if (obj1) {
33467 {
33468 arg2 = (bool)(SWIG_As_bool(obj1));
33469 if (SWIG_arg_fail(2)) SWIG_fail;
33470 }
33471 }
33472 {
33473 if (!wxPyCheckForApp()) SWIG_fail;
33474 PyThreadState* __tstate = wxPyBeginAllowThreads();
33475 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33476
33477 wxPyEndAllowThreads(__tstate);
33478 if (PyErr_Occurred()) SWIG_fail;
33479 }
33480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33481 return resultobj;
33482 fail:
33483 return NULL;
33484}
33485
33486
33487static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33488 PyObject *resultobj;
33489 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33490 PyObject * obj0 = 0 ;
33491 char *kwnames[] = {
33492 (char *) "self", NULL
33493 };
33494
33495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33497 if (SWIG_arg_fail(1)) SWIG_fail;
33498 {
33499 PyThreadState* __tstate = wxPyBeginAllowThreads();
33500 delete arg1;
33501
33502 wxPyEndAllowThreads(__tstate);
33503 if (PyErr_Occurred()) SWIG_fail;
33504 }
33505 Py_INCREF(Py_None); resultobj = Py_None;
33506 return resultobj;
33507 fail:
33508 return NULL;
33509}
33510
33511
33512static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33513 PyObject *resultobj;
33514 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33515 wxWindow *arg2 = (wxWindow *) NULL ;
33516 bool result;
33517 PyObject * obj0 = 0 ;
33518 PyObject * obj1 = 0 ;
33519 char *kwnames[] = {
33520 (char *) "self",(char *) "window", NULL
33521 };
33522
33523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33525 if (SWIG_arg_fail(1)) SWIG_fail;
33526 if (obj1) {
33527 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33528 if (SWIG_arg_fail(2)) SWIG_fail;
33529 }
33530 {
33531 PyThreadState* __tstate = wxPyBeginAllowThreads();
33532 result = (bool)(arg1)->BeginContextHelp(arg2);
33533
33534 wxPyEndAllowThreads(__tstate);
33535 if (PyErr_Occurred()) SWIG_fail;
33536 }
33537 {
33538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33539 }
33540 return resultobj;
33541 fail:
33542 return NULL;
33543}
33544
33545
33546static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33547 PyObject *resultobj;
33548 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33549 bool result;
33550 PyObject * obj0 = 0 ;
33551 char *kwnames[] = {
33552 (char *) "self", NULL
33553 };
33554
33555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33557 if (SWIG_arg_fail(1)) SWIG_fail;
33558 {
33559 PyThreadState* __tstate = wxPyBeginAllowThreads();
33560 result = (bool)(arg1)->EndContextHelp();
33561
33562 wxPyEndAllowThreads(__tstate);
33563 if (PyErr_Occurred()) SWIG_fail;
33564 }
33565 {
33566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33567 }
33568 return resultobj;
33569 fail:
33570 return NULL;
33571}
33572
33573
33574static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33575 PyObject *obj;
33576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33577 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33578 Py_INCREF(obj);
33579 return Py_BuildValue((char *)"");
33580}
33581static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33582 PyObject *resultobj;
33583 wxWindow *arg1 = (wxWindow *) 0 ;
33584 int arg2 = (int) wxID_CONTEXT_HELP ;
33585 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33586 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33587 wxSize const &arg4_defvalue = wxDefaultSize ;
33588 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33589 long arg5 = (long) wxBU_AUTODRAW ;
33590 wxContextHelpButton *result;
33591 wxPoint temp3 ;
33592 wxSize temp4 ;
33593 PyObject * obj0 = 0 ;
33594 PyObject * obj1 = 0 ;
33595 PyObject * obj2 = 0 ;
33596 PyObject * obj3 = 0 ;
33597 PyObject * obj4 = 0 ;
33598 char *kwnames[] = {
33599 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33600 };
33601
33602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33604 if (SWIG_arg_fail(1)) SWIG_fail;
33605 if (obj1) {
33606 {
33607 arg2 = (int)(SWIG_As_int(obj1));
33608 if (SWIG_arg_fail(2)) SWIG_fail;
33609 }
33610 }
33611 if (obj2) {
33612 {
33613 arg3 = &temp3;
33614 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33615 }
33616 }
33617 if (obj3) {
33618 {
33619 arg4 = &temp4;
33620 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33621 }
33622 }
33623 if (obj4) {
33624 {
33625 arg5 = (long)(SWIG_As_long(obj4));
33626 if (SWIG_arg_fail(5)) SWIG_fail;
33627 }
33628 }
33629 {
33630 if (!wxPyCheckForApp()) SWIG_fail;
33631 PyThreadState* __tstate = wxPyBeginAllowThreads();
33632 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33633
33634 wxPyEndAllowThreads(__tstate);
33635 if (PyErr_Occurred()) SWIG_fail;
33636 }
33637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33638 return resultobj;
33639 fail:
33640 return NULL;
33641}
33642
33643
33644static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33645 PyObject *obj;
33646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33647 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33648 Py_INCREF(obj);
33649 return Py_BuildValue((char *)"");
33650}
33651static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33652 PyObject *resultobj;
33653 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33654 wxHelpProvider *result;
33655 PyObject * obj0 = 0 ;
33656 char *kwnames[] = {
33657 (char *) "helpProvider", NULL
33658 };
33659
33660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33662 if (SWIG_arg_fail(1)) SWIG_fail;
33663 {
33664 PyThreadState* __tstate = wxPyBeginAllowThreads();
33665 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33666
33667 wxPyEndAllowThreads(__tstate);
33668 if (PyErr_Occurred()) SWIG_fail;
33669 }
33670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33671 return resultobj;
33672 fail:
33673 return NULL;
33674}
33675
33676
33677static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33678 PyObject *resultobj;
33679 wxHelpProvider *result;
33680 char *kwnames[] = {
33681 NULL
33682 };
33683
33684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33685 {
33686 PyThreadState* __tstate = wxPyBeginAllowThreads();
33687 result = (wxHelpProvider *)wxHelpProvider::Get();
33688
33689 wxPyEndAllowThreads(__tstate);
33690 if (PyErr_Occurred()) SWIG_fail;
33691 }
33692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33693 return resultobj;
33694 fail:
33695 return NULL;
33696}
33697
33698
33699static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33700 PyObject *resultobj;
33701 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33702 wxWindow *arg2 = (wxWindow *) 0 ;
33703 wxString result;
33704 PyObject * obj0 = 0 ;
33705 PyObject * obj1 = 0 ;
33706 char *kwnames[] = {
33707 (char *) "self",(char *) "window", NULL
33708 };
33709
33710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33712 if (SWIG_arg_fail(1)) SWIG_fail;
33713 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33714 if (SWIG_arg_fail(2)) SWIG_fail;
33715 {
33716 PyThreadState* __tstate = wxPyBeginAllowThreads();
33717 result = (arg1)->GetHelp((wxWindow const *)arg2);
33718
33719 wxPyEndAllowThreads(__tstate);
33720 if (PyErr_Occurred()) SWIG_fail;
33721 }
33722 {
33723#if wxUSE_UNICODE
33724 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33725#else
33726 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33727#endif
33728 }
33729 return resultobj;
33730 fail:
33731 return NULL;
33732}
33733
33734
33735static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33736 PyObject *resultobj;
33737 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33738 wxWindow *arg2 = (wxWindow *) 0 ;
33739 bool result;
33740 PyObject * obj0 = 0 ;
33741 PyObject * obj1 = 0 ;
33742 char *kwnames[] = {
33743 (char *) "self",(char *) "window", NULL
33744 };
33745
33746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33748 if (SWIG_arg_fail(1)) SWIG_fail;
33749 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33750 if (SWIG_arg_fail(2)) SWIG_fail;
33751 {
33752 PyThreadState* __tstate = wxPyBeginAllowThreads();
33753 result = (bool)(arg1)->ShowHelp(arg2);
33754
33755 wxPyEndAllowThreads(__tstate);
33756 if (PyErr_Occurred()) SWIG_fail;
33757 }
33758 {
33759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33760 }
33761 return resultobj;
33762 fail:
33763 return NULL;
33764}
33765
33766
33767static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33768 PyObject *resultobj;
33769 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33770 wxWindow *arg2 = (wxWindow *) 0 ;
33771 wxString *arg3 = 0 ;
33772 bool temp3 = false ;
33773 PyObject * obj0 = 0 ;
33774 PyObject * obj1 = 0 ;
33775 PyObject * obj2 = 0 ;
33776 char *kwnames[] = {
33777 (char *) "self",(char *) "window",(char *) "text", NULL
33778 };
33779
33780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33782 if (SWIG_arg_fail(1)) SWIG_fail;
33783 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33784 if (SWIG_arg_fail(2)) SWIG_fail;
33785 {
33786 arg3 = wxString_in_helper(obj2);
33787 if (arg3 == NULL) SWIG_fail;
33788 temp3 = true;
33789 }
33790 {
33791 PyThreadState* __tstate = wxPyBeginAllowThreads();
33792 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33793
33794 wxPyEndAllowThreads(__tstate);
33795 if (PyErr_Occurred()) SWIG_fail;
33796 }
33797 Py_INCREF(Py_None); resultobj = Py_None;
33798 {
33799 if (temp3)
33800 delete arg3;
33801 }
33802 return resultobj;
33803 fail:
33804 {
33805 if (temp3)
33806 delete arg3;
33807 }
33808 return NULL;
33809}
33810
33811
33812static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33813 PyObject *resultobj;
33814 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33815 int arg2 ;
33816 wxString *arg3 = 0 ;
33817 bool temp3 = false ;
33818 PyObject * obj0 = 0 ;
33819 PyObject * obj1 = 0 ;
33820 PyObject * obj2 = 0 ;
33821 char *kwnames[] = {
33822 (char *) "self",(char *) "id",(char *) "text", NULL
33823 };
33824
33825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33827 if (SWIG_arg_fail(1)) SWIG_fail;
33828 {
33829 arg2 = (int)(SWIG_As_int(obj1));
33830 if (SWIG_arg_fail(2)) SWIG_fail;
33831 }
33832 {
33833 arg3 = wxString_in_helper(obj2);
33834 if (arg3 == NULL) SWIG_fail;
33835 temp3 = true;
33836 }
33837 {
33838 PyThreadState* __tstate = wxPyBeginAllowThreads();
33839 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33840
33841 wxPyEndAllowThreads(__tstate);
33842 if (PyErr_Occurred()) SWIG_fail;
33843 }
33844 Py_INCREF(Py_None); resultobj = Py_None;
33845 {
33846 if (temp3)
33847 delete arg3;
33848 }
33849 return resultobj;
33850 fail:
33851 {
33852 if (temp3)
33853 delete arg3;
33854 }
33855 return NULL;
33856}
33857
33858
33859static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33860 PyObject *resultobj;
33861 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33862 wxWindow *arg2 = (wxWindow *) 0 ;
33863 PyObject * obj0 = 0 ;
33864 PyObject * obj1 = 0 ;
33865 char *kwnames[] = {
33866 (char *) "self",(char *) "window", NULL
33867 };
33868
33869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33871 if (SWIG_arg_fail(1)) SWIG_fail;
33872 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33873 if (SWIG_arg_fail(2)) SWIG_fail;
33874 {
33875 PyThreadState* __tstate = wxPyBeginAllowThreads();
33876 (arg1)->RemoveHelp(arg2);
33877
33878 wxPyEndAllowThreads(__tstate);
33879 if (PyErr_Occurred()) SWIG_fail;
33880 }
33881 Py_INCREF(Py_None); resultobj = Py_None;
33882 return resultobj;
33883 fail:
33884 return NULL;
33885}
33886
33887
33888static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
33889 PyObject *resultobj;
33890 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33891 PyObject * obj0 = 0 ;
33892 char *kwnames[] = {
33893 (char *) "self", NULL
33894 };
33895
33896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
33897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33898 if (SWIG_arg_fail(1)) SWIG_fail;
33899 {
33900 PyThreadState* __tstate = wxPyBeginAllowThreads();
33901 wxHelpProvider_Destroy(arg1);
33902
33903 wxPyEndAllowThreads(__tstate);
33904 if (PyErr_Occurred()) SWIG_fail;
33905 }
33906 Py_INCREF(Py_None); resultobj = Py_None;
33907 return resultobj;
33908 fail:
33909 return NULL;
33910}
33911
33912
33913static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
33914 PyObject *obj;
33915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33916 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33917 Py_INCREF(obj);
33918 return Py_BuildValue((char *)"");
33919}
33920static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
33921 PyObject *resultobj;
33922 wxSimpleHelpProvider *result;
33923 char *kwnames[] = {
33924 NULL
33925 };
33926
33927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33928 {
33929 PyThreadState* __tstate = wxPyBeginAllowThreads();
33930 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33931
33932 wxPyEndAllowThreads(__tstate);
33933 if (PyErr_Occurred()) SWIG_fail;
33934 }
33935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33936 return resultobj;
33937 fail:
33938 return NULL;
33939}
33940
33941
33942static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
33943 PyObject *obj;
33944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33945 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33946 Py_INCREF(obj);
33947 return Py_BuildValue((char *)"");
33948}
33949static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33950 PyObject *resultobj;
33951 wxBitmap *arg1 = 0 ;
33952 wxCursor const &arg2_defvalue = wxNullCursor ;
33953 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33954 wxGenericDragImage *result;
33955 PyObject * obj0 = 0 ;
33956 PyObject * obj1 = 0 ;
33957 char *kwnames[] = {
33958 (char *) "image",(char *) "cursor", NULL
33959 };
33960
33961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
33962 {
33963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33964 if (SWIG_arg_fail(1)) SWIG_fail;
33965 if (arg1 == NULL) {
33966 SWIG_null_ref("wxBitmap");
33967 }
33968 if (SWIG_arg_fail(1)) SWIG_fail;
33969 }
33970 if (obj1) {
33971 {
33972 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33973 if (SWIG_arg_fail(2)) SWIG_fail;
33974 if (arg2 == NULL) {
33975 SWIG_null_ref("wxCursor");
33976 }
33977 if (SWIG_arg_fail(2)) SWIG_fail;
33978 }
33979 }
33980 {
33981 if (!wxPyCheckForApp()) SWIG_fail;
33982 PyThreadState* __tstate = wxPyBeginAllowThreads();
33983 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33984
33985 wxPyEndAllowThreads(__tstate);
33986 if (PyErr_Occurred()) SWIG_fail;
33987 }
33988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33989 return resultobj;
33990 fail:
33991 return NULL;
33992}
33993
33994
33995static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
33996 PyObject *resultobj;
33997 wxIcon *arg1 = 0 ;
33998 wxCursor const &arg2_defvalue = wxNullCursor ;
33999 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34000 wxGenericDragImage *result;
34001 PyObject * obj0 = 0 ;
34002 PyObject * obj1 = 0 ;
34003 char *kwnames[] = {
34004 (char *) "image",(char *) "cursor", NULL
34005 };
34006
34007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
34008 {
34009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
34010 if (SWIG_arg_fail(1)) SWIG_fail;
34011 if (arg1 == NULL) {
34012 SWIG_null_ref("wxIcon");
34013 }
34014 if (SWIG_arg_fail(1)) SWIG_fail;
34015 }
34016 if (obj1) {
34017 {
34018 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34019 if (SWIG_arg_fail(2)) SWIG_fail;
34020 if (arg2 == NULL) {
34021 SWIG_null_ref("wxCursor");
34022 }
34023 if (SWIG_arg_fail(2)) SWIG_fail;
34024 }
34025 }
34026 {
34027 if (!wxPyCheckForApp()) SWIG_fail;
34028 PyThreadState* __tstate = wxPyBeginAllowThreads();
34029 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
34030
34031 wxPyEndAllowThreads(__tstate);
34032 if (PyErr_Occurred()) SWIG_fail;
34033 }
34034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34035 return resultobj;
34036 fail:
34037 return NULL;
34038}
34039
34040
34041static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
34042 PyObject *resultobj;
34043 wxString *arg1 = 0 ;
34044 wxCursor const &arg2_defvalue = wxNullCursor ;
34045 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34046 wxGenericDragImage *result;
34047 bool temp1 = false ;
34048 PyObject * obj0 = 0 ;
34049 PyObject * obj1 = 0 ;
34050 char *kwnames[] = {
34051 (char *) "str",(char *) "cursor", NULL
34052 };
34053
34054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
34055 {
34056 arg1 = wxString_in_helper(obj0);
34057 if (arg1 == NULL) SWIG_fail;
34058 temp1 = true;
34059 }
34060 if (obj1) {
34061 {
34062 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34063 if (SWIG_arg_fail(2)) SWIG_fail;
34064 if (arg2 == NULL) {
34065 SWIG_null_ref("wxCursor");
34066 }
34067 if (SWIG_arg_fail(2)) SWIG_fail;
34068 }
34069 }
34070 {
34071 if (!wxPyCheckForApp()) SWIG_fail;
34072 PyThreadState* __tstate = wxPyBeginAllowThreads();
34073 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
34074
34075 wxPyEndAllowThreads(__tstate);
34076 if (PyErr_Occurred()) SWIG_fail;
34077 }
34078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34079 {
34080 if (temp1)
34081 delete arg1;
34082 }
34083 return resultobj;
34084 fail:
34085 {
34086 if (temp1)
34087 delete arg1;
34088 }
34089 return NULL;
34090}
34091
34092
34093static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
34094 PyObject *resultobj;
34095 wxPyTreeCtrl *arg1 = 0 ;
34096 wxTreeItemId *arg2 = 0 ;
34097 wxGenericDragImage *result;
34098 PyObject * obj0 = 0 ;
34099 PyObject * obj1 = 0 ;
34100 char *kwnames[] = {
34101 (char *) "treeCtrl",(char *) "id", NULL
34102 };
34103
34104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
34105 {
34106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
34107 if (SWIG_arg_fail(1)) SWIG_fail;
34108 if (arg1 == NULL) {
34109 SWIG_null_ref("wxPyTreeCtrl");
34110 }
34111 if (SWIG_arg_fail(1)) SWIG_fail;
34112 }
34113 {
34114 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
34115 if (SWIG_arg_fail(2)) SWIG_fail;
34116 if (arg2 == NULL) {
34117 SWIG_null_ref("wxTreeItemId");
34118 }
34119 if (SWIG_arg_fail(2)) SWIG_fail;
34120 }
34121 {
34122 if (!wxPyCheckForApp()) SWIG_fail;
34123 PyThreadState* __tstate = wxPyBeginAllowThreads();
34124 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
34125
34126 wxPyEndAllowThreads(__tstate);
34127 if (PyErr_Occurred()) SWIG_fail;
34128 }
34129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34130 return resultobj;
34131 fail:
34132 return NULL;
34133}
34134
34135
34136static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
34137 PyObject *resultobj;
34138 wxPyListCtrl *arg1 = 0 ;
34139 long arg2 ;
34140 wxGenericDragImage *result;
34141 PyObject * obj0 = 0 ;
34142 PyObject * obj1 = 0 ;
34143 char *kwnames[] = {
34144 (char *) "listCtrl",(char *) "id", NULL
34145 };
34146
34147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
34148 {
34149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
34150 if (SWIG_arg_fail(1)) SWIG_fail;
34151 if (arg1 == NULL) {
34152 SWIG_null_ref("wxPyListCtrl");
34153 }
34154 if (SWIG_arg_fail(1)) SWIG_fail;
34155 }
34156 {
34157 arg2 = (long)(SWIG_As_long(obj1));
34158 if (SWIG_arg_fail(2)) SWIG_fail;
34159 }
34160 {
34161 if (!wxPyCheckForApp()) SWIG_fail;
34162 PyThreadState* __tstate = wxPyBeginAllowThreads();
34163 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
34164
34165 wxPyEndAllowThreads(__tstate);
34166 if (PyErr_Occurred()) SWIG_fail;
34167 }
34168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34169 return resultobj;
34170 fail:
34171 return NULL;
34172}
34173
34174
34175static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
34176 PyObject *resultobj;
34177 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34178 PyObject * obj0 = 0 ;
34179 char *kwnames[] = {
34180 (char *) "self", NULL
34181 };
34182
34183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
34184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34185 if (SWIG_arg_fail(1)) SWIG_fail;
34186 {
34187 PyThreadState* __tstate = wxPyBeginAllowThreads();
34188 delete arg1;
34189
34190 wxPyEndAllowThreads(__tstate);
34191 if (PyErr_Occurred()) SWIG_fail;
34192 }
34193 Py_INCREF(Py_None); resultobj = Py_None;
34194 return resultobj;
34195 fail:
34196 return NULL;
34197}
34198
34199
34200static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
34201 PyObject *resultobj;
34202 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34203 wxBitmap *arg2 = (wxBitmap *) 0 ;
34204 PyObject * obj0 = 0 ;
34205 PyObject * obj1 = 0 ;
34206 char *kwnames[] = {
34207 (char *) "self",(char *) "bitmap", NULL
34208 };
34209
34210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
34211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34212 if (SWIG_arg_fail(1)) SWIG_fail;
34213 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34214 if (SWIG_arg_fail(2)) SWIG_fail;
34215 {
34216 PyThreadState* __tstate = wxPyBeginAllowThreads();
34217 (arg1)->SetBackingBitmap(arg2);
34218
34219 wxPyEndAllowThreads(__tstate);
34220 if (PyErr_Occurred()) SWIG_fail;
34221 }
34222 Py_INCREF(Py_None); resultobj = Py_None;
34223 return resultobj;
34224 fail:
34225 return NULL;
34226}
34227
34228
34229static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34230 PyObject *resultobj;
34231 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34232 wxPoint *arg2 = 0 ;
34233 wxWindow *arg3 = (wxWindow *) 0 ;
34234 bool arg4 = (bool) false ;
34235 wxRect *arg5 = (wxRect *) NULL ;
34236 bool result;
34237 wxPoint temp2 ;
34238 PyObject * obj0 = 0 ;
34239 PyObject * obj1 = 0 ;
34240 PyObject * obj2 = 0 ;
34241 PyObject * obj3 = 0 ;
34242 PyObject * obj4 = 0 ;
34243 char *kwnames[] = {
34244 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34245 };
34246
34247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34249 if (SWIG_arg_fail(1)) SWIG_fail;
34250 {
34251 arg2 = &temp2;
34252 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34253 }
34254 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34255 if (SWIG_arg_fail(3)) SWIG_fail;
34256 if (obj3) {
34257 {
34258 arg4 = (bool)(SWIG_As_bool(obj3));
34259 if (SWIG_arg_fail(4)) SWIG_fail;
34260 }
34261 }
34262 if (obj4) {
34263 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34264 if (SWIG_arg_fail(5)) SWIG_fail;
34265 }
34266 {
34267 PyThreadState* __tstate = wxPyBeginAllowThreads();
34268 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34269
34270 wxPyEndAllowThreads(__tstate);
34271 if (PyErr_Occurred()) SWIG_fail;
34272 }
34273 {
34274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34275 }
34276 return resultobj;
34277 fail:
34278 return NULL;
34279}
34280
34281
34282static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34283 PyObject *resultobj;
34284 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34285 wxPoint *arg2 = 0 ;
34286 wxWindow *arg3 = (wxWindow *) 0 ;
34287 wxWindow *arg4 = (wxWindow *) 0 ;
34288 bool result;
34289 wxPoint temp2 ;
34290 PyObject * obj0 = 0 ;
34291 PyObject * obj1 = 0 ;
34292 PyObject * obj2 = 0 ;
34293 PyObject * obj3 = 0 ;
34294 char *kwnames[] = {
34295 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34296 };
34297
34298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34300 if (SWIG_arg_fail(1)) SWIG_fail;
34301 {
34302 arg2 = &temp2;
34303 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34304 }
34305 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34306 if (SWIG_arg_fail(3)) SWIG_fail;
34307 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34308 if (SWIG_arg_fail(4)) SWIG_fail;
34309 {
34310 PyThreadState* __tstate = wxPyBeginAllowThreads();
34311 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34312
34313 wxPyEndAllowThreads(__tstate);
34314 if (PyErr_Occurred()) SWIG_fail;
34315 }
34316 {
34317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34318 }
34319 return resultobj;
34320 fail:
34321 return NULL;
34322}
34323
34324
34325static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34326 PyObject *resultobj;
34327 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34328 bool result;
34329 PyObject * obj0 = 0 ;
34330 char *kwnames[] = {
34331 (char *) "self", NULL
34332 };
34333
34334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34336 if (SWIG_arg_fail(1)) SWIG_fail;
34337 {
34338 PyThreadState* __tstate = wxPyBeginAllowThreads();
34339 result = (bool)(arg1)->EndDrag();
34340
34341 wxPyEndAllowThreads(__tstate);
34342 if (PyErr_Occurred()) SWIG_fail;
34343 }
34344 {
34345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34346 }
34347 return resultobj;
34348 fail:
34349 return NULL;
34350}
34351
34352
34353static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34354 PyObject *resultobj;
34355 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34356 wxPoint *arg2 = 0 ;
34357 bool result;
34358 wxPoint temp2 ;
34359 PyObject * obj0 = 0 ;
34360 PyObject * obj1 = 0 ;
34361 char *kwnames[] = {
34362 (char *) "self",(char *) "pt", NULL
34363 };
34364
34365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34367 if (SWIG_arg_fail(1)) SWIG_fail;
34368 {
34369 arg2 = &temp2;
34370 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34371 }
34372 {
34373 PyThreadState* __tstate = wxPyBeginAllowThreads();
34374 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34375
34376 wxPyEndAllowThreads(__tstate);
34377 if (PyErr_Occurred()) SWIG_fail;
34378 }
34379 {
34380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34381 }
34382 return resultobj;
34383 fail:
34384 return NULL;
34385}
34386
34387
34388static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34389 PyObject *resultobj;
34390 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34391 bool result;
34392 PyObject * obj0 = 0 ;
34393 char *kwnames[] = {
34394 (char *) "self", NULL
34395 };
34396
34397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34399 if (SWIG_arg_fail(1)) SWIG_fail;
34400 {
34401 PyThreadState* __tstate = wxPyBeginAllowThreads();
34402 result = (bool)(arg1)->Show();
34403
34404 wxPyEndAllowThreads(__tstate);
34405 if (PyErr_Occurred()) SWIG_fail;
34406 }
34407 {
34408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34409 }
34410 return resultobj;
34411 fail:
34412 return NULL;
34413}
34414
34415
34416static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34417 PyObject *resultobj;
34418 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34419 bool result;
34420 PyObject * obj0 = 0 ;
34421 char *kwnames[] = {
34422 (char *) "self", NULL
34423 };
34424
34425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34427 if (SWIG_arg_fail(1)) SWIG_fail;
34428 {
34429 PyThreadState* __tstate = wxPyBeginAllowThreads();
34430 result = (bool)(arg1)->Hide();
34431
34432 wxPyEndAllowThreads(__tstate);
34433 if (PyErr_Occurred()) SWIG_fail;
34434 }
34435 {
34436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34437 }
34438 return resultobj;
34439 fail:
34440 return NULL;
34441}
34442
34443
34444static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34445 PyObject *resultobj;
34446 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34447 wxPoint *arg2 = 0 ;
34448 wxRect result;
34449 wxPoint temp2 ;
34450 PyObject * obj0 = 0 ;
34451 PyObject * obj1 = 0 ;
34452 char *kwnames[] = {
34453 (char *) "self",(char *) "pos", NULL
34454 };
34455
34456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34458 if (SWIG_arg_fail(1)) SWIG_fail;
34459 {
34460 arg2 = &temp2;
34461 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34462 }
34463 {
34464 PyThreadState* __tstate = wxPyBeginAllowThreads();
34465 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34466
34467 wxPyEndAllowThreads(__tstate);
34468 if (PyErr_Occurred()) SWIG_fail;
34469 }
34470 {
34471 wxRect * resultptr;
34472 resultptr = new wxRect((wxRect &)(result));
34473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34474 }
34475 return resultobj;
34476 fail:
34477 return NULL;
34478}
34479
34480
34481static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34482 PyObject *resultobj;
34483 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34484 wxDC *arg2 = 0 ;
34485 wxPoint *arg3 = 0 ;
34486 bool result;
34487 wxPoint temp3 ;
34488 PyObject * obj0 = 0 ;
34489 PyObject * obj1 = 0 ;
34490 PyObject * obj2 = 0 ;
34491 char *kwnames[] = {
34492 (char *) "self",(char *) "dc",(char *) "pos", NULL
34493 };
34494
34495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34497 if (SWIG_arg_fail(1)) SWIG_fail;
34498 {
34499 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34500 if (SWIG_arg_fail(2)) SWIG_fail;
34501 if (arg2 == NULL) {
34502 SWIG_null_ref("wxDC");
34503 }
34504 if (SWIG_arg_fail(2)) SWIG_fail;
34505 }
34506 {
34507 arg3 = &temp3;
34508 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34509 }
34510 {
34511 PyThreadState* __tstate = wxPyBeginAllowThreads();
34512 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34513
34514 wxPyEndAllowThreads(__tstate);
34515 if (PyErr_Occurred()) SWIG_fail;
34516 }
34517 {
34518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34519 }
34520 return resultobj;
34521 fail:
34522 return NULL;
34523}
34524
34525
34526static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34527 PyObject *resultobj;
34528 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34529 wxDC *arg2 = 0 ;
34530 wxMemoryDC *arg3 = 0 ;
34531 wxRect *arg4 = 0 ;
34532 wxRect *arg5 = 0 ;
34533 bool result;
34534 wxRect temp4 ;
34535 wxRect temp5 ;
34536 PyObject * obj0 = 0 ;
34537 PyObject * obj1 = 0 ;
34538 PyObject * obj2 = 0 ;
34539 PyObject * obj3 = 0 ;
34540 PyObject * obj4 = 0 ;
34541 char *kwnames[] = {
34542 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34543 };
34544
34545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34547 if (SWIG_arg_fail(1)) SWIG_fail;
34548 {
34549 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34550 if (SWIG_arg_fail(2)) SWIG_fail;
34551 if (arg2 == NULL) {
34552 SWIG_null_ref("wxDC");
34553 }
34554 if (SWIG_arg_fail(2)) SWIG_fail;
34555 }
34556 {
34557 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34558 if (SWIG_arg_fail(3)) SWIG_fail;
34559 if (arg3 == NULL) {
34560 SWIG_null_ref("wxMemoryDC");
34561 }
34562 if (SWIG_arg_fail(3)) SWIG_fail;
34563 }
34564 {
34565 arg4 = &temp4;
34566 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34567 }
34568 {
34569 arg5 = &temp5;
34570 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34571 }
34572 {
34573 PyThreadState* __tstate = wxPyBeginAllowThreads();
34574 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34575
34576 wxPyEndAllowThreads(__tstate);
34577 if (PyErr_Occurred()) SWIG_fail;
34578 }
34579 {
34580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34581 }
34582 return resultobj;
34583 fail:
34584 return NULL;
34585}
34586
34587
34588static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34589 PyObject *resultobj;
34590 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34591 wxPoint *arg2 = 0 ;
34592 wxPoint *arg3 = 0 ;
34593 bool arg4 ;
34594 bool arg5 ;
34595 bool result;
34596 wxPoint temp2 ;
34597 wxPoint temp3 ;
34598 PyObject * obj0 = 0 ;
34599 PyObject * obj1 = 0 ;
34600 PyObject * obj2 = 0 ;
34601 PyObject * obj3 = 0 ;
34602 PyObject * obj4 = 0 ;
34603 char *kwnames[] = {
34604 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34605 };
34606
34607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34609 if (SWIG_arg_fail(1)) SWIG_fail;
34610 {
34611 arg2 = &temp2;
34612 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34613 }
34614 {
34615 arg3 = &temp3;
34616 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34617 }
34618 {
34619 arg4 = (bool)(SWIG_As_bool(obj3));
34620 if (SWIG_arg_fail(4)) SWIG_fail;
34621 }
34622 {
34623 arg5 = (bool)(SWIG_As_bool(obj4));
34624 if (SWIG_arg_fail(5)) SWIG_fail;
34625 }
34626 {
34627 PyThreadState* __tstate = wxPyBeginAllowThreads();
34628 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34629
34630 wxPyEndAllowThreads(__tstate);
34631 if (PyErr_Occurred()) SWIG_fail;
34632 }
34633 {
34634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34635 }
34636 return resultobj;
34637 fail:
34638 return NULL;
34639}
34640
34641
34642static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34643 PyObject *obj;
34644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34645 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34646 Py_INCREF(obj);
34647 return Py_BuildValue((char *)"");
34648}
34649static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34650 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34651 return 1;
34652}
34653
34654
34655static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34656 PyObject *pyobj;
34657
34658 {
34659#if wxUSE_UNICODE
34660 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34661#else
34662 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34663#endif
34664 }
34665 return pyobj;
34666}
34667
34668
34669static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34670 PyObject *resultobj;
34671 wxWindow *arg1 = (wxWindow *) 0 ;
34672 int arg2 = (int) -1 ;
34673 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34674 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34675 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34676 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34677 wxSize const &arg5_defvalue = wxDefaultSize ;
34678 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34679 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34680 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34681 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34682 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34683 wxString *arg8 = (wxString *) &arg8_defvalue ;
34684 wxDatePickerCtrl *result;
34685 wxPoint temp4 ;
34686 wxSize temp5 ;
34687 bool temp8 = false ;
34688 PyObject * obj0 = 0 ;
34689 PyObject * obj1 = 0 ;
34690 PyObject * obj2 = 0 ;
34691 PyObject * obj3 = 0 ;
34692 PyObject * obj4 = 0 ;
34693 PyObject * obj5 = 0 ;
34694 PyObject * obj6 = 0 ;
34695 PyObject * obj7 = 0 ;
34696 char *kwnames[] = {
34697 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34698 };
34699
34700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34702 if (SWIG_arg_fail(1)) SWIG_fail;
34703 if (obj1) {
34704 {
34705 arg2 = (int)(SWIG_As_int(obj1));
34706 if (SWIG_arg_fail(2)) SWIG_fail;
34707 }
34708 }
34709 if (obj2) {
34710 {
34711 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34712 if (SWIG_arg_fail(3)) SWIG_fail;
34713 if (arg3 == NULL) {
34714 SWIG_null_ref("wxDateTime");
34715 }
34716 if (SWIG_arg_fail(3)) SWIG_fail;
34717 }
34718 }
34719 if (obj3) {
34720 {
34721 arg4 = &temp4;
34722 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34723 }
34724 }
34725 if (obj4) {
34726 {
34727 arg5 = &temp5;
34728 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34729 }
34730 }
34731 if (obj5) {
34732 {
34733 arg6 = (long)(SWIG_As_long(obj5));
34734 if (SWIG_arg_fail(6)) SWIG_fail;
34735 }
34736 }
34737 if (obj6) {
34738 {
34739 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34740 if (SWIG_arg_fail(7)) SWIG_fail;
34741 if (arg7 == NULL) {
34742 SWIG_null_ref("wxValidator");
34743 }
34744 if (SWIG_arg_fail(7)) SWIG_fail;
34745 }
34746 }
34747 if (obj7) {
34748 {
34749 arg8 = wxString_in_helper(obj7);
34750 if (arg8 == NULL) SWIG_fail;
34751 temp8 = true;
34752 }
34753 }
34754 {
34755 if (!wxPyCheckForApp()) SWIG_fail;
34756 PyThreadState* __tstate = wxPyBeginAllowThreads();
34757 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34758
34759 wxPyEndAllowThreads(__tstate);
34760 if (PyErr_Occurred()) SWIG_fail;
34761 }
34762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34763 {
34764 if (temp8)
34765 delete arg8;
34766 }
34767 return resultobj;
34768 fail:
34769 {
34770 if (temp8)
34771 delete arg8;
34772 }
34773 return NULL;
34774}
34775
34776
34777static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34778 PyObject *resultobj;
34779 wxDatePickerCtrl *result;
34780 char *kwnames[] = {
34781 NULL
34782 };
34783
34784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34785 {
34786 if (!wxPyCheckForApp()) SWIG_fail;
34787 PyThreadState* __tstate = wxPyBeginAllowThreads();
34788 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34789
34790 wxPyEndAllowThreads(__tstate);
34791 if (PyErr_Occurred()) SWIG_fail;
34792 }
34793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34794 return resultobj;
34795 fail:
34796 return NULL;
34797}
34798
34799
34800static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34801 PyObject *resultobj;
34802 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34803 wxWindow *arg2 = (wxWindow *) 0 ;
34804 int arg3 = (int) -1 ;
34805 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34806 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34807 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34808 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34809 wxSize const &arg6_defvalue = wxDefaultSize ;
34810 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34811 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34812 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34813 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34814 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34815 wxString *arg9 = (wxString *) &arg9_defvalue ;
34816 bool result;
34817 wxPoint temp5 ;
34818 wxSize temp6 ;
34819 bool temp9 = false ;
34820 PyObject * obj0 = 0 ;
34821 PyObject * obj1 = 0 ;
34822 PyObject * obj2 = 0 ;
34823 PyObject * obj3 = 0 ;
34824 PyObject * obj4 = 0 ;
34825 PyObject * obj5 = 0 ;
34826 PyObject * obj6 = 0 ;
34827 PyObject * obj7 = 0 ;
34828 PyObject * obj8 = 0 ;
34829 char *kwnames[] = {
34830 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34831 };
34832
34833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34835 if (SWIG_arg_fail(1)) SWIG_fail;
34836 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34837 if (SWIG_arg_fail(2)) SWIG_fail;
34838 if (obj2) {
34839 {
34840 arg3 = (int)(SWIG_As_int(obj2));
34841 if (SWIG_arg_fail(3)) SWIG_fail;
34842 }
34843 }
34844 if (obj3) {
34845 {
34846 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34847 if (SWIG_arg_fail(4)) SWIG_fail;
34848 if (arg4 == NULL) {
34849 SWIG_null_ref("wxDateTime");
34850 }
34851 if (SWIG_arg_fail(4)) SWIG_fail;
34852 }
34853 }
34854 if (obj4) {
34855 {
34856 arg5 = &temp5;
34857 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34858 }
34859 }
34860 if (obj5) {
34861 {
34862 arg6 = &temp6;
34863 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34864 }
34865 }
34866 if (obj6) {
34867 {
34868 arg7 = (long)(SWIG_As_long(obj6));
34869 if (SWIG_arg_fail(7)) SWIG_fail;
34870 }
34871 }
34872 if (obj7) {
34873 {
34874 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34875 if (SWIG_arg_fail(8)) SWIG_fail;
34876 if (arg8 == NULL) {
34877 SWIG_null_ref("wxValidator");
34878 }
34879 if (SWIG_arg_fail(8)) SWIG_fail;
34880 }
34881 }
34882 if (obj8) {
34883 {
34884 arg9 = wxString_in_helper(obj8);
34885 if (arg9 == NULL) SWIG_fail;
34886 temp9 = true;
34887 }
34888 }
34889 {
34890 PyThreadState* __tstate = wxPyBeginAllowThreads();
34891 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34892
34893 wxPyEndAllowThreads(__tstate);
34894 if (PyErr_Occurred()) SWIG_fail;
34895 }
34896 {
34897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34898 }
34899 {
34900 if (temp9)
34901 delete arg9;
34902 }
34903 return resultobj;
34904 fail:
34905 {
34906 if (temp9)
34907 delete arg9;
34908 }
34909 return NULL;
34910}
34911
34912
34913static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34914 PyObject *resultobj;
34915 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34916 wxDateTime *arg2 = 0 ;
34917 PyObject * obj0 = 0 ;
34918 PyObject * obj1 = 0 ;
34919 char *kwnames[] = {
34920 (char *) "self",(char *) "dt", NULL
34921 };
34922
34923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34925 if (SWIG_arg_fail(1)) SWIG_fail;
34926 {
34927 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34928 if (SWIG_arg_fail(2)) SWIG_fail;
34929 if (arg2 == NULL) {
34930 SWIG_null_ref("wxDateTime");
34931 }
34932 if (SWIG_arg_fail(2)) SWIG_fail;
34933 }
34934 {
34935 PyThreadState* __tstate = wxPyBeginAllowThreads();
34936 (arg1)->SetValue((wxDateTime const &)*arg2);
34937
34938 wxPyEndAllowThreads(__tstate);
34939 if (PyErr_Occurred()) SWIG_fail;
34940 }
34941 Py_INCREF(Py_None); resultobj = Py_None;
34942 return resultobj;
34943 fail:
34944 return NULL;
34945}
34946
34947
34948static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34949 PyObject *resultobj;
34950 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34951 wxDateTime result;
34952 PyObject * obj0 = 0 ;
34953 char *kwnames[] = {
34954 (char *) "self", NULL
34955 };
34956
34957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34959 if (SWIG_arg_fail(1)) SWIG_fail;
34960 {
34961 PyThreadState* __tstate = wxPyBeginAllowThreads();
34962 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34963
34964 wxPyEndAllowThreads(__tstate);
34965 if (PyErr_Occurred()) SWIG_fail;
34966 }
34967 {
34968 wxDateTime * resultptr;
34969 resultptr = new wxDateTime((wxDateTime &)(result));
34970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34971 }
34972 return resultobj;
34973 fail:
34974 return NULL;
34975}
34976
34977
34978static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34979 PyObject *resultobj;
34980 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34981 wxDateTime *arg2 = 0 ;
34982 wxDateTime *arg3 = 0 ;
34983 PyObject * obj0 = 0 ;
34984 PyObject * obj1 = 0 ;
34985 PyObject * obj2 = 0 ;
34986 char *kwnames[] = {
34987 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34988 };
34989
34990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34992 if (SWIG_arg_fail(1)) SWIG_fail;
34993 {
34994 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34995 if (SWIG_arg_fail(2)) SWIG_fail;
34996 if (arg2 == NULL) {
34997 SWIG_null_ref("wxDateTime");
34998 }
34999 if (SWIG_arg_fail(2)) SWIG_fail;
35000 }
35001 {
35002 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35003 if (SWIG_arg_fail(3)) SWIG_fail;
35004 if (arg3 == NULL) {
35005 SWIG_null_ref("wxDateTime");
35006 }
35007 if (SWIG_arg_fail(3)) SWIG_fail;
35008 }
35009 {
35010 PyThreadState* __tstate = wxPyBeginAllowThreads();
35011 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
35012
35013 wxPyEndAllowThreads(__tstate);
35014 if (PyErr_Occurred()) SWIG_fail;
35015 }
35016 Py_INCREF(Py_None); resultobj = Py_None;
35017 return resultobj;
35018 fail:
35019 return NULL;
35020}
35021
35022
35023static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
35024 PyObject *resultobj;
35025 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35026 wxDateTime result;
35027 PyObject * obj0 = 0 ;
35028 char *kwnames[] = {
35029 (char *) "self", NULL
35030 };
35031
35032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
35033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35034 if (SWIG_arg_fail(1)) SWIG_fail;
35035 {
35036 PyThreadState* __tstate = wxPyBeginAllowThreads();
35037 result = wxDatePickerCtrl_GetLowerLimit(arg1);
35038
35039 wxPyEndAllowThreads(__tstate);
35040 if (PyErr_Occurred()) SWIG_fail;
35041 }
35042 {
35043 wxDateTime * resultptr;
35044 resultptr = new wxDateTime((wxDateTime &)(result));
35045 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35046 }
35047 return resultobj;
35048 fail:
35049 return NULL;
35050}
35051
35052
35053static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
35054 PyObject *resultobj;
35055 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35056 wxDateTime result;
35057 PyObject * obj0 = 0 ;
35058 char *kwnames[] = {
35059 (char *) "self", NULL
35060 };
35061
35062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
35063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35064 if (SWIG_arg_fail(1)) SWIG_fail;
35065 {
35066 PyThreadState* __tstate = wxPyBeginAllowThreads();
35067 result = wxDatePickerCtrl_GetUpperLimit(arg1);
35068
35069 wxPyEndAllowThreads(__tstate);
35070 if (PyErr_Occurred()) SWIG_fail;
35071 }
35072 {
35073 wxDateTime * resultptr;
35074 resultptr = new wxDateTime((wxDateTime &)(result));
35075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35076 }
35077 return resultobj;
35078 fail:
35079 return NULL;
35080}
35081
35082
35083static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
35084 PyObject *obj;
35085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35086 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
35087 Py_INCREF(obj);
35088 return Py_BuildValue((char *)"");
35089}
35090static PyMethodDef SwigMethods[] = {
35091 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
35098 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
35113 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
35125 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
35130 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
35161 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
35175 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
35180 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
35187 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
35192 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
35200 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
35223 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35232 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35263 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35321 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35326 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35338 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35351 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35363 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35367 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35385 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35392 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35418 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35426 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35448 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35454 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35465 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35467 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35473 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35475 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35482 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35484 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35489 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35494 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35524 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35569 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35575 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35587 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35639 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35666 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35697 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35701 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35702 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35703 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35709 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35711 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35714 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35716 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35718 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35719 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35722 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35723 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35724 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35725 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35726 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
35727 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35729 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35731 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35732 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35733 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35734 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35735 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35736 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35737 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35738 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35739 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35740 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35741 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35742 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35743 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35744 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35745 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35746 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35747 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35748 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35749 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35750 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35751 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35752 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35753 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35754 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35755 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35756 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35757 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35758 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35759 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35760 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35761 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35762 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35763 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35764 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35765 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35766 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35767 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35768 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35769 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35770 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35771 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35772 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35773 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35774 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35775 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35776 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35777 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35778 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35779 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35780 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35781 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35782 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35783 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35784 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35785 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35786 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35787 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35788 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35789 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35790 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35791 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35792 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35793 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35794 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35795 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35796 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35797 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35798 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35799 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35800 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35801 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35802 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35803 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35804 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35805 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35806 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35807 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35808 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35809 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35810 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35811 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35812 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35813 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35814 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35815 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35816 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35817 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35818 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35819 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35820 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35821 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35822 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35823 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35824 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35825 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35826 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35827 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35828 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35829 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35830 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35831 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35832 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35833 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35834 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35835 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35836 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35837 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35838 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35839 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35840 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35841 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35842 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35843 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35844 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35845 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35846 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35847 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35848 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35849 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35850 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35851 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35852 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35853 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35854 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35855 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35856 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35857 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35858 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35859 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35860 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35861 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35862 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35863 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35864 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35865 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35866 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35867 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35868 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35869 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35870 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35871 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35872 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35873 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35874 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35875 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35876 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35877 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35878 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35879 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35880 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35881 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35882 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35883 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35884 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35885 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35886 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35887 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35888 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35889 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35890 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35891 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35892 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35893 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35894 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35895 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35896 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35897 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35898 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35899 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35900 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35901 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35902 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35903 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35904 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35905 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35906 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35907 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35908 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35909 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35910 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35911 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35912 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35913 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35914 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35915 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35916 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35917 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35918 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35919 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35920 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35921 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35922 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35923 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35924 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35925 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35926 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35927 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35928 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35929 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35930 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35931 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35932 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35933 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35934 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35935 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35936 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35937 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35938 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35939 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35940 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35941 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35942 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35943 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35944 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35945 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35946 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35947 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35948 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35949 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35950 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35951 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35952 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35953 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35954 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35955 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35956 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35957 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
35958 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35959 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35960 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35961 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35962 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35963 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35964 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35965 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35966 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
35967 { NULL, NULL, 0, NULL }
35968};
35969
35970
35971/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35972
35973static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35974 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35975}
35976static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35977 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35978}
35979static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35980 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35981}
35982static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35983 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35984}
35985static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35986 return (void *)((wxSizer *) ((wxGridSizer *) x));
35987}
35988static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35989 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35990}
35991static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35992 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35993}
35994static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35995 return (void *)((wxSizer *) ((wxPySizer *) x));
35996}
35997static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35998 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35999}
36000static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36001 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36002}
36003static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36004 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36005}
36006static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36007 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36008}
36009static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36010 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36011}
36012static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36013 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36014}
36015static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
36016 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36017}
36018static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
36019 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36020}
36021static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36022 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36023}
36024static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36025 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36026}
36027static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36028 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36029}
36030static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
36031 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
36032}
36033static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36034 return (void *)((wxEvent *) ((wxPyEvent *) x));
36035}
36036static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36037 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36038}
36039static void *_p_wxListEventTo_p_wxEvent(void *x) {
36040 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36041}
36042static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
36043 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36044}
36045static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
36046 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36047}
36048static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
36049 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36050}
36051static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
36052 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
36053}
36054static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36055 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36056}
36057static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36058 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36059}
36060static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36061 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36062}
36063static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36064 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36065}
36066static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36067 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36068}
36069static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36070 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36071}
36072static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36073 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36074}
36075static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36076 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36077}
36078static void *_p_wxDateEventTo_p_wxEvent(void *x) {
36079 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
36080}
36081static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36082 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36083}
36084static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36085 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36086}
36087static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36088 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36089}
36090static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36091 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36092}
36093static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36094 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36095}
36096static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36097 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36098}
36099static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36100 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36101}
36102static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36103 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36104}
36105static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36106 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36107}
36108static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36109 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36110}
36111static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36112 return (void *)((wxEvent *) ((wxShowEvent *) x));
36113}
36114static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36115 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36116}
36117static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36118 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36119}
36120static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36121 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36122}
36123static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36124 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36125}
36126static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36127 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36128}
36129static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36130 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36131}
36132static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
36133 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36134}
36135static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
36136 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36137}
36138static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
36139 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36140}
36141static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
36142 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
36143}
36144static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36145 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36146}
36147static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
36148 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
36149}
36150static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
36151 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36152}
36153static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
36154 return (void *)((wxPyListCtrl *) ((wxListView *) x));
36155}
36156static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
36157 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
36158}
36159static void *_p_wxToolBarTo_p_wxControl(void *x) {
36160 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
36161}
36162static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
36163 return (void *)((wxControl *) ((wxToggleButton *) x));
36164}
36165static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
36166 return (void *)((wxControl *) ((wxRadioButton *) x));
36167}
36168static void *_p_wxPyControlTo_p_wxControl(void *x) {
36169 return (void *)((wxControl *) ((wxPyControl *) x));
36170}
36171static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
36172 return (void *)((wxControl *) ((wxToolBarBase *) x));
36173}
36174static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
36175 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36176}
36177static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
36178 return (void *)((wxControl *) ((wxPyListCtrl *) x));
36179}
36180static void *_p_wxComboBoxTo_p_wxControl(void *x) {
36181 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36182}
36183static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
36184 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
36185}
36186static void *_p_wxScrollBarTo_p_wxControl(void *x) {
36187 return (void *)((wxControl *) ((wxScrollBar *) x));
36188}
36189static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36190 return (void *)((wxControl *) ((wxControlWithItems *) x));
36191}
36192static void *_p_wxGaugeTo_p_wxControl(void *x) {
36193 return (void *)((wxControl *) ((wxGauge *) x));
36194}
36195static void *_p_wxStaticLineTo_p_wxControl(void *x) {
36196 return (void *)((wxControl *) ((wxStaticLine *) x));
36197}
36198static void *_p_wxChoicebookTo_p_wxControl(void *x) {
36199 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
36200}
36201static void *_p_wxListbookTo_p_wxControl(void *x) {
36202 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
36203}
36204static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
36205 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
36206}
36207static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
36208 return (void *)((wxControl *) ((wxCheckBox *) x));
36209}
36210static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
36211 return (void *)((wxControl *) ((wxRadioBox *) x));
36212}
36213static void *_p_wxChoiceTo_p_wxControl(void *x) {
36214 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
36215}
36216static void *_p_wxListBoxTo_p_wxControl(void *x) {
36217 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
36218}
36219static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
36220 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36221}
36222static void *_p_wxListViewTo_p_wxControl(void *x) {
36223 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
36224}
36225static void *_p_wxNotebookTo_p_wxControl(void *x) {
36226 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
36227}
36228static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
36229 return (void *)((wxControl *) ((wxStaticBitmap *) x));
36230}
36231static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
36232 return (void *)((wxControl *) ((wxSpinCtrl *) x));
36233}
36234static void *_p_wxStaticTextTo_p_wxControl(void *x) {
36235 return (void *)((wxControl *) ((wxStaticText *) x));
36236}
36237static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
36238 return (void *)((wxControl *) ((wxStaticBox *) x));
36239}
36240static void *_p_wxSliderTo_p_wxControl(void *x) {
36241 return (void *)((wxControl *) ((wxSlider *) x));
36242}
36243static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36244 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36245}
36246static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36247 return (void *)((wxControl *) ((wxSpinButton *) x));
36248}
36249static void *_p_wxButtonTo_p_wxControl(void *x) {
36250 return (void *)((wxControl *) ((wxButton *) x));
36251}
36252static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36253 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36254}
36255static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36256 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36257}
36258static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36259 return (void *)((wxControl *) ((wxTextCtrl *) x));
36260}
36261static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36262 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36263}
36264static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
36265 return (void *)((wxChoice *) ((wxComboBox *) x));
36266}
36267static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36268 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36269}
36270static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36271 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36272}
36273static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36274 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36275}
36276static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36277 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36278}
36279static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36280 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36281}
36282static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
36283 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36284}
36285static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
36286 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36287}
36288static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
36289 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36290}
36291static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36292 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36293}
36294static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36295 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
36296}
36297static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36298 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
36299}
36300static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36301 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36302}
36303static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36304 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36305}
36306static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36307 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36308}
36309static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36310 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36311}
36312static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36313 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36314}
36315static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36316 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36317}
36318static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36319 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36320}
36321static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36322 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36323}
36324static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36325 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36326}
36327static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36328 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36329}
36330static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36331 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36332}
36333static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36334 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36335}
36336static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36337 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36338}
36339static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36340 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36341}
36342static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36343 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36344}
36345static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36346 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36347}
36348static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36349 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36350}
36351static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36352 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36353}
36354static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36355 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36356}
36357static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36358 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36359}
36360static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36361 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36362}
36363static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
36364 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36365}
36366static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
36367 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36368}
36369static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36370 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36371}
36372static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36373 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36374}
36375static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36376 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36377}
36378static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36379 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36380}
36381static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36382 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36383}
36384static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36385 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36386}
36387static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
36388 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36389}
36390static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36391 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36392}
36393static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36394 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36395}
36396static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36397 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36398}
36399static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36400 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36401}
36402static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36403 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36404}
36405static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36406 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36407}
36408static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36409 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36410}
36411static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36412 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36413}
36414static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36415 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36416}
36417static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36418 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36419}
36420static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36421 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36422}
36423static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36424 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36425}
36426static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36427 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36428}
36429static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36430 return (void *)((wxButton *) ((wxBitmapButton *) x));
36431}
36432static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36433 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36434}
36435static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36436 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36437}
36438static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36439 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36440}
36441static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36442 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36443}
36444static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36445 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36446}
36447static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36448 return (void *)((wxObject *) ((wxSizerItem *) x));
36449}
36450static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36451 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36452}
36453static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36454 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36455}
36456static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36458}
36459static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36460 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36461}
36462static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36463 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36464}
36465static void *_p_wxSizerTo_p_wxObject(void *x) {
36466 return (void *)((wxObject *) ((wxSizer *) x));
36467}
36468static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36469 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36470}
36471static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36473}
36474static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36476}
36477static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36478 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36479}
36480static void *_p_wxEventTo_p_wxObject(void *x) {
36481 return (void *)((wxObject *) ((wxEvent *) x));
36482}
36483static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36484 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36485}
36486static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36487 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36488}
36489static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36490 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36491}
36492static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36494}
36495static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36497}
36498static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36500}
36501static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36502 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36503}
36504static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36505 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36506}
36507static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36508 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36509}
36510static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36511 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36512}
36513static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36514 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36515}
36516static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36517 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36518}
36519static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36521}
36522static void *_p_wxControlTo_p_wxObject(void *x) {
36523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36524}
36525static void *_p_wxPyControlTo_p_wxObject(void *x) {
36526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36527}
36528static void *_p_wxGaugeTo_p_wxObject(void *x) {
36529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36530}
36531static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36533}
36534static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36536}
36537static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36539}
36540static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36541 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36542}
36543static void *_p_wxChoiceTo_p_wxObject(void *x) {
36544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36545}
36546static void *_p_wxFSFileTo_p_wxObject(void *x) {
36547 return (void *)((wxObject *) ((wxFSFile *) x));
36548}
36549static void *_p_wxPySizerTo_p_wxObject(void *x) {
36550 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36551}
36552static void *_p_wxListViewTo_p_wxObject(void *x) {
36553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36554}
36555static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36557}
36558static void *_p_wxNotebookTo_p_wxObject(void *x) {
36559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36560}
36561static void *_p_wxPyEventTo_p_wxObject(void *x) {
36562 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36563}
36564static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36565 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36566}
36567static void *_p_wxChoicebookTo_p_wxObject(void *x) {
36568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36569}
36570static void *_p_wxListbookTo_p_wxObject(void *x) {
36571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36572}
36573static void *_p_wxShowEventTo_p_wxObject(void *x) {
36574 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36575}
36576static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36578}
36579static void *_p_wxSliderTo_p_wxObject(void *x) {
36580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36581}
36582static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36583 return (void *)((wxObject *) ((wxMenuItem *) x));
36584}
36585static void *_p_wxDateEventTo_p_wxObject(void *x) {
36586 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36587}
36588static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36589 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36590}
36591static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36592 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36593}
36594static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36595 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36596}
36597static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36598 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36599}
36600static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36601 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36602}
36603static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36604 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36605}
36606static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36607 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36608}
36609static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36610 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36611}
36612static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36614}
36615static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36616 return (void *)((wxObject *) ((wxContextHelp *) x));
36617}
36618static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36620}
36621static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36622 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36623}
36624static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36625 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36626}
36627static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36628 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36629}
36630static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36631 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36632}
36633static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36634 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36635}
36636static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36637 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36638}
36639static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36640 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36641}
36642static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36643 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36644}
36645static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36646 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36647}
36648static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36649 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36650}
36651static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36652 return (void *)((wxObject *) ((wxImageHandler *) x));
36653}
36654static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36655 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36656}
36657static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36658 return (void *)((wxObject *) ((wxEvtHandler *) x));
36659}
36660static void *_p_wxListEventTo_p_wxObject(void *x) {
36661 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36662}
36663static void *_p_wxListBoxTo_p_wxObject(void *x) {
36664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36665}
36666static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36668}
36669static void *_p_wxButtonTo_p_wxObject(void *x) {
36670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36671}
36672static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36674}
36675static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36677}
36678static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36680}
36681static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36682 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36683}
36684static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36685 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36686}
36687static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36689}
36690static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36692}
36693static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36695}
36696static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36697 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36698}
36699static void *_p_wxListItemTo_p_wxObject(void *x) {
36700 return (void *)((wxObject *) ((wxListItem *) x));
36701}
36702static void *_p_wxImageTo_p_wxObject(void *x) {
36703 return (void *)((wxObject *) ((wxImage *) x));
36704}
36705static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36706 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36707}
36708static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36709 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36710}
36711static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36712 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36713}
36714static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36715 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36716}
36717static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36719}
36720static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
36721 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36722}
36723static void *_p_wxListbookEventTo_p_wxObject(void *x) {
36724 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36725}
36726static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
36727 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36728}
36729static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36730 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36731}
36732static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36733 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36734}
36735static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36736 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36737}
36738static void *_p_wxWindowTo_p_wxObject(void *x) {
36739 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36740}
36741static void *_p_wxMenuTo_p_wxObject(void *x) {
36742 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36743}
36744static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36746}
36747static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36748 return (void *)((wxObject *) ((wxFileSystem *) x));
36749}
36750static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36751 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36752}
36753static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36754 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36755}
36756static void *_p_wxPyAppTo_p_wxObject(void *x) {
36757 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36758}
36759static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36760 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36761}
36762static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36763 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36764}
36765static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36766 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36767}
36768static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36769 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36770}
36771static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36772 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36773}
36774static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36775 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36776}
36777static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36778 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36779}
36780static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36782}
36783static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36784 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36785}
36786static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36787 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36788}
36789static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36790 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36791}
36792static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36794}
36795static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36797}
36798static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36799 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36800}
36801static void *_p_wxToolBarTo_p_wxObject(void *x) {
36802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36803}
36804static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36805 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36806}
36807static void *_p_wxValidatorTo_p_wxObject(void *x) {
36808 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36809}
36810static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36811 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36812}
36813static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36814 return (void *)((wxWindow *) ((wxMenuBar *) x));
36815}
36816static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36817 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36818}
36819static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36820 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36821}
36822static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36823 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36824}
36825static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36826 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36827}
36828static void *_p_wxControlTo_p_wxWindow(void *x) {
36829 return (void *)((wxWindow *) ((wxControl *) x));
36830}
36831static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36832 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36833}
36834static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36835 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36836}
36837static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36838 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36839}
36840static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36841 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36842}
36843static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36844 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36845}
36846static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36847 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36848}
36849static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36850 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36851}
36852static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36853 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36854}
36855static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36856 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36857}
36858static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36859 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36860}
36861static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36862 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36863}
36864static void *_p_wxListbookTo_p_wxWindow(void *x) {
36865 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36866}
36867static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36868 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36869}
36870static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36871 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36872}
36873static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36874 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36875}
36876static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36877 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36878}
36879static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36880 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36881}
36882static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36883 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36884}
36885static void *_p_wxListViewTo_p_wxWindow(void *x) {
36886 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36887}
36888static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36889 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36890}
36891static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36892 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36893}
36894static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36895 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36896}
36897static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36898 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36899}
36900static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36901 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36902}
36903static void *_p_wxSliderTo_p_wxWindow(void *x) {
36904 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36905}
36906static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36907 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36908}
36909static void *_p_wxButtonTo_p_wxWindow(void *x) {
36910 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36911}
36912static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36913 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36914}
36915static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36916 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36917}
36918static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36919 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36920}
36921static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36922 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36923}
36924static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36925 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36926}
36927static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36928 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36929}
36930static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36931 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36932}
36933static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36934 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36935}
36936static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36937 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36938}
36939static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36940 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36941}
36942static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36943 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36944}
36945static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36946 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36947}
36948static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36949 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36950}
36951static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
36952 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36953}
36954static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
36955 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36956}
36957static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36958 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36959}
36960static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36961 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36962}
36963static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36964 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36965}
36966static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36967 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36968}
36969static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36970 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36971}
36972static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36973 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36974}
36975static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36976 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36977}
36978static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36979 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36980}
36981static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36982 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36983}
36984static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36985 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36986}
36987static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
36988 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
36989}
36990static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36991 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36992}
36993static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36994 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36995}
36996static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36997 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36998}
36999static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
37000 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
37001}
37002static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
37003 return (void *)((wxValidator *) ((wxPyValidator *) x));
37004}
37005static 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}};
37006static 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}};
37007static 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}};
37008static 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}};
37009static 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}};
37010static 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}};
37011static 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}};
37012static 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}};
37013static 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}};
37014static 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}};
37015static 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}};
37016static 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}};
37017static 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}};
37018static 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}};
37019static 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}};
37020static 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}};
37021static 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}};
37022static 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}};
37023static 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}};
37024static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice, 0, 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}};
37025static 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}};
37026static 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}};
37027static 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}};
37028static 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}};
37029static 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}};
37030static 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}};
37031static 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}};
37032static 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}};
37033static 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}};
37034static 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}};
37035static 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}};
37036static 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}};
37037static 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}};
37038static 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}};
37039static 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}};
37040static 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}};
37041static 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}};
37042static 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}};
37043static 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}};
37044static 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}};
37045static 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}};
37046static 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}};
37047static 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}};
37048static 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}};
37049static 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}};
37050static 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}};
37051static 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}};
37052static 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}};
37053static 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}};
37054static 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}};
37055static 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}};
37056static 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}};
37057static 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}};
37058static 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}};
37059static 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}};
37060static 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}};
37061static 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}};
37062static 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}};
37063static 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}};
37064static 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}};
37065static 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}};
37066static 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}};
37067static 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}};
37068static 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}};
37069static 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}};
37070static 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}};
37071static 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}};
37072static 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}};
37073static 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}};
37074static 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}};
37075static 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}};
37076static 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}};
37077static 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}};
37078static 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}};
37079static 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}};
37080static 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}};
37081static 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}};
37082static 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}};
37083static 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}};
37084static 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}};
37085static 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}};
37086static 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}};
37087static 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}};
37088static 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}};
37089static 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}};
37090static 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}};
37091static 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}};
37092static 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}};
37093static 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}};
37094static 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}};
37095static 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}};
37096static 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}};
37097static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems, 0, 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}};
37098static 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}};
37099static 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}};
37100static 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}};
37101static 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}};
37102static 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}};
37103
37104static swig_type_info *swig_types_initial[] = {
37105_swigt__p_wxTextUrlEvent,
37106_swigt__p_wxSizer,
37107_swigt__p_wxCheckBox,
37108_swigt__p_wxPyTreeCtrl,
37109_swigt__p_wxEvent,
37110_swigt__p_wxGenericDirCtrl,
37111_swigt__p_bool,
37112_swigt__p_wxItemContainer,
37113_swigt__p_wxPyListCtrl,
37114_swigt__p_wxPyTreeItemData,
37115_swigt__p_wxDirFilterListCtrl,
37116_swigt__p_wxStaticLine,
37117_swigt__p_wxControl,
37118_swigt__p_wxPyControl,
37119_swigt__p_wxGauge,
37120_swigt__p_wxToolBarBase,
37121_swigt__p_wxFont,
37122_swigt__p_wxToggleButton,
37123_swigt__p_wxRadioButton,
37124_swigt__p_wxChoice,
37125_swigt__p_wxMemoryDC,
37126_swigt__ptrdiff_t,
37127_swigt__std__ptrdiff_t,
37128_swigt__p_wxListItemAttr,
37129_swigt__p_void,
37130_swigt__p_int,
37131_swigt__p_wxSize,
37132_swigt__p_wxDC,
37133_swigt__p_wxListView,
37134_swigt__p_wxIcon,
37135_swigt__p_wxVisualAttributes,
37136_swigt__p_wxTextCtrl,
37137_swigt__p_wxNotebook,
37138_swigt__p_wxChoicebook,
37139_swigt__p_wxNotifyEvent,
37140_swigt__p_wxArrayString,
37141_swigt__p_form_ops_t,
37142_swigt__p_wxListbook,
37143_swigt__p_wxStaticBitmap,
37144_swigt__p_wxSlider,
37145_swigt__p_wxStaticBox,
37146_swigt__p_wxArrayInt,
37147_swigt__p_wxContextHelp,
37148_swigt__p_long,
37149_swigt__p_wxDuplexMode,
37150_swigt__p_wxBookCtrlBase,
37151_swigt__p_wxEvtHandler,
37152_swigt__p_wxListEvent,
37153_swigt__p_wxCheckListBox,
37154_swigt__p_wxListBox,
37155_swigt__p_wxSpinButton,
37156_swigt__p_wxButton,
37157_swigt__p_wxBitmapButton,
37158_swigt__p_wxRect,
37159_swigt__p_wxContextHelpButton,
37160_swigt__p_wxRadioBox,
37161_swigt__p_wxScrollBar,
37162_swigt__p_char,
37163_swigt__p_wxComboBox,
37164_swigt__p_wxTreeItemId,
37165_swigt__p_wxHelpEvent,
37166_swigt__p_wxListItem,
37167_swigt__p_wxNotebookSizer,
37168_swigt__p_wxSpinEvent,
37169_swigt__p_wxGenericDragImage,
37170_swigt__p_wxSpinCtrl,
37171_swigt__p_wxPaperSize,
37172_swigt__p_wxImageList,
37173_swigt__p_wxHelpProvider,
37174_swigt__p_wxTextAttr,
37175_swigt__p_wxSimpleHelpProvider,
37176_swigt__p_wxChoicebookEvent,
37177_swigt__p_wxListbookEvent,
37178_swigt__p_wxNotebookEvent,
37179_swigt__p_wxPoint,
37180_swigt__p_wxObject,
37181_swigt__p_wxCursor,
37182_swigt__p_wxDateTime,
37183_swigt__p_wxKeyEvent,
37184_swigt__p_unsigned_long,
37185_swigt__p_wxWindow,
37186_swigt__p_wxString,
37187_swigt__p_wxBitmap,
37188_swigt__unsigned_int,
37189_swigt__p_unsigned_int,
37190_swigt__p_unsigned_char,
37191_swigt__p_wxMouseEvent,
37192_swigt__p_wxBookCtrlBaseEvent,
37193_swigt__p_wxTreeEvent,
37194_swigt__p_wxCommandEvent,
37195_swigt__p_wxStaticText,
37196_swigt__p_wxDatePickerCtrl,
37197_swigt__p_wxControlWithItems,
37198_swigt__p_wxToolBarToolBase,
37199_swigt__p_wxColour,
37200_swigt__p_wxToolBar,
37201_swigt__p_wxBookCtrlSizer,
37202_swigt__p_wxValidator,
372030
37204};
37205
37206
37207/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37208
37209static swig_const_info swig_const_table[] = {
37210{0, 0, 0, 0.0, 0, 0}};
37211
37212#ifdef __cplusplus
37213}
37214#endif
37215
37216
37217#ifdef __cplusplus
37218extern "C" {
37219#endif
37220
37221 /* Python-specific SWIG API */
37222#define SWIG_newvarlink() SWIG_Python_newvarlink()
37223#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37224#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37225
37226 /* -----------------------------------------------------------------------------
37227 * global variable support code.
37228 * ----------------------------------------------------------------------------- */
37229
37230 typedef struct swig_globalvar {
37231 char *name; /* Name of global variable */
37232 PyObject *(*get_attr)(); /* Return the current value */
37233 int (*set_attr)(PyObject *); /* Set the value */
37234 struct swig_globalvar *next;
37235 } swig_globalvar;
37236
37237 typedef struct swig_varlinkobject {
37238 PyObject_HEAD
37239 swig_globalvar *vars;
37240 } swig_varlinkobject;
37241
37242 static PyObject *
37243 swig_varlink_repr(swig_varlinkobject *v) {
37244 v = v;
37245 return PyString_FromString("<Swig global variables>");
37246 }
37247
37248 static int
37249 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
37250 swig_globalvar *var;
37251 flags = flags;
37252 fprintf(fp,"Swig global variables { ");
37253 for (var = v->vars; var; var=var->next) {
37254 fprintf(fp,"%s", var->name);
37255 if (var->next) fprintf(fp,", ");
37256 }
37257 fprintf(fp," }\n");
37258 return 0;
37259 }
37260
37261 static PyObject *
37262 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37263 swig_globalvar *var = v->vars;
37264 while (var) {
37265 if (strcmp(var->name,n) == 0) {
37266 return (*var->get_attr)();
37267 }
37268 var = var->next;
37269 }
37270 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37271 return NULL;
37272 }
37273
37274 static int
37275 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37276 swig_globalvar *var = v->vars;
37277 while (var) {
37278 if (strcmp(var->name,n) == 0) {
37279 return (*var->set_attr)(p);
37280 }
37281 var = var->next;
37282 }
37283 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37284 return 1;
37285 }
37286
37287 static PyTypeObject varlinktype = {
37288 PyObject_HEAD_INIT(0)
37289 0, /* Number of items in variable part (ob_size) */
37290 (char *)"swigvarlink", /* Type name (tp_name) */
37291 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37292 0, /* Itemsize (tp_itemsize) */
37293 0, /* Deallocator (tp_dealloc) */
37294 (printfunc) swig_varlink_print, /* Print (tp_print) */
37295 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37296 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37297 0, /* tp_compare */
37298 (reprfunc) swig_varlink_repr, /* tp_repr */
37299 0, /* tp_as_number */
37300 0, /* tp_as_sequence */
37301 0, /* tp_as_mapping */
37302 0, /* tp_hash */
37303 0, /* tp_call */
37304 0, /* tp_str */
37305 0, /* tp_getattro */
37306 0, /* tp_setattro */
37307 0, /* tp_as_buffer */
37308 0, /* tp_flags */
37309 0, /* tp_doc */
37310#if PY_VERSION_HEX >= 0x02000000
37311 0, /* tp_traverse */
37312 0, /* tp_clear */
37313#endif
37314#if PY_VERSION_HEX >= 0x02010000
37315 0, /* tp_richcompare */
37316 0, /* tp_weaklistoffset */
37317#endif
37318#if PY_VERSION_HEX >= 0x02020000
37319 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37320#endif
37321#if PY_VERSION_HEX >= 0x02030000
37322 0, /* tp_del */
37323#endif
37324#ifdef COUNT_ALLOCS
37325 0,0,0,0 /* tp_alloc -> tp_next */
37326#endif
37327 };
37328
37329 /* Create a variable linking object for use later */
37330 static PyObject *
37331 SWIG_Python_newvarlink(void) {
37332 swig_varlinkobject *result = 0;
37333 result = PyMem_NEW(swig_varlinkobject,1);
37334 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37335 result->ob_type = &varlinktype;
37336 result->vars = 0;
37337 result->ob_refcnt = 0;
37338 Py_XINCREF((PyObject *) result);
37339 return ((PyObject*) result);
37340 }
37341
37342 static void
37343 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37344 swig_varlinkobject *v;
37345 swig_globalvar *gv;
37346 v= (swig_varlinkobject *) p;
37347 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37348 gv->name = (char *) malloc(strlen(name)+1);
37349 strcpy(gv->name,name);
37350 gv->get_attr = get_attr;
37351 gv->set_attr = set_attr;
37352 gv->next = v->vars;
37353 v->vars = gv;
37354 }
37355
37356 /* -----------------------------------------------------------------------------
37357 * constants/methods manipulation
37358 * ----------------------------------------------------------------------------- */
37359
37360 /* Install Constants */
37361 static void
37362 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37363 PyObject *obj = 0;
37364 size_t i;
37365 for (i = 0; constants[i].type; i++) {
37366 switch(constants[i].type) {
37367 case SWIG_PY_INT:
37368 obj = PyInt_FromLong(constants[i].lvalue);
37369 break;
37370 case SWIG_PY_FLOAT:
37371 obj = PyFloat_FromDouble(constants[i].dvalue);
37372 break;
37373 case SWIG_PY_STRING:
37374 if (constants[i].pvalue) {
37375 obj = PyString_FromString((char *) constants[i].pvalue);
37376 } else {
37377 Py_INCREF(Py_None);
37378 obj = Py_None;
37379 }
37380 break;
37381 case SWIG_PY_POINTER:
37382 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37383 break;
37384 case SWIG_PY_BINARY:
37385 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37386 break;
37387 default:
37388 obj = 0;
37389 break;
37390 }
37391 if (obj) {
37392 PyDict_SetItemString(d,constants[i].name,obj);
37393 Py_DECREF(obj);
37394 }
37395 }
37396 }
37397
37398 /* -----------------------------------------------------------------------------*/
37399 /* Fix SwigMethods to carry the callback ptrs when needed */
37400 /* -----------------------------------------------------------------------------*/
37401
37402 static void
37403 SWIG_Python_FixMethods(PyMethodDef *methods,
37404 swig_const_info *const_table,
37405 swig_type_info **types,
37406 swig_type_info **types_initial) {
37407 size_t i;
37408 for (i = 0; methods[i].ml_name; ++i) {
37409 char *c = methods[i].ml_doc;
37410 if (c && (c = strstr(c, "swig_ptr: "))) {
37411 int j;
37412 swig_const_info *ci = 0;
37413 char *name = c + 10;
37414 for (j = 0; const_table[j].type; j++) {
37415 if (strncmp(const_table[j].name, name,
37416 strlen(const_table[j].name)) == 0) {
37417 ci = &(const_table[j]);
37418 break;
37419 }
37420 }
37421 if (ci) {
37422 size_t shift = (ci->ptype) - types;
37423 swig_type_info *ty = types_initial[shift];
37424 size_t ldoc = (c - methods[i].ml_doc);
37425 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37426 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37427 char *buff = ndoc;
37428 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37429 strncpy(buff, methods[i].ml_doc, ldoc);
37430 buff += ldoc;
37431 strncpy(buff, "swig_ptr: ", 10);
37432 buff += 10;
37433 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37434 methods[i].ml_doc = ndoc;
37435 }
37436 }
37437 }
37438 }
37439
37440 /* -----------------------------------------------------------------------------*
37441 * Initialize type list
37442 * -----------------------------------------------------------------------------*/
37443
37444#if PY_MAJOR_VERSION < 2
37445 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37446 is copied out of Python/modsupport.c in python version 2.3.4 */
37447 static int
37448 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37449 {
37450 PyObject *dict;
37451 if (!PyModule_Check(m)) {
37452 PyErr_SetString(PyExc_TypeError,
37453 "PyModule_AddObject() needs module as first arg");
37454 return -1;
37455 }
37456 if (!o) {
37457 PyErr_SetString(PyExc_TypeError,
37458 "PyModule_AddObject() needs non-NULL value");
37459 return -1;
37460 }
37461
37462 dict = PyModule_GetDict(m);
37463 if (dict == NULL) {
37464 /* Internal error -- modules must have a dict! */
37465 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37466 PyModule_GetName(m));
37467 return -1;
37468 }
37469 if (PyDict_SetItemString(dict, name, o))
37470 return -1;
37471 Py_DECREF(o);
37472 return 0;
37473 }
37474#endif
37475
37476 static swig_type_info **
37477 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37478 static PyMethodDef swig_empty_runtime_method_table[] = {
37479 {
37480 NULL, NULL, 0, NULL
37481 }
37482 };/* Sentinel */
37483
37484 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37485 swig_empty_runtime_method_table);
37486 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37487 if (pointer && module) {
37488 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37489 }
37490 return type_list_handle;
37491 }
37492
37493 static swig_type_info **
37494 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37495 swig_type_info **type_pointer;
37496
37497 /* first check if module already created */
37498 type_pointer = SWIG_Python_GetTypeListHandle();
37499 if (type_pointer) {
37500 return type_pointer;
37501 } else {
37502 /* create a new module and variable */
37503 return SWIG_Python_SetTypeListHandle(type_list_handle);
37504 }
37505 }
37506
37507#ifdef __cplusplus
37508}
37509#endif
37510
37511/* -----------------------------------------------------------------------------*
37512 * Partial Init method
37513 * -----------------------------------------------------------------------------*/
37514
37515#ifdef SWIG_LINK_RUNTIME
37516#ifdef __cplusplus
37517extern "C"
37518#endif
37519SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37520#endif
37521
37522#ifdef __cplusplus
37523extern "C"
37524#endif
37525SWIGEXPORT(void) SWIG_init(void) {
37526 static PyObject *SWIG_globals = 0;
37527 static int typeinit = 0;
37528 PyObject *m, *d;
37529 int i;
37530 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37531
37532 /* Fix SwigMethods to carry the callback ptrs when needed */
37533 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37534
37535 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37536 d = PyModule_GetDict(m);
37537
37538 if (!typeinit) {
37539#ifdef SWIG_LINK_RUNTIME
37540 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37541#else
37542# ifndef SWIG_STATIC_RUNTIME
37543 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37544# endif
37545#endif
37546 for (i = 0; swig_types_initial[i]; i++) {
37547 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37548 }
37549 typeinit = 1;
37550 }
37551 SWIG_InstallConstants(d,swig_const_table);
37552
37553 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37554 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
37555 {
37556 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37557 }
37558 {
37559 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37560 }
37561 {
37562 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37563 }
37564 {
37565 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37566 }
37567 {
37568 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37569 }
37570 {
37571 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37572 }
37573 {
37574 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37575 }
37576 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
37577 {
37578 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37579 }
37580 {
37581 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37582 }
37583 {
37584 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37585 }
37586 {
37587 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37588 }
37589 {
37590 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37591 }
37592 {
37593 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37594 }
37595 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37596 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37597 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
37598 {
37599 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37600 }
37601 {
37602 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37603 }
37604 {
37605 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37606 }
37607 {
37608 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37609 }
37610 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37611 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37612 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37613 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37614 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
37615 {
37616 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37617 }
37618 {
37619 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37620 }
37621 {
37622 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37623 }
37624 {
37625 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37626 }
37627 {
37628 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37629 }
37630 {
37631 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37632 }
37633 {
37634 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37635 }
37636 {
37637 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37638 }
37639 {
37640 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37641 }
37642 {
37643 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37644 }
37645 {
37646 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37647 }
37648 {
37649 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37650 }
37651 {
37652 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37653 }
37654 {
37655 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37656 }
37657 {
37658 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37659 }
37660 {
37661 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
37662 }
37663 {
37664 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37665 }
37666 {
37667 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37668 }
37669 {
37670 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37671 }
37672 {
37673 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37674 }
37675 {
37676 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37677 }
37678 {
37679 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37680 }
37681 {
37682 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37683 }
37684 {
37685 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37686 }
37687 {
37688 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37689 }
37690 {
37691 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37692 }
37693 {
37694 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37695 }
37696 {
37697 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37698 }
37699 {
37700 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37701 }
37702 {
37703 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37704 }
37705 {
37706 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37707 }
37708 {
37709 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37710 }
37711 {
37712 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37713 }
37714 {
37715 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37716 }
37717 {
37718 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37719 }
37720 {
37721 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37722 }
37723 {
37724 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37725 }
37726 {
37727 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37728 }
37729 {
37730 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37731 }
37732 {
37733 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37734 }
37735 {
37736 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37737 }
37738 {
37739 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37740 }
37741 {
37742 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37743 }
37744 {
37745 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37746 }
37747 {
37748 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37749 }
37750 {
37751 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37752 }
37753 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37754 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37755 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37756 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37757 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37758 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37759 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
37760 {
37761 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37762 }
37763 {
37764 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37765 }
37766 {
37767 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37768 }
37769 {
37770 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37771 }
37772 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37773 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37774 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37775 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37776 {
37777 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37778 }
37779 {
37780 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37781 }
37782 {
37783 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
37784 }
37785 {
37786 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37787 }
37788 {
37789 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37790 }
37791 {
37792 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37793 }
37794 {
37795 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37796 }
37797 {
37798 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37799 }
37800 {
37801 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37802 }
37803 {
37804 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37805 }
37806 {
37807 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37808 }
37809 {
37810 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37811 }
37812 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37813 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
37814 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
37815 {
37816 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37817 }
37818 {
37819 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37820 }
37821 {
37822 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37823 }
37824 {
37825 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37826 }
37827 {
37828 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37829 }
37830 {
37831 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37832 }
37833 {
37834 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37835 }
37836 {
37837 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37838 }
37839 {
37840 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37841 }
37842 {
37843 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37844 }
37845 {
37846 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37847 }
37848 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37849 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
37850 {
37851 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37852 }
37853 {
37854 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37855 }
37856 {
37857 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37858 }
37859 {
37860 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37861 }
37862 {
37863 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37864 }
37865 {
37866 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37867 }
37868 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37869 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
37870 {
37871 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37872 }
37873 {
37874 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37875 }
37876 {
37877 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37878 }
37879 {
37880 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37881 }
37882 {
37883 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37884 }
37885 {
37886 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37887 }
37888 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37889 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
37890 {
37891 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37892 }
37893 {
37894 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37895 }
37896 {
37897 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37898 }
37899 {
37900 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37901 }
37902 {
37903 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37904 }
37905 {
37906 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37907 }
37908 {
37909 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37910 }
37911 {
37912 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37913 }
37914 {
37915 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37916 }
37917 {
37918 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37919 }
37920 {
37921 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37922 }
37923 {
37924 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37925 }
37926 {
37927 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37928 }
37929 {
37930 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37931 }
37932 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
37933 {
37934 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37935 }
37936 {
37937 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37938 }
37939 {
37940 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37941 }
37942 {
37943 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37944 }
37945 {
37946 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37947 }
37948 {
37949 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37950 }
37951 {
37952 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37953 }
37954 {
37955 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37956 }
37957 {
37958 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37959 }
37960 {
37961 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37962 }
37963 {
37964 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37965 }
37966 {
37967 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37968 }
37969 {
37970 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37971 }
37972 {
37973 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37974 }
37975 {
37976 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37977 }
37978 {
37979 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37980 }
37981 {
37982 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37983 }
37984 {
37985 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37986 }
37987 {
37988 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37989 }
37990 {
37991 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37992 }
37993 {
37994 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37995 }
37996 {
37997 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37998 }
37999 {
38000 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
38001 }
38002 {
38003 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
38004 }
38005 {
38006 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
38007 }
38008 {
38009 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
38010 }
38011 {
38012 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
38013 }
38014 {
38015 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
38016 }
38017 {
38018 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
38019 }
38020 {
38021 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
38022 }
38023 {
38024 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
38025 }
38026 {
38027 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
38028 }
38029 {
38030 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
38031 }
38032 {
38033 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
38034 }
38035 {
38036 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
38037 }
38038 {
38039 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
38040 }
38041 {
38042 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
38043 }
38044 {
38045 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
38046 }
38047 {
38048 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
38049 }
38050 {
38051 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
38052 }
38053 {
38054 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
38055 }
38056 {
38057 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
38058 }
38059 {
38060 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
38061 }
38062 {
38063 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
38064 }
38065 {
38066 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
38067 }
38068 {
38069 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
38070 }
38071 {
38072 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
38073 }
38074 {
38075 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
38076 }
38077 {
38078 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
38079 }
38080 {
38081 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
38082 }
38083 {
38084 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
38085 }
38086 {
38087 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
38088 }
38089 {
38090 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
38091 }
38092 {
38093 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
38094 }
38095 {
38096 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
38097 }
38098 {
38099 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
38100 }
38101 {
38102 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
38103 }
38104 {
38105 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
38106 }
38107 {
38108 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
38109 }
38110 {
38111 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
38112 }
38113 {
38114 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
38115 }
38116 {
38117 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
38118 }
38119 {
38120 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
38121 }
38122 {
38123 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
38124 }
38125 {
38126 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
38127 }
38128 {
38129 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
38130 }
38131 {
38132 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
38133 }
38134 {
38135 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
38136 }
38137 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
38138 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
38139 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
38140 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
38141 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
38142 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
38143 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
38144 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
38145 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
38146 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
38147 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
38148 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
38149 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
38150 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
38151 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
38152 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
38153 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
38154 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
38155 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
38156 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
38157 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
38158 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
38159
38160 // Map renamed classes back to their common name for OOR
38161 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38162
38163 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
38164 {
38165 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
38166 }
38167 {
38168 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
38169 }
38170 {
38171 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
38172 }
38173 {
38174 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
38175 }
38176 {
38177 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
38178 }
38179 {
38180 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
38181 }
38182 {
38183 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
38184 }
38185 {
38186 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
38187 }
38188 {
38189 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
38190 }
38191 {
38192 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
38193 }
38194 {
38195 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
38196 }
38197 {
38198 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
38199 }
38200 {
38201 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
38202 }
38203 {
38204 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
38205 }
38206 {
38207 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
38208 }
38209 {
38210 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
38211 }
38212 {
38213 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
38214 }
38215 {
38216 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
38217 }
38218 {
38219 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
38220 }
38221 {
38222 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
38223 }
38224 {
38225 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
38226 }
38227 {
38228 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
38229 }
38230 {
38231 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
38232 }
38233 {
38234 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
38235 }
38236 {
38237 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
38238 }
38239 {
38240 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
38241 }
38242 {
38243 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
38244 }
38245 {
38246 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
38247 }
38248 {
38249 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
38250 }
38251 {
38252 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
38253 }
38254 {
38255 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
38256 }
38257 {
38258 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
38259 }
38260 {
38261 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
38262 }
38263 {
38264 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
38265 }
38266 {
38267 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
38268 }
38269 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38270 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38271 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38272 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38273 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38274 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38275 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38276 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38277 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38278 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38279 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38280 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38281 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38282 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38283 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38284 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38285 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38286 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38287 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38288 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
38289 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
38290
38291 // Map renamed classes back to their common name for OOR
38292 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38293 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38294
38295 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
38296 {
38297 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38298 }
38299 {
38300 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38301 }
38302 {
38303 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38304 }
38305 {
38306 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38307 }
38308 {
38309 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38310 }
38311 {
38312 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38313 }
38314 {
38315 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38316 }
38317 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38318 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38319
38320 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38321
38322 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38323 {
38324 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38325 }
38326 {
38327 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38328 }
38329 {
38330 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38331 }
38332 {
38333 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38334 }
38335 {
38336 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38337 }
38338}
38339