]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
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
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
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; }
24 private:
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
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef 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 */
111 SWIGRUNTIME int
112 SWIG_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 */
125 SWIGRUNTIME int
126 SWIG_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 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_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 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_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 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_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 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_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 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_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 */
253 SWIGRUNTIME const char *
254 SWIG_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 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_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 */
287 SWIGRUNTIME void
288 SWIG_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 */
310 SWIGRUNTIME char *
311 SWIG_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 */
327 SWIGRUNTIME const char *
328 SWIG_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 */
358 SWIGRUNTIME void
359 SWIG_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 */
379 SWIGRUNTIME char *
380 SWIG_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
390 SWIGRUNTIME const char *
391 SWIG_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
403 SWIGRUNTIME char *
404 SWIG_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
418 SWIGRUNTIME const char *
419 SWIG_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
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_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 */
498 static void
499 SWIG_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
512 extern "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 */
560 typedef 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
621 extern "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
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_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
658 SWIGRUNTIME PyObject *
659 PySwigObject_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
666 SWIGRUNTIME PyObject *
667 PySwigObject_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
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_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
692 SWIGRUNTIME PyObject *
693 PySwigObject_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
700 SWIGRUNTIME int
701 PySwigObject_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
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_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
805 SWIGRUNTIME PyObject *
806 PySwigObject_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
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_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
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_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
858 SWIGRUNTIME PyObject *
859 PySwigPacked_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
869 SWIGRUNTIME PyObject *
870 PySwigPacked_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
880 SWIGRUNTIME int
881 PySwigPacked_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
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_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
959 SWIGRUNTIME PyObject *
960 PySwigPacked_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
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_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
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_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
1014 SWIGRUNTIME void
1015 SWIG_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
1051 SWIGRUNTIMEINLINE void
1052 SWIG_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
1061 SWIGRUNTIME int
1062 SWIG_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
1086 SWIGRUNTIME int
1087 SWIG_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 */
1105 SWIGRUNTIME int
1106 SWIG_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
1157 type_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
1172 type_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 */
1198 SWIGRUNTIME void *
1199 SWIG_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 */
1212 SWIGRUNTIME int
1213 SWIG_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
1232 type_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 */
1245 SWIGRUNTIME PyObject *
1246 SWIG_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
1278 SWIGRUNTIME PyObject *
1279 SWIG_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
1302 void *SWIG_ReturnGlobalTypeList(void *);
1303 #endif
1304
1305 SWIGRUNTIME swig_type_info **
1306 SWIG_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 */
1327 SWIGRUNTIMEINLINE swig_type_info *
1328 SWIG_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]
1440 static 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
1471 SWIGINTERN 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
1494 SWIGINTERN int
1495 SWIG_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
1509 SWIGINTERN 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
1530 SWIGINTERNSHORT int
1531 SWIG_AsVal_int(PyObject *obj, int *val)
1532 {
1533 return SWIG_AsVal_long(obj,(long*)val);
1534 }
1535 #endif
1536
1537
1538 SWIGINTERNSHORT int
1539 SWIG_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
1552 SWIGINTERNSHORT long
1553 SWIG_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
1566 SWIGINTERNSHORT int
1567 SWIG_Check_int(PyObject* obj)
1568 {
1569 return SWIG_AsVal_int(obj, (int*)0);
1570 }
1571
1572
1573 SWIGINTERNSHORT int
1574 SWIG_Check_long(PyObject* obj)
1575 {
1576 return SWIG_AsVal_long(obj, (long*)0);
1577 }
1578
1579 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1580
1581 SWIGINTERN 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
1606 SWIGINTERNSHORT bool
1607 SWIG_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
1620 SWIGINTERNSHORT int
1621 SWIG_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);
1670 static 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 }
1677 static 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 }
1686 static 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 }
1692 static 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 }
1698 static 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
1706 SWIGINTERN int
1707 SWIG_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
1719 SWIGINTERNSHORT unsigned long
1720 SWIG_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
1733 SWIGINTERNSHORT int
1734 SWIG_Check_unsigned_SS_long(PyObject* obj)
1735 {
1736 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1737 }
1738
1739 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1740 self->AppendText(text);
1741 }
1742 static 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
1762 class wxToggleButton : public wxControl
1763 {
1764 public:
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
1777 SWIGINTERNSHORT 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);
1786 static 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 }
1796 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
1797 self->SetClientData(new wxPyUserData(clientData));
1798 }
1799 static 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 }
1806 static 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 }
1813 static 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 }
1823 static 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);
1830 static 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
1850 class wxPyListCtrl : public wxListCtrl {
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1852 public:
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
1880 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1881
1882 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
1883 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
1884 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1885
1886
1887 static 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 }
1902 static 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 }
1910 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
1911 wxPoint pos;
1912 self->GetItemPosition(item, pos);
1913 return pos;
1914 }
1915 static 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
1921 static 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 }
1926 static 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"));
1938 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1939 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1940 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
1941 // C++ version of Python aware wxTreeCtrl
1942 class wxPyTreeCtrl : public wxTreeCtrl {
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1944 public:
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
1984 IMPLEMENT_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
1999 SWIGINTERNSHORT 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
2017 SWIGINTERN 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
2036 SWIGINTERNSHORT 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
2044 SWIGINTERNSHORT unsigned int
2045 SWIG_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
2058 SWIGINTERNSHORT int
2059 SWIG_Check_unsigned_SS_int(PyObject* obj)
2060 {
2061 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2062 }
2063
2064 static 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 }
2073 static 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 }
2082 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2083 data->SetId(item); // set the id
2084 self->SetItemData(item, data);
2085 }
2086 static 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 }
2095 static 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 }
2110 static 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 }
2120 static 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 }
2129 static 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
2143 SWIGINTERNSHORT 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
2153 class wxPyControl : public wxControl
2154 {
2155 DECLARE_DYNAMIC_CLASS(wxPyControl)
2156 public:
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 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2169 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2171 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2172
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2176
2177 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2178 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2179
2180 DEC_PYCALLBACK__(InitDialog);
2181 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2182 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2183 DEC_PYCALLBACK_BOOL_(Validate);
2184
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2186 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2187 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2188
2189 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2190 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2191
2192 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2193 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2194
2195 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2196
2197 PYPRIVATE;
2198 };
2199
2200 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2201
2202 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2203 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2204 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2205 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2206
2207 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2208 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2209 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2210
2211 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2212 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2213
2214 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2215 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2216 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2217 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2218
2219 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2220 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2221 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2222
2223 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2224 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2225
2226 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2227 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2228
2229 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2230
2231
2232
2233 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2234
2235 #include <wx/generic/dragimgg.h>
2236
2237 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2238 static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2239 wxDateTime rv;
2240 self->GetRange(&rv, NULL);
2241 return rv;
2242 }
2243 static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2244 wxDateTime rv;
2245 self->GetRange(NULL, &rv);
2246 return rv;
2247 }
2248 #ifdef __cplusplus
2249 extern "C" {
2250 #endif
2251 static int _wrap_ButtonNameStr_set(PyObject *) {
2252 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2253 return 1;
2254 }
2255
2256
2257 static PyObject *_wrap_ButtonNameStr_get(void) {
2258 PyObject *pyobj;
2259
2260 {
2261 #if wxUSE_UNICODE
2262 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2263 #else
2264 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2265 #endif
2266 }
2267 return pyobj;
2268 }
2269
2270
2271 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2272 PyObject *resultobj;
2273 wxWindow *arg1 = (wxWindow *) 0 ;
2274 int arg2 = (int) -1 ;
2275 wxString const &arg3_defvalue = wxPyEmptyString ;
2276 wxString *arg3 = (wxString *) &arg3_defvalue ;
2277 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2278 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2279 wxSize const &arg5_defvalue = wxDefaultSize ;
2280 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2281 long arg6 = (long) 0 ;
2282 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2283 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2284 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2285 wxString *arg8 = (wxString *) &arg8_defvalue ;
2286 wxButton *result;
2287 bool temp3 = false ;
2288 wxPoint temp4 ;
2289 wxSize temp5 ;
2290 bool temp8 = false ;
2291 PyObject * obj0 = 0 ;
2292 PyObject * obj1 = 0 ;
2293 PyObject * obj2 = 0 ;
2294 PyObject * obj3 = 0 ;
2295 PyObject * obj4 = 0 ;
2296 PyObject * obj5 = 0 ;
2297 PyObject * obj6 = 0 ;
2298 PyObject * obj7 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2305 if (SWIG_arg_fail(1)) SWIG_fail;
2306 if (obj1) {
2307 {
2308 arg2 = (int)(SWIG_As_int(obj1));
2309 if (SWIG_arg_fail(2)) SWIG_fail;
2310 }
2311 }
2312 if (obj2) {
2313 {
2314 arg3 = wxString_in_helper(obj2);
2315 if (arg3 == NULL) SWIG_fail;
2316 temp3 = true;
2317 }
2318 }
2319 if (obj3) {
2320 {
2321 arg4 = &temp4;
2322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2323 }
2324 }
2325 if (obj4) {
2326 {
2327 arg5 = &temp5;
2328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2329 }
2330 }
2331 if (obj5) {
2332 {
2333 arg6 = (long)(SWIG_As_long(obj5));
2334 if (SWIG_arg_fail(6)) SWIG_fail;
2335 }
2336 }
2337 if (obj6) {
2338 {
2339 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2340 if (SWIG_arg_fail(7)) SWIG_fail;
2341 if (arg7 == NULL) {
2342 SWIG_null_ref("wxValidator");
2343 }
2344 if (SWIG_arg_fail(7)) SWIG_fail;
2345 }
2346 }
2347 if (obj7) {
2348 {
2349 arg8 = wxString_in_helper(obj7);
2350 if (arg8 == NULL) SWIG_fail;
2351 temp8 = true;
2352 }
2353 }
2354 {
2355 if (!wxPyCheckForApp()) SWIG_fail;
2356 PyThreadState* __tstate = wxPyBeginAllowThreads();
2357 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2358
2359 wxPyEndAllowThreads(__tstate);
2360 if (PyErr_Occurred()) SWIG_fail;
2361 }
2362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2363 {
2364 if (temp3)
2365 delete arg3;
2366 }
2367 {
2368 if (temp8)
2369 delete arg8;
2370 }
2371 return resultobj;
2372 fail:
2373 {
2374 if (temp3)
2375 delete arg3;
2376 }
2377 {
2378 if (temp8)
2379 delete arg8;
2380 }
2381 return NULL;
2382 }
2383
2384
2385 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2386 PyObject *resultobj;
2387 wxButton *result;
2388 char *kwnames[] = {
2389 NULL
2390 };
2391
2392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2393 {
2394 if (!wxPyCheckForApp()) SWIG_fail;
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 result = (wxButton *)new wxButton();
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) SWIG_fail;
2400 }
2401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2402 return resultobj;
2403 fail:
2404 return NULL;
2405 }
2406
2407
2408 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2409 PyObject *resultobj;
2410 wxButton *arg1 = (wxButton *) 0 ;
2411 wxWindow *arg2 = (wxWindow *) 0 ;
2412 int arg3 = (int) -1 ;
2413 wxString const &arg4_defvalue = wxPyEmptyString ;
2414 wxString *arg4 = (wxString *) &arg4_defvalue ;
2415 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2416 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2417 wxSize const &arg6_defvalue = wxDefaultSize ;
2418 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2419 long arg7 = (long) 0 ;
2420 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2421 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2422 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2423 wxString *arg9 = (wxString *) &arg9_defvalue ;
2424 bool result;
2425 bool temp4 = false ;
2426 wxPoint temp5 ;
2427 wxSize temp6 ;
2428 bool temp9 = false ;
2429 PyObject * obj0 = 0 ;
2430 PyObject * obj1 = 0 ;
2431 PyObject * obj2 = 0 ;
2432 PyObject * obj3 = 0 ;
2433 PyObject * obj4 = 0 ;
2434 PyObject * obj5 = 0 ;
2435 PyObject * obj6 = 0 ;
2436 PyObject * obj7 = 0 ;
2437 PyObject * obj8 = 0 ;
2438 char *kwnames[] = {
2439 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2440 };
2441
2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2444 if (SWIG_arg_fail(1)) SWIG_fail;
2445 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2446 if (SWIG_arg_fail(2)) SWIG_fail;
2447 if (obj2) {
2448 {
2449 arg3 = (int)(SWIG_As_int(obj2));
2450 if (SWIG_arg_fail(3)) SWIG_fail;
2451 }
2452 }
2453 if (obj3) {
2454 {
2455 arg4 = wxString_in_helper(obj3);
2456 if (arg4 == NULL) SWIG_fail;
2457 temp4 = true;
2458 }
2459 }
2460 if (obj4) {
2461 {
2462 arg5 = &temp5;
2463 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2464 }
2465 }
2466 if (obj5) {
2467 {
2468 arg6 = &temp6;
2469 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2470 }
2471 }
2472 if (obj6) {
2473 {
2474 arg7 = (long)(SWIG_As_long(obj6));
2475 if (SWIG_arg_fail(7)) SWIG_fail;
2476 }
2477 }
2478 if (obj7) {
2479 {
2480 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2481 if (SWIG_arg_fail(8)) SWIG_fail;
2482 if (arg8 == NULL) {
2483 SWIG_null_ref("wxValidator");
2484 }
2485 if (SWIG_arg_fail(8)) SWIG_fail;
2486 }
2487 }
2488 if (obj8) {
2489 {
2490 arg9 = wxString_in_helper(obj8);
2491 if (arg9 == NULL) SWIG_fail;
2492 temp9 = true;
2493 }
2494 }
2495 {
2496 PyThreadState* __tstate = wxPyBeginAllowThreads();
2497 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2498
2499 wxPyEndAllowThreads(__tstate);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 }
2502 {
2503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2504 }
2505 {
2506 if (temp4)
2507 delete arg4;
2508 }
2509 {
2510 if (temp9)
2511 delete arg9;
2512 }
2513 return resultobj;
2514 fail:
2515 {
2516 if (temp4)
2517 delete arg4;
2518 }
2519 {
2520 if (temp9)
2521 delete arg9;
2522 }
2523 return NULL;
2524 }
2525
2526
2527 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2528 PyObject *resultobj;
2529 wxButton *arg1 = (wxButton *) 0 ;
2530 PyObject * obj0 = 0 ;
2531 char *kwnames[] = {
2532 (char *) "self", NULL
2533 };
2534
2535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2537 if (SWIG_arg_fail(1)) SWIG_fail;
2538 {
2539 PyThreadState* __tstate = wxPyBeginAllowThreads();
2540 (arg1)->SetDefault();
2541
2542 wxPyEndAllowThreads(__tstate);
2543 if (PyErr_Occurred()) SWIG_fail;
2544 }
2545 Py_INCREF(Py_None); resultobj = Py_None;
2546 return resultobj;
2547 fail:
2548 return NULL;
2549 }
2550
2551
2552 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2553 PyObject *resultobj;
2554 wxSize result;
2555 char *kwnames[] = {
2556 NULL
2557 };
2558
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2560 {
2561 PyThreadState* __tstate = wxPyBeginAllowThreads();
2562 result = wxButton::GetDefaultSize();
2563
2564 wxPyEndAllowThreads(__tstate);
2565 if (PyErr_Occurred()) SWIG_fail;
2566 }
2567 {
2568 wxSize * resultptr;
2569 resultptr = new wxSize((wxSize &)(result));
2570 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2571 }
2572 return resultobj;
2573 fail:
2574 return NULL;
2575 }
2576
2577
2578 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2579 PyObject *resultobj;
2580 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2581 wxVisualAttributes result;
2582 PyObject * obj0 = 0 ;
2583 char *kwnames[] = {
2584 (char *) "variant", NULL
2585 };
2586
2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2588 if (obj0) {
2589 {
2590 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2591 if (SWIG_arg_fail(1)) SWIG_fail;
2592 }
2593 }
2594 {
2595 if (!wxPyCheckForApp()) SWIG_fail;
2596 PyThreadState* __tstate = wxPyBeginAllowThreads();
2597 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2598
2599 wxPyEndAllowThreads(__tstate);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 }
2602 {
2603 wxVisualAttributes * resultptr;
2604 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2605 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2606 }
2607 return resultobj;
2608 fail:
2609 return NULL;
2610 }
2611
2612
2613 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2614 PyObject *obj;
2615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2616 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2617 Py_INCREF(obj);
2618 return Py_BuildValue((char *)"");
2619 }
2620 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2621 PyObject *resultobj;
2622 wxWindow *arg1 = (wxWindow *) 0 ;
2623 int arg2 = (int) -1 ;
2624 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2625 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2626 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2627 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2628 wxSize const &arg5_defvalue = wxDefaultSize ;
2629 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2630 long arg6 = (long) wxBU_AUTODRAW ;
2631 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2632 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2633 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2634 wxString *arg8 = (wxString *) &arg8_defvalue ;
2635 wxBitmapButton *result;
2636 wxPoint temp4 ;
2637 wxSize temp5 ;
2638 bool temp8 = false ;
2639 PyObject * obj0 = 0 ;
2640 PyObject * obj1 = 0 ;
2641 PyObject * obj2 = 0 ;
2642 PyObject * obj3 = 0 ;
2643 PyObject * obj4 = 0 ;
2644 PyObject * obj5 = 0 ;
2645 PyObject * obj6 = 0 ;
2646 PyObject * obj7 = 0 ;
2647 char *kwnames[] = {
2648 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2649 };
2650
2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2653 if (SWIG_arg_fail(1)) SWIG_fail;
2654 if (obj1) {
2655 {
2656 arg2 = (int)(SWIG_As_int(obj1));
2657 if (SWIG_arg_fail(2)) SWIG_fail;
2658 }
2659 }
2660 if (obj2) {
2661 {
2662 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2663 if (SWIG_arg_fail(3)) SWIG_fail;
2664 if (arg3 == NULL) {
2665 SWIG_null_ref("wxBitmap");
2666 }
2667 if (SWIG_arg_fail(3)) SWIG_fail;
2668 }
2669 }
2670 if (obj3) {
2671 {
2672 arg4 = &temp4;
2673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2674 }
2675 }
2676 if (obj4) {
2677 {
2678 arg5 = &temp5;
2679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2680 }
2681 }
2682 if (obj5) {
2683 {
2684 arg6 = (long)(SWIG_As_long(obj5));
2685 if (SWIG_arg_fail(6)) SWIG_fail;
2686 }
2687 }
2688 if (obj6) {
2689 {
2690 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2691 if (SWIG_arg_fail(7)) SWIG_fail;
2692 if (arg7 == NULL) {
2693 SWIG_null_ref("wxValidator");
2694 }
2695 if (SWIG_arg_fail(7)) SWIG_fail;
2696 }
2697 }
2698 if (obj7) {
2699 {
2700 arg8 = wxString_in_helper(obj7);
2701 if (arg8 == NULL) SWIG_fail;
2702 temp8 = true;
2703 }
2704 }
2705 {
2706 if (!wxPyCheckForApp()) SWIG_fail;
2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
2708 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2709
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 }
2713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2714 {
2715 if (temp8)
2716 delete arg8;
2717 }
2718 return resultobj;
2719 fail:
2720 {
2721 if (temp8)
2722 delete arg8;
2723 }
2724 return NULL;
2725 }
2726
2727
2728 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2729 PyObject *resultobj;
2730 wxBitmapButton *result;
2731 char *kwnames[] = {
2732 NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2736 {
2737 if (!wxPyCheckForApp()) SWIG_fail;
2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
2739 result = (wxBitmapButton *)new wxBitmapButton();
2740
2741 wxPyEndAllowThreads(__tstate);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2745 return resultobj;
2746 fail:
2747 return NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2754 wxWindow *arg2 = (wxWindow *) 0 ;
2755 int arg3 = (int) -1 ;
2756 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2757 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2758 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2759 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2760 wxSize const &arg6_defvalue = wxDefaultSize ;
2761 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2762 long arg7 = (long) wxBU_AUTODRAW ;
2763 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2764 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2765 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2766 wxString *arg9 = (wxString *) &arg9_defvalue ;
2767 bool result;
2768 wxPoint temp5 ;
2769 wxSize temp6 ;
2770 bool temp9 = false ;
2771 PyObject * obj0 = 0 ;
2772 PyObject * obj1 = 0 ;
2773 PyObject * obj2 = 0 ;
2774 PyObject * obj3 = 0 ;
2775 PyObject * obj4 = 0 ;
2776 PyObject * obj5 = 0 ;
2777 PyObject * obj6 = 0 ;
2778 PyObject * obj7 = 0 ;
2779 PyObject * obj8 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail;
2787 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2788 if (SWIG_arg_fail(2)) SWIG_fail;
2789 if (obj2) {
2790 {
2791 arg3 = (int)(SWIG_As_int(obj2));
2792 if (SWIG_arg_fail(3)) SWIG_fail;
2793 }
2794 }
2795 if (obj3) {
2796 {
2797 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2798 if (SWIG_arg_fail(4)) SWIG_fail;
2799 if (arg4 == NULL) {
2800 SWIG_null_ref("wxBitmap");
2801 }
2802 if (SWIG_arg_fail(4)) SWIG_fail;
2803 }
2804 }
2805 if (obj4) {
2806 {
2807 arg5 = &temp5;
2808 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2809 }
2810 }
2811 if (obj5) {
2812 {
2813 arg6 = &temp6;
2814 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2815 }
2816 }
2817 if (obj6) {
2818 {
2819 arg7 = (long)(SWIG_As_long(obj6));
2820 if (SWIG_arg_fail(7)) SWIG_fail;
2821 }
2822 }
2823 if (obj7) {
2824 {
2825 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2826 if (SWIG_arg_fail(8)) SWIG_fail;
2827 if (arg8 == NULL) {
2828 SWIG_null_ref("wxValidator");
2829 }
2830 if (SWIG_arg_fail(8)) SWIG_fail;
2831 }
2832 }
2833 if (obj8) {
2834 {
2835 arg9 = wxString_in_helper(obj8);
2836 if (arg9 == NULL) SWIG_fail;
2837 temp9 = true;
2838 }
2839 }
2840 {
2841 PyThreadState* __tstate = wxPyBeginAllowThreads();
2842 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2843
2844 wxPyEndAllowThreads(__tstate);
2845 if (PyErr_Occurred()) SWIG_fail;
2846 }
2847 {
2848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2849 }
2850 {
2851 if (temp9)
2852 delete arg9;
2853 }
2854 return resultobj;
2855 fail:
2856 {
2857 if (temp9)
2858 delete arg9;
2859 }
2860 return NULL;
2861 }
2862
2863
2864 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2865 PyObject *resultobj;
2866 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2867 wxBitmap result;
2868 PyObject * obj0 = 0 ;
2869 char *kwnames[] = {
2870 (char *) "self", NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
2874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2875 if (SWIG_arg_fail(1)) SWIG_fail;
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 result = (arg1)->GetBitmapLabel();
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 {
2884 wxBitmap * resultptr;
2885 resultptr = new wxBitmap((wxBitmap &)(result));
2886 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2887 }
2888 return resultobj;
2889 fail:
2890 return NULL;
2891 }
2892
2893
2894 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2895 PyObject *resultobj;
2896 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2897 wxBitmap result;
2898 PyObject * obj0 = 0 ;
2899 char *kwnames[] = {
2900 (char *) "self", NULL
2901 };
2902
2903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
2904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2905 if (SWIG_arg_fail(1)) SWIG_fail;
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 result = (arg1)->GetBitmapDisabled();
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 {
2914 wxBitmap * resultptr;
2915 resultptr = new wxBitmap((wxBitmap &)(result));
2916 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2917 }
2918 return resultobj;
2919 fail:
2920 return NULL;
2921 }
2922
2923
2924 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2925 PyObject *resultobj;
2926 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2927 wxBitmap result;
2928 PyObject * obj0 = 0 ;
2929 char *kwnames[] = {
2930 (char *) "self", NULL
2931 };
2932
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
2934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2935 if (SWIG_arg_fail(1)) SWIG_fail;
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 result = (arg1)->GetBitmapFocus();
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 {
2944 wxBitmap * resultptr;
2945 resultptr = new wxBitmap((wxBitmap &)(result));
2946 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2947 }
2948 return resultobj;
2949 fail:
2950 return NULL;
2951 }
2952
2953
2954 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
2955 PyObject *resultobj;
2956 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2957 wxBitmap result;
2958 PyObject * obj0 = 0 ;
2959 char *kwnames[] = {
2960 (char *) "self", NULL
2961 };
2962
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
2964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2965 if (SWIG_arg_fail(1)) SWIG_fail;
2966 {
2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
2968 result = (arg1)->GetBitmapSelected();
2969
2970 wxPyEndAllowThreads(__tstate);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 }
2973 {
2974 wxBitmap * resultptr;
2975 resultptr = new wxBitmap((wxBitmap &)(result));
2976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2977 }
2978 return resultobj;
2979 fail:
2980 return NULL;
2981 }
2982
2983
2984 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2985 PyObject *resultobj;
2986 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2987 wxBitmap *arg2 = 0 ;
2988 PyObject * obj0 = 0 ;
2989 PyObject * obj1 = 0 ;
2990 char *kwnames[] = {
2991 (char *) "self",(char *) "bitmap", NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
2995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2996 if (SWIG_arg_fail(1)) SWIG_fail;
2997 {
2998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2999 if (SWIG_arg_fail(2)) SWIG_fail;
3000 if (arg2 == NULL) {
3001 SWIG_null_ref("wxBitmap");
3002 }
3003 if (SWIG_arg_fail(2)) SWIG_fail;
3004 }
3005 {
3006 PyThreadState* __tstate = wxPyBeginAllowThreads();
3007 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3008
3009 wxPyEndAllowThreads(__tstate);
3010 if (PyErr_Occurred()) SWIG_fail;
3011 }
3012 Py_INCREF(Py_None); resultobj = Py_None;
3013 return resultobj;
3014 fail:
3015 return NULL;
3016 }
3017
3018
3019 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3020 PyObject *resultobj;
3021 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3022 wxBitmap *arg2 = 0 ;
3023 PyObject * obj0 = 0 ;
3024 PyObject * obj1 = 0 ;
3025 char *kwnames[] = {
3026 (char *) "self",(char *) "bitmap", NULL
3027 };
3028
3029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3031 if (SWIG_arg_fail(1)) SWIG_fail;
3032 {
3033 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3034 if (SWIG_arg_fail(2)) SWIG_fail;
3035 if (arg2 == NULL) {
3036 SWIG_null_ref("wxBitmap");
3037 }
3038 if (SWIG_arg_fail(2)) SWIG_fail;
3039 }
3040 {
3041 PyThreadState* __tstate = wxPyBeginAllowThreads();
3042 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3043
3044 wxPyEndAllowThreads(__tstate);
3045 if (PyErr_Occurred()) SWIG_fail;
3046 }
3047 Py_INCREF(Py_None); resultobj = Py_None;
3048 return resultobj;
3049 fail:
3050 return NULL;
3051 }
3052
3053
3054 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3055 PyObject *resultobj;
3056 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3057 wxBitmap *arg2 = 0 ;
3058 PyObject * obj0 = 0 ;
3059 PyObject * obj1 = 0 ;
3060 char *kwnames[] = {
3061 (char *) "self",(char *) "bitmap", NULL
3062 };
3063
3064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3066 if (SWIG_arg_fail(1)) SWIG_fail;
3067 {
3068 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3069 if (SWIG_arg_fail(2)) SWIG_fail;
3070 if (arg2 == NULL) {
3071 SWIG_null_ref("wxBitmap");
3072 }
3073 if (SWIG_arg_fail(2)) SWIG_fail;
3074 }
3075 {
3076 PyThreadState* __tstate = wxPyBeginAllowThreads();
3077 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3078
3079 wxPyEndAllowThreads(__tstate);
3080 if (PyErr_Occurred()) SWIG_fail;
3081 }
3082 Py_INCREF(Py_None); resultobj = Py_None;
3083 return resultobj;
3084 fail:
3085 return NULL;
3086 }
3087
3088
3089 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3090 PyObject *resultobj;
3091 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3092 wxBitmap *arg2 = 0 ;
3093 PyObject * obj0 = 0 ;
3094 PyObject * obj1 = 0 ;
3095 char *kwnames[] = {
3096 (char *) "self",(char *) "bitmap", NULL
3097 };
3098
3099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3101 if (SWIG_arg_fail(1)) SWIG_fail;
3102 {
3103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3104 if (SWIG_arg_fail(2)) SWIG_fail;
3105 if (arg2 == NULL) {
3106 SWIG_null_ref("wxBitmap");
3107 }
3108 if (SWIG_arg_fail(2)) SWIG_fail;
3109 }
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3113
3114 wxPyEndAllowThreads(__tstate);
3115 if (PyErr_Occurred()) SWIG_fail;
3116 }
3117 Py_INCREF(Py_None); resultobj = Py_None;
3118 return resultobj;
3119 fail:
3120 return NULL;
3121 }
3122
3123
3124 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3125 PyObject *resultobj;
3126 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3127 int arg2 ;
3128 int arg3 ;
3129 PyObject * obj0 = 0 ;
3130 PyObject * obj1 = 0 ;
3131 PyObject * obj2 = 0 ;
3132 char *kwnames[] = {
3133 (char *) "self",(char *) "x",(char *) "y", NULL
3134 };
3135
3136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3138 if (SWIG_arg_fail(1)) SWIG_fail;
3139 {
3140 arg2 = (int)(SWIG_As_int(obj1));
3141 if (SWIG_arg_fail(2)) SWIG_fail;
3142 }
3143 {
3144 arg3 = (int)(SWIG_As_int(obj2));
3145 if (SWIG_arg_fail(3)) SWIG_fail;
3146 }
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 (arg1)->SetMargins(arg2,arg3);
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 Py_INCREF(Py_None); resultobj = Py_None;
3155 return resultobj;
3156 fail:
3157 return NULL;
3158 }
3159
3160
3161 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3162 PyObject *resultobj;
3163 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3164 int result;
3165 PyObject * obj0 = 0 ;
3166 char *kwnames[] = {
3167 (char *) "self", NULL
3168 };
3169
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail;
3173 {
3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
3175 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3176
3177 wxPyEndAllowThreads(__tstate);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
3180 {
3181 resultobj = SWIG_From_int((int)(result));
3182 }
3183 return resultobj;
3184 fail:
3185 return NULL;
3186 }
3187
3188
3189 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3190 PyObject *resultobj;
3191 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3192 int result;
3193 PyObject * obj0 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail;
3201 {
3202 PyThreadState* __tstate = wxPyBeginAllowThreads();
3203 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3204
3205 wxPyEndAllowThreads(__tstate);
3206 if (PyErr_Occurred()) SWIG_fail;
3207 }
3208 {
3209 resultobj = SWIG_From_int((int)(result));
3210 }
3211 return resultobj;
3212 fail:
3213 return NULL;
3214 }
3215
3216
3217 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3218 PyObject *obj;
3219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3220 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3221 Py_INCREF(obj);
3222 return Py_BuildValue((char *)"");
3223 }
3224 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3225 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3226 return 1;
3227 }
3228
3229
3230 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3231 PyObject *pyobj;
3232
3233 {
3234 #if wxUSE_UNICODE
3235 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3236 #else
3237 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3238 #endif
3239 }
3240 return pyobj;
3241 }
3242
3243
3244 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3245 PyObject *resultobj;
3246 wxWindow *arg1 = (wxWindow *) 0 ;
3247 int arg2 = (int) -1 ;
3248 wxString const &arg3_defvalue = wxPyEmptyString ;
3249 wxString *arg3 = (wxString *) &arg3_defvalue ;
3250 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3251 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3252 wxSize const &arg5_defvalue = wxDefaultSize ;
3253 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3254 long arg6 = (long) 0 ;
3255 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3256 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3257 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3258 wxString *arg8 = (wxString *) &arg8_defvalue ;
3259 wxCheckBox *result;
3260 bool temp3 = false ;
3261 wxPoint temp4 ;
3262 wxSize temp5 ;
3263 bool temp8 = false ;
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 PyObject * obj2 = 0 ;
3267 PyObject * obj3 = 0 ;
3268 PyObject * obj4 = 0 ;
3269 PyObject * obj5 = 0 ;
3270 PyObject * obj6 = 0 ;
3271 PyObject * obj7 = 0 ;
3272 char *kwnames[] = {
3273 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3274 };
3275
3276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail;
3279 if (obj1) {
3280 {
3281 arg2 = (int)(SWIG_As_int(obj1));
3282 if (SWIG_arg_fail(2)) SWIG_fail;
3283 }
3284 }
3285 if (obj2) {
3286 {
3287 arg3 = wxString_in_helper(obj2);
3288 if (arg3 == NULL) SWIG_fail;
3289 temp3 = true;
3290 }
3291 }
3292 if (obj3) {
3293 {
3294 arg4 = &temp4;
3295 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3296 }
3297 }
3298 if (obj4) {
3299 {
3300 arg5 = &temp5;
3301 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3302 }
3303 }
3304 if (obj5) {
3305 {
3306 arg6 = (long)(SWIG_As_long(obj5));
3307 if (SWIG_arg_fail(6)) SWIG_fail;
3308 }
3309 }
3310 if (obj6) {
3311 {
3312 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3313 if (SWIG_arg_fail(7)) SWIG_fail;
3314 if (arg7 == NULL) {
3315 SWIG_null_ref("wxValidator");
3316 }
3317 if (SWIG_arg_fail(7)) SWIG_fail;
3318 }
3319 }
3320 if (obj7) {
3321 {
3322 arg8 = wxString_in_helper(obj7);
3323 if (arg8 == NULL) SWIG_fail;
3324 temp8 = true;
3325 }
3326 }
3327 {
3328 if (!wxPyCheckForApp()) SWIG_fail;
3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
3330 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3331
3332 wxPyEndAllowThreads(__tstate);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3336 {
3337 if (temp3)
3338 delete arg3;
3339 }
3340 {
3341 if (temp8)
3342 delete arg8;
3343 }
3344 return resultobj;
3345 fail:
3346 {
3347 if (temp3)
3348 delete arg3;
3349 }
3350 {
3351 if (temp8)
3352 delete arg8;
3353 }
3354 return NULL;
3355 }
3356
3357
3358 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3359 PyObject *resultobj;
3360 wxCheckBox *result;
3361 char *kwnames[] = {
3362 NULL
3363 };
3364
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3366 {
3367 if (!wxPyCheckForApp()) SWIG_fail;
3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
3369 result = (wxCheckBox *)new wxCheckBox();
3370
3371 wxPyEndAllowThreads(__tstate);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3375 return resultobj;
3376 fail:
3377 return NULL;
3378 }
3379
3380
3381 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3382 PyObject *resultobj;
3383 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3384 wxWindow *arg2 = (wxWindow *) 0 ;
3385 int arg3 = (int) -1 ;
3386 wxString const &arg4_defvalue = wxPyEmptyString ;
3387 wxString *arg4 = (wxString *) &arg4_defvalue ;
3388 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3389 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3390 wxSize const &arg6_defvalue = wxDefaultSize ;
3391 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3392 long arg7 = (long) 0 ;
3393 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3394 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3395 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3396 wxString *arg9 = (wxString *) &arg9_defvalue ;
3397 bool result;
3398 bool temp4 = false ;
3399 wxPoint temp5 ;
3400 wxSize temp6 ;
3401 bool temp9 = false ;
3402 PyObject * obj0 = 0 ;
3403 PyObject * obj1 = 0 ;
3404 PyObject * obj2 = 0 ;
3405 PyObject * obj3 = 0 ;
3406 PyObject * obj4 = 0 ;
3407 PyObject * obj5 = 0 ;
3408 PyObject * obj6 = 0 ;
3409 PyObject * obj7 = 0 ;
3410 PyObject * obj8 = 0 ;
3411 char *kwnames[] = {
3412 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3413 };
3414
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3417 if (SWIG_arg_fail(1)) SWIG_fail;
3418 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3419 if (SWIG_arg_fail(2)) SWIG_fail;
3420 if (obj2) {
3421 {
3422 arg3 = (int)(SWIG_As_int(obj2));
3423 if (SWIG_arg_fail(3)) SWIG_fail;
3424 }
3425 }
3426 if (obj3) {
3427 {
3428 arg4 = wxString_in_helper(obj3);
3429 if (arg4 == NULL) SWIG_fail;
3430 temp4 = true;
3431 }
3432 }
3433 if (obj4) {
3434 {
3435 arg5 = &temp5;
3436 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3437 }
3438 }
3439 if (obj5) {
3440 {
3441 arg6 = &temp6;
3442 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3443 }
3444 }
3445 if (obj6) {
3446 {
3447 arg7 = (long)(SWIG_As_long(obj6));
3448 if (SWIG_arg_fail(7)) SWIG_fail;
3449 }
3450 }
3451 if (obj7) {
3452 {
3453 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3454 if (SWIG_arg_fail(8)) SWIG_fail;
3455 if (arg8 == NULL) {
3456 SWIG_null_ref("wxValidator");
3457 }
3458 if (SWIG_arg_fail(8)) SWIG_fail;
3459 }
3460 }
3461 if (obj8) {
3462 {
3463 arg9 = wxString_in_helper(obj8);
3464 if (arg9 == NULL) SWIG_fail;
3465 temp9 = true;
3466 }
3467 }
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3471
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 {
3476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3477 }
3478 {
3479 if (temp4)
3480 delete arg4;
3481 }
3482 {
3483 if (temp9)
3484 delete arg9;
3485 }
3486 return resultobj;
3487 fail:
3488 {
3489 if (temp4)
3490 delete arg4;
3491 }
3492 {
3493 if (temp9)
3494 delete arg9;
3495 }
3496 return NULL;
3497 }
3498
3499
3500 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3501 PyObject *resultobj;
3502 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3503 bool result;
3504 PyObject * obj0 = 0 ;
3505 char *kwnames[] = {
3506 (char *) "self", NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail;
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 result = (bool)(arg1)->GetValue();
3515
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 {
3520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3521 }
3522 return resultobj;
3523 fail:
3524 return NULL;
3525 }
3526
3527
3528 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3529 PyObject *resultobj;
3530 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3531 bool result;
3532 PyObject * obj0 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "self", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3539 if (SWIG_arg_fail(1)) SWIG_fail;
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (bool)(arg1)->IsChecked();
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 {
3548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3549 }
3550 return resultobj;
3551 fail:
3552 return NULL;
3553 }
3554
3555
3556 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3559 bool arg2 ;
3560 PyObject * obj0 = 0 ;
3561 PyObject * obj1 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self",(char *) "state", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail;
3569 {
3570 arg2 = (bool const)(SWIG_As_bool(obj1));
3571 if (SWIG_arg_fail(2)) SWIG_fail;
3572 }
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 (arg1)->SetValue(arg2);
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 Py_INCREF(Py_None); resultobj = Py_None;
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3590 wxCheckBoxState result;
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3598 if (SWIG_arg_fail(1)) SWIG_fail;
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
3606 resultobj = SWIG_From_int((result));
3607 return resultobj;
3608 fail:
3609 return NULL;
3610 }
3611
3612
3613 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3614 PyObject *resultobj;
3615 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3616 wxCheckBoxState arg2 ;
3617 PyObject * obj0 = 0 ;
3618 PyObject * obj1 = 0 ;
3619 char *kwnames[] = {
3620 (char *) "self",(char *) "state", NULL
3621 };
3622
3623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3625 if (SWIG_arg_fail(1)) SWIG_fail;
3626 {
3627 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3628 if (SWIG_arg_fail(2)) SWIG_fail;
3629 }
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 Py_INCREF(Py_None); resultobj = Py_None;
3638 return resultobj;
3639 fail:
3640 return NULL;
3641 }
3642
3643
3644 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3645 PyObject *resultobj;
3646 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3647 bool result;
3648 PyObject * obj0 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3655 if (SWIG_arg_fail(1)) SWIG_fail;
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 {
3664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3665 }
3666 return resultobj;
3667 fail:
3668 return NULL;
3669 }
3670
3671
3672 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3673 PyObject *resultobj;
3674 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3675 bool result;
3676 PyObject * obj0 = 0 ;
3677 char *kwnames[] = {
3678 (char *) "self", NULL
3679 };
3680
3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail;
3684 {
3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
3686 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3687
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 {
3692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3693 }
3694 return resultobj;
3695 fail:
3696 return NULL;
3697 }
3698
3699
3700 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3701 PyObject *resultobj;
3702 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3703 wxVisualAttributes result;
3704 PyObject * obj0 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "variant", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3710 if (obj0) {
3711 {
3712 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3713 if (SWIG_arg_fail(1)) SWIG_fail;
3714 }
3715 }
3716 {
3717 if (!wxPyCheckForApp()) SWIG_fail;
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 {
3725 wxVisualAttributes * resultptr;
3726 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3728 }
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3736 PyObject *obj;
3737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3738 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3739 Py_INCREF(obj);
3740 return Py_BuildValue((char *)"");
3741 }
3742 static int _wrap_ChoiceNameStr_set(PyObject *) {
3743 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3744 return 1;
3745 }
3746
3747
3748 static PyObject *_wrap_ChoiceNameStr_get(void) {
3749 PyObject *pyobj;
3750
3751 {
3752 #if wxUSE_UNICODE
3753 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3754 #else
3755 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3756 #endif
3757 }
3758 return pyobj;
3759 }
3760
3761
3762 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3763 PyObject *resultobj;
3764 wxWindow *arg1 = (wxWindow *) 0 ;
3765 int arg2 = (int) -1 ;
3766 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3767 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3768 wxSize const &arg4_defvalue = wxDefaultSize ;
3769 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3770 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3771 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3772 long arg6 = (long) 0 ;
3773 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3774 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3775 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3776 wxString *arg8 = (wxString *) &arg8_defvalue ;
3777 wxChoice *result;
3778 wxPoint temp3 ;
3779 wxSize temp4 ;
3780 bool temp5 = false ;
3781 bool temp8 = false ;
3782 PyObject * obj0 = 0 ;
3783 PyObject * obj1 = 0 ;
3784 PyObject * obj2 = 0 ;
3785 PyObject * obj3 = 0 ;
3786 PyObject * obj4 = 0 ;
3787 PyObject * obj5 = 0 ;
3788 PyObject * obj6 = 0 ;
3789 PyObject * obj7 = 0 ;
3790 char *kwnames[] = {
3791 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3792 };
3793
3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3796 if (SWIG_arg_fail(1)) SWIG_fail;
3797 if (obj1) {
3798 {
3799 arg2 = (int)(SWIG_As_int(obj1));
3800 if (SWIG_arg_fail(2)) SWIG_fail;
3801 }
3802 }
3803 if (obj2) {
3804 {
3805 arg3 = &temp3;
3806 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3807 }
3808 }
3809 if (obj3) {
3810 {
3811 arg4 = &temp4;
3812 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3813 }
3814 }
3815 if (obj4) {
3816 {
3817 if (! PySequence_Check(obj4)) {
3818 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3819 SWIG_fail;
3820 }
3821 arg5 = new wxArrayString;
3822 temp5 = true;
3823 int i, len=PySequence_Length(obj4);
3824 for (i=0; i<len; i++) {
3825 PyObject* item = PySequence_GetItem(obj4, i);
3826 #if wxUSE_UNICODE
3827 PyObject* str = PyObject_Unicode(item);
3828 #else
3829 PyObject* str = PyObject_Str(item);
3830 #endif
3831 if (PyErr_Occurred()) SWIG_fail;
3832 arg5->Add(Py2wxString(str));
3833 Py_DECREF(item);
3834 Py_DECREF(str);
3835 }
3836 }
3837 }
3838 if (obj5) {
3839 {
3840 arg6 = (long)(SWIG_As_long(obj5));
3841 if (SWIG_arg_fail(6)) SWIG_fail;
3842 }
3843 }
3844 if (obj6) {
3845 {
3846 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3847 if (SWIG_arg_fail(7)) SWIG_fail;
3848 if (arg7 == NULL) {
3849 SWIG_null_ref("wxValidator");
3850 }
3851 if (SWIG_arg_fail(7)) SWIG_fail;
3852 }
3853 }
3854 if (obj7) {
3855 {
3856 arg8 = wxString_in_helper(obj7);
3857 if (arg8 == NULL) SWIG_fail;
3858 temp8 = true;
3859 }
3860 }
3861 {
3862 if (!wxPyCheckForApp()) SWIG_fail;
3863 PyThreadState* __tstate = wxPyBeginAllowThreads();
3864 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3865
3866 wxPyEndAllowThreads(__tstate);
3867 if (PyErr_Occurred()) SWIG_fail;
3868 }
3869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3870 {
3871 if (temp5) delete arg5;
3872 }
3873 {
3874 if (temp8)
3875 delete arg8;
3876 }
3877 return resultobj;
3878 fail:
3879 {
3880 if (temp5) delete arg5;
3881 }
3882 {
3883 if (temp8)
3884 delete arg8;
3885 }
3886 return NULL;
3887 }
3888
3889
3890 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3891 PyObject *resultobj;
3892 wxChoice *result;
3893 char *kwnames[] = {
3894 NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3898 {
3899 if (!wxPyCheckForApp()) SWIG_fail;
3900 PyThreadState* __tstate = wxPyBeginAllowThreads();
3901 result = (wxChoice *)new wxChoice();
3902
3903 wxPyEndAllowThreads(__tstate);
3904 if (PyErr_Occurred()) SWIG_fail;
3905 }
3906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3907 return resultobj;
3908 fail:
3909 return NULL;
3910 }
3911
3912
3913 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3914 PyObject *resultobj;
3915 wxChoice *arg1 = (wxChoice *) 0 ;
3916 wxWindow *arg2 = (wxWindow *) 0 ;
3917 int arg3 = (int) -1 ;
3918 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3919 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3920 wxSize const &arg5_defvalue = wxDefaultSize ;
3921 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3922 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3923 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3924 long arg7 = (long) 0 ;
3925 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3926 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3927 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3928 wxString *arg9 = (wxString *) &arg9_defvalue ;
3929 bool result;
3930 wxPoint temp4 ;
3931 wxSize temp5 ;
3932 bool temp6 = false ;
3933 bool temp9 = false ;
3934 PyObject * obj0 = 0 ;
3935 PyObject * obj1 = 0 ;
3936 PyObject * obj2 = 0 ;
3937 PyObject * obj3 = 0 ;
3938 PyObject * obj4 = 0 ;
3939 PyObject * obj5 = 0 ;
3940 PyObject * obj6 = 0 ;
3941 PyObject * obj7 = 0 ;
3942 PyObject * obj8 = 0 ;
3943 char *kwnames[] = {
3944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3945 };
3946
3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3949 if (SWIG_arg_fail(1)) SWIG_fail;
3950 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3951 if (SWIG_arg_fail(2)) SWIG_fail;
3952 if (obj2) {
3953 {
3954 arg3 = (int)(SWIG_As_int(obj2));
3955 if (SWIG_arg_fail(3)) SWIG_fail;
3956 }
3957 }
3958 if (obj3) {
3959 {
3960 arg4 = &temp4;
3961 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3962 }
3963 }
3964 if (obj4) {
3965 {
3966 arg5 = &temp5;
3967 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3968 }
3969 }
3970 if (obj5) {
3971 {
3972 if (! PySequence_Check(obj5)) {
3973 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3974 SWIG_fail;
3975 }
3976 arg6 = new wxArrayString;
3977 temp6 = true;
3978 int i, len=PySequence_Length(obj5);
3979 for (i=0; i<len; i++) {
3980 PyObject* item = PySequence_GetItem(obj5, i);
3981 #if wxUSE_UNICODE
3982 PyObject* str = PyObject_Unicode(item);
3983 #else
3984 PyObject* str = PyObject_Str(item);
3985 #endif
3986 if (PyErr_Occurred()) SWIG_fail;
3987 arg6->Add(Py2wxString(str));
3988 Py_DECREF(item);
3989 Py_DECREF(str);
3990 }
3991 }
3992 }
3993 if (obj6) {
3994 {
3995 arg7 = (long)(SWIG_As_long(obj6));
3996 if (SWIG_arg_fail(7)) SWIG_fail;
3997 }
3998 }
3999 if (obj7) {
4000 {
4001 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4002 if (SWIG_arg_fail(8)) SWIG_fail;
4003 if (arg8 == NULL) {
4004 SWIG_null_ref("wxValidator");
4005 }
4006 if (SWIG_arg_fail(8)) SWIG_fail;
4007 }
4008 }
4009 if (obj8) {
4010 {
4011 arg9 = wxString_in_helper(obj8);
4012 if (arg9 == NULL) SWIG_fail;
4013 temp9 = true;
4014 }
4015 }
4016 {
4017 PyThreadState* __tstate = wxPyBeginAllowThreads();
4018 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4019
4020 wxPyEndAllowThreads(__tstate);
4021 if (PyErr_Occurred()) SWIG_fail;
4022 }
4023 {
4024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4025 }
4026 {
4027 if (temp6) delete arg6;
4028 }
4029 {
4030 if (temp9)
4031 delete arg9;
4032 }
4033 return resultobj;
4034 fail:
4035 {
4036 if (temp6) delete arg6;
4037 }
4038 {
4039 if (temp9)
4040 delete arg9;
4041 }
4042 return NULL;
4043 }
4044
4045
4046 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4047 PyObject *resultobj;
4048 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4049 wxVisualAttributes result;
4050 PyObject * obj0 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "variant", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4056 if (obj0) {
4057 {
4058 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4059 if (SWIG_arg_fail(1)) SWIG_fail;
4060 }
4061 }
4062 {
4063 if (!wxPyCheckForApp()) SWIG_fail;
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4066
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 {
4071 wxVisualAttributes * resultptr;
4072 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4074 }
4075 return resultobj;
4076 fail:
4077 return NULL;
4078 }
4079
4080
4081 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4082 PyObject *obj;
4083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4084 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4085 Py_INCREF(obj);
4086 return Py_BuildValue((char *)"");
4087 }
4088 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4089 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4090 return 1;
4091 }
4092
4093
4094 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4095 PyObject *pyobj;
4096
4097 {
4098 #if wxUSE_UNICODE
4099 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4100 #else
4101 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4102 #endif
4103 }
4104 return pyobj;
4105 }
4106
4107
4108 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4109 PyObject *resultobj;
4110 wxWindow *arg1 = (wxWindow *) 0 ;
4111 int arg2 = (int) -1 ;
4112 wxString const &arg3_defvalue = wxPyEmptyString ;
4113 wxString *arg3 = (wxString *) &arg3_defvalue ;
4114 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4115 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4116 wxSize const &arg5_defvalue = wxDefaultSize ;
4117 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4118 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4119 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4120 long arg7 = (long) 0 ;
4121 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4122 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4123 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4124 wxString *arg9 = (wxString *) &arg9_defvalue ;
4125 wxComboBox *result;
4126 bool temp3 = false ;
4127 wxPoint temp4 ;
4128 wxSize temp5 ;
4129 bool temp6 = false ;
4130 bool temp9 = false ;
4131 PyObject * obj0 = 0 ;
4132 PyObject * obj1 = 0 ;
4133 PyObject * obj2 = 0 ;
4134 PyObject * obj3 = 0 ;
4135 PyObject * obj4 = 0 ;
4136 PyObject * obj5 = 0 ;
4137 PyObject * obj6 = 0 ;
4138 PyObject * obj7 = 0 ;
4139 PyObject * obj8 = 0 ;
4140 char *kwnames[] = {
4141 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail;
4147 if (obj1) {
4148 {
4149 arg2 = (int)(SWIG_As_int(obj1));
4150 if (SWIG_arg_fail(2)) SWIG_fail;
4151 }
4152 }
4153 if (obj2) {
4154 {
4155 arg3 = wxString_in_helper(obj2);
4156 if (arg3 == NULL) SWIG_fail;
4157 temp3 = true;
4158 }
4159 }
4160 if (obj3) {
4161 {
4162 arg4 = &temp4;
4163 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4164 }
4165 }
4166 if (obj4) {
4167 {
4168 arg5 = &temp5;
4169 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4170 }
4171 }
4172 if (obj5) {
4173 {
4174 if (! PySequence_Check(obj5)) {
4175 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4176 SWIG_fail;
4177 }
4178 arg6 = new wxArrayString;
4179 temp6 = true;
4180 int i, len=PySequence_Length(obj5);
4181 for (i=0; i<len; i++) {
4182 PyObject* item = PySequence_GetItem(obj5, i);
4183 #if wxUSE_UNICODE
4184 PyObject* str = PyObject_Unicode(item);
4185 #else
4186 PyObject* str = PyObject_Str(item);
4187 #endif
4188 if (PyErr_Occurred()) SWIG_fail;
4189 arg6->Add(Py2wxString(str));
4190 Py_DECREF(item);
4191 Py_DECREF(str);
4192 }
4193 }
4194 }
4195 if (obj6) {
4196 {
4197 arg7 = (long)(SWIG_As_long(obj6));
4198 if (SWIG_arg_fail(7)) SWIG_fail;
4199 }
4200 }
4201 if (obj7) {
4202 {
4203 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4204 if (SWIG_arg_fail(8)) SWIG_fail;
4205 if (arg8 == NULL) {
4206 SWIG_null_ref("wxValidator");
4207 }
4208 if (SWIG_arg_fail(8)) SWIG_fail;
4209 }
4210 }
4211 if (obj8) {
4212 {
4213 arg9 = wxString_in_helper(obj8);
4214 if (arg9 == NULL) SWIG_fail;
4215 temp9 = true;
4216 }
4217 }
4218 {
4219 if (!wxPyCheckForApp()) SWIG_fail;
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4222
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
4226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4227 {
4228 if (temp3)
4229 delete arg3;
4230 }
4231 {
4232 if (temp6) delete arg6;
4233 }
4234 {
4235 if (temp9)
4236 delete arg9;
4237 }
4238 return resultobj;
4239 fail:
4240 {
4241 if (temp3)
4242 delete arg3;
4243 }
4244 {
4245 if (temp6) delete arg6;
4246 }
4247 {
4248 if (temp9)
4249 delete arg9;
4250 }
4251 return NULL;
4252 }
4253
4254
4255 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4256 PyObject *resultobj;
4257 wxComboBox *result;
4258 char *kwnames[] = {
4259 NULL
4260 };
4261
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4263 {
4264 if (!wxPyCheckForApp()) SWIG_fail;
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 result = (wxComboBox *)new wxComboBox();
4267
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4272 return resultobj;
4273 fail:
4274 return NULL;
4275 }
4276
4277
4278 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4279 PyObject *resultobj;
4280 wxComboBox *arg1 = (wxComboBox *) 0 ;
4281 wxWindow *arg2 = (wxWindow *) 0 ;
4282 int arg3 = (int) -1 ;
4283 wxString const &arg4_defvalue = wxPyEmptyString ;
4284 wxString *arg4 = (wxString *) &arg4_defvalue ;
4285 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4286 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4287 wxSize const &arg6_defvalue = wxDefaultSize ;
4288 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4289 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4290 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4291 long arg8 = (long) 0 ;
4292 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4293 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4294 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4295 wxString *arg10 = (wxString *) &arg10_defvalue ;
4296 bool result;
4297 bool temp4 = false ;
4298 wxPoint temp5 ;
4299 wxSize temp6 ;
4300 bool temp7 = false ;
4301 bool temp10 = false ;
4302 PyObject * obj0 = 0 ;
4303 PyObject * obj1 = 0 ;
4304 PyObject * obj2 = 0 ;
4305 PyObject * obj3 = 0 ;
4306 PyObject * obj4 = 0 ;
4307 PyObject * obj5 = 0 ;
4308 PyObject * obj6 = 0 ;
4309 PyObject * obj7 = 0 ;
4310 PyObject * obj8 = 0 ;
4311 PyObject * obj9 = 0 ;
4312 char *kwnames[] = {
4313 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4314 };
4315
4316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4318 if (SWIG_arg_fail(1)) SWIG_fail;
4319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4320 if (SWIG_arg_fail(2)) SWIG_fail;
4321 if (obj2) {
4322 {
4323 arg3 = (int)(SWIG_As_int(obj2));
4324 if (SWIG_arg_fail(3)) SWIG_fail;
4325 }
4326 }
4327 if (obj3) {
4328 {
4329 arg4 = wxString_in_helper(obj3);
4330 if (arg4 == NULL) SWIG_fail;
4331 temp4 = true;
4332 }
4333 }
4334 if (obj4) {
4335 {
4336 arg5 = &temp5;
4337 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4338 }
4339 }
4340 if (obj5) {
4341 {
4342 arg6 = &temp6;
4343 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4344 }
4345 }
4346 if (obj6) {
4347 {
4348 if (! PySequence_Check(obj6)) {
4349 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4350 SWIG_fail;
4351 }
4352 arg7 = new wxArrayString;
4353 temp7 = true;
4354 int i, len=PySequence_Length(obj6);
4355 for (i=0; i<len; i++) {
4356 PyObject* item = PySequence_GetItem(obj6, i);
4357 #if wxUSE_UNICODE
4358 PyObject* str = PyObject_Unicode(item);
4359 #else
4360 PyObject* str = PyObject_Str(item);
4361 #endif
4362 if (PyErr_Occurred()) SWIG_fail;
4363 arg7->Add(Py2wxString(str));
4364 Py_DECREF(item);
4365 Py_DECREF(str);
4366 }
4367 }
4368 }
4369 if (obj7) {
4370 {
4371 arg8 = (long)(SWIG_As_long(obj7));
4372 if (SWIG_arg_fail(8)) SWIG_fail;
4373 }
4374 }
4375 if (obj8) {
4376 {
4377 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4378 if (SWIG_arg_fail(9)) SWIG_fail;
4379 if (arg9 == NULL) {
4380 SWIG_null_ref("wxValidator");
4381 }
4382 if (SWIG_arg_fail(9)) SWIG_fail;
4383 }
4384 }
4385 if (obj9) {
4386 {
4387 arg10 = wxString_in_helper(obj9);
4388 if (arg10 == NULL) SWIG_fail;
4389 temp10 = true;
4390 }
4391 }
4392 {
4393 PyThreadState* __tstate = wxPyBeginAllowThreads();
4394 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4395
4396 wxPyEndAllowThreads(__tstate);
4397 if (PyErr_Occurred()) SWIG_fail;
4398 }
4399 {
4400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4401 }
4402 {
4403 if (temp4)
4404 delete arg4;
4405 }
4406 {
4407 if (temp7) delete arg7;
4408 }
4409 {
4410 if (temp10)
4411 delete arg10;
4412 }
4413 return resultobj;
4414 fail:
4415 {
4416 if (temp4)
4417 delete arg4;
4418 }
4419 {
4420 if (temp7) delete arg7;
4421 }
4422 {
4423 if (temp10)
4424 delete arg10;
4425 }
4426 return NULL;
4427 }
4428
4429
4430 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4431 PyObject *resultobj;
4432 wxComboBox *arg1 = (wxComboBox *) 0 ;
4433 wxString result;
4434 PyObject * obj0 = 0 ;
4435 char *kwnames[] = {
4436 (char *) "self", NULL
4437 };
4438
4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4441 if (SWIG_arg_fail(1)) SWIG_fail;
4442 {
4443 PyThreadState* __tstate = wxPyBeginAllowThreads();
4444 result = ((wxComboBox const *)arg1)->GetValue();
4445
4446 wxPyEndAllowThreads(__tstate);
4447 if (PyErr_Occurred()) SWIG_fail;
4448 }
4449 {
4450 #if wxUSE_UNICODE
4451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4452 #else
4453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4454 #endif
4455 }
4456 return resultobj;
4457 fail:
4458 return NULL;
4459 }
4460
4461
4462 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4463 PyObject *resultobj;
4464 wxComboBox *arg1 = (wxComboBox *) 0 ;
4465 wxString *arg2 = 0 ;
4466 bool temp2 = false ;
4467 PyObject * obj0 = 0 ;
4468 PyObject * obj1 = 0 ;
4469 char *kwnames[] = {
4470 (char *) "self",(char *) "value", NULL
4471 };
4472
4473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4475 if (SWIG_arg_fail(1)) SWIG_fail;
4476 {
4477 arg2 = wxString_in_helper(obj1);
4478 if (arg2 == NULL) SWIG_fail;
4479 temp2 = true;
4480 }
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 (arg1)->SetValue((wxString const &)*arg2);
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 Py_INCREF(Py_None); resultobj = Py_None;
4489 {
4490 if (temp2)
4491 delete arg2;
4492 }
4493 return resultobj;
4494 fail:
4495 {
4496 if (temp2)
4497 delete arg2;
4498 }
4499 return NULL;
4500 }
4501
4502
4503 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxComboBox *arg1 = (wxComboBox *) 0 ;
4506 PyObject * obj0 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4513 if (SWIG_arg_fail(1)) SWIG_fail;
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 (arg1)->Copy();
4517
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
4521 Py_INCREF(Py_None); resultobj = Py_None;
4522 return resultobj;
4523 fail:
4524 return NULL;
4525 }
4526
4527
4528 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj;
4530 wxComboBox *arg1 = (wxComboBox *) 0 ;
4531 PyObject * obj0 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4538 if (SWIG_arg_fail(1)) SWIG_fail;
4539 {
4540 PyThreadState* __tstate = wxPyBeginAllowThreads();
4541 (arg1)->Cut();
4542
4543 wxPyEndAllowThreads(__tstate);
4544 if (PyErr_Occurred()) SWIG_fail;
4545 }
4546 Py_INCREF(Py_None); resultobj = Py_None;
4547 return resultobj;
4548 fail:
4549 return NULL;
4550 }
4551
4552
4553 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4554 PyObject *resultobj;
4555 wxComboBox *arg1 = (wxComboBox *) 0 ;
4556 PyObject * obj0 = 0 ;
4557 char *kwnames[] = {
4558 (char *) "self", NULL
4559 };
4560
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4563 if (SWIG_arg_fail(1)) SWIG_fail;
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 (arg1)->Paste();
4567
4568 wxPyEndAllowThreads(__tstate);
4569 if (PyErr_Occurred()) SWIG_fail;
4570 }
4571 Py_INCREF(Py_None); resultobj = Py_None;
4572 return resultobj;
4573 fail:
4574 return NULL;
4575 }
4576
4577
4578 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4579 PyObject *resultobj;
4580 wxComboBox *arg1 = (wxComboBox *) 0 ;
4581 long arg2 ;
4582 PyObject * obj0 = 0 ;
4583 PyObject * obj1 = 0 ;
4584 char *kwnames[] = {
4585 (char *) "self",(char *) "pos", NULL
4586 };
4587
4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail;
4591 {
4592 arg2 = (long)(SWIG_As_long(obj1));
4593 if (SWIG_arg_fail(2)) SWIG_fail;
4594 }
4595 {
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 (arg1)->SetInsertionPoint(arg2);
4598
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 Py_INCREF(Py_None); resultobj = Py_None;
4603 return resultobj;
4604 fail:
4605 return NULL;
4606 }
4607
4608
4609 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4610 PyObject *resultobj;
4611 wxComboBox *arg1 = (wxComboBox *) 0 ;
4612 long result;
4613 PyObject * obj0 = 0 ;
4614 char *kwnames[] = {
4615 (char *) "self", NULL
4616 };
4617
4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4620 if (SWIG_arg_fail(1)) SWIG_fail;
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4624
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 {
4629 resultobj = SWIG_From_long((long)(result));
4630 }
4631 return resultobj;
4632 fail:
4633 return NULL;
4634 }
4635
4636
4637 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4638 PyObject *resultobj;
4639 wxComboBox *arg1 = (wxComboBox *) 0 ;
4640 long result;
4641 PyObject * obj0 = 0 ;
4642 char *kwnames[] = {
4643 (char *) "self", NULL
4644 };
4645
4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4648 if (SWIG_arg_fail(1)) SWIG_fail;
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4652
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 {
4657 resultobj = SWIG_From_long((long)(result));
4658 }
4659 return resultobj;
4660 fail:
4661 return NULL;
4662 }
4663
4664
4665 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj;
4667 wxComboBox *arg1 = (wxComboBox *) 0 ;
4668 long arg2 ;
4669 long arg3 ;
4670 wxString *arg4 = 0 ;
4671 bool temp4 = false ;
4672 PyObject * obj0 = 0 ;
4673 PyObject * obj1 = 0 ;
4674 PyObject * obj2 = 0 ;
4675 PyObject * obj3 = 0 ;
4676 char *kwnames[] = {
4677 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4678 };
4679
4680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4682 if (SWIG_arg_fail(1)) SWIG_fail;
4683 {
4684 arg2 = (long)(SWIG_As_long(obj1));
4685 if (SWIG_arg_fail(2)) SWIG_fail;
4686 }
4687 {
4688 arg3 = (long)(SWIG_As_long(obj2));
4689 if (SWIG_arg_fail(3)) SWIG_fail;
4690 }
4691 {
4692 arg4 = wxString_in_helper(obj3);
4693 if (arg4 == NULL) SWIG_fail;
4694 temp4 = true;
4695 }
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 Py_INCREF(Py_None); resultobj = Py_None;
4704 {
4705 if (temp4)
4706 delete arg4;
4707 }
4708 return resultobj;
4709 fail:
4710 {
4711 if (temp4)
4712 delete arg4;
4713 }
4714 return NULL;
4715 }
4716
4717
4718 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4719 PyObject *resultobj;
4720 wxComboBox *arg1 = (wxComboBox *) 0 ;
4721 int arg2 ;
4722 PyObject * obj0 = 0 ;
4723 PyObject * obj1 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self",(char *) "n", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail;
4731 {
4732 arg2 = (int)(SWIG_As_int(obj1));
4733 if (SWIG_arg_fail(2)) SWIG_fail;
4734 }
4735 {
4736 PyThreadState* __tstate = wxPyBeginAllowThreads();
4737 (arg1)->SetSelection(arg2);
4738
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 Py_INCREF(Py_None); resultobj = Py_None;
4743 return resultobj;
4744 fail:
4745 return NULL;
4746 }
4747
4748
4749 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4750 PyObject *resultobj;
4751 wxComboBox *arg1 = (wxComboBox *) 0 ;
4752 long arg2 ;
4753 long arg3 ;
4754 PyObject * obj0 = 0 ;
4755 PyObject * obj1 = 0 ;
4756 PyObject * obj2 = 0 ;
4757 char *kwnames[] = {
4758 (char *) "self",(char *) "from",(char *) "to", NULL
4759 };
4760
4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4763 if (SWIG_arg_fail(1)) SWIG_fail;
4764 {
4765 arg2 = (long)(SWIG_As_long(obj1));
4766 if (SWIG_arg_fail(2)) SWIG_fail;
4767 }
4768 {
4769 arg3 = (long)(SWIG_As_long(obj2));
4770 if (SWIG_arg_fail(3)) SWIG_fail;
4771 }
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 (arg1)->SetSelection(arg2,arg3);
4775
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 Py_INCREF(Py_None); resultobj = Py_None;
4780 return resultobj;
4781 fail:
4782 return NULL;
4783 }
4784
4785
4786 static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4787 PyObject *resultobj;
4788 wxComboBox *arg1 = (wxComboBox *) 0 ;
4789 long *arg2 = (long *) 0 ;
4790 long *arg3 = (long *) 0 ;
4791 long temp2 ;
4792 int res2 = 0 ;
4793 long temp3 ;
4794 int res3 = 0 ;
4795 PyObject * obj0 = 0 ;
4796 char *kwnames[] = {
4797 (char *) "self", NULL
4798 };
4799
4800 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4801 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
4803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4804 if (SWIG_arg_fail(1)) SWIG_fail;
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 (arg1)->GetSelection(arg2,arg3);
4808
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 Py_INCREF(Py_None); resultobj = Py_None;
4813 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4814 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4815 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4816 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4817 return resultobj;
4818 fail:
4819 return NULL;
4820 }
4821
4822
4823 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4824 PyObject *resultobj;
4825 wxComboBox *arg1 = (wxComboBox *) 0 ;
4826 wxString *arg2 = 0 ;
4827 bool result;
4828 bool temp2 = false ;
4829 PyObject * obj0 = 0 ;
4830 PyObject * obj1 = 0 ;
4831 char *kwnames[] = {
4832 (char *) "self",(char *) "string", NULL
4833 };
4834
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4837 if (SWIG_arg_fail(1)) SWIG_fail;
4838 {
4839 arg2 = wxString_in_helper(obj1);
4840 if (arg2 == NULL) SWIG_fail;
4841 temp2 = true;
4842 }
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 {
4851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4852 }
4853 {
4854 if (temp2)
4855 delete arg2;
4856 }
4857 return resultobj;
4858 fail:
4859 {
4860 if (temp2)
4861 delete arg2;
4862 }
4863 return NULL;
4864 }
4865
4866
4867 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4868 PyObject *resultobj;
4869 wxComboBox *arg1 = (wxComboBox *) 0 ;
4870 int arg2 ;
4871 wxString *arg3 = 0 ;
4872 bool temp3 = false ;
4873 PyObject * obj0 = 0 ;
4874 PyObject * obj1 = 0 ;
4875 PyObject * obj2 = 0 ;
4876 char *kwnames[] = {
4877 (char *) "self",(char *) "n",(char *) "string", NULL
4878 };
4879
4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4882 if (SWIG_arg_fail(1)) SWIG_fail;
4883 {
4884 arg2 = (int)(SWIG_As_int(obj1));
4885 if (SWIG_arg_fail(2)) SWIG_fail;
4886 }
4887 {
4888 arg3 = wxString_in_helper(obj2);
4889 if (arg3 == NULL) SWIG_fail;
4890 temp3 = true;
4891 }
4892 {
4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
4894 (arg1)->SetString(arg2,(wxString const &)*arg3);
4895
4896 wxPyEndAllowThreads(__tstate);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 }
4899 Py_INCREF(Py_None); resultobj = Py_None;
4900 {
4901 if (temp3)
4902 delete arg3;
4903 }
4904 return resultobj;
4905 fail:
4906 {
4907 if (temp3)
4908 delete arg3;
4909 }
4910 return NULL;
4911 }
4912
4913
4914 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4915 PyObject *resultobj;
4916 wxComboBox *arg1 = (wxComboBox *) 0 ;
4917 bool arg2 ;
4918 PyObject * obj0 = 0 ;
4919 PyObject * obj1 = 0 ;
4920 char *kwnames[] = {
4921 (char *) "self",(char *) "editable", NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
4925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4926 if (SWIG_arg_fail(1)) SWIG_fail;
4927 {
4928 arg2 = (bool)(SWIG_As_bool(obj1));
4929 if (SWIG_arg_fail(2)) SWIG_fail;
4930 }
4931 {
4932 PyThreadState* __tstate = wxPyBeginAllowThreads();
4933 (arg1)->SetEditable(arg2);
4934
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
4938 Py_INCREF(Py_None); resultobj = Py_None;
4939 return resultobj;
4940 fail:
4941 return NULL;
4942 }
4943
4944
4945 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
4946 PyObject *resultobj;
4947 wxComboBox *arg1 = (wxComboBox *) 0 ;
4948 PyObject * obj0 = 0 ;
4949 char *kwnames[] = {
4950 (char *) "self", NULL
4951 };
4952
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
4954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4955 if (SWIG_arg_fail(1)) SWIG_fail;
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 (arg1)->SetInsertionPointEnd();
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 Py_INCREF(Py_None); resultobj = Py_None;
4964 return resultobj;
4965 fail:
4966 return NULL;
4967 }
4968
4969
4970 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj;
4972 wxComboBox *arg1 = (wxComboBox *) 0 ;
4973 long arg2 ;
4974 long arg3 ;
4975 PyObject * obj0 = 0 ;
4976 PyObject * obj1 = 0 ;
4977 PyObject * obj2 = 0 ;
4978 char *kwnames[] = {
4979 (char *) "self",(char *) "from",(char *) "to", NULL
4980 };
4981
4982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
4983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4984 if (SWIG_arg_fail(1)) SWIG_fail;
4985 {
4986 arg2 = (long)(SWIG_As_long(obj1));
4987 if (SWIG_arg_fail(2)) SWIG_fail;
4988 }
4989 {
4990 arg3 = (long)(SWIG_As_long(obj2));
4991 if (SWIG_arg_fail(3)) SWIG_fail;
4992 }
4993 {
4994 PyThreadState* __tstate = wxPyBeginAllowThreads();
4995 (arg1)->Remove(arg2,arg3);
4996
4997 wxPyEndAllowThreads(__tstate);
4998 if (PyErr_Occurred()) SWIG_fail;
4999 }
5000 Py_INCREF(Py_None); resultobj = Py_None;
5001 return resultobj;
5002 fail:
5003 return NULL;
5004 }
5005
5006
5007 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5008 PyObject *resultobj;
5009 wxComboBox *arg1 = (wxComboBox *) 0 ;
5010 bool result;
5011 PyObject * obj0 = 0 ;
5012 char *kwnames[] = {
5013 (char *) "self", NULL
5014 };
5015
5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail;
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5022
5023 wxPyEndAllowThreads(__tstate);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 }
5026 {
5027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5028 }
5029 return resultobj;
5030 fail:
5031 return NULL;
5032 }
5033
5034
5035 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5036 PyObject *resultobj;
5037 wxComboBox *arg1 = (wxComboBox *) 0 ;
5038 PyObject * obj0 = 0 ;
5039 char *kwnames[] = {
5040 (char *) "self", NULL
5041 };
5042
5043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5045 if (SWIG_arg_fail(1)) SWIG_fail;
5046 {
5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5048 (arg1)->Undo();
5049
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 Py_INCREF(Py_None); resultobj = Py_None;
5054 return resultobj;
5055 fail:
5056 return NULL;
5057 }
5058
5059
5060 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj;
5062 wxComboBox *arg1 = (wxComboBox *) 0 ;
5063 PyObject * obj0 = 0 ;
5064 char *kwnames[] = {
5065 (char *) "self", NULL
5066 };
5067
5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5070 if (SWIG_arg_fail(1)) SWIG_fail;
5071 {
5072 PyThreadState* __tstate = wxPyBeginAllowThreads();
5073 (arg1)->Redo();
5074
5075 wxPyEndAllowThreads(__tstate);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 Py_INCREF(Py_None); resultobj = Py_None;
5079 return resultobj;
5080 fail:
5081 return NULL;
5082 }
5083
5084
5085 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5086 PyObject *resultobj;
5087 wxComboBox *arg1 = (wxComboBox *) 0 ;
5088 PyObject * obj0 = 0 ;
5089 char *kwnames[] = {
5090 (char *) "self", NULL
5091 };
5092
5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5095 if (SWIG_arg_fail(1)) SWIG_fail;
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 (arg1)->SelectAll();
5099
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 Py_INCREF(Py_None); resultobj = Py_None;
5104 return resultobj;
5105 fail:
5106 return NULL;
5107 }
5108
5109
5110 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5111 PyObject *resultobj;
5112 wxComboBox *arg1 = (wxComboBox *) 0 ;
5113 bool result;
5114 PyObject * obj0 = 0 ;
5115 char *kwnames[] = {
5116 (char *) "self", NULL
5117 };
5118
5119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5121 if (SWIG_arg_fail(1)) SWIG_fail;
5122 {
5123 PyThreadState* __tstate = wxPyBeginAllowThreads();
5124 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5125
5126 wxPyEndAllowThreads(__tstate);
5127 if (PyErr_Occurred()) SWIG_fail;
5128 }
5129 {
5130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5131 }
5132 return resultobj;
5133 fail:
5134 return NULL;
5135 }
5136
5137
5138 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5139 PyObject *resultobj;
5140 wxComboBox *arg1 = (wxComboBox *) 0 ;
5141 bool result;
5142 PyObject * obj0 = 0 ;
5143 char *kwnames[] = {
5144 (char *) "self", NULL
5145 };
5146
5147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5149 if (SWIG_arg_fail(1)) SWIG_fail;
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 result = (bool)((wxComboBox const *)arg1)->CanCut();
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 {
5158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5159 }
5160 return resultobj;
5161 fail:
5162 return NULL;
5163 }
5164
5165
5166 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5167 PyObject *resultobj;
5168 wxComboBox *arg1 = (wxComboBox *) 0 ;
5169 bool result;
5170 PyObject * obj0 = 0 ;
5171 char *kwnames[] = {
5172 (char *) "self", NULL
5173 };
5174
5175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5177 if (SWIG_arg_fail(1)) SWIG_fail;
5178 {
5179 PyThreadState* __tstate = wxPyBeginAllowThreads();
5180 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5181
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
5185 {
5186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5187 }
5188 return resultobj;
5189 fail:
5190 return NULL;
5191 }
5192
5193
5194 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5195 PyObject *resultobj;
5196 wxComboBox *arg1 = (wxComboBox *) 0 ;
5197 bool result;
5198 PyObject * obj0 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5205 if (SWIG_arg_fail(1)) SWIG_fail;
5206 {
5207 PyThreadState* __tstate = wxPyBeginAllowThreads();
5208 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5209
5210 wxPyEndAllowThreads(__tstate);
5211 if (PyErr_Occurred()) SWIG_fail;
5212 }
5213 {
5214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5215 }
5216 return resultobj;
5217 fail:
5218 return NULL;
5219 }
5220
5221
5222 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5223 PyObject *resultobj;
5224 wxComboBox *arg1 = (wxComboBox *) 0 ;
5225 bool result;
5226 PyObject * obj0 = 0 ;
5227 char *kwnames[] = {
5228 (char *) "self", NULL
5229 };
5230
5231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5233 if (SWIG_arg_fail(1)) SWIG_fail;
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 {
5242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5243 }
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj;
5252 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5253 wxVisualAttributes result;
5254 PyObject * obj0 = 0 ;
5255 char *kwnames[] = {
5256 (char *) "variant", NULL
5257 };
5258
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5260 if (obj0) {
5261 {
5262 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5263 if (SWIG_arg_fail(1)) SWIG_fail;
5264 }
5265 }
5266 {
5267 if (!wxPyCheckForApp()) SWIG_fail;
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 {
5275 wxVisualAttributes * resultptr;
5276 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5277 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5278 }
5279 return resultobj;
5280 fail:
5281 return NULL;
5282 }
5283
5284
5285 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5286 PyObject *obj;
5287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5288 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5289 Py_INCREF(obj);
5290 return Py_BuildValue((char *)"");
5291 }
5292 static int _wrap_GaugeNameStr_set(PyObject *) {
5293 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5294 return 1;
5295 }
5296
5297
5298 static PyObject *_wrap_GaugeNameStr_get(void) {
5299 PyObject *pyobj;
5300
5301 {
5302 #if wxUSE_UNICODE
5303 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5304 #else
5305 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5306 #endif
5307 }
5308 return pyobj;
5309 }
5310
5311
5312 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5313 PyObject *resultobj;
5314 wxWindow *arg1 = (wxWindow *) 0 ;
5315 int arg2 = (int) -1 ;
5316 int arg3 = (int) 100 ;
5317 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5318 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5319 wxSize const &arg5_defvalue = wxDefaultSize ;
5320 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5321 long arg6 = (long) wxGA_HORIZONTAL ;
5322 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5323 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5324 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5325 wxString *arg8 = (wxString *) &arg8_defvalue ;
5326 wxGauge *result;
5327 wxPoint temp4 ;
5328 wxSize temp5 ;
5329 bool temp8 = false ;
5330 PyObject * obj0 = 0 ;
5331 PyObject * obj1 = 0 ;
5332 PyObject * obj2 = 0 ;
5333 PyObject * obj3 = 0 ;
5334 PyObject * obj4 = 0 ;
5335 PyObject * obj5 = 0 ;
5336 PyObject * obj6 = 0 ;
5337 PyObject * obj7 = 0 ;
5338 char *kwnames[] = {
5339 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5340 };
5341
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5344 if (SWIG_arg_fail(1)) SWIG_fail;
5345 if (obj1) {
5346 {
5347 arg2 = (int)(SWIG_As_int(obj1));
5348 if (SWIG_arg_fail(2)) SWIG_fail;
5349 }
5350 }
5351 if (obj2) {
5352 {
5353 arg3 = (int)(SWIG_As_int(obj2));
5354 if (SWIG_arg_fail(3)) SWIG_fail;
5355 }
5356 }
5357 if (obj3) {
5358 {
5359 arg4 = &temp4;
5360 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5361 }
5362 }
5363 if (obj4) {
5364 {
5365 arg5 = &temp5;
5366 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5367 }
5368 }
5369 if (obj5) {
5370 {
5371 arg6 = (long)(SWIG_As_long(obj5));
5372 if (SWIG_arg_fail(6)) SWIG_fail;
5373 }
5374 }
5375 if (obj6) {
5376 {
5377 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5378 if (SWIG_arg_fail(7)) SWIG_fail;
5379 if (arg7 == NULL) {
5380 SWIG_null_ref("wxValidator");
5381 }
5382 if (SWIG_arg_fail(7)) SWIG_fail;
5383 }
5384 }
5385 if (obj7) {
5386 {
5387 arg8 = wxString_in_helper(obj7);
5388 if (arg8 == NULL) SWIG_fail;
5389 temp8 = true;
5390 }
5391 }
5392 {
5393 if (!wxPyCheckForApp()) SWIG_fail;
5394 PyThreadState* __tstate = wxPyBeginAllowThreads();
5395 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5396
5397 wxPyEndAllowThreads(__tstate);
5398 if (PyErr_Occurred()) SWIG_fail;
5399 }
5400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5401 {
5402 if (temp8)
5403 delete arg8;
5404 }
5405 return resultobj;
5406 fail:
5407 {
5408 if (temp8)
5409 delete arg8;
5410 }
5411 return NULL;
5412 }
5413
5414
5415 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5416 PyObject *resultobj;
5417 wxGauge *result;
5418 char *kwnames[] = {
5419 NULL
5420 };
5421
5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5423 {
5424 if (!wxPyCheckForApp()) SWIG_fail;
5425 PyThreadState* __tstate = wxPyBeginAllowThreads();
5426 result = (wxGauge *)new wxGauge();
5427
5428 wxPyEndAllowThreads(__tstate);
5429 if (PyErr_Occurred()) SWIG_fail;
5430 }
5431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5432 return resultobj;
5433 fail:
5434 return NULL;
5435 }
5436
5437
5438 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj;
5440 wxGauge *arg1 = (wxGauge *) 0 ;
5441 wxWindow *arg2 = (wxWindow *) 0 ;
5442 int arg3 = (int) -1 ;
5443 int arg4 = (int) 100 ;
5444 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5445 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5446 wxSize const &arg6_defvalue = wxDefaultSize ;
5447 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5448 long arg7 = (long) wxGA_HORIZONTAL ;
5449 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5450 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5451 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5452 wxString *arg9 = (wxString *) &arg9_defvalue ;
5453 bool result;
5454 wxPoint temp5 ;
5455 wxSize temp6 ;
5456 bool temp9 = false ;
5457 PyObject * obj0 = 0 ;
5458 PyObject * obj1 = 0 ;
5459 PyObject * obj2 = 0 ;
5460 PyObject * obj3 = 0 ;
5461 PyObject * obj4 = 0 ;
5462 PyObject * obj5 = 0 ;
5463 PyObject * obj6 = 0 ;
5464 PyObject * obj7 = 0 ;
5465 PyObject * obj8 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5472 if (SWIG_arg_fail(1)) SWIG_fail;
5473 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5474 if (SWIG_arg_fail(2)) SWIG_fail;
5475 if (obj2) {
5476 {
5477 arg3 = (int)(SWIG_As_int(obj2));
5478 if (SWIG_arg_fail(3)) SWIG_fail;
5479 }
5480 }
5481 if (obj3) {
5482 {
5483 arg4 = (int)(SWIG_As_int(obj3));
5484 if (SWIG_arg_fail(4)) SWIG_fail;
5485 }
5486 }
5487 if (obj4) {
5488 {
5489 arg5 = &temp5;
5490 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5491 }
5492 }
5493 if (obj5) {
5494 {
5495 arg6 = &temp6;
5496 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5497 }
5498 }
5499 if (obj6) {
5500 {
5501 arg7 = (long)(SWIG_As_long(obj6));
5502 if (SWIG_arg_fail(7)) SWIG_fail;
5503 }
5504 }
5505 if (obj7) {
5506 {
5507 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5508 if (SWIG_arg_fail(8)) SWIG_fail;
5509 if (arg8 == NULL) {
5510 SWIG_null_ref("wxValidator");
5511 }
5512 if (SWIG_arg_fail(8)) SWIG_fail;
5513 }
5514 }
5515 if (obj8) {
5516 {
5517 arg9 = wxString_in_helper(obj8);
5518 if (arg9 == NULL) SWIG_fail;
5519 temp9 = true;
5520 }
5521 }
5522 {
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5525
5526 wxPyEndAllowThreads(__tstate);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 }
5529 {
5530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5531 }
5532 {
5533 if (temp9)
5534 delete arg9;
5535 }
5536 return resultobj;
5537 fail:
5538 {
5539 if (temp9)
5540 delete arg9;
5541 }
5542 return NULL;
5543 }
5544
5545
5546 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5547 PyObject *resultobj;
5548 wxGauge *arg1 = (wxGauge *) 0 ;
5549 int arg2 ;
5550 PyObject * obj0 = 0 ;
5551 PyObject * obj1 = 0 ;
5552 char *kwnames[] = {
5553 (char *) "self",(char *) "range", NULL
5554 };
5555
5556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5558 if (SWIG_arg_fail(1)) SWIG_fail;
5559 {
5560 arg2 = (int)(SWIG_As_int(obj1));
5561 if (SWIG_arg_fail(2)) SWIG_fail;
5562 }
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 (arg1)->SetRange(arg2);
5566
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 Py_INCREF(Py_None); resultobj = Py_None;
5571 return resultobj;
5572 fail:
5573 return NULL;
5574 }
5575
5576
5577 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5578 PyObject *resultobj;
5579 wxGauge *arg1 = (wxGauge *) 0 ;
5580 int result;
5581 PyObject * obj0 = 0 ;
5582 char *kwnames[] = {
5583 (char *) "self", NULL
5584 };
5585
5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5588 if (SWIG_arg_fail(1)) SWIG_fail;
5589 {
5590 PyThreadState* __tstate = wxPyBeginAllowThreads();
5591 result = (int)((wxGauge const *)arg1)->GetRange();
5592
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
5596 {
5597 resultobj = SWIG_From_int((int)(result));
5598 }
5599 return resultobj;
5600 fail:
5601 return NULL;
5602 }
5603
5604
5605 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5606 PyObject *resultobj;
5607 wxGauge *arg1 = (wxGauge *) 0 ;
5608 int arg2 ;
5609 PyObject * obj0 = 0 ;
5610 PyObject * obj1 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self",(char *) "pos", NULL
5613 };
5614
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5617 if (SWIG_arg_fail(1)) SWIG_fail;
5618 {
5619 arg2 = (int)(SWIG_As_int(obj1));
5620 if (SWIG_arg_fail(2)) SWIG_fail;
5621 }
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 (arg1)->SetValue(arg2);
5625
5626 wxPyEndAllowThreads(__tstate);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
5629 Py_INCREF(Py_None); resultobj = Py_None;
5630 return resultobj;
5631 fail:
5632 return NULL;
5633 }
5634
5635
5636 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5637 PyObject *resultobj;
5638 wxGauge *arg1 = (wxGauge *) 0 ;
5639 int result;
5640 PyObject * obj0 = 0 ;
5641 char *kwnames[] = {
5642 (char *) "self", NULL
5643 };
5644
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5647 if (SWIG_arg_fail(1)) SWIG_fail;
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 result = (int)((wxGauge const *)arg1)->GetValue();
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 {
5656 resultobj = SWIG_From_int((int)(result));
5657 }
5658 return resultobj;
5659 fail:
5660 return NULL;
5661 }
5662
5663
5664 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5665 PyObject *resultobj;
5666 wxGauge *arg1 = (wxGauge *) 0 ;
5667 bool result;
5668 PyObject * obj0 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "self", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5675 if (SWIG_arg_fail(1)) SWIG_fail;
5676 {
5677 PyThreadState* __tstate = wxPyBeginAllowThreads();
5678 result = (bool)((wxGauge const *)arg1)->IsVertical();
5679
5680 wxPyEndAllowThreads(__tstate);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 {
5684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5685 }
5686 return resultobj;
5687 fail:
5688 return NULL;
5689 }
5690
5691
5692 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5693 PyObject *resultobj;
5694 wxGauge *arg1 = (wxGauge *) 0 ;
5695 int arg2 ;
5696 PyObject * obj0 = 0 ;
5697 PyObject * obj1 = 0 ;
5698 char *kwnames[] = {
5699 (char *) "self",(char *) "w", NULL
5700 };
5701
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5704 if (SWIG_arg_fail(1)) SWIG_fail;
5705 {
5706 arg2 = (int)(SWIG_As_int(obj1));
5707 if (SWIG_arg_fail(2)) SWIG_fail;
5708 }
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 (arg1)->SetShadowWidth(arg2);
5712
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 Py_INCREF(Py_None); resultobj = Py_None;
5717 return resultobj;
5718 fail:
5719 return NULL;
5720 }
5721
5722
5723 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5724 PyObject *resultobj;
5725 wxGauge *arg1 = (wxGauge *) 0 ;
5726 int result;
5727 PyObject * obj0 = 0 ;
5728 char *kwnames[] = {
5729 (char *) "self", NULL
5730 };
5731
5732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5734 if (SWIG_arg_fail(1)) SWIG_fail;
5735 {
5736 PyThreadState* __tstate = wxPyBeginAllowThreads();
5737 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5738
5739 wxPyEndAllowThreads(__tstate);
5740 if (PyErr_Occurred()) SWIG_fail;
5741 }
5742 {
5743 resultobj = SWIG_From_int((int)(result));
5744 }
5745 return resultobj;
5746 fail:
5747 return NULL;
5748 }
5749
5750
5751 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5752 PyObject *resultobj;
5753 wxGauge *arg1 = (wxGauge *) 0 ;
5754 int arg2 ;
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self",(char *) "w", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5763 if (SWIG_arg_fail(1)) SWIG_fail;
5764 {
5765 arg2 = (int)(SWIG_As_int(obj1));
5766 if (SWIG_arg_fail(2)) SWIG_fail;
5767 }
5768 {
5769 PyThreadState* __tstate = wxPyBeginAllowThreads();
5770 (arg1)->SetBezelFace(arg2);
5771
5772 wxPyEndAllowThreads(__tstate);
5773 if (PyErr_Occurred()) SWIG_fail;
5774 }
5775 Py_INCREF(Py_None); resultobj = Py_None;
5776 return resultobj;
5777 fail:
5778 return NULL;
5779 }
5780
5781
5782 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5783 PyObject *resultobj;
5784 wxGauge *arg1 = (wxGauge *) 0 ;
5785 int result;
5786 PyObject * obj0 = 0 ;
5787 char *kwnames[] = {
5788 (char *) "self", NULL
5789 };
5790
5791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5793 if (SWIG_arg_fail(1)) SWIG_fail;
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 }
5801 {
5802 resultobj = SWIG_From_int((int)(result));
5803 }
5804 return resultobj;
5805 fail:
5806 return NULL;
5807 }
5808
5809
5810 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5811 PyObject *resultobj;
5812 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5813 wxVisualAttributes result;
5814 PyObject * obj0 = 0 ;
5815 char *kwnames[] = {
5816 (char *) "variant", NULL
5817 };
5818
5819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5820 if (obj0) {
5821 {
5822 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5823 if (SWIG_arg_fail(1)) SWIG_fail;
5824 }
5825 }
5826 {
5827 if (!wxPyCheckForApp()) SWIG_fail;
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5830
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
5834 {
5835 wxVisualAttributes * resultptr;
5836 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5838 }
5839 return resultobj;
5840 fail:
5841 return NULL;
5842 }
5843
5844
5845 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
5846 PyObject *obj;
5847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5848 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5849 Py_INCREF(obj);
5850 return Py_BuildValue((char *)"");
5851 }
5852 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
5853 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5854 return 1;
5855 }
5856
5857
5858 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
5859 PyObject *pyobj;
5860
5861 {
5862 #if wxUSE_UNICODE
5863 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5864 #else
5865 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5866 #endif
5867 }
5868 return pyobj;
5869 }
5870
5871
5872 static int _wrap_StaticBoxNameStr_set(PyObject *) {
5873 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5874 return 1;
5875 }
5876
5877
5878 static PyObject *_wrap_StaticBoxNameStr_get(void) {
5879 PyObject *pyobj;
5880
5881 {
5882 #if wxUSE_UNICODE
5883 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5884 #else
5885 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5886 #endif
5887 }
5888 return pyobj;
5889 }
5890
5891
5892 static int _wrap_StaticTextNameStr_set(PyObject *) {
5893 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5894 return 1;
5895 }
5896
5897
5898 static PyObject *_wrap_StaticTextNameStr_get(void) {
5899 PyObject *pyobj;
5900
5901 {
5902 #if wxUSE_UNICODE
5903 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5904 #else
5905 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5906 #endif
5907 }
5908 return pyobj;
5909 }
5910
5911
5912 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj;
5914 wxWindow *arg1 = (wxWindow *) 0 ;
5915 int arg2 = (int) -1 ;
5916 wxString const &arg3_defvalue = wxPyEmptyString ;
5917 wxString *arg3 = (wxString *) &arg3_defvalue ;
5918 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5919 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5920 wxSize const &arg5_defvalue = wxDefaultSize ;
5921 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5922 long arg6 = (long) 0 ;
5923 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5924 wxString *arg7 = (wxString *) &arg7_defvalue ;
5925 wxStaticBox *result;
5926 bool temp3 = false ;
5927 wxPoint temp4 ;
5928 wxSize temp5 ;
5929 bool temp7 = false ;
5930 PyObject * obj0 = 0 ;
5931 PyObject * obj1 = 0 ;
5932 PyObject * obj2 = 0 ;
5933 PyObject * obj3 = 0 ;
5934 PyObject * obj4 = 0 ;
5935 PyObject * obj5 = 0 ;
5936 PyObject * obj6 = 0 ;
5937 char *kwnames[] = {
5938 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5939 };
5940
5941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5943 if (SWIG_arg_fail(1)) SWIG_fail;
5944 if (obj1) {
5945 {
5946 arg2 = (int)(SWIG_As_int(obj1));
5947 if (SWIG_arg_fail(2)) SWIG_fail;
5948 }
5949 }
5950 if (obj2) {
5951 {
5952 arg3 = wxString_in_helper(obj2);
5953 if (arg3 == NULL) SWIG_fail;
5954 temp3 = true;
5955 }
5956 }
5957 if (obj3) {
5958 {
5959 arg4 = &temp4;
5960 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5961 }
5962 }
5963 if (obj4) {
5964 {
5965 arg5 = &temp5;
5966 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5967 }
5968 }
5969 if (obj5) {
5970 {
5971 arg6 = (long)(SWIG_As_long(obj5));
5972 if (SWIG_arg_fail(6)) SWIG_fail;
5973 }
5974 }
5975 if (obj6) {
5976 {
5977 arg7 = wxString_in_helper(obj6);
5978 if (arg7 == NULL) SWIG_fail;
5979 temp7 = true;
5980 }
5981 }
5982 {
5983 if (!wxPyCheckForApp()) SWIG_fail;
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
5985 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5986
5987 wxPyEndAllowThreads(__tstate);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 }
5990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
5991 {
5992 if (temp3)
5993 delete arg3;
5994 }
5995 {
5996 if (temp7)
5997 delete arg7;
5998 }
5999 return resultobj;
6000 fail:
6001 {
6002 if (temp3)
6003 delete arg3;
6004 }
6005 {
6006 if (temp7)
6007 delete arg7;
6008 }
6009 return NULL;
6010 }
6011
6012
6013 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6014 PyObject *resultobj;
6015 wxStaticBox *result;
6016 char *kwnames[] = {
6017 NULL
6018 };
6019
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6021 {
6022 if (!wxPyCheckForApp()) SWIG_fail;
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = (wxStaticBox *)new wxStaticBox();
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6039 wxWindow *arg2 = (wxWindow *) 0 ;
6040 int arg3 = (int) -1 ;
6041 wxString const &arg4_defvalue = wxPyEmptyString ;
6042 wxString *arg4 = (wxString *) &arg4_defvalue ;
6043 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6044 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6045 wxSize const &arg6_defvalue = wxDefaultSize ;
6046 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6047 long arg7 = (long) 0 ;
6048 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6049 wxString *arg8 = (wxString *) &arg8_defvalue ;
6050 bool result;
6051 bool temp4 = false ;
6052 wxPoint temp5 ;
6053 wxSize temp6 ;
6054 bool temp8 = false ;
6055 PyObject * obj0 = 0 ;
6056 PyObject * obj1 = 0 ;
6057 PyObject * obj2 = 0 ;
6058 PyObject * obj3 = 0 ;
6059 PyObject * obj4 = 0 ;
6060 PyObject * obj5 = 0 ;
6061 PyObject * obj6 = 0 ;
6062 PyObject * obj7 = 0 ;
6063 char *kwnames[] = {
6064 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6065 };
6066
6067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6069 if (SWIG_arg_fail(1)) SWIG_fail;
6070 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6071 if (SWIG_arg_fail(2)) SWIG_fail;
6072 if (obj2) {
6073 {
6074 arg3 = (int)(SWIG_As_int(obj2));
6075 if (SWIG_arg_fail(3)) SWIG_fail;
6076 }
6077 }
6078 if (obj3) {
6079 {
6080 arg4 = wxString_in_helper(obj3);
6081 if (arg4 == NULL) SWIG_fail;
6082 temp4 = true;
6083 }
6084 }
6085 if (obj4) {
6086 {
6087 arg5 = &temp5;
6088 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6089 }
6090 }
6091 if (obj5) {
6092 {
6093 arg6 = &temp6;
6094 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6095 }
6096 }
6097 if (obj6) {
6098 {
6099 arg7 = (long)(SWIG_As_long(obj6));
6100 if (SWIG_arg_fail(7)) SWIG_fail;
6101 }
6102 }
6103 if (obj7) {
6104 {
6105 arg8 = wxString_in_helper(obj7);
6106 if (arg8 == NULL) SWIG_fail;
6107 temp8 = true;
6108 }
6109 }
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) SWIG_fail;
6116 }
6117 {
6118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6119 }
6120 {
6121 if (temp4)
6122 delete arg4;
6123 }
6124 {
6125 if (temp8)
6126 delete arg8;
6127 }
6128 return resultobj;
6129 fail:
6130 {
6131 if (temp4)
6132 delete arg4;
6133 }
6134 {
6135 if (temp8)
6136 delete arg8;
6137 }
6138 return NULL;
6139 }
6140
6141
6142 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6143 PyObject *resultobj;
6144 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6145 wxVisualAttributes result;
6146 PyObject * obj0 = 0 ;
6147 char *kwnames[] = {
6148 (char *) "variant", NULL
6149 };
6150
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6152 if (obj0) {
6153 {
6154 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6155 if (SWIG_arg_fail(1)) SWIG_fail;
6156 }
6157 }
6158 {
6159 if (!wxPyCheckForApp()) SWIG_fail;
6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
6161 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6162
6163 wxPyEndAllowThreads(__tstate);
6164 if (PyErr_Occurred()) SWIG_fail;
6165 }
6166 {
6167 wxVisualAttributes * resultptr;
6168 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6170 }
6171 return resultobj;
6172 fail:
6173 return NULL;
6174 }
6175
6176
6177 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6178 PyObject *obj;
6179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6180 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6181 Py_INCREF(obj);
6182 return Py_BuildValue((char *)"");
6183 }
6184 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6185 PyObject *resultobj;
6186 wxWindow *arg1 = (wxWindow *) 0 ;
6187 int arg2 = (int) -1 ;
6188 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6189 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6190 wxSize const &arg4_defvalue = wxDefaultSize ;
6191 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6192 long arg5 = (long) wxLI_HORIZONTAL ;
6193 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6194 wxString *arg6 = (wxString *) &arg6_defvalue ;
6195 wxStaticLine *result;
6196 wxPoint temp3 ;
6197 wxSize temp4 ;
6198 bool temp6 = false ;
6199 PyObject * obj0 = 0 ;
6200 PyObject * obj1 = 0 ;
6201 PyObject * obj2 = 0 ;
6202 PyObject * obj3 = 0 ;
6203 PyObject * obj4 = 0 ;
6204 PyObject * obj5 = 0 ;
6205 char *kwnames[] = {
6206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6207 };
6208
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6211 if (SWIG_arg_fail(1)) SWIG_fail;
6212 if (obj1) {
6213 {
6214 arg2 = (int)(SWIG_As_int(obj1));
6215 if (SWIG_arg_fail(2)) SWIG_fail;
6216 }
6217 }
6218 if (obj2) {
6219 {
6220 arg3 = &temp3;
6221 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6222 }
6223 }
6224 if (obj3) {
6225 {
6226 arg4 = &temp4;
6227 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6228 }
6229 }
6230 if (obj4) {
6231 {
6232 arg5 = (long)(SWIG_As_long(obj4));
6233 if (SWIG_arg_fail(5)) SWIG_fail;
6234 }
6235 }
6236 if (obj5) {
6237 {
6238 arg6 = wxString_in_helper(obj5);
6239 if (arg6 == NULL) SWIG_fail;
6240 temp6 = true;
6241 }
6242 }
6243 {
6244 if (!wxPyCheckForApp()) SWIG_fail;
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6252 {
6253 if (temp6)
6254 delete arg6;
6255 }
6256 return resultobj;
6257 fail:
6258 {
6259 if (temp6)
6260 delete arg6;
6261 }
6262 return NULL;
6263 }
6264
6265
6266 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj;
6268 wxStaticLine *result;
6269 char *kwnames[] = {
6270 NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6274 {
6275 if (!wxPyCheckForApp()) SWIG_fail;
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 result = (wxStaticLine *)new wxStaticLine();
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6283 return resultobj;
6284 fail:
6285 return NULL;
6286 }
6287
6288
6289 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6290 PyObject *resultobj;
6291 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6292 wxWindow *arg2 = (wxWindow *) 0 ;
6293 int arg3 = (int) -1 ;
6294 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6295 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6296 wxSize const &arg5_defvalue = wxDefaultSize ;
6297 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6298 long arg6 = (long) wxLI_HORIZONTAL ;
6299 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6300 wxString *arg7 = (wxString *) &arg7_defvalue ;
6301 bool result;
6302 wxPoint temp4 ;
6303 wxSize temp5 ;
6304 bool temp7 = false ;
6305 PyObject * obj0 = 0 ;
6306 PyObject * obj1 = 0 ;
6307 PyObject * obj2 = 0 ;
6308 PyObject * obj3 = 0 ;
6309 PyObject * obj4 = 0 ;
6310 PyObject * obj5 = 0 ;
6311 PyObject * obj6 = 0 ;
6312 char *kwnames[] = {
6313 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6314 };
6315
6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6318 if (SWIG_arg_fail(1)) SWIG_fail;
6319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6320 if (SWIG_arg_fail(2)) SWIG_fail;
6321 if (obj2) {
6322 {
6323 arg3 = (int)(SWIG_As_int(obj2));
6324 if (SWIG_arg_fail(3)) SWIG_fail;
6325 }
6326 }
6327 if (obj3) {
6328 {
6329 arg4 = &temp4;
6330 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6331 }
6332 }
6333 if (obj4) {
6334 {
6335 arg5 = &temp5;
6336 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6337 }
6338 }
6339 if (obj5) {
6340 {
6341 arg6 = (long)(SWIG_As_long(obj5));
6342 if (SWIG_arg_fail(6)) SWIG_fail;
6343 }
6344 }
6345 if (obj6) {
6346 {
6347 arg7 = wxString_in_helper(obj6);
6348 if (arg7 == NULL) SWIG_fail;
6349 temp7 = true;
6350 }
6351 }
6352 {
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6355
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 {
6360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6361 }
6362 {
6363 if (temp7)
6364 delete arg7;
6365 }
6366 return resultobj;
6367 fail:
6368 {
6369 if (temp7)
6370 delete arg7;
6371 }
6372 return NULL;
6373 }
6374
6375
6376 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj;
6378 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6379 bool result;
6380 PyObject * obj0 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "self", NULL
6383 };
6384
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail;
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 {
6396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6397 }
6398 return resultobj;
6399 fail:
6400 return NULL;
6401 }
6402
6403
6404 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6405 PyObject *resultobj;
6406 int result;
6407 char *kwnames[] = {
6408 NULL
6409 };
6410
6411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 result = (int)wxStaticLine::GetDefaultSize();
6415
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 {
6420 resultobj = SWIG_From_int((int)(result));
6421 }
6422 return resultobj;
6423 fail:
6424 return NULL;
6425 }
6426
6427
6428 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6429 PyObject *resultobj;
6430 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6431 wxVisualAttributes result;
6432 PyObject * obj0 = 0 ;
6433 char *kwnames[] = {
6434 (char *) "variant", NULL
6435 };
6436
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6438 if (obj0) {
6439 {
6440 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6441 if (SWIG_arg_fail(1)) SWIG_fail;
6442 }
6443 }
6444 {
6445 if (!wxPyCheckForApp()) SWIG_fail;
6446 PyThreadState* __tstate = wxPyBeginAllowThreads();
6447 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6448
6449 wxPyEndAllowThreads(__tstate);
6450 if (PyErr_Occurred()) SWIG_fail;
6451 }
6452 {
6453 wxVisualAttributes * resultptr;
6454 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6456 }
6457 return resultobj;
6458 fail:
6459 return NULL;
6460 }
6461
6462
6463 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6464 PyObject *obj;
6465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6466 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6467 Py_INCREF(obj);
6468 return Py_BuildValue((char *)"");
6469 }
6470 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6471 PyObject *resultobj;
6472 wxWindow *arg1 = (wxWindow *) 0 ;
6473 int arg2 = (int) -1 ;
6474 wxString const &arg3_defvalue = wxPyEmptyString ;
6475 wxString *arg3 = (wxString *) &arg3_defvalue ;
6476 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6477 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6478 wxSize const &arg5_defvalue = wxDefaultSize ;
6479 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6480 long arg6 = (long) 0 ;
6481 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6482 wxString *arg7 = (wxString *) &arg7_defvalue ;
6483 wxStaticText *result;
6484 bool temp3 = false ;
6485 wxPoint temp4 ;
6486 wxSize temp5 ;
6487 bool temp7 = false ;
6488 PyObject * obj0 = 0 ;
6489 PyObject * obj1 = 0 ;
6490 PyObject * obj2 = 0 ;
6491 PyObject * obj3 = 0 ;
6492 PyObject * obj4 = 0 ;
6493 PyObject * obj5 = 0 ;
6494 PyObject * obj6 = 0 ;
6495 char *kwnames[] = {
6496 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6497 };
6498
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6501 if (SWIG_arg_fail(1)) SWIG_fail;
6502 if (obj1) {
6503 {
6504 arg2 = (int)(SWIG_As_int(obj1));
6505 if (SWIG_arg_fail(2)) SWIG_fail;
6506 }
6507 }
6508 if (obj2) {
6509 {
6510 arg3 = wxString_in_helper(obj2);
6511 if (arg3 == NULL) SWIG_fail;
6512 temp3 = true;
6513 }
6514 }
6515 if (obj3) {
6516 {
6517 arg4 = &temp4;
6518 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6519 }
6520 }
6521 if (obj4) {
6522 {
6523 arg5 = &temp5;
6524 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6525 }
6526 }
6527 if (obj5) {
6528 {
6529 arg6 = (long)(SWIG_As_long(obj5));
6530 if (SWIG_arg_fail(6)) SWIG_fail;
6531 }
6532 }
6533 if (obj6) {
6534 {
6535 arg7 = wxString_in_helper(obj6);
6536 if (arg7 == NULL) SWIG_fail;
6537 temp7 = true;
6538 }
6539 }
6540 {
6541 if (!wxPyCheckForApp()) SWIG_fail;
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6544
6545 wxPyEndAllowThreads(__tstate);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 }
6548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6549 {
6550 if (temp3)
6551 delete arg3;
6552 }
6553 {
6554 if (temp7)
6555 delete arg7;
6556 }
6557 return resultobj;
6558 fail:
6559 {
6560 if (temp3)
6561 delete arg3;
6562 }
6563 {
6564 if (temp7)
6565 delete arg7;
6566 }
6567 return NULL;
6568 }
6569
6570
6571 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6572 PyObject *resultobj;
6573 wxStaticText *result;
6574 char *kwnames[] = {
6575 NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6579 {
6580 if (!wxPyCheckForApp()) SWIG_fail;
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 result = (wxStaticText *)new wxStaticText();
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6588 return resultobj;
6589 fail:
6590 return NULL;
6591 }
6592
6593
6594 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6595 PyObject *resultobj;
6596 wxStaticText *arg1 = (wxStaticText *) 0 ;
6597 wxWindow *arg2 = (wxWindow *) 0 ;
6598 int arg3 = (int) -1 ;
6599 wxString const &arg4_defvalue = wxPyEmptyString ;
6600 wxString *arg4 = (wxString *) &arg4_defvalue ;
6601 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6602 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6603 wxSize const &arg6_defvalue = wxDefaultSize ;
6604 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6605 long arg7 = (long) 0 ;
6606 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6607 wxString *arg8 = (wxString *) &arg8_defvalue ;
6608 bool result;
6609 bool temp4 = false ;
6610 wxPoint temp5 ;
6611 wxSize temp6 ;
6612 bool temp8 = false ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 PyObject * obj2 = 0 ;
6616 PyObject * obj3 = 0 ;
6617 PyObject * obj4 = 0 ;
6618 PyObject * obj5 = 0 ;
6619 PyObject * obj6 = 0 ;
6620 PyObject * obj7 = 0 ;
6621 char *kwnames[] = {
6622 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6623 };
6624
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6627 if (SWIG_arg_fail(1)) SWIG_fail;
6628 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6629 if (SWIG_arg_fail(2)) SWIG_fail;
6630 if (obj2) {
6631 {
6632 arg3 = (int)(SWIG_As_int(obj2));
6633 if (SWIG_arg_fail(3)) SWIG_fail;
6634 }
6635 }
6636 if (obj3) {
6637 {
6638 arg4 = wxString_in_helper(obj3);
6639 if (arg4 == NULL) SWIG_fail;
6640 temp4 = true;
6641 }
6642 }
6643 if (obj4) {
6644 {
6645 arg5 = &temp5;
6646 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6647 }
6648 }
6649 if (obj5) {
6650 {
6651 arg6 = &temp6;
6652 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6653 }
6654 }
6655 if (obj6) {
6656 {
6657 arg7 = (long)(SWIG_As_long(obj6));
6658 if (SWIG_arg_fail(7)) SWIG_fail;
6659 }
6660 }
6661 if (obj7) {
6662 {
6663 arg8 = wxString_in_helper(obj7);
6664 if (arg8 == NULL) SWIG_fail;
6665 temp8 = true;
6666 }
6667 }
6668 {
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
6670 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6671
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 {
6676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6677 }
6678 {
6679 if (temp4)
6680 delete arg4;
6681 }
6682 {
6683 if (temp8)
6684 delete arg8;
6685 }
6686 return resultobj;
6687 fail:
6688 {
6689 if (temp4)
6690 delete arg4;
6691 }
6692 {
6693 if (temp8)
6694 delete arg8;
6695 }
6696 return NULL;
6697 }
6698
6699
6700 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj;
6702 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6703 wxVisualAttributes result;
6704 PyObject * obj0 = 0 ;
6705 char *kwnames[] = {
6706 (char *) "variant", NULL
6707 };
6708
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6710 if (obj0) {
6711 {
6712 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6713 if (SWIG_arg_fail(1)) SWIG_fail;
6714 }
6715 }
6716 {
6717 if (!wxPyCheckForApp()) SWIG_fail;
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 {
6725 wxVisualAttributes * resultptr;
6726 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6728 }
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6736 PyObject *obj;
6737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6738 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6739 Py_INCREF(obj);
6740 return Py_BuildValue((char *)"");
6741 }
6742 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxWindow *arg1 = (wxWindow *) 0 ;
6745 int arg2 = (int) -1 ;
6746 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6747 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6748 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6749 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6750 wxSize const &arg5_defvalue = wxDefaultSize ;
6751 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6752 long arg6 = (long) 0 ;
6753 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6754 wxString *arg7 = (wxString *) &arg7_defvalue ;
6755 wxStaticBitmap *result;
6756 wxPoint temp4 ;
6757 wxSize temp5 ;
6758 bool temp7 = false ;
6759 PyObject * obj0 = 0 ;
6760 PyObject * obj1 = 0 ;
6761 PyObject * obj2 = 0 ;
6762 PyObject * obj3 = 0 ;
6763 PyObject * obj4 = 0 ;
6764 PyObject * obj5 = 0 ;
6765 PyObject * obj6 = 0 ;
6766 char *kwnames[] = {
6767 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6768 };
6769
6770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6772 if (SWIG_arg_fail(1)) SWIG_fail;
6773 if (obj1) {
6774 {
6775 arg2 = (int)(SWIG_As_int(obj1));
6776 if (SWIG_arg_fail(2)) SWIG_fail;
6777 }
6778 }
6779 if (obj2) {
6780 {
6781 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6782 if (SWIG_arg_fail(3)) SWIG_fail;
6783 if (arg3 == NULL) {
6784 SWIG_null_ref("wxBitmap");
6785 }
6786 if (SWIG_arg_fail(3)) SWIG_fail;
6787 }
6788 }
6789 if (obj3) {
6790 {
6791 arg4 = &temp4;
6792 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6793 }
6794 }
6795 if (obj4) {
6796 {
6797 arg5 = &temp5;
6798 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6799 }
6800 }
6801 if (obj5) {
6802 {
6803 arg6 = (long)(SWIG_As_long(obj5));
6804 if (SWIG_arg_fail(6)) SWIG_fail;
6805 }
6806 }
6807 if (obj6) {
6808 {
6809 arg7 = wxString_in_helper(obj6);
6810 if (arg7 == NULL) SWIG_fail;
6811 temp7 = true;
6812 }
6813 }
6814 {
6815 if (!wxPyCheckForApp()) SWIG_fail;
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6823 {
6824 if (temp7)
6825 delete arg7;
6826 }
6827 return resultobj;
6828 fail:
6829 {
6830 if (temp7)
6831 delete arg7;
6832 }
6833 return NULL;
6834 }
6835
6836
6837 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6838 PyObject *resultobj;
6839 wxStaticBitmap *result;
6840 char *kwnames[] = {
6841 NULL
6842 };
6843
6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6845 {
6846 if (!wxPyCheckForApp()) SWIG_fail;
6847 PyThreadState* __tstate = wxPyBeginAllowThreads();
6848 result = (wxStaticBitmap *)new wxStaticBitmap();
6849
6850 wxPyEndAllowThreads(__tstate);
6851 if (PyErr_Occurred()) SWIG_fail;
6852 }
6853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6854 return resultobj;
6855 fail:
6856 return NULL;
6857 }
6858
6859
6860 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6861 PyObject *resultobj;
6862 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6863 wxWindow *arg2 = (wxWindow *) 0 ;
6864 int arg3 = (int) -1 ;
6865 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6866 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
6867 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6868 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6869 wxSize const &arg6_defvalue = wxDefaultSize ;
6870 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6871 long arg7 = (long) 0 ;
6872 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6873 wxString *arg8 = (wxString *) &arg8_defvalue ;
6874 bool result;
6875 wxPoint temp5 ;
6876 wxSize temp6 ;
6877 bool temp8 = false ;
6878 PyObject * obj0 = 0 ;
6879 PyObject * obj1 = 0 ;
6880 PyObject * obj2 = 0 ;
6881 PyObject * obj3 = 0 ;
6882 PyObject * obj4 = 0 ;
6883 PyObject * obj5 = 0 ;
6884 PyObject * obj6 = 0 ;
6885 PyObject * obj7 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6892 if (SWIG_arg_fail(1)) SWIG_fail;
6893 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6894 if (SWIG_arg_fail(2)) SWIG_fail;
6895 if (obj2) {
6896 {
6897 arg3 = (int)(SWIG_As_int(obj2));
6898 if (SWIG_arg_fail(3)) SWIG_fail;
6899 }
6900 }
6901 if (obj3) {
6902 {
6903 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6904 if (SWIG_arg_fail(4)) SWIG_fail;
6905 if (arg4 == NULL) {
6906 SWIG_null_ref("wxBitmap");
6907 }
6908 if (SWIG_arg_fail(4)) SWIG_fail;
6909 }
6910 }
6911 if (obj4) {
6912 {
6913 arg5 = &temp5;
6914 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6915 }
6916 }
6917 if (obj5) {
6918 {
6919 arg6 = &temp6;
6920 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6921 }
6922 }
6923 if (obj6) {
6924 {
6925 arg7 = (long)(SWIG_As_long(obj6));
6926 if (SWIG_arg_fail(7)) SWIG_fail;
6927 }
6928 }
6929 if (obj7) {
6930 {
6931 arg8 = wxString_in_helper(obj7);
6932 if (arg8 == NULL) SWIG_fail;
6933 temp8 = true;
6934 }
6935 }
6936 {
6937 PyThreadState* __tstate = wxPyBeginAllowThreads();
6938 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6939
6940 wxPyEndAllowThreads(__tstate);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 {
6944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6945 }
6946 {
6947 if (temp8)
6948 delete arg8;
6949 }
6950 return resultobj;
6951 fail:
6952 {
6953 if (temp8)
6954 delete arg8;
6955 }
6956 return NULL;
6957 }
6958
6959
6960 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6963 wxBitmap result;
6964 PyObject * obj0 = 0 ;
6965 char *kwnames[] = {
6966 (char *) "self", NULL
6967 };
6968
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
6970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6971 if (SWIG_arg_fail(1)) SWIG_fail;
6972 {
6973 PyThreadState* __tstate = wxPyBeginAllowThreads();
6974 result = (arg1)->GetBitmap();
6975
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 {
6980 wxBitmap * resultptr;
6981 resultptr = new wxBitmap((wxBitmap &)(result));
6982 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6983 }
6984 return resultobj;
6985 fail:
6986 return NULL;
6987 }
6988
6989
6990 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6991 PyObject *resultobj;
6992 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6993 wxBitmap *arg2 = 0 ;
6994 PyObject * obj0 = 0 ;
6995 PyObject * obj1 = 0 ;
6996 char *kwnames[] = {
6997 (char *) "self",(char *) "bitmap", NULL
6998 };
6999
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
7001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7002 if (SWIG_arg_fail(1)) SWIG_fail;
7003 {
7004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7005 if (SWIG_arg_fail(2)) SWIG_fail;
7006 if (arg2 == NULL) {
7007 SWIG_null_ref("wxBitmap");
7008 }
7009 if (SWIG_arg_fail(2)) SWIG_fail;
7010 }
7011 {
7012 PyThreadState* __tstate = wxPyBeginAllowThreads();
7013 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7014
7015 wxPyEndAllowThreads(__tstate);
7016 if (PyErr_Occurred()) SWIG_fail;
7017 }
7018 Py_INCREF(Py_None); resultobj = Py_None;
7019 return resultobj;
7020 fail:
7021 return NULL;
7022 }
7023
7024
7025 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7026 PyObject *resultobj;
7027 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7028 wxIcon *arg2 = 0 ;
7029 PyObject * obj0 = 0 ;
7030 PyObject * obj1 = 0 ;
7031 char *kwnames[] = {
7032 (char *) "self",(char *) "icon", NULL
7033 };
7034
7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7037 if (SWIG_arg_fail(1)) SWIG_fail;
7038 {
7039 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7040 if (SWIG_arg_fail(2)) SWIG_fail;
7041 if (arg2 == NULL) {
7042 SWIG_null_ref("wxIcon");
7043 }
7044 if (SWIG_arg_fail(2)) SWIG_fail;
7045 }
7046 {
7047 PyThreadState* __tstate = wxPyBeginAllowThreads();
7048 (arg1)->SetIcon((wxIcon const &)*arg2);
7049
7050 wxPyEndAllowThreads(__tstate);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 }
7053 Py_INCREF(Py_None); resultobj = Py_None;
7054 return resultobj;
7055 fail:
7056 return NULL;
7057 }
7058
7059
7060 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj;
7062 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7063 wxVisualAttributes result;
7064 PyObject * obj0 = 0 ;
7065 char *kwnames[] = {
7066 (char *) "variant", NULL
7067 };
7068
7069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7070 if (obj0) {
7071 {
7072 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7073 if (SWIG_arg_fail(1)) SWIG_fail;
7074 }
7075 }
7076 {
7077 if (!wxPyCheckForApp()) SWIG_fail;
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 {
7085 wxVisualAttributes * resultptr;
7086 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7087 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7088 }
7089 return resultobj;
7090 fail:
7091 return NULL;
7092 }
7093
7094
7095 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7096 PyObject *obj;
7097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7098 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7099 Py_INCREF(obj);
7100 return Py_BuildValue((char *)"");
7101 }
7102 static int _wrap_ListBoxNameStr_set(PyObject *) {
7103 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7104 return 1;
7105 }
7106
7107
7108 static PyObject *_wrap_ListBoxNameStr_get(void) {
7109 PyObject *pyobj;
7110
7111 {
7112 #if wxUSE_UNICODE
7113 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7114 #else
7115 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7116 #endif
7117 }
7118 return pyobj;
7119 }
7120
7121
7122 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj;
7124 wxWindow *arg1 = (wxWindow *) 0 ;
7125 int arg2 = (int) -1 ;
7126 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7127 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7128 wxSize const &arg4_defvalue = wxDefaultSize ;
7129 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7130 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7131 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7132 long arg6 = (long) 0 ;
7133 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7134 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7135 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7136 wxString *arg8 = (wxString *) &arg8_defvalue ;
7137 wxListBox *result;
7138 wxPoint temp3 ;
7139 wxSize temp4 ;
7140 bool temp5 = false ;
7141 bool temp8 = false ;
7142 PyObject * obj0 = 0 ;
7143 PyObject * obj1 = 0 ;
7144 PyObject * obj2 = 0 ;
7145 PyObject * obj3 = 0 ;
7146 PyObject * obj4 = 0 ;
7147 PyObject * obj5 = 0 ;
7148 PyObject * obj6 = 0 ;
7149 PyObject * obj7 = 0 ;
7150 char *kwnames[] = {
7151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7152 };
7153
7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7156 if (SWIG_arg_fail(1)) SWIG_fail;
7157 if (obj1) {
7158 {
7159 arg2 = (int)(SWIG_As_int(obj1));
7160 if (SWIG_arg_fail(2)) SWIG_fail;
7161 }
7162 }
7163 if (obj2) {
7164 {
7165 arg3 = &temp3;
7166 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7167 }
7168 }
7169 if (obj3) {
7170 {
7171 arg4 = &temp4;
7172 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7173 }
7174 }
7175 if (obj4) {
7176 {
7177 if (! PySequence_Check(obj4)) {
7178 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7179 SWIG_fail;
7180 }
7181 arg5 = new wxArrayString;
7182 temp5 = true;
7183 int i, len=PySequence_Length(obj4);
7184 for (i=0; i<len; i++) {
7185 PyObject* item = PySequence_GetItem(obj4, i);
7186 #if wxUSE_UNICODE
7187 PyObject* str = PyObject_Unicode(item);
7188 #else
7189 PyObject* str = PyObject_Str(item);
7190 #endif
7191 if (PyErr_Occurred()) SWIG_fail;
7192 arg5->Add(Py2wxString(str));
7193 Py_DECREF(item);
7194 Py_DECREF(str);
7195 }
7196 }
7197 }
7198 if (obj5) {
7199 {
7200 arg6 = (long)(SWIG_As_long(obj5));
7201 if (SWIG_arg_fail(6)) SWIG_fail;
7202 }
7203 }
7204 if (obj6) {
7205 {
7206 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7207 if (SWIG_arg_fail(7)) SWIG_fail;
7208 if (arg7 == NULL) {
7209 SWIG_null_ref("wxValidator");
7210 }
7211 if (SWIG_arg_fail(7)) SWIG_fail;
7212 }
7213 }
7214 if (obj7) {
7215 {
7216 arg8 = wxString_in_helper(obj7);
7217 if (arg8 == NULL) SWIG_fail;
7218 temp8 = true;
7219 }
7220 }
7221 {
7222 if (!wxPyCheckForApp()) SWIG_fail;
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7230 {
7231 if (temp5) delete arg5;
7232 }
7233 {
7234 if (temp8)
7235 delete arg8;
7236 }
7237 return resultobj;
7238 fail:
7239 {
7240 if (temp5) delete arg5;
7241 }
7242 {
7243 if (temp8)
7244 delete arg8;
7245 }
7246 return NULL;
7247 }
7248
7249
7250 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7251 PyObject *resultobj;
7252 wxListBox *result;
7253 char *kwnames[] = {
7254 NULL
7255 };
7256
7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7258 {
7259 if (!wxPyCheckForApp()) SWIG_fail;
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (wxListBox *)new wxListBox();
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7267 return resultobj;
7268 fail:
7269 return NULL;
7270 }
7271
7272
7273 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj;
7275 wxListBox *arg1 = (wxListBox *) 0 ;
7276 wxWindow *arg2 = (wxWindow *) 0 ;
7277 int arg3 = (int) -1 ;
7278 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7279 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7280 wxSize const &arg5_defvalue = wxDefaultSize ;
7281 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7282 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7283 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7284 long arg7 = (long) 0 ;
7285 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7286 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7287 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7288 wxString *arg9 = (wxString *) &arg9_defvalue ;
7289 bool result;
7290 wxPoint temp4 ;
7291 wxSize temp5 ;
7292 bool temp6 = false ;
7293 bool temp9 = false ;
7294 PyObject * obj0 = 0 ;
7295 PyObject * obj1 = 0 ;
7296 PyObject * obj2 = 0 ;
7297 PyObject * obj3 = 0 ;
7298 PyObject * obj4 = 0 ;
7299 PyObject * obj5 = 0 ;
7300 PyObject * obj6 = 0 ;
7301 PyObject * obj7 = 0 ;
7302 PyObject * obj8 = 0 ;
7303 char *kwnames[] = {
7304 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7305 };
7306
7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail;
7310 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7311 if (SWIG_arg_fail(2)) SWIG_fail;
7312 if (obj2) {
7313 {
7314 arg3 = (int)(SWIG_As_int(obj2));
7315 if (SWIG_arg_fail(3)) SWIG_fail;
7316 }
7317 }
7318 if (obj3) {
7319 {
7320 arg4 = &temp4;
7321 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7322 }
7323 }
7324 if (obj4) {
7325 {
7326 arg5 = &temp5;
7327 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7328 }
7329 }
7330 if (obj5) {
7331 {
7332 if (! PySequence_Check(obj5)) {
7333 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7334 SWIG_fail;
7335 }
7336 arg6 = new wxArrayString;
7337 temp6 = true;
7338 int i, len=PySequence_Length(obj5);
7339 for (i=0; i<len; i++) {
7340 PyObject* item = PySequence_GetItem(obj5, i);
7341 #if wxUSE_UNICODE
7342 PyObject* str = PyObject_Unicode(item);
7343 #else
7344 PyObject* str = PyObject_Str(item);
7345 #endif
7346 if (PyErr_Occurred()) SWIG_fail;
7347 arg6->Add(Py2wxString(str));
7348 Py_DECREF(item);
7349 Py_DECREF(str);
7350 }
7351 }
7352 }
7353 if (obj6) {
7354 {
7355 arg7 = (long)(SWIG_As_long(obj6));
7356 if (SWIG_arg_fail(7)) SWIG_fail;
7357 }
7358 }
7359 if (obj7) {
7360 {
7361 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7362 if (SWIG_arg_fail(8)) SWIG_fail;
7363 if (arg8 == NULL) {
7364 SWIG_null_ref("wxValidator");
7365 }
7366 if (SWIG_arg_fail(8)) SWIG_fail;
7367 }
7368 }
7369 if (obj8) {
7370 {
7371 arg9 = wxString_in_helper(obj8);
7372 if (arg9 == NULL) SWIG_fail;
7373 temp9 = true;
7374 }
7375 }
7376 {
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7379
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 {
7384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7385 }
7386 {
7387 if (temp6) delete arg6;
7388 }
7389 {
7390 if (temp9)
7391 delete arg9;
7392 }
7393 return resultobj;
7394 fail:
7395 {
7396 if (temp6) delete arg6;
7397 }
7398 {
7399 if (temp9)
7400 delete arg9;
7401 }
7402 return NULL;
7403 }
7404
7405
7406 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7407 PyObject *resultobj;
7408 wxListBox *arg1 = (wxListBox *) 0 ;
7409 wxString *arg2 = 0 ;
7410 int arg3 ;
7411 PyObject *arg4 = (PyObject *) NULL ;
7412 bool temp2 = false ;
7413 PyObject * obj0 = 0 ;
7414 PyObject * obj1 = 0 ;
7415 PyObject * obj2 = 0 ;
7416 PyObject * obj3 = 0 ;
7417 char *kwnames[] = {
7418 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7419 };
7420
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7423 if (SWIG_arg_fail(1)) SWIG_fail;
7424 {
7425 arg2 = wxString_in_helper(obj1);
7426 if (arg2 == NULL) SWIG_fail;
7427 temp2 = true;
7428 }
7429 {
7430 arg3 = (int)(SWIG_As_int(obj2));
7431 if (SWIG_arg_fail(3)) SWIG_fail;
7432 }
7433 if (obj3) {
7434 arg4 = obj3;
7435 }
7436 {
7437 PyThreadState* __tstate = wxPyBeginAllowThreads();
7438 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7439
7440 wxPyEndAllowThreads(__tstate);
7441 if (PyErr_Occurred()) SWIG_fail;
7442 }
7443 Py_INCREF(Py_None); resultobj = Py_None;
7444 {
7445 if (temp2)
7446 delete arg2;
7447 }
7448 return resultobj;
7449 fail:
7450 {
7451 if (temp2)
7452 delete arg2;
7453 }
7454 return NULL;
7455 }
7456
7457
7458 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7459 PyObject *resultobj;
7460 wxListBox *arg1 = (wxListBox *) 0 ;
7461 wxArrayString *arg2 = 0 ;
7462 int arg3 ;
7463 bool temp2 = false ;
7464 PyObject * obj0 = 0 ;
7465 PyObject * obj1 = 0 ;
7466 PyObject * obj2 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "self",(char *) "items",(char *) "pos", NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7473 if (SWIG_arg_fail(1)) SWIG_fail;
7474 {
7475 if (! PySequence_Check(obj1)) {
7476 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7477 SWIG_fail;
7478 }
7479 arg2 = new wxArrayString;
7480 temp2 = true;
7481 int i, len=PySequence_Length(obj1);
7482 for (i=0; i<len; i++) {
7483 PyObject* item = PySequence_GetItem(obj1, i);
7484 #if wxUSE_UNICODE
7485 PyObject* str = PyObject_Unicode(item);
7486 #else
7487 PyObject* str = PyObject_Str(item);
7488 #endif
7489 if (PyErr_Occurred()) SWIG_fail;
7490 arg2->Add(Py2wxString(str));
7491 Py_DECREF(item);
7492 Py_DECREF(str);
7493 }
7494 }
7495 {
7496 arg3 = (int)(SWIG_As_int(obj2));
7497 if (SWIG_arg_fail(3)) SWIG_fail;
7498 }
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7502
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
7506 Py_INCREF(Py_None); resultobj = Py_None;
7507 {
7508 if (temp2) delete arg2;
7509 }
7510 return resultobj;
7511 fail:
7512 {
7513 if (temp2) delete arg2;
7514 }
7515 return NULL;
7516 }
7517
7518
7519 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj;
7521 wxListBox *arg1 = (wxListBox *) 0 ;
7522 wxArrayString *arg2 = 0 ;
7523 bool temp2 = false ;
7524 PyObject * obj0 = 0 ;
7525 PyObject * obj1 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "self",(char *) "items", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7532 if (SWIG_arg_fail(1)) SWIG_fail;
7533 {
7534 if (! PySequence_Check(obj1)) {
7535 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7536 SWIG_fail;
7537 }
7538 arg2 = new wxArrayString;
7539 temp2 = true;
7540 int i, len=PySequence_Length(obj1);
7541 for (i=0; i<len; i++) {
7542 PyObject* item = PySequence_GetItem(obj1, i);
7543 #if wxUSE_UNICODE
7544 PyObject* str = PyObject_Unicode(item);
7545 #else
7546 PyObject* str = PyObject_Str(item);
7547 #endif
7548 if (PyErr_Occurred()) SWIG_fail;
7549 arg2->Add(Py2wxString(str));
7550 Py_DECREF(item);
7551 Py_DECREF(str);
7552 }
7553 }
7554 {
7555 PyThreadState* __tstate = wxPyBeginAllowThreads();
7556 (arg1)->Set((wxArrayString const &)*arg2);
7557
7558 wxPyEndAllowThreads(__tstate);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 }
7561 Py_INCREF(Py_None); resultobj = Py_None;
7562 {
7563 if (temp2) delete arg2;
7564 }
7565 return resultobj;
7566 fail:
7567 {
7568 if (temp2) delete arg2;
7569 }
7570 return NULL;
7571 }
7572
7573
7574 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7575 PyObject *resultobj;
7576 wxListBox *arg1 = (wxListBox *) 0 ;
7577 int arg2 ;
7578 bool result;
7579 PyObject * obj0 = 0 ;
7580 PyObject * obj1 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self",(char *) "n", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7587 if (SWIG_arg_fail(1)) SWIG_fail;
7588 {
7589 arg2 = (int)(SWIG_As_int(obj1));
7590 if (SWIG_arg_fail(2)) SWIG_fail;
7591 }
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7595
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 }
7599 {
7600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7601 }
7602 return resultobj;
7603 fail:
7604 return NULL;
7605 }
7606
7607
7608 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7609 PyObject *resultobj;
7610 wxListBox *arg1 = (wxListBox *) 0 ;
7611 int arg2 ;
7612 bool arg3 = (bool) true ;
7613 PyObject * obj0 = 0 ;
7614 PyObject * obj1 = 0 ;
7615 PyObject * obj2 = 0 ;
7616 char *kwnames[] = {
7617 (char *) "self",(char *) "n",(char *) "select", NULL
7618 };
7619
7620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7622 if (SWIG_arg_fail(1)) SWIG_fail;
7623 {
7624 arg2 = (int)(SWIG_As_int(obj1));
7625 if (SWIG_arg_fail(2)) SWIG_fail;
7626 }
7627 if (obj2) {
7628 {
7629 arg3 = (bool)(SWIG_As_bool(obj2));
7630 if (SWIG_arg_fail(3)) SWIG_fail;
7631 }
7632 }
7633 {
7634 PyThreadState* __tstate = wxPyBeginAllowThreads();
7635 (arg1)->SetSelection(arg2,arg3);
7636
7637 wxPyEndAllowThreads(__tstate);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 Py_INCREF(Py_None); resultobj = Py_None;
7641 return resultobj;
7642 fail:
7643 return NULL;
7644 }
7645
7646
7647 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7648 PyObject *resultobj;
7649 wxListBox *arg1 = (wxListBox *) 0 ;
7650 int arg2 ;
7651 PyObject * obj0 = 0 ;
7652 PyObject * obj1 = 0 ;
7653 char *kwnames[] = {
7654 (char *) "self",(char *) "n", NULL
7655 };
7656
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7659 if (SWIG_arg_fail(1)) SWIG_fail;
7660 {
7661 arg2 = (int)(SWIG_As_int(obj1));
7662 if (SWIG_arg_fail(2)) SWIG_fail;
7663 }
7664 {
7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7666 (arg1)->Select(arg2);
7667
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
7671 Py_INCREF(Py_None); resultobj = Py_None;
7672 return resultobj;
7673 fail:
7674 return NULL;
7675 }
7676
7677
7678 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7679 PyObject *resultobj;
7680 wxListBox *arg1 = (wxListBox *) 0 ;
7681 int arg2 ;
7682 PyObject * obj0 = 0 ;
7683 PyObject * obj1 = 0 ;
7684 char *kwnames[] = {
7685 (char *) "self",(char *) "n", NULL
7686 };
7687
7688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7690 if (SWIG_arg_fail(1)) SWIG_fail;
7691 {
7692 arg2 = (int)(SWIG_As_int(obj1));
7693 if (SWIG_arg_fail(2)) SWIG_fail;
7694 }
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 (arg1)->Deselect(arg2);
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 Py_INCREF(Py_None); resultobj = Py_None;
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxListBox *arg1 = (wxListBox *) 0 ;
7712 int arg2 = (int) -1 ;
7713 PyObject * obj0 = 0 ;
7714 PyObject * obj1 = 0 ;
7715 char *kwnames[] = {
7716 (char *) "self",(char *) "itemToLeaveSelected", NULL
7717 };
7718
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7721 if (SWIG_arg_fail(1)) SWIG_fail;
7722 if (obj1) {
7723 {
7724 arg2 = (int)(SWIG_As_int(obj1));
7725 if (SWIG_arg_fail(2)) SWIG_fail;
7726 }
7727 }
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 (arg1)->DeselectAll(arg2);
7731
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 Py_INCREF(Py_None); resultobj = Py_None;
7736 return resultobj;
7737 fail:
7738 return NULL;
7739 }
7740
7741
7742 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7743 PyObject *resultobj;
7744 wxListBox *arg1 = (wxListBox *) 0 ;
7745 wxString *arg2 = 0 ;
7746 bool arg3 = (bool) true ;
7747 bool result;
7748 bool temp2 = false ;
7749 PyObject * obj0 = 0 ;
7750 PyObject * obj1 = 0 ;
7751 PyObject * obj2 = 0 ;
7752 char *kwnames[] = {
7753 (char *) "self",(char *) "s",(char *) "select", NULL
7754 };
7755
7756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7758 if (SWIG_arg_fail(1)) SWIG_fail;
7759 {
7760 arg2 = wxString_in_helper(obj1);
7761 if (arg2 == NULL) SWIG_fail;
7762 temp2 = true;
7763 }
7764 if (obj2) {
7765 {
7766 arg3 = (bool)(SWIG_As_bool(obj2));
7767 if (SWIG_arg_fail(3)) SWIG_fail;
7768 }
7769 }
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 {
7778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7779 }
7780 {
7781 if (temp2)
7782 delete arg2;
7783 }
7784 return resultobj;
7785 fail:
7786 {
7787 if (temp2)
7788 delete arg2;
7789 }
7790 return NULL;
7791 }
7792
7793
7794 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7795 PyObject *resultobj;
7796 wxListBox *arg1 = (wxListBox *) 0 ;
7797 PyObject *result;
7798 PyObject * obj0 = 0 ;
7799 char *kwnames[] = {
7800 (char *) "self", NULL
7801 };
7802
7803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
7804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7805 if (SWIG_arg_fail(1)) SWIG_fail;
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 result = (PyObject *)wxListBox_GetSelections(arg1);
7809
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 resultobj = result;
7814 return resultobj;
7815 fail:
7816 return NULL;
7817 }
7818
7819
7820 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7821 PyObject *resultobj;
7822 wxListBox *arg1 = (wxListBox *) 0 ;
7823 int arg2 ;
7824 PyObject * obj0 = 0 ;
7825 PyObject * obj1 = 0 ;
7826 char *kwnames[] = {
7827 (char *) "self",(char *) "n", NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
7831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7832 if (SWIG_arg_fail(1)) SWIG_fail;
7833 {
7834 arg2 = (int)(SWIG_As_int(obj1));
7835 if (SWIG_arg_fail(2)) SWIG_fail;
7836 }
7837 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 (arg1)->SetFirstItem(arg2);
7840
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 Py_INCREF(Py_None); resultobj = Py_None;
7845 return resultobj;
7846 fail:
7847 return NULL;
7848 }
7849
7850
7851 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj;
7853 wxListBox *arg1 = (wxListBox *) 0 ;
7854 wxString *arg2 = 0 ;
7855 bool temp2 = false ;
7856 PyObject * obj0 = 0 ;
7857 PyObject * obj1 = 0 ;
7858 char *kwnames[] = {
7859 (char *) "self",(char *) "s", NULL
7860 };
7861
7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
7863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7864 if (SWIG_arg_fail(1)) SWIG_fail;
7865 {
7866 arg2 = wxString_in_helper(obj1);
7867 if (arg2 == NULL) SWIG_fail;
7868 temp2 = true;
7869 }
7870 {
7871 PyThreadState* __tstate = wxPyBeginAllowThreads();
7872 (arg1)->SetFirstItem((wxString const &)*arg2);
7873
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 Py_INCREF(Py_None); resultobj = Py_None;
7878 {
7879 if (temp2)
7880 delete arg2;
7881 }
7882 return resultobj;
7883 fail:
7884 {
7885 if (temp2)
7886 delete arg2;
7887 }
7888 return NULL;
7889 }
7890
7891
7892 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7893 PyObject *resultobj;
7894 wxListBox *arg1 = (wxListBox *) 0 ;
7895 int arg2 ;
7896 PyObject * obj0 = 0 ;
7897 PyObject * obj1 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self",(char *) "n", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail;
7905 {
7906 arg2 = (int)(SWIG_As_int(obj1));
7907 if (SWIG_arg_fail(2)) SWIG_fail;
7908 }
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 (arg1)->EnsureVisible(arg2);
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 Py_INCREF(Py_None); resultobj = Py_None;
7917 return resultobj;
7918 fail:
7919 return NULL;
7920 }
7921
7922
7923 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxListBox *arg1 = (wxListBox *) 0 ;
7926 wxString *arg2 = 0 ;
7927 bool temp2 = false ;
7928 PyObject * obj0 = 0 ;
7929 PyObject * obj1 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self",(char *) "s", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7936 if (SWIG_arg_fail(1)) SWIG_fail;
7937 {
7938 arg2 = wxString_in_helper(obj1);
7939 if (arg2 == NULL) SWIG_fail;
7940 temp2 = true;
7941 }
7942 {
7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
7944 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7945
7946 wxPyEndAllowThreads(__tstate);
7947 if (PyErr_Occurred()) SWIG_fail;
7948 }
7949 Py_INCREF(Py_None); resultobj = Py_None;
7950 {
7951 if (temp2)
7952 delete arg2;
7953 }
7954 return resultobj;
7955 fail:
7956 {
7957 if (temp2)
7958 delete arg2;
7959 }
7960 return NULL;
7961 }
7962
7963
7964 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
7965 PyObject *resultobj;
7966 wxListBox *arg1 = (wxListBox *) 0 ;
7967 bool result;
7968 PyObject * obj0 = 0 ;
7969 char *kwnames[] = {
7970 (char *) "self", NULL
7971 };
7972
7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
7974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7975 if (SWIG_arg_fail(1)) SWIG_fail;
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 result = (bool)((wxListBox const *)arg1)->IsSorted();
7979
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 {
7984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7985 }
7986 return resultobj;
7987 fail:
7988 return NULL;
7989 }
7990
7991
7992 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7993 PyObject *resultobj;
7994 wxListBox *arg1 = (wxListBox *) 0 ;
7995 int arg2 ;
7996 wxColour *arg3 = 0 ;
7997 wxColour temp3 ;
7998 PyObject * obj0 = 0 ;
7999 PyObject * obj1 = 0 ;
8000 PyObject * obj2 = 0 ;
8001 char *kwnames[] = {
8002 (char *) "self",(char *) "item",(char *) "c", NULL
8003 };
8004
8005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8007 if (SWIG_arg_fail(1)) SWIG_fail;
8008 {
8009 arg2 = (int)(SWIG_As_int(obj1));
8010 if (SWIG_arg_fail(2)) SWIG_fail;
8011 }
8012 {
8013 arg3 = &temp3;
8014 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8015 }
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8019
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 Py_INCREF(Py_None); resultobj = Py_None;
8024 return resultobj;
8025 fail:
8026 return NULL;
8027 }
8028
8029
8030 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8031 PyObject *resultobj;
8032 wxListBox *arg1 = (wxListBox *) 0 ;
8033 int arg2 ;
8034 wxColour *arg3 = 0 ;
8035 wxColour temp3 ;
8036 PyObject * obj0 = 0 ;
8037 PyObject * obj1 = 0 ;
8038 PyObject * obj2 = 0 ;
8039 char *kwnames[] = {
8040 (char *) "self",(char *) "item",(char *) "c", NULL
8041 };
8042
8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8045 if (SWIG_arg_fail(1)) SWIG_fail;
8046 {
8047 arg2 = (int)(SWIG_As_int(obj1));
8048 if (SWIG_arg_fail(2)) SWIG_fail;
8049 }
8050 {
8051 arg3 = &temp3;
8052 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8053 }
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8057
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 Py_INCREF(Py_None); resultobj = Py_None;
8062 return resultobj;
8063 fail:
8064 return NULL;
8065 }
8066
8067
8068 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj;
8070 wxListBox *arg1 = (wxListBox *) 0 ;
8071 int arg2 ;
8072 wxFont *arg3 = 0 ;
8073 PyObject * obj0 = 0 ;
8074 PyObject * obj1 = 0 ;
8075 PyObject * obj2 = 0 ;
8076 char *kwnames[] = {
8077 (char *) "self",(char *) "item",(char *) "f", NULL
8078 };
8079
8080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8082 if (SWIG_arg_fail(1)) SWIG_fail;
8083 {
8084 arg2 = (int)(SWIG_As_int(obj1));
8085 if (SWIG_arg_fail(2)) SWIG_fail;
8086 }
8087 {
8088 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8089 if (SWIG_arg_fail(3)) SWIG_fail;
8090 if (arg3 == NULL) {
8091 SWIG_null_ref("wxFont");
8092 }
8093 if (SWIG_arg_fail(3)) SWIG_fail;
8094 }
8095 {
8096 PyThreadState* __tstate = wxPyBeginAllowThreads();
8097 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8098
8099 wxPyEndAllowThreads(__tstate);
8100 if (PyErr_Occurred()) SWIG_fail;
8101 }
8102 Py_INCREF(Py_None); resultobj = Py_None;
8103 return resultobj;
8104 fail:
8105 return NULL;
8106 }
8107
8108
8109 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8110 PyObject *resultobj;
8111 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8112 wxVisualAttributes result;
8113 PyObject * obj0 = 0 ;
8114 char *kwnames[] = {
8115 (char *) "variant", NULL
8116 };
8117
8118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8119 if (obj0) {
8120 {
8121 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8122 if (SWIG_arg_fail(1)) SWIG_fail;
8123 }
8124 }
8125 {
8126 if (!wxPyCheckForApp()) SWIG_fail;
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8129
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
8133 {
8134 wxVisualAttributes * resultptr;
8135 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8136 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8137 }
8138 return resultobj;
8139 fail:
8140 return NULL;
8141 }
8142
8143
8144 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8145 PyObject *obj;
8146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8147 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8148 Py_INCREF(obj);
8149 return Py_BuildValue((char *)"");
8150 }
8151 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8152 PyObject *resultobj;
8153 wxWindow *arg1 = (wxWindow *) 0 ;
8154 int arg2 = (int) -1 ;
8155 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8156 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8157 wxSize const &arg4_defvalue = wxDefaultSize ;
8158 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8159 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8160 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8161 long arg6 = (long) 0 ;
8162 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8163 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8164 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8165 wxString *arg8 = (wxString *) &arg8_defvalue ;
8166 wxCheckListBox *result;
8167 wxPoint temp3 ;
8168 wxSize temp4 ;
8169 bool temp5 = false ;
8170 bool temp8 = false ;
8171 PyObject * obj0 = 0 ;
8172 PyObject * obj1 = 0 ;
8173 PyObject * obj2 = 0 ;
8174 PyObject * obj3 = 0 ;
8175 PyObject * obj4 = 0 ;
8176 PyObject * obj5 = 0 ;
8177 PyObject * obj6 = 0 ;
8178 PyObject * obj7 = 0 ;
8179 char *kwnames[] = {
8180 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8181 };
8182
8183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8185 if (SWIG_arg_fail(1)) SWIG_fail;
8186 if (obj1) {
8187 {
8188 arg2 = (int)(SWIG_As_int(obj1));
8189 if (SWIG_arg_fail(2)) SWIG_fail;
8190 }
8191 }
8192 if (obj2) {
8193 {
8194 arg3 = &temp3;
8195 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8196 }
8197 }
8198 if (obj3) {
8199 {
8200 arg4 = &temp4;
8201 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8202 }
8203 }
8204 if (obj4) {
8205 {
8206 if (! PySequence_Check(obj4)) {
8207 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8208 SWIG_fail;
8209 }
8210 arg5 = new wxArrayString;
8211 temp5 = true;
8212 int i, len=PySequence_Length(obj4);
8213 for (i=0; i<len; i++) {
8214 PyObject* item = PySequence_GetItem(obj4, i);
8215 #if wxUSE_UNICODE
8216 PyObject* str = PyObject_Unicode(item);
8217 #else
8218 PyObject* str = PyObject_Str(item);
8219 #endif
8220 if (PyErr_Occurred()) SWIG_fail;
8221 arg5->Add(Py2wxString(str));
8222 Py_DECREF(item);
8223 Py_DECREF(str);
8224 }
8225 }
8226 }
8227 if (obj5) {
8228 {
8229 arg6 = (long)(SWIG_As_long(obj5));
8230 if (SWIG_arg_fail(6)) SWIG_fail;
8231 }
8232 }
8233 if (obj6) {
8234 {
8235 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8236 if (SWIG_arg_fail(7)) SWIG_fail;
8237 if (arg7 == NULL) {
8238 SWIG_null_ref("wxValidator");
8239 }
8240 if (SWIG_arg_fail(7)) SWIG_fail;
8241 }
8242 }
8243 if (obj7) {
8244 {
8245 arg8 = wxString_in_helper(obj7);
8246 if (arg8 == NULL) SWIG_fail;
8247 temp8 = true;
8248 }
8249 }
8250 {
8251 if (!wxPyCheckForApp()) SWIG_fail;
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8259 {
8260 if (temp5) delete arg5;
8261 }
8262 {
8263 if (temp8)
8264 delete arg8;
8265 }
8266 return resultobj;
8267 fail:
8268 {
8269 if (temp5) delete arg5;
8270 }
8271 {
8272 if (temp8)
8273 delete arg8;
8274 }
8275 return NULL;
8276 }
8277
8278
8279 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxCheckListBox *result;
8282 char *kwnames[] = {
8283 NULL
8284 };
8285
8286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8287 {
8288 if (!wxPyCheckForApp()) SWIG_fail;
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 result = (wxCheckListBox *)new wxCheckListBox();
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8296 return resultobj;
8297 fail:
8298 return NULL;
8299 }
8300
8301
8302 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8303 PyObject *resultobj;
8304 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8305 wxWindow *arg2 = (wxWindow *) 0 ;
8306 int arg3 = (int) -1 ;
8307 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8308 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8309 wxSize const &arg5_defvalue = wxDefaultSize ;
8310 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8311 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8312 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8313 long arg7 = (long) 0 ;
8314 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8315 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8316 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8317 wxString *arg9 = (wxString *) &arg9_defvalue ;
8318 bool result;
8319 wxPoint temp4 ;
8320 wxSize temp5 ;
8321 bool temp6 = false ;
8322 bool temp9 = false ;
8323 PyObject * obj0 = 0 ;
8324 PyObject * obj1 = 0 ;
8325 PyObject * obj2 = 0 ;
8326 PyObject * obj3 = 0 ;
8327 PyObject * obj4 = 0 ;
8328 PyObject * obj5 = 0 ;
8329 PyObject * obj6 = 0 ;
8330 PyObject * obj7 = 0 ;
8331 PyObject * obj8 = 0 ;
8332 char *kwnames[] = {
8333 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8334 };
8335
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8338 if (SWIG_arg_fail(1)) SWIG_fail;
8339 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8340 if (SWIG_arg_fail(2)) SWIG_fail;
8341 if (obj2) {
8342 {
8343 arg3 = (int)(SWIG_As_int(obj2));
8344 if (SWIG_arg_fail(3)) SWIG_fail;
8345 }
8346 }
8347 if (obj3) {
8348 {
8349 arg4 = &temp4;
8350 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8351 }
8352 }
8353 if (obj4) {
8354 {
8355 arg5 = &temp5;
8356 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8357 }
8358 }
8359 if (obj5) {
8360 {
8361 if (! PySequence_Check(obj5)) {
8362 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8363 SWIG_fail;
8364 }
8365 arg6 = new wxArrayString;
8366 temp6 = true;
8367 int i, len=PySequence_Length(obj5);
8368 for (i=0; i<len; i++) {
8369 PyObject* item = PySequence_GetItem(obj5, i);
8370 #if wxUSE_UNICODE
8371 PyObject* str = PyObject_Unicode(item);
8372 #else
8373 PyObject* str = PyObject_Str(item);
8374 #endif
8375 if (PyErr_Occurred()) SWIG_fail;
8376 arg6->Add(Py2wxString(str));
8377 Py_DECREF(item);
8378 Py_DECREF(str);
8379 }
8380 }
8381 }
8382 if (obj6) {
8383 {
8384 arg7 = (long)(SWIG_As_long(obj6));
8385 if (SWIG_arg_fail(7)) SWIG_fail;
8386 }
8387 }
8388 if (obj7) {
8389 {
8390 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8391 if (SWIG_arg_fail(8)) SWIG_fail;
8392 if (arg8 == NULL) {
8393 SWIG_null_ref("wxValidator");
8394 }
8395 if (SWIG_arg_fail(8)) SWIG_fail;
8396 }
8397 }
8398 if (obj8) {
8399 {
8400 arg9 = wxString_in_helper(obj8);
8401 if (arg9 == NULL) SWIG_fail;
8402 temp9 = true;
8403 }
8404 }
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8408
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 {
8413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8414 }
8415 {
8416 if (temp6) delete arg6;
8417 }
8418 {
8419 if (temp9)
8420 delete arg9;
8421 }
8422 return resultobj;
8423 fail:
8424 {
8425 if (temp6) delete arg6;
8426 }
8427 {
8428 if (temp9)
8429 delete arg9;
8430 }
8431 return NULL;
8432 }
8433
8434
8435 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj;
8437 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8438 int arg2 ;
8439 bool result;
8440 PyObject * obj0 = 0 ;
8441 PyObject * obj1 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "index", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail;
8449 {
8450 arg2 = (int)(SWIG_As_int(obj1));
8451 if (SWIG_arg_fail(2)) SWIG_fail;
8452 }
8453 {
8454 PyThreadState* __tstate = wxPyBeginAllowThreads();
8455 result = (bool)(arg1)->IsChecked(arg2);
8456
8457 wxPyEndAllowThreads(__tstate);
8458 if (PyErr_Occurred()) SWIG_fail;
8459 }
8460 {
8461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8462 }
8463 return resultobj;
8464 fail:
8465 return NULL;
8466 }
8467
8468
8469 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8470 PyObject *resultobj;
8471 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8472 int arg2 ;
8473 int arg3 = (int) true ;
8474 PyObject * obj0 = 0 ;
8475 PyObject * obj1 = 0 ;
8476 PyObject * obj2 = 0 ;
8477 char *kwnames[] = {
8478 (char *) "self",(char *) "index",(char *) "check", NULL
8479 };
8480
8481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8483 if (SWIG_arg_fail(1)) SWIG_fail;
8484 {
8485 arg2 = (int)(SWIG_As_int(obj1));
8486 if (SWIG_arg_fail(2)) SWIG_fail;
8487 }
8488 if (obj2) {
8489 {
8490 arg3 = (int)(SWIG_As_int(obj2));
8491 if (SWIG_arg_fail(3)) SWIG_fail;
8492 }
8493 }
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 (arg1)->Check(arg2,arg3);
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 Py_INCREF(Py_None); resultobj = Py_None;
8502 return resultobj;
8503 fail:
8504 return NULL;
8505 }
8506
8507
8508 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8511 int result;
8512 PyObject * obj0 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
8518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8519 if (SWIG_arg_fail(1)) SWIG_fail;
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 result = (int)(arg1)->GetItemHeight();
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 {
8528 resultobj = SWIG_From_int((int)(result));
8529 }
8530 return resultobj;
8531 fail:
8532 return NULL;
8533 }
8534
8535
8536 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8537 PyObject *resultobj;
8538 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8539 wxPoint *arg2 = 0 ;
8540 int result;
8541 wxPoint temp2 ;
8542 PyObject * obj0 = 0 ;
8543 PyObject * obj1 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self",(char *) "pt", NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8550 if (SWIG_arg_fail(1)) SWIG_fail;
8551 {
8552 arg2 = &temp2;
8553 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8554 }
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 {
8563 resultobj = SWIG_From_int((int)(result));
8564 }
8565 return resultobj;
8566 fail:
8567 return NULL;
8568 }
8569
8570
8571 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8572 PyObject *resultobj;
8573 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8574 int arg2 ;
8575 int arg3 ;
8576 int result;
8577 PyObject * obj0 = 0 ;
8578 PyObject * obj1 = 0 ;
8579 PyObject * obj2 = 0 ;
8580 char *kwnames[] = {
8581 (char *) "self",(char *) "x",(char *) "y", NULL
8582 };
8583
8584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8586 if (SWIG_arg_fail(1)) SWIG_fail;
8587 {
8588 arg2 = (int)(SWIG_As_int(obj1));
8589 if (SWIG_arg_fail(2)) SWIG_fail;
8590 }
8591 {
8592 arg3 = (int)(SWIG_As_int(obj2));
8593 if (SWIG_arg_fail(3)) SWIG_fail;
8594 }
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8598
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 {
8603 resultobj = SWIG_From_int((int)(result));
8604 }
8605 return resultobj;
8606 fail:
8607 return NULL;
8608 }
8609
8610
8611 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8612 PyObject *obj;
8613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8614 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8615 Py_INCREF(obj);
8616 return Py_BuildValue((char *)"");
8617 }
8618 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8619 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8620 return 1;
8621 }
8622
8623
8624 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8625 PyObject *pyobj;
8626
8627 {
8628 #if wxUSE_UNICODE
8629 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8630 #else
8631 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8632 #endif
8633 }
8634 return pyobj;
8635 }
8636
8637
8638 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8639 PyObject *resultobj;
8640 wxColour const &arg1_defvalue = wxNullColour ;
8641 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8642 wxColour const &arg2_defvalue = wxNullColour ;
8643 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8644 wxFont const &arg3_defvalue = wxNullFont ;
8645 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8646 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8647 wxTextAttr *result;
8648 wxColour temp1 ;
8649 wxColour temp2 ;
8650 PyObject * obj0 = 0 ;
8651 PyObject * obj1 = 0 ;
8652 PyObject * obj2 = 0 ;
8653 PyObject * obj3 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8659 if (obj0) {
8660 {
8661 arg1 = &temp1;
8662 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8663 }
8664 }
8665 if (obj1) {
8666 {
8667 arg2 = &temp2;
8668 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8669 }
8670 }
8671 if (obj2) {
8672 {
8673 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8674 if (SWIG_arg_fail(3)) SWIG_fail;
8675 if (arg3 == NULL) {
8676 SWIG_null_ref("wxFont");
8677 }
8678 if (SWIG_arg_fail(3)) SWIG_fail;
8679 }
8680 }
8681 if (obj3) {
8682 {
8683 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8684 if (SWIG_arg_fail(4)) SWIG_fail;
8685 }
8686 }
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8695 return resultobj;
8696 fail:
8697 return NULL;
8698 }
8699
8700
8701 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8702 PyObject *resultobj;
8703 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8704 PyObject * obj0 = 0 ;
8705 char *kwnames[] = {
8706 (char *) "self", NULL
8707 };
8708
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8711 if (SWIG_arg_fail(1)) SWIG_fail;
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 delete arg1;
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 Py_INCREF(Py_None); resultobj = Py_None;
8720 return resultobj;
8721 fail:
8722 return NULL;
8723 }
8724
8725
8726 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj;
8728 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8729 PyObject * obj0 = 0 ;
8730 char *kwnames[] = {
8731 (char *) "self", NULL
8732 };
8733
8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail;
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 (arg1)->Init();
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 Py_INCREF(Py_None); resultobj = Py_None;
8745 return resultobj;
8746 fail:
8747 return NULL;
8748 }
8749
8750
8751 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8752 PyObject *resultobj;
8753 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8754 wxColour *arg2 = 0 ;
8755 wxColour temp2 ;
8756 PyObject * obj0 = 0 ;
8757 PyObject * obj1 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self",(char *) "colText", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8764 if (SWIG_arg_fail(1)) SWIG_fail;
8765 {
8766 arg2 = &temp2;
8767 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8768 }
8769 {
8770 PyThreadState* __tstate = wxPyBeginAllowThreads();
8771 (arg1)->SetTextColour((wxColour const &)*arg2);
8772
8773 wxPyEndAllowThreads(__tstate);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 }
8776 Py_INCREF(Py_None); resultobj = Py_None;
8777 return resultobj;
8778 fail:
8779 return NULL;
8780 }
8781
8782
8783 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8784 PyObject *resultobj;
8785 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8786 wxColour *arg2 = 0 ;
8787 wxColour temp2 ;
8788 PyObject * obj0 = 0 ;
8789 PyObject * obj1 = 0 ;
8790 char *kwnames[] = {
8791 (char *) "self",(char *) "colBack", NULL
8792 };
8793
8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8796 if (SWIG_arg_fail(1)) SWIG_fail;
8797 {
8798 arg2 = &temp2;
8799 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8800 }
8801 {
8802 PyThreadState* __tstate = wxPyBeginAllowThreads();
8803 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8804
8805 wxPyEndAllowThreads(__tstate);
8806 if (PyErr_Occurred()) SWIG_fail;
8807 }
8808 Py_INCREF(Py_None); resultobj = Py_None;
8809 return resultobj;
8810 fail:
8811 return NULL;
8812 }
8813
8814
8815 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8816 PyObject *resultobj;
8817 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8818 wxFont *arg2 = 0 ;
8819 long arg3 = (long) wxTEXT_ATTR_FONT ;
8820 PyObject * obj0 = 0 ;
8821 PyObject * obj1 = 0 ;
8822 PyObject * obj2 = 0 ;
8823 char *kwnames[] = {
8824 (char *) "self",(char *) "font",(char *) "flags", NULL
8825 };
8826
8827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8829 if (SWIG_arg_fail(1)) SWIG_fail;
8830 {
8831 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8832 if (SWIG_arg_fail(2)) SWIG_fail;
8833 if (arg2 == NULL) {
8834 SWIG_null_ref("wxFont");
8835 }
8836 if (SWIG_arg_fail(2)) SWIG_fail;
8837 }
8838 if (obj2) {
8839 {
8840 arg3 = (long)(SWIG_As_long(obj2));
8841 if (SWIG_arg_fail(3)) SWIG_fail;
8842 }
8843 }
8844 {
8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
8846 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8847
8848 wxPyEndAllowThreads(__tstate);
8849 if (PyErr_Occurred()) SWIG_fail;
8850 }
8851 Py_INCREF(Py_None); resultobj = Py_None;
8852 return resultobj;
8853 fail:
8854 return NULL;
8855 }
8856
8857
8858 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8859 PyObject *resultobj;
8860 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8861 wxTextAttrAlignment arg2 ;
8862 PyObject * obj0 = 0 ;
8863 PyObject * obj1 = 0 ;
8864 char *kwnames[] = {
8865 (char *) "self",(char *) "alignment", NULL
8866 };
8867
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8870 if (SWIG_arg_fail(1)) SWIG_fail;
8871 {
8872 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8873 if (SWIG_arg_fail(2)) SWIG_fail;
8874 }
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 Py_INCREF(Py_None); resultobj = Py_None;
8883 return resultobj;
8884 fail:
8885 return NULL;
8886 }
8887
8888
8889 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj;
8891 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8892 wxArrayInt *arg2 = 0 ;
8893 bool temp2 = false ;
8894 PyObject * obj0 = 0 ;
8895 PyObject * obj1 = 0 ;
8896 char *kwnames[] = {
8897 (char *) "self",(char *) "tabs", NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
8901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8902 if (SWIG_arg_fail(1)) SWIG_fail;
8903 {
8904 if (! PySequence_Check(obj1)) {
8905 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8906 SWIG_fail;
8907 }
8908 arg2 = new wxArrayInt;
8909 temp2 = true;
8910 int i, len=PySequence_Length(obj1);
8911 for (i=0; i<len; i++) {
8912 PyObject* item = PySequence_GetItem(obj1, i);
8913 PyObject* number = PyNumber_Int(item);
8914 arg2->Add(PyInt_AS_LONG(number));
8915 Py_DECREF(item);
8916 Py_DECREF(number);
8917 }
8918 }
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 Py_INCREF(Py_None); resultobj = Py_None;
8927 {
8928 if (temp2) delete arg2;
8929 }
8930 return resultobj;
8931 fail:
8932 {
8933 if (temp2) delete arg2;
8934 }
8935 return NULL;
8936 }
8937
8938
8939 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8942 int arg2 ;
8943 int arg3 = (int) 0 ;
8944 PyObject * obj0 = 0 ;
8945 PyObject * obj1 = 0 ;
8946 PyObject * obj2 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
8952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8953 if (SWIG_arg_fail(1)) SWIG_fail;
8954 {
8955 arg2 = (int)(SWIG_As_int(obj1));
8956 if (SWIG_arg_fail(2)) SWIG_fail;
8957 }
8958 if (obj2) {
8959 {
8960 arg3 = (int)(SWIG_As_int(obj2));
8961 if (SWIG_arg_fail(3)) SWIG_fail;
8962 }
8963 }
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 (arg1)->SetLeftIndent(arg2,arg3);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 Py_INCREF(Py_None); resultobj = Py_None;
8972 return resultobj;
8973 fail:
8974 return NULL;
8975 }
8976
8977
8978 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8979 PyObject *resultobj;
8980 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8981 int arg2 ;
8982 PyObject * obj0 = 0 ;
8983 PyObject * obj1 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self",(char *) "indent", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
8989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8990 if (SWIG_arg_fail(1)) SWIG_fail;
8991 {
8992 arg2 = (int)(SWIG_As_int(obj1));
8993 if (SWIG_arg_fail(2)) SWIG_fail;
8994 }
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 (arg1)->SetRightIndent(arg2);
8998
8999 wxPyEndAllowThreads(__tstate);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 Py_INCREF(Py_None); resultobj = Py_None;
9003 return resultobj;
9004 fail:
9005 return NULL;
9006 }
9007
9008
9009 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9010 PyObject *resultobj;
9011 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9012 long arg2 ;
9013 PyObject * obj0 = 0 ;
9014 PyObject * obj1 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self",(char *) "flags", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) 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 arg2 = (long)(SWIG_As_long(obj1));
9024 if (SWIG_arg_fail(2)) SWIG_fail;
9025 }
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 (arg1)->SetFlags(arg2);
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 Py_INCREF(Py_None); resultobj = Py_None;
9034 return resultobj;
9035 fail:
9036 return NULL;
9037 }
9038
9039
9040 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9041 PyObject *resultobj;
9042 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9043 bool result;
9044 PyObject * obj0 = 0 ;
9045 char *kwnames[] = {
9046 (char *) "self", NULL
9047 };
9048
9049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9051 if (SWIG_arg_fail(1)) SWIG_fail;
9052 {
9053 PyThreadState* __tstate = wxPyBeginAllowThreads();
9054 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9055
9056 wxPyEndAllowThreads(__tstate);
9057 if (PyErr_Occurred()) SWIG_fail;
9058 }
9059 {
9060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9061 }
9062 return resultobj;
9063 fail:
9064 return NULL;
9065 }
9066
9067
9068 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9071 bool result;
9072 PyObject * obj0 = 0 ;
9073 char *kwnames[] = {
9074 (char *) "self", NULL
9075 };
9076
9077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9079 if (SWIG_arg_fail(1)) SWIG_fail;
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 {
9088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9089 }
9090 return resultobj;
9091 fail:
9092 return NULL;
9093 }
9094
9095
9096 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9099 bool result;
9100 PyObject * obj0 = 0 ;
9101 char *kwnames[] = {
9102 (char *) "self", NULL
9103 };
9104
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9107 if (SWIG_arg_fail(1)) SWIG_fail;
9108 {
9109 PyThreadState* __tstate = wxPyBeginAllowThreads();
9110 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9111
9112 wxPyEndAllowThreads(__tstate);
9113 if (PyErr_Occurred()) SWIG_fail;
9114 }
9115 {
9116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9117 }
9118 return resultobj;
9119 fail:
9120 return NULL;
9121 }
9122
9123
9124 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9125 PyObject *resultobj;
9126 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9127 bool result;
9128 PyObject * obj0 = 0 ;
9129 char *kwnames[] = {
9130 (char *) "self", NULL
9131 };
9132
9133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9135 if (SWIG_arg_fail(1)) SWIG_fail;
9136 {
9137 PyThreadState* __tstate = wxPyBeginAllowThreads();
9138 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9139
9140 wxPyEndAllowThreads(__tstate);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 {
9144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9145 }
9146 return resultobj;
9147 fail:
9148 return NULL;
9149 }
9150
9151
9152 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj;
9154 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9155 bool result;
9156 PyObject * obj0 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9163 if (SWIG_arg_fail(1)) SWIG_fail;
9164 {
9165 PyThreadState* __tstate = wxPyBeginAllowThreads();
9166 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9167
9168 wxPyEndAllowThreads(__tstate);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 }
9171 {
9172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9173 }
9174 return resultobj;
9175 fail:
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9183 bool result;
9184 PyObject * obj0 = 0 ;
9185 char *kwnames[] = {
9186 (char *) "self", NULL
9187 };
9188
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9191 if (SWIG_arg_fail(1)) SWIG_fail;
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9195
9196 wxPyEndAllowThreads(__tstate);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 {
9200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9201 }
9202 return resultobj;
9203 fail:
9204 return NULL;
9205 }
9206
9207
9208 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9209 PyObject *resultobj;
9210 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9211 bool result;
9212 PyObject * obj0 = 0 ;
9213 char *kwnames[] = {
9214 (char *) "self", NULL
9215 };
9216
9217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 {
9228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9229 }
9230 return resultobj;
9231 fail:
9232 return NULL;
9233 }
9234
9235
9236 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj;
9238 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9239 long arg2 ;
9240 bool result;
9241 PyObject * obj0 = 0 ;
9242 PyObject * obj1 = 0 ;
9243 char *kwnames[] = {
9244 (char *) "self",(char *) "flag", NULL
9245 };
9246
9247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9249 if (SWIG_arg_fail(1)) SWIG_fail;
9250 {
9251 arg2 = (long)(SWIG_As_long(obj1));
9252 if (SWIG_arg_fail(2)) SWIG_fail;
9253 }
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 {
9262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9263 }
9264 return resultobj;
9265 fail:
9266 return NULL;
9267 }
9268
9269
9270 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj;
9272 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9273 wxColour *result;
9274 PyObject * obj0 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "self", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9281 if (SWIG_arg_fail(1)) SWIG_fail;
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 {
9285 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9286 result = (wxColour *) &_result_ref;
9287 }
9288
9289 wxPyEndAllowThreads(__tstate);
9290 if (PyErr_Occurred()) SWIG_fail;
9291 }
9292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9293 return resultobj;
9294 fail:
9295 return NULL;
9296 }
9297
9298
9299 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9300 PyObject *resultobj;
9301 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9302 wxColour *result;
9303 PyObject * obj0 = 0 ;
9304 char *kwnames[] = {
9305 (char *) "self", NULL
9306 };
9307
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9310 if (SWIG_arg_fail(1)) SWIG_fail;
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 {
9314 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9315 result = (wxColour *) &_result_ref;
9316 }
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9322 return resultobj;
9323 fail:
9324 return NULL;
9325 }
9326
9327
9328 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9329 PyObject *resultobj;
9330 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9331 wxFont *result;
9332 PyObject * obj0 = 0 ;
9333 char *kwnames[] = {
9334 (char *) "self", NULL
9335 };
9336
9337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9339 if (SWIG_arg_fail(1)) SWIG_fail;
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 {
9343 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9344 result = (wxFont *) &_result_ref;
9345 }
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 {
9351 wxFont* resultptr = new wxFont(*result);
9352 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9353 }
9354 return resultobj;
9355 fail:
9356 return NULL;
9357 }
9358
9359
9360 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9361 PyObject *resultobj;
9362 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9363 wxTextAttrAlignment result;
9364 PyObject * obj0 = 0 ;
9365 char *kwnames[] = {
9366 (char *) "self", NULL
9367 };
9368
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9371 if (SWIG_arg_fail(1)) SWIG_fail;
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 resultobj = SWIG_From_int((result));
9380 return resultobj;
9381 fail:
9382 return NULL;
9383 }
9384
9385
9386 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9387 PyObject *resultobj;
9388 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9389 wxArrayInt *result;
9390 PyObject * obj0 = 0 ;
9391 char *kwnames[] = {
9392 (char *) "self", NULL
9393 };
9394
9395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9397 if (SWIG_arg_fail(1)) SWIG_fail;
9398 {
9399 PyThreadState* __tstate = wxPyBeginAllowThreads();
9400 {
9401 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9402 result = (wxArrayInt *) &_result_ref;
9403 }
9404
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
9408 {
9409 resultobj = PyList_New(0);
9410 size_t idx;
9411 for (idx = 0; idx < result->GetCount(); idx += 1) {
9412 PyObject* val = PyInt_FromLong( result->Item(idx) );
9413 PyList_Append(resultobj, val);
9414 Py_DECREF(val);
9415 }
9416 }
9417 return resultobj;
9418 fail:
9419 return NULL;
9420 }
9421
9422
9423 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9424 PyObject *resultobj;
9425 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9426 long result;
9427 PyObject * obj0 = 0 ;
9428 char *kwnames[] = {
9429 (char *) "self", NULL
9430 };
9431
9432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9434 if (SWIG_arg_fail(1)) SWIG_fail;
9435 {
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9438
9439 wxPyEndAllowThreads(__tstate);
9440 if (PyErr_Occurred()) SWIG_fail;
9441 }
9442 {
9443 resultobj = SWIG_From_long((long)(result));
9444 }
9445 return resultobj;
9446 fail:
9447 return NULL;
9448 }
9449
9450
9451 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9452 PyObject *resultobj;
9453 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9454 long result;
9455 PyObject * obj0 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "self", NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9462 if (SWIG_arg_fail(1)) SWIG_fail;
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
9470 {
9471 resultobj = SWIG_From_long((long)(result));
9472 }
9473 return resultobj;
9474 fail:
9475 return NULL;
9476 }
9477
9478
9479 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj;
9481 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9482 long result;
9483 PyObject * obj0 = 0 ;
9484 char *kwnames[] = {
9485 (char *) "self", NULL
9486 };
9487
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9490 if (SWIG_arg_fail(1)) SWIG_fail;
9491 {
9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
9493 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9494
9495 wxPyEndAllowThreads(__tstate);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 }
9498 {
9499 resultobj = SWIG_From_long((long)(result));
9500 }
9501 return resultobj;
9502 fail:
9503 return NULL;
9504 }
9505
9506
9507 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9508 PyObject *resultobj;
9509 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9510 long result;
9511 PyObject * obj0 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "self", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9518 if (SWIG_arg_fail(1)) SWIG_fail;
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 {
9527 resultobj = SWIG_From_long((long)(result));
9528 }
9529 return resultobj;
9530 fail:
9531 return NULL;
9532 }
9533
9534
9535 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9536 PyObject *resultobj;
9537 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9538 bool result;
9539 PyObject * obj0 = 0 ;
9540 char *kwnames[] = {
9541 (char *) "self", NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9546 if (SWIG_arg_fail(1)) SWIG_fail;
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 {
9555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9556 }
9557 return resultobj;
9558 fail:
9559 return NULL;
9560 }
9561
9562
9563 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9564 PyObject *resultobj;
9565 wxTextAttr *arg1 = 0 ;
9566 wxTextAttr *arg2 = 0 ;
9567 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9568 wxTextAttr result;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj1 = 0 ;
9571 PyObject * obj2 = 0 ;
9572 char *kwnames[] = {
9573 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9574 };
9575
9576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9577 {
9578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9579 if (SWIG_arg_fail(1)) SWIG_fail;
9580 if (arg1 == NULL) {
9581 SWIG_null_ref("wxTextAttr");
9582 }
9583 if (SWIG_arg_fail(1)) SWIG_fail;
9584 }
9585 {
9586 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9587 if (SWIG_arg_fail(2)) SWIG_fail;
9588 if (arg2 == NULL) {
9589 SWIG_null_ref("wxTextAttr");
9590 }
9591 if (SWIG_arg_fail(2)) SWIG_fail;
9592 }
9593 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9594 if (SWIG_arg_fail(3)) SWIG_fail;
9595 {
9596 PyThreadState* __tstate = wxPyBeginAllowThreads();
9597 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9598
9599 wxPyEndAllowThreads(__tstate);
9600 if (PyErr_Occurred()) SWIG_fail;
9601 }
9602 {
9603 wxTextAttr * resultptr;
9604 resultptr = new wxTextAttr((wxTextAttr &)(result));
9605 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9606 }
9607 return resultobj;
9608 fail:
9609 return NULL;
9610 }
9611
9612
9613 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9614 PyObject *obj;
9615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9616 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9617 Py_INCREF(obj);
9618 return Py_BuildValue((char *)"");
9619 }
9620 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9621 PyObject *resultobj;
9622 wxWindow *arg1 = (wxWindow *) 0 ;
9623 int arg2 = (int) -1 ;
9624 wxString const &arg3_defvalue = wxPyEmptyString ;
9625 wxString *arg3 = (wxString *) &arg3_defvalue ;
9626 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9627 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9628 wxSize const &arg5_defvalue = wxDefaultSize ;
9629 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9630 long arg6 = (long) 0 ;
9631 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9632 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9633 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9634 wxString *arg8 = (wxString *) &arg8_defvalue ;
9635 wxTextCtrl *result;
9636 bool temp3 = false ;
9637 wxPoint temp4 ;
9638 wxSize temp5 ;
9639 bool temp8 = false ;
9640 PyObject * obj0 = 0 ;
9641 PyObject * obj1 = 0 ;
9642 PyObject * obj2 = 0 ;
9643 PyObject * obj3 = 0 ;
9644 PyObject * obj4 = 0 ;
9645 PyObject * obj5 = 0 ;
9646 PyObject * obj6 = 0 ;
9647 PyObject * obj7 = 0 ;
9648 char *kwnames[] = {
9649 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9650 };
9651
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9654 if (SWIG_arg_fail(1)) SWIG_fail;
9655 if (obj1) {
9656 {
9657 arg2 = (int)(SWIG_As_int(obj1));
9658 if (SWIG_arg_fail(2)) SWIG_fail;
9659 }
9660 }
9661 if (obj2) {
9662 {
9663 arg3 = wxString_in_helper(obj2);
9664 if (arg3 == NULL) SWIG_fail;
9665 temp3 = true;
9666 }
9667 }
9668 if (obj3) {
9669 {
9670 arg4 = &temp4;
9671 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9672 }
9673 }
9674 if (obj4) {
9675 {
9676 arg5 = &temp5;
9677 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9678 }
9679 }
9680 if (obj5) {
9681 {
9682 arg6 = (long)(SWIG_As_long(obj5));
9683 if (SWIG_arg_fail(6)) SWIG_fail;
9684 }
9685 }
9686 if (obj6) {
9687 {
9688 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9689 if (SWIG_arg_fail(7)) SWIG_fail;
9690 if (arg7 == NULL) {
9691 SWIG_null_ref("wxValidator");
9692 }
9693 if (SWIG_arg_fail(7)) SWIG_fail;
9694 }
9695 }
9696 if (obj7) {
9697 {
9698 arg8 = wxString_in_helper(obj7);
9699 if (arg8 == NULL) SWIG_fail;
9700 temp8 = true;
9701 }
9702 }
9703 {
9704 if (!wxPyCheckForApp()) SWIG_fail;
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
9706 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9707
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
9711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9712 {
9713 if (temp3)
9714 delete arg3;
9715 }
9716 {
9717 if (temp8)
9718 delete arg8;
9719 }
9720 return resultobj;
9721 fail:
9722 {
9723 if (temp3)
9724 delete arg3;
9725 }
9726 {
9727 if (temp8)
9728 delete arg8;
9729 }
9730 return NULL;
9731 }
9732
9733
9734 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj;
9736 wxTextCtrl *result;
9737 char *kwnames[] = {
9738 NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9742 {
9743 if (!wxPyCheckForApp()) SWIG_fail;
9744 PyThreadState* __tstate = wxPyBeginAllowThreads();
9745 result = (wxTextCtrl *)new wxTextCtrl();
9746
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj;
9759 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9760 wxWindow *arg2 = (wxWindow *) 0 ;
9761 int arg3 = (int) -1 ;
9762 wxString const &arg4_defvalue = wxPyEmptyString ;
9763 wxString *arg4 = (wxString *) &arg4_defvalue ;
9764 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9765 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9766 wxSize const &arg6_defvalue = wxDefaultSize ;
9767 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9768 long arg7 = (long) 0 ;
9769 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9770 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9771 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9772 wxString *arg9 = (wxString *) &arg9_defvalue ;
9773 bool result;
9774 bool temp4 = false ;
9775 wxPoint temp5 ;
9776 wxSize temp6 ;
9777 bool temp9 = false ;
9778 PyObject * obj0 = 0 ;
9779 PyObject * obj1 = 0 ;
9780 PyObject * obj2 = 0 ;
9781 PyObject * obj3 = 0 ;
9782 PyObject * obj4 = 0 ;
9783 PyObject * obj5 = 0 ;
9784 PyObject * obj6 = 0 ;
9785 PyObject * obj7 = 0 ;
9786 PyObject * obj8 = 0 ;
9787 char *kwnames[] = {
9788 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9789 };
9790
9791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9793 if (SWIG_arg_fail(1)) SWIG_fail;
9794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9795 if (SWIG_arg_fail(2)) SWIG_fail;
9796 if (obj2) {
9797 {
9798 arg3 = (int)(SWIG_As_int(obj2));
9799 if (SWIG_arg_fail(3)) SWIG_fail;
9800 }
9801 }
9802 if (obj3) {
9803 {
9804 arg4 = wxString_in_helper(obj3);
9805 if (arg4 == NULL) SWIG_fail;
9806 temp4 = true;
9807 }
9808 }
9809 if (obj4) {
9810 {
9811 arg5 = &temp5;
9812 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9813 }
9814 }
9815 if (obj5) {
9816 {
9817 arg6 = &temp6;
9818 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9819 }
9820 }
9821 if (obj6) {
9822 {
9823 arg7 = (long)(SWIG_As_long(obj6));
9824 if (SWIG_arg_fail(7)) SWIG_fail;
9825 }
9826 }
9827 if (obj7) {
9828 {
9829 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9830 if (SWIG_arg_fail(8)) SWIG_fail;
9831 if (arg8 == NULL) {
9832 SWIG_null_ref("wxValidator");
9833 }
9834 if (SWIG_arg_fail(8)) SWIG_fail;
9835 }
9836 }
9837 if (obj8) {
9838 {
9839 arg9 = wxString_in_helper(obj8);
9840 if (arg9 == NULL) SWIG_fail;
9841 temp9 = true;
9842 }
9843 }
9844 {
9845 PyThreadState* __tstate = wxPyBeginAllowThreads();
9846 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9847
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 {
9852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9853 }
9854 {
9855 if (temp4)
9856 delete arg4;
9857 }
9858 {
9859 if (temp9)
9860 delete arg9;
9861 }
9862 return resultobj;
9863 fail:
9864 {
9865 if (temp4)
9866 delete arg4;
9867 }
9868 {
9869 if (temp9)
9870 delete arg9;
9871 }
9872 return NULL;
9873 }
9874
9875
9876 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9877 PyObject *resultobj;
9878 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9879 wxString result;
9880 PyObject * obj0 = 0 ;
9881 char *kwnames[] = {
9882 (char *) "self", NULL
9883 };
9884
9885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
9886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9887 if (SWIG_arg_fail(1)) SWIG_fail;
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 result = ((wxTextCtrl const *)arg1)->GetValue();
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 {
9896 #if wxUSE_UNICODE
9897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9898 #else
9899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9900 #endif
9901 }
9902 return resultobj;
9903 fail:
9904 return NULL;
9905 }
9906
9907
9908 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9909 PyObject *resultobj;
9910 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9911 wxString *arg2 = 0 ;
9912 bool temp2 = false ;
9913 PyObject * obj0 = 0 ;
9914 PyObject * obj1 = 0 ;
9915 char *kwnames[] = {
9916 (char *) "self",(char *) "value", NULL
9917 };
9918
9919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
9920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9921 if (SWIG_arg_fail(1)) SWIG_fail;
9922 {
9923 arg2 = wxString_in_helper(obj1);
9924 if (arg2 == NULL) SWIG_fail;
9925 temp2 = true;
9926 }
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 (arg1)->SetValue((wxString const &)*arg2);
9930
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
9934 Py_INCREF(Py_None); resultobj = Py_None;
9935 {
9936 if (temp2)
9937 delete arg2;
9938 }
9939 return resultobj;
9940 fail:
9941 {
9942 if (temp2)
9943 delete arg2;
9944 }
9945 return NULL;
9946 }
9947
9948
9949 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9950 PyObject *resultobj;
9951 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9952 long arg2 ;
9953 long arg3 ;
9954 wxString result;
9955 PyObject * obj0 = 0 ;
9956 PyObject * obj1 = 0 ;
9957 PyObject * obj2 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self",(char *) "from",(char *) "to", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9964 if (SWIG_arg_fail(1)) SWIG_fail;
9965 {
9966 arg2 = (long)(SWIG_As_long(obj1));
9967 if (SWIG_arg_fail(2)) SWIG_fail;
9968 }
9969 {
9970 arg3 = (long)(SWIG_As_long(obj2));
9971 if (SWIG_arg_fail(3)) SWIG_fail;
9972 }
9973 {
9974 PyThreadState* __tstate = wxPyBeginAllowThreads();
9975 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9976
9977 wxPyEndAllowThreads(__tstate);
9978 if (PyErr_Occurred()) SWIG_fail;
9979 }
9980 {
9981 #if wxUSE_UNICODE
9982 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9983 #else
9984 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9985 #endif
9986 }
9987 return resultobj;
9988 fail:
9989 return NULL;
9990 }
9991
9992
9993 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj;
9995 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9996 long arg2 ;
9997 int result;
9998 PyObject * obj0 = 0 ;
9999 PyObject * obj1 = 0 ;
10000 char *kwnames[] = {
10001 (char *) "self",(char *) "lineNo", NULL
10002 };
10003
10004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
10005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10006 if (SWIG_arg_fail(1)) SWIG_fail;
10007 {
10008 arg2 = (long)(SWIG_As_long(obj1));
10009 if (SWIG_arg_fail(2)) SWIG_fail;
10010 }
10011 {
10012 PyThreadState* __tstate = wxPyBeginAllowThreads();
10013 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10014
10015 wxPyEndAllowThreads(__tstate);
10016 if (PyErr_Occurred()) SWIG_fail;
10017 }
10018 {
10019 resultobj = SWIG_From_int((int)(result));
10020 }
10021 return resultobj;
10022 fail:
10023 return NULL;
10024 }
10025
10026
10027 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
10028 PyObject *resultobj;
10029 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10030 long arg2 ;
10031 wxString result;
10032 PyObject * obj0 = 0 ;
10033 PyObject * obj1 = 0 ;
10034 char *kwnames[] = {
10035 (char *) "self",(char *) "lineNo", NULL
10036 };
10037
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10040 if (SWIG_arg_fail(1)) SWIG_fail;
10041 {
10042 arg2 = (long)(SWIG_As_long(obj1));
10043 if (SWIG_arg_fail(2)) SWIG_fail;
10044 }
10045 {
10046 PyThreadState* __tstate = wxPyBeginAllowThreads();
10047 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10048
10049 wxPyEndAllowThreads(__tstate);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 }
10052 {
10053 #if wxUSE_UNICODE
10054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10055 #else
10056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10057 #endif
10058 }
10059 return resultobj;
10060 fail:
10061 return NULL;
10062 }
10063
10064
10065 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10066 PyObject *resultobj;
10067 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10068 int result;
10069 PyObject * obj0 = 0 ;
10070 char *kwnames[] = {
10071 (char *) "self", NULL
10072 };
10073
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10076 if (SWIG_arg_fail(1)) SWIG_fail;
10077 {
10078 PyThreadState* __tstate = wxPyBeginAllowThreads();
10079 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10080
10081 wxPyEndAllowThreads(__tstate);
10082 if (PyErr_Occurred()) SWIG_fail;
10083 }
10084 {
10085 resultobj = SWIG_From_int((int)(result));
10086 }
10087 return resultobj;
10088 fail:
10089 return NULL;
10090 }
10091
10092
10093 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10094 PyObject *resultobj;
10095 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10096 bool result;
10097 PyObject * obj0 = 0 ;
10098 char *kwnames[] = {
10099 (char *) "self", NULL
10100 };
10101
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10104 if (SWIG_arg_fail(1)) SWIG_fail;
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 {
10113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10114 }
10115 return resultobj;
10116 fail:
10117 return NULL;
10118 }
10119
10120
10121 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10124 bool result;
10125 PyObject * obj0 = 0 ;
10126 char *kwnames[] = {
10127 (char *) "self", NULL
10128 };
10129
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail;
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 {
10141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10142 }
10143 return resultobj;
10144 fail:
10145 return NULL;
10146 }
10147
10148
10149 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj;
10151 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10152 bool result;
10153 PyObject * obj0 = 0 ;
10154 char *kwnames[] = {
10155 (char *) "self", NULL
10156 };
10157
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10160 if (SWIG_arg_fail(1)) SWIG_fail;
10161 {
10162 PyThreadState* __tstate = wxPyBeginAllowThreads();
10163 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10164
10165 wxPyEndAllowThreads(__tstate);
10166 if (PyErr_Occurred()) SWIG_fail;
10167 }
10168 {
10169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10170 }
10171 return resultobj;
10172 fail:
10173 return NULL;
10174 }
10175
10176
10177 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10178 PyObject *resultobj;
10179 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10180 bool result;
10181 PyObject * obj0 = 0 ;
10182 char *kwnames[] = {
10183 (char *) "self", NULL
10184 };
10185
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10188 if (SWIG_arg_fail(1)) SWIG_fail;
10189 {
10190 PyThreadState* __tstate = wxPyBeginAllowThreads();
10191 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10192
10193 wxPyEndAllowThreads(__tstate);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
10196 {
10197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10198 }
10199 return resultobj;
10200 fail:
10201 return NULL;
10202 }
10203
10204
10205 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj;
10207 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10208 long *arg2 = (long *) 0 ;
10209 long *arg3 = (long *) 0 ;
10210 long temp2 ;
10211 int res2 = 0 ;
10212 long temp3 ;
10213 int res3 = 0 ;
10214 PyObject * obj0 = 0 ;
10215 char *kwnames[] = {
10216 (char *) "self", NULL
10217 };
10218
10219 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10220 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",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 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 Py_INCREF(Py_None); resultobj = Py_None;
10232 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10233 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10234 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10235 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10236 return resultobj;
10237 fail:
10238 return NULL;
10239 }
10240
10241
10242 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10243 PyObject *resultobj;
10244 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10245 wxString result;
10246 PyObject * obj0 = 0 ;
10247 char *kwnames[] = {
10248 (char *) "self", NULL
10249 };
10250
10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10253 if (SWIG_arg_fail(1)) SWIG_fail;
10254 {
10255 PyThreadState* __tstate = wxPyBeginAllowThreads();
10256 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10257
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 {
10262 #if wxUSE_UNICODE
10263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10264 #else
10265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10266 #endif
10267 }
10268 return resultobj;
10269 fail:
10270 return NULL;
10271 }
10272
10273
10274 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10275 PyObject *resultobj;
10276 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10277 PyObject * obj0 = 0 ;
10278 char *kwnames[] = {
10279 (char *) "self", NULL
10280 };
10281
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10284 if (SWIG_arg_fail(1)) SWIG_fail;
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 (arg1)->Clear();
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 Py_INCREF(Py_None); resultobj = Py_None;
10293 return resultobj;
10294 fail:
10295 return NULL;
10296 }
10297
10298
10299 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10300 PyObject *resultobj;
10301 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10302 long arg2 ;
10303 long arg3 ;
10304 wxString *arg4 = 0 ;
10305 bool temp4 = false ;
10306 PyObject * obj0 = 0 ;
10307 PyObject * obj1 = 0 ;
10308 PyObject * obj2 = 0 ;
10309 PyObject * obj3 = 0 ;
10310 char *kwnames[] = {
10311 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10312 };
10313
10314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10316 if (SWIG_arg_fail(1)) SWIG_fail;
10317 {
10318 arg2 = (long)(SWIG_As_long(obj1));
10319 if (SWIG_arg_fail(2)) SWIG_fail;
10320 }
10321 {
10322 arg3 = (long)(SWIG_As_long(obj2));
10323 if (SWIG_arg_fail(3)) SWIG_fail;
10324 }
10325 {
10326 arg4 = wxString_in_helper(obj3);
10327 if (arg4 == NULL) SWIG_fail;
10328 temp4 = true;
10329 }
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 Py_INCREF(Py_None); resultobj = Py_None;
10338 {
10339 if (temp4)
10340 delete arg4;
10341 }
10342 return resultobj;
10343 fail:
10344 {
10345 if (temp4)
10346 delete arg4;
10347 }
10348 return NULL;
10349 }
10350
10351
10352 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10353 PyObject *resultobj;
10354 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10355 long arg2 ;
10356 long arg3 ;
10357 PyObject * obj0 = 0 ;
10358 PyObject * obj1 = 0 ;
10359 PyObject * obj2 = 0 ;
10360 char *kwnames[] = {
10361 (char *) "self",(char *) "from",(char *) "to", NULL
10362 };
10363
10364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10366 if (SWIG_arg_fail(1)) SWIG_fail;
10367 {
10368 arg2 = (long)(SWIG_As_long(obj1));
10369 if (SWIG_arg_fail(2)) SWIG_fail;
10370 }
10371 {
10372 arg3 = (long)(SWIG_As_long(obj2));
10373 if (SWIG_arg_fail(3)) SWIG_fail;
10374 }
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 (arg1)->Remove(arg2,arg3);
10378
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 Py_INCREF(Py_None); resultobj = Py_None;
10383 return resultobj;
10384 fail:
10385 return NULL;
10386 }
10387
10388
10389 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj;
10391 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10392 wxString *arg2 = 0 ;
10393 bool result;
10394 bool temp2 = false ;
10395 PyObject * obj0 = 0 ;
10396 PyObject * obj1 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self",(char *) "file", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10403 if (SWIG_arg_fail(1)) SWIG_fail;
10404 {
10405 arg2 = wxString_in_helper(obj1);
10406 if (arg2 == NULL) SWIG_fail;
10407 temp2 = true;
10408 }
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 {
10417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10418 }
10419 {
10420 if (temp2)
10421 delete arg2;
10422 }
10423 return resultobj;
10424 fail:
10425 {
10426 if (temp2)
10427 delete arg2;
10428 }
10429 return NULL;
10430 }
10431
10432
10433 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10434 PyObject *resultobj;
10435 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10436 wxString const &arg2_defvalue = wxPyEmptyString ;
10437 wxString *arg2 = (wxString *) &arg2_defvalue ;
10438 bool result;
10439 bool temp2 = false ;
10440 PyObject * obj0 = 0 ;
10441 PyObject * obj1 = 0 ;
10442 char *kwnames[] = {
10443 (char *) "self",(char *) "file", NULL
10444 };
10445
10446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10448 if (SWIG_arg_fail(1)) SWIG_fail;
10449 if (obj1) {
10450 {
10451 arg2 = wxString_in_helper(obj1);
10452 if (arg2 == NULL) SWIG_fail;
10453 temp2 = true;
10454 }
10455 }
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 {
10464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10465 }
10466 {
10467 if (temp2)
10468 delete arg2;
10469 }
10470 return resultobj;
10471 fail:
10472 {
10473 if (temp2)
10474 delete arg2;
10475 }
10476 return NULL;
10477 }
10478
10479
10480 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10481 PyObject *resultobj;
10482 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10483 PyObject * obj0 = 0 ;
10484 char *kwnames[] = {
10485 (char *) "self", NULL
10486 };
10487
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10490 if (SWIG_arg_fail(1)) SWIG_fail;
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 (arg1)->MarkDirty();
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 Py_INCREF(Py_None); resultobj = Py_None;
10499 return resultobj;
10500 fail:
10501 return NULL;
10502 }
10503
10504
10505 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj;
10507 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10508 PyObject * obj0 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10515 if (SWIG_arg_fail(1)) SWIG_fail;
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 (arg1)->DiscardEdits();
10519
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 Py_INCREF(Py_None); resultobj = Py_None;
10524 return resultobj;
10525 fail:
10526 return NULL;
10527 }
10528
10529
10530 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10531 PyObject *resultobj;
10532 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10533 unsigned long arg2 ;
10534 PyObject * obj0 = 0 ;
10535 PyObject * obj1 = 0 ;
10536 char *kwnames[] = {
10537 (char *) "self",(char *) "len", NULL
10538 };
10539
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10542 if (SWIG_arg_fail(1)) SWIG_fail;
10543 {
10544 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10545 if (SWIG_arg_fail(2)) SWIG_fail;
10546 }
10547 {
10548 PyThreadState* __tstate = wxPyBeginAllowThreads();
10549 (arg1)->SetMaxLength(arg2);
10550
10551 wxPyEndAllowThreads(__tstate);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
10554 Py_INCREF(Py_None); resultobj = Py_None;
10555 return resultobj;
10556 fail:
10557 return NULL;
10558 }
10559
10560
10561 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10562 PyObject *resultobj;
10563 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10564 wxString *arg2 = 0 ;
10565 bool temp2 = false ;
10566 PyObject * obj0 = 0 ;
10567 PyObject * obj1 = 0 ;
10568 char *kwnames[] = {
10569 (char *) "self",(char *) "text", NULL
10570 };
10571
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10574 if (SWIG_arg_fail(1)) SWIG_fail;
10575 {
10576 arg2 = wxString_in_helper(obj1);
10577 if (arg2 == NULL) SWIG_fail;
10578 temp2 = true;
10579 }
10580 {
10581 PyThreadState* __tstate = wxPyBeginAllowThreads();
10582 (arg1)->WriteText((wxString const &)*arg2);
10583
10584 wxPyEndAllowThreads(__tstate);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 }
10587 Py_INCREF(Py_None); resultobj = Py_None;
10588 {
10589 if (temp2)
10590 delete arg2;
10591 }
10592 return resultobj;
10593 fail:
10594 {
10595 if (temp2)
10596 delete arg2;
10597 }
10598 return NULL;
10599 }
10600
10601
10602 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10603 PyObject *resultobj;
10604 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10605 wxString *arg2 = 0 ;
10606 bool temp2 = false ;
10607 PyObject * obj0 = 0 ;
10608 PyObject * obj1 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "self",(char *) "text", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10615 if (SWIG_arg_fail(1)) SWIG_fail;
10616 {
10617 arg2 = wxString_in_helper(obj1);
10618 if (arg2 == NULL) SWIG_fail;
10619 temp2 = true;
10620 }
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 (arg1)->AppendText((wxString const &)*arg2);
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 Py_INCREF(Py_None); resultobj = Py_None;
10629 {
10630 if (temp2)
10631 delete arg2;
10632 }
10633 return resultobj;
10634 fail:
10635 {
10636 if (temp2)
10637 delete arg2;
10638 }
10639 return NULL;
10640 }
10641
10642
10643 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10644 PyObject *resultobj;
10645 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10646 wxKeyEvent *arg2 = 0 ;
10647 bool result;
10648 PyObject * obj0 = 0 ;
10649 PyObject * obj1 = 0 ;
10650 char *kwnames[] = {
10651 (char *) "self",(char *) "event", NULL
10652 };
10653
10654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10656 if (SWIG_arg_fail(1)) SWIG_fail;
10657 {
10658 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10659 if (SWIG_arg_fail(2)) SWIG_fail;
10660 if (arg2 == NULL) {
10661 SWIG_null_ref("wxKeyEvent");
10662 }
10663 if (SWIG_arg_fail(2)) SWIG_fail;
10664 }
10665 {
10666 PyThreadState* __tstate = wxPyBeginAllowThreads();
10667 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10668
10669 wxPyEndAllowThreads(__tstate);
10670 if (PyErr_Occurred()) SWIG_fail;
10671 }
10672 {
10673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10674 }
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj;
10683 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10684 long arg2 ;
10685 long arg3 ;
10686 wxTextAttr *arg4 = 0 ;
10687 bool result;
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 PyObject * obj2 = 0 ;
10691 PyObject * obj3 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10698 if (SWIG_arg_fail(1)) SWIG_fail;
10699 {
10700 arg2 = (long)(SWIG_As_long(obj1));
10701 if (SWIG_arg_fail(2)) SWIG_fail;
10702 }
10703 {
10704 arg3 = (long)(SWIG_As_long(obj2));
10705 if (SWIG_arg_fail(3)) SWIG_fail;
10706 }
10707 {
10708 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10709 if (SWIG_arg_fail(4)) SWIG_fail;
10710 if (arg4 == NULL) {
10711 SWIG_null_ref("wxTextAttr");
10712 }
10713 if (SWIG_arg_fail(4)) SWIG_fail;
10714 }
10715 {
10716 PyThreadState* __tstate = wxPyBeginAllowThreads();
10717 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10718
10719 wxPyEndAllowThreads(__tstate);
10720 if (PyErr_Occurred()) SWIG_fail;
10721 }
10722 {
10723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10724 }
10725 return resultobj;
10726 fail:
10727 return NULL;
10728 }
10729
10730
10731 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10732 PyObject *resultobj;
10733 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10734 long arg2 ;
10735 wxTextAttr *arg3 = 0 ;
10736 bool result;
10737 PyObject * obj0 = 0 ;
10738 PyObject * obj1 = 0 ;
10739 PyObject * obj2 = 0 ;
10740 char *kwnames[] = {
10741 (char *) "self",(char *) "position",(char *) "style", NULL
10742 };
10743
10744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10746 if (SWIG_arg_fail(1)) SWIG_fail;
10747 {
10748 arg2 = (long)(SWIG_As_long(obj1));
10749 if (SWIG_arg_fail(2)) SWIG_fail;
10750 }
10751 {
10752 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10753 if (SWIG_arg_fail(3)) SWIG_fail;
10754 if (arg3 == NULL) {
10755 SWIG_null_ref("wxTextAttr");
10756 }
10757 if (SWIG_arg_fail(3)) SWIG_fail;
10758 }
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10762
10763 wxPyEndAllowThreads(__tstate);
10764 if (PyErr_Occurred()) SWIG_fail;
10765 }
10766 {
10767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10768 }
10769 return resultobj;
10770 fail:
10771 return NULL;
10772 }
10773
10774
10775 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj;
10777 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10778 wxTextAttr *arg2 = 0 ;
10779 bool result;
10780 PyObject * obj0 = 0 ;
10781 PyObject * obj1 = 0 ;
10782 char *kwnames[] = {
10783 (char *) "self",(char *) "style", NULL
10784 };
10785
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10788 if (SWIG_arg_fail(1)) SWIG_fail;
10789 {
10790 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10791 if (SWIG_arg_fail(2)) SWIG_fail;
10792 if (arg2 == NULL) {
10793 SWIG_null_ref("wxTextAttr");
10794 }
10795 if (SWIG_arg_fail(2)) SWIG_fail;
10796 }
10797 {
10798 PyThreadState* __tstate = wxPyBeginAllowThreads();
10799 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10800
10801 wxPyEndAllowThreads(__tstate);
10802 if (PyErr_Occurred()) SWIG_fail;
10803 }
10804 {
10805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10806 }
10807 return resultobj;
10808 fail:
10809 return NULL;
10810 }
10811
10812
10813 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10814 PyObject *resultobj;
10815 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10816 wxTextAttr *result;
10817 PyObject * obj0 = 0 ;
10818 char *kwnames[] = {
10819 (char *) "self", NULL
10820 };
10821
10822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
10823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10824 if (SWIG_arg_fail(1)) SWIG_fail;
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 {
10828 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10829 result = (wxTextAttr *) &_result_ref;
10830 }
10831
10832 wxPyEndAllowThreads(__tstate);
10833 if (PyErr_Occurred()) SWIG_fail;
10834 }
10835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10836 return resultobj;
10837 fail:
10838 return NULL;
10839 }
10840
10841
10842 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj;
10844 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10845 long arg2 ;
10846 long arg3 ;
10847 long result;
10848 PyObject * obj0 = 0 ;
10849 PyObject * obj1 = 0 ;
10850 PyObject * obj2 = 0 ;
10851 char *kwnames[] = {
10852 (char *) "self",(char *) "x",(char *) "y", NULL
10853 };
10854
10855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
10856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10857 if (SWIG_arg_fail(1)) SWIG_fail;
10858 {
10859 arg2 = (long)(SWIG_As_long(obj1));
10860 if (SWIG_arg_fail(2)) SWIG_fail;
10861 }
10862 {
10863 arg3 = (long)(SWIG_As_long(obj2));
10864 if (SWIG_arg_fail(3)) SWIG_fail;
10865 }
10866 {
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10869
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 {
10874 resultobj = SWIG_From_long((long)(result));
10875 }
10876 return resultobj;
10877 fail:
10878 return NULL;
10879 }
10880
10881
10882 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
10883 PyObject *resultobj;
10884 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10885 long arg2 ;
10886 long *arg3 = (long *) 0 ;
10887 long *arg4 = (long *) 0 ;
10888 long temp3 ;
10889 int res3 = 0 ;
10890 long temp4 ;
10891 int res4 = 0 ;
10892 PyObject * obj0 = 0 ;
10893 PyObject * obj1 = 0 ;
10894 char *kwnames[] = {
10895 (char *) "self",(char *) "pos", NULL
10896 };
10897
10898 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10899 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
10901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10902 if (SWIG_arg_fail(1)) SWIG_fail;
10903 {
10904 arg2 = (long)(SWIG_As_long(obj1));
10905 if (SWIG_arg_fail(2)) SWIG_fail;
10906 }
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10910
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 Py_INCREF(Py_None); resultobj = Py_None;
10915 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10916 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10917 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10918 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10919 return resultobj;
10920 fail:
10921 return NULL;
10922 }
10923
10924
10925 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj;
10927 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10928 long arg2 ;
10929 PyObject * obj0 = 0 ;
10930 PyObject * obj1 = 0 ;
10931 char *kwnames[] = {
10932 (char *) "self",(char *) "pos", NULL
10933 };
10934
10935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
10936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10937 if (SWIG_arg_fail(1)) SWIG_fail;
10938 {
10939 arg2 = (long)(SWIG_As_long(obj1));
10940 if (SWIG_arg_fail(2)) SWIG_fail;
10941 }
10942 {
10943 PyThreadState* __tstate = wxPyBeginAllowThreads();
10944 (arg1)->ShowPosition(arg2);
10945
10946 wxPyEndAllowThreads(__tstate);
10947 if (PyErr_Occurred()) SWIG_fail;
10948 }
10949 Py_INCREF(Py_None); resultobj = Py_None;
10950 return resultobj;
10951 fail:
10952 return NULL;
10953 }
10954
10955
10956 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
10957 PyObject *resultobj;
10958 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10959 wxPoint *arg2 = 0 ;
10960 long *arg3 = (long *) 0 ;
10961 long *arg4 = (long *) 0 ;
10962 wxTextCtrlHitTestResult result;
10963 wxPoint temp2 ;
10964 long temp3 ;
10965 int res3 = 0 ;
10966 long temp4 ;
10967 int res4 = 0 ;
10968 PyObject * obj0 = 0 ;
10969 PyObject * obj1 = 0 ;
10970 char *kwnames[] = {
10971 (char *) "self",(char *) "pt", NULL
10972 };
10973
10974 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10975 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
10977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10978 if (SWIG_arg_fail(1)) SWIG_fail;
10979 {
10980 arg2 = &temp2;
10981 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10982 }
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
10986
10987 wxPyEndAllowThreads(__tstate);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 }
10990 resultobj = SWIG_From_int((result));
10991 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10992 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10993 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10994 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10995 return resultobj;
10996 fail:
10997 return NULL;
10998 }
10999
11000
11001 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11004 wxPoint *arg2 = 0 ;
11005 long *arg3 = (long *) 0 ;
11006 wxTextCtrlHitTestResult result;
11007 wxPoint temp2 ;
11008 long temp3 ;
11009 int res3 = 0 ;
11010 PyObject * obj0 = 0 ;
11011 PyObject * obj1 = 0 ;
11012 char *kwnames[] = {
11013 (char *) "self",(char *) "pt", NULL
11014 };
11015
11016 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
11018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11019 if (SWIG_arg_fail(1)) SWIG_fail;
11020 {
11021 arg2 = &temp2;
11022 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11023 }
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 resultobj = SWIG_From_int((result));
11032 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11033 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11034 return resultobj;
11035 fail:
11036 return NULL;
11037 }
11038
11039
11040 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11041 PyObject *resultobj;
11042 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11043 PyObject * obj0 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "self", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11050 if (SWIG_arg_fail(1)) SWIG_fail;
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 (arg1)->Copy();
11054
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 Py_INCREF(Py_None); resultobj = Py_None;
11059 return resultobj;
11060 fail:
11061 return NULL;
11062 }
11063
11064
11065 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11066 PyObject *resultobj;
11067 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11068 PyObject * obj0 = 0 ;
11069 char *kwnames[] = {
11070 (char *) "self", NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11075 if (SWIG_arg_fail(1)) SWIG_fail;
11076 {
11077 PyThreadState* __tstate = wxPyBeginAllowThreads();
11078 (arg1)->Cut();
11079
11080 wxPyEndAllowThreads(__tstate);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 Py_INCREF(Py_None); resultobj = Py_None;
11084 return resultobj;
11085 fail:
11086 return NULL;
11087 }
11088
11089
11090 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11091 PyObject *resultobj;
11092 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11093 PyObject * obj0 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail;
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 (arg1)->Paste();
11104
11105 wxPyEndAllowThreads(__tstate);
11106 if (PyErr_Occurred()) SWIG_fail;
11107 }
11108 Py_INCREF(Py_None); resultobj = Py_None;
11109 return resultobj;
11110 fail:
11111 return NULL;
11112 }
11113
11114
11115 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11116 PyObject *resultobj;
11117 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11118 bool result;
11119 PyObject * obj0 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail;
11127 {
11128 PyThreadState* __tstate = wxPyBeginAllowThreads();
11129 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11130
11131 wxPyEndAllowThreads(__tstate);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 {
11135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11136 }
11137 return resultobj;
11138 fail:
11139 return NULL;
11140 }
11141
11142
11143 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11144 PyObject *resultobj;
11145 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11146 bool result;
11147 PyObject * obj0 = 0 ;
11148 char *kwnames[] = {
11149 (char *) "self", NULL
11150 };
11151
11152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11154 if (SWIG_arg_fail(1)) SWIG_fail;
11155 {
11156 PyThreadState* __tstate = wxPyBeginAllowThreads();
11157 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11158
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 {
11163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11164 }
11165 return resultobj;
11166 fail:
11167 return NULL;
11168 }
11169
11170
11171 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj;
11173 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11174 bool result;
11175 PyObject * obj0 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "self", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11182 if (SWIG_arg_fail(1)) SWIG_fail;
11183 {
11184 PyThreadState* __tstate = wxPyBeginAllowThreads();
11185 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11186
11187 wxPyEndAllowThreads(__tstate);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
11190 {
11191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11192 }
11193 return resultobj;
11194 fail:
11195 return NULL;
11196 }
11197
11198
11199 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11200 PyObject *resultobj;
11201 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11202 PyObject * obj0 = 0 ;
11203 char *kwnames[] = {
11204 (char *) "self", NULL
11205 };
11206
11207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11209 if (SWIG_arg_fail(1)) SWIG_fail;
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 (arg1)->Undo();
11213
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
11217 Py_INCREF(Py_None); resultobj = Py_None;
11218 return resultobj;
11219 fail:
11220 return NULL;
11221 }
11222
11223
11224 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11225 PyObject *resultobj;
11226 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11227 PyObject * obj0 = 0 ;
11228 char *kwnames[] = {
11229 (char *) "self", NULL
11230 };
11231
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11234 if (SWIG_arg_fail(1)) SWIG_fail;
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 (arg1)->Redo();
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 Py_INCREF(Py_None); resultobj = Py_None;
11243 return resultobj;
11244 fail:
11245 return NULL;
11246 }
11247
11248
11249 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11252 bool result;
11253 PyObject * obj0 = 0 ;
11254 char *kwnames[] = {
11255 (char *) "self", NULL
11256 };
11257
11258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11260 if (SWIG_arg_fail(1)) SWIG_fail;
11261 {
11262 PyThreadState* __tstate = wxPyBeginAllowThreads();
11263 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11264
11265 wxPyEndAllowThreads(__tstate);
11266 if (PyErr_Occurred()) SWIG_fail;
11267 }
11268 {
11269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11270 }
11271 return resultobj;
11272 fail:
11273 return NULL;
11274 }
11275
11276
11277 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11278 PyObject *resultobj;
11279 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11280 bool result;
11281 PyObject * obj0 = 0 ;
11282 char *kwnames[] = {
11283 (char *) "self", NULL
11284 };
11285
11286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11288 if (SWIG_arg_fail(1)) SWIG_fail;
11289 {
11290 PyThreadState* __tstate = wxPyBeginAllowThreads();
11291 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11292
11293 wxPyEndAllowThreads(__tstate);
11294 if (PyErr_Occurred()) SWIG_fail;
11295 }
11296 {
11297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11298 }
11299 return resultobj;
11300 fail:
11301 return NULL;
11302 }
11303
11304
11305 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11306 PyObject *resultobj;
11307 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11308 long arg2 ;
11309 PyObject * obj0 = 0 ;
11310 PyObject * obj1 = 0 ;
11311 char *kwnames[] = {
11312 (char *) "self",(char *) "pos", NULL
11313 };
11314
11315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11317 if (SWIG_arg_fail(1)) SWIG_fail;
11318 {
11319 arg2 = (long)(SWIG_As_long(obj1));
11320 if (SWIG_arg_fail(2)) SWIG_fail;
11321 }
11322 {
11323 PyThreadState* __tstate = wxPyBeginAllowThreads();
11324 (arg1)->SetInsertionPoint(arg2);
11325
11326 wxPyEndAllowThreads(__tstate);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
11329 Py_INCREF(Py_None); resultobj = Py_None;
11330 return resultobj;
11331 fail:
11332 return NULL;
11333 }
11334
11335
11336 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11337 PyObject *resultobj;
11338 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11339 PyObject * obj0 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11346 if (SWIG_arg_fail(1)) SWIG_fail;
11347 {
11348 PyThreadState* __tstate = wxPyBeginAllowThreads();
11349 (arg1)->SetInsertionPointEnd();
11350
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
11354 Py_INCREF(Py_None); resultobj = Py_None;
11355 return resultobj;
11356 fail:
11357 return NULL;
11358 }
11359
11360
11361 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11362 PyObject *resultobj;
11363 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11364 long result;
11365 PyObject * obj0 = 0 ;
11366 char *kwnames[] = {
11367 (char *) "self", NULL
11368 };
11369
11370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11372 if (SWIG_arg_fail(1)) SWIG_fail;
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11376
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
11380 {
11381 resultobj = SWIG_From_long((long)(result));
11382 }
11383 return resultobj;
11384 fail:
11385 return NULL;
11386 }
11387
11388
11389 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11390 PyObject *resultobj;
11391 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11392 long result;
11393 PyObject * obj0 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail;
11401 {
11402 PyThreadState* __tstate = wxPyBeginAllowThreads();
11403 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11404
11405 wxPyEndAllowThreads(__tstate);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
11408 {
11409 resultobj = SWIG_From_long((long)(result));
11410 }
11411 return resultobj;
11412 fail:
11413 return NULL;
11414 }
11415
11416
11417 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11418 PyObject *resultobj;
11419 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11420 long arg2 ;
11421 long arg3 ;
11422 PyObject * obj0 = 0 ;
11423 PyObject * obj1 = 0 ;
11424 PyObject * obj2 = 0 ;
11425 char *kwnames[] = {
11426 (char *) "self",(char *) "from",(char *) "to", NULL
11427 };
11428
11429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11431 if (SWIG_arg_fail(1)) SWIG_fail;
11432 {
11433 arg2 = (long)(SWIG_As_long(obj1));
11434 if (SWIG_arg_fail(2)) SWIG_fail;
11435 }
11436 {
11437 arg3 = (long)(SWIG_As_long(obj2));
11438 if (SWIG_arg_fail(3)) SWIG_fail;
11439 }
11440 {
11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
11442 (arg1)->SetSelection(arg2,arg3);
11443
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 Py_INCREF(Py_None); resultobj = Py_None;
11448 return resultobj;
11449 fail:
11450 return NULL;
11451 }
11452
11453
11454 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11455 PyObject *resultobj;
11456 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11457 PyObject * obj0 = 0 ;
11458 char *kwnames[] = {
11459 (char *) "self", NULL
11460 };
11461
11462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11464 if (SWIG_arg_fail(1)) SWIG_fail;
11465 {
11466 PyThreadState* __tstate = wxPyBeginAllowThreads();
11467 (arg1)->SelectAll();
11468
11469 wxPyEndAllowThreads(__tstate);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 }
11472 Py_INCREF(Py_None); resultobj = Py_None;
11473 return resultobj;
11474 fail:
11475 return NULL;
11476 }
11477
11478
11479 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11480 PyObject *resultobj;
11481 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11482 bool arg2 ;
11483 PyObject * obj0 = 0 ;
11484 PyObject * obj1 = 0 ;
11485 char *kwnames[] = {
11486 (char *) "self",(char *) "editable", NULL
11487 };
11488
11489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11491 if (SWIG_arg_fail(1)) SWIG_fail;
11492 {
11493 arg2 = (bool)(SWIG_As_bool(obj1));
11494 if (SWIG_arg_fail(2)) SWIG_fail;
11495 }
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 (arg1)->SetEditable(arg2);
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 Py_INCREF(Py_None); resultobj = Py_None;
11504 return resultobj;
11505 fail:
11506 return NULL;
11507 }
11508
11509
11510 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11513 bool arg2 = (bool) true ;
11514 bool result;
11515 PyObject * obj0 = 0 ;
11516 PyObject * obj1 = 0 ;
11517 char *kwnames[] = {
11518 (char *) "self",(char *) "show", NULL
11519 };
11520
11521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
11522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11523 if (SWIG_arg_fail(1)) SWIG_fail;
11524 if (obj1) {
11525 {
11526 arg2 = (bool)(SWIG_As_bool(obj1));
11527 if (SWIG_arg_fail(2)) SWIG_fail;
11528 }
11529 }
11530 {
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 result = (bool)(arg1)->ShowNativeCaret(arg2);
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 {
11538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11539 }
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj;
11548 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11549 bool result;
11550 PyObject * obj0 = 0 ;
11551 char *kwnames[] = {
11552 (char *) "self", NULL
11553 };
11554
11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 result = (bool)(arg1)->HideNativeCaret();
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 {
11566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11567 }
11568 return resultobj;
11569 fail:
11570 return NULL;
11571 }
11572
11573
11574 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11575 PyObject *resultobj;
11576 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11577 wxString *arg2 = 0 ;
11578 bool temp2 = false ;
11579 PyObject * obj0 = 0 ;
11580 PyObject * obj1 = 0 ;
11581 char *kwnames[] = {
11582 (char *) "self",(char *) "text", NULL
11583 };
11584
11585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11587 if (SWIG_arg_fail(1)) SWIG_fail;
11588 {
11589 arg2 = wxString_in_helper(obj1);
11590 if (arg2 == NULL) SWIG_fail;
11591 temp2 = true;
11592 }
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11596
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 Py_INCREF(Py_None); resultobj = Py_None;
11601 {
11602 if (temp2)
11603 delete arg2;
11604 }
11605 return resultobj;
11606 fail:
11607 {
11608 if (temp2)
11609 delete arg2;
11610 }
11611 return NULL;
11612 }
11613
11614
11615 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11616 PyObject *resultobj;
11617 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11618 long arg2 ;
11619 long arg3 ;
11620 wxString result;
11621 PyObject * obj0 = 0 ;
11622 PyObject * obj1 = 0 ;
11623 PyObject * obj2 = 0 ;
11624 char *kwnames[] = {
11625 (char *) "self",(char *) "from",(char *) "to", NULL
11626 };
11627
11628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11630 if (SWIG_arg_fail(1)) SWIG_fail;
11631 {
11632 arg2 = (long)(SWIG_As_long(obj1));
11633 if (SWIG_arg_fail(2)) SWIG_fail;
11634 }
11635 {
11636 arg3 = (long)(SWIG_As_long(obj2));
11637 if (SWIG_arg_fail(3)) SWIG_fail;
11638 }
11639 {
11640 PyThreadState* __tstate = wxPyBeginAllowThreads();
11641 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11642
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 {
11647 #if wxUSE_UNICODE
11648 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11649 #else
11650 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11651 #endif
11652 }
11653 return resultobj;
11654 fail:
11655 return NULL;
11656 }
11657
11658
11659 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11660 PyObject *resultobj;
11661 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11662 wxVisualAttributes result;
11663 PyObject * obj0 = 0 ;
11664 char *kwnames[] = {
11665 (char *) "variant", NULL
11666 };
11667
11668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11669 if (obj0) {
11670 {
11671 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11672 if (SWIG_arg_fail(1)) SWIG_fail;
11673 }
11674 }
11675 {
11676 if (!wxPyCheckForApp()) SWIG_fail;
11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
11678 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11679
11680 wxPyEndAllowThreads(__tstate);
11681 if (PyErr_Occurred()) SWIG_fail;
11682 }
11683 {
11684 wxVisualAttributes * resultptr;
11685 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
11686 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11687 }
11688 return resultobj;
11689 fail:
11690 return NULL;
11691 }
11692
11693
11694 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11695 PyObject *obj;
11696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11697 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11698 Py_INCREF(obj);
11699 return Py_BuildValue((char *)"");
11700 }
11701 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11702 PyObject *resultobj;
11703 int arg1 ;
11704 wxMouseEvent *arg2 = 0 ;
11705 long arg3 ;
11706 long arg4 ;
11707 wxTextUrlEvent *result;
11708 PyObject * obj0 = 0 ;
11709 PyObject * obj1 = 0 ;
11710 PyObject * obj2 = 0 ;
11711 PyObject * obj3 = 0 ;
11712 char *kwnames[] = {
11713 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11714 };
11715
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11717 {
11718 arg1 = (int)(SWIG_As_int(obj0));
11719 if (SWIG_arg_fail(1)) SWIG_fail;
11720 }
11721 {
11722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11723 if (SWIG_arg_fail(2)) SWIG_fail;
11724 if (arg2 == NULL) {
11725 SWIG_null_ref("wxMouseEvent");
11726 }
11727 if (SWIG_arg_fail(2)) SWIG_fail;
11728 }
11729 {
11730 arg3 = (long)(SWIG_As_long(obj2));
11731 if (SWIG_arg_fail(3)) SWIG_fail;
11732 }
11733 {
11734 arg4 = (long)(SWIG_As_long(obj3));
11735 if (SWIG_arg_fail(4)) SWIG_fail;
11736 }
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11745 return resultobj;
11746 fail:
11747 return NULL;
11748 }
11749
11750
11751 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11752 PyObject *resultobj;
11753 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11754 wxMouseEvent *result;
11755 PyObject * obj0 = 0 ;
11756 char *kwnames[] = {
11757 (char *) "self", NULL
11758 };
11759
11760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11762 if (SWIG_arg_fail(1)) SWIG_fail;
11763 {
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
11765 {
11766 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11767 result = (wxMouseEvent *) &_result_ref;
11768 }
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11774 return resultobj;
11775 fail:
11776 return NULL;
11777 }
11778
11779
11780 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11781 PyObject *resultobj;
11782 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11783 long result;
11784 PyObject * obj0 = 0 ;
11785 char *kwnames[] = {
11786 (char *) "self", NULL
11787 };
11788
11789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11791 if (SWIG_arg_fail(1)) SWIG_fail;
11792 {
11793 PyThreadState* __tstate = wxPyBeginAllowThreads();
11794 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11795
11796 wxPyEndAllowThreads(__tstate);
11797 if (PyErr_Occurred()) SWIG_fail;
11798 }
11799 {
11800 resultobj = SWIG_From_long((long)(result));
11801 }
11802 return resultobj;
11803 fail:
11804 return NULL;
11805 }
11806
11807
11808 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11809 PyObject *resultobj;
11810 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11811 long result;
11812 PyObject * obj0 = 0 ;
11813 char *kwnames[] = {
11814 (char *) "self", NULL
11815 };
11816
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11819 if (SWIG_arg_fail(1)) SWIG_fail;
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11823
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
11827 {
11828 resultobj = SWIG_From_long((long)(result));
11829 }
11830 return resultobj;
11831 fail:
11832 return NULL;
11833 }
11834
11835
11836 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11837 PyObject *obj;
11838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11839 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11840 Py_INCREF(obj);
11841 return Py_BuildValue((char *)"");
11842 }
11843 static int _wrap_ScrollBarNameStr_set(PyObject *) {
11844 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11845 return 1;
11846 }
11847
11848
11849 static PyObject *_wrap_ScrollBarNameStr_get(void) {
11850 PyObject *pyobj;
11851
11852 {
11853 #if wxUSE_UNICODE
11854 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11855 #else
11856 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11857 #endif
11858 }
11859 return pyobj;
11860 }
11861
11862
11863 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj;
11865 wxWindow *arg1 = (wxWindow *) 0 ;
11866 int arg2 = (int) -1 ;
11867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11869 wxSize const &arg4_defvalue = wxDefaultSize ;
11870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11871 long arg5 = (long) wxSB_HORIZONTAL ;
11872 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11873 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11874 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11875 wxString *arg7 = (wxString *) &arg7_defvalue ;
11876 wxScrollBar *result;
11877 wxPoint temp3 ;
11878 wxSize temp4 ;
11879 bool temp7 = false ;
11880 PyObject * obj0 = 0 ;
11881 PyObject * obj1 = 0 ;
11882 PyObject * obj2 = 0 ;
11883 PyObject * obj3 = 0 ;
11884 PyObject * obj4 = 0 ;
11885 PyObject * obj5 = 0 ;
11886 PyObject * obj6 = 0 ;
11887 char *kwnames[] = {
11888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11893 if (SWIG_arg_fail(1)) SWIG_fail;
11894 if (obj1) {
11895 {
11896 arg2 = (int)(SWIG_As_int(obj1));
11897 if (SWIG_arg_fail(2)) SWIG_fail;
11898 }
11899 }
11900 if (obj2) {
11901 {
11902 arg3 = &temp3;
11903 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11904 }
11905 }
11906 if (obj3) {
11907 {
11908 arg4 = &temp4;
11909 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11910 }
11911 }
11912 if (obj4) {
11913 {
11914 arg5 = (long)(SWIG_As_long(obj4));
11915 if (SWIG_arg_fail(5)) SWIG_fail;
11916 }
11917 }
11918 if (obj5) {
11919 {
11920 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11921 if (SWIG_arg_fail(6)) SWIG_fail;
11922 if (arg6 == NULL) {
11923 SWIG_null_ref("wxValidator");
11924 }
11925 if (SWIG_arg_fail(6)) SWIG_fail;
11926 }
11927 }
11928 if (obj6) {
11929 {
11930 arg7 = wxString_in_helper(obj6);
11931 if (arg7 == NULL) SWIG_fail;
11932 temp7 = true;
11933 }
11934 }
11935 {
11936 if (!wxPyCheckForApp()) SWIG_fail;
11937 PyThreadState* __tstate = wxPyBeginAllowThreads();
11938 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11939
11940 wxPyEndAllowThreads(__tstate);
11941 if (PyErr_Occurred()) SWIG_fail;
11942 }
11943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11944 {
11945 if (temp7)
11946 delete arg7;
11947 }
11948 return resultobj;
11949 fail:
11950 {
11951 if (temp7)
11952 delete arg7;
11953 }
11954 return NULL;
11955 }
11956
11957
11958 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11959 PyObject *resultobj;
11960 wxScrollBar *result;
11961 char *kwnames[] = {
11962 NULL
11963 };
11964
11965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11966 {
11967 if (!wxPyCheckForApp()) SWIG_fail;
11968 PyThreadState* __tstate = wxPyBeginAllowThreads();
11969 result = (wxScrollBar *)new wxScrollBar();
11970
11971 wxPyEndAllowThreads(__tstate);
11972 if (PyErr_Occurred()) SWIG_fail;
11973 }
11974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11975 return resultobj;
11976 fail:
11977 return NULL;
11978 }
11979
11980
11981 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11982 PyObject *resultobj;
11983 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11984 wxWindow *arg2 = (wxWindow *) 0 ;
11985 int arg3 = (int) -1 ;
11986 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11987 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11988 wxSize const &arg5_defvalue = wxDefaultSize ;
11989 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11990 long arg6 = (long) wxSB_HORIZONTAL ;
11991 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11992 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11993 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11994 wxString *arg8 = (wxString *) &arg8_defvalue ;
11995 bool result;
11996 wxPoint temp4 ;
11997 wxSize temp5 ;
11998 bool temp8 = false ;
11999 PyObject * obj0 = 0 ;
12000 PyObject * obj1 = 0 ;
12001 PyObject * obj2 = 0 ;
12002 PyObject * obj3 = 0 ;
12003 PyObject * obj4 = 0 ;
12004 PyObject * obj5 = 0 ;
12005 PyObject * obj6 = 0 ;
12006 PyObject * obj7 = 0 ;
12007 char *kwnames[] = {
12008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12009 };
12010
12011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12013 if (SWIG_arg_fail(1)) SWIG_fail;
12014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12015 if (SWIG_arg_fail(2)) SWIG_fail;
12016 if (obj2) {
12017 {
12018 arg3 = (int)(SWIG_As_int(obj2));
12019 if (SWIG_arg_fail(3)) SWIG_fail;
12020 }
12021 }
12022 if (obj3) {
12023 {
12024 arg4 = &temp4;
12025 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12026 }
12027 }
12028 if (obj4) {
12029 {
12030 arg5 = &temp5;
12031 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12032 }
12033 }
12034 if (obj5) {
12035 {
12036 arg6 = (long)(SWIG_As_long(obj5));
12037 if (SWIG_arg_fail(6)) SWIG_fail;
12038 }
12039 }
12040 if (obj6) {
12041 {
12042 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12043 if (SWIG_arg_fail(7)) SWIG_fail;
12044 if (arg7 == NULL) {
12045 SWIG_null_ref("wxValidator");
12046 }
12047 if (SWIG_arg_fail(7)) SWIG_fail;
12048 }
12049 }
12050 if (obj7) {
12051 {
12052 arg8 = wxString_in_helper(obj7);
12053 if (arg8 == NULL) SWIG_fail;
12054 temp8 = true;
12055 }
12056 }
12057 {
12058 PyThreadState* __tstate = wxPyBeginAllowThreads();
12059 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12060
12061 wxPyEndAllowThreads(__tstate);
12062 if (PyErr_Occurred()) SWIG_fail;
12063 }
12064 {
12065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12066 }
12067 {
12068 if (temp8)
12069 delete arg8;
12070 }
12071 return resultobj;
12072 fail:
12073 {
12074 if (temp8)
12075 delete arg8;
12076 }
12077 return NULL;
12078 }
12079
12080
12081 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12082 PyObject *resultobj;
12083 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12084 int result;
12085 PyObject * obj0 = 0 ;
12086 char *kwnames[] = {
12087 (char *) "self", NULL
12088 };
12089
12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12092 if (SWIG_arg_fail(1)) SWIG_fail;
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12096
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 {
12101 resultobj = SWIG_From_int((int)(result));
12102 }
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12110 PyObject *resultobj;
12111 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12112 int result;
12113 PyObject * obj0 = 0 ;
12114 char *kwnames[] = {
12115 (char *) "self", NULL
12116 };
12117
12118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12120 if (SWIG_arg_fail(1)) SWIG_fail;
12121 {
12122 PyThreadState* __tstate = wxPyBeginAllowThreads();
12123 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12124
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 {
12129 resultobj = SWIG_From_int((int)(result));
12130 }
12131 return resultobj;
12132 fail:
12133 return NULL;
12134 }
12135
12136
12137 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12138 PyObject *resultobj;
12139 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12140 int result;
12141 PyObject * obj0 = 0 ;
12142 char *kwnames[] = {
12143 (char *) "self", NULL
12144 };
12145
12146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12148 if (SWIG_arg_fail(1)) SWIG_fail;
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12152
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 {
12157 resultobj = SWIG_From_int((int)(result));
12158 }
12159 return resultobj;
12160 fail:
12161 return NULL;
12162 }
12163
12164
12165 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj;
12167 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12168 int result;
12169 PyObject * obj0 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self", NULL
12172 };
12173
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail;
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 result = (int)((wxScrollBar const *)arg1)->GetRange();
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 {
12185 resultobj = SWIG_From_int((int)(result));
12186 }
12187 return resultobj;
12188 fail:
12189 return NULL;
12190 }
12191
12192
12193 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12194 PyObject *resultobj;
12195 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12196 bool result;
12197 PyObject * obj0 = 0 ;
12198 char *kwnames[] = {
12199 (char *) "self", NULL
12200 };
12201
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail;
12205 {
12206 PyThreadState* __tstate = wxPyBeginAllowThreads();
12207 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12208
12209 wxPyEndAllowThreads(__tstate);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 }
12212 {
12213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12214 }
12215 return resultobj;
12216 fail:
12217 return NULL;
12218 }
12219
12220
12221 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12222 PyObject *resultobj;
12223 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12224 int arg2 ;
12225 PyObject * obj0 = 0 ;
12226 PyObject * obj1 = 0 ;
12227 char *kwnames[] = {
12228 (char *) "self",(char *) "viewStart", NULL
12229 };
12230
12231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12233 if (SWIG_arg_fail(1)) SWIG_fail;
12234 {
12235 arg2 = (int)(SWIG_As_int(obj1));
12236 if (SWIG_arg_fail(2)) SWIG_fail;
12237 }
12238 {
12239 PyThreadState* __tstate = wxPyBeginAllowThreads();
12240 (arg1)->SetThumbPosition(arg2);
12241
12242 wxPyEndAllowThreads(__tstate);
12243 if (PyErr_Occurred()) SWIG_fail;
12244 }
12245 Py_INCREF(Py_None); resultobj = Py_None;
12246 return resultobj;
12247 fail:
12248 return NULL;
12249 }
12250
12251
12252 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12253 PyObject *resultobj;
12254 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12255 int arg2 ;
12256 int arg3 ;
12257 int arg4 ;
12258 int arg5 ;
12259 bool arg6 = (bool) true ;
12260 PyObject * obj0 = 0 ;
12261 PyObject * obj1 = 0 ;
12262 PyObject * obj2 = 0 ;
12263 PyObject * obj3 = 0 ;
12264 PyObject * obj4 = 0 ;
12265 PyObject * obj5 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12272 if (SWIG_arg_fail(1)) SWIG_fail;
12273 {
12274 arg2 = (int)(SWIG_As_int(obj1));
12275 if (SWIG_arg_fail(2)) SWIG_fail;
12276 }
12277 {
12278 arg3 = (int)(SWIG_As_int(obj2));
12279 if (SWIG_arg_fail(3)) SWIG_fail;
12280 }
12281 {
12282 arg4 = (int)(SWIG_As_int(obj3));
12283 if (SWIG_arg_fail(4)) SWIG_fail;
12284 }
12285 {
12286 arg5 = (int)(SWIG_As_int(obj4));
12287 if (SWIG_arg_fail(5)) SWIG_fail;
12288 }
12289 if (obj5) {
12290 {
12291 arg6 = (bool)(SWIG_As_bool(obj5));
12292 if (SWIG_arg_fail(6)) SWIG_fail;
12293 }
12294 }
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12298
12299 wxPyEndAllowThreads(__tstate);
12300 if (PyErr_Occurred()) SWIG_fail;
12301 }
12302 Py_INCREF(Py_None); resultobj = Py_None;
12303 return resultobj;
12304 fail:
12305 return NULL;
12306 }
12307
12308
12309 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12310 PyObject *resultobj;
12311 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12312 wxVisualAttributes result;
12313 PyObject * obj0 = 0 ;
12314 char *kwnames[] = {
12315 (char *) "variant", NULL
12316 };
12317
12318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12319 if (obj0) {
12320 {
12321 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12322 if (SWIG_arg_fail(1)) SWIG_fail;
12323 }
12324 }
12325 {
12326 if (!wxPyCheckForApp()) SWIG_fail;
12327 PyThreadState* __tstate = wxPyBeginAllowThreads();
12328 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12329
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) SWIG_fail;
12332 }
12333 {
12334 wxVisualAttributes * resultptr;
12335 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12336 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12337 }
12338 return resultobj;
12339 fail:
12340 return NULL;
12341 }
12342
12343
12344 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12345 PyObject *obj;
12346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12347 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12348 Py_INCREF(obj);
12349 return Py_BuildValue((char *)"");
12350 }
12351 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12352 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12353 return 1;
12354 }
12355
12356
12357 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12358 PyObject *pyobj;
12359
12360 {
12361 #if wxUSE_UNICODE
12362 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12363 #else
12364 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12365 #endif
12366 }
12367 return pyobj;
12368 }
12369
12370
12371 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12372 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12373 return 1;
12374 }
12375
12376
12377 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12378 PyObject *pyobj;
12379
12380 {
12381 #if wxUSE_UNICODE
12382 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12383 #else
12384 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12385 #endif
12386 }
12387 return pyobj;
12388 }
12389
12390
12391 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12392 PyObject *resultobj;
12393 wxWindow *arg1 = (wxWindow *) 0 ;
12394 int arg2 = (int) -1 ;
12395 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12396 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12397 wxSize const &arg4_defvalue = wxDefaultSize ;
12398 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12399 long arg5 = (long) wxSP_HORIZONTAL ;
12400 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12401 wxString *arg6 = (wxString *) &arg6_defvalue ;
12402 wxSpinButton *result;
12403 wxPoint temp3 ;
12404 wxSize temp4 ;
12405 bool temp6 = false ;
12406 PyObject * obj0 = 0 ;
12407 PyObject * obj1 = 0 ;
12408 PyObject * obj2 = 0 ;
12409 PyObject * obj3 = 0 ;
12410 PyObject * obj4 = 0 ;
12411 PyObject * obj5 = 0 ;
12412 char *kwnames[] = {
12413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12414 };
12415
12416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12418 if (SWIG_arg_fail(1)) SWIG_fail;
12419 if (obj1) {
12420 {
12421 arg2 = (int)(SWIG_As_int(obj1));
12422 if (SWIG_arg_fail(2)) SWIG_fail;
12423 }
12424 }
12425 if (obj2) {
12426 {
12427 arg3 = &temp3;
12428 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12429 }
12430 }
12431 if (obj3) {
12432 {
12433 arg4 = &temp4;
12434 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12435 }
12436 }
12437 if (obj4) {
12438 {
12439 arg5 = (long)(SWIG_As_long(obj4));
12440 if (SWIG_arg_fail(5)) SWIG_fail;
12441 }
12442 }
12443 if (obj5) {
12444 {
12445 arg6 = wxString_in_helper(obj5);
12446 if (arg6 == NULL) SWIG_fail;
12447 temp6 = true;
12448 }
12449 }
12450 {
12451 if (!wxPyCheckForApp()) SWIG_fail;
12452 PyThreadState* __tstate = wxPyBeginAllowThreads();
12453 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12454
12455 wxPyEndAllowThreads(__tstate);
12456 if (PyErr_Occurred()) SWIG_fail;
12457 }
12458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12459 {
12460 if (temp6)
12461 delete arg6;
12462 }
12463 return resultobj;
12464 fail:
12465 {
12466 if (temp6)
12467 delete arg6;
12468 }
12469 return NULL;
12470 }
12471
12472
12473 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12474 PyObject *resultobj;
12475 wxSpinButton *result;
12476 char *kwnames[] = {
12477 NULL
12478 };
12479
12480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12481 {
12482 if (!wxPyCheckForApp()) SWIG_fail;
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 result = (wxSpinButton *)new wxSpinButton();
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12490 return resultobj;
12491 fail:
12492 return NULL;
12493 }
12494
12495
12496 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12497 PyObject *resultobj;
12498 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12499 wxWindow *arg2 = (wxWindow *) 0 ;
12500 int arg3 = (int) -1 ;
12501 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12502 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12503 wxSize const &arg5_defvalue = wxDefaultSize ;
12504 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12505 long arg6 = (long) wxSP_HORIZONTAL ;
12506 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12507 wxString *arg7 = (wxString *) &arg7_defvalue ;
12508 bool result;
12509 wxPoint temp4 ;
12510 wxSize temp5 ;
12511 bool temp7 = false ;
12512 PyObject * obj0 = 0 ;
12513 PyObject * obj1 = 0 ;
12514 PyObject * obj2 = 0 ;
12515 PyObject * obj3 = 0 ;
12516 PyObject * obj4 = 0 ;
12517 PyObject * obj5 = 0 ;
12518 PyObject * obj6 = 0 ;
12519 char *kwnames[] = {
12520 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12521 };
12522
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12525 if (SWIG_arg_fail(1)) SWIG_fail;
12526 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12527 if (SWIG_arg_fail(2)) SWIG_fail;
12528 if (obj2) {
12529 {
12530 arg3 = (int)(SWIG_As_int(obj2));
12531 if (SWIG_arg_fail(3)) SWIG_fail;
12532 }
12533 }
12534 if (obj3) {
12535 {
12536 arg4 = &temp4;
12537 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12538 }
12539 }
12540 if (obj4) {
12541 {
12542 arg5 = &temp5;
12543 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12544 }
12545 }
12546 if (obj5) {
12547 {
12548 arg6 = (long)(SWIG_As_long(obj5));
12549 if (SWIG_arg_fail(6)) SWIG_fail;
12550 }
12551 }
12552 if (obj6) {
12553 {
12554 arg7 = wxString_in_helper(obj6);
12555 if (arg7 == NULL) SWIG_fail;
12556 temp7 = true;
12557 }
12558 }
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12562
12563 wxPyEndAllowThreads(__tstate);
12564 if (PyErr_Occurred()) SWIG_fail;
12565 }
12566 {
12567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12568 }
12569 {
12570 if (temp7)
12571 delete arg7;
12572 }
12573 return resultobj;
12574 fail:
12575 {
12576 if (temp7)
12577 delete arg7;
12578 }
12579 return NULL;
12580 }
12581
12582
12583 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12584 PyObject *resultobj;
12585 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12586 int result;
12587 PyObject * obj0 = 0 ;
12588 char *kwnames[] = {
12589 (char *) "self", NULL
12590 };
12591
12592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12594 if (SWIG_arg_fail(1)) SWIG_fail;
12595 {
12596 PyThreadState* __tstate = wxPyBeginAllowThreads();
12597 result = (int)((wxSpinButton const *)arg1)->GetValue();
12598
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 {
12603 resultobj = SWIG_From_int((int)(result));
12604 }
12605 return resultobj;
12606 fail:
12607 return NULL;
12608 }
12609
12610
12611 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12612 PyObject *resultobj;
12613 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12614 int result;
12615 PyObject * obj0 = 0 ;
12616 char *kwnames[] = {
12617 (char *) "self", NULL
12618 };
12619
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12622 if (SWIG_arg_fail(1)) SWIG_fail;
12623 {
12624 PyThreadState* __tstate = wxPyBeginAllowThreads();
12625 result = (int)((wxSpinButton const *)arg1)->GetMin();
12626
12627 wxPyEndAllowThreads(__tstate);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
12630 {
12631 resultobj = SWIG_From_int((int)(result));
12632 }
12633 return resultobj;
12634 fail:
12635 return NULL;
12636 }
12637
12638
12639 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12640 PyObject *resultobj;
12641 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12642 int result;
12643 PyObject * obj0 = 0 ;
12644 char *kwnames[] = {
12645 (char *) "self", NULL
12646 };
12647
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12650 if (SWIG_arg_fail(1)) SWIG_fail;
12651 {
12652 PyThreadState* __tstate = wxPyBeginAllowThreads();
12653 result = (int)((wxSpinButton const *)arg1)->GetMax();
12654
12655 wxPyEndAllowThreads(__tstate);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 }
12658 {
12659 resultobj = SWIG_From_int((int)(result));
12660 }
12661 return resultobj;
12662 fail:
12663 return NULL;
12664 }
12665
12666
12667 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12668 PyObject *resultobj;
12669 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12670 int arg2 ;
12671 PyObject * obj0 = 0 ;
12672 PyObject * obj1 = 0 ;
12673 char *kwnames[] = {
12674 (char *) "self",(char *) "val", NULL
12675 };
12676
12677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12679 if (SWIG_arg_fail(1)) SWIG_fail;
12680 {
12681 arg2 = (int)(SWIG_As_int(obj1));
12682 if (SWIG_arg_fail(2)) SWIG_fail;
12683 }
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 (arg1)->SetValue(arg2);
12687
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 Py_INCREF(Py_None); resultobj = Py_None;
12692 return resultobj;
12693 fail:
12694 return NULL;
12695 }
12696
12697
12698 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12699 PyObject *resultobj;
12700 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12701 int arg2 ;
12702 PyObject * obj0 = 0 ;
12703 PyObject * obj1 = 0 ;
12704 char *kwnames[] = {
12705 (char *) "self",(char *) "minVal", NULL
12706 };
12707
12708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12710 if (SWIG_arg_fail(1)) SWIG_fail;
12711 {
12712 arg2 = (int)(SWIG_As_int(obj1));
12713 if (SWIG_arg_fail(2)) SWIG_fail;
12714 }
12715 {
12716 PyThreadState* __tstate = wxPyBeginAllowThreads();
12717 (arg1)->SetMin(arg2);
12718
12719 wxPyEndAllowThreads(__tstate);
12720 if (PyErr_Occurred()) SWIG_fail;
12721 }
12722 Py_INCREF(Py_None); resultobj = Py_None;
12723 return resultobj;
12724 fail:
12725 return NULL;
12726 }
12727
12728
12729 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12730 PyObject *resultobj;
12731 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12732 int arg2 ;
12733 PyObject * obj0 = 0 ;
12734 PyObject * obj1 = 0 ;
12735 char *kwnames[] = {
12736 (char *) "self",(char *) "maxVal", NULL
12737 };
12738
12739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12741 if (SWIG_arg_fail(1)) SWIG_fail;
12742 {
12743 arg2 = (int)(SWIG_As_int(obj1));
12744 if (SWIG_arg_fail(2)) SWIG_fail;
12745 }
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 (arg1)->SetMax(arg2);
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 Py_INCREF(Py_None); resultobj = Py_None;
12754 return resultobj;
12755 fail:
12756 return NULL;
12757 }
12758
12759
12760 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12761 PyObject *resultobj;
12762 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12763 int arg2 ;
12764 int arg3 ;
12765 PyObject * obj0 = 0 ;
12766 PyObject * obj1 = 0 ;
12767 PyObject * obj2 = 0 ;
12768 char *kwnames[] = {
12769 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12770 };
12771
12772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12774 if (SWIG_arg_fail(1)) SWIG_fail;
12775 {
12776 arg2 = (int)(SWIG_As_int(obj1));
12777 if (SWIG_arg_fail(2)) SWIG_fail;
12778 }
12779 {
12780 arg3 = (int)(SWIG_As_int(obj2));
12781 if (SWIG_arg_fail(3)) SWIG_fail;
12782 }
12783 {
12784 PyThreadState* __tstate = wxPyBeginAllowThreads();
12785 (arg1)->SetRange(arg2,arg3);
12786
12787 wxPyEndAllowThreads(__tstate);
12788 if (PyErr_Occurred()) SWIG_fail;
12789 }
12790 Py_INCREF(Py_None); resultobj = Py_None;
12791 return resultobj;
12792 fail:
12793 return NULL;
12794 }
12795
12796
12797 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12798 PyObject *resultobj;
12799 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12800 bool result;
12801 PyObject * obj0 = 0 ;
12802 char *kwnames[] = {
12803 (char *) "self", NULL
12804 };
12805
12806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12808 if (SWIG_arg_fail(1)) SWIG_fail;
12809 {
12810 PyThreadState* __tstate = wxPyBeginAllowThreads();
12811 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12812
12813 wxPyEndAllowThreads(__tstate);
12814 if (PyErr_Occurred()) SWIG_fail;
12815 }
12816 {
12817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12818 }
12819 return resultobj;
12820 fail:
12821 return NULL;
12822 }
12823
12824
12825 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12826 PyObject *resultobj;
12827 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12828 wxVisualAttributes result;
12829 PyObject * obj0 = 0 ;
12830 char *kwnames[] = {
12831 (char *) "variant", NULL
12832 };
12833
12834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12835 if (obj0) {
12836 {
12837 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12838 if (SWIG_arg_fail(1)) SWIG_fail;
12839 }
12840 }
12841 {
12842 if (!wxPyCheckForApp()) SWIG_fail;
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 {
12850 wxVisualAttributes * resultptr;
12851 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12853 }
12854 return resultobj;
12855 fail:
12856 return NULL;
12857 }
12858
12859
12860 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12861 PyObject *obj;
12862 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12863 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12864 Py_INCREF(obj);
12865 return Py_BuildValue((char *)"");
12866 }
12867 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12868 PyObject *resultobj;
12869 wxWindow *arg1 = (wxWindow *) 0 ;
12870 int arg2 = (int) -1 ;
12871 wxString const &arg3_defvalue = wxPyEmptyString ;
12872 wxString *arg3 = (wxString *) &arg3_defvalue ;
12873 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12874 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12875 wxSize const &arg5_defvalue = wxDefaultSize ;
12876 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12877 long arg6 = (long) wxSP_ARROW_KEYS ;
12878 int arg7 = (int) 0 ;
12879 int arg8 = (int) 100 ;
12880 int arg9 = (int) 0 ;
12881 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12882 wxString *arg10 = (wxString *) &arg10_defvalue ;
12883 wxSpinCtrl *result;
12884 bool temp3 = false ;
12885 wxPoint temp4 ;
12886 wxSize temp5 ;
12887 bool temp10 = false ;
12888 PyObject * obj0 = 0 ;
12889 PyObject * obj1 = 0 ;
12890 PyObject * obj2 = 0 ;
12891 PyObject * obj3 = 0 ;
12892 PyObject * obj4 = 0 ;
12893 PyObject * obj5 = 0 ;
12894 PyObject * obj6 = 0 ;
12895 PyObject * obj7 = 0 ;
12896 PyObject * obj8 = 0 ;
12897 PyObject * obj9 = 0 ;
12898 char *kwnames[] = {
12899 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12900 };
12901
12902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12904 if (SWIG_arg_fail(1)) SWIG_fail;
12905 if (obj1) {
12906 {
12907 arg2 = (int)(SWIG_As_int(obj1));
12908 if (SWIG_arg_fail(2)) SWIG_fail;
12909 }
12910 }
12911 if (obj2) {
12912 {
12913 arg3 = wxString_in_helper(obj2);
12914 if (arg3 == NULL) SWIG_fail;
12915 temp3 = true;
12916 }
12917 }
12918 if (obj3) {
12919 {
12920 arg4 = &temp4;
12921 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12922 }
12923 }
12924 if (obj4) {
12925 {
12926 arg5 = &temp5;
12927 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12928 }
12929 }
12930 if (obj5) {
12931 {
12932 arg6 = (long)(SWIG_As_long(obj5));
12933 if (SWIG_arg_fail(6)) SWIG_fail;
12934 }
12935 }
12936 if (obj6) {
12937 {
12938 arg7 = (int)(SWIG_As_int(obj6));
12939 if (SWIG_arg_fail(7)) SWIG_fail;
12940 }
12941 }
12942 if (obj7) {
12943 {
12944 arg8 = (int)(SWIG_As_int(obj7));
12945 if (SWIG_arg_fail(8)) SWIG_fail;
12946 }
12947 }
12948 if (obj8) {
12949 {
12950 arg9 = (int)(SWIG_As_int(obj8));
12951 if (SWIG_arg_fail(9)) SWIG_fail;
12952 }
12953 }
12954 if (obj9) {
12955 {
12956 arg10 = wxString_in_helper(obj9);
12957 if (arg10 == NULL) SWIG_fail;
12958 temp10 = true;
12959 }
12960 }
12961 {
12962 if (!wxPyCheckForApp()) SWIG_fail;
12963 PyThreadState* __tstate = wxPyBeginAllowThreads();
12964 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12965
12966 wxPyEndAllowThreads(__tstate);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12970 {
12971 if (temp3)
12972 delete arg3;
12973 }
12974 {
12975 if (temp10)
12976 delete arg10;
12977 }
12978 return resultobj;
12979 fail:
12980 {
12981 if (temp3)
12982 delete arg3;
12983 }
12984 {
12985 if (temp10)
12986 delete arg10;
12987 }
12988 return NULL;
12989 }
12990
12991
12992 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxSpinCtrl *result;
12995 char *kwnames[] = {
12996 NULL
12997 };
12998
12999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
13000 {
13001 if (!wxPyCheckForApp()) SWIG_fail;
13002 PyThreadState* __tstate = wxPyBeginAllowThreads();
13003 result = (wxSpinCtrl *)new wxSpinCtrl();
13004
13005 wxPyEndAllowThreads(__tstate);
13006 if (PyErr_Occurred()) SWIG_fail;
13007 }
13008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
13009 return resultobj;
13010 fail:
13011 return NULL;
13012 }
13013
13014
13015 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13016 PyObject *resultobj;
13017 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13018 wxWindow *arg2 = (wxWindow *) 0 ;
13019 int arg3 = (int) -1 ;
13020 wxString const &arg4_defvalue = wxPyEmptyString ;
13021 wxString *arg4 = (wxString *) &arg4_defvalue ;
13022 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13023 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13024 wxSize const &arg6_defvalue = wxDefaultSize ;
13025 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13026 long arg7 = (long) wxSP_ARROW_KEYS ;
13027 int arg8 = (int) 0 ;
13028 int arg9 = (int) 100 ;
13029 int arg10 = (int) 0 ;
13030 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13031 wxString *arg11 = (wxString *) &arg11_defvalue ;
13032 bool result;
13033 bool temp4 = false ;
13034 wxPoint temp5 ;
13035 wxSize temp6 ;
13036 bool temp11 = false ;
13037 PyObject * obj0 = 0 ;
13038 PyObject * obj1 = 0 ;
13039 PyObject * obj2 = 0 ;
13040 PyObject * obj3 = 0 ;
13041 PyObject * obj4 = 0 ;
13042 PyObject * obj5 = 0 ;
13043 PyObject * obj6 = 0 ;
13044 PyObject * obj7 = 0 ;
13045 PyObject * obj8 = 0 ;
13046 PyObject * obj9 = 0 ;
13047 PyObject * obj10 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13054 if (SWIG_arg_fail(1)) SWIG_fail;
13055 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13056 if (SWIG_arg_fail(2)) SWIG_fail;
13057 if (obj2) {
13058 {
13059 arg3 = (int)(SWIG_As_int(obj2));
13060 if (SWIG_arg_fail(3)) SWIG_fail;
13061 }
13062 }
13063 if (obj3) {
13064 {
13065 arg4 = wxString_in_helper(obj3);
13066 if (arg4 == NULL) SWIG_fail;
13067 temp4 = true;
13068 }
13069 }
13070 if (obj4) {
13071 {
13072 arg5 = &temp5;
13073 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13074 }
13075 }
13076 if (obj5) {
13077 {
13078 arg6 = &temp6;
13079 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13080 }
13081 }
13082 if (obj6) {
13083 {
13084 arg7 = (long)(SWIG_As_long(obj6));
13085 if (SWIG_arg_fail(7)) SWIG_fail;
13086 }
13087 }
13088 if (obj7) {
13089 {
13090 arg8 = (int)(SWIG_As_int(obj7));
13091 if (SWIG_arg_fail(8)) SWIG_fail;
13092 }
13093 }
13094 if (obj8) {
13095 {
13096 arg9 = (int)(SWIG_As_int(obj8));
13097 if (SWIG_arg_fail(9)) SWIG_fail;
13098 }
13099 }
13100 if (obj9) {
13101 {
13102 arg10 = (int)(SWIG_As_int(obj9));
13103 if (SWIG_arg_fail(10)) SWIG_fail;
13104 }
13105 }
13106 if (obj10) {
13107 {
13108 arg11 = wxString_in_helper(obj10);
13109 if (arg11 == NULL) SWIG_fail;
13110 temp11 = true;
13111 }
13112 }
13113 {
13114 PyThreadState* __tstate = wxPyBeginAllowThreads();
13115 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13116
13117 wxPyEndAllowThreads(__tstate);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 }
13120 {
13121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13122 }
13123 {
13124 if (temp4)
13125 delete arg4;
13126 }
13127 {
13128 if (temp11)
13129 delete arg11;
13130 }
13131 return resultobj;
13132 fail:
13133 {
13134 if (temp4)
13135 delete arg4;
13136 }
13137 {
13138 if (temp11)
13139 delete arg11;
13140 }
13141 return NULL;
13142 }
13143
13144
13145 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13146 PyObject *resultobj;
13147 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13148 int result;
13149 PyObject * obj0 = 0 ;
13150 char *kwnames[] = {
13151 (char *) "self", NULL
13152 };
13153
13154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13156 if (SWIG_arg_fail(1)) SWIG_fail;
13157 {
13158 PyThreadState* __tstate = wxPyBeginAllowThreads();
13159 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13160
13161 wxPyEndAllowThreads(__tstate);
13162 if (PyErr_Occurred()) SWIG_fail;
13163 }
13164 {
13165 resultobj = SWIG_From_int((int)(result));
13166 }
13167 return resultobj;
13168 fail:
13169 return NULL;
13170 }
13171
13172
13173 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13174 PyObject *resultobj;
13175 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13176 int arg2 ;
13177 PyObject * obj0 = 0 ;
13178 PyObject * obj1 = 0 ;
13179 char *kwnames[] = {
13180 (char *) "self",(char *) "value", NULL
13181 };
13182
13183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13185 if (SWIG_arg_fail(1)) SWIG_fail;
13186 {
13187 arg2 = (int)(SWIG_As_int(obj1));
13188 if (SWIG_arg_fail(2)) SWIG_fail;
13189 }
13190 {
13191 PyThreadState* __tstate = wxPyBeginAllowThreads();
13192 (arg1)->SetValue(arg2);
13193
13194 wxPyEndAllowThreads(__tstate);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 }
13197 Py_INCREF(Py_None); resultobj = Py_None;
13198 return resultobj;
13199 fail:
13200 return NULL;
13201 }
13202
13203
13204 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13205 PyObject *resultobj;
13206 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13207 wxString *arg2 = 0 ;
13208 bool temp2 = false ;
13209 PyObject * obj0 = 0 ;
13210 PyObject * obj1 = 0 ;
13211 char *kwnames[] = {
13212 (char *) "self",(char *) "text", NULL
13213 };
13214
13215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13217 if (SWIG_arg_fail(1)) SWIG_fail;
13218 {
13219 arg2 = wxString_in_helper(obj1);
13220 if (arg2 == NULL) SWIG_fail;
13221 temp2 = true;
13222 }
13223 {
13224 PyThreadState* __tstate = wxPyBeginAllowThreads();
13225 (arg1)->SetValue((wxString const &)*arg2);
13226
13227 wxPyEndAllowThreads(__tstate);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 }
13230 Py_INCREF(Py_None); resultobj = Py_None;
13231 {
13232 if (temp2)
13233 delete arg2;
13234 }
13235 return resultobj;
13236 fail:
13237 {
13238 if (temp2)
13239 delete arg2;
13240 }
13241 return NULL;
13242 }
13243
13244
13245 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13246 PyObject *resultobj;
13247 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13248 int arg2 ;
13249 int arg3 ;
13250 PyObject * obj0 = 0 ;
13251 PyObject * obj1 = 0 ;
13252 PyObject * obj2 = 0 ;
13253 char *kwnames[] = {
13254 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13255 };
13256
13257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13259 if (SWIG_arg_fail(1)) SWIG_fail;
13260 {
13261 arg2 = (int)(SWIG_As_int(obj1));
13262 if (SWIG_arg_fail(2)) SWIG_fail;
13263 }
13264 {
13265 arg3 = (int)(SWIG_As_int(obj2));
13266 if (SWIG_arg_fail(3)) SWIG_fail;
13267 }
13268 {
13269 PyThreadState* __tstate = wxPyBeginAllowThreads();
13270 (arg1)->SetRange(arg2,arg3);
13271
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
13275 Py_INCREF(Py_None); resultobj = Py_None;
13276 return resultobj;
13277 fail:
13278 return NULL;
13279 }
13280
13281
13282 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13283 PyObject *resultobj;
13284 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13285 int result;
13286 PyObject * obj0 = 0 ;
13287 char *kwnames[] = {
13288 (char *) "self", NULL
13289 };
13290
13291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13293 if (SWIG_arg_fail(1)) SWIG_fail;
13294 {
13295 PyThreadState* __tstate = wxPyBeginAllowThreads();
13296 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13297
13298 wxPyEndAllowThreads(__tstate);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 {
13302 resultobj = SWIG_From_int((int)(result));
13303 }
13304 return resultobj;
13305 fail:
13306 return NULL;
13307 }
13308
13309
13310 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13311 PyObject *resultobj;
13312 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13313 int result;
13314 PyObject * obj0 = 0 ;
13315 char *kwnames[] = {
13316 (char *) "self", NULL
13317 };
13318
13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13321 if (SWIG_arg_fail(1)) SWIG_fail;
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 {
13330 resultobj = SWIG_From_int((int)(result));
13331 }
13332 return resultobj;
13333 fail:
13334 return NULL;
13335 }
13336
13337
13338 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13339 PyObject *resultobj;
13340 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13341 long arg2 ;
13342 long arg3 ;
13343 PyObject * obj0 = 0 ;
13344 PyObject * obj1 = 0 ;
13345 PyObject * obj2 = 0 ;
13346 char *kwnames[] = {
13347 (char *) "self",(char *) "from",(char *) "to", NULL
13348 };
13349
13350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13352 if (SWIG_arg_fail(1)) SWIG_fail;
13353 {
13354 arg2 = (long)(SWIG_As_long(obj1));
13355 if (SWIG_arg_fail(2)) SWIG_fail;
13356 }
13357 {
13358 arg3 = (long)(SWIG_As_long(obj2));
13359 if (SWIG_arg_fail(3)) SWIG_fail;
13360 }
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 (arg1)->SetSelection(arg2,arg3);
13364
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 Py_INCREF(Py_None); resultobj = Py_None;
13369 return resultobj;
13370 fail:
13371 return NULL;
13372 }
13373
13374
13375 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13378 wxVisualAttributes result;
13379 PyObject * obj0 = 0 ;
13380 char *kwnames[] = {
13381 (char *) "variant", NULL
13382 };
13383
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13385 if (obj0) {
13386 {
13387 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13388 if (SWIG_arg_fail(1)) SWIG_fail;
13389 }
13390 }
13391 {
13392 if (!wxPyCheckForApp()) SWIG_fail;
13393 PyThreadState* __tstate = wxPyBeginAllowThreads();
13394 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13395
13396 wxPyEndAllowThreads(__tstate);
13397 if (PyErr_Occurred()) SWIG_fail;
13398 }
13399 {
13400 wxVisualAttributes * resultptr;
13401 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
13402 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13403 }
13404 return resultobj;
13405 fail:
13406 return NULL;
13407 }
13408
13409
13410 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13411 PyObject *obj;
13412 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13413 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13414 Py_INCREF(obj);
13415 return Py_BuildValue((char *)"");
13416 }
13417 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13418 PyObject *resultobj;
13419 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13420 int arg2 = (int) 0 ;
13421 wxSpinEvent *result;
13422 PyObject * obj0 = 0 ;
13423 PyObject * obj1 = 0 ;
13424 char *kwnames[] = {
13425 (char *) "commandType",(char *) "winid", NULL
13426 };
13427
13428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13429 if (obj0) {
13430 {
13431 arg1 = (wxEventType)(SWIG_As_int(obj0));
13432 if (SWIG_arg_fail(1)) SWIG_fail;
13433 }
13434 }
13435 if (obj1) {
13436 {
13437 arg2 = (int)(SWIG_As_int(obj1));
13438 if (SWIG_arg_fail(2)) SWIG_fail;
13439 }
13440 }
13441 {
13442 PyThreadState* __tstate = wxPyBeginAllowThreads();
13443 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13444
13445 wxPyEndAllowThreads(__tstate);
13446 if (PyErr_Occurred()) SWIG_fail;
13447 }
13448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13449 return resultobj;
13450 fail:
13451 return NULL;
13452 }
13453
13454
13455 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13456 PyObject *resultobj;
13457 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13458 int result;
13459 PyObject * obj0 = 0 ;
13460 char *kwnames[] = {
13461 (char *) "self", NULL
13462 };
13463
13464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13466 if (SWIG_arg_fail(1)) SWIG_fail;
13467 {
13468 PyThreadState* __tstate = wxPyBeginAllowThreads();
13469 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13470
13471 wxPyEndAllowThreads(__tstate);
13472 if (PyErr_Occurred()) SWIG_fail;
13473 }
13474 {
13475 resultobj = SWIG_From_int((int)(result));
13476 }
13477 return resultobj;
13478 fail:
13479 return NULL;
13480 }
13481
13482
13483 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13484 PyObject *resultobj;
13485 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13486 int arg2 ;
13487 PyObject * obj0 = 0 ;
13488 PyObject * obj1 = 0 ;
13489 char *kwnames[] = {
13490 (char *) "self",(char *) "pos", NULL
13491 };
13492
13493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13495 if (SWIG_arg_fail(1)) SWIG_fail;
13496 {
13497 arg2 = (int)(SWIG_As_int(obj1));
13498 if (SWIG_arg_fail(2)) SWIG_fail;
13499 }
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 (arg1)->SetPosition(arg2);
13503
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 Py_INCREF(Py_None); resultobj = Py_None;
13508 return resultobj;
13509 fail:
13510 return NULL;
13511 }
13512
13513
13514 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13515 PyObject *obj;
13516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13517 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13518 Py_INCREF(obj);
13519 return Py_BuildValue((char *)"");
13520 }
13521 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13522 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13523 return 1;
13524 }
13525
13526
13527 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13528 PyObject *pyobj;
13529
13530 {
13531 #if wxUSE_UNICODE
13532 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13533 #else
13534 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13535 #endif
13536 }
13537 return pyobj;
13538 }
13539
13540
13541 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13542 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13543 return 1;
13544 }
13545
13546
13547 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13548 PyObject *pyobj;
13549
13550 {
13551 #if wxUSE_UNICODE
13552 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13553 #else
13554 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13555 #endif
13556 }
13557 return pyobj;
13558 }
13559
13560
13561 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13562 PyObject *resultobj;
13563 wxWindow *arg1 = (wxWindow *) 0 ;
13564 int arg2 = (int) -1 ;
13565 wxString const &arg3_defvalue = wxPyEmptyString ;
13566 wxString *arg3 = (wxString *) &arg3_defvalue ;
13567 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13568 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13569 wxSize const &arg5_defvalue = wxDefaultSize ;
13570 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13571 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13572 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13573 int arg7 = (int) 0 ;
13574 long arg8 = (long) wxRA_HORIZONTAL ;
13575 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13576 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13577 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13578 wxString *arg10 = (wxString *) &arg10_defvalue ;
13579 wxRadioBox *result;
13580 bool temp3 = false ;
13581 wxPoint temp4 ;
13582 wxSize temp5 ;
13583 bool temp6 = false ;
13584 bool temp10 = false ;
13585 PyObject * obj0 = 0 ;
13586 PyObject * obj1 = 0 ;
13587 PyObject * obj2 = 0 ;
13588 PyObject * obj3 = 0 ;
13589 PyObject * obj4 = 0 ;
13590 PyObject * obj5 = 0 ;
13591 PyObject * obj6 = 0 ;
13592 PyObject * obj7 = 0 ;
13593 PyObject * obj8 = 0 ;
13594 PyObject * obj9 = 0 ;
13595 char *kwnames[] = {
13596 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13597 };
13598
13599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13601 if (SWIG_arg_fail(1)) SWIG_fail;
13602 if (obj1) {
13603 {
13604 arg2 = (int)(SWIG_As_int(obj1));
13605 if (SWIG_arg_fail(2)) SWIG_fail;
13606 }
13607 }
13608 if (obj2) {
13609 {
13610 arg3 = wxString_in_helper(obj2);
13611 if (arg3 == NULL) SWIG_fail;
13612 temp3 = true;
13613 }
13614 }
13615 if (obj3) {
13616 {
13617 arg4 = &temp4;
13618 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13619 }
13620 }
13621 if (obj4) {
13622 {
13623 arg5 = &temp5;
13624 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13625 }
13626 }
13627 if (obj5) {
13628 {
13629 if (! PySequence_Check(obj5)) {
13630 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13631 SWIG_fail;
13632 }
13633 arg6 = new wxArrayString;
13634 temp6 = true;
13635 int i, len=PySequence_Length(obj5);
13636 for (i=0; i<len; i++) {
13637 PyObject* item = PySequence_GetItem(obj5, i);
13638 #if wxUSE_UNICODE
13639 PyObject* str = PyObject_Unicode(item);
13640 #else
13641 PyObject* str = PyObject_Str(item);
13642 #endif
13643 if (PyErr_Occurred()) SWIG_fail;
13644 arg6->Add(Py2wxString(str));
13645 Py_DECREF(item);
13646 Py_DECREF(str);
13647 }
13648 }
13649 }
13650 if (obj6) {
13651 {
13652 arg7 = (int)(SWIG_As_int(obj6));
13653 if (SWIG_arg_fail(7)) SWIG_fail;
13654 }
13655 }
13656 if (obj7) {
13657 {
13658 arg8 = (long)(SWIG_As_long(obj7));
13659 if (SWIG_arg_fail(8)) SWIG_fail;
13660 }
13661 }
13662 if (obj8) {
13663 {
13664 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13665 if (SWIG_arg_fail(9)) SWIG_fail;
13666 if (arg9 == NULL) {
13667 SWIG_null_ref("wxValidator");
13668 }
13669 if (SWIG_arg_fail(9)) SWIG_fail;
13670 }
13671 }
13672 if (obj9) {
13673 {
13674 arg10 = wxString_in_helper(obj9);
13675 if (arg10 == NULL) SWIG_fail;
13676 temp10 = true;
13677 }
13678 }
13679 {
13680 if (!wxPyCheckForApp()) SWIG_fail;
13681 PyThreadState* __tstate = wxPyBeginAllowThreads();
13682 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);
13683
13684 wxPyEndAllowThreads(__tstate);
13685 if (PyErr_Occurred()) SWIG_fail;
13686 }
13687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13688 {
13689 if (temp3)
13690 delete arg3;
13691 }
13692 {
13693 if (temp6) delete arg6;
13694 }
13695 {
13696 if (temp10)
13697 delete arg10;
13698 }
13699 return resultobj;
13700 fail:
13701 {
13702 if (temp3)
13703 delete arg3;
13704 }
13705 {
13706 if (temp6) delete arg6;
13707 }
13708 {
13709 if (temp10)
13710 delete arg10;
13711 }
13712 return NULL;
13713 }
13714
13715
13716 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13717 PyObject *resultobj;
13718 wxRadioBox *result;
13719 char *kwnames[] = {
13720 NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13724 {
13725 if (!wxPyCheckForApp()) SWIG_fail;
13726 PyThreadState* __tstate = wxPyBeginAllowThreads();
13727 result = (wxRadioBox *)new wxRadioBox();
13728
13729 wxPyEndAllowThreads(__tstate);
13730 if (PyErr_Occurred()) SWIG_fail;
13731 }
13732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13733 return resultobj;
13734 fail:
13735 return NULL;
13736 }
13737
13738
13739 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13740 PyObject *resultobj;
13741 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13742 wxWindow *arg2 = (wxWindow *) 0 ;
13743 int arg3 = (int) -1 ;
13744 wxString const &arg4_defvalue = wxPyEmptyString ;
13745 wxString *arg4 = (wxString *) &arg4_defvalue ;
13746 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13747 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13748 wxSize const &arg6_defvalue = wxDefaultSize ;
13749 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13750 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13751 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13752 int arg8 = (int) 0 ;
13753 long arg9 = (long) wxRA_HORIZONTAL ;
13754 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13755 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13756 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13757 wxString *arg11 = (wxString *) &arg11_defvalue ;
13758 bool result;
13759 bool temp4 = false ;
13760 wxPoint temp5 ;
13761 wxSize temp6 ;
13762 bool temp7 = false ;
13763 bool temp11 = false ;
13764 PyObject * obj0 = 0 ;
13765 PyObject * obj1 = 0 ;
13766 PyObject * obj2 = 0 ;
13767 PyObject * obj3 = 0 ;
13768 PyObject * obj4 = 0 ;
13769 PyObject * obj5 = 0 ;
13770 PyObject * obj6 = 0 ;
13771 PyObject * obj7 = 0 ;
13772 PyObject * obj8 = 0 ;
13773 PyObject * obj9 = 0 ;
13774 PyObject * obj10 = 0 ;
13775 char *kwnames[] = {
13776 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13777 };
13778
13779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13781 if (SWIG_arg_fail(1)) SWIG_fail;
13782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13783 if (SWIG_arg_fail(2)) SWIG_fail;
13784 if (obj2) {
13785 {
13786 arg3 = (int)(SWIG_As_int(obj2));
13787 if (SWIG_arg_fail(3)) SWIG_fail;
13788 }
13789 }
13790 if (obj3) {
13791 {
13792 arg4 = wxString_in_helper(obj3);
13793 if (arg4 == NULL) SWIG_fail;
13794 temp4 = true;
13795 }
13796 }
13797 if (obj4) {
13798 {
13799 arg5 = &temp5;
13800 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13801 }
13802 }
13803 if (obj5) {
13804 {
13805 arg6 = &temp6;
13806 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13807 }
13808 }
13809 if (obj6) {
13810 {
13811 if (! PySequence_Check(obj6)) {
13812 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13813 SWIG_fail;
13814 }
13815 arg7 = new wxArrayString;
13816 temp7 = true;
13817 int i, len=PySequence_Length(obj6);
13818 for (i=0; i<len; i++) {
13819 PyObject* item = PySequence_GetItem(obj6, i);
13820 #if wxUSE_UNICODE
13821 PyObject* str = PyObject_Unicode(item);
13822 #else
13823 PyObject* str = PyObject_Str(item);
13824 #endif
13825 if (PyErr_Occurred()) SWIG_fail;
13826 arg7->Add(Py2wxString(str));
13827 Py_DECREF(item);
13828 Py_DECREF(str);
13829 }
13830 }
13831 }
13832 if (obj7) {
13833 {
13834 arg8 = (int)(SWIG_As_int(obj7));
13835 if (SWIG_arg_fail(8)) SWIG_fail;
13836 }
13837 }
13838 if (obj8) {
13839 {
13840 arg9 = (long)(SWIG_As_long(obj8));
13841 if (SWIG_arg_fail(9)) SWIG_fail;
13842 }
13843 }
13844 if (obj9) {
13845 {
13846 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13847 if (SWIG_arg_fail(10)) SWIG_fail;
13848 if (arg10 == NULL) {
13849 SWIG_null_ref("wxValidator");
13850 }
13851 if (SWIG_arg_fail(10)) SWIG_fail;
13852 }
13853 }
13854 if (obj10) {
13855 {
13856 arg11 = wxString_in_helper(obj10);
13857 if (arg11 == NULL) SWIG_fail;
13858 temp11 = true;
13859 }
13860 }
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 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);
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 {
13869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13870 }
13871 {
13872 if (temp4)
13873 delete arg4;
13874 }
13875 {
13876 if (temp7) delete arg7;
13877 }
13878 {
13879 if (temp11)
13880 delete arg11;
13881 }
13882 return resultobj;
13883 fail:
13884 {
13885 if (temp4)
13886 delete arg4;
13887 }
13888 {
13889 if (temp7) delete arg7;
13890 }
13891 {
13892 if (temp11)
13893 delete arg11;
13894 }
13895 return NULL;
13896 }
13897
13898
13899 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13900 PyObject *resultobj;
13901 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13902 int arg2 ;
13903 PyObject * obj0 = 0 ;
13904 PyObject * obj1 = 0 ;
13905 char *kwnames[] = {
13906 (char *) "self",(char *) "n", NULL
13907 };
13908
13909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13911 if (SWIG_arg_fail(1)) SWIG_fail;
13912 {
13913 arg2 = (int)(SWIG_As_int(obj1));
13914 if (SWIG_arg_fail(2)) SWIG_fail;
13915 }
13916 {
13917 PyThreadState* __tstate = wxPyBeginAllowThreads();
13918 (arg1)->SetSelection(arg2);
13919
13920 wxPyEndAllowThreads(__tstate);
13921 if (PyErr_Occurred()) SWIG_fail;
13922 }
13923 Py_INCREF(Py_None); resultobj = Py_None;
13924 return resultobj;
13925 fail:
13926 return NULL;
13927 }
13928
13929
13930 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13931 PyObject *resultobj;
13932 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13933 int result;
13934 PyObject * obj0 = 0 ;
13935 char *kwnames[] = {
13936 (char *) "self", NULL
13937 };
13938
13939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
13940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13941 if (SWIG_arg_fail(1)) SWIG_fail;
13942 {
13943 PyThreadState* __tstate = wxPyBeginAllowThreads();
13944 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13945
13946 wxPyEndAllowThreads(__tstate);
13947 if (PyErr_Occurred()) SWIG_fail;
13948 }
13949 {
13950 resultobj = SWIG_From_int((int)(result));
13951 }
13952 return resultobj;
13953 fail:
13954 return NULL;
13955 }
13956
13957
13958 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13959 PyObject *resultobj;
13960 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13961 wxString result;
13962 PyObject * obj0 = 0 ;
13963 char *kwnames[] = {
13964 (char *) "self", NULL
13965 };
13966
13967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
13968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13969 if (SWIG_arg_fail(1)) SWIG_fail;
13970 {
13971 PyThreadState* __tstate = wxPyBeginAllowThreads();
13972 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13973
13974 wxPyEndAllowThreads(__tstate);
13975 if (PyErr_Occurred()) SWIG_fail;
13976 }
13977 {
13978 #if wxUSE_UNICODE
13979 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13980 #else
13981 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13982 #endif
13983 }
13984 return resultobj;
13985 fail:
13986 return NULL;
13987 }
13988
13989
13990 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13991 PyObject *resultobj;
13992 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13993 wxString *arg2 = 0 ;
13994 bool result;
13995 bool temp2 = false ;
13996 PyObject * obj0 = 0 ;
13997 PyObject * obj1 = 0 ;
13998 char *kwnames[] = {
13999 (char *) "self",(char *) "s", NULL
14000 };
14001
14002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
14003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14004 if (SWIG_arg_fail(1)) SWIG_fail;
14005 {
14006 arg2 = wxString_in_helper(obj1);
14007 if (arg2 == NULL) SWIG_fail;
14008 temp2 = true;
14009 }
14010 {
14011 PyThreadState* __tstate = wxPyBeginAllowThreads();
14012 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
14013
14014 wxPyEndAllowThreads(__tstate);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
14017 {
14018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14019 }
14020 {
14021 if (temp2)
14022 delete arg2;
14023 }
14024 return resultobj;
14025 fail:
14026 {
14027 if (temp2)
14028 delete arg2;
14029 }
14030 return NULL;
14031 }
14032
14033
14034 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
14035 PyObject *resultobj;
14036 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14037 int result;
14038 PyObject * obj0 = 0 ;
14039 char *kwnames[] = {
14040 (char *) "self", NULL
14041 };
14042
14043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
14044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14045 if (SWIG_arg_fail(1)) SWIG_fail;
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (int)((wxRadioBox const *)arg1)->GetCount();
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 {
14054 resultobj = SWIG_From_int((int)(result));
14055 }
14056 return resultobj;
14057 fail:
14058 return NULL;
14059 }
14060
14061
14062 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14063 PyObject *resultobj;
14064 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14065 wxString *arg2 = 0 ;
14066 int result;
14067 bool temp2 = false ;
14068 PyObject * obj0 = 0 ;
14069 PyObject * obj1 = 0 ;
14070 char *kwnames[] = {
14071 (char *) "self",(char *) "s", NULL
14072 };
14073
14074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
14075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14076 if (SWIG_arg_fail(1)) SWIG_fail;
14077 {
14078 arg2 = wxString_in_helper(obj1);
14079 if (arg2 == NULL) SWIG_fail;
14080 temp2 = true;
14081 }
14082 {
14083 PyThreadState* __tstate = wxPyBeginAllowThreads();
14084 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14085
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 {
14090 resultobj = SWIG_From_int((int)(result));
14091 }
14092 {
14093 if (temp2)
14094 delete arg2;
14095 }
14096 return resultobj;
14097 fail:
14098 {
14099 if (temp2)
14100 delete arg2;
14101 }
14102 return NULL;
14103 }
14104
14105
14106 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14107 PyObject *resultobj;
14108 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14109 int arg2 ;
14110 wxString result;
14111 PyObject * obj0 = 0 ;
14112 PyObject * obj1 = 0 ;
14113 char *kwnames[] = {
14114 (char *) "self",(char *) "n", NULL
14115 };
14116
14117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14119 if (SWIG_arg_fail(1)) SWIG_fail;
14120 {
14121 arg2 = (int)(SWIG_As_int(obj1));
14122 if (SWIG_arg_fail(2)) SWIG_fail;
14123 }
14124 {
14125 PyThreadState* __tstate = wxPyBeginAllowThreads();
14126 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14127
14128 wxPyEndAllowThreads(__tstate);
14129 if (PyErr_Occurred()) SWIG_fail;
14130 }
14131 {
14132 #if wxUSE_UNICODE
14133 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14134 #else
14135 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14136 #endif
14137 }
14138 return resultobj;
14139 fail:
14140 return NULL;
14141 }
14142
14143
14144 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj;
14146 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14147 int arg2 ;
14148 wxString *arg3 = 0 ;
14149 bool temp3 = false ;
14150 PyObject * obj0 = 0 ;
14151 PyObject * obj1 = 0 ;
14152 PyObject * obj2 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "self",(char *) "n",(char *) "label", NULL
14155 };
14156
14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14159 if (SWIG_arg_fail(1)) SWIG_fail;
14160 {
14161 arg2 = (int)(SWIG_As_int(obj1));
14162 if (SWIG_arg_fail(2)) SWIG_fail;
14163 }
14164 {
14165 arg3 = wxString_in_helper(obj2);
14166 if (arg3 == NULL) SWIG_fail;
14167 temp3 = true;
14168 }
14169 {
14170 PyThreadState* __tstate = wxPyBeginAllowThreads();
14171 (arg1)->SetString(arg2,(wxString const &)*arg3);
14172
14173 wxPyEndAllowThreads(__tstate);
14174 if (PyErr_Occurred()) SWIG_fail;
14175 }
14176 Py_INCREF(Py_None); resultobj = Py_None;
14177 {
14178 if (temp3)
14179 delete arg3;
14180 }
14181 return resultobj;
14182 fail:
14183 {
14184 if (temp3)
14185 delete arg3;
14186 }
14187 return NULL;
14188 }
14189
14190
14191 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14192 PyObject *resultobj;
14193 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14194 int arg2 ;
14195 bool arg3 = (bool) true ;
14196 PyObject * obj0 = 0 ;
14197 PyObject * obj1 = 0 ;
14198 PyObject * obj2 = 0 ;
14199 char *kwnames[] = {
14200 (char *) "self",(char *) "n",(char *) "enable", NULL
14201 };
14202
14203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14205 if (SWIG_arg_fail(1)) SWIG_fail;
14206 {
14207 arg2 = (int)(SWIG_As_int(obj1));
14208 if (SWIG_arg_fail(2)) SWIG_fail;
14209 }
14210 if (obj2) {
14211 {
14212 arg3 = (bool)(SWIG_As_bool(obj2));
14213 if (SWIG_arg_fail(3)) SWIG_fail;
14214 }
14215 }
14216 {
14217 PyThreadState* __tstate = wxPyBeginAllowThreads();
14218 (arg1)->Enable(arg2,arg3);
14219
14220 wxPyEndAllowThreads(__tstate);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 Py_INCREF(Py_None); resultobj = Py_None;
14224 return resultobj;
14225 fail:
14226 return NULL;
14227 }
14228
14229
14230 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14231 PyObject *resultobj;
14232 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14233 int arg2 ;
14234 bool arg3 = (bool) true ;
14235 PyObject * obj0 = 0 ;
14236 PyObject * obj1 = 0 ;
14237 PyObject * obj2 = 0 ;
14238 char *kwnames[] = {
14239 (char *) "self",(char *) "n",(char *) "show", NULL
14240 };
14241
14242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14244 if (SWIG_arg_fail(1)) SWIG_fail;
14245 {
14246 arg2 = (int)(SWIG_As_int(obj1));
14247 if (SWIG_arg_fail(2)) SWIG_fail;
14248 }
14249 if (obj2) {
14250 {
14251 arg3 = (bool)(SWIG_As_bool(obj2));
14252 if (SWIG_arg_fail(3)) SWIG_fail;
14253 }
14254 }
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 (arg1)->Show(arg2,arg3);
14258
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 Py_INCREF(Py_None); resultobj = Py_None;
14263 return resultobj;
14264 fail:
14265 return NULL;
14266 }
14267
14268
14269 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14270 PyObject *resultobj;
14271 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14272 int result;
14273 PyObject * obj0 = 0 ;
14274 char *kwnames[] = {
14275 (char *) "self", NULL
14276 };
14277
14278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14280 if (SWIG_arg_fail(1)) SWIG_fail;
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14284
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 {
14289 resultobj = SWIG_From_int((int)(result));
14290 }
14291 return resultobj;
14292 fail:
14293 return NULL;
14294 }
14295
14296
14297 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14298 PyObject *resultobj;
14299 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14300 int result;
14301 PyObject * obj0 = 0 ;
14302 char *kwnames[] = {
14303 (char *) "self", NULL
14304 };
14305
14306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14308 if (SWIG_arg_fail(1)) SWIG_fail;
14309 {
14310 PyThreadState* __tstate = wxPyBeginAllowThreads();
14311 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14312
14313 wxPyEndAllowThreads(__tstate);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 {
14317 resultobj = SWIG_From_int((int)(result));
14318 }
14319 return resultobj;
14320 fail:
14321 return NULL;
14322 }
14323
14324
14325 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14326 PyObject *resultobj;
14327 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14328 int arg2 ;
14329 wxDirection arg3 ;
14330 long arg4 ;
14331 int result;
14332 PyObject * obj0 = 0 ;
14333 PyObject * obj1 = 0 ;
14334 PyObject * obj2 = 0 ;
14335 PyObject * obj3 = 0 ;
14336 char *kwnames[] = {
14337 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14338 };
14339
14340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14342 if (SWIG_arg_fail(1)) SWIG_fail;
14343 {
14344 arg2 = (int)(SWIG_As_int(obj1));
14345 if (SWIG_arg_fail(2)) SWIG_fail;
14346 }
14347 {
14348 arg3 = (wxDirection)(SWIG_As_int(obj2));
14349 if (SWIG_arg_fail(3)) SWIG_fail;
14350 }
14351 {
14352 arg4 = (long)(SWIG_As_long(obj3));
14353 if (SWIG_arg_fail(4)) SWIG_fail;
14354 }
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14358
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 {
14363 resultobj = SWIG_From_int((int)(result));
14364 }
14365 return resultobj;
14366 fail:
14367 return NULL;
14368 }
14369
14370
14371 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14372 PyObject *resultobj;
14373 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14374 wxVisualAttributes result;
14375 PyObject * obj0 = 0 ;
14376 char *kwnames[] = {
14377 (char *) "variant", NULL
14378 };
14379
14380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14381 if (obj0) {
14382 {
14383 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14384 if (SWIG_arg_fail(1)) SWIG_fail;
14385 }
14386 }
14387 {
14388 if (!wxPyCheckForApp()) SWIG_fail;
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14391
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 {
14396 wxVisualAttributes * resultptr;
14397 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14398 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14399 }
14400 return resultobj;
14401 fail:
14402 return NULL;
14403 }
14404
14405
14406 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14407 PyObject *obj;
14408 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14409 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14410 Py_INCREF(obj);
14411 return Py_BuildValue((char *)"");
14412 }
14413 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14414 PyObject *resultobj;
14415 wxWindow *arg1 = (wxWindow *) 0 ;
14416 int arg2 = (int) -1 ;
14417 wxString const &arg3_defvalue = wxPyEmptyString ;
14418 wxString *arg3 = (wxString *) &arg3_defvalue ;
14419 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14420 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14421 wxSize const &arg5_defvalue = wxDefaultSize ;
14422 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14423 long arg6 = (long) 0 ;
14424 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14425 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14426 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14427 wxString *arg8 = (wxString *) &arg8_defvalue ;
14428 wxRadioButton *result;
14429 bool temp3 = false ;
14430 wxPoint temp4 ;
14431 wxSize temp5 ;
14432 bool temp8 = false ;
14433 PyObject * obj0 = 0 ;
14434 PyObject * obj1 = 0 ;
14435 PyObject * obj2 = 0 ;
14436 PyObject * obj3 = 0 ;
14437 PyObject * obj4 = 0 ;
14438 PyObject * obj5 = 0 ;
14439 PyObject * obj6 = 0 ;
14440 PyObject * obj7 = 0 ;
14441 char *kwnames[] = {
14442 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14443 };
14444
14445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14447 if (SWIG_arg_fail(1)) SWIG_fail;
14448 if (obj1) {
14449 {
14450 arg2 = (int)(SWIG_As_int(obj1));
14451 if (SWIG_arg_fail(2)) SWIG_fail;
14452 }
14453 }
14454 if (obj2) {
14455 {
14456 arg3 = wxString_in_helper(obj2);
14457 if (arg3 == NULL) SWIG_fail;
14458 temp3 = true;
14459 }
14460 }
14461 if (obj3) {
14462 {
14463 arg4 = &temp4;
14464 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14465 }
14466 }
14467 if (obj4) {
14468 {
14469 arg5 = &temp5;
14470 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14471 }
14472 }
14473 if (obj5) {
14474 {
14475 arg6 = (long)(SWIG_As_long(obj5));
14476 if (SWIG_arg_fail(6)) SWIG_fail;
14477 }
14478 }
14479 if (obj6) {
14480 {
14481 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14482 if (SWIG_arg_fail(7)) SWIG_fail;
14483 if (arg7 == NULL) {
14484 SWIG_null_ref("wxValidator");
14485 }
14486 if (SWIG_arg_fail(7)) SWIG_fail;
14487 }
14488 }
14489 if (obj7) {
14490 {
14491 arg8 = wxString_in_helper(obj7);
14492 if (arg8 == NULL) SWIG_fail;
14493 temp8 = true;
14494 }
14495 }
14496 {
14497 if (!wxPyCheckForApp()) SWIG_fail;
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14500
14501 wxPyEndAllowThreads(__tstate);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 }
14504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14505 {
14506 if (temp3)
14507 delete arg3;
14508 }
14509 {
14510 if (temp8)
14511 delete arg8;
14512 }
14513 return resultobj;
14514 fail:
14515 {
14516 if (temp3)
14517 delete arg3;
14518 }
14519 {
14520 if (temp8)
14521 delete arg8;
14522 }
14523 return NULL;
14524 }
14525
14526
14527 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14528 PyObject *resultobj;
14529 wxRadioButton *result;
14530 char *kwnames[] = {
14531 NULL
14532 };
14533
14534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14535 {
14536 if (!wxPyCheckForApp()) SWIG_fail;
14537 PyThreadState* __tstate = wxPyBeginAllowThreads();
14538 result = (wxRadioButton *)new wxRadioButton();
14539
14540 wxPyEndAllowThreads(__tstate);
14541 if (PyErr_Occurred()) SWIG_fail;
14542 }
14543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14544 return resultobj;
14545 fail:
14546 return NULL;
14547 }
14548
14549
14550 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14551 PyObject *resultobj;
14552 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14553 wxWindow *arg2 = (wxWindow *) 0 ;
14554 int arg3 = (int) -1 ;
14555 wxString const &arg4_defvalue = wxPyEmptyString ;
14556 wxString *arg4 = (wxString *) &arg4_defvalue ;
14557 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14558 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14559 wxSize const &arg6_defvalue = wxDefaultSize ;
14560 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14561 long arg7 = (long) 0 ;
14562 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14563 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14564 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14565 wxString *arg9 = (wxString *) &arg9_defvalue ;
14566 bool result;
14567 bool temp4 = false ;
14568 wxPoint temp5 ;
14569 wxSize temp6 ;
14570 bool temp9 = false ;
14571 PyObject * obj0 = 0 ;
14572 PyObject * obj1 = 0 ;
14573 PyObject * obj2 = 0 ;
14574 PyObject * obj3 = 0 ;
14575 PyObject * obj4 = 0 ;
14576 PyObject * obj5 = 0 ;
14577 PyObject * obj6 = 0 ;
14578 PyObject * obj7 = 0 ;
14579 PyObject * obj8 = 0 ;
14580 char *kwnames[] = {
14581 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14582 };
14583
14584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14586 if (SWIG_arg_fail(1)) SWIG_fail;
14587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14588 if (SWIG_arg_fail(2)) SWIG_fail;
14589 if (obj2) {
14590 {
14591 arg3 = (int)(SWIG_As_int(obj2));
14592 if (SWIG_arg_fail(3)) SWIG_fail;
14593 }
14594 }
14595 if (obj3) {
14596 {
14597 arg4 = wxString_in_helper(obj3);
14598 if (arg4 == NULL) SWIG_fail;
14599 temp4 = true;
14600 }
14601 }
14602 if (obj4) {
14603 {
14604 arg5 = &temp5;
14605 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14606 }
14607 }
14608 if (obj5) {
14609 {
14610 arg6 = &temp6;
14611 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14612 }
14613 }
14614 if (obj6) {
14615 {
14616 arg7 = (long)(SWIG_As_long(obj6));
14617 if (SWIG_arg_fail(7)) SWIG_fail;
14618 }
14619 }
14620 if (obj7) {
14621 {
14622 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14623 if (SWIG_arg_fail(8)) SWIG_fail;
14624 if (arg8 == NULL) {
14625 SWIG_null_ref("wxValidator");
14626 }
14627 if (SWIG_arg_fail(8)) SWIG_fail;
14628 }
14629 }
14630 if (obj8) {
14631 {
14632 arg9 = wxString_in_helper(obj8);
14633 if (arg9 == NULL) SWIG_fail;
14634 temp9 = true;
14635 }
14636 }
14637 {
14638 PyThreadState* __tstate = wxPyBeginAllowThreads();
14639 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14640
14641 wxPyEndAllowThreads(__tstate);
14642 if (PyErr_Occurred()) SWIG_fail;
14643 }
14644 {
14645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14646 }
14647 {
14648 if (temp4)
14649 delete arg4;
14650 }
14651 {
14652 if (temp9)
14653 delete arg9;
14654 }
14655 return resultobj;
14656 fail:
14657 {
14658 if (temp4)
14659 delete arg4;
14660 }
14661 {
14662 if (temp9)
14663 delete arg9;
14664 }
14665 return NULL;
14666 }
14667
14668
14669 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14670 PyObject *resultobj;
14671 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14672 bool result;
14673 PyObject * obj0 = 0 ;
14674 char *kwnames[] = {
14675 (char *) "self", NULL
14676 };
14677
14678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14680 if (SWIG_arg_fail(1)) SWIG_fail;
14681 {
14682 PyThreadState* __tstate = wxPyBeginAllowThreads();
14683 result = (bool)(arg1)->GetValue();
14684
14685 wxPyEndAllowThreads(__tstate);
14686 if (PyErr_Occurred()) SWIG_fail;
14687 }
14688 {
14689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14690 }
14691 return resultobj;
14692 fail:
14693 return NULL;
14694 }
14695
14696
14697 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14698 PyObject *resultobj;
14699 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14700 bool arg2 ;
14701 PyObject * obj0 = 0 ;
14702 PyObject * obj1 = 0 ;
14703 char *kwnames[] = {
14704 (char *) "self",(char *) "value", NULL
14705 };
14706
14707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail;
14710 {
14711 arg2 = (bool)(SWIG_As_bool(obj1));
14712 if (SWIG_arg_fail(2)) SWIG_fail;
14713 }
14714 {
14715 PyThreadState* __tstate = wxPyBeginAllowThreads();
14716 (arg1)->SetValue(arg2);
14717
14718 wxPyEndAllowThreads(__tstate);
14719 if (PyErr_Occurred()) SWIG_fail;
14720 }
14721 Py_INCREF(Py_None); resultobj = Py_None;
14722 return resultobj;
14723 fail:
14724 return NULL;
14725 }
14726
14727
14728 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14729 PyObject *resultobj;
14730 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14731 wxVisualAttributes result;
14732 PyObject * obj0 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "variant", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14738 if (obj0) {
14739 {
14740 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14741 if (SWIG_arg_fail(1)) SWIG_fail;
14742 }
14743 }
14744 {
14745 if (!wxPyCheckForApp()) SWIG_fail;
14746 PyThreadState* __tstate = wxPyBeginAllowThreads();
14747 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14748
14749 wxPyEndAllowThreads(__tstate);
14750 if (PyErr_Occurred()) SWIG_fail;
14751 }
14752 {
14753 wxVisualAttributes * resultptr;
14754 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14755 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14756 }
14757 return resultobj;
14758 fail:
14759 return NULL;
14760 }
14761
14762
14763 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14764 PyObject *obj;
14765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14766 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14767 Py_INCREF(obj);
14768 return Py_BuildValue((char *)"");
14769 }
14770 static int _wrap_SliderNameStr_set(PyObject *) {
14771 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14772 return 1;
14773 }
14774
14775
14776 static PyObject *_wrap_SliderNameStr_get(void) {
14777 PyObject *pyobj;
14778
14779 {
14780 #if wxUSE_UNICODE
14781 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14782 #else
14783 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14784 #endif
14785 }
14786 return pyobj;
14787 }
14788
14789
14790 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14791 PyObject *resultobj;
14792 wxWindow *arg1 = (wxWindow *) 0 ;
14793 int arg2 = (int) -1 ;
14794 int arg3 = (int) 0 ;
14795 int arg4 = (int) 0 ;
14796 int arg5 = (int) 100 ;
14797 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14798 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14799 wxSize const &arg7_defvalue = wxDefaultSize ;
14800 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14801 long arg8 = (long) wxSL_HORIZONTAL ;
14802 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14803 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14804 wxString const &arg10_defvalue = wxPySliderNameStr ;
14805 wxString *arg10 = (wxString *) &arg10_defvalue ;
14806 wxSlider *result;
14807 wxPoint temp6 ;
14808 wxSize temp7 ;
14809 bool temp10 = false ;
14810 PyObject * obj0 = 0 ;
14811 PyObject * obj1 = 0 ;
14812 PyObject * obj2 = 0 ;
14813 PyObject * obj3 = 0 ;
14814 PyObject * obj4 = 0 ;
14815 PyObject * obj5 = 0 ;
14816 PyObject * obj6 = 0 ;
14817 PyObject * obj7 = 0 ;
14818 PyObject * obj8 = 0 ;
14819 PyObject * obj9 = 0 ;
14820 char *kwnames[] = {
14821 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14822 };
14823
14824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14826 if (SWIG_arg_fail(1)) SWIG_fail;
14827 if (obj1) {
14828 {
14829 arg2 = (int)(SWIG_As_int(obj1));
14830 if (SWIG_arg_fail(2)) SWIG_fail;
14831 }
14832 }
14833 if (obj2) {
14834 {
14835 arg3 = (int)(SWIG_As_int(obj2));
14836 if (SWIG_arg_fail(3)) SWIG_fail;
14837 }
14838 }
14839 if (obj3) {
14840 {
14841 arg4 = (int)(SWIG_As_int(obj3));
14842 if (SWIG_arg_fail(4)) SWIG_fail;
14843 }
14844 }
14845 if (obj4) {
14846 {
14847 arg5 = (int)(SWIG_As_int(obj4));
14848 if (SWIG_arg_fail(5)) SWIG_fail;
14849 }
14850 }
14851 if (obj5) {
14852 {
14853 arg6 = &temp6;
14854 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14855 }
14856 }
14857 if (obj6) {
14858 {
14859 arg7 = &temp7;
14860 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14861 }
14862 }
14863 if (obj7) {
14864 {
14865 arg8 = (long)(SWIG_As_long(obj7));
14866 if (SWIG_arg_fail(8)) SWIG_fail;
14867 }
14868 }
14869 if (obj8) {
14870 {
14871 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14872 if (SWIG_arg_fail(9)) SWIG_fail;
14873 if (arg9 == NULL) {
14874 SWIG_null_ref("wxValidator");
14875 }
14876 if (SWIG_arg_fail(9)) SWIG_fail;
14877 }
14878 }
14879 if (obj9) {
14880 {
14881 arg10 = wxString_in_helper(obj9);
14882 if (arg10 == NULL) SWIG_fail;
14883 temp10 = true;
14884 }
14885 }
14886 {
14887 if (!wxPyCheckForApp()) SWIG_fail;
14888 PyThreadState* __tstate = wxPyBeginAllowThreads();
14889 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14890
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14895 {
14896 if (temp10)
14897 delete arg10;
14898 }
14899 return resultobj;
14900 fail:
14901 {
14902 if (temp10)
14903 delete arg10;
14904 }
14905 return NULL;
14906 }
14907
14908
14909 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj;
14911 wxSlider *result;
14912 char *kwnames[] = {
14913 NULL
14914 };
14915
14916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14917 {
14918 if (!wxPyCheckForApp()) SWIG_fail;
14919 PyThreadState* __tstate = wxPyBeginAllowThreads();
14920 result = (wxSlider *)new wxSlider();
14921
14922 wxPyEndAllowThreads(__tstate);
14923 if (PyErr_Occurred()) SWIG_fail;
14924 }
14925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14926 return resultobj;
14927 fail:
14928 return NULL;
14929 }
14930
14931
14932 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14933 PyObject *resultobj;
14934 wxSlider *arg1 = (wxSlider *) 0 ;
14935 wxWindow *arg2 = (wxWindow *) 0 ;
14936 int arg3 = (int) -1 ;
14937 int arg4 = (int) 0 ;
14938 int arg5 = (int) 0 ;
14939 int arg6 = (int) 100 ;
14940 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14941 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14942 wxSize const &arg8_defvalue = wxDefaultSize ;
14943 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14944 long arg9 = (long) wxSL_HORIZONTAL ;
14945 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14946 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14947 wxString const &arg11_defvalue = wxPySliderNameStr ;
14948 wxString *arg11 = (wxString *) &arg11_defvalue ;
14949 bool result;
14950 wxPoint temp7 ;
14951 wxSize temp8 ;
14952 bool temp11 = false ;
14953 PyObject * obj0 = 0 ;
14954 PyObject * obj1 = 0 ;
14955 PyObject * obj2 = 0 ;
14956 PyObject * obj3 = 0 ;
14957 PyObject * obj4 = 0 ;
14958 PyObject * obj5 = 0 ;
14959 PyObject * obj6 = 0 ;
14960 PyObject * obj7 = 0 ;
14961 PyObject * obj8 = 0 ;
14962 PyObject * obj9 = 0 ;
14963 PyObject * obj10 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14970 if (SWIG_arg_fail(1)) SWIG_fail;
14971 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14972 if (SWIG_arg_fail(2)) SWIG_fail;
14973 if (obj2) {
14974 {
14975 arg3 = (int)(SWIG_As_int(obj2));
14976 if (SWIG_arg_fail(3)) SWIG_fail;
14977 }
14978 }
14979 if (obj3) {
14980 {
14981 arg4 = (int)(SWIG_As_int(obj3));
14982 if (SWIG_arg_fail(4)) SWIG_fail;
14983 }
14984 }
14985 if (obj4) {
14986 {
14987 arg5 = (int)(SWIG_As_int(obj4));
14988 if (SWIG_arg_fail(5)) SWIG_fail;
14989 }
14990 }
14991 if (obj5) {
14992 {
14993 arg6 = (int)(SWIG_As_int(obj5));
14994 if (SWIG_arg_fail(6)) SWIG_fail;
14995 }
14996 }
14997 if (obj6) {
14998 {
14999 arg7 = &temp7;
15000 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
15001 }
15002 }
15003 if (obj7) {
15004 {
15005 arg8 = &temp8;
15006 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
15007 }
15008 }
15009 if (obj8) {
15010 {
15011 arg9 = (long)(SWIG_As_long(obj8));
15012 if (SWIG_arg_fail(9)) SWIG_fail;
15013 }
15014 }
15015 if (obj9) {
15016 {
15017 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15018 if (SWIG_arg_fail(10)) SWIG_fail;
15019 if (arg10 == NULL) {
15020 SWIG_null_ref("wxValidator");
15021 }
15022 if (SWIG_arg_fail(10)) SWIG_fail;
15023 }
15024 }
15025 if (obj10) {
15026 {
15027 arg11 = wxString_in_helper(obj10);
15028 if (arg11 == NULL) SWIG_fail;
15029 temp11 = true;
15030 }
15031 }
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 {
15040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15041 }
15042 {
15043 if (temp11)
15044 delete arg11;
15045 }
15046 return resultobj;
15047 fail:
15048 {
15049 if (temp11)
15050 delete arg11;
15051 }
15052 return NULL;
15053 }
15054
15055
15056 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15057 PyObject *resultobj;
15058 wxSlider *arg1 = (wxSlider *) 0 ;
15059 int result;
15060 PyObject * obj0 = 0 ;
15061 char *kwnames[] = {
15062 (char *) "self", NULL
15063 };
15064
15065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15067 if (SWIG_arg_fail(1)) SWIG_fail;
15068 {
15069 PyThreadState* __tstate = wxPyBeginAllowThreads();
15070 result = (int)((wxSlider const *)arg1)->GetValue();
15071
15072 wxPyEndAllowThreads(__tstate);
15073 if (PyErr_Occurred()) SWIG_fail;
15074 }
15075 {
15076 resultobj = SWIG_From_int((int)(result));
15077 }
15078 return resultobj;
15079 fail:
15080 return NULL;
15081 }
15082
15083
15084 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15085 PyObject *resultobj;
15086 wxSlider *arg1 = (wxSlider *) 0 ;
15087 int arg2 ;
15088 PyObject * obj0 = 0 ;
15089 PyObject * obj1 = 0 ;
15090 char *kwnames[] = {
15091 (char *) "self",(char *) "value", NULL
15092 };
15093
15094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15096 if (SWIG_arg_fail(1)) SWIG_fail;
15097 {
15098 arg2 = (int)(SWIG_As_int(obj1));
15099 if (SWIG_arg_fail(2)) SWIG_fail;
15100 }
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 (arg1)->SetValue(arg2);
15104
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 Py_INCREF(Py_None); resultobj = Py_None;
15109 return resultobj;
15110 fail:
15111 return NULL;
15112 }
15113
15114
15115 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15116 PyObject *resultobj;
15117 wxSlider *arg1 = (wxSlider *) 0 ;
15118 int arg2 ;
15119 int arg3 ;
15120 PyObject * obj0 = 0 ;
15121 PyObject * obj1 = 0 ;
15122 PyObject * obj2 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15129 if (SWIG_arg_fail(1)) SWIG_fail;
15130 {
15131 arg2 = (int)(SWIG_As_int(obj1));
15132 if (SWIG_arg_fail(2)) SWIG_fail;
15133 }
15134 {
15135 arg3 = (int)(SWIG_As_int(obj2));
15136 if (SWIG_arg_fail(3)) SWIG_fail;
15137 }
15138 {
15139 PyThreadState* __tstate = wxPyBeginAllowThreads();
15140 (arg1)->SetRange(arg2,arg3);
15141
15142 wxPyEndAllowThreads(__tstate);
15143 if (PyErr_Occurred()) SWIG_fail;
15144 }
15145 Py_INCREF(Py_None); resultobj = Py_None;
15146 return resultobj;
15147 fail:
15148 return NULL;
15149 }
15150
15151
15152 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15153 PyObject *resultobj;
15154 wxSlider *arg1 = (wxSlider *) 0 ;
15155 int result;
15156 PyObject * obj0 = 0 ;
15157 char *kwnames[] = {
15158 (char *) "self", NULL
15159 };
15160
15161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15163 if (SWIG_arg_fail(1)) SWIG_fail;
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 result = (int)((wxSlider const *)arg1)->GetMin();
15167
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
15171 {
15172 resultobj = SWIG_From_int((int)(result));
15173 }
15174 return resultobj;
15175 fail:
15176 return NULL;
15177 }
15178
15179
15180 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15181 PyObject *resultobj;
15182 wxSlider *arg1 = (wxSlider *) 0 ;
15183 int result;
15184 PyObject * obj0 = 0 ;
15185 char *kwnames[] = {
15186 (char *) "self", NULL
15187 };
15188
15189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15191 if (SWIG_arg_fail(1)) SWIG_fail;
15192 {
15193 PyThreadState* __tstate = wxPyBeginAllowThreads();
15194 result = (int)((wxSlider const *)arg1)->GetMax();
15195
15196 wxPyEndAllowThreads(__tstate);
15197 if (PyErr_Occurred()) SWIG_fail;
15198 }
15199 {
15200 resultobj = SWIG_From_int((int)(result));
15201 }
15202 return resultobj;
15203 fail:
15204 return NULL;
15205 }
15206
15207
15208 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj;
15210 wxSlider *arg1 = (wxSlider *) 0 ;
15211 int arg2 ;
15212 PyObject * obj0 = 0 ;
15213 PyObject * obj1 = 0 ;
15214 char *kwnames[] = {
15215 (char *) "self",(char *) "minValue", NULL
15216 };
15217
15218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15220 if (SWIG_arg_fail(1)) SWIG_fail;
15221 {
15222 arg2 = (int)(SWIG_As_int(obj1));
15223 if (SWIG_arg_fail(2)) SWIG_fail;
15224 }
15225 {
15226 PyThreadState* __tstate = wxPyBeginAllowThreads();
15227 (arg1)->SetMin(arg2);
15228
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 Py_INCREF(Py_None); resultobj = Py_None;
15233 return resultobj;
15234 fail:
15235 return NULL;
15236 }
15237
15238
15239 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj;
15241 wxSlider *arg1 = (wxSlider *) 0 ;
15242 int arg2 ;
15243 PyObject * obj0 = 0 ;
15244 PyObject * obj1 = 0 ;
15245 char *kwnames[] = {
15246 (char *) "self",(char *) "maxValue", NULL
15247 };
15248
15249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15251 if (SWIG_arg_fail(1)) SWIG_fail;
15252 {
15253 arg2 = (int)(SWIG_As_int(obj1));
15254 if (SWIG_arg_fail(2)) SWIG_fail;
15255 }
15256 {
15257 PyThreadState* __tstate = wxPyBeginAllowThreads();
15258 (arg1)->SetMax(arg2);
15259
15260 wxPyEndAllowThreads(__tstate);
15261 if (PyErr_Occurred()) SWIG_fail;
15262 }
15263 Py_INCREF(Py_None); resultobj = Py_None;
15264 return resultobj;
15265 fail:
15266 return NULL;
15267 }
15268
15269
15270 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15271 PyObject *resultobj;
15272 wxSlider *arg1 = (wxSlider *) 0 ;
15273 int arg2 ;
15274 PyObject * obj0 = 0 ;
15275 PyObject * obj1 = 0 ;
15276 char *kwnames[] = {
15277 (char *) "self",(char *) "lineSize", NULL
15278 };
15279
15280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15282 if (SWIG_arg_fail(1)) SWIG_fail;
15283 {
15284 arg2 = (int)(SWIG_As_int(obj1));
15285 if (SWIG_arg_fail(2)) SWIG_fail;
15286 }
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 (arg1)->SetLineSize(arg2);
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 Py_INCREF(Py_None); resultobj = Py_None;
15295 return resultobj;
15296 fail:
15297 return NULL;
15298 }
15299
15300
15301 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15302 PyObject *resultobj;
15303 wxSlider *arg1 = (wxSlider *) 0 ;
15304 int arg2 ;
15305 PyObject * obj0 = 0 ;
15306 PyObject * obj1 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "self",(char *) "pageSize", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15313 if (SWIG_arg_fail(1)) SWIG_fail;
15314 {
15315 arg2 = (int)(SWIG_As_int(obj1));
15316 if (SWIG_arg_fail(2)) SWIG_fail;
15317 }
15318 {
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
15320 (arg1)->SetPageSize(arg2);
15321
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 Py_INCREF(Py_None); resultobj = Py_None;
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15333 PyObject *resultobj;
15334 wxSlider *arg1 = (wxSlider *) 0 ;
15335 int result;
15336 PyObject * obj0 = 0 ;
15337 char *kwnames[] = {
15338 (char *) "self", NULL
15339 };
15340
15341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15343 if (SWIG_arg_fail(1)) SWIG_fail;
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 result = (int)((wxSlider const *)arg1)->GetLineSize();
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 {
15352 resultobj = SWIG_From_int((int)(result));
15353 }
15354 return resultobj;
15355 fail:
15356 return NULL;
15357 }
15358
15359
15360 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15361 PyObject *resultobj;
15362 wxSlider *arg1 = (wxSlider *) 0 ;
15363 int result;
15364 PyObject * obj0 = 0 ;
15365 char *kwnames[] = {
15366 (char *) "self", NULL
15367 };
15368
15369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15371 if (SWIG_arg_fail(1)) SWIG_fail;
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 result = (int)((wxSlider const *)arg1)->GetPageSize();
15375
15376 wxPyEndAllowThreads(__tstate);
15377 if (PyErr_Occurred()) SWIG_fail;
15378 }
15379 {
15380 resultobj = SWIG_From_int((int)(result));
15381 }
15382 return resultobj;
15383 fail:
15384 return NULL;
15385 }
15386
15387
15388 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15389 PyObject *resultobj;
15390 wxSlider *arg1 = (wxSlider *) 0 ;
15391 int arg2 ;
15392 PyObject * obj0 = 0 ;
15393 PyObject * obj1 = 0 ;
15394 char *kwnames[] = {
15395 (char *) "self",(char *) "lenPixels", NULL
15396 };
15397
15398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15400 if (SWIG_arg_fail(1)) SWIG_fail;
15401 {
15402 arg2 = (int)(SWIG_As_int(obj1));
15403 if (SWIG_arg_fail(2)) SWIG_fail;
15404 }
15405 {
15406 PyThreadState* __tstate = wxPyBeginAllowThreads();
15407 (arg1)->SetThumbLength(arg2);
15408
15409 wxPyEndAllowThreads(__tstate);
15410 if (PyErr_Occurred()) SWIG_fail;
15411 }
15412 Py_INCREF(Py_None); resultobj = Py_None;
15413 return resultobj;
15414 fail:
15415 return NULL;
15416 }
15417
15418
15419 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15420 PyObject *resultobj;
15421 wxSlider *arg1 = (wxSlider *) 0 ;
15422 int result;
15423 PyObject * obj0 = 0 ;
15424 char *kwnames[] = {
15425 (char *) "self", NULL
15426 };
15427
15428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15430 if (SWIG_arg_fail(1)) SWIG_fail;
15431 {
15432 PyThreadState* __tstate = wxPyBeginAllowThreads();
15433 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15434
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
15438 {
15439 resultobj = SWIG_From_int((int)(result));
15440 }
15441 return resultobj;
15442 fail:
15443 return NULL;
15444 }
15445
15446
15447 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15448 PyObject *resultobj;
15449 wxSlider *arg1 = (wxSlider *) 0 ;
15450 int arg2 ;
15451 int arg3 = (int) 1 ;
15452 PyObject * obj0 = 0 ;
15453 PyObject * obj1 = 0 ;
15454 PyObject * obj2 = 0 ;
15455 char *kwnames[] = {
15456 (char *) "self",(char *) "n",(char *) "pos", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15461 if (SWIG_arg_fail(1)) SWIG_fail;
15462 {
15463 arg2 = (int)(SWIG_As_int(obj1));
15464 if (SWIG_arg_fail(2)) SWIG_fail;
15465 }
15466 if (obj2) {
15467 {
15468 arg3 = (int)(SWIG_As_int(obj2));
15469 if (SWIG_arg_fail(3)) SWIG_fail;
15470 }
15471 }
15472 {
15473 PyThreadState* __tstate = wxPyBeginAllowThreads();
15474 (arg1)->SetTickFreq(arg2,arg3);
15475
15476 wxPyEndAllowThreads(__tstate);
15477 if (PyErr_Occurred()) SWIG_fail;
15478 }
15479 Py_INCREF(Py_None); resultobj = Py_None;
15480 return resultobj;
15481 fail:
15482 return NULL;
15483 }
15484
15485
15486 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15487 PyObject *resultobj;
15488 wxSlider *arg1 = (wxSlider *) 0 ;
15489 int result;
15490 PyObject * obj0 = 0 ;
15491 char *kwnames[] = {
15492 (char *) "self", NULL
15493 };
15494
15495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15497 if (SWIG_arg_fail(1)) SWIG_fail;
15498 {
15499 PyThreadState* __tstate = wxPyBeginAllowThreads();
15500 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15501
15502 wxPyEndAllowThreads(__tstate);
15503 if (PyErr_Occurred()) SWIG_fail;
15504 }
15505 {
15506 resultobj = SWIG_From_int((int)(result));
15507 }
15508 return resultobj;
15509 fail:
15510 return NULL;
15511 }
15512
15513
15514 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxSlider *arg1 = (wxSlider *) 0 ;
15517 PyObject * obj0 = 0 ;
15518 char *kwnames[] = {
15519 (char *) "self", NULL
15520 };
15521
15522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15524 if (SWIG_arg_fail(1)) SWIG_fail;
15525 {
15526 PyThreadState* __tstate = wxPyBeginAllowThreads();
15527 (arg1)->ClearTicks();
15528
15529 wxPyEndAllowThreads(__tstate);
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
15532 Py_INCREF(Py_None); resultobj = Py_None;
15533 return resultobj;
15534 fail:
15535 return NULL;
15536 }
15537
15538
15539 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15540 PyObject *resultobj;
15541 wxSlider *arg1 = (wxSlider *) 0 ;
15542 int arg2 ;
15543 PyObject * obj0 = 0 ;
15544 PyObject * obj1 = 0 ;
15545 char *kwnames[] = {
15546 (char *) "self",(char *) "tickPos", NULL
15547 };
15548
15549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15551 if (SWIG_arg_fail(1)) SWIG_fail;
15552 {
15553 arg2 = (int)(SWIG_As_int(obj1));
15554 if (SWIG_arg_fail(2)) SWIG_fail;
15555 }
15556 {
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 (arg1)->SetTick(arg2);
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 Py_INCREF(Py_None); resultobj = Py_None;
15564 return resultobj;
15565 fail:
15566 return NULL;
15567 }
15568
15569
15570 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 wxSlider *arg1 = (wxSlider *) 0 ;
15573 PyObject * obj0 = 0 ;
15574 char *kwnames[] = {
15575 (char *) "self", NULL
15576 };
15577
15578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15580 if (SWIG_arg_fail(1)) SWIG_fail;
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 (arg1)->ClearSel();
15584
15585 wxPyEndAllowThreads(__tstate);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 Py_INCREF(Py_None); resultobj = Py_None;
15589 return resultobj;
15590 fail:
15591 return NULL;
15592 }
15593
15594
15595 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15596 PyObject *resultobj;
15597 wxSlider *arg1 = (wxSlider *) 0 ;
15598 int result;
15599 PyObject * obj0 = 0 ;
15600 char *kwnames[] = {
15601 (char *) "self", NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15606 if (SWIG_arg_fail(1)) SWIG_fail;
15607 {
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15610
15611 wxPyEndAllowThreads(__tstate);
15612 if (PyErr_Occurred()) SWIG_fail;
15613 }
15614 {
15615 resultobj = SWIG_From_int((int)(result));
15616 }
15617 return resultobj;
15618 fail:
15619 return NULL;
15620 }
15621
15622
15623 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15624 PyObject *resultobj;
15625 wxSlider *arg1 = (wxSlider *) 0 ;
15626 int result;
15627 PyObject * obj0 = 0 ;
15628 char *kwnames[] = {
15629 (char *) "self", NULL
15630 };
15631
15632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15634 if (SWIG_arg_fail(1)) SWIG_fail;
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 result = (int)((wxSlider const *)arg1)->GetSelStart();
15638
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
15642 {
15643 resultobj = SWIG_From_int((int)(result));
15644 }
15645 return resultobj;
15646 fail:
15647 return NULL;
15648 }
15649
15650
15651 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxSlider *arg1 = (wxSlider *) 0 ;
15654 int arg2 ;
15655 int arg3 ;
15656 PyObject * obj0 = 0 ;
15657 PyObject * obj1 = 0 ;
15658 PyObject * obj2 = 0 ;
15659 char *kwnames[] = {
15660 (char *) "self",(char *) "min",(char *) "max", NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15665 if (SWIG_arg_fail(1)) SWIG_fail;
15666 {
15667 arg2 = (int)(SWIG_As_int(obj1));
15668 if (SWIG_arg_fail(2)) SWIG_fail;
15669 }
15670 {
15671 arg3 = (int)(SWIG_As_int(obj2));
15672 if (SWIG_arg_fail(3)) SWIG_fail;
15673 }
15674 {
15675 PyThreadState* __tstate = wxPyBeginAllowThreads();
15676 (arg1)->SetSelection(arg2,arg3);
15677
15678 wxPyEndAllowThreads(__tstate);
15679 if (PyErr_Occurred()) SWIG_fail;
15680 }
15681 Py_INCREF(Py_None); resultobj = Py_None;
15682 return resultobj;
15683 fail:
15684 return NULL;
15685 }
15686
15687
15688 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15689 PyObject *resultobj;
15690 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15691 wxVisualAttributes result;
15692 PyObject * obj0 = 0 ;
15693 char *kwnames[] = {
15694 (char *) "variant", NULL
15695 };
15696
15697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15698 if (obj0) {
15699 {
15700 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15701 if (SWIG_arg_fail(1)) SWIG_fail;
15702 }
15703 }
15704 {
15705 if (!wxPyCheckForApp()) SWIG_fail;
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15708
15709 wxPyEndAllowThreads(__tstate);
15710 if (PyErr_Occurred()) SWIG_fail;
15711 }
15712 {
15713 wxVisualAttributes * resultptr;
15714 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
15715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15716 }
15717 return resultobj;
15718 fail:
15719 return NULL;
15720 }
15721
15722
15723 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15724 PyObject *obj;
15725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15726 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15727 Py_INCREF(obj);
15728 return Py_BuildValue((char *)"");
15729 }
15730 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15731 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15732 return 1;
15733 }
15734
15735
15736 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15737 PyObject *pyobj;
15738
15739 {
15740 #if wxUSE_UNICODE
15741 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15742 #else
15743 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15744 #endif
15745 }
15746 return pyobj;
15747 }
15748
15749
15750 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15751 PyObject *resultobj;
15752 wxWindow *arg1 = (wxWindow *) 0 ;
15753 int arg2 = (int) -1 ;
15754 wxString const &arg3_defvalue = wxPyEmptyString ;
15755 wxString *arg3 = (wxString *) &arg3_defvalue ;
15756 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15757 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15758 wxSize const &arg5_defvalue = wxDefaultSize ;
15759 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15760 long arg6 = (long) 0 ;
15761 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15762 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15763 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15764 wxString *arg8 = (wxString *) &arg8_defvalue ;
15765 wxToggleButton *result;
15766 bool temp3 = false ;
15767 wxPoint temp4 ;
15768 wxSize temp5 ;
15769 bool temp8 = false ;
15770 PyObject * obj0 = 0 ;
15771 PyObject * obj1 = 0 ;
15772 PyObject * obj2 = 0 ;
15773 PyObject * obj3 = 0 ;
15774 PyObject * obj4 = 0 ;
15775 PyObject * obj5 = 0 ;
15776 PyObject * obj6 = 0 ;
15777 PyObject * obj7 = 0 ;
15778 char *kwnames[] = {
15779 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15780 };
15781
15782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15784 if (SWIG_arg_fail(1)) SWIG_fail;
15785 if (obj1) {
15786 {
15787 arg2 = (int)(SWIG_As_int(obj1));
15788 if (SWIG_arg_fail(2)) SWIG_fail;
15789 }
15790 }
15791 if (obj2) {
15792 {
15793 arg3 = wxString_in_helper(obj2);
15794 if (arg3 == NULL) SWIG_fail;
15795 temp3 = true;
15796 }
15797 }
15798 if (obj3) {
15799 {
15800 arg4 = &temp4;
15801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15802 }
15803 }
15804 if (obj4) {
15805 {
15806 arg5 = &temp5;
15807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15808 }
15809 }
15810 if (obj5) {
15811 {
15812 arg6 = (long)(SWIG_As_long(obj5));
15813 if (SWIG_arg_fail(6)) SWIG_fail;
15814 }
15815 }
15816 if (obj6) {
15817 {
15818 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15819 if (SWIG_arg_fail(7)) SWIG_fail;
15820 if (arg7 == NULL) {
15821 SWIG_null_ref("wxValidator");
15822 }
15823 if (SWIG_arg_fail(7)) SWIG_fail;
15824 }
15825 }
15826 if (obj7) {
15827 {
15828 arg8 = wxString_in_helper(obj7);
15829 if (arg8 == NULL) SWIG_fail;
15830 temp8 = true;
15831 }
15832 }
15833 {
15834 if (!wxPyCheckForApp()) SWIG_fail;
15835 PyThreadState* __tstate = wxPyBeginAllowThreads();
15836 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15837
15838 wxPyEndAllowThreads(__tstate);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15842 {
15843 if (temp3)
15844 delete arg3;
15845 }
15846 {
15847 if (temp8)
15848 delete arg8;
15849 }
15850 return resultobj;
15851 fail:
15852 {
15853 if (temp3)
15854 delete arg3;
15855 }
15856 {
15857 if (temp8)
15858 delete arg8;
15859 }
15860 return NULL;
15861 }
15862
15863
15864 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15865 PyObject *resultobj;
15866 wxToggleButton *result;
15867 char *kwnames[] = {
15868 NULL
15869 };
15870
15871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15872 {
15873 if (!wxPyCheckForApp()) SWIG_fail;
15874 PyThreadState* __tstate = wxPyBeginAllowThreads();
15875 result = (wxToggleButton *)new wxToggleButton();
15876
15877 wxPyEndAllowThreads(__tstate);
15878 if (PyErr_Occurred()) SWIG_fail;
15879 }
15880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15881 return resultobj;
15882 fail:
15883 return NULL;
15884 }
15885
15886
15887 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15888 PyObject *resultobj;
15889 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15890 wxWindow *arg2 = (wxWindow *) 0 ;
15891 int arg3 = (int) -1 ;
15892 wxString const &arg4_defvalue = wxPyEmptyString ;
15893 wxString *arg4 = (wxString *) &arg4_defvalue ;
15894 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15895 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15896 wxSize const &arg6_defvalue = wxDefaultSize ;
15897 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15898 long arg7 = (long) 0 ;
15899 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15900 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15901 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15902 wxString *arg9 = (wxString *) &arg9_defvalue ;
15903 bool result;
15904 bool temp4 = false ;
15905 wxPoint temp5 ;
15906 wxSize temp6 ;
15907 bool temp9 = false ;
15908 PyObject * obj0 = 0 ;
15909 PyObject * obj1 = 0 ;
15910 PyObject * obj2 = 0 ;
15911 PyObject * obj3 = 0 ;
15912 PyObject * obj4 = 0 ;
15913 PyObject * obj5 = 0 ;
15914 PyObject * obj6 = 0 ;
15915 PyObject * obj7 = 0 ;
15916 PyObject * obj8 = 0 ;
15917 char *kwnames[] = {
15918 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15919 };
15920
15921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15923 if (SWIG_arg_fail(1)) SWIG_fail;
15924 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15925 if (SWIG_arg_fail(2)) SWIG_fail;
15926 if (obj2) {
15927 {
15928 arg3 = (int)(SWIG_As_int(obj2));
15929 if (SWIG_arg_fail(3)) SWIG_fail;
15930 }
15931 }
15932 if (obj3) {
15933 {
15934 arg4 = wxString_in_helper(obj3);
15935 if (arg4 == NULL) SWIG_fail;
15936 temp4 = true;
15937 }
15938 }
15939 if (obj4) {
15940 {
15941 arg5 = &temp5;
15942 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15943 }
15944 }
15945 if (obj5) {
15946 {
15947 arg6 = &temp6;
15948 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15949 }
15950 }
15951 if (obj6) {
15952 {
15953 arg7 = (long)(SWIG_As_long(obj6));
15954 if (SWIG_arg_fail(7)) SWIG_fail;
15955 }
15956 }
15957 if (obj7) {
15958 {
15959 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15960 if (SWIG_arg_fail(8)) SWIG_fail;
15961 if (arg8 == NULL) {
15962 SWIG_null_ref("wxValidator");
15963 }
15964 if (SWIG_arg_fail(8)) SWIG_fail;
15965 }
15966 }
15967 if (obj8) {
15968 {
15969 arg9 = wxString_in_helper(obj8);
15970 if (arg9 == NULL) SWIG_fail;
15971 temp9 = true;
15972 }
15973 }
15974 {
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
15976 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15977
15978 wxPyEndAllowThreads(__tstate);
15979 if (PyErr_Occurred()) SWIG_fail;
15980 }
15981 {
15982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15983 }
15984 {
15985 if (temp4)
15986 delete arg4;
15987 }
15988 {
15989 if (temp9)
15990 delete arg9;
15991 }
15992 return resultobj;
15993 fail:
15994 {
15995 if (temp4)
15996 delete arg4;
15997 }
15998 {
15999 if (temp9)
16000 delete arg9;
16001 }
16002 return NULL;
16003 }
16004
16005
16006 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16007 PyObject *resultobj;
16008 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16009 bool arg2 ;
16010 PyObject * obj0 = 0 ;
16011 PyObject * obj1 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self",(char *) "value", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
16017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16018 if (SWIG_arg_fail(1)) SWIG_fail;
16019 {
16020 arg2 = (bool)(SWIG_As_bool(obj1));
16021 if (SWIG_arg_fail(2)) SWIG_fail;
16022 }
16023 {
16024 PyThreadState* __tstate = wxPyBeginAllowThreads();
16025 (arg1)->SetValue(arg2);
16026
16027 wxPyEndAllowThreads(__tstate);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 }
16030 Py_INCREF(Py_None); resultobj = Py_None;
16031 return resultobj;
16032 fail:
16033 return NULL;
16034 }
16035
16036
16037 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16038 PyObject *resultobj;
16039 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16040 bool result;
16041 PyObject * obj0 = 0 ;
16042 char *kwnames[] = {
16043 (char *) "self", NULL
16044 };
16045
16046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
16047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16048 if (SWIG_arg_fail(1)) SWIG_fail;
16049 {
16050 PyThreadState* __tstate = wxPyBeginAllowThreads();
16051 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16052
16053 wxPyEndAllowThreads(__tstate);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 }
16056 {
16057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16058 }
16059 return resultobj;
16060 fail:
16061 return NULL;
16062 }
16063
16064
16065 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16066 PyObject *resultobj;
16067 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16068 wxString *arg2 = 0 ;
16069 bool temp2 = false ;
16070 PyObject * obj0 = 0 ;
16071 PyObject * obj1 = 0 ;
16072 char *kwnames[] = {
16073 (char *) "self",(char *) "label", NULL
16074 };
16075
16076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16078 if (SWIG_arg_fail(1)) SWIG_fail;
16079 {
16080 arg2 = wxString_in_helper(obj1);
16081 if (arg2 == NULL) SWIG_fail;
16082 temp2 = true;
16083 }
16084 {
16085 PyThreadState* __tstate = wxPyBeginAllowThreads();
16086 (arg1)->SetLabel((wxString const &)*arg2);
16087
16088 wxPyEndAllowThreads(__tstate);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 }
16091 Py_INCREF(Py_None); resultobj = Py_None;
16092 {
16093 if (temp2)
16094 delete arg2;
16095 }
16096 return resultobj;
16097 fail:
16098 {
16099 if (temp2)
16100 delete arg2;
16101 }
16102 return NULL;
16103 }
16104
16105
16106 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16107 PyObject *resultobj;
16108 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16109 wxVisualAttributes result;
16110 PyObject * obj0 = 0 ;
16111 char *kwnames[] = {
16112 (char *) "variant", NULL
16113 };
16114
16115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16116 if (obj0) {
16117 {
16118 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16119 if (SWIG_arg_fail(1)) SWIG_fail;
16120 }
16121 }
16122 {
16123 if (!wxPyCheckForApp()) SWIG_fail;
16124 PyThreadState* __tstate = wxPyBeginAllowThreads();
16125 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16126
16127 wxPyEndAllowThreads(__tstate);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 {
16131 wxVisualAttributes * resultptr;
16132 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16134 }
16135 return resultobj;
16136 fail:
16137 return NULL;
16138 }
16139
16140
16141 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16142 PyObject *obj;
16143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16144 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16145 Py_INCREF(obj);
16146 return Py_BuildValue((char *)"");
16147 }
16148 static int _wrap_NotebookNameStr_set(PyObject *) {
16149 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16150 return 1;
16151 }
16152
16153
16154 static PyObject *_wrap_NotebookNameStr_get(void) {
16155 PyObject *pyobj;
16156
16157 {
16158 #if wxUSE_UNICODE
16159 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16160 #else
16161 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16162 #endif
16163 }
16164 return pyobj;
16165 }
16166
16167
16168 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj;
16170 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16171 size_t result;
16172 PyObject * obj0 = 0 ;
16173 char *kwnames[] = {
16174 (char *) "self", NULL
16175 };
16176
16177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16179 if (SWIG_arg_fail(1)) SWIG_fail;
16180 {
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
16182 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16183
16184 wxPyEndAllowThreads(__tstate);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 }
16187 {
16188 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16189 }
16190 return resultobj;
16191 fail:
16192 return NULL;
16193 }
16194
16195
16196 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16197 PyObject *resultobj;
16198 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16199 size_t arg2 ;
16200 wxWindow *result;
16201 PyObject * obj0 = 0 ;
16202 PyObject * obj1 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self",(char *) "n", NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16209 if (SWIG_arg_fail(1)) SWIG_fail;
16210 {
16211 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16212 if (SWIG_arg_fail(2)) SWIG_fail;
16213 }
16214 {
16215 PyThreadState* __tstate = wxPyBeginAllowThreads();
16216 result = (wxWindow *)(arg1)->GetPage(arg2);
16217
16218 wxPyEndAllowThreads(__tstate);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 }
16221 {
16222 resultobj = wxPyMake_wxObject(result, 0);
16223 }
16224 return resultobj;
16225 fail:
16226 return NULL;
16227 }
16228
16229
16230 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16231 PyObject *resultobj;
16232 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16233 wxWindow *result;
16234 PyObject * obj0 = 0 ;
16235 char *kwnames[] = {
16236 (char *) "self", NULL
16237 };
16238
16239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16241 if (SWIG_arg_fail(1)) SWIG_fail;
16242 {
16243 PyThreadState* __tstate = wxPyBeginAllowThreads();
16244 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16245
16246 wxPyEndAllowThreads(__tstate);
16247 if (PyErr_Occurred()) SWIG_fail;
16248 }
16249 {
16250 resultobj = wxPyMake_wxObject(result, 0);
16251 }
16252 return resultobj;
16253 fail:
16254 return NULL;
16255 }
16256
16257
16258 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16259 PyObject *resultobj;
16260 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16261 int result;
16262 PyObject * obj0 = 0 ;
16263 char *kwnames[] = {
16264 (char *) "self", NULL
16265 };
16266
16267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16269 if (SWIG_arg_fail(1)) SWIG_fail;
16270 {
16271 PyThreadState* __tstate = wxPyBeginAllowThreads();
16272 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16273
16274 wxPyEndAllowThreads(__tstate);
16275 if (PyErr_Occurred()) SWIG_fail;
16276 }
16277 {
16278 resultobj = SWIG_From_int((int)(result));
16279 }
16280 return resultobj;
16281 fail:
16282 return NULL;
16283 }
16284
16285
16286 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16287 PyObject *resultobj;
16288 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16289 size_t arg2 ;
16290 wxString *arg3 = 0 ;
16291 bool result;
16292 bool temp3 = false ;
16293 PyObject * obj0 = 0 ;
16294 PyObject * obj1 = 0 ;
16295 PyObject * obj2 = 0 ;
16296 char *kwnames[] = {
16297 (char *) "self",(char *) "n",(char *) "strText", NULL
16298 };
16299
16300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16302 if (SWIG_arg_fail(1)) SWIG_fail;
16303 {
16304 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16305 if (SWIG_arg_fail(2)) SWIG_fail;
16306 }
16307 {
16308 arg3 = wxString_in_helper(obj2);
16309 if (arg3 == NULL) SWIG_fail;
16310 temp3 = true;
16311 }
16312 {
16313 PyThreadState* __tstate = wxPyBeginAllowThreads();
16314 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16315
16316 wxPyEndAllowThreads(__tstate);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
16319 {
16320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16321 }
16322 {
16323 if (temp3)
16324 delete arg3;
16325 }
16326 return resultobj;
16327 fail:
16328 {
16329 if (temp3)
16330 delete arg3;
16331 }
16332 return NULL;
16333 }
16334
16335
16336 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16339 size_t arg2 ;
16340 wxString result;
16341 PyObject * obj0 = 0 ;
16342 PyObject * obj1 = 0 ;
16343 char *kwnames[] = {
16344 (char *) "self",(char *) "n", NULL
16345 };
16346
16347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16349 if (SWIG_arg_fail(1)) SWIG_fail;
16350 {
16351 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16352 if (SWIG_arg_fail(2)) SWIG_fail;
16353 }
16354 {
16355 PyThreadState* __tstate = wxPyBeginAllowThreads();
16356 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16357
16358 wxPyEndAllowThreads(__tstate);
16359 if (PyErr_Occurred()) SWIG_fail;
16360 }
16361 {
16362 #if wxUSE_UNICODE
16363 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16364 #else
16365 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16366 #endif
16367 }
16368 return resultobj;
16369 fail:
16370 return NULL;
16371 }
16372
16373
16374 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16375 PyObject *resultobj;
16376 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16377 wxImageList *arg2 = (wxImageList *) 0 ;
16378 PyObject * obj0 = 0 ;
16379 PyObject * obj1 = 0 ;
16380 char *kwnames[] = {
16381 (char *) "self",(char *) "imageList", NULL
16382 };
16383
16384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16386 if (SWIG_arg_fail(1)) SWIG_fail;
16387 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16388 if (SWIG_arg_fail(2)) SWIG_fail;
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 (arg1)->SetImageList(arg2);
16392
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
16396 Py_INCREF(Py_None); resultobj = Py_None;
16397 return resultobj;
16398 fail:
16399 return NULL;
16400 }
16401
16402
16403 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16404 PyObject *resultobj;
16405 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16406 wxImageList *arg2 = (wxImageList *) 0 ;
16407 PyObject * obj0 = 0 ;
16408 PyObject * obj1 = 0 ;
16409 char *kwnames[] = {
16410 (char *) "self",(char *) "imageList", NULL
16411 };
16412
16413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16415 if (SWIG_arg_fail(1)) SWIG_fail;
16416 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16417 if (SWIG_arg_fail(2)) SWIG_fail;
16418 {
16419 PyThreadState* __tstate = wxPyBeginAllowThreads();
16420 (arg1)->AssignImageList(arg2);
16421
16422 wxPyEndAllowThreads(__tstate);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 }
16425 Py_INCREF(Py_None); resultobj = Py_None;
16426 return resultobj;
16427 fail:
16428 return NULL;
16429 }
16430
16431
16432 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16433 PyObject *resultobj;
16434 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16435 wxImageList *result;
16436 PyObject * obj0 = 0 ;
16437 char *kwnames[] = {
16438 (char *) "self", NULL
16439 };
16440
16441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16443 if (SWIG_arg_fail(1)) SWIG_fail;
16444 {
16445 PyThreadState* __tstate = wxPyBeginAllowThreads();
16446 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16447
16448 wxPyEndAllowThreads(__tstate);
16449 if (PyErr_Occurred()) SWIG_fail;
16450 }
16451 {
16452 resultobj = wxPyMake_wxObject(result, 0);
16453 }
16454 return resultobj;
16455 fail:
16456 return NULL;
16457 }
16458
16459
16460 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj;
16462 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16463 size_t arg2 ;
16464 int result;
16465 PyObject * obj0 = 0 ;
16466 PyObject * obj1 = 0 ;
16467 char *kwnames[] = {
16468 (char *) "self",(char *) "n", NULL
16469 };
16470
16471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16473 if (SWIG_arg_fail(1)) SWIG_fail;
16474 {
16475 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16476 if (SWIG_arg_fail(2)) SWIG_fail;
16477 }
16478 {
16479 PyThreadState* __tstate = wxPyBeginAllowThreads();
16480 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16481
16482 wxPyEndAllowThreads(__tstate);
16483 if (PyErr_Occurred()) SWIG_fail;
16484 }
16485 {
16486 resultobj = SWIG_From_int((int)(result));
16487 }
16488 return resultobj;
16489 fail:
16490 return NULL;
16491 }
16492
16493
16494 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16495 PyObject *resultobj;
16496 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16497 size_t arg2 ;
16498 int arg3 ;
16499 bool result;
16500 PyObject * obj0 = 0 ;
16501 PyObject * obj1 = 0 ;
16502 PyObject * obj2 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self",(char *) "n",(char *) "imageId", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) 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 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16512 if (SWIG_arg_fail(2)) SWIG_fail;
16513 }
16514 {
16515 arg3 = (int)(SWIG_As_int(obj2));
16516 if (SWIG_arg_fail(3)) SWIG_fail;
16517 }
16518 {
16519 PyThreadState* __tstate = wxPyBeginAllowThreads();
16520 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16521
16522 wxPyEndAllowThreads(__tstate);
16523 if (PyErr_Occurred()) SWIG_fail;
16524 }
16525 {
16526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16527 }
16528 return resultobj;
16529 fail:
16530 return NULL;
16531 }
16532
16533
16534 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16535 PyObject *resultobj;
16536 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16537 wxSize *arg2 = 0 ;
16538 wxSize temp2 ;
16539 PyObject * obj0 = 0 ;
16540 PyObject * obj1 = 0 ;
16541 char *kwnames[] = {
16542 (char *) "self",(char *) "size", NULL
16543 };
16544
16545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16547 if (SWIG_arg_fail(1)) SWIG_fail;
16548 {
16549 arg2 = &temp2;
16550 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16551 }
16552 {
16553 PyThreadState* __tstate = wxPyBeginAllowThreads();
16554 (arg1)->SetPageSize((wxSize const &)*arg2);
16555
16556 wxPyEndAllowThreads(__tstate);
16557 if (PyErr_Occurred()) SWIG_fail;
16558 }
16559 Py_INCREF(Py_None); resultobj = Py_None;
16560 return resultobj;
16561 fail:
16562 return NULL;
16563 }
16564
16565
16566 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16567 PyObject *resultobj;
16568 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16569 wxSize *arg2 = 0 ;
16570 wxSize result;
16571 wxSize temp2 ;
16572 PyObject * obj0 = 0 ;
16573 PyObject * obj1 = 0 ;
16574 char *kwnames[] = {
16575 (char *) "self",(char *) "sizePage", NULL
16576 };
16577
16578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16580 if (SWIG_arg_fail(1)) SWIG_fail;
16581 {
16582 arg2 = &temp2;
16583 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16584 }
16585 {
16586 PyThreadState* __tstate = wxPyBeginAllowThreads();
16587 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16588
16589 wxPyEndAllowThreads(__tstate);
16590 if (PyErr_Occurred()) SWIG_fail;
16591 }
16592 {
16593 wxSize * resultptr;
16594 resultptr = new wxSize((wxSize &)(result));
16595 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16596 }
16597 return resultobj;
16598 fail:
16599 return NULL;
16600 }
16601
16602
16603 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16604 PyObject *resultobj;
16605 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16606 size_t arg2 ;
16607 bool result;
16608 PyObject * obj0 = 0 ;
16609 PyObject * obj1 = 0 ;
16610 char *kwnames[] = {
16611 (char *) "self",(char *) "n", NULL
16612 };
16613
16614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16616 if (SWIG_arg_fail(1)) SWIG_fail;
16617 {
16618 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16619 if (SWIG_arg_fail(2)) SWIG_fail;
16620 }
16621 {
16622 PyThreadState* __tstate = wxPyBeginAllowThreads();
16623 result = (bool)(arg1)->DeletePage(arg2);
16624
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
16628 {
16629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16630 }
16631 return resultobj;
16632 fail:
16633 return NULL;
16634 }
16635
16636
16637 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj;
16639 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16640 size_t arg2 ;
16641 bool result;
16642 PyObject * obj0 = 0 ;
16643 PyObject * obj1 = 0 ;
16644 char *kwnames[] = {
16645 (char *) "self",(char *) "n", NULL
16646 };
16647
16648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
16649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16650 if (SWIG_arg_fail(1)) SWIG_fail;
16651 {
16652 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16653 if (SWIG_arg_fail(2)) SWIG_fail;
16654 }
16655 {
16656 PyThreadState* __tstate = wxPyBeginAllowThreads();
16657 result = (bool)(arg1)->RemovePage(arg2);
16658
16659 wxPyEndAllowThreads(__tstate);
16660 if (PyErr_Occurred()) SWIG_fail;
16661 }
16662 {
16663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16664 }
16665 return resultobj;
16666 fail:
16667 return NULL;
16668 }
16669
16670
16671 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16672 PyObject *resultobj;
16673 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16674 bool result;
16675 PyObject * obj0 = 0 ;
16676 char *kwnames[] = {
16677 (char *) "self", NULL
16678 };
16679
16680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16682 if (SWIG_arg_fail(1)) SWIG_fail;
16683 {
16684 PyThreadState* __tstate = wxPyBeginAllowThreads();
16685 result = (bool)(arg1)->DeleteAllPages();
16686
16687 wxPyEndAllowThreads(__tstate);
16688 if (PyErr_Occurred()) SWIG_fail;
16689 }
16690 {
16691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16692 }
16693 return resultobj;
16694 fail:
16695 return NULL;
16696 }
16697
16698
16699 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16700 PyObject *resultobj;
16701 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16702 wxWindow *arg2 = (wxWindow *) 0 ;
16703 wxString *arg3 = 0 ;
16704 bool arg4 = (bool) false ;
16705 int arg5 = (int) -1 ;
16706 bool result;
16707 bool temp3 = false ;
16708 PyObject * obj0 = 0 ;
16709 PyObject * obj1 = 0 ;
16710 PyObject * obj2 = 0 ;
16711 PyObject * obj3 = 0 ;
16712 PyObject * obj4 = 0 ;
16713 char *kwnames[] = {
16714 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16715 };
16716
16717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16719 if (SWIG_arg_fail(1)) SWIG_fail;
16720 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16721 if (SWIG_arg_fail(2)) SWIG_fail;
16722 {
16723 arg3 = wxString_in_helper(obj2);
16724 if (arg3 == NULL) SWIG_fail;
16725 temp3 = true;
16726 }
16727 if (obj3) {
16728 {
16729 arg4 = (bool)(SWIG_As_bool(obj3));
16730 if (SWIG_arg_fail(4)) SWIG_fail;
16731 }
16732 }
16733 if (obj4) {
16734 {
16735 arg5 = (int)(SWIG_As_int(obj4));
16736 if (SWIG_arg_fail(5)) SWIG_fail;
16737 }
16738 }
16739 {
16740 PyThreadState* __tstate = wxPyBeginAllowThreads();
16741 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16742
16743 wxPyEndAllowThreads(__tstate);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 }
16746 {
16747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16748 }
16749 {
16750 if (temp3)
16751 delete arg3;
16752 }
16753 return resultobj;
16754 fail:
16755 {
16756 if (temp3)
16757 delete arg3;
16758 }
16759 return NULL;
16760 }
16761
16762
16763 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16764 PyObject *resultobj;
16765 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16766 size_t arg2 ;
16767 wxWindow *arg3 = (wxWindow *) 0 ;
16768 wxString *arg4 = 0 ;
16769 bool arg5 = (bool) false ;
16770 int arg6 = (int) -1 ;
16771 bool result;
16772 bool temp4 = false ;
16773 PyObject * obj0 = 0 ;
16774 PyObject * obj1 = 0 ;
16775 PyObject * obj2 = 0 ;
16776 PyObject * obj3 = 0 ;
16777 PyObject * obj4 = 0 ;
16778 PyObject * obj5 = 0 ;
16779 char *kwnames[] = {
16780 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16781 };
16782
16783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16785 if (SWIG_arg_fail(1)) SWIG_fail;
16786 {
16787 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16788 if (SWIG_arg_fail(2)) SWIG_fail;
16789 }
16790 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16791 if (SWIG_arg_fail(3)) SWIG_fail;
16792 {
16793 arg4 = wxString_in_helper(obj3);
16794 if (arg4 == NULL) SWIG_fail;
16795 temp4 = true;
16796 }
16797 if (obj4) {
16798 {
16799 arg5 = (bool)(SWIG_As_bool(obj4));
16800 if (SWIG_arg_fail(5)) SWIG_fail;
16801 }
16802 }
16803 if (obj5) {
16804 {
16805 arg6 = (int)(SWIG_As_int(obj5));
16806 if (SWIG_arg_fail(6)) SWIG_fail;
16807 }
16808 }
16809 {
16810 PyThreadState* __tstate = wxPyBeginAllowThreads();
16811 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16812
16813 wxPyEndAllowThreads(__tstate);
16814 if (PyErr_Occurred()) SWIG_fail;
16815 }
16816 {
16817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16818 }
16819 {
16820 if (temp4)
16821 delete arg4;
16822 }
16823 return resultobj;
16824 fail:
16825 {
16826 if (temp4)
16827 delete arg4;
16828 }
16829 return NULL;
16830 }
16831
16832
16833 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj;
16835 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16836 size_t arg2 ;
16837 int result;
16838 PyObject * obj0 = 0 ;
16839 PyObject * obj1 = 0 ;
16840 char *kwnames[] = {
16841 (char *) "self",(char *) "n", NULL
16842 };
16843
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16846 if (SWIG_arg_fail(1)) SWIG_fail;
16847 {
16848 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16849 if (SWIG_arg_fail(2)) SWIG_fail;
16850 }
16851 {
16852 PyThreadState* __tstate = wxPyBeginAllowThreads();
16853 result = (int)(arg1)->SetSelection(arg2);
16854
16855 wxPyEndAllowThreads(__tstate);
16856 if (PyErr_Occurred()) SWIG_fail;
16857 }
16858 {
16859 resultobj = SWIG_From_int((int)(result));
16860 }
16861 return resultobj;
16862 fail:
16863 return NULL;
16864 }
16865
16866
16867 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16868 PyObject *resultobj;
16869 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16870 bool arg2 = (bool) true ;
16871 PyObject * obj0 = 0 ;
16872 PyObject * obj1 = 0 ;
16873 char *kwnames[] = {
16874 (char *) "self",(char *) "forward", NULL
16875 };
16876
16877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
16878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16879 if (SWIG_arg_fail(1)) SWIG_fail;
16880 if (obj1) {
16881 {
16882 arg2 = (bool)(SWIG_As_bool(obj1));
16883 if (SWIG_arg_fail(2)) SWIG_fail;
16884 }
16885 }
16886 {
16887 PyThreadState* __tstate = wxPyBeginAllowThreads();
16888 (arg1)->AdvanceSelection(arg2);
16889
16890 wxPyEndAllowThreads(__tstate);
16891 if (PyErr_Occurred()) SWIG_fail;
16892 }
16893 Py_INCREF(Py_None); resultobj = Py_None;
16894 return resultobj;
16895 fail:
16896 return NULL;
16897 }
16898
16899
16900 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj;
16902 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16903 wxVisualAttributes result;
16904 PyObject * obj0 = 0 ;
16905 char *kwnames[] = {
16906 (char *) "variant", NULL
16907 };
16908
16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16910 if (obj0) {
16911 {
16912 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16913 if (SWIG_arg_fail(1)) SWIG_fail;
16914 }
16915 }
16916 {
16917 if (!wxPyCheckForApp()) SWIG_fail;
16918 PyThreadState* __tstate = wxPyBeginAllowThreads();
16919 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
16920
16921 wxPyEndAllowThreads(__tstate);
16922 if (PyErr_Occurred()) SWIG_fail;
16923 }
16924 {
16925 wxVisualAttributes * resultptr;
16926 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16927 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16928 }
16929 return resultobj;
16930 fail:
16931 return NULL;
16932 }
16933
16934
16935 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
16936 PyObject *obj;
16937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16938 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
16939 Py_INCREF(obj);
16940 return Py_BuildValue((char *)"");
16941 }
16942 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16945 int arg2 = (int) 0 ;
16946 int arg3 = (int) -1 ;
16947 int arg4 = (int) -1 ;
16948 wxBookCtrlBaseEvent *result;
16949 PyObject * obj0 = 0 ;
16950 PyObject * obj1 = 0 ;
16951 PyObject * obj2 = 0 ;
16952 PyObject * obj3 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16958 if (obj0) {
16959 {
16960 arg1 = (wxEventType)(SWIG_As_int(obj0));
16961 if (SWIG_arg_fail(1)) SWIG_fail;
16962 }
16963 }
16964 if (obj1) {
16965 {
16966 arg2 = (int)(SWIG_As_int(obj1));
16967 if (SWIG_arg_fail(2)) SWIG_fail;
16968 }
16969 }
16970 if (obj2) {
16971 {
16972 arg3 = (int)(SWIG_As_int(obj2));
16973 if (SWIG_arg_fail(3)) SWIG_fail;
16974 }
16975 }
16976 if (obj3) {
16977 {
16978 arg4 = (int)(SWIG_As_int(obj3));
16979 if (SWIG_arg_fail(4)) SWIG_fail;
16980 }
16981 }
16982 {
16983 PyThreadState* __tstate = wxPyBeginAllowThreads();
16984 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
16985
16986 wxPyEndAllowThreads(__tstate);
16987 if (PyErr_Occurred()) SWIG_fail;
16988 }
16989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
16990 return resultobj;
16991 fail:
16992 return NULL;
16993 }
16994
16995
16996 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16997 PyObject *resultobj;
16998 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16999 int result;
17000 PyObject * obj0 = 0 ;
17001 char *kwnames[] = {
17002 (char *) "self", NULL
17003 };
17004
17005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
17006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17007 if (SWIG_arg_fail(1)) SWIG_fail;
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 {
17016 resultobj = SWIG_From_int((int)(result));
17017 }
17018 return resultobj;
17019 fail:
17020 return NULL;
17021 }
17022
17023
17024 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17025 PyObject *resultobj;
17026 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17027 int arg2 ;
17028 PyObject * obj0 = 0 ;
17029 PyObject * obj1 = 0 ;
17030 char *kwnames[] = {
17031 (char *) "self",(char *) "nSel", NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17036 if (SWIG_arg_fail(1)) SWIG_fail;
17037 {
17038 arg2 = (int)(SWIG_As_int(obj1));
17039 if (SWIG_arg_fail(2)) SWIG_fail;
17040 }
17041 {
17042 PyThreadState* __tstate = wxPyBeginAllowThreads();
17043 (arg1)->SetSelection(arg2);
17044
17045 wxPyEndAllowThreads(__tstate);
17046 if (PyErr_Occurred()) SWIG_fail;
17047 }
17048 Py_INCREF(Py_None); resultobj = Py_None;
17049 return resultobj;
17050 fail:
17051 return NULL;
17052 }
17053
17054
17055 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17056 PyObject *resultobj;
17057 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17058 int result;
17059 PyObject * obj0 = 0 ;
17060 char *kwnames[] = {
17061 (char *) "self", NULL
17062 };
17063
17064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17066 if (SWIG_arg_fail(1)) SWIG_fail;
17067 {
17068 PyThreadState* __tstate = wxPyBeginAllowThreads();
17069 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17070
17071 wxPyEndAllowThreads(__tstate);
17072 if (PyErr_Occurred()) SWIG_fail;
17073 }
17074 {
17075 resultobj = SWIG_From_int((int)(result));
17076 }
17077 return resultobj;
17078 fail:
17079 return NULL;
17080 }
17081
17082
17083 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17084 PyObject *resultobj;
17085 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17086 int arg2 ;
17087 PyObject * obj0 = 0 ;
17088 PyObject * obj1 = 0 ;
17089 char *kwnames[] = {
17090 (char *) "self",(char *) "nOldSel", NULL
17091 };
17092
17093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17095 if (SWIG_arg_fail(1)) SWIG_fail;
17096 {
17097 arg2 = (int)(SWIG_As_int(obj1));
17098 if (SWIG_arg_fail(2)) SWIG_fail;
17099 }
17100 {
17101 PyThreadState* __tstate = wxPyBeginAllowThreads();
17102 (arg1)->SetOldSelection(arg2);
17103
17104 wxPyEndAllowThreads(__tstate);
17105 if (PyErr_Occurred()) SWIG_fail;
17106 }
17107 Py_INCREF(Py_None); resultobj = Py_None;
17108 return resultobj;
17109 fail:
17110 return NULL;
17111 }
17112
17113
17114 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17115 PyObject *obj;
17116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17117 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17118 Py_INCREF(obj);
17119 return Py_BuildValue((char *)"");
17120 }
17121 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17122 PyObject *resultobj;
17123 wxWindow *arg1 = (wxWindow *) 0 ;
17124 int arg2 = (int) -1 ;
17125 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17126 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17127 wxSize const &arg4_defvalue = wxDefaultSize ;
17128 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17129 long arg5 = (long) 0 ;
17130 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17131 wxString *arg6 = (wxString *) &arg6_defvalue ;
17132 wxNotebook *result;
17133 wxPoint temp3 ;
17134 wxSize temp4 ;
17135 bool temp6 = false ;
17136 PyObject * obj0 = 0 ;
17137 PyObject * obj1 = 0 ;
17138 PyObject * obj2 = 0 ;
17139 PyObject * obj3 = 0 ;
17140 PyObject * obj4 = 0 ;
17141 PyObject * obj5 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17148 if (SWIG_arg_fail(1)) SWIG_fail;
17149 if (obj1) {
17150 {
17151 arg2 = (int)(SWIG_As_int(obj1));
17152 if (SWIG_arg_fail(2)) SWIG_fail;
17153 }
17154 }
17155 if (obj2) {
17156 {
17157 arg3 = &temp3;
17158 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17159 }
17160 }
17161 if (obj3) {
17162 {
17163 arg4 = &temp4;
17164 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17165 }
17166 }
17167 if (obj4) {
17168 {
17169 arg5 = (long)(SWIG_As_long(obj4));
17170 if (SWIG_arg_fail(5)) SWIG_fail;
17171 }
17172 }
17173 if (obj5) {
17174 {
17175 arg6 = wxString_in_helper(obj5);
17176 if (arg6 == NULL) SWIG_fail;
17177 temp6 = true;
17178 }
17179 }
17180 {
17181 if (!wxPyCheckForApp()) SWIG_fail;
17182 PyThreadState* __tstate = wxPyBeginAllowThreads();
17183 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17184
17185 wxPyEndAllowThreads(__tstate);
17186 if (PyErr_Occurred()) SWIG_fail;
17187 }
17188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17189 {
17190 if (temp6)
17191 delete arg6;
17192 }
17193 return resultobj;
17194 fail:
17195 {
17196 if (temp6)
17197 delete arg6;
17198 }
17199 return NULL;
17200 }
17201
17202
17203 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17204 PyObject *resultobj;
17205 wxNotebook *result;
17206 char *kwnames[] = {
17207 NULL
17208 };
17209
17210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17211 {
17212 if (!wxPyCheckForApp()) SWIG_fail;
17213 PyThreadState* __tstate = wxPyBeginAllowThreads();
17214 result = (wxNotebook *)new wxNotebook();
17215
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17220 return resultobj;
17221 fail:
17222 return NULL;
17223 }
17224
17225
17226 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17227 PyObject *resultobj;
17228 wxNotebook *arg1 = (wxNotebook *) 0 ;
17229 wxWindow *arg2 = (wxWindow *) 0 ;
17230 int arg3 = (int) -1 ;
17231 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17232 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17233 wxSize const &arg5_defvalue = wxDefaultSize ;
17234 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17235 long arg6 = (long) 0 ;
17236 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17237 wxString *arg7 = (wxString *) &arg7_defvalue ;
17238 bool result;
17239 wxPoint temp4 ;
17240 wxSize temp5 ;
17241 bool temp7 = false ;
17242 PyObject * obj0 = 0 ;
17243 PyObject * obj1 = 0 ;
17244 PyObject * obj2 = 0 ;
17245 PyObject * obj3 = 0 ;
17246 PyObject * obj4 = 0 ;
17247 PyObject * obj5 = 0 ;
17248 PyObject * obj6 = 0 ;
17249 char *kwnames[] = {
17250 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17251 };
17252
17253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17255 if (SWIG_arg_fail(1)) SWIG_fail;
17256 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17257 if (SWIG_arg_fail(2)) SWIG_fail;
17258 if (obj2) {
17259 {
17260 arg3 = (int)(SWIG_As_int(obj2));
17261 if (SWIG_arg_fail(3)) SWIG_fail;
17262 }
17263 }
17264 if (obj3) {
17265 {
17266 arg4 = &temp4;
17267 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17268 }
17269 }
17270 if (obj4) {
17271 {
17272 arg5 = &temp5;
17273 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17274 }
17275 }
17276 if (obj5) {
17277 {
17278 arg6 = (long)(SWIG_As_long(obj5));
17279 if (SWIG_arg_fail(6)) SWIG_fail;
17280 }
17281 }
17282 if (obj6) {
17283 {
17284 arg7 = wxString_in_helper(obj6);
17285 if (arg7 == NULL) SWIG_fail;
17286 temp7 = true;
17287 }
17288 }
17289 {
17290 PyThreadState* __tstate = wxPyBeginAllowThreads();
17291 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17292
17293 wxPyEndAllowThreads(__tstate);
17294 if (PyErr_Occurred()) SWIG_fail;
17295 }
17296 {
17297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17298 }
17299 {
17300 if (temp7)
17301 delete arg7;
17302 }
17303 return resultobj;
17304 fail:
17305 {
17306 if (temp7)
17307 delete arg7;
17308 }
17309 return NULL;
17310 }
17311
17312
17313 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17314 PyObject *resultobj;
17315 wxNotebook *arg1 = (wxNotebook *) 0 ;
17316 int result;
17317 PyObject * obj0 = 0 ;
17318 char *kwnames[] = {
17319 (char *) "self", NULL
17320 };
17321
17322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17324 if (SWIG_arg_fail(1)) SWIG_fail;
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 {
17333 resultobj = SWIG_From_int((int)(result));
17334 }
17335 return resultobj;
17336 fail:
17337 return NULL;
17338 }
17339
17340
17341 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxNotebook *arg1 = (wxNotebook *) 0 ;
17344 wxSize *arg2 = 0 ;
17345 wxSize temp2 ;
17346 PyObject * obj0 = 0 ;
17347 PyObject * obj1 = 0 ;
17348 char *kwnames[] = {
17349 (char *) "self",(char *) "padding", NULL
17350 };
17351
17352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17354 if (SWIG_arg_fail(1)) SWIG_fail;
17355 {
17356 arg2 = &temp2;
17357 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17358 }
17359 {
17360 PyThreadState* __tstate = wxPyBeginAllowThreads();
17361 (arg1)->SetPadding((wxSize const &)*arg2);
17362
17363 wxPyEndAllowThreads(__tstate);
17364 if (PyErr_Occurred()) SWIG_fail;
17365 }
17366 Py_INCREF(Py_None); resultobj = Py_None;
17367 return resultobj;
17368 fail:
17369 return NULL;
17370 }
17371
17372
17373 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17374 PyObject *resultobj;
17375 wxNotebook *arg1 = (wxNotebook *) 0 ;
17376 wxSize *arg2 = 0 ;
17377 wxSize temp2 ;
17378 PyObject * obj0 = 0 ;
17379 PyObject * obj1 = 0 ;
17380 char *kwnames[] = {
17381 (char *) "self",(char *) "sz", NULL
17382 };
17383
17384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17386 if (SWIG_arg_fail(1)) SWIG_fail;
17387 {
17388 arg2 = &temp2;
17389 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17390 }
17391 {
17392 PyThreadState* __tstate = wxPyBeginAllowThreads();
17393 (arg1)->SetTabSize((wxSize const &)*arg2);
17394
17395 wxPyEndAllowThreads(__tstate);
17396 if (PyErr_Occurred()) SWIG_fail;
17397 }
17398 Py_INCREF(Py_None); resultobj = Py_None;
17399 return resultobj;
17400 fail:
17401 return NULL;
17402 }
17403
17404
17405 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj;
17407 wxNotebook *arg1 = (wxNotebook *) 0 ;
17408 wxPoint *arg2 = 0 ;
17409 long *arg3 = (long *) 0 ;
17410 int result;
17411 wxPoint temp2 ;
17412 long temp3 ;
17413 int res3 = 0 ;
17414 PyObject * obj0 = 0 ;
17415 PyObject * obj1 = 0 ;
17416 char *kwnames[] = {
17417 (char *) "self",(char *) "pt", NULL
17418 };
17419
17420 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17423 if (SWIG_arg_fail(1)) SWIG_fail;
17424 {
17425 arg2 = &temp2;
17426 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17427 }
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 {
17436 resultobj = SWIG_From_int((int)(result));
17437 }
17438 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17439 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17440 return resultobj;
17441 fail:
17442 return NULL;
17443 }
17444
17445
17446 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxNotebook *arg1 = (wxNotebook *) 0 ;
17449 wxSize *arg2 = 0 ;
17450 wxSize result;
17451 wxSize temp2 ;
17452 PyObject * obj0 = 0 ;
17453 PyObject * obj1 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "self",(char *) "sizePage", NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17460 if (SWIG_arg_fail(1)) SWIG_fail;
17461 {
17462 arg2 = &temp2;
17463 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17464 }
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 {
17473 wxSize * resultptr;
17474 resultptr = new wxSize((wxSize &)(result));
17475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17476 }
17477 return resultobj;
17478 fail:
17479 return NULL;
17480 }
17481
17482
17483 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17484 PyObject *resultobj;
17485 wxNotebook *arg1 = (wxNotebook *) 0 ;
17486 wxColour result;
17487 PyObject * obj0 = 0 ;
17488 char *kwnames[] = {
17489 (char *) "self", NULL
17490 };
17491
17492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17494 if (SWIG_arg_fail(1)) SWIG_fail;
17495 {
17496 PyThreadState* __tstate = wxPyBeginAllowThreads();
17497 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17498
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 {
17503 wxColour * resultptr;
17504 resultptr = new wxColour((wxColour &)(result));
17505 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17506 }
17507 return resultobj;
17508 fail:
17509 return NULL;
17510 }
17511
17512
17513 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17514 PyObject *resultobj;
17515 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17516 wxVisualAttributes result;
17517 PyObject * obj0 = 0 ;
17518 char *kwnames[] = {
17519 (char *) "variant", NULL
17520 };
17521
17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17523 if (obj0) {
17524 {
17525 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17526 if (SWIG_arg_fail(1)) SWIG_fail;
17527 }
17528 }
17529 {
17530 if (!wxPyCheckForApp()) SWIG_fail;
17531 PyThreadState* __tstate = wxPyBeginAllowThreads();
17532 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17533
17534 wxPyEndAllowThreads(__tstate);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 }
17537 {
17538 wxVisualAttributes * resultptr;
17539 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
17540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17541 }
17542 return resultobj;
17543 fail:
17544 return NULL;
17545 }
17546
17547
17548 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17549 PyObject *obj;
17550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17551 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17552 Py_INCREF(obj);
17553 return Py_BuildValue((char *)"");
17554 }
17555 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17556 PyObject *resultobj;
17557 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17558 int arg2 = (int) 0 ;
17559 int arg3 = (int) -1 ;
17560 int arg4 = (int) -1 ;
17561 wxNotebookEvent *result;
17562 PyObject * obj0 = 0 ;
17563 PyObject * obj1 = 0 ;
17564 PyObject * obj2 = 0 ;
17565 PyObject * obj3 = 0 ;
17566 char *kwnames[] = {
17567 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17568 };
17569
17570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17571 if (obj0) {
17572 {
17573 arg1 = (wxEventType)(SWIG_As_int(obj0));
17574 if (SWIG_arg_fail(1)) SWIG_fail;
17575 }
17576 }
17577 if (obj1) {
17578 {
17579 arg2 = (int)(SWIG_As_int(obj1));
17580 if (SWIG_arg_fail(2)) SWIG_fail;
17581 }
17582 }
17583 if (obj2) {
17584 {
17585 arg3 = (int)(SWIG_As_int(obj2));
17586 if (SWIG_arg_fail(3)) SWIG_fail;
17587 }
17588 }
17589 if (obj3) {
17590 {
17591 arg4 = (int)(SWIG_As_int(obj3));
17592 if (SWIG_arg_fail(4)) SWIG_fail;
17593 }
17594 }
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17598
17599 wxPyEndAllowThreads(__tstate);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17603 return resultobj;
17604 fail:
17605 return NULL;
17606 }
17607
17608
17609 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17610 PyObject *obj;
17611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17612 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17613 Py_INCREF(obj);
17614 return Py_BuildValue((char *)"");
17615 }
17616 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj;
17618 wxWindow *arg1 = (wxWindow *) 0 ;
17619 int arg2 = (int) -1 ;
17620 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17621 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17622 wxSize const &arg4_defvalue = wxDefaultSize ;
17623 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17624 long arg5 = (long) 0 ;
17625 wxString const &arg6_defvalue = wxPyEmptyString ;
17626 wxString *arg6 = (wxString *) &arg6_defvalue ;
17627 wxListbook *result;
17628 wxPoint temp3 ;
17629 wxSize temp4 ;
17630 bool temp6 = false ;
17631 PyObject * obj0 = 0 ;
17632 PyObject * obj1 = 0 ;
17633 PyObject * obj2 = 0 ;
17634 PyObject * obj3 = 0 ;
17635 PyObject * obj4 = 0 ;
17636 PyObject * obj5 = 0 ;
17637 char *kwnames[] = {
17638 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17639 };
17640
17641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17643 if (SWIG_arg_fail(1)) SWIG_fail;
17644 if (obj1) {
17645 {
17646 arg2 = (int)(SWIG_As_int(obj1));
17647 if (SWIG_arg_fail(2)) SWIG_fail;
17648 }
17649 }
17650 if (obj2) {
17651 {
17652 arg3 = &temp3;
17653 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17654 }
17655 }
17656 if (obj3) {
17657 {
17658 arg4 = &temp4;
17659 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17660 }
17661 }
17662 if (obj4) {
17663 {
17664 arg5 = (long)(SWIG_As_long(obj4));
17665 if (SWIG_arg_fail(5)) SWIG_fail;
17666 }
17667 }
17668 if (obj5) {
17669 {
17670 arg6 = wxString_in_helper(obj5);
17671 if (arg6 == NULL) SWIG_fail;
17672 temp6 = true;
17673 }
17674 }
17675 {
17676 if (!wxPyCheckForApp()) SWIG_fail;
17677 PyThreadState* __tstate = wxPyBeginAllowThreads();
17678 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17679
17680 wxPyEndAllowThreads(__tstate);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
17683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17684 {
17685 if (temp6)
17686 delete arg6;
17687 }
17688 return resultobj;
17689 fail:
17690 {
17691 if (temp6)
17692 delete arg6;
17693 }
17694 return NULL;
17695 }
17696
17697
17698 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17699 PyObject *resultobj;
17700 wxListbook *result;
17701 char *kwnames[] = {
17702 NULL
17703 };
17704
17705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17706 {
17707 if (!wxPyCheckForApp()) SWIG_fail;
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 result = (wxListbook *)new wxListbook();
17710
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17715 return resultobj;
17716 fail:
17717 return NULL;
17718 }
17719
17720
17721 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17722 PyObject *resultobj;
17723 wxListbook *arg1 = (wxListbook *) 0 ;
17724 wxWindow *arg2 = (wxWindow *) 0 ;
17725 int arg3 = (int) -1 ;
17726 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17727 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17728 wxSize const &arg5_defvalue = wxDefaultSize ;
17729 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17730 long arg6 = (long) 0 ;
17731 wxString const &arg7_defvalue = wxPyEmptyString ;
17732 wxString *arg7 = (wxString *) &arg7_defvalue ;
17733 bool result;
17734 wxPoint temp4 ;
17735 wxSize temp5 ;
17736 bool temp7 = false ;
17737 PyObject * obj0 = 0 ;
17738 PyObject * obj1 = 0 ;
17739 PyObject * obj2 = 0 ;
17740 PyObject * obj3 = 0 ;
17741 PyObject * obj4 = 0 ;
17742 PyObject * obj5 = 0 ;
17743 PyObject * obj6 = 0 ;
17744 char *kwnames[] = {
17745 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17746 };
17747
17748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17750 if (SWIG_arg_fail(1)) SWIG_fail;
17751 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17752 if (SWIG_arg_fail(2)) SWIG_fail;
17753 if (obj2) {
17754 {
17755 arg3 = (int)(SWIG_As_int(obj2));
17756 if (SWIG_arg_fail(3)) SWIG_fail;
17757 }
17758 }
17759 if (obj3) {
17760 {
17761 arg4 = &temp4;
17762 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17763 }
17764 }
17765 if (obj4) {
17766 {
17767 arg5 = &temp5;
17768 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17769 }
17770 }
17771 if (obj5) {
17772 {
17773 arg6 = (long)(SWIG_As_long(obj5));
17774 if (SWIG_arg_fail(6)) SWIG_fail;
17775 }
17776 }
17777 if (obj6) {
17778 {
17779 arg7 = wxString_in_helper(obj6);
17780 if (arg7 == NULL) SWIG_fail;
17781 temp7 = true;
17782 }
17783 }
17784 {
17785 PyThreadState* __tstate = wxPyBeginAllowThreads();
17786 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17787
17788 wxPyEndAllowThreads(__tstate);
17789 if (PyErr_Occurred()) SWIG_fail;
17790 }
17791 {
17792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17793 }
17794 {
17795 if (temp7)
17796 delete arg7;
17797 }
17798 return resultobj;
17799 fail:
17800 {
17801 if (temp7)
17802 delete arg7;
17803 }
17804 return NULL;
17805 }
17806
17807
17808 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17809 PyObject *resultobj;
17810 wxListbook *arg1 = (wxListbook *) 0 ;
17811 bool result;
17812 PyObject * obj0 = 0 ;
17813 char *kwnames[] = {
17814 (char *) "self", NULL
17815 };
17816
17817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
17818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17819 if (SWIG_arg_fail(1)) SWIG_fail;
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 result = (bool)((wxListbook const *)arg1)->IsVertical();
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 {
17828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17829 }
17830 return resultobj;
17831 fail:
17832 return NULL;
17833 }
17834
17835
17836 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxListbook *arg1 = (wxListbook *) 0 ;
17839 wxListView *result;
17840 PyObject * obj0 = 0 ;
17841 char *kwnames[] = {
17842 (char *) "self", NULL
17843 };
17844
17845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
17846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17847 if (SWIG_arg_fail(1)) SWIG_fail;
17848 {
17849 PyThreadState* __tstate = wxPyBeginAllowThreads();
17850 result = (wxListView *)(arg1)->GetListView();
17851
17852 wxPyEndAllowThreads(__tstate);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 }
17855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17856 return resultobj;
17857 fail:
17858 return NULL;
17859 }
17860
17861
17862 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
17863 PyObject *obj;
17864 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17865 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17866 Py_INCREF(obj);
17867 return Py_BuildValue((char *)"");
17868 }
17869 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17872 int arg2 = (int) 0 ;
17873 int arg3 = (int) -1 ;
17874 int arg4 = (int) -1 ;
17875 wxListbookEvent *result;
17876 PyObject * obj0 = 0 ;
17877 PyObject * obj1 = 0 ;
17878 PyObject * obj2 = 0 ;
17879 PyObject * obj3 = 0 ;
17880 char *kwnames[] = {
17881 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17882 };
17883
17884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17885 if (obj0) {
17886 {
17887 arg1 = (wxEventType)(SWIG_As_int(obj0));
17888 if (SWIG_arg_fail(1)) SWIG_fail;
17889 }
17890 }
17891 if (obj1) {
17892 {
17893 arg2 = (int)(SWIG_As_int(obj1));
17894 if (SWIG_arg_fail(2)) SWIG_fail;
17895 }
17896 }
17897 if (obj2) {
17898 {
17899 arg3 = (int)(SWIG_As_int(obj2));
17900 if (SWIG_arg_fail(3)) SWIG_fail;
17901 }
17902 }
17903 if (obj3) {
17904 {
17905 arg4 = (int)(SWIG_As_int(obj3));
17906 if (SWIG_arg_fail(4)) SWIG_fail;
17907 }
17908 }
17909 {
17910 PyThreadState* __tstate = wxPyBeginAllowThreads();
17911 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17912
17913 wxPyEndAllowThreads(__tstate);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 }
17916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17917 return resultobj;
17918 fail:
17919 return NULL;
17920 }
17921
17922
17923 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
17924 PyObject *obj;
17925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17926 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17927 Py_INCREF(obj);
17928 return Py_BuildValue((char *)"");
17929 }
17930 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17931 PyObject *resultobj;
17932 wxWindow *arg1 = (wxWindow *) 0 ;
17933 int arg2 ;
17934 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17935 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17936 wxSize const &arg4_defvalue = wxDefaultSize ;
17937 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17938 long arg5 = (long) 0 ;
17939 wxString const &arg6_defvalue = wxPyEmptyString ;
17940 wxString *arg6 = (wxString *) &arg6_defvalue ;
17941 wxChoicebook *result;
17942 wxPoint temp3 ;
17943 wxSize temp4 ;
17944 bool temp6 = false ;
17945 PyObject * obj0 = 0 ;
17946 PyObject * obj1 = 0 ;
17947 PyObject * obj2 = 0 ;
17948 PyObject * obj3 = 0 ;
17949 PyObject * obj4 = 0 ;
17950 PyObject * obj5 = 0 ;
17951 char *kwnames[] = {
17952 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17953 };
17954
17955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17957 if (SWIG_arg_fail(1)) SWIG_fail;
17958 {
17959 arg2 = (int)(SWIG_As_int(obj1));
17960 if (SWIG_arg_fail(2)) SWIG_fail;
17961 }
17962 if (obj2) {
17963 {
17964 arg3 = &temp3;
17965 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17966 }
17967 }
17968 if (obj3) {
17969 {
17970 arg4 = &temp4;
17971 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17972 }
17973 }
17974 if (obj4) {
17975 {
17976 arg5 = (long)(SWIG_As_long(obj4));
17977 if (SWIG_arg_fail(5)) SWIG_fail;
17978 }
17979 }
17980 if (obj5) {
17981 {
17982 arg6 = wxString_in_helper(obj5);
17983 if (arg6 == NULL) SWIG_fail;
17984 temp6 = true;
17985 }
17986 }
17987 {
17988 if (!wxPyCheckForApp()) SWIG_fail;
17989 PyThreadState* __tstate = wxPyBeginAllowThreads();
17990 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17991
17992 wxPyEndAllowThreads(__tstate);
17993 if (PyErr_Occurred()) SWIG_fail;
17994 }
17995 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17996 {
17997 if (temp6)
17998 delete arg6;
17999 }
18000 return resultobj;
18001 fail:
18002 {
18003 if (temp6)
18004 delete arg6;
18005 }
18006 return NULL;
18007 }
18008
18009
18010 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
18011 PyObject *resultobj;
18012 wxChoicebook *result;
18013 char *kwnames[] = {
18014 NULL
18015 };
18016
18017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
18018 {
18019 if (!wxPyCheckForApp()) SWIG_fail;
18020 PyThreadState* __tstate = wxPyBeginAllowThreads();
18021 result = (wxChoicebook *)new wxChoicebook();
18022
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
18027 return resultobj;
18028 fail:
18029 return NULL;
18030 }
18031
18032
18033 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
18034 PyObject *resultobj;
18035 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18036 wxWindow *arg2 = (wxWindow *) 0 ;
18037 int arg3 ;
18038 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18039 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18040 wxSize const &arg5_defvalue = wxDefaultSize ;
18041 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18042 long arg6 = (long) 0 ;
18043 wxString const &arg7_defvalue = wxPyEmptyString ;
18044 wxString *arg7 = (wxString *) &arg7_defvalue ;
18045 bool result;
18046 wxPoint temp4 ;
18047 wxSize temp5 ;
18048 bool temp7 = false ;
18049 PyObject * obj0 = 0 ;
18050 PyObject * obj1 = 0 ;
18051 PyObject * obj2 = 0 ;
18052 PyObject * obj3 = 0 ;
18053 PyObject * obj4 = 0 ;
18054 PyObject * obj5 = 0 ;
18055 PyObject * obj6 = 0 ;
18056 char *kwnames[] = {
18057 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18058 };
18059
18060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18062 if (SWIG_arg_fail(1)) SWIG_fail;
18063 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18064 if (SWIG_arg_fail(2)) SWIG_fail;
18065 {
18066 arg3 = (int)(SWIG_As_int(obj2));
18067 if (SWIG_arg_fail(3)) SWIG_fail;
18068 }
18069 if (obj3) {
18070 {
18071 arg4 = &temp4;
18072 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18073 }
18074 }
18075 if (obj4) {
18076 {
18077 arg5 = &temp5;
18078 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18079 }
18080 }
18081 if (obj5) {
18082 {
18083 arg6 = (long)(SWIG_As_long(obj5));
18084 if (SWIG_arg_fail(6)) SWIG_fail;
18085 }
18086 }
18087 if (obj6) {
18088 {
18089 arg7 = wxString_in_helper(obj6);
18090 if (arg7 == NULL) SWIG_fail;
18091 temp7 = true;
18092 }
18093 }
18094 {
18095 PyThreadState* __tstate = wxPyBeginAllowThreads();
18096 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18097
18098 wxPyEndAllowThreads(__tstate);
18099 if (PyErr_Occurred()) SWIG_fail;
18100 }
18101 {
18102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18103 }
18104 {
18105 if (temp7)
18106 delete arg7;
18107 }
18108 return resultobj;
18109 fail:
18110 {
18111 if (temp7)
18112 delete arg7;
18113 }
18114 return NULL;
18115 }
18116
18117
18118 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18119 PyObject *resultobj;
18120 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18121 bool result;
18122 PyObject * obj0 = 0 ;
18123 char *kwnames[] = {
18124 (char *) "self", NULL
18125 };
18126
18127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
18128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18129 if (SWIG_arg_fail(1)) SWIG_fail;
18130 {
18131 PyThreadState* __tstate = wxPyBeginAllowThreads();
18132 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18133
18134 wxPyEndAllowThreads(__tstate);
18135 if (PyErr_Occurred()) SWIG_fail;
18136 }
18137 {
18138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18139 }
18140 return resultobj;
18141 fail:
18142 return NULL;
18143 }
18144
18145
18146 static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18147 PyObject *resultobj;
18148 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18149 wxChoice *result;
18150 PyObject * obj0 = 0 ;
18151 char *kwnames[] = {
18152 (char *) "self", NULL
18153 };
18154
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18157 if (SWIG_arg_fail(1)) SWIG_fail;
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18166 return resultobj;
18167 fail:
18168 return NULL;
18169 }
18170
18171
18172 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj;
18174 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18175 bool result;
18176 PyObject * obj0 = 0 ;
18177 char *kwnames[] = {
18178 (char *) "self", NULL
18179 };
18180
18181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18183 if (SWIG_arg_fail(1)) SWIG_fail;
18184 {
18185 PyThreadState* __tstate = wxPyBeginAllowThreads();
18186 result = (bool)(arg1)->DeleteAllPages();
18187
18188 wxPyEndAllowThreads(__tstate);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 }
18191 {
18192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18193 }
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18201 PyObject *obj;
18202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18203 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18204 Py_INCREF(obj);
18205 return Py_BuildValue((char *)"");
18206 }
18207 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18208 PyObject *resultobj;
18209 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18210 int arg2 = (int) 0 ;
18211 int arg3 = (int) -1 ;
18212 int arg4 = (int) -1 ;
18213 wxChoicebookEvent *result;
18214 PyObject * obj0 = 0 ;
18215 PyObject * obj1 = 0 ;
18216 PyObject * obj2 = 0 ;
18217 PyObject * obj3 = 0 ;
18218 char *kwnames[] = {
18219 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18220 };
18221
18222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18223 if (obj0) {
18224 {
18225 arg1 = (wxEventType)(SWIG_As_int(obj0));
18226 if (SWIG_arg_fail(1)) SWIG_fail;
18227 }
18228 }
18229 if (obj1) {
18230 {
18231 arg2 = (int)(SWIG_As_int(obj1));
18232 if (SWIG_arg_fail(2)) SWIG_fail;
18233 }
18234 }
18235 if (obj2) {
18236 {
18237 arg3 = (int)(SWIG_As_int(obj2));
18238 if (SWIG_arg_fail(3)) SWIG_fail;
18239 }
18240 }
18241 if (obj3) {
18242 {
18243 arg4 = (int)(SWIG_As_int(obj3));
18244 if (SWIG_arg_fail(4)) SWIG_fail;
18245 }
18246 }
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18262 PyObject *obj;
18263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18264 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18265 Py_INCREF(obj);
18266 return Py_BuildValue((char *)"");
18267 }
18268 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18269 PyObject *resultobj;
18270 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18271 wxBookCtrlSizer *result;
18272 PyObject * obj0 = 0 ;
18273 char *kwnames[] = {
18274 (char *) "nb", NULL
18275 };
18276
18277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
18278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18279 if (SWIG_arg_fail(1)) SWIG_fail;
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18283
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18288 return resultobj;
18289 fail:
18290 return NULL;
18291 }
18292
18293
18294 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18295 PyObject *resultobj;
18296 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18297 PyObject * obj0 = 0 ;
18298 char *kwnames[] = {
18299 (char *) "self", NULL
18300 };
18301
18302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18304 if (SWIG_arg_fail(1)) SWIG_fail;
18305 {
18306 PyThreadState* __tstate = wxPyBeginAllowThreads();
18307 (arg1)->RecalcSizes();
18308
18309 wxPyEndAllowThreads(__tstate);
18310 if (PyErr_Occurred()) SWIG_fail;
18311 }
18312 Py_INCREF(Py_None); resultobj = Py_None;
18313 return resultobj;
18314 fail:
18315 return NULL;
18316 }
18317
18318
18319 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18320 PyObject *resultobj;
18321 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18322 wxSize result;
18323 PyObject * obj0 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self", NULL
18326 };
18327
18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
18329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18330 if (SWIG_arg_fail(1)) SWIG_fail;
18331 {
18332 PyThreadState* __tstate = wxPyBeginAllowThreads();
18333 result = (arg1)->CalcMin();
18334
18335 wxPyEndAllowThreads(__tstate);
18336 if (PyErr_Occurred()) SWIG_fail;
18337 }
18338 {
18339 wxSize * resultptr;
18340 resultptr = new wxSize((wxSize &)(result));
18341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18342 }
18343 return resultobj;
18344 fail:
18345 return NULL;
18346 }
18347
18348
18349 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18350 PyObject *resultobj;
18351 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18352 wxBookCtrlBase *result;
18353 PyObject * obj0 = 0 ;
18354 char *kwnames[] = {
18355 (char *) "self", NULL
18356 };
18357
18358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
18359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18360 if (SWIG_arg_fail(1)) SWIG_fail;
18361 {
18362 PyThreadState* __tstate = wxPyBeginAllowThreads();
18363 result = (wxBookCtrlBase *)(arg1)->GetControl();
18364
18365 wxPyEndAllowThreads(__tstate);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 }
18368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
18369 return resultobj;
18370 fail:
18371 return NULL;
18372 }
18373
18374
18375 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
18376 PyObject *obj;
18377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18378 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18379 Py_INCREF(obj);
18380 return Py_BuildValue((char *)"");
18381 }
18382 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18383 PyObject *resultobj;
18384 wxNotebook *arg1 = (wxNotebook *) 0 ;
18385 wxNotebookSizer *result;
18386 PyObject * obj0 = 0 ;
18387 char *kwnames[] = {
18388 (char *) "nb", NULL
18389 };
18390
18391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
18392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18393 if (SWIG_arg_fail(1)) SWIG_fail;
18394 {
18395 PyThreadState* __tstate = wxPyBeginAllowThreads();
18396 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18397
18398 wxPyEndAllowThreads(__tstate);
18399 if (PyErr_Occurred()) SWIG_fail;
18400 }
18401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18402 return resultobj;
18403 fail:
18404 return NULL;
18405 }
18406
18407
18408 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18409 PyObject *resultobj;
18410 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18411 PyObject * obj0 = 0 ;
18412 char *kwnames[] = {
18413 (char *) "self", NULL
18414 };
18415
18416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18418 if (SWIG_arg_fail(1)) SWIG_fail;
18419 {
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 (arg1)->RecalcSizes();
18422
18423 wxPyEndAllowThreads(__tstate);
18424 if (PyErr_Occurred()) SWIG_fail;
18425 }
18426 Py_INCREF(Py_None); resultobj = Py_None;
18427 return resultobj;
18428 fail:
18429 return NULL;
18430 }
18431
18432
18433 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18434 PyObject *resultobj;
18435 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18436 wxSize result;
18437 PyObject * obj0 = 0 ;
18438 char *kwnames[] = {
18439 (char *) "self", NULL
18440 };
18441
18442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
18443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18444 if (SWIG_arg_fail(1)) SWIG_fail;
18445 {
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 result = (arg1)->CalcMin();
18448
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 {
18453 wxSize * resultptr;
18454 resultptr = new wxSize((wxSize &)(result));
18455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18456 }
18457 return resultobj;
18458 fail:
18459 return NULL;
18460 }
18461
18462
18463 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
18464 PyObject *resultobj;
18465 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18466 wxNotebook *result;
18467 PyObject * obj0 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self", NULL
18470 };
18471
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
18473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18474 if (SWIG_arg_fail(1)) SWIG_fail;
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 result = (wxNotebook *)(arg1)->GetNotebook();
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 {
18483 resultobj = wxPyMake_wxObject(result, 0);
18484 }
18485 return resultobj;
18486 fail:
18487 return NULL;
18488 }
18489
18490
18491 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
18492 PyObject *obj;
18493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18494 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18495 Py_INCREF(obj);
18496 return Py_BuildValue((char *)"");
18497 }
18498 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18499 PyObject *resultobj;
18500 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18501 int result;
18502 PyObject * obj0 = 0 ;
18503 char *kwnames[] = {
18504 (char *) "self", NULL
18505 };
18506
18507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
18508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18509 if (SWIG_arg_fail(1)) SWIG_fail;
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 result = (int)(arg1)->GetId();
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 {
18518 resultobj = SWIG_From_int((int)(result));
18519 }
18520 return resultobj;
18521 fail:
18522 return NULL;
18523 }
18524
18525
18526 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18527 PyObject *resultobj;
18528 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18529 wxControl *result;
18530 PyObject * obj0 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
18536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18537 if (SWIG_arg_fail(1)) SWIG_fail;
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 result = (wxControl *)(arg1)->GetControl();
18541
18542 wxPyEndAllowThreads(__tstate);
18543 if (PyErr_Occurred()) SWIG_fail;
18544 }
18545 {
18546 resultobj = wxPyMake_wxObject(result, 0);
18547 }
18548 return resultobj;
18549 fail:
18550 return NULL;
18551 }
18552
18553
18554 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18555 PyObject *resultobj;
18556 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18557 wxToolBarBase *result;
18558 PyObject * obj0 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self", NULL
18561 };
18562
18563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
18564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18565 if (SWIG_arg_fail(1)) SWIG_fail;
18566 {
18567 PyThreadState* __tstate = wxPyBeginAllowThreads();
18568 result = (wxToolBarBase *)(arg1)->GetToolBar();
18569
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
18573 {
18574 resultobj = wxPyMake_wxObject(result, 0);
18575 }
18576 return resultobj;
18577 fail:
18578 return NULL;
18579 }
18580
18581
18582 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj;
18584 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18585 int result;
18586 PyObject * obj0 = 0 ;
18587 char *kwnames[] = {
18588 (char *) "self", NULL
18589 };
18590
18591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
18592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18593 if (SWIG_arg_fail(1)) SWIG_fail;
18594 {
18595 PyThreadState* __tstate = wxPyBeginAllowThreads();
18596 result = (int)(arg1)->IsButton();
18597
18598 wxPyEndAllowThreads(__tstate);
18599 if (PyErr_Occurred()) SWIG_fail;
18600 }
18601 {
18602 resultobj = SWIG_From_int((int)(result));
18603 }
18604 return resultobj;
18605 fail:
18606 return NULL;
18607 }
18608
18609
18610 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18611 PyObject *resultobj;
18612 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18613 int result;
18614 PyObject * obj0 = 0 ;
18615 char *kwnames[] = {
18616 (char *) "self", NULL
18617 };
18618
18619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
18620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18621 if (SWIG_arg_fail(1)) SWIG_fail;
18622 {
18623 PyThreadState* __tstate = wxPyBeginAllowThreads();
18624 result = (int)(arg1)->IsControl();
18625
18626 wxPyEndAllowThreads(__tstate);
18627 if (PyErr_Occurred()) SWIG_fail;
18628 }
18629 {
18630 resultobj = SWIG_From_int((int)(result));
18631 }
18632 return resultobj;
18633 fail:
18634 return NULL;
18635 }
18636
18637
18638 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18639 PyObject *resultobj;
18640 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18641 int result;
18642 PyObject * obj0 = 0 ;
18643 char *kwnames[] = {
18644 (char *) "self", NULL
18645 };
18646
18647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18649 if (SWIG_arg_fail(1)) SWIG_fail;
18650 {
18651 PyThreadState* __tstate = wxPyBeginAllowThreads();
18652 result = (int)(arg1)->IsSeparator();
18653
18654 wxPyEndAllowThreads(__tstate);
18655 if (PyErr_Occurred()) SWIG_fail;
18656 }
18657 {
18658 resultobj = SWIG_From_int((int)(result));
18659 }
18660 return resultobj;
18661 fail:
18662 return NULL;
18663 }
18664
18665
18666 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18667 PyObject *resultobj;
18668 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18669 int result;
18670 PyObject * obj0 = 0 ;
18671 char *kwnames[] = {
18672 (char *) "self", NULL
18673 };
18674
18675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18677 if (SWIG_arg_fail(1)) SWIG_fail;
18678 {
18679 PyThreadState* __tstate = wxPyBeginAllowThreads();
18680 result = (int)(arg1)->GetStyle();
18681
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 {
18686 resultobj = SWIG_From_int((int)(result));
18687 }
18688 return resultobj;
18689 fail:
18690 return NULL;
18691 }
18692
18693
18694 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18697 wxItemKind result;
18698 PyObject * obj0 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18705 if (SWIG_arg_fail(1)) SWIG_fail;
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 result = (wxItemKind)(arg1)->GetKind();
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 resultobj = SWIG_From_int((result));
18714 return resultobj;
18715 fail:
18716 return NULL;
18717 }
18718
18719
18720 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18721 PyObject *resultobj;
18722 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18723 bool result;
18724 PyObject * obj0 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
18730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18731 if (SWIG_arg_fail(1)) SWIG_fail;
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (bool)(arg1)->IsEnabled();
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 {
18740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18741 }
18742 return resultobj;
18743 fail:
18744 return NULL;
18745 }
18746
18747
18748 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18749 PyObject *resultobj;
18750 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18751 bool result;
18752 PyObject * obj0 = 0 ;
18753 char *kwnames[] = {
18754 (char *) "self", NULL
18755 };
18756
18757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18759 if (SWIG_arg_fail(1)) SWIG_fail;
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 result = (bool)(arg1)->IsToggled();
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 {
18768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18769 }
18770 return resultobj;
18771 fail:
18772 return NULL;
18773 }
18774
18775
18776 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18777 PyObject *resultobj;
18778 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18779 bool result;
18780 PyObject * obj0 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "self", NULL
18783 };
18784
18785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18787 if (SWIG_arg_fail(1)) SWIG_fail;
18788 {
18789 PyThreadState* __tstate = wxPyBeginAllowThreads();
18790 result = (bool)(arg1)->CanBeToggled();
18791
18792 wxPyEndAllowThreads(__tstate);
18793 if (PyErr_Occurred()) SWIG_fail;
18794 }
18795 {
18796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18797 }
18798 return resultobj;
18799 fail:
18800 return NULL;
18801 }
18802
18803
18804 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18805 PyObject *resultobj;
18806 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18807 wxBitmap *result;
18808 PyObject * obj0 = 0 ;
18809 char *kwnames[] = {
18810 (char *) "self", NULL
18811 };
18812
18813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18815 if (SWIG_arg_fail(1)) SWIG_fail;
18816 {
18817 PyThreadState* __tstate = wxPyBeginAllowThreads();
18818 {
18819 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18820 result = (wxBitmap *) &_result_ref;
18821 }
18822
18823 wxPyEndAllowThreads(__tstate);
18824 if (PyErr_Occurred()) SWIG_fail;
18825 }
18826 {
18827 wxBitmap* resultptr = new wxBitmap(*result);
18828 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18829 }
18830 return resultobj;
18831 fail:
18832 return NULL;
18833 }
18834
18835
18836 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18837 PyObject *resultobj;
18838 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18839 wxBitmap *result;
18840 PyObject * obj0 = 0 ;
18841 char *kwnames[] = {
18842 (char *) "self", NULL
18843 };
18844
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18847 if (SWIG_arg_fail(1)) SWIG_fail;
18848 {
18849 PyThreadState* __tstate = wxPyBeginAllowThreads();
18850 {
18851 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18852 result = (wxBitmap *) &_result_ref;
18853 }
18854
18855 wxPyEndAllowThreads(__tstate);
18856 if (PyErr_Occurred()) SWIG_fail;
18857 }
18858 {
18859 wxBitmap* resultptr = new wxBitmap(*result);
18860 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18861 }
18862 return resultobj;
18863 fail:
18864 return NULL;
18865 }
18866
18867
18868 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18869 PyObject *resultobj;
18870 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18871 wxBitmap result;
18872 PyObject * obj0 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18879 if (SWIG_arg_fail(1)) SWIG_fail;
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 result = (arg1)->GetBitmap();
18883
18884 wxPyEndAllowThreads(__tstate);
18885 if (PyErr_Occurred()) SWIG_fail;
18886 }
18887 {
18888 wxBitmap * resultptr;
18889 resultptr = new wxBitmap((wxBitmap &)(result));
18890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18891 }
18892 return resultobj;
18893 fail:
18894 return NULL;
18895 }
18896
18897
18898 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18899 PyObject *resultobj;
18900 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18901 wxString result;
18902 PyObject * obj0 = 0 ;
18903 char *kwnames[] = {
18904 (char *) "self", NULL
18905 };
18906
18907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18909 if (SWIG_arg_fail(1)) SWIG_fail;
18910 {
18911 PyThreadState* __tstate = wxPyBeginAllowThreads();
18912 result = (arg1)->GetLabel();
18913
18914 wxPyEndAllowThreads(__tstate);
18915 if (PyErr_Occurred()) SWIG_fail;
18916 }
18917 {
18918 #if wxUSE_UNICODE
18919 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18920 #else
18921 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18922 #endif
18923 }
18924 return resultobj;
18925 fail:
18926 return NULL;
18927 }
18928
18929
18930 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18931 PyObject *resultobj;
18932 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18933 wxString result;
18934 PyObject * obj0 = 0 ;
18935 char *kwnames[] = {
18936 (char *) "self", NULL
18937 };
18938
18939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18941 if (SWIG_arg_fail(1)) SWIG_fail;
18942 {
18943 PyThreadState* __tstate = wxPyBeginAllowThreads();
18944 result = (arg1)->GetShortHelp();
18945
18946 wxPyEndAllowThreads(__tstate);
18947 if (PyErr_Occurred()) SWIG_fail;
18948 }
18949 {
18950 #if wxUSE_UNICODE
18951 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18952 #else
18953 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18954 #endif
18955 }
18956 return resultobj;
18957 fail:
18958 return NULL;
18959 }
18960
18961
18962 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18963 PyObject *resultobj;
18964 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18965 wxString result;
18966 PyObject * obj0 = 0 ;
18967 char *kwnames[] = {
18968 (char *) "self", NULL
18969 };
18970
18971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18973 if (SWIG_arg_fail(1)) SWIG_fail;
18974 {
18975 PyThreadState* __tstate = wxPyBeginAllowThreads();
18976 result = (arg1)->GetLongHelp();
18977
18978 wxPyEndAllowThreads(__tstate);
18979 if (PyErr_Occurred()) SWIG_fail;
18980 }
18981 {
18982 #if wxUSE_UNICODE
18983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18984 #else
18985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18986 #endif
18987 }
18988 return resultobj;
18989 fail:
18990 return NULL;
18991 }
18992
18993
18994 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18995 PyObject *resultobj;
18996 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18997 bool arg2 ;
18998 bool result;
18999 PyObject * obj0 = 0 ;
19000 PyObject * obj1 = 0 ;
19001 char *kwnames[] = {
19002 (char *) "self",(char *) "enable", NULL
19003 };
19004
19005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
19006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19007 if (SWIG_arg_fail(1)) SWIG_fail;
19008 {
19009 arg2 = (bool)(SWIG_As_bool(obj1));
19010 if (SWIG_arg_fail(2)) SWIG_fail;
19011 }
19012 {
19013 PyThreadState* __tstate = wxPyBeginAllowThreads();
19014 result = (bool)(arg1)->Enable(arg2);
19015
19016 wxPyEndAllowThreads(__tstate);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 {
19020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19021 }
19022 return resultobj;
19023 fail:
19024 return NULL;
19025 }
19026
19027
19028 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
19029 PyObject *resultobj;
19030 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19031 PyObject * obj0 = 0 ;
19032 char *kwnames[] = {
19033 (char *) "self", NULL
19034 };
19035
19036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
19037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19038 if (SWIG_arg_fail(1)) SWIG_fail;
19039 {
19040 PyThreadState* __tstate = wxPyBeginAllowThreads();
19041 (arg1)->Toggle();
19042
19043 wxPyEndAllowThreads(__tstate);
19044 if (PyErr_Occurred()) SWIG_fail;
19045 }
19046 Py_INCREF(Py_None); resultobj = Py_None;
19047 return resultobj;
19048 fail:
19049 return NULL;
19050 }
19051
19052
19053 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
19054 PyObject *resultobj;
19055 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19056 bool arg2 ;
19057 bool result;
19058 PyObject * obj0 = 0 ;
19059 PyObject * obj1 = 0 ;
19060 char *kwnames[] = {
19061 (char *) "self",(char *) "toggle", NULL
19062 };
19063
19064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
19065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19066 if (SWIG_arg_fail(1)) SWIG_fail;
19067 {
19068 arg2 = (bool)(SWIG_As_bool(obj1));
19069 if (SWIG_arg_fail(2)) SWIG_fail;
19070 }
19071 {
19072 PyThreadState* __tstate = wxPyBeginAllowThreads();
19073 result = (bool)(arg1)->SetToggle(arg2);
19074
19075 wxPyEndAllowThreads(__tstate);
19076 if (PyErr_Occurred()) SWIG_fail;
19077 }
19078 {
19079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19080 }
19081 return resultobj;
19082 fail:
19083 return NULL;
19084 }
19085
19086
19087 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19088 PyObject *resultobj;
19089 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19090 wxString *arg2 = 0 ;
19091 bool result;
19092 bool temp2 = false ;
19093 PyObject * obj0 = 0 ;
19094 PyObject * obj1 = 0 ;
19095 char *kwnames[] = {
19096 (char *) "self",(char *) "help", NULL
19097 };
19098
19099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
19100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19101 if (SWIG_arg_fail(1)) SWIG_fail;
19102 {
19103 arg2 = wxString_in_helper(obj1);
19104 if (arg2 == NULL) SWIG_fail;
19105 temp2 = true;
19106 }
19107 {
19108 PyThreadState* __tstate = wxPyBeginAllowThreads();
19109 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19110
19111 wxPyEndAllowThreads(__tstate);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 }
19114 {
19115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19116 }
19117 {
19118 if (temp2)
19119 delete arg2;
19120 }
19121 return resultobj;
19122 fail:
19123 {
19124 if (temp2)
19125 delete arg2;
19126 }
19127 return NULL;
19128 }
19129
19130
19131 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19132 PyObject *resultobj;
19133 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19134 wxString *arg2 = 0 ;
19135 bool result;
19136 bool temp2 = false ;
19137 PyObject * obj0 = 0 ;
19138 PyObject * obj1 = 0 ;
19139 char *kwnames[] = {
19140 (char *) "self",(char *) "help", NULL
19141 };
19142
19143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
19144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19145 if (SWIG_arg_fail(1)) SWIG_fail;
19146 {
19147 arg2 = wxString_in_helper(obj1);
19148 if (arg2 == NULL) SWIG_fail;
19149 temp2 = true;
19150 }
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 {
19159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19160 }
19161 {
19162 if (temp2)
19163 delete arg2;
19164 }
19165 return resultobj;
19166 fail:
19167 {
19168 if (temp2)
19169 delete arg2;
19170 }
19171 return NULL;
19172 }
19173
19174
19175 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19176 PyObject *resultobj;
19177 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19178 wxBitmap *arg2 = 0 ;
19179 PyObject * obj0 = 0 ;
19180 PyObject * obj1 = 0 ;
19181 char *kwnames[] = {
19182 (char *) "self",(char *) "bmp", NULL
19183 };
19184
19185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
19186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19187 if (SWIG_arg_fail(1)) SWIG_fail;
19188 {
19189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19190 if (SWIG_arg_fail(2)) SWIG_fail;
19191 if (arg2 == NULL) {
19192 SWIG_null_ref("wxBitmap");
19193 }
19194 if (SWIG_arg_fail(2)) SWIG_fail;
19195 }
19196 {
19197 PyThreadState* __tstate = wxPyBeginAllowThreads();
19198 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19199
19200 wxPyEndAllowThreads(__tstate);
19201 if (PyErr_Occurred()) SWIG_fail;
19202 }
19203 Py_INCREF(Py_None); resultobj = Py_None;
19204 return resultobj;
19205 fail:
19206 return NULL;
19207 }
19208
19209
19210 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19211 PyObject *resultobj;
19212 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19213 wxBitmap *arg2 = 0 ;
19214 PyObject * obj0 = 0 ;
19215 PyObject * obj1 = 0 ;
19216 char *kwnames[] = {
19217 (char *) "self",(char *) "bmp", NULL
19218 };
19219
19220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
19221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19222 if (SWIG_arg_fail(1)) SWIG_fail;
19223 {
19224 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19225 if (SWIG_arg_fail(2)) SWIG_fail;
19226 if (arg2 == NULL) {
19227 SWIG_null_ref("wxBitmap");
19228 }
19229 if (SWIG_arg_fail(2)) SWIG_fail;
19230 }
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19234
19235 wxPyEndAllowThreads(__tstate);
19236 if (PyErr_Occurred()) SWIG_fail;
19237 }
19238 Py_INCREF(Py_None); resultobj = Py_None;
19239 return resultobj;
19240 fail:
19241 return NULL;
19242 }
19243
19244
19245 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19246 PyObject *resultobj;
19247 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19248 wxString *arg2 = 0 ;
19249 bool temp2 = false ;
19250 PyObject * obj0 = 0 ;
19251 PyObject * obj1 = 0 ;
19252 char *kwnames[] = {
19253 (char *) "self",(char *) "label", NULL
19254 };
19255
19256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) 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 arg2 = wxString_in_helper(obj1);
19261 if (arg2 == NULL) SWIG_fail;
19262 temp2 = true;
19263 }
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 (arg1)->SetLabel((wxString const &)*arg2);
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 Py_INCREF(Py_None); resultobj = Py_None;
19272 {
19273 if (temp2)
19274 delete arg2;
19275 }
19276 return resultobj;
19277 fail:
19278 {
19279 if (temp2)
19280 delete arg2;
19281 }
19282 return NULL;
19283 }
19284
19285
19286 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19287 PyObject *resultobj;
19288 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19289 PyObject * obj0 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "self", NULL
19292 };
19293
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19296 if (SWIG_arg_fail(1)) SWIG_fail;
19297 {
19298 PyThreadState* __tstate = wxPyBeginAllowThreads();
19299 (arg1)->Detach();
19300
19301 wxPyEndAllowThreads(__tstate);
19302 if (PyErr_Occurred()) SWIG_fail;
19303 }
19304 Py_INCREF(Py_None); resultobj = Py_None;
19305 return resultobj;
19306 fail:
19307 return NULL;
19308 }
19309
19310
19311 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19312 PyObject *resultobj;
19313 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19314 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19315 PyObject * obj0 = 0 ;
19316 PyObject * obj1 = 0 ;
19317 char *kwnames[] = {
19318 (char *) "self",(char *) "tbar", NULL
19319 };
19320
19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19323 if (SWIG_arg_fail(1)) SWIG_fail;
19324 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19325 if (SWIG_arg_fail(2)) SWIG_fail;
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 (arg1)->Attach(arg2);
19329
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 Py_INCREF(Py_None); resultobj = Py_None;
19334 return resultobj;
19335 fail:
19336 return NULL;
19337 }
19338
19339
19340 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj;
19342 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19343 PyObject *result;
19344 PyObject * obj0 = 0 ;
19345 char *kwnames[] = {
19346 (char *) "self", NULL
19347 };
19348
19349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19351 if (SWIG_arg_fail(1)) SWIG_fail;
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19355
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 resultobj = result;
19360 return resultobj;
19361 fail:
19362 return NULL;
19363 }
19364
19365
19366 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19367 PyObject *resultobj;
19368 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19369 PyObject *arg2 = (PyObject *) 0 ;
19370 PyObject * obj0 = 0 ;
19371 PyObject * obj1 = 0 ;
19372 char *kwnames[] = {
19373 (char *) "self",(char *) "clientData", NULL
19374 };
19375
19376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19378 if (SWIG_arg_fail(1)) SWIG_fail;
19379 arg2 = obj1;
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 wxToolBarToolBase_SetClientData(arg1,arg2);
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 Py_INCREF(Py_None); resultobj = Py_None;
19388 return resultobj;
19389 fail:
19390 return NULL;
19391 }
19392
19393
19394 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19395 PyObject *obj;
19396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19397 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19398 Py_INCREF(obj);
19399 return Py_BuildValue((char *)"");
19400 }
19401 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj;
19403 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19404 int arg2 ;
19405 wxString *arg3 = 0 ;
19406 wxBitmap *arg4 = 0 ;
19407 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19408 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19409 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19410 wxString const &arg7_defvalue = wxPyEmptyString ;
19411 wxString *arg7 = (wxString *) &arg7_defvalue ;
19412 wxString const &arg8_defvalue = wxPyEmptyString ;
19413 wxString *arg8 = (wxString *) &arg8_defvalue ;
19414 PyObject *arg9 = (PyObject *) NULL ;
19415 wxToolBarToolBase *result;
19416 bool temp3 = false ;
19417 bool temp7 = false ;
19418 bool temp8 = false ;
19419 PyObject * obj0 = 0 ;
19420 PyObject * obj1 = 0 ;
19421 PyObject * obj2 = 0 ;
19422 PyObject * obj3 = 0 ;
19423 PyObject * obj4 = 0 ;
19424 PyObject * obj5 = 0 ;
19425 PyObject * obj6 = 0 ;
19426 PyObject * obj7 = 0 ;
19427 PyObject * obj8 = 0 ;
19428 char *kwnames[] = {
19429 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19430 };
19431
19432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19434 if (SWIG_arg_fail(1)) SWIG_fail;
19435 {
19436 arg2 = (int)(SWIG_As_int(obj1));
19437 if (SWIG_arg_fail(2)) SWIG_fail;
19438 }
19439 {
19440 arg3 = wxString_in_helper(obj2);
19441 if (arg3 == NULL) SWIG_fail;
19442 temp3 = true;
19443 }
19444 {
19445 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19446 if (SWIG_arg_fail(4)) SWIG_fail;
19447 if (arg4 == NULL) {
19448 SWIG_null_ref("wxBitmap");
19449 }
19450 if (SWIG_arg_fail(4)) SWIG_fail;
19451 }
19452 if (obj4) {
19453 {
19454 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19455 if (SWIG_arg_fail(5)) SWIG_fail;
19456 if (arg5 == NULL) {
19457 SWIG_null_ref("wxBitmap");
19458 }
19459 if (SWIG_arg_fail(5)) SWIG_fail;
19460 }
19461 }
19462 if (obj5) {
19463 {
19464 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19465 if (SWIG_arg_fail(6)) SWIG_fail;
19466 }
19467 }
19468 if (obj6) {
19469 {
19470 arg7 = wxString_in_helper(obj6);
19471 if (arg7 == NULL) SWIG_fail;
19472 temp7 = true;
19473 }
19474 }
19475 if (obj7) {
19476 {
19477 arg8 = wxString_in_helper(obj7);
19478 if (arg8 == NULL) SWIG_fail;
19479 temp8 = true;
19480 }
19481 }
19482 if (obj8) {
19483 arg9 = obj8;
19484 }
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19488
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 {
19493 resultobj = wxPyMake_wxObject(result, 0);
19494 }
19495 {
19496 if (temp3)
19497 delete arg3;
19498 }
19499 {
19500 if (temp7)
19501 delete arg7;
19502 }
19503 {
19504 if (temp8)
19505 delete arg8;
19506 }
19507 return resultobj;
19508 fail:
19509 {
19510 if (temp3)
19511 delete arg3;
19512 }
19513 {
19514 if (temp7)
19515 delete arg7;
19516 }
19517 {
19518 if (temp8)
19519 delete arg8;
19520 }
19521 return NULL;
19522 }
19523
19524
19525 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj;
19527 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19528 size_t arg2 ;
19529 int arg3 ;
19530 wxString *arg4 = 0 ;
19531 wxBitmap *arg5 = 0 ;
19532 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19533 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19534 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19535 wxString const &arg8_defvalue = wxPyEmptyString ;
19536 wxString *arg8 = (wxString *) &arg8_defvalue ;
19537 wxString const &arg9_defvalue = wxPyEmptyString ;
19538 wxString *arg9 = (wxString *) &arg9_defvalue ;
19539 PyObject *arg10 = (PyObject *) NULL ;
19540 wxToolBarToolBase *result;
19541 bool temp4 = false ;
19542 bool temp8 = false ;
19543 bool temp9 = false ;
19544 PyObject * obj0 = 0 ;
19545 PyObject * obj1 = 0 ;
19546 PyObject * obj2 = 0 ;
19547 PyObject * obj3 = 0 ;
19548 PyObject * obj4 = 0 ;
19549 PyObject * obj5 = 0 ;
19550 PyObject * obj6 = 0 ;
19551 PyObject * obj7 = 0 ;
19552 PyObject * obj8 = 0 ;
19553 PyObject * obj9 = 0 ;
19554 char *kwnames[] = {
19555 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19556 };
19557
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19560 if (SWIG_arg_fail(1)) SWIG_fail;
19561 {
19562 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19563 if (SWIG_arg_fail(2)) SWIG_fail;
19564 }
19565 {
19566 arg3 = (int)(SWIG_As_int(obj2));
19567 if (SWIG_arg_fail(3)) SWIG_fail;
19568 }
19569 {
19570 arg4 = wxString_in_helper(obj3);
19571 if (arg4 == NULL) SWIG_fail;
19572 temp4 = true;
19573 }
19574 {
19575 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19576 if (SWIG_arg_fail(5)) SWIG_fail;
19577 if (arg5 == NULL) {
19578 SWIG_null_ref("wxBitmap");
19579 }
19580 if (SWIG_arg_fail(5)) SWIG_fail;
19581 }
19582 if (obj5) {
19583 {
19584 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19585 if (SWIG_arg_fail(6)) SWIG_fail;
19586 if (arg6 == NULL) {
19587 SWIG_null_ref("wxBitmap");
19588 }
19589 if (SWIG_arg_fail(6)) SWIG_fail;
19590 }
19591 }
19592 if (obj6) {
19593 {
19594 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19595 if (SWIG_arg_fail(7)) SWIG_fail;
19596 }
19597 }
19598 if (obj7) {
19599 {
19600 arg8 = wxString_in_helper(obj7);
19601 if (arg8 == NULL) SWIG_fail;
19602 temp8 = true;
19603 }
19604 }
19605 if (obj8) {
19606 {
19607 arg9 = wxString_in_helper(obj8);
19608 if (arg9 == NULL) SWIG_fail;
19609 temp9 = true;
19610 }
19611 }
19612 if (obj9) {
19613 arg10 = obj9;
19614 }
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 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);
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 {
19623 resultobj = wxPyMake_wxObject(result, 0);
19624 }
19625 {
19626 if (temp4)
19627 delete arg4;
19628 }
19629 {
19630 if (temp8)
19631 delete arg8;
19632 }
19633 {
19634 if (temp9)
19635 delete arg9;
19636 }
19637 return resultobj;
19638 fail:
19639 {
19640 if (temp4)
19641 delete arg4;
19642 }
19643 {
19644 if (temp8)
19645 delete arg8;
19646 }
19647 {
19648 if (temp9)
19649 delete arg9;
19650 }
19651 return NULL;
19652 }
19653
19654
19655 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19656 PyObject *resultobj;
19657 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19658 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19659 wxToolBarToolBase *result;
19660 PyObject * obj0 = 0 ;
19661 PyObject * obj1 = 0 ;
19662 char *kwnames[] = {
19663 (char *) "self",(char *) "tool", NULL
19664 };
19665
19666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19668 if (SWIG_arg_fail(1)) SWIG_fail;
19669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19670 if (SWIG_arg_fail(2)) SWIG_fail;
19671 {
19672 PyThreadState* __tstate = wxPyBeginAllowThreads();
19673 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
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
19687 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19688 PyObject *resultobj;
19689 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19690 size_t arg2 ;
19691 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19692 wxToolBarToolBase *result;
19693 PyObject * obj0 = 0 ;
19694 PyObject * obj1 = 0 ;
19695 PyObject * obj2 = 0 ;
19696 char *kwnames[] = {
19697 (char *) "self",(char *) "pos",(char *) "tool", NULL
19698 };
19699
19700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19702 if (SWIG_arg_fail(1)) SWIG_fail;
19703 {
19704 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19705 if (SWIG_arg_fail(2)) SWIG_fail;
19706 }
19707 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19708 if (SWIG_arg_fail(3)) SWIG_fail;
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19712
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 {
19717 resultobj = wxPyMake_wxObject(result, 0);
19718 }
19719 return resultobj;
19720 fail:
19721 return NULL;
19722 }
19723
19724
19725 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19726 PyObject *resultobj;
19727 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19728 wxControl *arg2 = (wxControl *) 0 ;
19729 wxToolBarToolBase *result;
19730 PyObject * obj0 = 0 ;
19731 PyObject * obj1 = 0 ;
19732 char *kwnames[] = {
19733 (char *) "self",(char *) "control", NULL
19734 };
19735
19736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19738 if (SWIG_arg_fail(1)) SWIG_fail;
19739 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19740 if (SWIG_arg_fail(2)) SWIG_fail;
19741 {
19742 PyThreadState* __tstate = wxPyBeginAllowThreads();
19743 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
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
19757 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19758 PyObject *resultobj;
19759 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19760 size_t arg2 ;
19761 wxControl *arg3 = (wxControl *) 0 ;
19762 wxToolBarToolBase *result;
19763 PyObject * obj0 = 0 ;
19764 PyObject * obj1 = 0 ;
19765 PyObject * obj2 = 0 ;
19766 char *kwnames[] = {
19767 (char *) "self",(char *) "pos",(char *) "control", NULL
19768 };
19769
19770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19772 if (SWIG_arg_fail(1)) SWIG_fail;
19773 {
19774 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19775 if (SWIG_arg_fail(2)) SWIG_fail;
19776 }
19777 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19778 if (SWIG_arg_fail(3)) SWIG_fail;
19779 {
19780 PyThreadState* __tstate = wxPyBeginAllowThreads();
19781 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19782
19783 wxPyEndAllowThreads(__tstate);
19784 if (PyErr_Occurred()) SWIG_fail;
19785 }
19786 {
19787 resultobj = wxPyMake_wxObject(result, 0);
19788 }
19789 return resultobj;
19790 fail:
19791 return NULL;
19792 }
19793
19794
19795 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19796 PyObject *resultobj;
19797 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19798 int arg2 ;
19799 wxControl *result;
19800 PyObject * obj0 = 0 ;
19801 PyObject * obj1 = 0 ;
19802 char *kwnames[] = {
19803 (char *) "self",(char *) "id", NULL
19804 };
19805
19806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19808 if (SWIG_arg_fail(1)) SWIG_fail;
19809 {
19810 arg2 = (int)(SWIG_As_int(obj1));
19811 if (SWIG_arg_fail(2)) SWIG_fail;
19812 }
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 result = (wxControl *)(arg1)->FindControl(arg2);
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 {
19821 resultobj = wxPyMake_wxObject(result, 0);
19822 }
19823 return resultobj;
19824 fail:
19825 return NULL;
19826 }
19827
19828
19829 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj;
19831 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19832 wxToolBarToolBase *result;
19833 PyObject * obj0 = 0 ;
19834 char *kwnames[] = {
19835 (char *) "self", NULL
19836 };
19837
19838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19840 if (SWIG_arg_fail(1)) SWIG_fail;
19841 {
19842 PyThreadState* __tstate = wxPyBeginAllowThreads();
19843 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19844
19845 wxPyEndAllowThreads(__tstate);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 }
19848 {
19849 resultobj = wxPyMake_wxObject(result, 0);
19850 }
19851 return resultobj;
19852 fail:
19853 return NULL;
19854 }
19855
19856
19857 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19858 PyObject *resultobj;
19859 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19860 size_t arg2 ;
19861 wxToolBarToolBase *result;
19862 PyObject * obj0 = 0 ;
19863 PyObject * obj1 = 0 ;
19864 char *kwnames[] = {
19865 (char *) "self",(char *) "pos", NULL
19866 };
19867
19868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19870 if (SWIG_arg_fail(1)) SWIG_fail;
19871 {
19872 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19873 if (SWIG_arg_fail(2)) SWIG_fail;
19874 }
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 {
19883 resultobj = wxPyMake_wxObject(result, 0);
19884 }
19885 return resultobj;
19886 fail:
19887 return NULL;
19888 }
19889
19890
19891 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19892 PyObject *resultobj;
19893 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19894 int arg2 ;
19895 wxToolBarToolBase *result;
19896 PyObject * obj0 = 0 ;
19897 PyObject * obj1 = 0 ;
19898 char *kwnames[] = {
19899 (char *) "self",(char *) "id", NULL
19900 };
19901
19902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19904 if (SWIG_arg_fail(1)) SWIG_fail;
19905 {
19906 arg2 = (int)(SWIG_As_int(obj1));
19907 if (SWIG_arg_fail(2)) SWIG_fail;
19908 }
19909 {
19910 PyThreadState* __tstate = wxPyBeginAllowThreads();
19911 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19912
19913 wxPyEndAllowThreads(__tstate);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 {
19917 resultobj = wxPyMake_wxObject(result, 0);
19918 }
19919 return resultobj;
19920 fail:
19921 return NULL;
19922 }
19923
19924
19925 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19928 size_t arg2 ;
19929 bool result;
19930 PyObject * obj0 = 0 ;
19931 PyObject * obj1 = 0 ;
19932 char *kwnames[] = {
19933 (char *) "self",(char *) "pos", NULL
19934 };
19935
19936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19938 if (SWIG_arg_fail(1)) SWIG_fail;
19939 {
19940 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19941 if (SWIG_arg_fail(2)) SWIG_fail;
19942 }
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 result = (bool)(arg1)->DeleteToolByPos(arg2);
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 {
19951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19952 }
19953 return resultobj;
19954 fail:
19955 return NULL;
19956 }
19957
19958
19959 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19960 PyObject *resultobj;
19961 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19962 int arg2 ;
19963 bool result;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self",(char *) "id", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19972 if (SWIG_arg_fail(1)) SWIG_fail;
19973 {
19974 arg2 = (int)(SWIG_As_int(obj1));
19975 if (SWIG_arg_fail(2)) SWIG_fail;
19976 }
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 result = (bool)(arg1)->DeleteTool(arg2);
19980
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 {
19985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19986 }
19987 return resultobj;
19988 fail:
19989 return NULL;
19990 }
19991
19992
19993 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19994 PyObject *resultobj;
19995 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19996 PyObject * obj0 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
20002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20003 if (SWIG_arg_fail(1)) SWIG_fail;
20004 {
20005 PyThreadState* __tstate = wxPyBeginAllowThreads();
20006 (arg1)->ClearTools();
20007
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 Py_INCREF(Py_None); resultobj = Py_None;
20012 return resultobj;
20013 fail:
20014 return NULL;
20015 }
20016
20017
20018 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj;
20020 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20021 bool result;
20022 PyObject * obj0 = 0 ;
20023 char *kwnames[] = {
20024 (char *) "self", NULL
20025 };
20026
20027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
20028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20029 if (SWIG_arg_fail(1)) SWIG_fail;
20030 {
20031 PyThreadState* __tstate = wxPyBeginAllowThreads();
20032 result = (bool)(arg1)->Realize();
20033
20034 wxPyEndAllowThreads(__tstate);
20035 if (PyErr_Occurred()) SWIG_fail;
20036 }
20037 {
20038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20039 }
20040 return resultobj;
20041 fail:
20042 return NULL;
20043 }
20044
20045
20046 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
20047 PyObject *resultobj;
20048 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20049 int arg2 ;
20050 bool arg3 ;
20051 PyObject * obj0 = 0 ;
20052 PyObject * obj1 = 0 ;
20053 PyObject * obj2 = 0 ;
20054 char *kwnames[] = {
20055 (char *) "self",(char *) "id",(char *) "enable", NULL
20056 };
20057
20058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20060 if (SWIG_arg_fail(1)) SWIG_fail;
20061 {
20062 arg2 = (int)(SWIG_As_int(obj1));
20063 if (SWIG_arg_fail(2)) SWIG_fail;
20064 }
20065 {
20066 arg3 = (bool)(SWIG_As_bool(obj2));
20067 if (SWIG_arg_fail(3)) SWIG_fail;
20068 }
20069 {
20070 PyThreadState* __tstate = wxPyBeginAllowThreads();
20071 (arg1)->EnableTool(arg2,arg3);
20072
20073 wxPyEndAllowThreads(__tstate);
20074 if (PyErr_Occurred()) SWIG_fail;
20075 }
20076 Py_INCREF(Py_None); resultobj = Py_None;
20077 return resultobj;
20078 fail:
20079 return NULL;
20080 }
20081
20082
20083 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
20084 PyObject *resultobj;
20085 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20086 int arg2 ;
20087 bool arg3 ;
20088 PyObject * obj0 = 0 ;
20089 PyObject * obj1 = 0 ;
20090 PyObject * obj2 = 0 ;
20091 char *kwnames[] = {
20092 (char *) "self",(char *) "id",(char *) "toggle", NULL
20093 };
20094
20095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20097 if (SWIG_arg_fail(1)) SWIG_fail;
20098 {
20099 arg2 = (int)(SWIG_As_int(obj1));
20100 if (SWIG_arg_fail(2)) SWIG_fail;
20101 }
20102 {
20103 arg3 = (bool)(SWIG_As_bool(obj2));
20104 if (SWIG_arg_fail(3)) SWIG_fail;
20105 }
20106 {
20107 PyThreadState* __tstate = wxPyBeginAllowThreads();
20108 (arg1)->ToggleTool(arg2,arg3);
20109
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 Py_INCREF(Py_None); resultobj = Py_None;
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj;
20122 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20123 int arg2 ;
20124 bool arg3 ;
20125 PyObject * obj0 = 0 ;
20126 PyObject * obj1 = 0 ;
20127 PyObject * obj2 = 0 ;
20128 char *kwnames[] = {
20129 (char *) "self",(char *) "id",(char *) "toggle", NULL
20130 };
20131
20132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20134 if (SWIG_arg_fail(1)) SWIG_fail;
20135 {
20136 arg2 = (int)(SWIG_As_int(obj1));
20137 if (SWIG_arg_fail(2)) SWIG_fail;
20138 }
20139 {
20140 arg3 = (bool)(SWIG_As_bool(obj2));
20141 if (SWIG_arg_fail(3)) SWIG_fail;
20142 }
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 (arg1)->SetToggle(arg2,arg3);
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 Py_INCREF(Py_None); resultobj = Py_None;
20151 return resultobj;
20152 fail:
20153 return NULL;
20154 }
20155
20156
20157 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20158 PyObject *resultobj;
20159 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20160 int arg2 ;
20161 PyObject *result;
20162 PyObject * obj0 = 0 ;
20163 PyObject * obj1 = 0 ;
20164 char *kwnames[] = {
20165 (char *) "self",(char *) "id", NULL
20166 };
20167
20168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
20169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20170 if (SWIG_arg_fail(1)) SWIG_fail;
20171 {
20172 arg2 = (int)(SWIG_As_int(obj1));
20173 if (SWIG_arg_fail(2)) SWIG_fail;
20174 }
20175 {
20176 PyThreadState* __tstate = wxPyBeginAllowThreads();
20177 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20178
20179 wxPyEndAllowThreads(__tstate);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 }
20182 resultobj = result;
20183 return resultobj;
20184 fail:
20185 return NULL;
20186 }
20187
20188
20189 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20190 PyObject *resultobj;
20191 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20192 int arg2 ;
20193 PyObject *arg3 = (PyObject *) 0 ;
20194 PyObject * obj0 = 0 ;
20195 PyObject * obj1 = 0 ;
20196 PyObject * obj2 = 0 ;
20197 char *kwnames[] = {
20198 (char *) "self",(char *) "id",(char *) "clientData", NULL
20199 };
20200
20201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20203 if (SWIG_arg_fail(1)) SWIG_fail;
20204 {
20205 arg2 = (int)(SWIG_As_int(obj1));
20206 if (SWIG_arg_fail(2)) SWIG_fail;
20207 }
20208 arg3 = obj2;
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20212
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 Py_INCREF(Py_None); resultobj = Py_None;
20217 return resultobj;
20218 fail:
20219 return NULL;
20220 }
20221
20222
20223 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
20224 PyObject *resultobj;
20225 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20226 int arg2 ;
20227 int result;
20228 PyObject * obj0 = 0 ;
20229 PyObject * obj1 = 0 ;
20230 char *kwnames[] = {
20231 (char *) "self",(char *) "id", NULL
20232 };
20233
20234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
20235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20236 if (SWIG_arg_fail(1)) SWIG_fail;
20237 {
20238 arg2 = (int)(SWIG_As_int(obj1));
20239 if (SWIG_arg_fail(2)) SWIG_fail;
20240 }
20241 {
20242 PyThreadState* __tstate = wxPyBeginAllowThreads();
20243 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20244
20245 wxPyEndAllowThreads(__tstate);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 }
20248 {
20249 resultobj = SWIG_From_int((int)(result));
20250 }
20251 return resultobj;
20252 fail:
20253 return NULL;
20254 }
20255
20256
20257 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
20258 PyObject *resultobj;
20259 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20260 int arg2 ;
20261 bool result;
20262 PyObject * obj0 = 0 ;
20263 PyObject * obj1 = 0 ;
20264 char *kwnames[] = {
20265 (char *) "self",(char *) "id", NULL
20266 };
20267
20268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20270 if (SWIG_arg_fail(1)) SWIG_fail;
20271 {
20272 arg2 = (int)(SWIG_As_int(obj1));
20273 if (SWIG_arg_fail(2)) SWIG_fail;
20274 }
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 result = (bool)(arg1)->GetToolState(arg2);
20278
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
20282 {
20283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20284 }
20285 return resultobj;
20286 fail:
20287 return NULL;
20288 }
20289
20290
20291 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20292 PyObject *resultobj;
20293 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20294 int arg2 ;
20295 bool result;
20296 PyObject * obj0 = 0 ;
20297 PyObject * obj1 = 0 ;
20298 char *kwnames[] = {
20299 (char *) "self",(char *) "id", NULL
20300 };
20301
20302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20304 if (SWIG_arg_fail(1)) SWIG_fail;
20305 {
20306 arg2 = (int)(SWIG_As_int(obj1));
20307 if (SWIG_arg_fail(2)) SWIG_fail;
20308 }
20309 {
20310 PyThreadState* __tstate = wxPyBeginAllowThreads();
20311 result = (bool)(arg1)->GetToolEnabled(arg2);
20312
20313 wxPyEndAllowThreads(__tstate);
20314 if (PyErr_Occurred()) SWIG_fail;
20315 }
20316 {
20317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20318 }
20319 return resultobj;
20320 fail:
20321 return NULL;
20322 }
20323
20324
20325 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20326 PyObject *resultobj;
20327 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20328 int arg2 ;
20329 wxString *arg3 = 0 ;
20330 bool temp3 = false ;
20331 PyObject * obj0 = 0 ;
20332 PyObject * obj1 = 0 ;
20333 PyObject * obj2 = 0 ;
20334 char *kwnames[] = {
20335 (char *) "self",(char *) "id",(char *) "helpString", NULL
20336 };
20337
20338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20340 if (SWIG_arg_fail(1)) SWIG_fail;
20341 {
20342 arg2 = (int)(SWIG_As_int(obj1));
20343 if (SWIG_arg_fail(2)) SWIG_fail;
20344 }
20345 {
20346 arg3 = wxString_in_helper(obj2);
20347 if (arg3 == NULL) SWIG_fail;
20348 temp3 = true;
20349 }
20350 {
20351 PyThreadState* __tstate = wxPyBeginAllowThreads();
20352 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20353
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 Py_INCREF(Py_None); resultobj = Py_None;
20358 {
20359 if (temp3)
20360 delete arg3;
20361 }
20362 return resultobj;
20363 fail:
20364 {
20365 if (temp3)
20366 delete arg3;
20367 }
20368 return NULL;
20369 }
20370
20371
20372 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20375 int arg2 ;
20376 wxString result;
20377 PyObject * obj0 = 0 ;
20378 PyObject * obj1 = 0 ;
20379 char *kwnames[] = {
20380 (char *) "self",(char *) "id", NULL
20381 };
20382
20383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20385 if (SWIG_arg_fail(1)) SWIG_fail;
20386 {
20387 arg2 = (int)(SWIG_As_int(obj1));
20388 if (SWIG_arg_fail(2)) SWIG_fail;
20389 }
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 result = (arg1)->GetToolShortHelp(arg2);
20393
20394 wxPyEndAllowThreads(__tstate);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 }
20397 {
20398 #if wxUSE_UNICODE
20399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20400 #else
20401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20402 #endif
20403 }
20404 return resultobj;
20405 fail:
20406 return NULL;
20407 }
20408
20409
20410 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20411 PyObject *resultobj;
20412 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20413 int arg2 ;
20414 wxString *arg3 = 0 ;
20415 bool temp3 = false ;
20416 PyObject * obj0 = 0 ;
20417 PyObject * obj1 = 0 ;
20418 PyObject * obj2 = 0 ;
20419 char *kwnames[] = {
20420 (char *) "self",(char *) "id",(char *) "helpString", NULL
20421 };
20422
20423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20425 if (SWIG_arg_fail(1)) SWIG_fail;
20426 {
20427 arg2 = (int)(SWIG_As_int(obj1));
20428 if (SWIG_arg_fail(2)) SWIG_fail;
20429 }
20430 {
20431 arg3 = wxString_in_helper(obj2);
20432 if (arg3 == NULL) SWIG_fail;
20433 temp3 = true;
20434 }
20435 {
20436 PyThreadState* __tstate = wxPyBeginAllowThreads();
20437 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20438
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 Py_INCREF(Py_None); resultobj = Py_None;
20443 {
20444 if (temp3)
20445 delete arg3;
20446 }
20447 return resultobj;
20448 fail:
20449 {
20450 if (temp3)
20451 delete arg3;
20452 }
20453 return NULL;
20454 }
20455
20456
20457 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20458 PyObject *resultobj;
20459 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20460 int arg2 ;
20461 wxString result;
20462 PyObject * obj0 = 0 ;
20463 PyObject * obj1 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self",(char *) "id", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
20469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20470 if (SWIG_arg_fail(1)) SWIG_fail;
20471 {
20472 arg2 = (int)(SWIG_As_int(obj1));
20473 if (SWIG_arg_fail(2)) SWIG_fail;
20474 }
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 result = (arg1)->GetToolLongHelp(arg2);
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 {
20483 #if wxUSE_UNICODE
20484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20485 #else
20486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20487 #endif
20488 }
20489 return resultobj;
20490 fail:
20491 return NULL;
20492 }
20493
20494
20495 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20496 PyObject *resultobj;
20497 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20498 int arg2 ;
20499 int arg3 ;
20500 PyObject * obj0 = 0 ;
20501 PyObject * obj1 = 0 ;
20502 PyObject * obj2 = 0 ;
20503 char *kwnames[] = {
20504 (char *) "self",(char *) "x",(char *) "y", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail;
20510 {
20511 arg2 = (int)(SWIG_As_int(obj1));
20512 if (SWIG_arg_fail(2)) SWIG_fail;
20513 }
20514 {
20515 arg3 = (int)(SWIG_As_int(obj2));
20516 if (SWIG_arg_fail(3)) SWIG_fail;
20517 }
20518 {
20519 PyThreadState* __tstate = wxPyBeginAllowThreads();
20520 (arg1)->SetMargins(arg2,arg3);
20521
20522 wxPyEndAllowThreads(__tstate);
20523 if (PyErr_Occurred()) SWIG_fail;
20524 }
20525 Py_INCREF(Py_None); resultobj = Py_None;
20526 return resultobj;
20527 fail:
20528 return NULL;
20529 }
20530
20531
20532 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20533 PyObject *resultobj;
20534 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20535 wxSize *arg2 = 0 ;
20536 wxSize temp2 ;
20537 PyObject * obj0 = 0 ;
20538 PyObject * obj1 = 0 ;
20539 char *kwnames[] = {
20540 (char *) "self",(char *) "size", NULL
20541 };
20542
20543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20545 if (SWIG_arg_fail(1)) SWIG_fail;
20546 {
20547 arg2 = &temp2;
20548 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20549 }
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 (arg1)->SetMargins((wxSize const &)*arg2);
20553
20554 wxPyEndAllowThreads(__tstate);
20555 if (PyErr_Occurred()) SWIG_fail;
20556 }
20557 Py_INCREF(Py_None); resultobj = Py_None;
20558 return resultobj;
20559 fail:
20560 return NULL;
20561 }
20562
20563
20564 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20565 PyObject *resultobj;
20566 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20567 int arg2 ;
20568 PyObject * obj0 = 0 ;
20569 PyObject * obj1 = 0 ;
20570 char *kwnames[] = {
20571 (char *) "self",(char *) "packing", NULL
20572 };
20573
20574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20576 if (SWIG_arg_fail(1)) SWIG_fail;
20577 {
20578 arg2 = (int)(SWIG_As_int(obj1));
20579 if (SWIG_arg_fail(2)) SWIG_fail;
20580 }
20581 {
20582 PyThreadState* __tstate = wxPyBeginAllowThreads();
20583 (arg1)->SetToolPacking(arg2);
20584
20585 wxPyEndAllowThreads(__tstate);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 }
20588 Py_INCREF(Py_None); resultobj = Py_None;
20589 return resultobj;
20590 fail:
20591 return NULL;
20592 }
20593
20594
20595 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20596 PyObject *resultobj;
20597 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20598 int arg2 ;
20599 PyObject * obj0 = 0 ;
20600 PyObject * obj1 = 0 ;
20601 char *kwnames[] = {
20602 (char *) "self",(char *) "separation", NULL
20603 };
20604
20605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20607 if (SWIG_arg_fail(1)) SWIG_fail;
20608 {
20609 arg2 = (int)(SWIG_As_int(obj1));
20610 if (SWIG_arg_fail(2)) SWIG_fail;
20611 }
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 (arg1)->SetToolSeparation(arg2);
20615
20616 wxPyEndAllowThreads(__tstate);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
20619 Py_INCREF(Py_None); resultobj = Py_None;
20620 return resultobj;
20621 fail:
20622 return NULL;
20623 }
20624
20625
20626 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20627 PyObject *resultobj;
20628 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20629 wxSize result;
20630 PyObject * obj0 = 0 ;
20631 char *kwnames[] = {
20632 (char *) "self", NULL
20633 };
20634
20635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20637 if (SWIG_arg_fail(1)) SWIG_fail;
20638 {
20639 PyThreadState* __tstate = wxPyBeginAllowThreads();
20640 result = (arg1)->GetToolMargins();
20641
20642 wxPyEndAllowThreads(__tstate);
20643 if (PyErr_Occurred()) SWIG_fail;
20644 }
20645 {
20646 wxSize * resultptr;
20647 resultptr = new wxSize((wxSize &)(result));
20648 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20649 }
20650 return resultobj;
20651 fail:
20652 return NULL;
20653 }
20654
20655
20656 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20657 PyObject *resultobj;
20658 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20659 wxSize result;
20660 PyObject * obj0 = 0 ;
20661 char *kwnames[] = {
20662 (char *) "self", NULL
20663 };
20664
20665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20667 if (SWIG_arg_fail(1)) SWIG_fail;
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 result = (arg1)->GetMargins();
20671
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
20675 {
20676 wxSize * resultptr;
20677 resultptr = new wxSize((wxSize &)(result));
20678 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20679 }
20680 return resultobj;
20681 fail:
20682 return NULL;
20683 }
20684
20685
20686 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20687 PyObject *resultobj;
20688 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20689 int result;
20690 PyObject * obj0 = 0 ;
20691 char *kwnames[] = {
20692 (char *) "self", NULL
20693 };
20694
20695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20697 if (SWIG_arg_fail(1)) SWIG_fail;
20698 {
20699 PyThreadState* __tstate = wxPyBeginAllowThreads();
20700 result = (int)(arg1)->GetToolPacking();
20701
20702 wxPyEndAllowThreads(__tstate);
20703 if (PyErr_Occurred()) SWIG_fail;
20704 }
20705 {
20706 resultobj = SWIG_From_int((int)(result));
20707 }
20708 return resultobj;
20709 fail:
20710 return NULL;
20711 }
20712
20713
20714 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20715 PyObject *resultobj;
20716 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20717 int result;
20718 PyObject * obj0 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "self", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20725 if (SWIG_arg_fail(1)) SWIG_fail;
20726 {
20727 PyThreadState* __tstate = wxPyBeginAllowThreads();
20728 result = (int)(arg1)->GetToolSeparation();
20729
20730 wxPyEndAllowThreads(__tstate);
20731 if (PyErr_Occurred()) SWIG_fail;
20732 }
20733 {
20734 resultobj = SWIG_From_int((int)(result));
20735 }
20736 return resultobj;
20737 fail:
20738 return NULL;
20739 }
20740
20741
20742 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20743 PyObject *resultobj;
20744 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20745 int arg2 ;
20746 PyObject * obj0 = 0 ;
20747 PyObject * obj1 = 0 ;
20748 char *kwnames[] = {
20749 (char *) "self",(char *) "nRows", NULL
20750 };
20751
20752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20754 if (SWIG_arg_fail(1)) SWIG_fail;
20755 {
20756 arg2 = (int)(SWIG_As_int(obj1));
20757 if (SWIG_arg_fail(2)) SWIG_fail;
20758 }
20759 {
20760 PyThreadState* __tstate = wxPyBeginAllowThreads();
20761 (arg1)->SetRows(arg2);
20762
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 Py_INCREF(Py_None); resultobj = Py_None;
20767 return resultobj;
20768 fail:
20769 return NULL;
20770 }
20771
20772
20773 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20774 PyObject *resultobj;
20775 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20776 int arg2 ;
20777 int arg3 ;
20778 PyObject * obj0 = 0 ;
20779 PyObject * obj1 = 0 ;
20780 PyObject * obj2 = 0 ;
20781 char *kwnames[] = {
20782 (char *) "self",(char *) "rows",(char *) "cols", NULL
20783 };
20784
20785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20787 if (SWIG_arg_fail(1)) SWIG_fail;
20788 {
20789 arg2 = (int)(SWIG_As_int(obj1));
20790 if (SWIG_arg_fail(2)) SWIG_fail;
20791 }
20792 {
20793 arg3 = (int)(SWIG_As_int(obj2));
20794 if (SWIG_arg_fail(3)) SWIG_fail;
20795 }
20796 {
20797 PyThreadState* __tstate = wxPyBeginAllowThreads();
20798 (arg1)->SetMaxRowsCols(arg2,arg3);
20799
20800 wxPyEndAllowThreads(__tstate);
20801 if (PyErr_Occurred()) SWIG_fail;
20802 }
20803 Py_INCREF(Py_None); resultobj = Py_None;
20804 return resultobj;
20805 fail:
20806 return NULL;
20807 }
20808
20809
20810 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20811 PyObject *resultobj;
20812 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20813 int result;
20814 PyObject * obj0 = 0 ;
20815 char *kwnames[] = {
20816 (char *) "self", NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20821 if (SWIG_arg_fail(1)) SWIG_fail;
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 result = (int)(arg1)->GetMaxRows();
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 {
20830 resultobj = SWIG_From_int((int)(result));
20831 }
20832 return resultobj;
20833 fail:
20834 return NULL;
20835 }
20836
20837
20838 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20839 PyObject *resultobj;
20840 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20841 int result;
20842 PyObject * obj0 = 0 ;
20843 char *kwnames[] = {
20844 (char *) "self", NULL
20845 };
20846
20847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20849 if (SWIG_arg_fail(1)) SWIG_fail;
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 result = (int)(arg1)->GetMaxCols();
20853
20854 wxPyEndAllowThreads(__tstate);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
20857 {
20858 resultobj = SWIG_From_int((int)(result));
20859 }
20860 return resultobj;
20861 fail:
20862 return NULL;
20863 }
20864
20865
20866 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20867 PyObject *resultobj;
20868 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20869 wxSize *arg2 = 0 ;
20870 wxSize temp2 ;
20871 PyObject * obj0 = 0 ;
20872 PyObject * obj1 = 0 ;
20873 char *kwnames[] = {
20874 (char *) "self",(char *) "size", NULL
20875 };
20876
20877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20879 if (SWIG_arg_fail(1)) SWIG_fail;
20880 {
20881 arg2 = &temp2;
20882 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20883 }
20884 {
20885 PyThreadState* __tstate = wxPyBeginAllowThreads();
20886 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20887
20888 wxPyEndAllowThreads(__tstate);
20889 if (PyErr_Occurred()) SWIG_fail;
20890 }
20891 Py_INCREF(Py_None); resultobj = Py_None;
20892 return resultobj;
20893 fail:
20894 return NULL;
20895 }
20896
20897
20898 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20899 PyObject *resultobj;
20900 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20901 wxSize result;
20902 PyObject * obj0 = 0 ;
20903 char *kwnames[] = {
20904 (char *) "self", NULL
20905 };
20906
20907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20909 if (SWIG_arg_fail(1)) SWIG_fail;
20910 {
20911 PyThreadState* __tstate = wxPyBeginAllowThreads();
20912 result = (arg1)->GetToolBitmapSize();
20913
20914 wxPyEndAllowThreads(__tstate);
20915 if (PyErr_Occurred()) SWIG_fail;
20916 }
20917 {
20918 wxSize * resultptr;
20919 resultptr = new wxSize((wxSize &)(result));
20920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20921 }
20922 return resultobj;
20923 fail:
20924 return NULL;
20925 }
20926
20927
20928 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20929 PyObject *resultobj;
20930 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20931 wxSize result;
20932 PyObject * obj0 = 0 ;
20933 char *kwnames[] = {
20934 (char *) "self", NULL
20935 };
20936
20937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20939 if (SWIG_arg_fail(1)) SWIG_fail;
20940 {
20941 PyThreadState* __tstate = wxPyBeginAllowThreads();
20942 result = (arg1)->GetToolSize();
20943
20944 wxPyEndAllowThreads(__tstate);
20945 if (PyErr_Occurred()) SWIG_fail;
20946 }
20947 {
20948 wxSize * resultptr;
20949 resultptr = new wxSize((wxSize &)(result));
20950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20951 }
20952 return resultobj;
20953 fail:
20954 return NULL;
20955 }
20956
20957
20958 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj;
20960 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20961 int arg2 ;
20962 int arg3 ;
20963 wxToolBarToolBase *result;
20964 PyObject * obj0 = 0 ;
20965 PyObject * obj1 = 0 ;
20966 PyObject * obj2 = 0 ;
20967 char *kwnames[] = {
20968 (char *) "self",(char *) "x",(char *) "y", NULL
20969 };
20970
20971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = (int)(SWIG_As_int(obj2));
20980 if (SWIG_arg_fail(3)) SWIG_fail;
20981 }
20982 {
20983 PyThreadState* __tstate = wxPyBeginAllowThreads();
20984 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20985
20986 wxPyEndAllowThreads(__tstate);
20987 if (PyErr_Occurred()) SWIG_fail;
20988 }
20989 {
20990 resultobj = wxPyMake_wxObject(result, 0);
20991 }
20992 return resultobj;
20993 fail:
20994 return NULL;
20995 }
20996
20997
20998 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20999 PyObject *resultobj;
21000 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21001 int arg2 ;
21002 wxToolBarToolBase *result;
21003 PyObject * obj0 = 0 ;
21004 PyObject * obj1 = 0 ;
21005 char *kwnames[] = {
21006 (char *) "self",(char *) "toolid", NULL
21007 };
21008
21009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
21010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21011 if (SWIG_arg_fail(1)) SWIG_fail;
21012 {
21013 arg2 = (int)(SWIG_As_int(obj1));
21014 if (SWIG_arg_fail(2)) SWIG_fail;
21015 }
21016 {
21017 PyThreadState* __tstate = wxPyBeginAllowThreads();
21018 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
21019
21020 wxPyEndAllowThreads(__tstate);
21021 if (PyErr_Occurred()) SWIG_fail;
21022 }
21023 {
21024 resultobj = wxPyMake_wxObject(result, 0);
21025 }
21026 return resultobj;
21027 fail:
21028 return NULL;
21029 }
21030
21031
21032 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
21033 PyObject *resultobj;
21034 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
21035 bool result;
21036 PyObject * obj0 = 0 ;
21037 char *kwnames[] = {
21038 (char *) "self", NULL
21039 };
21040
21041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
21042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
21043 if (SWIG_arg_fail(1)) SWIG_fail;
21044 {
21045 PyThreadState* __tstate = wxPyBeginAllowThreads();
21046 result = (bool)(arg1)->IsVertical();
21047
21048 wxPyEndAllowThreads(__tstate);
21049 if (PyErr_Occurred()) SWIG_fail;
21050 }
21051 {
21052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21053 }
21054 return resultobj;
21055 fail:
21056 return NULL;
21057 }
21058
21059
21060 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
21061 PyObject *obj;
21062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21063 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
21064 Py_INCREF(obj);
21065 return Py_BuildValue((char *)"");
21066 }
21067 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21068 PyObject *resultobj;
21069 wxWindow *arg1 = (wxWindow *) 0 ;
21070 int arg2 = (int) -1 ;
21071 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21072 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21073 wxSize const &arg4_defvalue = wxDefaultSize ;
21074 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21075 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21076 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
21077 wxString *arg6 = (wxString *) &arg6_defvalue ;
21078 wxToolBar *result;
21079 wxPoint temp3 ;
21080 wxSize temp4 ;
21081 bool temp6 = false ;
21082 PyObject * obj0 = 0 ;
21083 PyObject * obj1 = 0 ;
21084 PyObject * obj2 = 0 ;
21085 PyObject * obj3 = 0 ;
21086 PyObject * obj4 = 0 ;
21087 PyObject * obj5 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21094 if (SWIG_arg_fail(1)) SWIG_fail;
21095 if (obj1) {
21096 {
21097 arg2 = (int)(SWIG_As_int(obj1));
21098 if (SWIG_arg_fail(2)) SWIG_fail;
21099 }
21100 }
21101 if (obj2) {
21102 {
21103 arg3 = &temp3;
21104 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21105 }
21106 }
21107 if (obj3) {
21108 {
21109 arg4 = &temp4;
21110 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21111 }
21112 }
21113 if (obj4) {
21114 {
21115 arg5 = (long)(SWIG_As_long(obj4));
21116 if (SWIG_arg_fail(5)) SWIG_fail;
21117 }
21118 }
21119 if (obj5) {
21120 {
21121 arg6 = wxString_in_helper(obj5);
21122 if (arg6 == NULL) SWIG_fail;
21123 temp6 = true;
21124 }
21125 }
21126 {
21127 if (!wxPyCheckForApp()) SWIG_fail;
21128 PyThreadState* __tstate = wxPyBeginAllowThreads();
21129 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21130
21131 wxPyEndAllowThreads(__tstate);
21132 if (PyErr_Occurred()) SWIG_fail;
21133 }
21134 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21135 {
21136 if (temp6)
21137 delete arg6;
21138 }
21139 return resultobj;
21140 fail:
21141 {
21142 if (temp6)
21143 delete arg6;
21144 }
21145 return NULL;
21146 }
21147
21148
21149 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21150 PyObject *resultobj;
21151 wxToolBar *result;
21152 char *kwnames[] = {
21153 NULL
21154 };
21155
21156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21157 {
21158 if (!wxPyCheckForApp()) SWIG_fail;
21159 PyThreadState* __tstate = wxPyBeginAllowThreads();
21160 result = (wxToolBar *)new wxToolBar();
21161
21162 wxPyEndAllowThreads(__tstate);
21163 if (PyErr_Occurred()) SWIG_fail;
21164 }
21165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21166 return resultobj;
21167 fail:
21168 return NULL;
21169 }
21170
21171
21172 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21173 PyObject *resultobj;
21174 wxToolBar *arg1 = (wxToolBar *) 0 ;
21175 wxWindow *arg2 = (wxWindow *) 0 ;
21176 int arg3 = (int) -1 ;
21177 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21178 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21179 wxSize const &arg5_defvalue = wxDefaultSize ;
21180 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21181 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21182 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21183 wxString *arg7 = (wxString *) &arg7_defvalue ;
21184 bool result;
21185 wxPoint temp4 ;
21186 wxSize temp5 ;
21187 bool temp7 = false ;
21188 PyObject * obj0 = 0 ;
21189 PyObject * obj1 = 0 ;
21190 PyObject * obj2 = 0 ;
21191 PyObject * obj3 = 0 ;
21192 PyObject * obj4 = 0 ;
21193 PyObject * obj5 = 0 ;
21194 PyObject * obj6 = 0 ;
21195 char *kwnames[] = {
21196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21197 };
21198
21199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21201 if (SWIG_arg_fail(1)) SWIG_fail;
21202 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21203 if (SWIG_arg_fail(2)) SWIG_fail;
21204 if (obj2) {
21205 {
21206 arg3 = (int)(SWIG_As_int(obj2));
21207 if (SWIG_arg_fail(3)) SWIG_fail;
21208 }
21209 }
21210 if (obj3) {
21211 {
21212 arg4 = &temp4;
21213 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21214 }
21215 }
21216 if (obj4) {
21217 {
21218 arg5 = &temp5;
21219 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21220 }
21221 }
21222 if (obj5) {
21223 {
21224 arg6 = (long)(SWIG_As_long(obj5));
21225 if (SWIG_arg_fail(6)) SWIG_fail;
21226 }
21227 }
21228 if (obj6) {
21229 {
21230 arg7 = wxString_in_helper(obj6);
21231 if (arg7 == NULL) SWIG_fail;
21232 temp7 = true;
21233 }
21234 }
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21238
21239 wxPyEndAllowThreads(__tstate);
21240 if (PyErr_Occurred()) SWIG_fail;
21241 }
21242 {
21243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21244 }
21245 {
21246 if (temp7)
21247 delete arg7;
21248 }
21249 return resultobj;
21250 fail:
21251 {
21252 if (temp7)
21253 delete arg7;
21254 }
21255 return NULL;
21256 }
21257
21258
21259 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21260 PyObject *resultobj;
21261 wxToolBar *arg1 = (wxToolBar *) 0 ;
21262 int arg2 ;
21263 int arg3 ;
21264 wxToolBarToolBase *result;
21265 PyObject * obj0 = 0 ;
21266 PyObject * obj1 = 0 ;
21267 PyObject * obj2 = 0 ;
21268 char *kwnames[] = {
21269 (char *) "self",(char *) "x",(char *) "y", NULL
21270 };
21271
21272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21274 if (SWIG_arg_fail(1)) SWIG_fail;
21275 {
21276 arg2 = (int)(SWIG_As_int(obj1));
21277 if (SWIG_arg_fail(2)) SWIG_fail;
21278 }
21279 {
21280 arg3 = (int)(SWIG_As_int(obj2));
21281 if (SWIG_arg_fail(3)) SWIG_fail;
21282 }
21283 {
21284 PyThreadState* __tstate = wxPyBeginAllowThreads();
21285 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21286
21287 wxPyEndAllowThreads(__tstate);
21288 if (PyErr_Occurred()) SWIG_fail;
21289 }
21290 {
21291 resultobj = wxPyMake_wxObject(result, 0);
21292 }
21293 return resultobj;
21294 fail:
21295 return NULL;
21296 }
21297
21298
21299 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21300 PyObject *resultobj;
21301 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21302 wxVisualAttributes result;
21303 PyObject * obj0 = 0 ;
21304 char *kwnames[] = {
21305 (char *) "variant", NULL
21306 };
21307
21308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21309 if (obj0) {
21310 {
21311 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21312 if (SWIG_arg_fail(1)) SWIG_fail;
21313 }
21314 }
21315 {
21316 if (!wxPyCheckForApp()) SWIG_fail;
21317 PyThreadState* __tstate = wxPyBeginAllowThreads();
21318 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21319
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 {
21324 wxVisualAttributes * resultptr;
21325 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
21326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21327 }
21328 return resultobj;
21329 fail:
21330 return NULL;
21331 }
21332
21333
21334 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21335 PyObject *obj;
21336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21337 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21338 Py_INCREF(obj);
21339 return Py_BuildValue((char *)"");
21340 }
21341 static int _wrap_ListCtrlNameStr_set(PyObject *) {
21342 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21343 return 1;
21344 }
21345
21346
21347 static PyObject *_wrap_ListCtrlNameStr_get(void) {
21348 PyObject *pyobj;
21349
21350 {
21351 #if wxUSE_UNICODE
21352 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21353 #else
21354 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21355 #endif
21356 }
21357 return pyobj;
21358 }
21359
21360
21361 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21362 PyObject *resultobj;
21363 wxColour const &arg1_defvalue = wxNullColour ;
21364 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21365 wxColour const &arg2_defvalue = wxNullColour ;
21366 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21367 wxFont const &arg3_defvalue = wxNullFont ;
21368 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21369 wxListItemAttr *result;
21370 wxColour temp1 ;
21371 wxColour temp2 ;
21372 PyObject * obj0 = 0 ;
21373 PyObject * obj1 = 0 ;
21374 PyObject * obj2 = 0 ;
21375 char *kwnames[] = {
21376 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21377 };
21378
21379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21380 if (obj0) {
21381 {
21382 arg1 = &temp1;
21383 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21384 }
21385 }
21386 if (obj1) {
21387 {
21388 arg2 = &temp2;
21389 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21390 }
21391 }
21392 if (obj2) {
21393 {
21394 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21395 if (SWIG_arg_fail(3)) SWIG_fail;
21396 if (arg3 == NULL) {
21397 SWIG_null_ref("wxFont");
21398 }
21399 if (SWIG_arg_fail(3)) SWIG_fail;
21400 }
21401 }
21402 {
21403 PyThreadState* __tstate = wxPyBeginAllowThreads();
21404 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21405
21406 wxPyEndAllowThreads(__tstate);
21407 if (PyErr_Occurred()) SWIG_fail;
21408 }
21409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21410 return resultobj;
21411 fail:
21412 return NULL;
21413 }
21414
21415
21416 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21417 PyObject *resultobj;
21418 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21419 wxColour *arg2 = 0 ;
21420 wxColour temp2 ;
21421 PyObject * obj0 = 0 ;
21422 PyObject * obj1 = 0 ;
21423 char *kwnames[] = {
21424 (char *) "self",(char *) "colText", NULL
21425 };
21426
21427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21429 if (SWIG_arg_fail(1)) SWIG_fail;
21430 {
21431 arg2 = &temp2;
21432 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21433 }
21434 {
21435 PyThreadState* __tstate = wxPyBeginAllowThreads();
21436 (arg1)->SetTextColour((wxColour const &)*arg2);
21437
21438 wxPyEndAllowThreads(__tstate);
21439 if (PyErr_Occurred()) SWIG_fail;
21440 }
21441 Py_INCREF(Py_None); resultobj = Py_None;
21442 return resultobj;
21443 fail:
21444 return NULL;
21445 }
21446
21447
21448 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21449 PyObject *resultobj;
21450 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21451 wxColour *arg2 = 0 ;
21452 wxColour temp2 ;
21453 PyObject * obj0 = 0 ;
21454 PyObject * obj1 = 0 ;
21455 char *kwnames[] = {
21456 (char *) "self",(char *) "colBack", NULL
21457 };
21458
21459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21461 if (SWIG_arg_fail(1)) SWIG_fail;
21462 {
21463 arg2 = &temp2;
21464 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21465 }
21466 {
21467 PyThreadState* __tstate = wxPyBeginAllowThreads();
21468 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21469
21470 wxPyEndAllowThreads(__tstate);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 }
21473 Py_INCREF(Py_None); resultobj = Py_None;
21474 return resultobj;
21475 fail:
21476 return NULL;
21477 }
21478
21479
21480 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21481 PyObject *resultobj;
21482 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21483 wxFont *arg2 = 0 ;
21484 PyObject * obj0 = 0 ;
21485 PyObject * obj1 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self",(char *) "font", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21492 if (SWIG_arg_fail(1)) SWIG_fail;
21493 {
21494 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21495 if (SWIG_arg_fail(2)) SWIG_fail;
21496 if (arg2 == NULL) {
21497 SWIG_null_ref("wxFont");
21498 }
21499 if (SWIG_arg_fail(2)) SWIG_fail;
21500 }
21501 {
21502 PyThreadState* __tstate = wxPyBeginAllowThreads();
21503 (arg1)->SetFont((wxFont const &)*arg2);
21504
21505 wxPyEndAllowThreads(__tstate);
21506 if (PyErr_Occurred()) SWIG_fail;
21507 }
21508 Py_INCREF(Py_None); resultobj = Py_None;
21509 return resultobj;
21510 fail:
21511 return NULL;
21512 }
21513
21514
21515 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21516 PyObject *resultobj;
21517 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21518 bool result;
21519 PyObject * obj0 = 0 ;
21520 char *kwnames[] = {
21521 (char *) "self", NULL
21522 };
21523
21524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
21525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21526 if (SWIG_arg_fail(1)) SWIG_fail;
21527 {
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 result = (bool)(arg1)->HasTextColour();
21530
21531 wxPyEndAllowThreads(__tstate);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 {
21535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21536 }
21537 return resultobj;
21538 fail:
21539 return NULL;
21540 }
21541
21542
21543 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21544 PyObject *resultobj;
21545 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21546 bool result;
21547 PyObject * obj0 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21554 if (SWIG_arg_fail(1)) SWIG_fail;
21555 {
21556 PyThreadState* __tstate = wxPyBeginAllowThreads();
21557 result = (bool)(arg1)->HasBackgroundColour();
21558
21559 wxPyEndAllowThreads(__tstate);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 }
21562 {
21563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21564 }
21565 return resultobj;
21566 fail:
21567 return NULL;
21568 }
21569
21570
21571 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21572 PyObject *resultobj;
21573 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21574 bool result;
21575 PyObject * obj0 = 0 ;
21576 char *kwnames[] = {
21577 (char *) "self", NULL
21578 };
21579
21580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21582 if (SWIG_arg_fail(1)) SWIG_fail;
21583 {
21584 PyThreadState* __tstate = wxPyBeginAllowThreads();
21585 result = (bool)(arg1)->HasFont();
21586
21587 wxPyEndAllowThreads(__tstate);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 }
21590 {
21591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21592 }
21593 return resultobj;
21594 fail:
21595 return NULL;
21596 }
21597
21598
21599 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21600 PyObject *resultobj;
21601 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21602 wxColour result;
21603 PyObject * obj0 = 0 ;
21604 char *kwnames[] = {
21605 (char *) "self", NULL
21606 };
21607
21608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21610 if (SWIG_arg_fail(1)) SWIG_fail;
21611 {
21612 PyThreadState* __tstate = wxPyBeginAllowThreads();
21613 result = (arg1)->GetTextColour();
21614
21615 wxPyEndAllowThreads(__tstate);
21616 if (PyErr_Occurred()) SWIG_fail;
21617 }
21618 {
21619 wxColour * resultptr;
21620 resultptr = new wxColour((wxColour &)(result));
21621 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21622 }
21623 return resultobj;
21624 fail:
21625 return NULL;
21626 }
21627
21628
21629 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21630 PyObject *resultobj;
21631 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21632 wxColour result;
21633 PyObject * obj0 = 0 ;
21634 char *kwnames[] = {
21635 (char *) "self", NULL
21636 };
21637
21638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
21639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21640 if (SWIG_arg_fail(1)) SWIG_fail;
21641 {
21642 PyThreadState* __tstate = wxPyBeginAllowThreads();
21643 result = (arg1)->GetBackgroundColour();
21644
21645 wxPyEndAllowThreads(__tstate);
21646 if (PyErr_Occurred()) SWIG_fail;
21647 }
21648 {
21649 wxColour * resultptr;
21650 resultptr = new wxColour((wxColour &)(result));
21651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21652 }
21653 return resultobj;
21654 fail:
21655 return NULL;
21656 }
21657
21658
21659 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21660 PyObject *resultobj;
21661 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21662 wxFont result;
21663 PyObject * obj0 = 0 ;
21664 char *kwnames[] = {
21665 (char *) "self", NULL
21666 };
21667
21668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21670 if (SWIG_arg_fail(1)) SWIG_fail;
21671 {
21672 PyThreadState* __tstate = wxPyBeginAllowThreads();
21673 result = (arg1)->GetFont();
21674
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 {
21679 wxFont * resultptr;
21680 resultptr = new wxFont((wxFont &)(result));
21681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21682 }
21683 return resultobj;
21684 fail:
21685 return NULL;
21686 }
21687
21688
21689 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21690 PyObject *resultobj;
21691 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21692 PyObject * obj0 = 0 ;
21693 char *kwnames[] = {
21694 (char *) "self", NULL
21695 };
21696
21697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21699 if (SWIG_arg_fail(1)) SWIG_fail;
21700 {
21701 PyThreadState* __tstate = wxPyBeginAllowThreads();
21702 wxListItemAttr_Destroy(arg1);
21703
21704 wxPyEndAllowThreads(__tstate);
21705 if (PyErr_Occurred()) SWIG_fail;
21706 }
21707 Py_INCREF(Py_None); resultobj = Py_None;
21708 return resultobj;
21709 fail:
21710 return NULL;
21711 }
21712
21713
21714 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21715 PyObject *obj;
21716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21717 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21718 Py_INCREF(obj);
21719 return Py_BuildValue((char *)"");
21720 }
21721 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21722 PyObject *resultobj;
21723 wxListItem *result;
21724 char *kwnames[] = {
21725 NULL
21726 };
21727
21728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21729 {
21730 PyThreadState* __tstate = wxPyBeginAllowThreads();
21731 result = (wxListItem *)new wxListItem();
21732
21733 wxPyEndAllowThreads(__tstate);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
21736 {
21737 resultobj = wxPyMake_wxObject(result, 1);
21738 }
21739 return resultobj;
21740 fail:
21741 return NULL;
21742 }
21743
21744
21745 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21746 PyObject *resultobj;
21747 wxListItem *arg1 = (wxListItem *) 0 ;
21748 PyObject * obj0 = 0 ;
21749 char *kwnames[] = {
21750 (char *) "self", NULL
21751 };
21752
21753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21755 if (SWIG_arg_fail(1)) SWIG_fail;
21756 {
21757 PyThreadState* __tstate = wxPyBeginAllowThreads();
21758 delete arg1;
21759
21760 wxPyEndAllowThreads(__tstate);
21761 if (PyErr_Occurred()) SWIG_fail;
21762 }
21763 Py_INCREF(Py_None); resultobj = Py_None;
21764 return resultobj;
21765 fail:
21766 return NULL;
21767 }
21768
21769
21770 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21771 PyObject *resultobj;
21772 wxListItem *arg1 = (wxListItem *) 0 ;
21773 PyObject * obj0 = 0 ;
21774 char *kwnames[] = {
21775 (char *) "self", NULL
21776 };
21777
21778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21780 if (SWIG_arg_fail(1)) SWIG_fail;
21781 {
21782 PyThreadState* __tstate = wxPyBeginAllowThreads();
21783 (arg1)->Clear();
21784
21785 wxPyEndAllowThreads(__tstate);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 Py_INCREF(Py_None); resultobj = Py_None;
21789 return resultobj;
21790 fail:
21791 return NULL;
21792 }
21793
21794
21795 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21796 PyObject *resultobj;
21797 wxListItem *arg1 = (wxListItem *) 0 ;
21798 PyObject * obj0 = 0 ;
21799 char *kwnames[] = {
21800 (char *) "self", NULL
21801 };
21802
21803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21805 if (SWIG_arg_fail(1)) SWIG_fail;
21806 {
21807 PyThreadState* __tstate = wxPyBeginAllowThreads();
21808 (arg1)->ClearAttributes();
21809
21810 wxPyEndAllowThreads(__tstate);
21811 if (PyErr_Occurred()) SWIG_fail;
21812 }
21813 Py_INCREF(Py_None); resultobj = Py_None;
21814 return resultobj;
21815 fail:
21816 return NULL;
21817 }
21818
21819
21820 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21821 PyObject *resultobj;
21822 wxListItem *arg1 = (wxListItem *) 0 ;
21823 long arg2 ;
21824 PyObject * obj0 = 0 ;
21825 PyObject * obj1 = 0 ;
21826 char *kwnames[] = {
21827 (char *) "self",(char *) "mask", NULL
21828 };
21829
21830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
21831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21832 if (SWIG_arg_fail(1)) SWIG_fail;
21833 {
21834 arg2 = (long)(SWIG_As_long(obj1));
21835 if (SWIG_arg_fail(2)) SWIG_fail;
21836 }
21837 {
21838 PyThreadState* __tstate = wxPyBeginAllowThreads();
21839 (arg1)->SetMask(arg2);
21840
21841 wxPyEndAllowThreads(__tstate);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 }
21844 Py_INCREF(Py_None); resultobj = Py_None;
21845 return resultobj;
21846 fail:
21847 return NULL;
21848 }
21849
21850
21851 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21852 PyObject *resultobj;
21853 wxListItem *arg1 = (wxListItem *) 0 ;
21854 long arg2 ;
21855 PyObject * obj0 = 0 ;
21856 PyObject * obj1 = 0 ;
21857 char *kwnames[] = {
21858 (char *) "self",(char *) "id", NULL
21859 };
21860
21861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21863 if (SWIG_arg_fail(1)) SWIG_fail;
21864 {
21865 arg2 = (long)(SWIG_As_long(obj1));
21866 if (SWIG_arg_fail(2)) SWIG_fail;
21867 }
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
21870 (arg1)->SetId(arg2);
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 Py_INCREF(Py_None); resultobj = Py_None;
21876 return resultobj;
21877 fail:
21878 return NULL;
21879 }
21880
21881
21882 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21883 PyObject *resultobj;
21884 wxListItem *arg1 = (wxListItem *) 0 ;
21885 int arg2 ;
21886 PyObject * obj0 = 0 ;
21887 PyObject * obj1 = 0 ;
21888 char *kwnames[] = {
21889 (char *) "self",(char *) "col", NULL
21890 };
21891
21892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21894 if (SWIG_arg_fail(1)) SWIG_fail;
21895 {
21896 arg2 = (int)(SWIG_As_int(obj1));
21897 if (SWIG_arg_fail(2)) SWIG_fail;
21898 }
21899 {
21900 PyThreadState* __tstate = wxPyBeginAllowThreads();
21901 (arg1)->SetColumn(arg2);
21902
21903 wxPyEndAllowThreads(__tstate);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 Py_INCREF(Py_None); resultobj = Py_None;
21907 return resultobj;
21908 fail:
21909 return NULL;
21910 }
21911
21912
21913 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21914 PyObject *resultobj;
21915 wxListItem *arg1 = (wxListItem *) 0 ;
21916 long arg2 ;
21917 PyObject * obj0 = 0 ;
21918 PyObject * obj1 = 0 ;
21919 char *kwnames[] = {
21920 (char *) "self",(char *) "state", NULL
21921 };
21922
21923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21925 if (SWIG_arg_fail(1)) SWIG_fail;
21926 {
21927 arg2 = (long)(SWIG_As_long(obj1));
21928 if (SWIG_arg_fail(2)) SWIG_fail;
21929 }
21930 {
21931 PyThreadState* __tstate = wxPyBeginAllowThreads();
21932 (arg1)->SetState(arg2);
21933
21934 wxPyEndAllowThreads(__tstate);
21935 if (PyErr_Occurred()) SWIG_fail;
21936 }
21937 Py_INCREF(Py_None); resultobj = Py_None;
21938 return resultobj;
21939 fail:
21940 return NULL;
21941 }
21942
21943
21944 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21945 PyObject *resultobj;
21946 wxListItem *arg1 = (wxListItem *) 0 ;
21947 long arg2 ;
21948 PyObject * obj0 = 0 ;
21949 PyObject * obj1 = 0 ;
21950 char *kwnames[] = {
21951 (char *) "self",(char *) "stateMask", NULL
21952 };
21953
21954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21956 if (SWIG_arg_fail(1)) SWIG_fail;
21957 {
21958 arg2 = (long)(SWIG_As_long(obj1));
21959 if (SWIG_arg_fail(2)) SWIG_fail;
21960 }
21961 {
21962 PyThreadState* __tstate = wxPyBeginAllowThreads();
21963 (arg1)->SetStateMask(arg2);
21964
21965 wxPyEndAllowThreads(__tstate);
21966 if (PyErr_Occurred()) SWIG_fail;
21967 }
21968 Py_INCREF(Py_None); resultobj = Py_None;
21969 return resultobj;
21970 fail:
21971 return NULL;
21972 }
21973
21974
21975 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21976 PyObject *resultobj;
21977 wxListItem *arg1 = (wxListItem *) 0 ;
21978 wxString *arg2 = 0 ;
21979 bool temp2 = false ;
21980 PyObject * obj0 = 0 ;
21981 PyObject * obj1 = 0 ;
21982 char *kwnames[] = {
21983 (char *) "self",(char *) "text", NULL
21984 };
21985
21986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21988 if (SWIG_arg_fail(1)) SWIG_fail;
21989 {
21990 arg2 = wxString_in_helper(obj1);
21991 if (arg2 == NULL) SWIG_fail;
21992 temp2 = true;
21993 }
21994 {
21995 PyThreadState* __tstate = wxPyBeginAllowThreads();
21996 (arg1)->SetText((wxString const &)*arg2);
21997
21998 wxPyEndAllowThreads(__tstate);
21999 if (PyErr_Occurred()) SWIG_fail;
22000 }
22001 Py_INCREF(Py_None); resultobj = Py_None;
22002 {
22003 if (temp2)
22004 delete arg2;
22005 }
22006 return resultobj;
22007 fail:
22008 {
22009 if (temp2)
22010 delete arg2;
22011 }
22012 return NULL;
22013 }
22014
22015
22016 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22017 PyObject *resultobj;
22018 wxListItem *arg1 = (wxListItem *) 0 ;
22019 int arg2 ;
22020 PyObject * obj0 = 0 ;
22021 PyObject * obj1 = 0 ;
22022 char *kwnames[] = {
22023 (char *) "self",(char *) "image", NULL
22024 };
22025
22026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
22027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22028 if (SWIG_arg_fail(1)) SWIG_fail;
22029 {
22030 arg2 = (int)(SWIG_As_int(obj1));
22031 if (SWIG_arg_fail(2)) SWIG_fail;
22032 }
22033 {
22034 PyThreadState* __tstate = wxPyBeginAllowThreads();
22035 (arg1)->SetImage(arg2);
22036
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 Py_INCREF(Py_None); resultobj = Py_None;
22041 return resultobj;
22042 fail:
22043 return NULL;
22044 }
22045
22046
22047 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
22048 PyObject *resultobj;
22049 wxListItem *arg1 = (wxListItem *) 0 ;
22050 long arg2 ;
22051 PyObject * obj0 = 0 ;
22052 PyObject * obj1 = 0 ;
22053 char *kwnames[] = {
22054 (char *) "self",(char *) "data", NULL
22055 };
22056
22057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
22058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22059 if (SWIG_arg_fail(1)) SWIG_fail;
22060 {
22061 arg2 = (long)(SWIG_As_long(obj1));
22062 if (SWIG_arg_fail(2)) SWIG_fail;
22063 }
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 (arg1)->SetData(arg2);
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 Py_INCREF(Py_None); resultobj = Py_None;
22072 return resultobj;
22073 fail:
22074 return NULL;
22075 }
22076
22077
22078 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22079 PyObject *resultobj;
22080 wxListItem *arg1 = (wxListItem *) 0 ;
22081 int arg2 ;
22082 PyObject * obj0 = 0 ;
22083 PyObject * obj1 = 0 ;
22084 char *kwnames[] = {
22085 (char *) "self",(char *) "width", NULL
22086 };
22087
22088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
22089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22090 if (SWIG_arg_fail(1)) SWIG_fail;
22091 {
22092 arg2 = (int)(SWIG_As_int(obj1));
22093 if (SWIG_arg_fail(2)) SWIG_fail;
22094 }
22095 {
22096 PyThreadState* __tstate = wxPyBeginAllowThreads();
22097 (arg1)->SetWidth(arg2);
22098
22099 wxPyEndAllowThreads(__tstate);
22100 if (PyErr_Occurred()) SWIG_fail;
22101 }
22102 Py_INCREF(Py_None); resultobj = Py_None;
22103 return resultobj;
22104 fail:
22105 return NULL;
22106 }
22107
22108
22109 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22110 PyObject *resultobj;
22111 wxListItem *arg1 = (wxListItem *) 0 ;
22112 wxListColumnFormat arg2 ;
22113 PyObject * obj0 = 0 ;
22114 PyObject * obj1 = 0 ;
22115 char *kwnames[] = {
22116 (char *) "self",(char *) "align", NULL
22117 };
22118
22119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
22120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22121 if (SWIG_arg_fail(1)) SWIG_fail;
22122 {
22123 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22124 if (SWIG_arg_fail(2)) SWIG_fail;
22125 }
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 (arg1)->SetAlign((wxListColumnFormat )arg2);
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 Py_INCREF(Py_None); resultobj = Py_None;
22134 return resultobj;
22135 fail:
22136 return NULL;
22137 }
22138
22139
22140 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj;
22142 wxListItem *arg1 = (wxListItem *) 0 ;
22143 wxColour *arg2 = 0 ;
22144 wxColour temp2 ;
22145 PyObject * obj0 = 0 ;
22146 PyObject * obj1 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self",(char *) "colText", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22153 if (SWIG_arg_fail(1)) SWIG_fail;
22154 {
22155 arg2 = &temp2;
22156 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22157 }
22158 {
22159 PyThreadState* __tstate = wxPyBeginAllowThreads();
22160 (arg1)->SetTextColour((wxColour const &)*arg2);
22161
22162 wxPyEndAllowThreads(__tstate);
22163 if (PyErr_Occurred()) SWIG_fail;
22164 }
22165 Py_INCREF(Py_None); resultobj = Py_None;
22166 return resultobj;
22167 fail:
22168 return NULL;
22169 }
22170
22171
22172 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22173 PyObject *resultobj;
22174 wxListItem *arg1 = (wxListItem *) 0 ;
22175 wxColour *arg2 = 0 ;
22176 wxColour temp2 ;
22177 PyObject * obj0 = 0 ;
22178 PyObject * obj1 = 0 ;
22179 char *kwnames[] = {
22180 (char *) "self",(char *) "colBack", NULL
22181 };
22182
22183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22185 if (SWIG_arg_fail(1)) SWIG_fail;
22186 {
22187 arg2 = &temp2;
22188 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22189 }
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22193
22194 wxPyEndAllowThreads(__tstate);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
22197 Py_INCREF(Py_None); resultobj = Py_None;
22198 return resultobj;
22199 fail:
22200 return NULL;
22201 }
22202
22203
22204 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22205 PyObject *resultobj;
22206 wxListItem *arg1 = (wxListItem *) 0 ;
22207 wxFont *arg2 = 0 ;
22208 PyObject * obj0 = 0 ;
22209 PyObject * obj1 = 0 ;
22210 char *kwnames[] = {
22211 (char *) "self",(char *) "font", NULL
22212 };
22213
22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
22215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail;
22217 {
22218 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22219 if (SWIG_arg_fail(2)) SWIG_fail;
22220 if (arg2 == NULL) {
22221 SWIG_null_ref("wxFont");
22222 }
22223 if (SWIG_arg_fail(2)) SWIG_fail;
22224 }
22225 {
22226 PyThreadState* __tstate = wxPyBeginAllowThreads();
22227 (arg1)->SetFont((wxFont const &)*arg2);
22228
22229 wxPyEndAllowThreads(__tstate);
22230 if (PyErr_Occurred()) SWIG_fail;
22231 }
22232 Py_INCREF(Py_None); resultobj = Py_None;
22233 return resultobj;
22234 fail:
22235 return NULL;
22236 }
22237
22238
22239 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22240 PyObject *resultobj;
22241 wxListItem *arg1 = (wxListItem *) 0 ;
22242 long result;
22243 PyObject * obj0 = 0 ;
22244 char *kwnames[] = {
22245 (char *) "self", NULL
22246 };
22247
22248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
22249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22250 if (SWIG_arg_fail(1)) SWIG_fail;
22251 {
22252 PyThreadState* __tstate = wxPyBeginAllowThreads();
22253 result = (long)(arg1)->GetMask();
22254
22255 wxPyEndAllowThreads(__tstate);
22256 if (PyErr_Occurred()) SWIG_fail;
22257 }
22258 {
22259 resultobj = SWIG_From_long((long)(result));
22260 }
22261 return resultobj;
22262 fail:
22263 return NULL;
22264 }
22265
22266
22267 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22268 PyObject *resultobj;
22269 wxListItem *arg1 = (wxListItem *) 0 ;
22270 long result;
22271 PyObject * obj0 = 0 ;
22272 char *kwnames[] = {
22273 (char *) "self", NULL
22274 };
22275
22276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
22277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22278 if (SWIG_arg_fail(1)) SWIG_fail;
22279 {
22280 PyThreadState* __tstate = wxPyBeginAllowThreads();
22281 result = (long)(arg1)->GetId();
22282
22283 wxPyEndAllowThreads(__tstate);
22284 if (PyErr_Occurred()) SWIG_fail;
22285 }
22286 {
22287 resultobj = SWIG_From_long((long)(result));
22288 }
22289 return resultobj;
22290 fail:
22291 return NULL;
22292 }
22293
22294
22295 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22296 PyObject *resultobj;
22297 wxListItem *arg1 = (wxListItem *) 0 ;
22298 int result;
22299 PyObject * obj0 = 0 ;
22300 char *kwnames[] = {
22301 (char *) "self", NULL
22302 };
22303
22304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
22305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22306 if (SWIG_arg_fail(1)) SWIG_fail;
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
22309 result = (int)(arg1)->GetColumn();
22310
22311 wxPyEndAllowThreads(__tstate);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
22314 {
22315 resultobj = SWIG_From_int((int)(result));
22316 }
22317 return resultobj;
22318 fail:
22319 return NULL;
22320 }
22321
22322
22323 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
22324 PyObject *resultobj;
22325 wxListItem *arg1 = (wxListItem *) 0 ;
22326 long result;
22327 PyObject * obj0 = 0 ;
22328 char *kwnames[] = {
22329 (char *) "self", NULL
22330 };
22331
22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
22333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22334 if (SWIG_arg_fail(1)) SWIG_fail;
22335 {
22336 PyThreadState* __tstate = wxPyBeginAllowThreads();
22337 result = (long)(arg1)->GetState();
22338
22339 wxPyEndAllowThreads(__tstate);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 }
22342 {
22343 resultobj = SWIG_From_long((long)(result));
22344 }
22345 return resultobj;
22346 fail:
22347 return NULL;
22348 }
22349
22350
22351 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22352 PyObject *resultobj;
22353 wxListItem *arg1 = (wxListItem *) 0 ;
22354 wxString *result;
22355 PyObject * obj0 = 0 ;
22356 char *kwnames[] = {
22357 (char *) "self", NULL
22358 };
22359
22360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22362 if (SWIG_arg_fail(1)) SWIG_fail;
22363 {
22364 PyThreadState* __tstate = wxPyBeginAllowThreads();
22365 {
22366 wxString const &_result_ref = (arg1)->GetText();
22367 result = (wxString *) &_result_ref;
22368 }
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 {
22374 #if wxUSE_UNICODE
22375 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22376 #else
22377 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22378 #endif
22379 }
22380 return resultobj;
22381 fail:
22382 return NULL;
22383 }
22384
22385
22386 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22387 PyObject *resultobj;
22388 wxListItem *arg1 = (wxListItem *) 0 ;
22389 int result;
22390 PyObject * obj0 = 0 ;
22391 char *kwnames[] = {
22392 (char *) "self", NULL
22393 };
22394
22395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
22396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22397 if (SWIG_arg_fail(1)) SWIG_fail;
22398 {
22399 PyThreadState* __tstate = wxPyBeginAllowThreads();
22400 result = (int)(arg1)->GetImage();
22401
22402 wxPyEndAllowThreads(__tstate);
22403 if (PyErr_Occurred()) SWIG_fail;
22404 }
22405 {
22406 resultobj = SWIG_From_int((int)(result));
22407 }
22408 return resultobj;
22409 fail:
22410 return NULL;
22411 }
22412
22413
22414 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22415 PyObject *resultobj;
22416 wxListItem *arg1 = (wxListItem *) 0 ;
22417 long result;
22418 PyObject * obj0 = 0 ;
22419 char *kwnames[] = {
22420 (char *) "self", NULL
22421 };
22422
22423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22425 if (SWIG_arg_fail(1)) SWIG_fail;
22426 {
22427 PyThreadState* __tstate = wxPyBeginAllowThreads();
22428 result = (long)(arg1)->GetData();
22429
22430 wxPyEndAllowThreads(__tstate);
22431 if (PyErr_Occurred()) SWIG_fail;
22432 }
22433 {
22434 resultobj = SWIG_From_long((long)(result));
22435 }
22436 return resultobj;
22437 fail:
22438 return NULL;
22439 }
22440
22441
22442 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22443 PyObject *resultobj;
22444 wxListItem *arg1 = (wxListItem *) 0 ;
22445 int result;
22446 PyObject * obj0 = 0 ;
22447 char *kwnames[] = {
22448 (char *) "self", NULL
22449 };
22450
22451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22453 if (SWIG_arg_fail(1)) SWIG_fail;
22454 {
22455 PyThreadState* __tstate = wxPyBeginAllowThreads();
22456 result = (int)(arg1)->GetWidth();
22457
22458 wxPyEndAllowThreads(__tstate);
22459 if (PyErr_Occurred()) SWIG_fail;
22460 }
22461 {
22462 resultobj = SWIG_From_int((int)(result));
22463 }
22464 return resultobj;
22465 fail:
22466 return NULL;
22467 }
22468
22469
22470 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22471 PyObject *resultobj;
22472 wxListItem *arg1 = (wxListItem *) 0 ;
22473 wxListColumnFormat result;
22474 PyObject * obj0 = 0 ;
22475 char *kwnames[] = {
22476 (char *) "self", NULL
22477 };
22478
22479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22481 if (SWIG_arg_fail(1)) SWIG_fail;
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 result = (wxListColumnFormat)(arg1)->GetAlign();
22485
22486 wxPyEndAllowThreads(__tstate);
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 resultobj = SWIG_From_int((result));
22490 return resultobj;
22491 fail:
22492 return NULL;
22493 }
22494
22495
22496 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22497 PyObject *resultobj;
22498 wxListItem *arg1 = (wxListItem *) 0 ;
22499 wxListItemAttr *result;
22500 PyObject * obj0 = 0 ;
22501 char *kwnames[] = {
22502 (char *) "self", NULL
22503 };
22504
22505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
22506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22507 if (SWIG_arg_fail(1)) SWIG_fail;
22508 {
22509 PyThreadState* __tstate = wxPyBeginAllowThreads();
22510 result = (wxListItemAttr *)(arg1)->GetAttributes();
22511
22512 wxPyEndAllowThreads(__tstate);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 }
22515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22516 return resultobj;
22517 fail:
22518 return NULL;
22519 }
22520
22521
22522 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22523 PyObject *resultobj;
22524 wxListItem *arg1 = (wxListItem *) 0 ;
22525 bool result;
22526 PyObject * obj0 = 0 ;
22527 char *kwnames[] = {
22528 (char *) "self", NULL
22529 };
22530
22531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22533 if (SWIG_arg_fail(1)) SWIG_fail;
22534 {
22535 PyThreadState* __tstate = wxPyBeginAllowThreads();
22536 result = (bool)(arg1)->HasAttributes();
22537
22538 wxPyEndAllowThreads(__tstate);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 {
22542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22543 }
22544 return resultobj;
22545 fail:
22546 return NULL;
22547 }
22548
22549
22550 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22551 PyObject *resultobj;
22552 wxListItem *arg1 = (wxListItem *) 0 ;
22553 wxColour result;
22554 PyObject * obj0 = 0 ;
22555 char *kwnames[] = {
22556 (char *) "self", NULL
22557 };
22558
22559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22561 if (SWIG_arg_fail(1)) SWIG_fail;
22562 {
22563 PyThreadState* __tstate = wxPyBeginAllowThreads();
22564 result = ((wxListItem const *)arg1)->GetTextColour();
22565
22566 wxPyEndAllowThreads(__tstate);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
22569 {
22570 wxColour * resultptr;
22571 resultptr = new wxColour((wxColour &)(result));
22572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22573 }
22574 return resultobj;
22575 fail:
22576 return NULL;
22577 }
22578
22579
22580 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22581 PyObject *resultobj;
22582 wxListItem *arg1 = (wxListItem *) 0 ;
22583 wxColour result;
22584 PyObject * obj0 = 0 ;
22585 char *kwnames[] = {
22586 (char *) "self", NULL
22587 };
22588
22589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail;
22592 {
22593 PyThreadState* __tstate = wxPyBeginAllowThreads();
22594 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22595
22596 wxPyEndAllowThreads(__tstate);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 }
22599 {
22600 wxColour * resultptr;
22601 resultptr = new wxColour((wxColour &)(result));
22602 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22603 }
22604 return resultobj;
22605 fail:
22606 return NULL;
22607 }
22608
22609
22610 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22611 PyObject *resultobj;
22612 wxListItem *arg1 = (wxListItem *) 0 ;
22613 wxFont result;
22614 PyObject * obj0 = 0 ;
22615 char *kwnames[] = {
22616 (char *) "self", NULL
22617 };
22618
22619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22621 if (SWIG_arg_fail(1)) SWIG_fail;
22622 {
22623 PyThreadState* __tstate = wxPyBeginAllowThreads();
22624 result = ((wxListItem const *)arg1)->GetFont();
22625
22626 wxPyEndAllowThreads(__tstate);
22627 if (PyErr_Occurred()) SWIG_fail;
22628 }
22629 {
22630 wxFont * resultptr;
22631 resultptr = new wxFont((wxFont &)(result));
22632 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22633 }
22634 return resultobj;
22635 fail:
22636 return NULL;
22637 }
22638
22639
22640 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22641 PyObject *resultobj;
22642 wxListItem *arg1 = (wxListItem *) 0 ;
22643 long arg2 ;
22644 PyObject * obj0 = 0 ;
22645 PyObject * obj1 = 0 ;
22646 char *kwnames[] = {
22647 (char *) "self",(char *) "m_mask", NULL
22648 };
22649
22650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22652 if (SWIG_arg_fail(1)) SWIG_fail;
22653 {
22654 arg2 = (long)(SWIG_As_long(obj1));
22655 if (SWIG_arg_fail(2)) SWIG_fail;
22656 }
22657 if (arg1) (arg1)->m_mask = arg2;
22658
22659 Py_INCREF(Py_None); resultobj = Py_None;
22660 return resultobj;
22661 fail:
22662 return NULL;
22663 }
22664
22665
22666 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22667 PyObject *resultobj;
22668 wxListItem *arg1 = (wxListItem *) 0 ;
22669 long result;
22670 PyObject * obj0 = 0 ;
22671 char *kwnames[] = {
22672 (char *) "self", NULL
22673 };
22674
22675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
22676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22677 if (SWIG_arg_fail(1)) SWIG_fail;
22678 result = (long) ((arg1)->m_mask);
22679
22680 {
22681 resultobj = SWIG_From_long((long)(result));
22682 }
22683 return resultobj;
22684 fail:
22685 return NULL;
22686 }
22687
22688
22689 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxListItem *arg1 = (wxListItem *) 0 ;
22692 long arg2 ;
22693 PyObject * obj0 = 0 ;
22694 PyObject * obj1 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self",(char *) "m_itemId", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22701 if (SWIG_arg_fail(1)) SWIG_fail;
22702 {
22703 arg2 = (long)(SWIG_As_long(obj1));
22704 if (SWIG_arg_fail(2)) SWIG_fail;
22705 }
22706 if (arg1) (arg1)->m_itemId = arg2;
22707
22708 Py_INCREF(Py_None); resultobj = Py_None;
22709 return resultobj;
22710 fail:
22711 return NULL;
22712 }
22713
22714
22715 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22716 PyObject *resultobj;
22717 wxListItem *arg1 = (wxListItem *) 0 ;
22718 long result;
22719 PyObject * obj0 = 0 ;
22720 char *kwnames[] = {
22721 (char *) "self", NULL
22722 };
22723
22724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
22725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22726 if (SWIG_arg_fail(1)) SWIG_fail;
22727 result = (long) ((arg1)->m_itemId);
22728
22729 {
22730 resultobj = SWIG_From_long((long)(result));
22731 }
22732 return resultobj;
22733 fail:
22734 return NULL;
22735 }
22736
22737
22738 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22739 PyObject *resultobj;
22740 wxListItem *arg1 = (wxListItem *) 0 ;
22741 int arg2 ;
22742 PyObject * obj0 = 0 ;
22743 PyObject * obj1 = 0 ;
22744 char *kwnames[] = {
22745 (char *) "self",(char *) "m_col", NULL
22746 };
22747
22748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22750 if (SWIG_arg_fail(1)) SWIG_fail;
22751 {
22752 arg2 = (int)(SWIG_As_int(obj1));
22753 if (SWIG_arg_fail(2)) SWIG_fail;
22754 }
22755 if (arg1) (arg1)->m_col = arg2;
22756
22757 Py_INCREF(Py_None); resultobj = Py_None;
22758 return resultobj;
22759 fail:
22760 return NULL;
22761 }
22762
22763
22764 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22765 PyObject *resultobj;
22766 wxListItem *arg1 = (wxListItem *) 0 ;
22767 int result;
22768 PyObject * obj0 = 0 ;
22769 char *kwnames[] = {
22770 (char *) "self", NULL
22771 };
22772
22773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22775 if (SWIG_arg_fail(1)) SWIG_fail;
22776 result = (int) ((arg1)->m_col);
22777
22778 {
22779 resultobj = SWIG_From_int((int)(result));
22780 }
22781 return resultobj;
22782 fail:
22783 return NULL;
22784 }
22785
22786
22787 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22788 PyObject *resultobj;
22789 wxListItem *arg1 = (wxListItem *) 0 ;
22790 long arg2 ;
22791 PyObject * obj0 = 0 ;
22792 PyObject * obj1 = 0 ;
22793 char *kwnames[] = {
22794 (char *) "self",(char *) "m_state", NULL
22795 };
22796
22797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22799 if (SWIG_arg_fail(1)) SWIG_fail;
22800 {
22801 arg2 = (long)(SWIG_As_long(obj1));
22802 if (SWIG_arg_fail(2)) SWIG_fail;
22803 }
22804 if (arg1) (arg1)->m_state = arg2;
22805
22806 Py_INCREF(Py_None); resultobj = Py_None;
22807 return resultobj;
22808 fail:
22809 return NULL;
22810 }
22811
22812
22813 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22814 PyObject *resultobj;
22815 wxListItem *arg1 = (wxListItem *) 0 ;
22816 long result;
22817 PyObject * obj0 = 0 ;
22818 char *kwnames[] = {
22819 (char *) "self", NULL
22820 };
22821
22822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22824 if (SWIG_arg_fail(1)) SWIG_fail;
22825 result = (long) ((arg1)->m_state);
22826
22827 {
22828 resultobj = SWIG_From_long((long)(result));
22829 }
22830 return resultobj;
22831 fail:
22832 return NULL;
22833 }
22834
22835
22836 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22837 PyObject *resultobj;
22838 wxListItem *arg1 = (wxListItem *) 0 ;
22839 long arg2 ;
22840 PyObject * obj0 = 0 ;
22841 PyObject * obj1 = 0 ;
22842 char *kwnames[] = {
22843 (char *) "self",(char *) "m_stateMask", NULL
22844 };
22845
22846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
22847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22848 if (SWIG_arg_fail(1)) SWIG_fail;
22849 {
22850 arg2 = (long)(SWIG_As_long(obj1));
22851 if (SWIG_arg_fail(2)) SWIG_fail;
22852 }
22853 if (arg1) (arg1)->m_stateMask = arg2;
22854
22855 Py_INCREF(Py_None); resultobj = Py_None;
22856 return resultobj;
22857 fail:
22858 return NULL;
22859 }
22860
22861
22862 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22863 PyObject *resultobj;
22864 wxListItem *arg1 = (wxListItem *) 0 ;
22865 long result;
22866 PyObject * obj0 = 0 ;
22867 char *kwnames[] = {
22868 (char *) "self", NULL
22869 };
22870
22871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22873 if (SWIG_arg_fail(1)) SWIG_fail;
22874 result = (long) ((arg1)->m_stateMask);
22875
22876 {
22877 resultobj = SWIG_From_long((long)(result));
22878 }
22879 return resultobj;
22880 fail:
22881 return NULL;
22882 }
22883
22884
22885 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22886 PyObject *resultobj;
22887 wxListItem *arg1 = (wxListItem *) 0 ;
22888 wxString *arg2 = (wxString *) 0 ;
22889 bool temp2 = false ;
22890 PyObject * obj0 = 0 ;
22891 PyObject * obj1 = 0 ;
22892 char *kwnames[] = {
22893 (char *) "self",(char *) "m_text", NULL
22894 };
22895
22896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail;
22899 {
22900 arg2 = wxString_in_helper(obj1);
22901 if (arg2 == NULL) SWIG_fail;
22902 temp2 = true;
22903 }
22904 if (arg1) (arg1)->m_text = *arg2;
22905
22906 Py_INCREF(Py_None); resultobj = Py_None;
22907 {
22908 if (temp2)
22909 delete arg2;
22910 }
22911 return resultobj;
22912 fail:
22913 {
22914 if (temp2)
22915 delete arg2;
22916 }
22917 return NULL;
22918 }
22919
22920
22921 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22922 PyObject *resultobj;
22923 wxListItem *arg1 = (wxListItem *) 0 ;
22924 wxString *result;
22925 PyObject * obj0 = 0 ;
22926 char *kwnames[] = {
22927 (char *) "self", NULL
22928 };
22929
22930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22932 if (SWIG_arg_fail(1)) SWIG_fail;
22933 result = (wxString *)& ((arg1)->m_text);
22934
22935 {
22936 #if wxUSE_UNICODE
22937 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22938 #else
22939 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22940 #endif
22941 }
22942 return resultobj;
22943 fail:
22944 return NULL;
22945 }
22946
22947
22948 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22949 PyObject *resultobj;
22950 wxListItem *arg1 = (wxListItem *) 0 ;
22951 int arg2 ;
22952 PyObject * obj0 = 0 ;
22953 PyObject * obj1 = 0 ;
22954 char *kwnames[] = {
22955 (char *) "self",(char *) "m_image", NULL
22956 };
22957
22958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22960 if (SWIG_arg_fail(1)) SWIG_fail;
22961 {
22962 arg2 = (int)(SWIG_As_int(obj1));
22963 if (SWIG_arg_fail(2)) SWIG_fail;
22964 }
22965 if (arg1) (arg1)->m_image = arg2;
22966
22967 Py_INCREF(Py_None); resultobj = Py_None;
22968 return resultobj;
22969 fail:
22970 return NULL;
22971 }
22972
22973
22974 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22975 PyObject *resultobj;
22976 wxListItem *arg1 = (wxListItem *) 0 ;
22977 int result;
22978 PyObject * obj0 = 0 ;
22979 char *kwnames[] = {
22980 (char *) "self", NULL
22981 };
22982
22983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22985 if (SWIG_arg_fail(1)) SWIG_fail;
22986 result = (int) ((arg1)->m_image);
22987
22988 {
22989 resultobj = SWIG_From_int((int)(result));
22990 }
22991 return resultobj;
22992 fail:
22993 return NULL;
22994 }
22995
22996
22997 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22998 PyObject *resultobj;
22999 wxListItem *arg1 = (wxListItem *) 0 ;
23000 long arg2 ;
23001 PyObject * obj0 = 0 ;
23002 PyObject * obj1 = 0 ;
23003 char *kwnames[] = {
23004 (char *) "self",(char *) "m_data", NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
23008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23009 if (SWIG_arg_fail(1)) SWIG_fail;
23010 {
23011 arg2 = (long)(SWIG_As_long(obj1));
23012 if (SWIG_arg_fail(2)) SWIG_fail;
23013 }
23014 if (arg1) (arg1)->m_data = arg2;
23015
23016 Py_INCREF(Py_None); resultobj = Py_None;
23017 return resultobj;
23018 fail:
23019 return NULL;
23020 }
23021
23022
23023 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
23024 PyObject *resultobj;
23025 wxListItem *arg1 = (wxListItem *) 0 ;
23026 long result;
23027 PyObject * obj0 = 0 ;
23028 char *kwnames[] = {
23029 (char *) "self", NULL
23030 };
23031
23032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
23033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23034 if (SWIG_arg_fail(1)) SWIG_fail;
23035 result = (long) ((arg1)->m_data);
23036
23037 {
23038 resultobj = SWIG_From_long((long)(result));
23039 }
23040 return resultobj;
23041 fail:
23042 return NULL;
23043 }
23044
23045
23046 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
23047 PyObject *resultobj;
23048 wxListItem *arg1 = (wxListItem *) 0 ;
23049 int arg2 ;
23050 PyObject * obj0 = 0 ;
23051 PyObject * obj1 = 0 ;
23052 char *kwnames[] = {
23053 (char *) "self",(char *) "m_format", NULL
23054 };
23055
23056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
23057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23058 if (SWIG_arg_fail(1)) SWIG_fail;
23059 {
23060 arg2 = (int)(SWIG_As_int(obj1));
23061 if (SWIG_arg_fail(2)) SWIG_fail;
23062 }
23063 if (arg1) (arg1)->m_format = arg2;
23064
23065 Py_INCREF(Py_None); resultobj = Py_None;
23066 return resultobj;
23067 fail:
23068 return NULL;
23069 }
23070
23071
23072 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
23073 PyObject *resultobj;
23074 wxListItem *arg1 = (wxListItem *) 0 ;
23075 int result;
23076 PyObject * obj0 = 0 ;
23077 char *kwnames[] = {
23078 (char *) "self", NULL
23079 };
23080
23081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
23082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23083 if (SWIG_arg_fail(1)) SWIG_fail;
23084 result = (int) ((arg1)->m_format);
23085
23086 {
23087 resultobj = SWIG_From_int((int)(result));
23088 }
23089 return resultobj;
23090 fail:
23091 return NULL;
23092 }
23093
23094
23095 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj;
23097 wxListItem *arg1 = (wxListItem *) 0 ;
23098 int arg2 ;
23099 PyObject * obj0 = 0 ;
23100 PyObject * obj1 = 0 ;
23101 char *kwnames[] = {
23102 (char *) "self",(char *) "m_width", NULL
23103 };
23104
23105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
23106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23107 if (SWIG_arg_fail(1)) SWIG_fail;
23108 {
23109 arg2 = (int)(SWIG_As_int(obj1));
23110 if (SWIG_arg_fail(2)) SWIG_fail;
23111 }
23112 if (arg1) (arg1)->m_width = arg2;
23113
23114 Py_INCREF(Py_None); resultobj = Py_None;
23115 return resultobj;
23116 fail:
23117 return NULL;
23118 }
23119
23120
23121 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
23122 PyObject *resultobj;
23123 wxListItem *arg1 = (wxListItem *) 0 ;
23124 int result;
23125 PyObject * obj0 = 0 ;
23126 char *kwnames[] = {
23127 (char *) "self", NULL
23128 };
23129
23130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
23131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23132 if (SWIG_arg_fail(1)) SWIG_fail;
23133 result = (int) ((arg1)->m_width);
23134
23135 {
23136 resultobj = SWIG_From_int((int)(result));
23137 }
23138 return resultobj;
23139 fail:
23140 return NULL;
23141 }
23142
23143
23144 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
23145 PyObject *obj;
23146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23147 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23148 Py_INCREF(obj);
23149 return Py_BuildValue((char *)"");
23150 }
23151 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23152 PyObject *resultobj;
23153 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23154 int arg2 = (int) 0 ;
23155 wxListEvent *result;
23156 PyObject * obj0 = 0 ;
23157 PyObject * obj1 = 0 ;
23158 char *kwnames[] = {
23159 (char *) "commandType",(char *) "id", NULL
23160 };
23161
23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23163 if (obj0) {
23164 {
23165 arg1 = (wxEventType)(SWIG_As_int(obj0));
23166 if (SWIG_arg_fail(1)) SWIG_fail;
23167 }
23168 }
23169 if (obj1) {
23170 {
23171 arg2 = (int)(SWIG_As_int(obj1));
23172 if (SWIG_arg_fail(2)) SWIG_fail;
23173 }
23174 }
23175 {
23176 PyThreadState* __tstate = wxPyBeginAllowThreads();
23177 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23178
23179 wxPyEndAllowThreads(__tstate);
23180 if (PyErr_Occurred()) SWIG_fail;
23181 }
23182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23183 return resultobj;
23184 fail:
23185 return NULL;
23186 }
23187
23188
23189 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
23190 PyObject *resultobj;
23191 wxListEvent *arg1 = (wxListEvent *) 0 ;
23192 int arg2 ;
23193 PyObject * obj0 = 0 ;
23194 PyObject * obj1 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self",(char *) "m_code", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
23200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23201 if (SWIG_arg_fail(1)) SWIG_fail;
23202 {
23203 arg2 = (int)(SWIG_As_int(obj1));
23204 if (SWIG_arg_fail(2)) SWIG_fail;
23205 }
23206 if (arg1) (arg1)->m_code = arg2;
23207
23208 Py_INCREF(Py_None); resultobj = Py_None;
23209 return resultobj;
23210 fail:
23211 return NULL;
23212 }
23213
23214
23215 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
23216 PyObject *resultobj;
23217 wxListEvent *arg1 = (wxListEvent *) 0 ;
23218 int result;
23219 PyObject * obj0 = 0 ;
23220 char *kwnames[] = {
23221 (char *) "self", NULL
23222 };
23223
23224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
23225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23226 if (SWIG_arg_fail(1)) SWIG_fail;
23227 result = (int) ((arg1)->m_code);
23228
23229 {
23230 resultobj = SWIG_From_int((int)(result));
23231 }
23232 return resultobj;
23233 fail:
23234 return NULL;
23235 }
23236
23237
23238 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23239 PyObject *resultobj;
23240 wxListEvent *arg1 = (wxListEvent *) 0 ;
23241 long arg2 ;
23242 PyObject * obj0 = 0 ;
23243 PyObject * obj1 = 0 ;
23244 char *kwnames[] = {
23245 (char *) "self",(char *) "m_oldItemIndex", NULL
23246 };
23247
23248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23250 if (SWIG_arg_fail(1)) SWIG_fail;
23251 {
23252 arg2 = (long)(SWIG_As_long(obj1));
23253 if (SWIG_arg_fail(2)) SWIG_fail;
23254 }
23255 if (arg1) (arg1)->m_oldItemIndex = arg2;
23256
23257 Py_INCREF(Py_None); resultobj = Py_None;
23258 return resultobj;
23259 fail:
23260 return NULL;
23261 }
23262
23263
23264 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23265 PyObject *resultobj;
23266 wxListEvent *arg1 = (wxListEvent *) 0 ;
23267 long result;
23268 PyObject * obj0 = 0 ;
23269 char *kwnames[] = {
23270 (char *) "self", NULL
23271 };
23272
23273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23275 if (SWIG_arg_fail(1)) SWIG_fail;
23276 result = (long) ((arg1)->m_oldItemIndex);
23277
23278 {
23279 resultobj = SWIG_From_long((long)(result));
23280 }
23281 return resultobj;
23282 fail:
23283 return NULL;
23284 }
23285
23286
23287 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23288 PyObject *resultobj;
23289 wxListEvent *arg1 = (wxListEvent *) 0 ;
23290 long arg2 ;
23291 PyObject * obj0 = 0 ;
23292 PyObject * obj1 = 0 ;
23293 char *kwnames[] = {
23294 (char *) "self",(char *) "m_itemIndex", NULL
23295 };
23296
23297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23299 if (SWIG_arg_fail(1)) SWIG_fail;
23300 {
23301 arg2 = (long)(SWIG_As_long(obj1));
23302 if (SWIG_arg_fail(2)) SWIG_fail;
23303 }
23304 if (arg1) (arg1)->m_itemIndex = arg2;
23305
23306 Py_INCREF(Py_None); resultobj = Py_None;
23307 return resultobj;
23308 fail:
23309 return NULL;
23310 }
23311
23312
23313 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23314 PyObject *resultobj;
23315 wxListEvent *arg1 = (wxListEvent *) 0 ;
23316 long result;
23317 PyObject * obj0 = 0 ;
23318 char *kwnames[] = {
23319 (char *) "self", NULL
23320 };
23321
23322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23324 if (SWIG_arg_fail(1)) SWIG_fail;
23325 result = (long) ((arg1)->m_itemIndex);
23326
23327 {
23328 resultobj = SWIG_From_long((long)(result));
23329 }
23330 return resultobj;
23331 fail:
23332 return NULL;
23333 }
23334
23335
23336 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23337 PyObject *resultobj;
23338 wxListEvent *arg1 = (wxListEvent *) 0 ;
23339 int arg2 ;
23340 PyObject * obj0 = 0 ;
23341 PyObject * obj1 = 0 ;
23342 char *kwnames[] = {
23343 (char *) "self",(char *) "m_col", NULL
23344 };
23345
23346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23348 if (SWIG_arg_fail(1)) SWIG_fail;
23349 {
23350 arg2 = (int)(SWIG_As_int(obj1));
23351 if (SWIG_arg_fail(2)) SWIG_fail;
23352 }
23353 if (arg1) (arg1)->m_col = arg2;
23354
23355 Py_INCREF(Py_None); resultobj = Py_None;
23356 return resultobj;
23357 fail:
23358 return NULL;
23359 }
23360
23361
23362 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23363 PyObject *resultobj;
23364 wxListEvent *arg1 = (wxListEvent *) 0 ;
23365 int result;
23366 PyObject * obj0 = 0 ;
23367 char *kwnames[] = {
23368 (char *) "self", NULL
23369 };
23370
23371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
23372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23373 if (SWIG_arg_fail(1)) SWIG_fail;
23374 result = (int) ((arg1)->m_col);
23375
23376 {
23377 resultobj = SWIG_From_int((int)(result));
23378 }
23379 return resultobj;
23380 fail:
23381 return NULL;
23382 }
23383
23384
23385 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23386 PyObject *resultobj;
23387 wxListEvent *arg1 = (wxListEvent *) 0 ;
23388 wxPoint *arg2 = (wxPoint *) 0 ;
23389 PyObject * obj0 = 0 ;
23390 PyObject * obj1 = 0 ;
23391 char *kwnames[] = {
23392 (char *) "self",(char *) "m_pointDrag", NULL
23393 };
23394
23395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
23396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23397 if (SWIG_arg_fail(1)) SWIG_fail;
23398 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23399 if (SWIG_arg_fail(2)) SWIG_fail;
23400 if (arg1) (arg1)->m_pointDrag = *arg2;
23401
23402 Py_INCREF(Py_None); resultobj = Py_None;
23403 return resultobj;
23404 fail:
23405 return NULL;
23406 }
23407
23408
23409 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23410 PyObject *resultobj;
23411 wxListEvent *arg1 = (wxListEvent *) 0 ;
23412 wxPoint *result;
23413 PyObject * obj0 = 0 ;
23414 char *kwnames[] = {
23415 (char *) "self", NULL
23416 };
23417
23418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
23419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23420 if (SWIG_arg_fail(1)) SWIG_fail;
23421 result = (wxPoint *)& ((arg1)->m_pointDrag);
23422
23423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23424 return resultobj;
23425 fail:
23426 return NULL;
23427 }
23428
23429
23430 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23431 PyObject *resultobj;
23432 wxListEvent *arg1 = (wxListEvent *) 0 ;
23433 wxListItem *result;
23434 PyObject * obj0 = 0 ;
23435 char *kwnames[] = {
23436 (char *) "self", NULL
23437 };
23438
23439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23441 if (SWIG_arg_fail(1)) SWIG_fail;
23442 result = (wxListItem *)& ((arg1)->m_item);
23443
23444 {
23445 resultobj = wxPyMake_wxObject(result, 0);
23446 }
23447 return resultobj;
23448 fail:
23449 return NULL;
23450 }
23451
23452
23453 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23454 PyObject *resultobj;
23455 wxListEvent *arg1 = (wxListEvent *) 0 ;
23456 int result;
23457 PyObject * obj0 = 0 ;
23458 char *kwnames[] = {
23459 (char *) "self", NULL
23460 };
23461
23462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23464 if (SWIG_arg_fail(1)) SWIG_fail;
23465 {
23466 PyThreadState* __tstate = wxPyBeginAllowThreads();
23467 result = (int)(arg1)->GetKeyCode();
23468
23469 wxPyEndAllowThreads(__tstate);
23470 if (PyErr_Occurred()) SWIG_fail;
23471 }
23472 {
23473 resultobj = SWIG_From_int((int)(result));
23474 }
23475 return resultobj;
23476 fail:
23477 return NULL;
23478 }
23479
23480
23481 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23482 PyObject *resultobj;
23483 wxListEvent *arg1 = (wxListEvent *) 0 ;
23484 long result;
23485 PyObject * obj0 = 0 ;
23486 char *kwnames[] = {
23487 (char *) "self", NULL
23488 };
23489
23490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23492 if (SWIG_arg_fail(1)) SWIG_fail;
23493 {
23494 PyThreadState* __tstate = wxPyBeginAllowThreads();
23495 result = (long)(arg1)->GetIndex();
23496
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 {
23501 resultobj = SWIG_From_long((long)(result));
23502 }
23503 return resultobj;
23504 fail:
23505 return NULL;
23506 }
23507
23508
23509 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23510 PyObject *resultobj;
23511 wxListEvent *arg1 = (wxListEvent *) 0 ;
23512 int result;
23513 PyObject * obj0 = 0 ;
23514 char *kwnames[] = {
23515 (char *) "self", NULL
23516 };
23517
23518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23520 if (SWIG_arg_fail(1)) SWIG_fail;
23521 {
23522 PyThreadState* __tstate = wxPyBeginAllowThreads();
23523 result = (int)(arg1)->GetColumn();
23524
23525 wxPyEndAllowThreads(__tstate);
23526 if (PyErr_Occurred()) SWIG_fail;
23527 }
23528 {
23529 resultobj = SWIG_From_int((int)(result));
23530 }
23531 return resultobj;
23532 fail:
23533 return NULL;
23534 }
23535
23536
23537 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23538 PyObject *resultobj;
23539 wxListEvent *arg1 = (wxListEvent *) 0 ;
23540 wxPoint result;
23541 PyObject * obj0 = 0 ;
23542 char *kwnames[] = {
23543 (char *) "self", NULL
23544 };
23545
23546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23548 if (SWIG_arg_fail(1)) SWIG_fail;
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
23551 result = (arg1)->GetPoint();
23552
23553 wxPyEndAllowThreads(__tstate);
23554 if (PyErr_Occurred()) SWIG_fail;
23555 }
23556 {
23557 wxPoint * resultptr;
23558 resultptr = new wxPoint((wxPoint &)(result));
23559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23560 }
23561 return resultobj;
23562 fail:
23563 return NULL;
23564 }
23565
23566
23567 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj;
23569 wxListEvent *arg1 = (wxListEvent *) 0 ;
23570 wxString *result;
23571 PyObject * obj0 = 0 ;
23572 char *kwnames[] = {
23573 (char *) "self", NULL
23574 };
23575
23576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
23577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23578 if (SWIG_arg_fail(1)) SWIG_fail;
23579 {
23580 PyThreadState* __tstate = wxPyBeginAllowThreads();
23581 {
23582 wxString const &_result_ref = (arg1)->GetLabel();
23583 result = (wxString *) &_result_ref;
23584 }
23585
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 {
23590 #if wxUSE_UNICODE
23591 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23592 #else
23593 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23594 #endif
23595 }
23596 return resultobj;
23597 fail:
23598 return NULL;
23599 }
23600
23601
23602 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23603 PyObject *resultobj;
23604 wxListEvent *arg1 = (wxListEvent *) 0 ;
23605 wxString *result;
23606 PyObject * obj0 = 0 ;
23607 char *kwnames[] = {
23608 (char *) "self", NULL
23609 };
23610
23611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23613 if (SWIG_arg_fail(1)) SWIG_fail;
23614 {
23615 PyThreadState* __tstate = wxPyBeginAllowThreads();
23616 {
23617 wxString const &_result_ref = (arg1)->GetText();
23618 result = (wxString *) &_result_ref;
23619 }
23620
23621 wxPyEndAllowThreads(__tstate);
23622 if (PyErr_Occurred()) SWIG_fail;
23623 }
23624 {
23625 #if wxUSE_UNICODE
23626 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23627 #else
23628 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23629 #endif
23630 }
23631 return resultobj;
23632 fail:
23633 return NULL;
23634 }
23635
23636
23637 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23638 PyObject *resultobj;
23639 wxListEvent *arg1 = (wxListEvent *) 0 ;
23640 int result;
23641 PyObject * obj0 = 0 ;
23642 char *kwnames[] = {
23643 (char *) "self", NULL
23644 };
23645
23646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
23647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23648 if (SWIG_arg_fail(1)) SWIG_fail;
23649 {
23650 PyThreadState* __tstate = wxPyBeginAllowThreads();
23651 result = (int)(arg1)->GetImage();
23652
23653 wxPyEndAllowThreads(__tstate);
23654 if (PyErr_Occurred()) SWIG_fail;
23655 }
23656 {
23657 resultobj = SWIG_From_int((int)(result));
23658 }
23659 return resultobj;
23660 fail:
23661 return NULL;
23662 }
23663
23664
23665 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23666 PyObject *resultobj;
23667 wxListEvent *arg1 = (wxListEvent *) 0 ;
23668 long result;
23669 PyObject * obj0 = 0 ;
23670 char *kwnames[] = {
23671 (char *) "self", NULL
23672 };
23673
23674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23676 if (SWIG_arg_fail(1)) SWIG_fail;
23677 {
23678 PyThreadState* __tstate = wxPyBeginAllowThreads();
23679 result = (long)(arg1)->GetData();
23680
23681 wxPyEndAllowThreads(__tstate);
23682 if (PyErr_Occurred()) SWIG_fail;
23683 }
23684 {
23685 resultobj = SWIG_From_long((long)(result));
23686 }
23687 return resultobj;
23688 fail:
23689 return NULL;
23690 }
23691
23692
23693 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23694 PyObject *resultobj;
23695 wxListEvent *arg1 = (wxListEvent *) 0 ;
23696 long result;
23697 PyObject * obj0 = 0 ;
23698 char *kwnames[] = {
23699 (char *) "self", NULL
23700 };
23701
23702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23704 if (SWIG_arg_fail(1)) SWIG_fail;
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 result = (long)(arg1)->GetMask();
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 {
23713 resultobj = SWIG_From_long((long)(result));
23714 }
23715 return resultobj;
23716 fail:
23717 return NULL;
23718 }
23719
23720
23721 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23722 PyObject *resultobj;
23723 wxListEvent *arg1 = (wxListEvent *) 0 ;
23724 wxListItem *result;
23725 PyObject * obj0 = 0 ;
23726 char *kwnames[] = {
23727 (char *) "self", NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23732 if (SWIG_arg_fail(1)) SWIG_fail;
23733 {
23734 PyThreadState* __tstate = wxPyBeginAllowThreads();
23735 {
23736 wxListItem const &_result_ref = (arg1)->GetItem();
23737 result = (wxListItem *) &_result_ref;
23738 }
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23744 return resultobj;
23745 fail:
23746 return NULL;
23747 }
23748
23749
23750 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23751 PyObject *resultobj;
23752 wxListEvent *arg1 = (wxListEvent *) 0 ;
23753 long result;
23754 PyObject * obj0 = 0 ;
23755 char *kwnames[] = {
23756 (char *) "self", NULL
23757 };
23758
23759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23761 if (SWIG_arg_fail(1)) SWIG_fail;
23762 {
23763 PyThreadState* __tstate = wxPyBeginAllowThreads();
23764 result = (long)(arg1)->GetCacheFrom();
23765
23766 wxPyEndAllowThreads(__tstate);
23767 if (PyErr_Occurred()) SWIG_fail;
23768 }
23769 {
23770 resultobj = SWIG_From_long((long)(result));
23771 }
23772 return resultobj;
23773 fail:
23774 return NULL;
23775 }
23776
23777
23778 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23779 PyObject *resultobj;
23780 wxListEvent *arg1 = (wxListEvent *) 0 ;
23781 long result;
23782 PyObject * obj0 = 0 ;
23783 char *kwnames[] = {
23784 (char *) "self", NULL
23785 };
23786
23787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23789 if (SWIG_arg_fail(1)) SWIG_fail;
23790 {
23791 PyThreadState* __tstate = wxPyBeginAllowThreads();
23792 result = (long)(arg1)->GetCacheTo();
23793
23794 wxPyEndAllowThreads(__tstate);
23795 if (PyErr_Occurred()) SWIG_fail;
23796 }
23797 {
23798 resultobj = SWIG_From_long((long)(result));
23799 }
23800 return resultobj;
23801 fail:
23802 return NULL;
23803 }
23804
23805
23806 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23807 PyObject *resultobj;
23808 wxListEvent *arg1 = (wxListEvent *) 0 ;
23809 bool result;
23810 PyObject * obj0 = 0 ;
23811 char *kwnames[] = {
23812 (char *) "self", NULL
23813 };
23814
23815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23817 if (SWIG_arg_fail(1)) SWIG_fail;
23818 {
23819 PyThreadState* __tstate = wxPyBeginAllowThreads();
23820 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23821
23822 wxPyEndAllowThreads(__tstate);
23823 if (PyErr_Occurred()) SWIG_fail;
23824 }
23825 {
23826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23827 }
23828 return resultobj;
23829 fail:
23830 return NULL;
23831 }
23832
23833
23834 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23835 PyObject *resultobj;
23836 wxListEvent *arg1 = (wxListEvent *) 0 ;
23837 bool arg2 ;
23838 PyObject * obj0 = 0 ;
23839 PyObject * obj1 = 0 ;
23840 char *kwnames[] = {
23841 (char *) "self",(char *) "editCancelled", NULL
23842 };
23843
23844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23846 if (SWIG_arg_fail(1)) SWIG_fail;
23847 {
23848 arg2 = (bool)(SWIG_As_bool(obj1));
23849 if (SWIG_arg_fail(2)) SWIG_fail;
23850 }
23851 {
23852 PyThreadState* __tstate = wxPyBeginAllowThreads();
23853 (arg1)->SetEditCanceled(arg2);
23854
23855 wxPyEndAllowThreads(__tstate);
23856 if (PyErr_Occurred()) SWIG_fail;
23857 }
23858 Py_INCREF(Py_None); resultobj = Py_None;
23859 return resultobj;
23860 fail:
23861 return NULL;
23862 }
23863
23864
23865 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23866 PyObject *obj;
23867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23868 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23869 Py_INCREF(obj);
23870 return Py_BuildValue((char *)"");
23871 }
23872 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23873 PyObject *resultobj;
23874 wxWindow *arg1 = (wxWindow *) 0 ;
23875 int arg2 = (int) -1 ;
23876 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23877 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23878 wxSize const &arg4_defvalue = wxDefaultSize ;
23879 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23880 long arg5 = (long) wxLC_ICON ;
23881 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23882 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23883 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23884 wxString *arg7 = (wxString *) &arg7_defvalue ;
23885 wxPyListCtrl *result;
23886 wxPoint temp3 ;
23887 wxSize temp4 ;
23888 bool temp7 = false ;
23889 PyObject * obj0 = 0 ;
23890 PyObject * obj1 = 0 ;
23891 PyObject * obj2 = 0 ;
23892 PyObject * obj3 = 0 ;
23893 PyObject * obj4 = 0 ;
23894 PyObject * obj5 = 0 ;
23895 PyObject * obj6 = 0 ;
23896 char *kwnames[] = {
23897 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23898 };
23899
23900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23902 if (SWIG_arg_fail(1)) SWIG_fail;
23903 if (obj1) {
23904 {
23905 arg2 = (int)(SWIG_As_int(obj1));
23906 if (SWIG_arg_fail(2)) SWIG_fail;
23907 }
23908 }
23909 if (obj2) {
23910 {
23911 arg3 = &temp3;
23912 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23913 }
23914 }
23915 if (obj3) {
23916 {
23917 arg4 = &temp4;
23918 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23919 }
23920 }
23921 if (obj4) {
23922 {
23923 arg5 = (long)(SWIG_As_long(obj4));
23924 if (SWIG_arg_fail(5)) SWIG_fail;
23925 }
23926 }
23927 if (obj5) {
23928 {
23929 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23930 if (SWIG_arg_fail(6)) SWIG_fail;
23931 if (arg6 == NULL) {
23932 SWIG_null_ref("wxValidator");
23933 }
23934 if (SWIG_arg_fail(6)) SWIG_fail;
23935 }
23936 }
23937 if (obj6) {
23938 {
23939 arg7 = wxString_in_helper(obj6);
23940 if (arg7 == NULL) SWIG_fail;
23941 temp7 = true;
23942 }
23943 }
23944 {
23945 if (!wxPyCheckForApp()) SWIG_fail;
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23948
23949 wxPyEndAllowThreads(__tstate);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23953 {
23954 if (temp7)
23955 delete arg7;
23956 }
23957 return resultobj;
23958 fail:
23959 {
23960 if (temp7)
23961 delete arg7;
23962 }
23963 return NULL;
23964 }
23965
23966
23967 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23968 PyObject *resultobj;
23969 wxPyListCtrl *result;
23970 char *kwnames[] = {
23971 NULL
23972 };
23973
23974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23975 {
23976 if (!wxPyCheckForApp()) SWIG_fail;
23977 PyThreadState* __tstate = wxPyBeginAllowThreads();
23978 result = (wxPyListCtrl *)new wxPyListCtrl();
23979
23980 wxPyEndAllowThreads(__tstate);
23981 if (PyErr_Occurred()) SWIG_fail;
23982 }
23983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23984 return resultobj;
23985 fail:
23986 return NULL;
23987 }
23988
23989
23990 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23991 PyObject *resultobj;
23992 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23993 wxWindow *arg2 = (wxWindow *) 0 ;
23994 int arg3 = (int) -1 ;
23995 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23996 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23997 wxSize const &arg5_defvalue = wxDefaultSize ;
23998 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23999 long arg6 = (long) wxLC_ICON ;
24000 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24001 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24002 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
24003 wxString *arg8 = (wxString *) &arg8_defvalue ;
24004 bool result;
24005 wxPoint temp4 ;
24006 wxSize temp5 ;
24007 bool temp8 = false ;
24008 PyObject * obj0 = 0 ;
24009 PyObject * obj1 = 0 ;
24010 PyObject * obj2 = 0 ;
24011 PyObject * obj3 = 0 ;
24012 PyObject * obj4 = 0 ;
24013 PyObject * obj5 = 0 ;
24014 PyObject * obj6 = 0 ;
24015 PyObject * obj7 = 0 ;
24016 char *kwnames[] = {
24017 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24018 };
24019
24020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24022 if (SWIG_arg_fail(1)) SWIG_fail;
24023 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24024 if (SWIG_arg_fail(2)) SWIG_fail;
24025 if (obj2) {
24026 {
24027 arg3 = (int)(SWIG_As_int(obj2));
24028 if (SWIG_arg_fail(3)) SWIG_fail;
24029 }
24030 }
24031 if (obj3) {
24032 {
24033 arg4 = &temp4;
24034 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24035 }
24036 }
24037 if (obj4) {
24038 {
24039 arg5 = &temp5;
24040 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24041 }
24042 }
24043 if (obj5) {
24044 {
24045 arg6 = (long)(SWIG_As_long(obj5));
24046 if (SWIG_arg_fail(6)) SWIG_fail;
24047 }
24048 }
24049 if (obj6) {
24050 {
24051 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
24052 if (SWIG_arg_fail(7)) SWIG_fail;
24053 if (arg7 == NULL) {
24054 SWIG_null_ref("wxValidator");
24055 }
24056 if (SWIG_arg_fail(7)) SWIG_fail;
24057 }
24058 }
24059 if (obj7) {
24060 {
24061 arg8 = wxString_in_helper(obj7);
24062 if (arg8 == NULL) SWIG_fail;
24063 temp8 = true;
24064 }
24065 }
24066 {
24067 PyThreadState* __tstate = wxPyBeginAllowThreads();
24068 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24069
24070 wxPyEndAllowThreads(__tstate);
24071 if (PyErr_Occurred()) SWIG_fail;
24072 }
24073 {
24074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24075 }
24076 {
24077 if (temp8)
24078 delete arg8;
24079 }
24080 return resultobj;
24081 fail:
24082 {
24083 if (temp8)
24084 delete arg8;
24085 }
24086 return NULL;
24087 }
24088
24089
24090 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24091 PyObject *resultobj;
24092 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24093 PyObject *arg2 = (PyObject *) 0 ;
24094 PyObject *arg3 = (PyObject *) 0 ;
24095 PyObject * obj0 = 0 ;
24096 PyObject * obj1 = 0 ;
24097 PyObject * obj2 = 0 ;
24098 char *kwnames[] = {
24099 (char *) "self",(char *) "self",(char *) "_class", NULL
24100 };
24101
24102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24104 if (SWIG_arg_fail(1)) SWIG_fail;
24105 arg2 = obj1;
24106 arg3 = obj2;
24107 {
24108 PyThreadState* __tstate = wxPyBeginAllowThreads();
24109 (arg1)->_setCallbackInfo(arg2,arg3);
24110
24111 wxPyEndAllowThreads(__tstate);
24112 if (PyErr_Occurred()) SWIG_fail;
24113 }
24114 Py_INCREF(Py_None); resultobj = Py_None;
24115 return resultobj;
24116 fail:
24117 return NULL;
24118 }
24119
24120
24121 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24122 PyObject *resultobj;
24123 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24124 wxColour *arg2 = 0 ;
24125 bool result;
24126 wxColour temp2 ;
24127 PyObject * obj0 = 0 ;
24128 PyObject * obj1 = 0 ;
24129 char *kwnames[] = {
24130 (char *) "self",(char *) "col", NULL
24131 };
24132
24133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
24134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24135 if (SWIG_arg_fail(1)) SWIG_fail;
24136 {
24137 arg2 = &temp2;
24138 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24139 }
24140 {
24141 PyThreadState* __tstate = wxPyBeginAllowThreads();
24142 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24143
24144 wxPyEndAllowThreads(__tstate);
24145 if (PyErr_Occurred()) SWIG_fail;
24146 }
24147 {
24148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24149 }
24150 return resultobj;
24151 fail:
24152 return NULL;
24153 }
24154
24155
24156 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24157 PyObject *resultobj;
24158 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24159 wxColour *arg2 = 0 ;
24160 bool result;
24161 wxColour temp2 ;
24162 PyObject * obj0 = 0 ;
24163 PyObject * obj1 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self",(char *) "col", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24170 if (SWIG_arg_fail(1)) SWIG_fail;
24171 {
24172 arg2 = &temp2;
24173 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24174 }
24175 {
24176 PyThreadState* __tstate = wxPyBeginAllowThreads();
24177 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24178
24179 wxPyEndAllowThreads(__tstate);
24180 if (PyErr_Occurred()) SWIG_fail;
24181 }
24182 {
24183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24184 }
24185 return resultobj;
24186 fail:
24187 return NULL;
24188 }
24189
24190
24191 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24192 PyObject *resultobj;
24193 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24194 int arg2 ;
24195 wxListItem *result;
24196 PyObject * obj0 = 0 ;
24197 PyObject * obj1 = 0 ;
24198 char *kwnames[] = {
24199 (char *) "self",(char *) "col", NULL
24200 };
24201
24202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
24203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24204 if (SWIG_arg_fail(1)) SWIG_fail;
24205 {
24206 arg2 = (int)(SWIG_As_int(obj1));
24207 if (SWIG_arg_fail(2)) SWIG_fail;
24208 }
24209 {
24210 PyThreadState* __tstate = wxPyBeginAllowThreads();
24211 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24212
24213 wxPyEndAllowThreads(__tstate);
24214 if (PyErr_Occurred()) SWIG_fail;
24215 }
24216 {
24217 resultobj = wxPyMake_wxObject(result, 0);
24218 }
24219 return resultobj;
24220 fail:
24221 return NULL;
24222 }
24223
24224
24225 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24226 PyObject *resultobj;
24227 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24228 int arg2 ;
24229 wxListItem *arg3 = 0 ;
24230 bool result;
24231 PyObject * obj0 = 0 ;
24232 PyObject * obj1 = 0 ;
24233 PyObject * obj2 = 0 ;
24234 char *kwnames[] = {
24235 (char *) "self",(char *) "col",(char *) "item", NULL
24236 };
24237
24238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
24239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24240 if (SWIG_arg_fail(1)) SWIG_fail;
24241 {
24242 arg2 = (int)(SWIG_As_int(obj1));
24243 if (SWIG_arg_fail(2)) SWIG_fail;
24244 }
24245 {
24246 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24247 if (SWIG_arg_fail(3)) SWIG_fail;
24248 if (arg3 == NULL) {
24249 SWIG_null_ref("wxListItem");
24250 }
24251 if (SWIG_arg_fail(3)) SWIG_fail;
24252 }
24253 {
24254 PyThreadState* __tstate = wxPyBeginAllowThreads();
24255 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24256
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
24260 {
24261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24262 }
24263 return resultobj;
24264 fail:
24265 return NULL;
24266 }
24267
24268
24269 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24270 PyObject *resultobj;
24271 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24272 int arg2 ;
24273 int result;
24274 PyObject * obj0 = 0 ;
24275 PyObject * obj1 = 0 ;
24276 char *kwnames[] = {
24277 (char *) "self",(char *) "col", NULL
24278 };
24279
24280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24282 if (SWIG_arg_fail(1)) SWIG_fail;
24283 {
24284 arg2 = (int)(SWIG_As_int(obj1));
24285 if (SWIG_arg_fail(2)) SWIG_fail;
24286 }
24287 {
24288 PyThreadState* __tstate = wxPyBeginAllowThreads();
24289 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24290
24291 wxPyEndAllowThreads(__tstate);
24292 if (PyErr_Occurred()) SWIG_fail;
24293 }
24294 {
24295 resultobj = SWIG_From_int((int)(result));
24296 }
24297 return resultobj;
24298 fail:
24299 return NULL;
24300 }
24301
24302
24303 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24304 PyObject *resultobj;
24305 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24306 int arg2 ;
24307 int arg3 ;
24308 bool result;
24309 PyObject * obj0 = 0 ;
24310 PyObject * obj1 = 0 ;
24311 PyObject * obj2 = 0 ;
24312 char *kwnames[] = {
24313 (char *) "self",(char *) "col",(char *) "width", NULL
24314 };
24315
24316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24318 if (SWIG_arg_fail(1)) SWIG_fail;
24319 {
24320 arg2 = (int)(SWIG_As_int(obj1));
24321 if (SWIG_arg_fail(2)) SWIG_fail;
24322 }
24323 {
24324 arg3 = (int)(SWIG_As_int(obj2));
24325 if (SWIG_arg_fail(3)) SWIG_fail;
24326 }
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 {
24335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24336 }
24337 return resultobj;
24338 fail:
24339 return NULL;
24340 }
24341
24342
24343 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24344 PyObject *resultobj;
24345 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24346 int result;
24347 PyObject * obj0 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
24353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24354 if (SWIG_arg_fail(1)) SWIG_fail;
24355 {
24356 PyThreadState* __tstate = wxPyBeginAllowThreads();
24357 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24358
24359 wxPyEndAllowThreads(__tstate);
24360 if (PyErr_Occurred()) SWIG_fail;
24361 }
24362 {
24363 resultobj = SWIG_From_int((int)(result));
24364 }
24365 return resultobj;
24366 fail:
24367 return NULL;
24368 }
24369
24370
24371 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24372 PyObject *resultobj;
24373 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24374 wxRect result;
24375 PyObject * obj0 = 0 ;
24376 char *kwnames[] = {
24377 (char *) "self", NULL
24378 };
24379
24380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24382 if (SWIG_arg_fail(1)) SWIG_fail;
24383 {
24384 PyThreadState* __tstate = wxPyBeginAllowThreads();
24385 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24386
24387 wxPyEndAllowThreads(__tstate);
24388 if (PyErr_Occurred()) SWIG_fail;
24389 }
24390 {
24391 wxRect * resultptr;
24392 resultptr = new wxRect((wxRect &)(result));
24393 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24394 }
24395 return resultobj;
24396 fail:
24397 return NULL;
24398 }
24399
24400
24401 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
24402 PyObject *resultobj;
24403 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24404 wxTextCtrl *result;
24405 PyObject * obj0 = 0 ;
24406 char *kwnames[] = {
24407 (char *) "self", NULL
24408 };
24409
24410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
24411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24412 if (SWIG_arg_fail(1)) SWIG_fail;
24413 {
24414 PyThreadState* __tstate = wxPyBeginAllowThreads();
24415 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
24416
24417 wxPyEndAllowThreads(__tstate);
24418 if (PyErr_Occurred()) SWIG_fail;
24419 }
24420 {
24421 resultobj = wxPyMake_wxObject(result, 0);
24422 }
24423 return resultobj;
24424 fail:
24425 return NULL;
24426 }
24427
24428
24429 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj;
24431 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24432 long arg2 ;
24433 int arg3 = (int) 0 ;
24434 wxListItem *result;
24435 PyObject * obj0 = 0 ;
24436 PyObject * obj1 = 0 ;
24437 PyObject * obj2 = 0 ;
24438 char *kwnames[] = {
24439 (char *) "self",(char *) "itemId",(char *) "col", NULL
24440 };
24441
24442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24444 if (SWIG_arg_fail(1)) SWIG_fail;
24445 {
24446 arg2 = (long)(SWIG_As_long(obj1));
24447 if (SWIG_arg_fail(2)) SWIG_fail;
24448 }
24449 if (obj2) {
24450 {
24451 arg3 = (int)(SWIG_As_int(obj2));
24452 if (SWIG_arg_fail(3)) SWIG_fail;
24453 }
24454 }
24455 {
24456 PyThreadState* __tstate = wxPyBeginAllowThreads();
24457 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24458
24459 wxPyEndAllowThreads(__tstate);
24460 if (PyErr_Occurred()) SWIG_fail;
24461 }
24462 {
24463 resultobj = wxPyMake_wxObject(result, 0);
24464 }
24465 return resultobj;
24466 fail:
24467 return NULL;
24468 }
24469
24470
24471 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24472 PyObject *resultobj;
24473 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24474 wxListItem *arg2 = 0 ;
24475 bool result;
24476 PyObject * obj0 = 0 ;
24477 PyObject * obj1 = 0 ;
24478 char *kwnames[] = {
24479 (char *) "self",(char *) "info", NULL
24480 };
24481
24482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24484 if (SWIG_arg_fail(1)) SWIG_fail;
24485 {
24486 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24487 if (SWIG_arg_fail(2)) SWIG_fail;
24488 if (arg2 == NULL) {
24489 SWIG_null_ref("wxListItem");
24490 }
24491 if (SWIG_arg_fail(2)) SWIG_fail;
24492 }
24493 {
24494 PyThreadState* __tstate = wxPyBeginAllowThreads();
24495 result = (bool)(arg1)->SetItem(*arg2);
24496
24497 wxPyEndAllowThreads(__tstate);
24498 if (PyErr_Occurred()) SWIG_fail;
24499 }
24500 {
24501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24502 }
24503 return resultobj;
24504 fail:
24505 return NULL;
24506 }
24507
24508
24509 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj;
24511 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24512 long arg2 ;
24513 int arg3 ;
24514 wxString *arg4 = 0 ;
24515 int arg5 = (int) -1 ;
24516 long result;
24517 bool temp4 = false ;
24518 PyObject * obj0 = 0 ;
24519 PyObject * obj1 = 0 ;
24520 PyObject * obj2 = 0 ;
24521 PyObject * obj3 = 0 ;
24522 PyObject * obj4 = 0 ;
24523 char *kwnames[] = {
24524 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24525 };
24526
24527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24529 if (SWIG_arg_fail(1)) SWIG_fail;
24530 {
24531 arg2 = (long)(SWIG_As_long(obj1));
24532 if (SWIG_arg_fail(2)) SWIG_fail;
24533 }
24534 {
24535 arg3 = (int)(SWIG_As_int(obj2));
24536 if (SWIG_arg_fail(3)) SWIG_fail;
24537 }
24538 {
24539 arg4 = wxString_in_helper(obj3);
24540 if (arg4 == NULL) SWIG_fail;
24541 temp4 = true;
24542 }
24543 if (obj4) {
24544 {
24545 arg5 = (int)(SWIG_As_int(obj4));
24546 if (SWIG_arg_fail(5)) SWIG_fail;
24547 }
24548 }
24549 {
24550 PyThreadState* __tstate = wxPyBeginAllowThreads();
24551 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24552
24553 wxPyEndAllowThreads(__tstate);
24554 if (PyErr_Occurred()) SWIG_fail;
24555 }
24556 {
24557 resultobj = SWIG_From_long((long)(result));
24558 }
24559 {
24560 if (temp4)
24561 delete arg4;
24562 }
24563 return resultobj;
24564 fail:
24565 {
24566 if (temp4)
24567 delete arg4;
24568 }
24569 return NULL;
24570 }
24571
24572
24573 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj;
24575 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24576 long arg2 ;
24577 long arg3 ;
24578 int result;
24579 PyObject * obj0 = 0 ;
24580 PyObject * obj1 = 0 ;
24581 PyObject * obj2 = 0 ;
24582 char *kwnames[] = {
24583 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24584 };
24585
24586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24588 if (SWIG_arg_fail(1)) SWIG_fail;
24589 {
24590 arg2 = (long)(SWIG_As_long(obj1));
24591 if (SWIG_arg_fail(2)) SWIG_fail;
24592 }
24593 {
24594 arg3 = (long)(SWIG_As_long(obj2));
24595 if (SWIG_arg_fail(3)) SWIG_fail;
24596 }
24597 {
24598 PyThreadState* __tstate = wxPyBeginAllowThreads();
24599 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24600
24601 wxPyEndAllowThreads(__tstate);
24602 if (PyErr_Occurred()) SWIG_fail;
24603 }
24604 {
24605 resultobj = SWIG_From_int((int)(result));
24606 }
24607 return resultobj;
24608 fail:
24609 return NULL;
24610 }
24611
24612
24613 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24614 PyObject *resultobj;
24615 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24616 long arg2 ;
24617 long arg3 ;
24618 long arg4 ;
24619 bool result;
24620 PyObject * obj0 = 0 ;
24621 PyObject * obj1 = 0 ;
24622 PyObject * obj2 = 0 ;
24623 PyObject * obj3 = 0 ;
24624 char *kwnames[] = {
24625 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24626 };
24627
24628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24630 if (SWIG_arg_fail(1)) SWIG_fail;
24631 {
24632 arg2 = (long)(SWIG_As_long(obj1));
24633 if (SWIG_arg_fail(2)) SWIG_fail;
24634 }
24635 {
24636 arg3 = (long)(SWIG_As_long(obj2));
24637 if (SWIG_arg_fail(3)) SWIG_fail;
24638 }
24639 {
24640 arg4 = (long)(SWIG_As_long(obj3));
24641 if (SWIG_arg_fail(4)) SWIG_fail;
24642 }
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24646
24647 wxPyEndAllowThreads(__tstate);
24648 if (PyErr_Occurred()) SWIG_fail;
24649 }
24650 {
24651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24652 }
24653 return resultobj;
24654 fail:
24655 return NULL;
24656 }
24657
24658
24659 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24660 PyObject *resultobj;
24661 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24662 long arg2 ;
24663 int arg3 ;
24664 int arg4 = (int) -1 ;
24665 bool result;
24666 PyObject * obj0 = 0 ;
24667 PyObject * obj1 = 0 ;
24668 PyObject * obj2 = 0 ;
24669 PyObject * obj3 = 0 ;
24670 char *kwnames[] = {
24671 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24672 };
24673
24674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24676 if (SWIG_arg_fail(1)) SWIG_fail;
24677 {
24678 arg2 = (long)(SWIG_As_long(obj1));
24679 if (SWIG_arg_fail(2)) SWIG_fail;
24680 }
24681 {
24682 arg3 = (int)(SWIG_As_int(obj2));
24683 if (SWIG_arg_fail(3)) SWIG_fail;
24684 }
24685 if (obj3) {
24686 {
24687 arg4 = (int)(SWIG_As_int(obj3));
24688 if (SWIG_arg_fail(4)) SWIG_fail;
24689 }
24690 }
24691 {
24692 PyThreadState* __tstate = wxPyBeginAllowThreads();
24693 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24694
24695 wxPyEndAllowThreads(__tstate);
24696 if (PyErr_Occurred()) SWIG_fail;
24697 }
24698 {
24699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24700 }
24701 return resultobj;
24702 fail:
24703 return NULL;
24704 }
24705
24706
24707 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24708 PyObject *resultobj;
24709 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24710 long arg2 ;
24711 wxString result;
24712 PyObject * obj0 = 0 ;
24713 PyObject * obj1 = 0 ;
24714 char *kwnames[] = {
24715 (char *) "self",(char *) "item", NULL
24716 };
24717
24718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24720 if (SWIG_arg_fail(1)) SWIG_fail;
24721 {
24722 arg2 = (long)(SWIG_As_long(obj1));
24723 if (SWIG_arg_fail(2)) SWIG_fail;
24724 }
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24728
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 {
24733 #if wxUSE_UNICODE
24734 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24735 #else
24736 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24737 #endif
24738 }
24739 return resultobj;
24740 fail:
24741 return NULL;
24742 }
24743
24744
24745 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24746 PyObject *resultobj;
24747 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24748 long arg2 ;
24749 wxString *arg3 = 0 ;
24750 bool temp3 = false ;
24751 PyObject * obj0 = 0 ;
24752 PyObject * obj1 = 0 ;
24753 PyObject * obj2 = 0 ;
24754 char *kwnames[] = {
24755 (char *) "self",(char *) "item",(char *) "str", NULL
24756 };
24757
24758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24760 if (SWIG_arg_fail(1)) SWIG_fail;
24761 {
24762 arg2 = (long)(SWIG_As_long(obj1));
24763 if (SWIG_arg_fail(2)) SWIG_fail;
24764 }
24765 {
24766 arg3 = wxString_in_helper(obj2);
24767 if (arg3 == NULL) SWIG_fail;
24768 temp3 = true;
24769 }
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 Py_INCREF(Py_None); resultobj = Py_None;
24778 {
24779 if (temp3)
24780 delete arg3;
24781 }
24782 return resultobj;
24783 fail:
24784 {
24785 if (temp3)
24786 delete arg3;
24787 }
24788 return NULL;
24789 }
24790
24791
24792 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24793 PyObject *resultobj;
24794 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24795 long arg2 ;
24796 long result;
24797 PyObject * obj0 = 0 ;
24798 PyObject * obj1 = 0 ;
24799 char *kwnames[] = {
24800 (char *) "self",(char *) "item", NULL
24801 };
24802
24803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24805 if (SWIG_arg_fail(1)) SWIG_fail;
24806 {
24807 arg2 = (long)(SWIG_As_long(obj1));
24808 if (SWIG_arg_fail(2)) SWIG_fail;
24809 }
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24813
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 {
24818 resultobj = SWIG_From_long((long)(result));
24819 }
24820 return resultobj;
24821 fail:
24822 return NULL;
24823 }
24824
24825
24826 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24827 PyObject *resultobj;
24828 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24829 long arg2 ;
24830 long arg3 ;
24831 bool result;
24832 PyObject * obj0 = 0 ;
24833 PyObject * obj1 = 0 ;
24834 PyObject * obj2 = 0 ;
24835 char *kwnames[] = {
24836 (char *) "self",(char *) "item",(char *) "data", NULL
24837 };
24838
24839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = (long)(SWIG_As_long(obj2));
24848 if (SWIG_arg_fail(3)) SWIG_fail;
24849 }
24850 {
24851 PyThreadState* __tstate = wxPyBeginAllowThreads();
24852 result = (bool)(arg1)->SetItemData(arg2,arg3);
24853
24854 wxPyEndAllowThreads(__tstate);
24855 if (PyErr_Occurred()) SWIG_fail;
24856 }
24857 {
24858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24859 }
24860 return resultobj;
24861 fail:
24862 return NULL;
24863 }
24864
24865
24866 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24867 PyObject *resultobj;
24868 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24869 long arg2 ;
24870 wxPoint result;
24871 PyObject * obj0 = 0 ;
24872 PyObject * obj1 = 0 ;
24873 char *kwnames[] = {
24874 (char *) "self",(char *) "item", NULL
24875 };
24876
24877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) 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 {
24885 PyThreadState* __tstate = wxPyBeginAllowThreads();
24886 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24887
24888 wxPyEndAllowThreads(__tstate);
24889 if (PyErr_Occurred()) SWIG_fail;
24890 }
24891 {
24892 wxPoint * resultptr;
24893 resultptr = new wxPoint((wxPoint &)(result));
24894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24895 }
24896 return resultobj;
24897 fail:
24898 return NULL;
24899 }
24900
24901
24902 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24903 PyObject *resultobj;
24904 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24905 long arg2 ;
24906 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24907 wxRect result;
24908 PyObject * obj0 = 0 ;
24909 PyObject * obj1 = 0 ;
24910 PyObject * obj2 = 0 ;
24911 char *kwnames[] = {
24912 (char *) "self",(char *) "item",(char *) "code", NULL
24913 };
24914
24915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24917 if (SWIG_arg_fail(1)) SWIG_fail;
24918 {
24919 arg2 = (long)(SWIG_As_long(obj1));
24920 if (SWIG_arg_fail(2)) SWIG_fail;
24921 }
24922 if (obj2) {
24923 {
24924 arg3 = (int)(SWIG_As_int(obj2));
24925 if (SWIG_arg_fail(3)) SWIG_fail;
24926 }
24927 }
24928 {
24929 PyThreadState* __tstate = wxPyBeginAllowThreads();
24930 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24931
24932 wxPyEndAllowThreads(__tstate);
24933 if (PyErr_Occurred()) SWIG_fail;
24934 }
24935 {
24936 wxRect * resultptr;
24937 resultptr = new wxRect((wxRect &)(result));
24938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24939 }
24940 return resultobj;
24941 fail:
24942 return NULL;
24943 }
24944
24945
24946 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24947 PyObject *resultobj;
24948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24949 long arg2 ;
24950 wxPoint *arg3 = 0 ;
24951 bool result;
24952 wxPoint temp3 ;
24953 PyObject * obj0 = 0 ;
24954 PyObject * obj1 = 0 ;
24955 PyObject * obj2 = 0 ;
24956 char *kwnames[] = {
24957 (char *) "self",(char *) "item",(char *) "pos", NULL
24958 };
24959
24960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24962 if (SWIG_arg_fail(1)) SWIG_fail;
24963 {
24964 arg2 = (long)(SWIG_As_long(obj1));
24965 if (SWIG_arg_fail(2)) SWIG_fail;
24966 }
24967 {
24968 arg3 = &temp3;
24969 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24970 }
24971 {
24972 PyThreadState* __tstate = wxPyBeginAllowThreads();
24973 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24974
24975 wxPyEndAllowThreads(__tstate);
24976 if (PyErr_Occurred()) SWIG_fail;
24977 }
24978 {
24979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24980 }
24981 return resultobj;
24982 fail:
24983 return NULL;
24984 }
24985
24986
24987 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24988 PyObject *resultobj;
24989 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24990 int result;
24991 PyObject * obj0 = 0 ;
24992 char *kwnames[] = {
24993 (char *) "self", NULL
24994 };
24995
24996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24998 if (SWIG_arg_fail(1)) SWIG_fail;
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
25001 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
25002
25003 wxPyEndAllowThreads(__tstate);
25004 if (PyErr_Occurred()) SWIG_fail;
25005 }
25006 {
25007 resultobj = SWIG_From_int((int)(result));
25008 }
25009 return resultobj;
25010 fail:
25011 return NULL;
25012 }
25013
25014
25015 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
25016 PyObject *resultobj;
25017 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25018 int result;
25019 PyObject * obj0 = 0 ;
25020 char *kwnames[] = {
25021 (char *) "self", NULL
25022 };
25023
25024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
25025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25026 if (SWIG_arg_fail(1)) SWIG_fail;
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
25030
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 {
25035 resultobj = SWIG_From_int((int)(result));
25036 }
25037 return resultobj;
25038 fail:
25039 return NULL;
25040 }
25041
25042
25043 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
25044 PyObject *resultobj;
25045 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25046 wxSize result;
25047 PyObject * obj0 = 0 ;
25048 char *kwnames[] = {
25049 (char *) "self", NULL
25050 };
25051
25052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
25053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25054 if (SWIG_arg_fail(1)) SWIG_fail;
25055 {
25056 PyThreadState* __tstate = wxPyBeginAllowThreads();
25057 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
25058
25059 wxPyEndAllowThreads(__tstate);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 {
25063 wxSize * resultptr;
25064 resultptr = new wxSize((wxSize &)(result));
25065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25066 }
25067 return resultobj;
25068 fail:
25069 return NULL;
25070 }
25071
25072
25073 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
25074 PyObject *resultobj;
25075 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25076 int result;
25077 PyObject * obj0 = 0 ;
25078 char *kwnames[] = {
25079 (char *) "self", NULL
25080 };
25081
25082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
25083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25084 if (SWIG_arg_fail(1)) SWIG_fail;
25085 {
25086 PyThreadState* __tstate = wxPyBeginAllowThreads();
25087 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25088
25089 wxPyEndAllowThreads(__tstate);
25090 if (PyErr_Occurred()) SWIG_fail;
25091 }
25092 {
25093 resultobj = SWIG_From_int((int)(result));
25094 }
25095 return resultobj;
25096 fail:
25097 return NULL;
25098 }
25099
25100
25101 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25102 PyObject *resultobj;
25103 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25104 wxColour result;
25105 PyObject * obj0 = 0 ;
25106 char *kwnames[] = {
25107 (char *) "self", NULL
25108 };
25109
25110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
25111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25112 if (SWIG_arg_fail(1)) SWIG_fail;
25113 {
25114 PyThreadState* __tstate = wxPyBeginAllowThreads();
25115 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25116
25117 wxPyEndAllowThreads(__tstate);
25118 if (PyErr_Occurred()) SWIG_fail;
25119 }
25120 {
25121 wxColour * resultptr;
25122 resultptr = new wxColour((wxColour &)(result));
25123 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25124 }
25125 return resultobj;
25126 fail:
25127 return NULL;
25128 }
25129
25130
25131 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25132 PyObject *resultobj;
25133 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25134 wxColour *arg2 = 0 ;
25135 wxColour temp2 ;
25136 PyObject * obj0 = 0 ;
25137 PyObject * obj1 = 0 ;
25138 char *kwnames[] = {
25139 (char *) "self",(char *) "col", NULL
25140 };
25141
25142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
25143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25144 if (SWIG_arg_fail(1)) SWIG_fail;
25145 {
25146 arg2 = &temp2;
25147 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25148 }
25149 {
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 (arg1)->SetTextColour((wxColour const &)*arg2);
25152
25153 wxPyEndAllowThreads(__tstate);
25154 if (PyErr_Occurred()) SWIG_fail;
25155 }
25156 Py_INCREF(Py_None); resultobj = Py_None;
25157 return resultobj;
25158 fail:
25159 return NULL;
25160 }
25161
25162
25163 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
25164 PyObject *resultobj;
25165 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25166 long result;
25167 PyObject * obj0 = 0 ;
25168 char *kwnames[] = {
25169 (char *) "self", NULL
25170 };
25171
25172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
25173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25174 if (SWIG_arg_fail(1)) SWIG_fail;
25175 {
25176 PyThreadState* __tstate = wxPyBeginAllowThreads();
25177 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25178
25179 wxPyEndAllowThreads(__tstate);
25180 if (PyErr_Occurred()) SWIG_fail;
25181 }
25182 {
25183 resultobj = SWIG_From_long((long)(result));
25184 }
25185 return resultobj;
25186 fail:
25187 return NULL;
25188 }
25189
25190
25191 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
25192 PyObject *resultobj;
25193 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25194 long arg2 ;
25195 bool arg3 = (bool) true ;
25196 PyObject * obj0 = 0 ;
25197 PyObject * obj1 = 0 ;
25198 PyObject * obj2 = 0 ;
25199 char *kwnames[] = {
25200 (char *) "self",(char *) "style",(char *) "add", NULL
25201 };
25202
25203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
25204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25205 if (SWIG_arg_fail(1)) SWIG_fail;
25206 {
25207 arg2 = (long)(SWIG_As_long(obj1));
25208 if (SWIG_arg_fail(2)) SWIG_fail;
25209 }
25210 if (obj2) {
25211 {
25212 arg3 = (bool)(SWIG_As_bool(obj2));
25213 if (SWIG_arg_fail(3)) SWIG_fail;
25214 }
25215 }
25216 {
25217 PyThreadState* __tstate = wxPyBeginAllowThreads();
25218 (arg1)->SetSingleStyle(arg2,arg3);
25219
25220 wxPyEndAllowThreads(__tstate);
25221 if (PyErr_Occurred()) SWIG_fail;
25222 }
25223 Py_INCREF(Py_None); resultobj = Py_None;
25224 return resultobj;
25225 fail:
25226 return NULL;
25227 }
25228
25229
25230 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
25231 PyObject *resultobj;
25232 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25233 long arg2 ;
25234 PyObject * obj0 = 0 ;
25235 PyObject * obj1 = 0 ;
25236 char *kwnames[] = {
25237 (char *) "self",(char *) "style", NULL
25238 };
25239
25240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
25241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25242 if (SWIG_arg_fail(1)) SWIG_fail;
25243 {
25244 arg2 = (long)(SWIG_As_long(obj1));
25245 if (SWIG_arg_fail(2)) SWIG_fail;
25246 }
25247 {
25248 PyThreadState* __tstate = wxPyBeginAllowThreads();
25249 (arg1)->SetWindowStyleFlag(arg2);
25250
25251 wxPyEndAllowThreads(__tstate);
25252 if (PyErr_Occurred()) SWIG_fail;
25253 }
25254 Py_INCREF(Py_None); resultobj = Py_None;
25255 return resultobj;
25256 fail:
25257 return NULL;
25258 }
25259
25260
25261 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
25262 PyObject *resultobj;
25263 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25264 long arg2 ;
25265 int arg3 = (int) wxLIST_NEXT_ALL ;
25266 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25267 long result;
25268 PyObject * obj0 = 0 ;
25269 PyObject * obj1 = 0 ;
25270 PyObject * obj2 = 0 ;
25271 PyObject * obj3 = 0 ;
25272 char *kwnames[] = {
25273 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25274 };
25275
25276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25278 if (SWIG_arg_fail(1)) SWIG_fail;
25279 {
25280 arg2 = (long)(SWIG_As_long(obj1));
25281 if (SWIG_arg_fail(2)) SWIG_fail;
25282 }
25283 if (obj2) {
25284 {
25285 arg3 = (int)(SWIG_As_int(obj2));
25286 if (SWIG_arg_fail(3)) SWIG_fail;
25287 }
25288 }
25289 if (obj3) {
25290 {
25291 arg4 = (int)(SWIG_As_int(obj3));
25292 if (SWIG_arg_fail(4)) SWIG_fail;
25293 }
25294 }
25295 {
25296 PyThreadState* __tstate = wxPyBeginAllowThreads();
25297 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25298
25299 wxPyEndAllowThreads(__tstate);
25300 if (PyErr_Occurred()) SWIG_fail;
25301 }
25302 {
25303 resultobj = SWIG_From_long((long)(result));
25304 }
25305 return resultobj;
25306 fail:
25307 return NULL;
25308 }
25309
25310
25311 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25312 PyObject *resultobj;
25313 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25314 int arg2 ;
25315 wxImageList *result;
25316 PyObject * obj0 = 0 ;
25317 PyObject * obj1 = 0 ;
25318 char *kwnames[] = {
25319 (char *) "self",(char *) "which", NULL
25320 };
25321
25322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
25323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25324 if (SWIG_arg_fail(1)) SWIG_fail;
25325 {
25326 arg2 = (int)(SWIG_As_int(obj1));
25327 if (SWIG_arg_fail(2)) SWIG_fail;
25328 }
25329 {
25330 PyThreadState* __tstate = wxPyBeginAllowThreads();
25331 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25332
25333 wxPyEndAllowThreads(__tstate);
25334 if (PyErr_Occurred()) SWIG_fail;
25335 }
25336 {
25337 resultobj = wxPyMake_wxObject(result, 0);
25338 }
25339 return resultobj;
25340 fail:
25341 return NULL;
25342 }
25343
25344
25345 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25346 PyObject *resultobj;
25347 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25348 wxImageList *arg2 = (wxImageList *) 0 ;
25349 int arg3 ;
25350 PyObject * obj0 = 0 ;
25351 PyObject * obj1 = 0 ;
25352 PyObject * obj2 = 0 ;
25353 char *kwnames[] = {
25354 (char *) "self",(char *) "imageList",(char *) "which", NULL
25355 };
25356
25357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25359 if (SWIG_arg_fail(1)) SWIG_fail;
25360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25361 if (SWIG_arg_fail(2)) SWIG_fail;
25362 {
25363 arg3 = (int)(SWIG_As_int(obj2));
25364 if (SWIG_arg_fail(3)) SWIG_fail;
25365 }
25366 {
25367 PyThreadState* __tstate = wxPyBeginAllowThreads();
25368 (arg1)->SetImageList(arg2,arg3);
25369
25370 wxPyEndAllowThreads(__tstate);
25371 if (PyErr_Occurred()) SWIG_fail;
25372 }
25373 Py_INCREF(Py_None); resultobj = Py_None;
25374 return resultobj;
25375 fail:
25376 return NULL;
25377 }
25378
25379
25380 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25381 PyObject *resultobj;
25382 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25383 wxImageList *arg2 = (wxImageList *) 0 ;
25384 int arg3 ;
25385 PyObject * obj0 = 0 ;
25386 PyObject * obj1 = 0 ;
25387 PyObject * obj2 = 0 ;
25388 char *kwnames[] = {
25389 (char *) "self",(char *) "imageList",(char *) "which", NULL
25390 };
25391
25392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25394 if (SWIG_arg_fail(1)) SWIG_fail;
25395 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25396 if (SWIG_arg_fail(2)) SWIG_fail;
25397 {
25398 arg3 = (int)(SWIG_As_int(obj2));
25399 if (SWIG_arg_fail(3)) SWIG_fail;
25400 }
25401 {
25402 PyThreadState* __tstate = wxPyBeginAllowThreads();
25403 (arg1)->AssignImageList(arg2,arg3);
25404
25405 wxPyEndAllowThreads(__tstate);
25406 if (PyErr_Occurred()) SWIG_fail;
25407 }
25408 Py_INCREF(Py_None); resultobj = Py_None;
25409 return resultobj;
25410 fail:
25411 return NULL;
25412 }
25413
25414
25415 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25416 PyObject *resultobj;
25417 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25418 bool result;
25419 PyObject * obj0 = 0 ;
25420 char *kwnames[] = {
25421 (char *) "self", NULL
25422 };
25423
25424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25426 if (SWIG_arg_fail(1)) SWIG_fail;
25427 {
25428 PyThreadState* __tstate = wxPyBeginAllowThreads();
25429 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25430
25431 wxPyEndAllowThreads(__tstate);
25432 if (PyErr_Occurred()) SWIG_fail;
25433 }
25434 {
25435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25436 }
25437 return resultobj;
25438 fail:
25439 return NULL;
25440 }
25441
25442
25443 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25444 PyObject *resultobj;
25445 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25446 bool result;
25447 PyObject * obj0 = 0 ;
25448 char *kwnames[] = {
25449 (char *) "self", NULL
25450 };
25451
25452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25454 if (SWIG_arg_fail(1)) SWIG_fail;
25455 {
25456 PyThreadState* __tstate = wxPyBeginAllowThreads();
25457 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25458
25459 wxPyEndAllowThreads(__tstate);
25460 if (PyErr_Occurred()) SWIG_fail;
25461 }
25462 {
25463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25464 }
25465 return resultobj;
25466 fail:
25467 return NULL;
25468 }
25469
25470
25471 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25472 PyObject *resultobj;
25473 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25474 long arg2 ;
25475 PyObject * obj0 = 0 ;
25476 PyObject * obj1 = 0 ;
25477 char *kwnames[] = {
25478 (char *) "self",(char *) "item", NULL
25479 };
25480
25481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
25482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25483 if (SWIG_arg_fail(1)) SWIG_fail;
25484 {
25485 arg2 = (long)(SWIG_As_long(obj1));
25486 if (SWIG_arg_fail(2)) SWIG_fail;
25487 }
25488 {
25489 PyThreadState* __tstate = wxPyBeginAllowThreads();
25490 (arg1)->RefreshItem(arg2);
25491
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 Py_INCREF(Py_None); resultobj = Py_None;
25496 return resultobj;
25497 fail:
25498 return NULL;
25499 }
25500
25501
25502 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25503 PyObject *resultobj;
25504 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25505 long arg2 ;
25506 long arg3 ;
25507 PyObject * obj0 = 0 ;
25508 PyObject * obj1 = 0 ;
25509 PyObject * obj2 = 0 ;
25510 char *kwnames[] = {
25511 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25512 };
25513
25514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25516 if (SWIG_arg_fail(1)) SWIG_fail;
25517 {
25518 arg2 = (long)(SWIG_As_long(obj1));
25519 if (SWIG_arg_fail(2)) SWIG_fail;
25520 }
25521 {
25522 arg3 = (long)(SWIG_As_long(obj2));
25523 if (SWIG_arg_fail(3)) SWIG_fail;
25524 }
25525 {
25526 PyThreadState* __tstate = wxPyBeginAllowThreads();
25527 (arg1)->RefreshItems(arg2,arg3);
25528
25529 wxPyEndAllowThreads(__tstate);
25530 if (PyErr_Occurred()) SWIG_fail;
25531 }
25532 Py_INCREF(Py_None); resultobj = Py_None;
25533 return resultobj;
25534 fail:
25535 return NULL;
25536 }
25537
25538
25539 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25540 PyObject *resultobj;
25541 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25542 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25543 bool result;
25544 PyObject * obj0 = 0 ;
25545 PyObject * obj1 = 0 ;
25546 char *kwnames[] = {
25547 (char *) "self",(char *) "flag", NULL
25548 };
25549
25550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25552 if (SWIG_arg_fail(1)) SWIG_fail;
25553 if (obj1) {
25554 {
25555 arg2 = (int)(SWIG_As_int(obj1));
25556 if (SWIG_arg_fail(2)) SWIG_fail;
25557 }
25558 }
25559 {
25560 PyThreadState* __tstate = wxPyBeginAllowThreads();
25561 result = (bool)(arg1)->Arrange(arg2);
25562
25563 wxPyEndAllowThreads(__tstate);
25564 if (PyErr_Occurred()) SWIG_fail;
25565 }
25566 {
25567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25568 }
25569 return resultobj;
25570 fail:
25571 return NULL;
25572 }
25573
25574
25575 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25576 PyObject *resultobj;
25577 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25578 long arg2 ;
25579 bool result;
25580 PyObject * obj0 = 0 ;
25581 PyObject * obj1 = 0 ;
25582 char *kwnames[] = {
25583 (char *) "self",(char *) "item", NULL
25584 };
25585
25586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25588 if (SWIG_arg_fail(1)) SWIG_fail;
25589 {
25590 arg2 = (long)(SWIG_As_long(obj1));
25591 if (SWIG_arg_fail(2)) SWIG_fail;
25592 }
25593 {
25594 PyThreadState* __tstate = wxPyBeginAllowThreads();
25595 result = (bool)(arg1)->DeleteItem(arg2);
25596
25597 wxPyEndAllowThreads(__tstate);
25598 if (PyErr_Occurred()) SWIG_fail;
25599 }
25600 {
25601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25602 }
25603 return resultobj;
25604 fail:
25605 return NULL;
25606 }
25607
25608
25609 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25610 PyObject *resultobj;
25611 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25612 bool result;
25613 PyObject * obj0 = 0 ;
25614 char *kwnames[] = {
25615 (char *) "self", NULL
25616 };
25617
25618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25620 if (SWIG_arg_fail(1)) SWIG_fail;
25621 {
25622 PyThreadState* __tstate = wxPyBeginAllowThreads();
25623 result = (bool)(arg1)->DeleteAllItems();
25624
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 {
25629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25630 }
25631 return resultobj;
25632 fail:
25633 return NULL;
25634 }
25635
25636
25637 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25638 PyObject *resultobj;
25639 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25640 int arg2 ;
25641 bool result;
25642 PyObject * obj0 = 0 ;
25643 PyObject * obj1 = 0 ;
25644 char *kwnames[] = {
25645 (char *) "self",(char *) "col", NULL
25646 };
25647
25648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25650 if (SWIG_arg_fail(1)) SWIG_fail;
25651 {
25652 arg2 = (int)(SWIG_As_int(obj1));
25653 if (SWIG_arg_fail(2)) SWIG_fail;
25654 }
25655 {
25656 PyThreadState* __tstate = wxPyBeginAllowThreads();
25657 result = (bool)(arg1)->DeleteColumn(arg2);
25658
25659 wxPyEndAllowThreads(__tstate);
25660 if (PyErr_Occurred()) SWIG_fail;
25661 }
25662 {
25663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25664 }
25665 return resultobj;
25666 fail:
25667 return NULL;
25668 }
25669
25670
25671 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25672 PyObject *resultobj;
25673 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25674 bool result;
25675 PyObject * obj0 = 0 ;
25676 char *kwnames[] = {
25677 (char *) "self", NULL
25678 };
25679
25680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25682 if (SWIG_arg_fail(1)) SWIG_fail;
25683 {
25684 PyThreadState* __tstate = wxPyBeginAllowThreads();
25685 result = (bool)(arg1)->DeleteAllColumns();
25686
25687 wxPyEndAllowThreads(__tstate);
25688 if (PyErr_Occurred()) SWIG_fail;
25689 }
25690 {
25691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25692 }
25693 return resultobj;
25694 fail:
25695 return NULL;
25696 }
25697
25698
25699 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25700 PyObject *resultobj;
25701 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25702 PyObject * obj0 = 0 ;
25703 char *kwnames[] = {
25704 (char *) "self", NULL
25705 };
25706
25707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25709 if (SWIG_arg_fail(1)) SWIG_fail;
25710 {
25711 PyThreadState* __tstate = wxPyBeginAllowThreads();
25712 (arg1)->ClearAll();
25713
25714 wxPyEndAllowThreads(__tstate);
25715 if (PyErr_Occurred()) SWIG_fail;
25716 }
25717 Py_INCREF(Py_None); resultobj = Py_None;
25718 return resultobj;
25719 fail:
25720 return NULL;
25721 }
25722
25723
25724 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25725 PyObject *resultobj;
25726 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25727 long arg2 ;
25728 wxTextCtrl *result;
25729 PyObject * obj0 = 0 ;
25730 PyObject * obj1 = 0 ;
25731 char *kwnames[] = {
25732 (char *) "self",(char *) "item", NULL
25733 };
25734
25735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25737 if (SWIG_arg_fail(1)) SWIG_fail;
25738 {
25739 arg2 = (long)(SWIG_As_long(obj1));
25740 if (SWIG_arg_fail(2)) SWIG_fail;
25741 }
25742 {
25743 PyThreadState* __tstate = wxPyBeginAllowThreads();
25744 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
25745
25746 wxPyEndAllowThreads(__tstate);
25747 if (PyErr_Occurred()) SWIG_fail;
25748 }
25749 {
25750 resultobj = wxPyMake_wxObject(result, 0);
25751 }
25752 return resultobj;
25753 fail:
25754 return NULL;
25755 }
25756
25757
25758 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25759 PyObject *resultobj;
25760 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25761 bool arg2 ;
25762 bool result;
25763 PyObject * obj0 = 0 ;
25764 PyObject * obj1 = 0 ;
25765 char *kwnames[] = {
25766 (char *) "self",(char *) "cancel", NULL
25767 };
25768
25769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
25770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25771 if (SWIG_arg_fail(1)) SWIG_fail;
25772 {
25773 arg2 = (bool)(SWIG_As_bool(obj1));
25774 if (SWIG_arg_fail(2)) SWIG_fail;
25775 }
25776 {
25777 PyThreadState* __tstate = wxPyBeginAllowThreads();
25778 result = (bool)(arg1)->EndEditLabel(arg2);
25779
25780 wxPyEndAllowThreads(__tstate);
25781 if (PyErr_Occurred()) SWIG_fail;
25782 }
25783 {
25784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25785 }
25786 return resultobj;
25787 fail:
25788 return NULL;
25789 }
25790
25791
25792 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25793 PyObject *resultobj;
25794 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25795 long arg2 ;
25796 bool result;
25797 PyObject * obj0 = 0 ;
25798 PyObject * obj1 = 0 ;
25799 char *kwnames[] = {
25800 (char *) "self",(char *) "item", NULL
25801 };
25802
25803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25805 if (SWIG_arg_fail(1)) SWIG_fail;
25806 {
25807 arg2 = (long)(SWIG_As_long(obj1));
25808 if (SWIG_arg_fail(2)) SWIG_fail;
25809 }
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 result = (bool)(arg1)->EnsureVisible(arg2);
25813
25814 wxPyEndAllowThreads(__tstate);
25815 if (PyErr_Occurred()) SWIG_fail;
25816 }
25817 {
25818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25819 }
25820 return resultobj;
25821 fail:
25822 return NULL;
25823 }
25824
25825
25826 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25827 PyObject *resultobj;
25828 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25829 long arg2 ;
25830 wxString *arg3 = 0 ;
25831 bool arg4 = (bool) false ;
25832 long result;
25833 bool temp3 = false ;
25834 PyObject * obj0 = 0 ;
25835 PyObject * obj1 = 0 ;
25836 PyObject * obj2 = 0 ;
25837 PyObject * obj3 = 0 ;
25838 char *kwnames[] = {
25839 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25840 };
25841
25842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25844 if (SWIG_arg_fail(1)) SWIG_fail;
25845 {
25846 arg2 = (long)(SWIG_As_long(obj1));
25847 if (SWIG_arg_fail(2)) SWIG_fail;
25848 }
25849 {
25850 arg3 = wxString_in_helper(obj2);
25851 if (arg3 == NULL) SWIG_fail;
25852 temp3 = true;
25853 }
25854 if (obj3) {
25855 {
25856 arg4 = (bool)(SWIG_As_bool(obj3));
25857 if (SWIG_arg_fail(4)) SWIG_fail;
25858 }
25859 }
25860 {
25861 PyThreadState* __tstate = wxPyBeginAllowThreads();
25862 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25863
25864 wxPyEndAllowThreads(__tstate);
25865 if (PyErr_Occurred()) SWIG_fail;
25866 }
25867 {
25868 resultobj = SWIG_From_long((long)(result));
25869 }
25870 {
25871 if (temp3)
25872 delete arg3;
25873 }
25874 return resultobj;
25875 fail:
25876 {
25877 if (temp3)
25878 delete arg3;
25879 }
25880 return NULL;
25881 }
25882
25883
25884 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25885 PyObject *resultobj;
25886 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25887 long arg2 ;
25888 long arg3 ;
25889 long result;
25890 PyObject * obj0 = 0 ;
25891 PyObject * obj1 = 0 ;
25892 PyObject * obj2 = 0 ;
25893 char *kwnames[] = {
25894 (char *) "self",(char *) "start",(char *) "data", NULL
25895 };
25896
25897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25899 if (SWIG_arg_fail(1)) SWIG_fail;
25900 {
25901 arg2 = (long)(SWIG_As_long(obj1));
25902 if (SWIG_arg_fail(2)) SWIG_fail;
25903 }
25904 {
25905 arg3 = (long)(SWIG_As_long(obj2));
25906 if (SWIG_arg_fail(3)) SWIG_fail;
25907 }
25908 {
25909 PyThreadState* __tstate = wxPyBeginAllowThreads();
25910 result = (long)(arg1)->FindItem(arg2,arg3);
25911
25912 wxPyEndAllowThreads(__tstate);
25913 if (PyErr_Occurred()) SWIG_fail;
25914 }
25915 {
25916 resultobj = SWIG_From_long((long)(result));
25917 }
25918 return resultobj;
25919 fail:
25920 return NULL;
25921 }
25922
25923
25924 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25925 PyObject *resultobj;
25926 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25927 long arg2 ;
25928 wxPoint *arg3 = 0 ;
25929 int arg4 ;
25930 long result;
25931 wxPoint temp3 ;
25932 PyObject * obj0 = 0 ;
25933 PyObject * obj1 = 0 ;
25934 PyObject * obj2 = 0 ;
25935 PyObject * obj3 = 0 ;
25936 char *kwnames[] = {
25937 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25938 };
25939
25940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25942 if (SWIG_arg_fail(1)) SWIG_fail;
25943 {
25944 arg2 = (long)(SWIG_As_long(obj1));
25945 if (SWIG_arg_fail(2)) SWIG_fail;
25946 }
25947 {
25948 arg3 = &temp3;
25949 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25950 }
25951 {
25952 arg4 = (int)(SWIG_As_int(obj3));
25953 if (SWIG_arg_fail(4)) SWIG_fail;
25954 }
25955 {
25956 PyThreadState* __tstate = wxPyBeginAllowThreads();
25957 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25958
25959 wxPyEndAllowThreads(__tstate);
25960 if (PyErr_Occurred()) SWIG_fail;
25961 }
25962 {
25963 resultobj = SWIG_From_long((long)(result));
25964 }
25965 return resultobj;
25966 fail:
25967 return NULL;
25968 }
25969
25970
25971 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25972 PyObject *resultobj;
25973 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25974 wxPoint *arg2 = 0 ;
25975 int *arg3 = 0 ;
25976 long result;
25977 wxPoint temp2 ;
25978 int temp3 ;
25979 int res3 = 0 ;
25980 PyObject * obj0 = 0 ;
25981 PyObject * obj1 = 0 ;
25982 char *kwnames[] = {
25983 (char *) "self",(char *) "point", NULL
25984 };
25985
25986 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25989 if (SWIG_arg_fail(1)) SWIG_fail;
25990 {
25991 arg2 = &temp2;
25992 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25993 }
25994 {
25995 PyThreadState* __tstate = wxPyBeginAllowThreads();
25996 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25997
25998 wxPyEndAllowThreads(__tstate);
25999 if (PyErr_Occurred()) SWIG_fail;
26000 }
26001 {
26002 resultobj = SWIG_From_long((long)(result));
26003 }
26004 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
26005 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
26006 return resultobj;
26007 fail:
26008 return NULL;
26009 }
26010
26011
26012 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
26013 PyObject *resultobj;
26014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26015 wxListItem *arg2 = 0 ;
26016 long result;
26017 PyObject * obj0 = 0 ;
26018 PyObject * obj1 = 0 ;
26019 char *kwnames[] = {
26020 (char *) "self",(char *) "info", NULL
26021 };
26022
26023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
26024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26025 if (SWIG_arg_fail(1)) SWIG_fail;
26026 {
26027 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26028 if (SWIG_arg_fail(2)) SWIG_fail;
26029 if (arg2 == NULL) {
26030 SWIG_null_ref("wxListItem");
26031 }
26032 if (SWIG_arg_fail(2)) SWIG_fail;
26033 }
26034 {
26035 PyThreadState* __tstate = wxPyBeginAllowThreads();
26036 result = (long)(arg1)->InsertItem(*arg2);
26037
26038 wxPyEndAllowThreads(__tstate);
26039 if (PyErr_Occurred()) SWIG_fail;
26040 }
26041 {
26042 resultobj = SWIG_From_long((long)(result));
26043 }
26044 return resultobj;
26045 fail:
26046 return NULL;
26047 }
26048
26049
26050 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26051 PyObject *resultobj;
26052 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26053 long arg2 ;
26054 wxString *arg3 = 0 ;
26055 long result;
26056 bool temp3 = false ;
26057 PyObject * obj0 = 0 ;
26058 PyObject * obj1 = 0 ;
26059 PyObject * obj2 = 0 ;
26060 char *kwnames[] = {
26061 (char *) "self",(char *) "index",(char *) "label", NULL
26062 };
26063
26064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26066 if (SWIG_arg_fail(1)) SWIG_fail;
26067 {
26068 arg2 = (long)(SWIG_As_long(obj1));
26069 if (SWIG_arg_fail(2)) SWIG_fail;
26070 }
26071 {
26072 arg3 = wxString_in_helper(obj2);
26073 if (arg3 == NULL) SWIG_fail;
26074 temp3 = true;
26075 }
26076 {
26077 PyThreadState* __tstate = wxPyBeginAllowThreads();
26078 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
26079
26080 wxPyEndAllowThreads(__tstate);
26081 if (PyErr_Occurred()) SWIG_fail;
26082 }
26083 {
26084 resultobj = SWIG_From_long((long)(result));
26085 }
26086 {
26087 if (temp3)
26088 delete arg3;
26089 }
26090 return resultobj;
26091 fail:
26092 {
26093 if (temp3)
26094 delete arg3;
26095 }
26096 return NULL;
26097 }
26098
26099
26100 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
26101 PyObject *resultobj;
26102 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26103 long arg2 ;
26104 int arg3 ;
26105 long result;
26106 PyObject * obj0 = 0 ;
26107 PyObject * obj1 = 0 ;
26108 PyObject * obj2 = 0 ;
26109 char *kwnames[] = {
26110 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26111 };
26112
26113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26115 if (SWIG_arg_fail(1)) SWIG_fail;
26116 {
26117 arg2 = (long)(SWIG_As_long(obj1));
26118 if (SWIG_arg_fail(2)) SWIG_fail;
26119 }
26120 {
26121 arg3 = (int)(SWIG_As_int(obj2));
26122 if (SWIG_arg_fail(3)) SWIG_fail;
26123 }
26124 {
26125 PyThreadState* __tstate = wxPyBeginAllowThreads();
26126 result = (long)(arg1)->InsertItem(arg2,arg3);
26127
26128 wxPyEndAllowThreads(__tstate);
26129 if (PyErr_Occurred()) SWIG_fail;
26130 }
26131 {
26132 resultobj = SWIG_From_long((long)(result));
26133 }
26134 return resultobj;
26135 fail:
26136 return NULL;
26137 }
26138
26139
26140 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26141 PyObject *resultobj;
26142 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26143 long arg2 ;
26144 wxString *arg3 = 0 ;
26145 int arg4 ;
26146 long result;
26147 bool temp3 = false ;
26148 PyObject * obj0 = 0 ;
26149 PyObject * obj1 = 0 ;
26150 PyObject * obj2 = 0 ;
26151 PyObject * obj3 = 0 ;
26152 char *kwnames[] = {
26153 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26154 };
26155
26156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26158 if (SWIG_arg_fail(1)) SWIG_fail;
26159 {
26160 arg2 = (long)(SWIG_As_long(obj1));
26161 if (SWIG_arg_fail(2)) SWIG_fail;
26162 }
26163 {
26164 arg3 = wxString_in_helper(obj2);
26165 if (arg3 == NULL) SWIG_fail;
26166 temp3 = true;
26167 }
26168 {
26169 arg4 = (int)(SWIG_As_int(obj3));
26170 if (SWIG_arg_fail(4)) SWIG_fail;
26171 }
26172 {
26173 PyThreadState* __tstate = wxPyBeginAllowThreads();
26174 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26175
26176 wxPyEndAllowThreads(__tstate);
26177 if (PyErr_Occurred()) SWIG_fail;
26178 }
26179 {
26180 resultobj = SWIG_From_long((long)(result));
26181 }
26182 {
26183 if (temp3)
26184 delete arg3;
26185 }
26186 return resultobj;
26187 fail:
26188 {
26189 if (temp3)
26190 delete arg3;
26191 }
26192 return NULL;
26193 }
26194
26195
26196 static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
26197 PyObject *resultobj;
26198 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26199 long arg2 ;
26200 wxListItem *arg3 = 0 ;
26201 long result;
26202 PyObject * obj0 = 0 ;
26203 PyObject * obj1 = 0 ;
26204 PyObject * obj2 = 0 ;
26205 char *kwnames[] = {
26206 (char *) "self",(char *) "col",(char *) "info", NULL
26207 };
26208
26209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26211 if (SWIG_arg_fail(1)) SWIG_fail;
26212 {
26213 arg2 = (long)(SWIG_As_long(obj1));
26214 if (SWIG_arg_fail(2)) SWIG_fail;
26215 }
26216 {
26217 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26218 if (SWIG_arg_fail(3)) SWIG_fail;
26219 if (arg3 == NULL) {
26220 SWIG_null_ref("wxListItem");
26221 }
26222 if (SWIG_arg_fail(3)) SWIG_fail;
26223 }
26224 {
26225 PyThreadState* __tstate = wxPyBeginAllowThreads();
26226 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26227
26228 wxPyEndAllowThreads(__tstate);
26229 if (PyErr_Occurred()) SWIG_fail;
26230 }
26231 {
26232 resultobj = SWIG_From_long((long)(result));
26233 }
26234 return resultobj;
26235 fail:
26236 return NULL;
26237 }
26238
26239
26240 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26241 PyObject *resultobj;
26242 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26243 long arg2 ;
26244 wxString *arg3 = 0 ;
26245 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26246 int arg5 = (int) -1 ;
26247 long result;
26248 bool temp3 = false ;
26249 PyObject * obj0 = 0 ;
26250 PyObject * obj1 = 0 ;
26251 PyObject * obj2 = 0 ;
26252 PyObject * obj3 = 0 ;
26253 PyObject * obj4 = 0 ;
26254 char *kwnames[] = {
26255 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26256 };
26257
26258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26260 if (SWIG_arg_fail(1)) SWIG_fail;
26261 {
26262 arg2 = (long)(SWIG_As_long(obj1));
26263 if (SWIG_arg_fail(2)) SWIG_fail;
26264 }
26265 {
26266 arg3 = wxString_in_helper(obj2);
26267 if (arg3 == NULL) SWIG_fail;
26268 temp3 = true;
26269 }
26270 if (obj3) {
26271 {
26272 arg4 = (int)(SWIG_As_int(obj3));
26273 if (SWIG_arg_fail(4)) SWIG_fail;
26274 }
26275 }
26276 if (obj4) {
26277 {
26278 arg5 = (int)(SWIG_As_int(obj4));
26279 if (SWIG_arg_fail(5)) SWIG_fail;
26280 }
26281 }
26282 {
26283 PyThreadState* __tstate = wxPyBeginAllowThreads();
26284 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26285
26286 wxPyEndAllowThreads(__tstate);
26287 if (PyErr_Occurred()) SWIG_fail;
26288 }
26289 {
26290 resultobj = SWIG_From_long((long)(result));
26291 }
26292 {
26293 if (temp3)
26294 delete arg3;
26295 }
26296 return resultobj;
26297 fail:
26298 {
26299 if (temp3)
26300 delete arg3;
26301 }
26302 return NULL;
26303 }
26304
26305
26306 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26307 PyObject *resultobj;
26308 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26309 long arg2 ;
26310 PyObject * obj0 = 0 ;
26311 PyObject * obj1 = 0 ;
26312 char *kwnames[] = {
26313 (char *) "self",(char *) "count", NULL
26314 };
26315
26316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26318 if (SWIG_arg_fail(1)) SWIG_fail;
26319 {
26320 arg2 = (long)(SWIG_As_long(obj1));
26321 if (SWIG_arg_fail(2)) SWIG_fail;
26322 }
26323 {
26324 PyThreadState* __tstate = wxPyBeginAllowThreads();
26325 (arg1)->SetItemCount(arg2);
26326
26327 wxPyEndAllowThreads(__tstate);
26328 if (PyErr_Occurred()) SWIG_fail;
26329 }
26330 Py_INCREF(Py_None); resultobj = Py_None;
26331 return resultobj;
26332 fail:
26333 return NULL;
26334 }
26335
26336
26337 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26338 PyObject *resultobj;
26339 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26340 int arg2 ;
26341 int arg3 ;
26342 bool result;
26343 PyObject * obj0 = 0 ;
26344 PyObject * obj1 = 0 ;
26345 PyObject * obj2 = 0 ;
26346 char *kwnames[] = {
26347 (char *) "self",(char *) "dx",(char *) "dy", NULL
26348 };
26349
26350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26352 if (SWIG_arg_fail(1)) SWIG_fail;
26353 {
26354 arg2 = (int)(SWIG_As_int(obj1));
26355 if (SWIG_arg_fail(2)) SWIG_fail;
26356 }
26357 {
26358 arg3 = (int)(SWIG_As_int(obj2));
26359 if (SWIG_arg_fail(3)) SWIG_fail;
26360 }
26361 {
26362 PyThreadState* __tstate = wxPyBeginAllowThreads();
26363 result = (bool)(arg1)->ScrollList(arg2,arg3);
26364
26365 wxPyEndAllowThreads(__tstate);
26366 if (PyErr_Occurred()) SWIG_fail;
26367 }
26368 {
26369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26370 }
26371 return resultobj;
26372 fail:
26373 return NULL;
26374 }
26375
26376
26377 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26378 PyObject *resultobj;
26379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26380 long arg2 ;
26381 wxColour *arg3 = 0 ;
26382 wxColour temp3 ;
26383 PyObject * obj0 = 0 ;
26384 PyObject * obj1 = 0 ;
26385 PyObject * obj2 = 0 ;
26386 char *kwnames[] = {
26387 (char *) "self",(char *) "item",(char *) "col", NULL
26388 };
26389
26390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26392 if (SWIG_arg_fail(1)) SWIG_fail;
26393 {
26394 arg2 = (long)(SWIG_As_long(obj1));
26395 if (SWIG_arg_fail(2)) SWIG_fail;
26396 }
26397 {
26398 arg3 = &temp3;
26399 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26400 }
26401 {
26402 PyThreadState* __tstate = wxPyBeginAllowThreads();
26403 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26404
26405 wxPyEndAllowThreads(__tstate);
26406 if (PyErr_Occurred()) SWIG_fail;
26407 }
26408 Py_INCREF(Py_None); resultobj = Py_None;
26409 return resultobj;
26410 fail:
26411 return NULL;
26412 }
26413
26414
26415 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26416 PyObject *resultobj;
26417 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26418 long arg2 ;
26419 wxColour result;
26420 PyObject * obj0 = 0 ;
26421 PyObject * obj1 = 0 ;
26422 char *kwnames[] = {
26423 (char *) "self",(char *) "item", NULL
26424 };
26425
26426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
26435 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26436
26437 wxPyEndAllowThreads(__tstate);
26438 if (PyErr_Occurred()) SWIG_fail;
26439 }
26440 {
26441 wxColour * resultptr;
26442 resultptr = new wxColour((wxColour &)(result));
26443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26444 }
26445 return resultobj;
26446 fail:
26447 return NULL;
26448 }
26449
26450
26451 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26452 PyObject *resultobj;
26453 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26454 long arg2 ;
26455 wxColour *arg3 = 0 ;
26456 wxColour temp3 ;
26457 PyObject * obj0 = 0 ;
26458 PyObject * obj1 = 0 ;
26459 PyObject * obj2 = 0 ;
26460 char *kwnames[] = {
26461 (char *) "self",(char *) "item",(char *) "col", NULL
26462 };
26463
26464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26466 if (SWIG_arg_fail(1)) SWIG_fail;
26467 {
26468 arg2 = (long)(SWIG_As_long(obj1));
26469 if (SWIG_arg_fail(2)) SWIG_fail;
26470 }
26471 {
26472 arg3 = &temp3;
26473 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26474 }
26475 {
26476 PyThreadState* __tstate = wxPyBeginAllowThreads();
26477 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26478
26479 wxPyEndAllowThreads(__tstate);
26480 if (PyErr_Occurred()) SWIG_fail;
26481 }
26482 Py_INCREF(Py_None); resultobj = Py_None;
26483 return resultobj;
26484 fail:
26485 return NULL;
26486 }
26487
26488
26489 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26490 PyObject *resultobj;
26491 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26492 long arg2 ;
26493 wxColour result;
26494 PyObject * obj0 = 0 ;
26495 PyObject * obj1 = 0 ;
26496 char *kwnames[] = {
26497 (char *) "self",(char *) "item", NULL
26498 };
26499
26500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26502 if (SWIG_arg_fail(1)) SWIG_fail;
26503 {
26504 arg2 = (long)(SWIG_As_long(obj1));
26505 if (SWIG_arg_fail(2)) SWIG_fail;
26506 }
26507 {
26508 PyThreadState* __tstate = wxPyBeginAllowThreads();
26509 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26510
26511 wxPyEndAllowThreads(__tstate);
26512 if (PyErr_Occurred()) SWIG_fail;
26513 }
26514 {
26515 wxColour * resultptr;
26516 resultptr = new wxColour((wxColour &)(result));
26517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26518 }
26519 return resultobj;
26520 fail:
26521 return NULL;
26522 }
26523
26524
26525 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26526 PyObject *resultobj;
26527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26528 PyObject *arg2 = (PyObject *) 0 ;
26529 bool result;
26530 PyObject * obj0 = 0 ;
26531 PyObject * obj1 = 0 ;
26532 char *kwnames[] = {
26533 (char *) "self",(char *) "func", NULL
26534 };
26535
26536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26538 if (SWIG_arg_fail(1)) SWIG_fail;
26539 arg2 = obj1;
26540 {
26541 PyThreadState* __tstate = wxPyBeginAllowThreads();
26542 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26543
26544 wxPyEndAllowThreads(__tstate);
26545 if (PyErr_Occurred()) SWIG_fail;
26546 }
26547 {
26548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26549 }
26550 return resultobj;
26551 fail:
26552 return NULL;
26553 }
26554
26555
26556 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26557 PyObject *resultobj;
26558 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26559 wxWindow *result;
26560 PyObject * obj0 = 0 ;
26561 char *kwnames[] = {
26562 (char *) "self", NULL
26563 };
26564
26565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26567 if (SWIG_arg_fail(1)) SWIG_fail;
26568 {
26569 PyThreadState* __tstate = wxPyBeginAllowThreads();
26570 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26571
26572 wxPyEndAllowThreads(__tstate);
26573 if (PyErr_Occurred()) SWIG_fail;
26574 }
26575 {
26576 resultobj = wxPyMake_wxObject(result, 0);
26577 }
26578 return resultobj;
26579 fail:
26580 return NULL;
26581 }
26582
26583
26584 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26585 PyObject *resultobj;
26586 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26587 wxVisualAttributes result;
26588 PyObject * obj0 = 0 ;
26589 char *kwnames[] = {
26590 (char *) "variant", NULL
26591 };
26592
26593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26594 if (obj0) {
26595 {
26596 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26597 if (SWIG_arg_fail(1)) SWIG_fail;
26598 }
26599 }
26600 {
26601 if (!wxPyCheckForApp()) SWIG_fail;
26602 PyThreadState* __tstate = wxPyBeginAllowThreads();
26603 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26604
26605 wxPyEndAllowThreads(__tstate);
26606 if (PyErr_Occurred()) SWIG_fail;
26607 }
26608 {
26609 wxVisualAttributes * resultptr;
26610 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
26611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26612 }
26613 return resultobj;
26614 fail:
26615 return NULL;
26616 }
26617
26618
26619 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26620 PyObject *obj;
26621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26622 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26623 Py_INCREF(obj);
26624 return Py_BuildValue((char *)"");
26625 }
26626 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26627 PyObject *resultobj;
26628 wxWindow *arg1 = (wxWindow *) 0 ;
26629 int arg2 = (int) -1 ;
26630 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26631 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26632 wxSize const &arg4_defvalue = wxDefaultSize ;
26633 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26634 long arg5 = (long) wxLC_REPORT ;
26635 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26636 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26637 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26638 wxString *arg7 = (wxString *) &arg7_defvalue ;
26639 wxListView *result;
26640 wxPoint temp3 ;
26641 wxSize temp4 ;
26642 bool temp7 = false ;
26643 PyObject * obj0 = 0 ;
26644 PyObject * obj1 = 0 ;
26645 PyObject * obj2 = 0 ;
26646 PyObject * obj3 = 0 ;
26647 PyObject * obj4 = 0 ;
26648 PyObject * obj5 = 0 ;
26649 PyObject * obj6 = 0 ;
26650 char *kwnames[] = {
26651 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26652 };
26653
26654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26656 if (SWIG_arg_fail(1)) SWIG_fail;
26657 if (obj1) {
26658 {
26659 arg2 = (int)(SWIG_As_int(obj1));
26660 if (SWIG_arg_fail(2)) SWIG_fail;
26661 }
26662 }
26663 if (obj2) {
26664 {
26665 arg3 = &temp3;
26666 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26667 }
26668 }
26669 if (obj3) {
26670 {
26671 arg4 = &temp4;
26672 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26673 }
26674 }
26675 if (obj4) {
26676 {
26677 arg5 = (long)(SWIG_As_long(obj4));
26678 if (SWIG_arg_fail(5)) SWIG_fail;
26679 }
26680 }
26681 if (obj5) {
26682 {
26683 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26684 if (SWIG_arg_fail(6)) SWIG_fail;
26685 if (arg6 == NULL) {
26686 SWIG_null_ref("wxValidator");
26687 }
26688 if (SWIG_arg_fail(6)) SWIG_fail;
26689 }
26690 }
26691 if (obj6) {
26692 {
26693 arg7 = wxString_in_helper(obj6);
26694 if (arg7 == NULL) SWIG_fail;
26695 temp7 = true;
26696 }
26697 }
26698 {
26699 if (!wxPyCheckForApp()) SWIG_fail;
26700 PyThreadState* __tstate = wxPyBeginAllowThreads();
26701 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26702
26703 wxPyEndAllowThreads(__tstate);
26704 if (PyErr_Occurred()) SWIG_fail;
26705 }
26706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26707 {
26708 if (temp7)
26709 delete arg7;
26710 }
26711 return resultobj;
26712 fail:
26713 {
26714 if (temp7)
26715 delete arg7;
26716 }
26717 return NULL;
26718 }
26719
26720
26721 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26722 PyObject *resultobj;
26723 wxListView *result;
26724 char *kwnames[] = {
26725 NULL
26726 };
26727
26728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26729 {
26730 if (!wxPyCheckForApp()) SWIG_fail;
26731 PyThreadState* __tstate = wxPyBeginAllowThreads();
26732 result = (wxListView *)new wxListView();
26733
26734 wxPyEndAllowThreads(__tstate);
26735 if (PyErr_Occurred()) SWIG_fail;
26736 }
26737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26738 return resultobj;
26739 fail:
26740 return NULL;
26741 }
26742
26743
26744 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26745 PyObject *resultobj;
26746 wxListView *arg1 = (wxListView *) 0 ;
26747 wxWindow *arg2 = (wxWindow *) 0 ;
26748 int arg3 = (int) -1 ;
26749 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26750 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26751 wxSize const &arg5_defvalue = wxDefaultSize ;
26752 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26753 long arg6 = (long) wxLC_REPORT ;
26754 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26755 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26756 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26757 wxString *arg8 = (wxString *) &arg8_defvalue ;
26758 bool result;
26759 wxPoint temp4 ;
26760 wxSize temp5 ;
26761 bool temp8 = false ;
26762 PyObject * obj0 = 0 ;
26763 PyObject * obj1 = 0 ;
26764 PyObject * obj2 = 0 ;
26765 PyObject * obj3 = 0 ;
26766 PyObject * obj4 = 0 ;
26767 PyObject * obj5 = 0 ;
26768 PyObject * obj6 = 0 ;
26769 PyObject * obj7 = 0 ;
26770 char *kwnames[] = {
26771 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26772 };
26773
26774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26776 if (SWIG_arg_fail(1)) SWIG_fail;
26777 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26778 if (SWIG_arg_fail(2)) SWIG_fail;
26779 if (obj2) {
26780 {
26781 arg3 = (int)(SWIG_As_int(obj2));
26782 if (SWIG_arg_fail(3)) SWIG_fail;
26783 }
26784 }
26785 if (obj3) {
26786 {
26787 arg4 = &temp4;
26788 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26789 }
26790 }
26791 if (obj4) {
26792 {
26793 arg5 = &temp5;
26794 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26795 }
26796 }
26797 if (obj5) {
26798 {
26799 arg6 = (long)(SWIG_As_long(obj5));
26800 if (SWIG_arg_fail(6)) SWIG_fail;
26801 }
26802 }
26803 if (obj6) {
26804 {
26805 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26806 if (SWIG_arg_fail(7)) SWIG_fail;
26807 if (arg7 == NULL) {
26808 SWIG_null_ref("wxValidator");
26809 }
26810 if (SWIG_arg_fail(7)) SWIG_fail;
26811 }
26812 }
26813 if (obj7) {
26814 {
26815 arg8 = wxString_in_helper(obj7);
26816 if (arg8 == NULL) SWIG_fail;
26817 temp8 = true;
26818 }
26819 }
26820 {
26821 PyThreadState* __tstate = wxPyBeginAllowThreads();
26822 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26823
26824 wxPyEndAllowThreads(__tstate);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 }
26827 {
26828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26829 }
26830 {
26831 if (temp8)
26832 delete arg8;
26833 }
26834 return resultobj;
26835 fail:
26836 {
26837 if (temp8)
26838 delete arg8;
26839 }
26840 return NULL;
26841 }
26842
26843
26844 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26845 PyObject *resultobj;
26846 wxListView *arg1 = (wxListView *) 0 ;
26847 long arg2 ;
26848 bool arg3 = (bool) true ;
26849 PyObject * obj0 = 0 ;
26850 PyObject * obj1 = 0 ;
26851 PyObject * obj2 = 0 ;
26852 char *kwnames[] = {
26853 (char *) "self",(char *) "n",(char *) "on", NULL
26854 };
26855
26856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26858 if (SWIG_arg_fail(1)) SWIG_fail;
26859 {
26860 arg2 = (long)(SWIG_As_long(obj1));
26861 if (SWIG_arg_fail(2)) SWIG_fail;
26862 }
26863 if (obj2) {
26864 {
26865 arg3 = (bool)(SWIG_As_bool(obj2));
26866 if (SWIG_arg_fail(3)) SWIG_fail;
26867 }
26868 }
26869 {
26870 PyThreadState* __tstate = wxPyBeginAllowThreads();
26871 (arg1)->Select(arg2,arg3);
26872
26873 wxPyEndAllowThreads(__tstate);
26874 if (PyErr_Occurred()) SWIG_fail;
26875 }
26876 Py_INCREF(Py_None); resultobj = Py_None;
26877 return resultobj;
26878 fail:
26879 return NULL;
26880 }
26881
26882
26883 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26884 PyObject *resultobj;
26885 wxListView *arg1 = (wxListView *) 0 ;
26886 long arg2 ;
26887 PyObject * obj0 = 0 ;
26888 PyObject * obj1 = 0 ;
26889 char *kwnames[] = {
26890 (char *) "self",(char *) "index", NULL
26891 };
26892
26893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26895 if (SWIG_arg_fail(1)) SWIG_fail;
26896 {
26897 arg2 = (long)(SWIG_As_long(obj1));
26898 if (SWIG_arg_fail(2)) SWIG_fail;
26899 }
26900 {
26901 PyThreadState* __tstate = wxPyBeginAllowThreads();
26902 (arg1)->Focus(arg2);
26903
26904 wxPyEndAllowThreads(__tstate);
26905 if (PyErr_Occurred()) SWIG_fail;
26906 }
26907 Py_INCREF(Py_None); resultobj = Py_None;
26908 return resultobj;
26909 fail:
26910 return NULL;
26911 }
26912
26913
26914 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26915 PyObject *resultobj;
26916 wxListView *arg1 = (wxListView *) 0 ;
26917 long result;
26918 PyObject * obj0 = 0 ;
26919 char *kwnames[] = {
26920 (char *) "self", NULL
26921 };
26922
26923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26925 if (SWIG_arg_fail(1)) SWIG_fail;
26926 {
26927 PyThreadState* __tstate = wxPyBeginAllowThreads();
26928 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26929
26930 wxPyEndAllowThreads(__tstate);
26931 if (PyErr_Occurred()) SWIG_fail;
26932 }
26933 {
26934 resultobj = SWIG_From_long((long)(result));
26935 }
26936 return resultobj;
26937 fail:
26938 return NULL;
26939 }
26940
26941
26942 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26943 PyObject *resultobj;
26944 wxListView *arg1 = (wxListView *) 0 ;
26945 long arg2 ;
26946 long result;
26947 PyObject * obj0 = 0 ;
26948 PyObject * obj1 = 0 ;
26949 char *kwnames[] = {
26950 (char *) "self",(char *) "item", NULL
26951 };
26952
26953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
26954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26955 if (SWIG_arg_fail(1)) SWIG_fail;
26956 {
26957 arg2 = (long)(SWIG_As_long(obj1));
26958 if (SWIG_arg_fail(2)) SWIG_fail;
26959 }
26960 {
26961 PyThreadState* __tstate = wxPyBeginAllowThreads();
26962 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26963
26964 wxPyEndAllowThreads(__tstate);
26965 if (PyErr_Occurred()) SWIG_fail;
26966 }
26967 {
26968 resultobj = SWIG_From_long((long)(result));
26969 }
26970 return resultobj;
26971 fail:
26972 return NULL;
26973 }
26974
26975
26976 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26977 PyObject *resultobj;
26978 wxListView *arg1 = (wxListView *) 0 ;
26979 long result;
26980 PyObject * obj0 = 0 ;
26981 char *kwnames[] = {
26982 (char *) "self", NULL
26983 };
26984
26985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
26986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26987 if (SWIG_arg_fail(1)) SWIG_fail;
26988 {
26989 PyThreadState* __tstate = wxPyBeginAllowThreads();
26990 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26991
26992 wxPyEndAllowThreads(__tstate);
26993 if (PyErr_Occurred()) SWIG_fail;
26994 }
26995 {
26996 resultobj = SWIG_From_long((long)(result));
26997 }
26998 return resultobj;
26999 fail:
27000 return NULL;
27001 }
27002
27003
27004 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
27005 PyObject *resultobj;
27006 wxListView *arg1 = (wxListView *) 0 ;
27007 long arg2 ;
27008 bool result;
27009 PyObject * obj0 = 0 ;
27010 PyObject * obj1 = 0 ;
27011 char *kwnames[] = {
27012 (char *) "self",(char *) "index", NULL
27013 };
27014
27015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
27016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27017 if (SWIG_arg_fail(1)) SWIG_fail;
27018 {
27019 arg2 = (long)(SWIG_As_long(obj1));
27020 if (SWIG_arg_fail(2)) SWIG_fail;
27021 }
27022 {
27023 PyThreadState* __tstate = wxPyBeginAllowThreads();
27024 result = (bool)(arg1)->IsSelected(arg2);
27025
27026 wxPyEndAllowThreads(__tstate);
27027 if (PyErr_Occurred()) SWIG_fail;
27028 }
27029 {
27030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27031 }
27032 return resultobj;
27033 fail:
27034 return NULL;
27035 }
27036
27037
27038 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
27039 PyObject *resultobj;
27040 wxListView *arg1 = (wxListView *) 0 ;
27041 int arg2 ;
27042 int arg3 ;
27043 PyObject * obj0 = 0 ;
27044 PyObject * obj1 = 0 ;
27045 PyObject * obj2 = 0 ;
27046 char *kwnames[] = {
27047 (char *) "self",(char *) "col",(char *) "image", NULL
27048 };
27049
27050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
27051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27052 if (SWIG_arg_fail(1)) SWIG_fail;
27053 {
27054 arg2 = (int)(SWIG_As_int(obj1));
27055 if (SWIG_arg_fail(2)) SWIG_fail;
27056 }
27057 {
27058 arg3 = (int)(SWIG_As_int(obj2));
27059 if (SWIG_arg_fail(3)) SWIG_fail;
27060 }
27061 {
27062 PyThreadState* __tstate = wxPyBeginAllowThreads();
27063 (arg1)->SetColumnImage(arg2,arg3);
27064
27065 wxPyEndAllowThreads(__tstate);
27066 if (PyErr_Occurred()) SWIG_fail;
27067 }
27068 Py_INCREF(Py_None); resultobj = Py_None;
27069 return resultobj;
27070 fail:
27071 return NULL;
27072 }
27073
27074
27075 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
27076 PyObject *resultobj;
27077 wxListView *arg1 = (wxListView *) 0 ;
27078 int arg2 ;
27079 PyObject * obj0 = 0 ;
27080 PyObject * obj1 = 0 ;
27081 char *kwnames[] = {
27082 (char *) "self",(char *) "col", NULL
27083 };
27084
27085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
27086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27087 if (SWIG_arg_fail(1)) SWIG_fail;
27088 {
27089 arg2 = (int)(SWIG_As_int(obj1));
27090 if (SWIG_arg_fail(2)) SWIG_fail;
27091 }
27092 {
27093 PyThreadState* __tstate = wxPyBeginAllowThreads();
27094 (arg1)->ClearColumnImage(arg2);
27095
27096 wxPyEndAllowThreads(__tstate);
27097 if (PyErr_Occurred()) SWIG_fail;
27098 }
27099 Py_INCREF(Py_None); resultobj = Py_None;
27100 return resultobj;
27101 fail:
27102 return NULL;
27103 }
27104
27105
27106 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
27107 PyObject *obj;
27108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27109 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27110 Py_INCREF(obj);
27111 return Py_BuildValue((char *)"");
27112 }
27113 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
27114 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27115 return 1;
27116 }
27117
27118
27119 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
27120 PyObject *pyobj;
27121
27122 {
27123 #if wxUSE_UNICODE
27124 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27125 #else
27126 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27127 #endif
27128 }
27129 return pyobj;
27130 }
27131
27132
27133 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27134 PyObject *resultobj;
27135 wxTreeItemId *result;
27136 char *kwnames[] = {
27137 NULL
27138 };
27139
27140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27141 {
27142 PyThreadState* __tstate = wxPyBeginAllowThreads();
27143 result = (wxTreeItemId *)new wxTreeItemId();
27144
27145 wxPyEndAllowThreads(__tstate);
27146 if (PyErr_Occurred()) SWIG_fail;
27147 }
27148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27149 return resultobj;
27150 fail:
27151 return NULL;
27152 }
27153
27154
27155 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27156 PyObject *resultobj;
27157 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27158 PyObject * obj0 = 0 ;
27159 char *kwnames[] = {
27160 (char *) "self", NULL
27161 };
27162
27163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
27164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27165 if (SWIG_arg_fail(1)) SWIG_fail;
27166 {
27167 PyThreadState* __tstate = wxPyBeginAllowThreads();
27168 delete arg1;
27169
27170 wxPyEndAllowThreads(__tstate);
27171 if (PyErr_Occurred()) SWIG_fail;
27172 }
27173 Py_INCREF(Py_None); resultobj = Py_None;
27174 return resultobj;
27175 fail:
27176 return NULL;
27177 }
27178
27179
27180 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27181 PyObject *resultobj;
27182 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27183 bool result;
27184 PyObject * obj0 = 0 ;
27185 char *kwnames[] = {
27186 (char *) "self", NULL
27187 };
27188
27189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
27190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27191 if (SWIG_arg_fail(1)) SWIG_fail;
27192 {
27193 PyThreadState* __tstate = wxPyBeginAllowThreads();
27194 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27195
27196 wxPyEndAllowThreads(__tstate);
27197 if (PyErr_Occurred()) SWIG_fail;
27198 }
27199 {
27200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27201 }
27202 return resultobj;
27203 fail:
27204 return NULL;
27205 }
27206
27207
27208 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27209 PyObject *resultobj;
27210 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27211 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27212 bool result;
27213 PyObject * obj0 = 0 ;
27214 PyObject * obj1 = 0 ;
27215 char *kwnames[] = {
27216 (char *) "self",(char *) "other", NULL
27217 };
27218
27219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
27220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail;
27222 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27223 if (SWIG_arg_fail(2)) SWIG_fail;
27224 {
27225 PyThreadState* __tstate = wxPyBeginAllowThreads();
27226 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27227
27228 wxPyEndAllowThreads(__tstate);
27229 if (PyErr_Occurred()) SWIG_fail;
27230 }
27231 {
27232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27233 }
27234 return resultobj;
27235 fail:
27236 return NULL;
27237 }
27238
27239
27240 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27241 PyObject *resultobj;
27242 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27243 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27244 bool result;
27245 PyObject * obj0 = 0 ;
27246 PyObject * obj1 = 0 ;
27247 char *kwnames[] = {
27248 (char *) "self",(char *) "other", NULL
27249 };
27250
27251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
27252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail;
27254 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27255 if (SWIG_arg_fail(2)) SWIG_fail;
27256 {
27257 PyThreadState* __tstate = wxPyBeginAllowThreads();
27258 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27259
27260 wxPyEndAllowThreads(__tstate);
27261 if (PyErr_Occurred()) SWIG_fail;
27262 }
27263 {
27264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27265 }
27266 return resultobj;
27267 fail:
27268 return NULL;
27269 }
27270
27271
27272 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27273 PyObject *resultobj;
27274 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27275 void *arg2 = (void *) 0 ;
27276 PyObject * obj0 = 0 ;
27277 PyObject * obj1 = 0 ;
27278 char *kwnames[] = {
27279 (char *) "self",(char *) "m_pItem", NULL
27280 };
27281
27282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27284 if (SWIG_arg_fail(1)) SWIG_fail;
27285 {
27286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27287 SWIG_arg_fail(2);SWIG_fail;
27288 }
27289 }
27290 if (arg1) (arg1)->m_pItem = arg2;
27291
27292 Py_INCREF(Py_None); resultobj = Py_None;
27293 return resultobj;
27294 fail:
27295 return NULL;
27296 }
27297
27298
27299 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27300 PyObject *resultobj;
27301 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27302 void *result;
27303 PyObject * obj0 = 0 ;
27304 char *kwnames[] = {
27305 (char *) "self", NULL
27306 };
27307
27308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27310 if (SWIG_arg_fail(1)) SWIG_fail;
27311 result = (void *) ((arg1)->m_pItem);
27312
27313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27314 return resultobj;
27315 fail:
27316 return NULL;
27317 }
27318
27319
27320 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27321 PyObject *obj;
27322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27323 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27324 Py_INCREF(obj);
27325 return Py_BuildValue((char *)"");
27326 }
27327 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27328 PyObject *resultobj;
27329 PyObject *arg1 = (PyObject *) NULL ;
27330 wxPyTreeItemData *result;
27331 PyObject * obj0 = 0 ;
27332 char *kwnames[] = {
27333 (char *) "obj", NULL
27334 };
27335
27336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27337 if (obj0) {
27338 arg1 = obj0;
27339 }
27340 {
27341 PyThreadState* __tstate = wxPyBeginAllowThreads();
27342 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27343
27344 wxPyEndAllowThreads(__tstate);
27345 if (PyErr_Occurred()) SWIG_fail;
27346 }
27347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27348 return resultobj;
27349 fail:
27350 return NULL;
27351 }
27352
27353
27354 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27355 PyObject *resultobj;
27356 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27357 PyObject *result;
27358 PyObject * obj0 = 0 ;
27359 char *kwnames[] = {
27360 (char *) "self", NULL
27361 };
27362
27363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
27364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27365 if (SWIG_arg_fail(1)) SWIG_fail;
27366 {
27367 PyThreadState* __tstate = wxPyBeginAllowThreads();
27368 result = (PyObject *)(arg1)->GetData();
27369
27370 wxPyEndAllowThreads(__tstate);
27371 if (PyErr_Occurred()) SWIG_fail;
27372 }
27373 resultobj = result;
27374 return resultobj;
27375 fail:
27376 return NULL;
27377 }
27378
27379
27380 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27381 PyObject *resultobj;
27382 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27383 PyObject *arg2 = (PyObject *) 0 ;
27384 PyObject * obj0 = 0 ;
27385 PyObject * obj1 = 0 ;
27386 char *kwnames[] = {
27387 (char *) "self",(char *) "obj", NULL
27388 };
27389
27390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail;
27393 arg2 = obj1;
27394 {
27395 PyThreadState* __tstate = wxPyBeginAllowThreads();
27396 (arg1)->SetData(arg2);
27397
27398 wxPyEndAllowThreads(__tstate);
27399 if (PyErr_Occurred()) SWIG_fail;
27400 }
27401 Py_INCREF(Py_None); resultobj = Py_None;
27402 return resultobj;
27403 fail:
27404 return NULL;
27405 }
27406
27407
27408 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27409 PyObject *resultobj;
27410 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27411 wxTreeItemId *result;
27412 PyObject * obj0 = 0 ;
27413 char *kwnames[] = {
27414 (char *) "self", NULL
27415 };
27416
27417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27419 if (SWIG_arg_fail(1)) SWIG_fail;
27420 {
27421 PyThreadState* __tstate = wxPyBeginAllowThreads();
27422 {
27423 wxTreeItemId const &_result_ref = (arg1)->GetId();
27424 result = (wxTreeItemId *) &_result_ref;
27425 }
27426
27427 wxPyEndAllowThreads(__tstate);
27428 if (PyErr_Occurred()) SWIG_fail;
27429 }
27430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27431 return resultobj;
27432 fail:
27433 return NULL;
27434 }
27435
27436
27437 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27438 PyObject *resultobj;
27439 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27440 wxTreeItemId *arg2 = 0 ;
27441 PyObject * obj0 = 0 ;
27442 PyObject * obj1 = 0 ;
27443 char *kwnames[] = {
27444 (char *) "self",(char *) "id", NULL
27445 };
27446
27447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27449 if (SWIG_arg_fail(1)) SWIG_fail;
27450 {
27451 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27452 if (SWIG_arg_fail(2)) SWIG_fail;
27453 if (arg2 == NULL) {
27454 SWIG_null_ref("wxTreeItemId");
27455 }
27456 if (SWIG_arg_fail(2)) SWIG_fail;
27457 }
27458 {
27459 PyThreadState* __tstate = wxPyBeginAllowThreads();
27460 (arg1)->SetId((wxTreeItemId const &)*arg2);
27461
27462 wxPyEndAllowThreads(__tstate);
27463 if (PyErr_Occurred()) SWIG_fail;
27464 }
27465 Py_INCREF(Py_None); resultobj = Py_None;
27466 return resultobj;
27467 fail:
27468 return NULL;
27469 }
27470
27471
27472 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27473 PyObject *resultobj;
27474 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27475 PyObject * obj0 = 0 ;
27476 char *kwnames[] = {
27477 (char *) "self", NULL
27478 };
27479
27480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27482 if (SWIG_arg_fail(1)) SWIG_fail;
27483 {
27484 PyThreadState* __tstate = wxPyBeginAllowThreads();
27485 wxPyTreeItemData_Destroy(arg1);
27486
27487 wxPyEndAllowThreads(__tstate);
27488 if (PyErr_Occurred()) SWIG_fail;
27489 }
27490 Py_INCREF(Py_None); resultobj = Py_None;
27491 return resultobj;
27492 fail:
27493 return NULL;
27494 }
27495
27496
27497 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27498 PyObject *obj;
27499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27500 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27501 Py_INCREF(obj);
27502 return Py_BuildValue((char *)"");
27503 }
27504 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27505 PyObject *resultobj;
27506 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27507 int arg2 = (int) 0 ;
27508 wxTreeEvent *result;
27509 PyObject * obj0 = 0 ;
27510 PyObject * obj1 = 0 ;
27511 char *kwnames[] = {
27512 (char *) "commandType",(char *) "id", NULL
27513 };
27514
27515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27516 if (obj0) {
27517 {
27518 arg1 = (wxEventType)(SWIG_As_int(obj0));
27519 if (SWIG_arg_fail(1)) SWIG_fail;
27520 }
27521 }
27522 if (obj1) {
27523 {
27524 arg2 = (int)(SWIG_As_int(obj1));
27525 if (SWIG_arg_fail(2)) SWIG_fail;
27526 }
27527 }
27528 {
27529 PyThreadState* __tstate = wxPyBeginAllowThreads();
27530 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27531
27532 wxPyEndAllowThreads(__tstate);
27533 if (PyErr_Occurred()) SWIG_fail;
27534 }
27535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27536 return resultobj;
27537 fail:
27538 return NULL;
27539 }
27540
27541
27542 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27543 PyObject *resultobj;
27544 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27545 wxTreeItemId result;
27546 PyObject * obj0 = 0 ;
27547 char *kwnames[] = {
27548 (char *) "self", NULL
27549 };
27550
27551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27553 if (SWIG_arg_fail(1)) SWIG_fail;
27554 {
27555 PyThreadState* __tstate = wxPyBeginAllowThreads();
27556 result = ((wxTreeEvent const *)arg1)->GetItem();
27557
27558 wxPyEndAllowThreads(__tstate);
27559 if (PyErr_Occurred()) SWIG_fail;
27560 }
27561 {
27562 wxTreeItemId * resultptr;
27563 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27564 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27565 }
27566 return resultobj;
27567 fail:
27568 return NULL;
27569 }
27570
27571
27572 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27573 PyObject *resultobj;
27574 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27575 wxTreeItemId *arg2 = 0 ;
27576 PyObject * obj0 = 0 ;
27577 PyObject * obj1 = 0 ;
27578 char *kwnames[] = {
27579 (char *) "self",(char *) "item", NULL
27580 };
27581
27582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27584 if (SWIG_arg_fail(1)) SWIG_fail;
27585 {
27586 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27587 if (SWIG_arg_fail(2)) SWIG_fail;
27588 if (arg2 == NULL) {
27589 SWIG_null_ref("wxTreeItemId");
27590 }
27591 if (SWIG_arg_fail(2)) SWIG_fail;
27592 }
27593 {
27594 PyThreadState* __tstate = wxPyBeginAllowThreads();
27595 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27596
27597 wxPyEndAllowThreads(__tstate);
27598 if (PyErr_Occurred()) SWIG_fail;
27599 }
27600 Py_INCREF(Py_None); resultobj = Py_None;
27601 return resultobj;
27602 fail:
27603 return NULL;
27604 }
27605
27606
27607 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27608 PyObject *resultobj;
27609 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27610 wxTreeItemId result;
27611 PyObject * obj0 = 0 ;
27612 char *kwnames[] = {
27613 (char *) "self", NULL
27614 };
27615
27616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27618 if (SWIG_arg_fail(1)) SWIG_fail;
27619 {
27620 PyThreadState* __tstate = wxPyBeginAllowThreads();
27621 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27622
27623 wxPyEndAllowThreads(__tstate);
27624 if (PyErr_Occurred()) SWIG_fail;
27625 }
27626 {
27627 wxTreeItemId * resultptr;
27628 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27629 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27630 }
27631 return resultobj;
27632 fail:
27633 return NULL;
27634 }
27635
27636
27637 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27638 PyObject *resultobj;
27639 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27640 wxTreeItemId *arg2 = 0 ;
27641 PyObject * obj0 = 0 ;
27642 PyObject * obj1 = 0 ;
27643 char *kwnames[] = {
27644 (char *) "self",(char *) "item", NULL
27645 };
27646
27647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27649 if (SWIG_arg_fail(1)) SWIG_fail;
27650 {
27651 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27652 if (SWIG_arg_fail(2)) SWIG_fail;
27653 if (arg2 == NULL) {
27654 SWIG_null_ref("wxTreeItemId");
27655 }
27656 if (SWIG_arg_fail(2)) SWIG_fail;
27657 }
27658 {
27659 PyThreadState* __tstate = wxPyBeginAllowThreads();
27660 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27661
27662 wxPyEndAllowThreads(__tstate);
27663 if (PyErr_Occurred()) SWIG_fail;
27664 }
27665 Py_INCREF(Py_None); resultobj = Py_None;
27666 return resultobj;
27667 fail:
27668 return NULL;
27669 }
27670
27671
27672 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27673 PyObject *resultobj;
27674 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27675 wxPoint result;
27676 PyObject * obj0 = 0 ;
27677 char *kwnames[] = {
27678 (char *) "self", NULL
27679 };
27680
27681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27683 if (SWIG_arg_fail(1)) SWIG_fail;
27684 {
27685 PyThreadState* __tstate = wxPyBeginAllowThreads();
27686 result = ((wxTreeEvent const *)arg1)->GetPoint();
27687
27688 wxPyEndAllowThreads(__tstate);
27689 if (PyErr_Occurred()) SWIG_fail;
27690 }
27691 {
27692 wxPoint * resultptr;
27693 resultptr = new wxPoint((wxPoint &)(result));
27694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27695 }
27696 return resultobj;
27697 fail:
27698 return NULL;
27699 }
27700
27701
27702 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27703 PyObject *resultobj;
27704 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27705 wxPoint *arg2 = 0 ;
27706 wxPoint temp2 ;
27707 PyObject * obj0 = 0 ;
27708 PyObject * obj1 = 0 ;
27709 char *kwnames[] = {
27710 (char *) "self",(char *) "pt", NULL
27711 };
27712
27713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27715 if (SWIG_arg_fail(1)) SWIG_fail;
27716 {
27717 arg2 = &temp2;
27718 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27719 }
27720 {
27721 PyThreadState* __tstate = wxPyBeginAllowThreads();
27722 (arg1)->SetPoint((wxPoint const &)*arg2);
27723
27724 wxPyEndAllowThreads(__tstate);
27725 if (PyErr_Occurred()) SWIG_fail;
27726 }
27727 Py_INCREF(Py_None); resultobj = Py_None;
27728 return resultobj;
27729 fail:
27730 return NULL;
27731 }
27732
27733
27734 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27735 PyObject *resultobj;
27736 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27737 wxKeyEvent *result;
27738 PyObject * obj0 = 0 ;
27739 char *kwnames[] = {
27740 (char *) "self", NULL
27741 };
27742
27743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27745 if (SWIG_arg_fail(1)) SWIG_fail;
27746 {
27747 PyThreadState* __tstate = wxPyBeginAllowThreads();
27748 {
27749 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27750 result = (wxKeyEvent *) &_result_ref;
27751 }
27752
27753 wxPyEndAllowThreads(__tstate);
27754 if (PyErr_Occurred()) SWIG_fail;
27755 }
27756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27757 return resultobj;
27758 fail:
27759 return NULL;
27760 }
27761
27762
27763 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27764 PyObject *resultobj;
27765 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27766 int result;
27767 PyObject * obj0 = 0 ;
27768 char *kwnames[] = {
27769 (char *) "self", NULL
27770 };
27771
27772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27774 if (SWIG_arg_fail(1)) SWIG_fail;
27775 {
27776 PyThreadState* __tstate = wxPyBeginAllowThreads();
27777 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27778
27779 wxPyEndAllowThreads(__tstate);
27780 if (PyErr_Occurred()) SWIG_fail;
27781 }
27782 {
27783 resultobj = SWIG_From_int((int)(result));
27784 }
27785 return resultobj;
27786 fail:
27787 return NULL;
27788 }
27789
27790
27791 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27792 PyObject *resultobj;
27793 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27794 wxKeyEvent *arg2 = 0 ;
27795 PyObject * obj0 = 0 ;
27796 PyObject * obj1 = 0 ;
27797 char *kwnames[] = {
27798 (char *) "self",(char *) "evt", NULL
27799 };
27800
27801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
27802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27803 if (SWIG_arg_fail(1)) SWIG_fail;
27804 {
27805 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27806 if (SWIG_arg_fail(2)) SWIG_fail;
27807 if (arg2 == NULL) {
27808 SWIG_null_ref("wxKeyEvent");
27809 }
27810 if (SWIG_arg_fail(2)) SWIG_fail;
27811 }
27812 {
27813 PyThreadState* __tstate = wxPyBeginAllowThreads();
27814 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27815
27816 wxPyEndAllowThreads(__tstate);
27817 if (PyErr_Occurred()) SWIG_fail;
27818 }
27819 Py_INCREF(Py_None); resultobj = Py_None;
27820 return resultobj;
27821 fail:
27822 return NULL;
27823 }
27824
27825
27826 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27827 PyObject *resultobj;
27828 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27829 wxString *result;
27830 PyObject * obj0 = 0 ;
27831 char *kwnames[] = {
27832 (char *) "self", NULL
27833 };
27834
27835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
27836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27837 if (SWIG_arg_fail(1)) SWIG_fail;
27838 {
27839 PyThreadState* __tstate = wxPyBeginAllowThreads();
27840 {
27841 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27842 result = (wxString *) &_result_ref;
27843 }
27844
27845 wxPyEndAllowThreads(__tstate);
27846 if (PyErr_Occurred()) SWIG_fail;
27847 }
27848 {
27849 #if wxUSE_UNICODE
27850 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27851 #else
27852 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27853 #endif
27854 }
27855 return resultobj;
27856 fail:
27857 return NULL;
27858 }
27859
27860
27861 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27862 PyObject *resultobj;
27863 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27864 wxString *arg2 = 0 ;
27865 bool temp2 = false ;
27866 PyObject * obj0 = 0 ;
27867 PyObject * obj1 = 0 ;
27868 char *kwnames[] = {
27869 (char *) "self",(char *) "label", NULL
27870 };
27871
27872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27874 if (SWIG_arg_fail(1)) SWIG_fail;
27875 {
27876 arg2 = wxString_in_helper(obj1);
27877 if (arg2 == NULL) SWIG_fail;
27878 temp2 = true;
27879 }
27880 {
27881 PyThreadState* __tstate = wxPyBeginAllowThreads();
27882 (arg1)->SetLabel((wxString const &)*arg2);
27883
27884 wxPyEndAllowThreads(__tstate);
27885 if (PyErr_Occurred()) SWIG_fail;
27886 }
27887 Py_INCREF(Py_None); resultobj = Py_None;
27888 {
27889 if (temp2)
27890 delete arg2;
27891 }
27892 return resultobj;
27893 fail:
27894 {
27895 if (temp2)
27896 delete arg2;
27897 }
27898 return NULL;
27899 }
27900
27901
27902 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27903 PyObject *resultobj;
27904 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27905 bool result;
27906 PyObject * obj0 = 0 ;
27907 char *kwnames[] = {
27908 (char *) "self", NULL
27909 };
27910
27911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27913 if (SWIG_arg_fail(1)) SWIG_fail;
27914 {
27915 PyThreadState* __tstate = wxPyBeginAllowThreads();
27916 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27917
27918 wxPyEndAllowThreads(__tstate);
27919 if (PyErr_Occurred()) SWIG_fail;
27920 }
27921 {
27922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27923 }
27924 return resultobj;
27925 fail:
27926 return NULL;
27927 }
27928
27929
27930 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27931 PyObject *resultobj;
27932 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27933 bool arg2 ;
27934 PyObject * obj0 = 0 ;
27935 PyObject * obj1 = 0 ;
27936 char *kwnames[] = {
27937 (char *) "self",(char *) "editCancelled", NULL
27938 };
27939
27940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
27941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27942 if (SWIG_arg_fail(1)) SWIG_fail;
27943 {
27944 arg2 = (bool)(SWIG_As_bool(obj1));
27945 if (SWIG_arg_fail(2)) SWIG_fail;
27946 }
27947 {
27948 PyThreadState* __tstate = wxPyBeginAllowThreads();
27949 (arg1)->SetEditCanceled(arg2);
27950
27951 wxPyEndAllowThreads(__tstate);
27952 if (PyErr_Occurred()) SWIG_fail;
27953 }
27954 Py_INCREF(Py_None); resultobj = Py_None;
27955 return resultobj;
27956 fail:
27957 return NULL;
27958 }
27959
27960
27961 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27962 PyObject *resultobj;
27963 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27964 wxString *arg2 = 0 ;
27965 bool temp2 = false ;
27966 PyObject * obj0 = 0 ;
27967 PyObject * obj1 = 0 ;
27968 char *kwnames[] = {
27969 (char *) "self",(char *) "toolTip", NULL
27970 };
27971
27972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27974 if (SWIG_arg_fail(1)) SWIG_fail;
27975 {
27976 arg2 = wxString_in_helper(obj1);
27977 if (arg2 == NULL) SWIG_fail;
27978 temp2 = true;
27979 }
27980 {
27981 PyThreadState* __tstate = wxPyBeginAllowThreads();
27982 (arg1)->SetToolTip((wxString const &)*arg2);
27983
27984 wxPyEndAllowThreads(__tstate);
27985 if (PyErr_Occurred()) SWIG_fail;
27986 }
27987 Py_INCREF(Py_None); resultobj = Py_None;
27988 {
27989 if (temp2)
27990 delete arg2;
27991 }
27992 return resultobj;
27993 fail:
27994 {
27995 if (temp2)
27996 delete arg2;
27997 }
27998 return NULL;
27999 }
28000
28001
28002 static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
28003 PyObject *resultobj;
28004 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
28005 wxString result;
28006 PyObject * obj0 = 0 ;
28007 char *kwnames[] = {
28008 (char *) "self", NULL
28009 };
28010
28011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
28012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
28013 if (SWIG_arg_fail(1)) SWIG_fail;
28014 {
28015 PyThreadState* __tstate = wxPyBeginAllowThreads();
28016 result = (arg1)->GetToolTip();
28017
28018 wxPyEndAllowThreads(__tstate);
28019 if (PyErr_Occurred()) SWIG_fail;
28020 }
28021 {
28022 #if wxUSE_UNICODE
28023 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28024 #else
28025 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28026 #endif
28027 }
28028 return resultobj;
28029 fail:
28030 return NULL;
28031 }
28032
28033
28034 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
28035 PyObject *obj;
28036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28037 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
28038 Py_INCREF(obj);
28039 return Py_BuildValue((char *)"");
28040 }
28041 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28042 PyObject *resultobj;
28043 wxWindow *arg1 = (wxWindow *) 0 ;
28044 int arg2 = (int) -1 ;
28045 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28046 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28047 wxSize const &arg4_defvalue = wxDefaultSize ;
28048 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28049 long arg5 = (long) wxTR_DEFAULT_STYLE ;
28050 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28051 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28052 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
28053 wxString *arg7 = (wxString *) &arg7_defvalue ;
28054 wxPyTreeCtrl *result;
28055 wxPoint temp3 ;
28056 wxSize temp4 ;
28057 bool temp7 = false ;
28058 PyObject * obj0 = 0 ;
28059 PyObject * obj1 = 0 ;
28060 PyObject * obj2 = 0 ;
28061 PyObject * obj3 = 0 ;
28062 PyObject * obj4 = 0 ;
28063 PyObject * obj5 = 0 ;
28064 PyObject * obj6 = 0 ;
28065 char *kwnames[] = {
28066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28067 };
28068
28069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28071 if (SWIG_arg_fail(1)) SWIG_fail;
28072 if (obj1) {
28073 {
28074 arg2 = (int)(SWIG_As_int(obj1));
28075 if (SWIG_arg_fail(2)) SWIG_fail;
28076 }
28077 }
28078 if (obj2) {
28079 {
28080 arg3 = &temp3;
28081 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28082 }
28083 }
28084 if (obj3) {
28085 {
28086 arg4 = &temp4;
28087 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28088 }
28089 }
28090 if (obj4) {
28091 {
28092 arg5 = (long)(SWIG_As_long(obj4));
28093 if (SWIG_arg_fail(5)) SWIG_fail;
28094 }
28095 }
28096 if (obj5) {
28097 {
28098 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28099 if (SWIG_arg_fail(6)) SWIG_fail;
28100 if (arg6 == NULL) {
28101 SWIG_null_ref("wxValidator");
28102 }
28103 if (SWIG_arg_fail(6)) SWIG_fail;
28104 }
28105 }
28106 if (obj6) {
28107 {
28108 arg7 = wxString_in_helper(obj6);
28109 if (arg7 == NULL) SWIG_fail;
28110 temp7 = true;
28111 }
28112 }
28113 {
28114 if (!wxPyCheckForApp()) SWIG_fail;
28115 PyThreadState* __tstate = wxPyBeginAllowThreads();
28116 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28117
28118 wxPyEndAllowThreads(__tstate);
28119 if (PyErr_Occurred()) SWIG_fail;
28120 }
28121 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28122 {
28123 if (temp7)
28124 delete arg7;
28125 }
28126 return resultobj;
28127 fail:
28128 {
28129 if (temp7)
28130 delete arg7;
28131 }
28132 return NULL;
28133 }
28134
28135
28136 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28137 PyObject *resultobj;
28138 wxPyTreeCtrl *result;
28139 char *kwnames[] = {
28140 NULL
28141 };
28142
28143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28144 {
28145 if (!wxPyCheckForApp()) SWIG_fail;
28146 PyThreadState* __tstate = wxPyBeginAllowThreads();
28147 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28148
28149 wxPyEndAllowThreads(__tstate);
28150 if (PyErr_Occurred()) SWIG_fail;
28151 }
28152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28153 return resultobj;
28154 fail:
28155 return NULL;
28156 }
28157
28158
28159 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28160 PyObject *resultobj;
28161 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28162 wxWindow *arg2 = (wxWindow *) 0 ;
28163 int arg3 = (int) -1 ;
28164 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28165 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28166 wxSize const &arg5_defvalue = wxDefaultSize ;
28167 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28168 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28169 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28170 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28171 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28172 wxString *arg8 = (wxString *) &arg8_defvalue ;
28173 bool result;
28174 wxPoint temp4 ;
28175 wxSize temp5 ;
28176 bool temp8 = false ;
28177 PyObject * obj0 = 0 ;
28178 PyObject * obj1 = 0 ;
28179 PyObject * obj2 = 0 ;
28180 PyObject * obj3 = 0 ;
28181 PyObject * obj4 = 0 ;
28182 PyObject * obj5 = 0 ;
28183 PyObject * obj6 = 0 ;
28184 PyObject * obj7 = 0 ;
28185 char *kwnames[] = {
28186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28187 };
28188
28189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28191 if (SWIG_arg_fail(1)) SWIG_fail;
28192 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28193 if (SWIG_arg_fail(2)) SWIG_fail;
28194 if (obj2) {
28195 {
28196 arg3 = (int)(SWIG_As_int(obj2));
28197 if (SWIG_arg_fail(3)) SWIG_fail;
28198 }
28199 }
28200 if (obj3) {
28201 {
28202 arg4 = &temp4;
28203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28204 }
28205 }
28206 if (obj4) {
28207 {
28208 arg5 = &temp5;
28209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28210 }
28211 }
28212 if (obj5) {
28213 {
28214 arg6 = (long)(SWIG_As_long(obj5));
28215 if (SWIG_arg_fail(6)) SWIG_fail;
28216 }
28217 }
28218 if (obj6) {
28219 {
28220 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28221 if (SWIG_arg_fail(7)) SWIG_fail;
28222 if (arg7 == NULL) {
28223 SWIG_null_ref("wxValidator");
28224 }
28225 if (SWIG_arg_fail(7)) SWIG_fail;
28226 }
28227 }
28228 if (obj7) {
28229 {
28230 arg8 = wxString_in_helper(obj7);
28231 if (arg8 == NULL) SWIG_fail;
28232 temp8 = true;
28233 }
28234 }
28235 {
28236 PyThreadState* __tstate = wxPyBeginAllowThreads();
28237 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28238
28239 wxPyEndAllowThreads(__tstate);
28240 if (PyErr_Occurred()) SWIG_fail;
28241 }
28242 {
28243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28244 }
28245 {
28246 if (temp8)
28247 delete arg8;
28248 }
28249 return resultobj;
28250 fail:
28251 {
28252 if (temp8)
28253 delete arg8;
28254 }
28255 return NULL;
28256 }
28257
28258
28259 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28260 PyObject *resultobj;
28261 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28262 PyObject *arg2 = (PyObject *) 0 ;
28263 PyObject *arg3 = (PyObject *) 0 ;
28264 PyObject * obj0 = 0 ;
28265 PyObject * obj1 = 0 ;
28266 PyObject * obj2 = 0 ;
28267 char *kwnames[] = {
28268 (char *) "self",(char *) "self",(char *) "_class", NULL
28269 };
28270
28271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28273 if (SWIG_arg_fail(1)) SWIG_fail;
28274 arg2 = obj1;
28275 arg3 = obj2;
28276 {
28277 PyThreadState* __tstate = wxPyBeginAllowThreads();
28278 (arg1)->_setCallbackInfo(arg2,arg3);
28279
28280 wxPyEndAllowThreads(__tstate);
28281 if (PyErr_Occurred()) SWIG_fail;
28282 }
28283 Py_INCREF(Py_None); resultobj = Py_None;
28284 return resultobj;
28285 fail:
28286 return NULL;
28287 }
28288
28289
28290 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28291 PyObject *resultobj;
28292 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28293 size_t result;
28294 PyObject * obj0 = 0 ;
28295 char *kwnames[] = {
28296 (char *) "self", NULL
28297 };
28298
28299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28301 if (SWIG_arg_fail(1)) SWIG_fail;
28302 {
28303 PyThreadState* __tstate = wxPyBeginAllowThreads();
28304 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28305
28306 wxPyEndAllowThreads(__tstate);
28307 if (PyErr_Occurred()) SWIG_fail;
28308 }
28309 {
28310 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28311 }
28312 return resultobj;
28313 fail:
28314 return NULL;
28315 }
28316
28317
28318 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28319 PyObject *resultobj;
28320 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28321 unsigned int result;
28322 PyObject * obj0 = 0 ;
28323 char *kwnames[] = {
28324 (char *) "self", NULL
28325 };
28326
28327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28329 if (SWIG_arg_fail(1)) SWIG_fail;
28330 {
28331 PyThreadState* __tstate = wxPyBeginAllowThreads();
28332 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28333
28334 wxPyEndAllowThreads(__tstate);
28335 if (PyErr_Occurred()) SWIG_fail;
28336 }
28337 {
28338 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28339 }
28340 return resultobj;
28341 fail:
28342 return NULL;
28343 }
28344
28345
28346 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28347 PyObject *resultobj;
28348 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28349 unsigned int arg2 ;
28350 PyObject * obj0 = 0 ;
28351 PyObject * obj1 = 0 ;
28352 char *kwnames[] = {
28353 (char *) "self",(char *) "indent", NULL
28354 };
28355
28356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28358 if (SWIG_arg_fail(1)) SWIG_fail;
28359 {
28360 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28361 if (SWIG_arg_fail(2)) SWIG_fail;
28362 }
28363 {
28364 PyThreadState* __tstate = wxPyBeginAllowThreads();
28365 (arg1)->SetIndent(arg2);
28366
28367 wxPyEndAllowThreads(__tstate);
28368 if (PyErr_Occurred()) SWIG_fail;
28369 }
28370 Py_INCREF(Py_None); resultobj = Py_None;
28371 return resultobj;
28372 fail:
28373 return NULL;
28374 }
28375
28376
28377 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28378 PyObject *resultobj;
28379 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28380 unsigned int result;
28381 PyObject * obj0 = 0 ;
28382 char *kwnames[] = {
28383 (char *) "self", NULL
28384 };
28385
28386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28388 if (SWIG_arg_fail(1)) SWIG_fail;
28389 {
28390 PyThreadState* __tstate = wxPyBeginAllowThreads();
28391 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28392
28393 wxPyEndAllowThreads(__tstate);
28394 if (PyErr_Occurred()) SWIG_fail;
28395 }
28396 {
28397 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28398 }
28399 return resultobj;
28400 fail:
28401 return NULL;
28402 }
28403
28404
28405 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28406 PyObject *resultobj;
28407 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28408 unsigned int arg2 ;
28409 PyObject * obj0 = 0 ;
28410 PyObject * obj1 = 0 ;
28411 char *kwnames[] = {
28412 (char *) "self",(char *) "spacing", NULL
28413 };
28414
28415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
28416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28417 if (SWIG_arg_fail(1)) SWIG_fail;
28418 {
28419 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28420 if (SWIG_arg_fail(2)) SWIG_fail;
28421 }
28422 {
28423 PyThreadState* __tstate = wxPyBeginAllowThreads();
28424 (arg1)->SetSpacing(arg2);
28425
28426 wxPyEndAllowThreads(__tstate);
28427 if (PyErr_Occurred()) SWIG_fail;
28428 }
28429 Py_INCREF(Py_None); resultobj = Py_None;
28430 return resultobj;
28431 fail:
28432 return NULL;
28433 }
28434
28435
28436 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28437 PyObject *resultobj;
28438 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28439 wxImageList *result;
28440 PyObject * obj0 = 0 ;
28441 char *kwnames[] = {
28442 (char *) "self", NULL
28443 };
28444
28445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28447 if (SWIG_arg_fail(1)) SWIG_fail;
28448 {
28449 PyThreadState* __tstate = wxPyBeginAllowThreads();
28450 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28451
28452 wxPyEndAllowThreads(__tstate);
28453 if (PyErr_Occurred()) SWIG_fail;
28454 }
28455 {
28456 resultobj = wxPyMake_wxObject(result, 0);
28457 }
28458 return resultobj;
28459 fail:
28460 return NULL;
28461 }
28462
28463
28464 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28465 PyObject *resultobj;
28466 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28467 wxImageList *result;
28468 PyObject * obj0 = 0 ;
28469 char *kwnames[] = {
28470 (char *) "self", NULL
28471 };
28472
28473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28475 if (SWIG_arg_fail(1)) SWIG_fail;
28476 {
28477 PyThreadState* __tstate = wxPyBeginAllowThreads();
28478 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28479
28480 wxPyEndAllowThreads(__tstate);
28481 if (PyErr_Occurred()) SWIG_fail;
28482 }
28483 {
28484 resultobj = wxPyMake_wxObject(result, 0);
28485 }
28486 return resultobj;
28487 fail:
28488 return NULL;
28489 }
28490
28491
28492 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28493 PyObject *resultobj;
28494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28495 wxImageList *arg2 = (wxImageList *) 0 ;
28496 PyObject * obj0 = 0 ;
28497 PyObject * obj1 = 0 ;
28498 char *kwnames[] = {
28499 (char *) "self",(char *) "imageList", NULL
28500 };
28501
28502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28504 if (SWIG_arg_fail(1)) SWIG_fail;
28505 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28506 if (SWIG_arg_fail(2)) SWIG_fail;
28507 {
28508 PyThreadState* __tstate = wxPyBeginAllowThreads();
28509 (arg1)->SetImageList(arg2);
28510
28511 wxPyEndAllowThreads(__tstate);
28512 if (PyErr_Occurred()) SWIG_fail;
28513 }
28514 Py_INCREF(Py_None); resultobj = Py_None;
28515 return resultobj;
28516 fail:
28517 return NULL;
28518 }
28519
28520
28521 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28522 PyObject *resultobj;
28523 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28524 wxImageList *arg2 = (wxImageList *) 0 ;
28525 PyObject * obj0 = 0 ;
28526 PyObject * obj1 = 0 ;
28527 char *kwnames[] = {
28528 (char *) "self",(char *) "imageList", NULL
28529 };
28530
28531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28533 if (SWIG_arg_fail(1)) SWIG_fail;
28534 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28535 if (SWIG_arg_fail(2)) SWIG_fail;
28536 {
28537 PyThreadState* __tstate = wxPyBeginAllowThreads();
28538 (arg1)->SetStateImageList(arg2);
28539
28540 wxPyEndAllowThreads(__tstate);
28541 if (PyErr_Occurred()) SWIG_fail;
28542 }
28543 Py_INCREF(Py_None); resultobj = Py_None;
28544 return resultobj;
28545 fail:
28546 return NULL;
28547 }
28548
28549
28550 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28551 PyObject *resultobj;
28552 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28553 wxImageList *arg2 = (wxImageList *) 0 ;
28554 PyObject * obj0 = 0 ;
28555 PyObject * obj1 = 0 ;
28556 char *kwnames[] = {
28557 (char *) "self",(char *) "imageList", NULL
28558 };
28559
28560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28562 if (SWIG_arg_fail(1)) SWIG_fail;
28563 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28564 if (SWIG_arg_fail(2)) SWIG_fail;
28565 {
28566 PyThreadState* __tstate = wxPyBeginAllowThreads();
28567 (arg1)->AssignImageList(arg2);
28568
28569 wxPyEndAllowThreads(__tstate);
28570 if (PyErr_Occurred()) SWIG_fail;
28571 }
28572 Py_INCREF(Py_None); resultobj = Py_None;
28573 return resultobj;
28574 fail:
28575 return NULL;
28576 }
28577
28578
28579 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28580 PyObject *resultobj;
28581 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28582 wxImageList *arg2 = (wxImageList *) 0 ;
28583 PyObject * obj0 = 0 ;
28584 PyObject * obj1 = 0 ;
28585 char *kwnames[] = {
28586 (char *) "self",(char *) "imageList", NULL
28587 };
28588
28589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
28590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28591 if (SWIG_arg_fail(1)) SWIG_fail;
28592 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28593 if (SWIG_arg_fail(2)) SWIG_fail;
28594 {
28595 PyThreadState* __tstate = wxPyBeginAllowThreads();
28596 (arg1)->AssignStateImageList(arg2);
28597
28598 wxPyEndAllowThreads(__tstate);
28599 if (PyErr_Occurred()) SWIG_fail;
28600 }
28601 Py_INCREF(Py_None); resultobj = Py_None;
28602 return resultobj;
28603 fail:
28604 return NULL;
28605 }
28606
28607
28608 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28609 PyObject *resultobj;
28610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28611 wxTreeItemId *arg2 = 0 ;
28612 wxString result;
28613 PyObject * obj0 = 0 ;
28614 PyObject * obj1 = 0 ;
28615 char *kwnames[] = {
28616 (char *) "self",(char *) "item", NULL
28617 };
28618
28619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28621 if (SWIG_arg_fail(1)) SWIG_fail;
28622 {
28623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28624 if (SWIG_arg_fail(2)) SWIG_fail;
28625 if (arg2 == NULL) {
28626 SWIG_null_ref("wxTreeItemId");
28627 }
28628 if (SWIG_arg_fail(2)) SWIG_fail;
28629 }
28630 {
28631 PyThreadState* __tstate = wxPyBeginAllowThreads();
28632 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28633
28634 wxPyEndAllowThreads(__tstate);
28635 if (PyErr_Occurred()) SWIG_fail;
28636 }
28637 {
28638 #if wxUSE_UNICODE
28639 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28640 #else
28641 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28642 #endif
28643 }
28644 return resultobj;
28645 fail:
28646 return NULL;
28647 }
28648
28649
28650 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28651 PyObject *resultobj;
28652 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28653 wxTreeItemId *arg2 = 0 ;
28654 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28655 int result;
28656 PyObject * obj0 = 0 ;
28657 PyObject * obj1 = 0 ;
28658 PyObject * obj2 = 0 ;
28659 char *kwnames[] = {
28660 (char *) "self",(char *) "item",(char *) "which", NULL
28661 };
28662
28663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28665 if (SWIG_arg_fail(1)) SWIG_fail;
28666 {
28667 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28668 if (SWIG_arg_fail(2)) SWIG_fail;
28669 if (arg2 == NULL) {
28670 SWIG_null_ref("wxTreeItemId");
28671 }
28672 if (SWIG_arg_fail(2)) SWIG_fail;
28673 }
28674 if (obj2) {
28675 {
28676 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28677 if (SWIG_arg_fail(3)) SWIG_fail;
28678 }
28679 }
28680 {
28681 PyThreadState* __tstate = wxPyBeginAllowThreads();
28682 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28683
28684 wxPyEndAllowThreads(__tstate);
28685 if (PyErr_Occurred()) SWIG_fail;
28686 }
28687 {
28688 resultobj = SWIG_From_int((int)(result));
28689 }
28690 return resultobj;
28691 fail:
28692 return NULL;
28693 }
28694
28695
28696 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28697 PyObject *resultobj;
28698 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28699 wxTreeItemId *arg2 = 0 ;
28700 wxPyTreeItemData *result;
28701 PyObject * obj0 = 0 ;
28702 PyObject * obj1 = 0 ;
28703 char *kwnames[] = {
28704 (char *) "self",(char *) "item", NULL
28705 };
28706
28707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail;
28710 {
28711 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28712 if (SWIG_arg_fail(2)) SWIG_fail;
28713 if (arg2 == NULL) {
28714 SWIG_null_ref("wxTreeItemId");
28715 }
28716 if (SWIG_arg_fail(2)) SWIG_fail;
28717 }
28718 {
28719 PyThreadState* __tstate = wxPyBeginAllowThreads();
28720 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28721
28722 wxPyEndAllowThreads(__tstate);
28723 if (PyErr_Occurred()) SWIG_fail;
28724 }
28725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28726 return resultobj;
28727 fail:
28728 return NULL;
28729 }
28730
28731
28732 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28733 PyObject *resultobj;
28734 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28735 wxTreeItemId *arg2 = 0 ;
28736 PyObject *result;
28737 PyObject * obj0 = 0 ;
28738 PyObject * obj1 = 0 ;
28739 char *kwnames[] = {
28740 (char *) "self",(char *) "item", NULL
28741 };
28742
28743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28745 if (SWIG_arg_fail(1)) SWIG_fail;
28746 {
28747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28748 if (SWIG_arg_fail(2)) SWIG_fail;
28749 if (arg2 == NULL) {
28750 SWIG_null_ref("wxTreeItemId");
28751 }
28752 if (SWIG_arg_fail(2)) SWIG_fail;
28753 }
28754 {
28755 PyThreadState* __tstate = wxPyBeginAllowThreads();
28756 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28757
28758 wxPyEndAllowThreads(__tstate);
28759 if (PyErr_Occurred()) SWIG_fail;
28760 }
28761 resultobj = result;
28762 return resultobj;
28763 fail:
28764 return NULL;
28765 }
28766
28767
28768 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28769 PyObject *resultobj;
28770 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28771 wxTreeItemId *arg2 = 0 ;
28772 wxColour result;
28773 PyObject * obj0 = 0 ;
28774 PyObject * obj1 = 0 ;
28775 char *kwnames[] = {
28776 (char *) "self",(char *) "item", NULL
28777 };
28778
28779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
28780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28781 if (SWIG_arg_fail(1)) SWIG_fail;
28782 {
28783 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28784 if (SWIG_arg_fail(2)) SWIG_fail;
28785 if (arg2 == NULL) {
28786 SWIG_null_ref("wxTreeItemId");
28787 }
28788 if (SWIG_arg_fail(2)) SWIG_fail;
28789 }
28790 {
28791 PyThreadState* __tstate = wxPyBeginAllowThreads();
28792 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28793
28794 wxPyEndAllowThreads(__tstate);
28795 if (PyErr_Occurred()) SWIG_fail;
28796 }
28797 {
28798 wxColour * resultptr;
28799 resultptr = new wxColour((wxColour &)(result));
28800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28801 }
28802 return resultobj;
28803 fail:
28804 return NULL;
28805 }
28806
28807
28808 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28809 PyObject *resultobj;
28810 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28811 wxTreeItemId *arg2 = 0 ;
28812 wxColour result;
28813 PyObject * obj0 = 0 ;
28814 PyObject * obj1 = 0 ;
28815 char *kwnames[] = {
28816 (char *) "self",(char *) "item", NULL
28817 };
28818
28819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28821 if (SWIG_arg_fail(1)) SWIG_fail;
28822 {
28823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28824 if (SWIG_arg_fail(2)) SWIG_fail;
28825 if (arg2 == NULL) {
28826 SWIG_null_ref("wxTreeItemId");
28827 }
28828 if (SWIG_arg_fail(2)) SWIG_fail;
28829 }
28830 {
28831 PyThreadState* __tstate = wxPyBeginAllowThreads();
28832 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28833
28834 wxPyEndAllowThreads(__tstate);
28835 if (PyErr_Occurred()) SWIG_fail;
28836 }
28837 {
28838 wxColour * resultptr;
28839 resultptr = new wxColour((wxColour &)(result));
28840 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28841 }
28842 return resultobj;
28843 fail:
28844 return NULL;
28845 }
28846
28847
28848 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28849 PyObject *resultobj;
28850 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28851 wxTreeItemId *arg2 = 0 ;
28852 wxFont result;
28853 PyObject * obj0 = 0 ;
28854 PyObject * obj1 = 0 ;
28855 char *kwnames[] = {
28856 (char *) "self",(char *) "item", NULL
28857 };
28858
28859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28861 if (SWIG_arg_fail(1)) SWIG_fail;
28862 {
28863 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28864 if (SWIG_arg_fail(2)) SWIG_fail;
28865 if (arg2 == NULL) {
28866 SWIG_null_ref("wxTreeItemId");
28867 }
28868 if (SWIG_arg_fail(2)) SWIG_fail;
28869 }
28870 {
28871 PyThreadState* __tstate = wxPyBeginAllowThreads();
28872 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28873
28874 wxPyEndAllowThreads(__tstate);
28875 if (PyErr_Occurred()) SWIG_fail;
28876 }
28877 {
28878 wxFont * resultptr;
28879 resultptr = new wxFont((wxFont &)(result));
28880 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28881 }
28882 return resultobj;
28883 fail:
28884 return NULL;
28885 }
28886
28887
28888 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28889 PyObject *resultobj;
28890 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28891 wxTreeItemId *arg2 = 0 ;
28892 wxString *arg3 = 0 ;
28893 bool temp3 = false ;
28894 PyObject * obj0 = 0 ;
28895 PyObject * obj1 = 0 ;
28896 PyObject * obj2 = 0 ;
28897 char *kwnames[] = {
28898 (char *) "self",(char *) "item",(char *) "text", NULL
28899 };
28900
28901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
28902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28903 if (SWIG_arg_fail(1)) SWIG_fail;
28904 {
28905 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28906 if (SWIG_arg_fail(2)) SWIG_fail;
28907 if (arg2 == NULL) {
28908 SWIG_null_ref("wxTreeItemId");
28909 }
28910 if (SWIG_arg_fail(2)) SWIG_fail;
28911 }
28912 {
28913 arg3 = wxString_in_helper(obj2);
28914 if (arg3 == NULL) SWIG_fail;
28915 temp3 = true;
28916 }
28917 {
28918 PyThreadState* __tstate = wxPyBeginAllowThreads();
28919 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28920
28921 wxPyEndAllowThreads(__tstate);
28922 if (PyErr_Occurred()) SWIG_fail;
28923 }
28924 Py_INCREF(Py_None); resultobj = Py_None;
28925 {
28926 if (temp3)
28927 delete arg3;
28928 }
28929 return resultobj;
28930 fail:
28931 {
28932 if (temp3)
28933 delete arg3;
28934 }
28935 return NULL;
28936 }
28937
28938
28939 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28940 PyObject *resultobj;
28941 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28942 wxTreeItemId *arg2 = 0 ;
28943 int arg3 ;
28944 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28945 PyObject * obj0 = 0 ;
28946 PyObject * obj1 = 0 ;
28947 PyObject * obj2 = 0 ;
28948 PyObject * obj3 = 0 ;
28949 char *kwnames[] = {
28950 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28951 };
28952
28953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28955 if (SWIG_arg_fail(1)) SWIG_fail;
28956 {
28957 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28958 if (SWIG_arg_fail(2)) SWIG_fail;
28959 if (arg2 == NULL) {
28960 SWIG_null_ref("wxTreeItemId");
28961 }
28962 if (SWIG_arg_fail(2)) SWIG_fail;
28963 }
28964 {
28965 arg3 = (int)(SWIG_As_int(obj2));
28966 if (SWIG_arg_fail(3)) SWIG_fail;
28967 }
28968 if (obj3) {
28969 {
28970 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28971 if (SWIG_arg_fail(4)) SWIG_fail;
28972 }
28973 }
28974 {
28975 PyThreadState* __tstate = wxPyBeginAllowThreads();
28976 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28977
28978 wxPyEndAllowThreads(__tstate);
28979 if (PyErr_Occurred()) SWIG_fail;
28980 }
28981 Py_INCREF(Py_None); resultobj = Py_None;
28982 return resultobj;
28983 fail:
28984 return NULL;
28985 }
28986
28987
28988 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28989 PyObject *resultobj;
28990 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28991 wxTreeItemId *arg2 = 0 ;
28992 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28993 PyObject * obj0 = 0 ;
28994 PyObject * obj1 = 0 ;
28995 PyObject * obj2 = 0 ;
28996 char *kwnames[] = {
28997 (char *) "self",(char *) "item",(char *) "data", NULL
28998 };
28999
29000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
29001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29002 if (SWIG_arg_fail(1)) SWIG_fail;
29003 {
29004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29005 if (SWIG_arg_fail(2)) SWIG_fail;
29006 if (arg2 == NULL) {
29007 SWIG_null_ref("wxTreeItemId");
29008 }
29009 if (SWIG_arg_fail(2)) SWIG_fail;
29010 }
29011 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29012 if (SWIG_arg_fail(3)) SWIG_fail;
29013 {
29014 PyThreadState* __tstate = wxPyBeginAllowThreads();
29015 wxPyTreeCtrl_SetItemData(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
29027 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
29028 PyObject *resultobj;
29029 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29030 wxTreeItemId *arg2 = 0 ;
29031 PyObject *arg3 = (PyObject *) 0 ;
29032 PyObject * obj0 = 0 ;
29033 PyObject * obj1 = 0 ;
29034 PyObject * obj2 = 0 ;
29035 char *kwnames[] = {
29036 (char *) "self",(char *) "item",(char *) "obj", NULL
29037 };
29038
29039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",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 arg3 = obj2;
29051 {
29052 PyThreadState* __tstate = wxPyBeginAllowThreads();
29053 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
29054
29055 wxPyEndAllowThreads(__tstate);
29056 if (PyErr_Occurred()) SWIG_fail;
29057 }
29058 Py_INCREF(Py_None); resultobj = Py_None;
29059 return resultobj;
29060 fail:
29061 return NULL;
29062 }
29063
29064
29065 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29066 PyObject *resultobj;
29067 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29068 wxTreeItemId *arg2 = 0 ;
29069 bool arg3 = (bool) true ;
29070 PyObject * obj0 = 0 ;
29071 PyObject * obj1 = 0 ;
29072 PyObject * obj2 = 0 ;
29073 char *kwnames[] = {
29074 (char *) "self",(char *) "item",(char *) "has", NULL
29075 };
29076
29077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
29078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29079 if (SWIG_arg_fail(1)) SWIG_fail;
29080 {
29081 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29082 if (SWIG_arg_fail(2)) SWIG_fail;
29083 if (arg2 == NULL) {
29084 SWIG_null_ref("wxTreeItemId");
29085 }
29086 if (SWIG_arg_fail(2)) SWIG_fail;
29087 }
29088 if (obj2) {
29089 {
29090 arg3 = (bool)(SWIG_As_bool(obj2));
29091 if (SWIG_arg_fail(3)) SWIG_fail;
29092 }
29093 }
29094 {
29095 PyThreadState* __tstate = wxPyBeginAllowThreads();
29096 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
29097
29098 wxPyEndAllowThreads(__tstate);
29099 if (PyErr_Occurred()) SWIG_fail;
29100 }
29101 Py_INCREF(Py_None); resultobj = Py_None;
29102 return resultobj;
29103 fail:
29104 return NULL;
29105 }
29106
29107
29108 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
29109 PyObject *resultobj;
29110 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29111 wxTreeItemId *arg2 = 0 ;
29112 bool arg3 = (bool) true ;
29113 PyObject * obj0 = 0 ;
29114 PyObject * obj1 = 0 ;
29115 PyObject * obj2 = 0 ;
29116 char *kwnames[] = {
29117 (char *) "self",(char *) "item",(char *) "bold", NULL
29118 };
29119
29120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
29121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29122 if (SWIG_arg_fail(1)) SWIG_fail;
29123 {
29124 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29125 if (SWIG_arg_fail(2)) SWIG_fail;
29126 if (arg2 == NULL) {
29127 SWIG_null_ref("wxTreeItemId");
29128 }
29129 if (SWIG_arg_fail(2)) SWIG_fail;
29130 }
29131 if (obj2) {
29132 {
29133 arg3 = (bool)(SWIG_As_bool(obj2));
29134 if (SWIG_arg_fail(3)) SWIG_fail;
29135 }
29136 }
29137 {
29138 PyThreadState* __tstate = wxPyBeginAllowThreads();
29139 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29140
29141 wxPyEndAllowThreads(__tstate);
29142 if (PyErr_Occurred()) SWIG_fail;
29143 }
29144 Py_INCREF(Py_None); resultobj = Py_None;
29145 return resultobj;
29146 fail:
29147 return NULL;
29148 }
29149
29150
29151 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
29152 PyObject *resultobj;
29153 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29154 wxTreeItemId *arg2 = 0 ;
29155 bool arg3 = (bool) true ;
29156 PyObject * obj0 = 0 ;
29157 PyObject * obj1 = 0 ;
29158 PyObject * obj2 = 0 ;
29159 char *kwnames[] = {
29160 (char *) "self",(char *) "item",(char *) "highlight", NULL
29161 };
29162
29163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
29164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29165 if (SWIG_arg_fail(1)) SWIG_fail;
29166 {
29167 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29168 if (SWIG_arg_fail(2)) SWIG_fail;
29169 if (arg2 == NULL) {
29170 SWIG_null_ref("wxTreeItemId");
29171 }
29172 if (SWIG_arg_fail(2)) SWIG_fail;
29173 }
29174 if (obj2) {
29175 {
29176 arg3 = (bool)(SWIG_As_bool(obj2));
29177 if (SWIG_arg_fail(3)) SWIG_fail;
29178 }
29179 }
29180 {
29181 PyThreadState* __tstate = wxPyBeginAllowThreads();
29182 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29183
29184 wxPyEndAllowThreads(__tstate);
29185 if (PyErr_Occurred()) SWIG_fail;
29186 }
29187 Py_INCREF(Py_None); resultobj = Py_None;
29188 return resultobj;
29189 fail:
29190 return NULL;
29191 }
29192
29193
29194 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29195 PyObject *resultobj;
29196 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29197 wxTreeItemId *arg2 = 0 ;
29198 wxColour *arg3 = 0 ;
29199 wxColour temp3 ;
29200 PyObject * obj0 = 0 ;
29201 PyObject * obj1 = 0 ;
29202 PyObject * obj2 = 0 ;
29203 char *kwnames[] = {
29204 (char *) "self",(char *) "item",(char *) "col", NULL
29205 };
29206
29207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29209 if (SWIG_arg_fail(1)) SWIG_fail;
29210 {
29211 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29212 if (SWIG_arg_fail(2)) SWIG_fail;
29213 if (arg2 == NULL) {
29214 SWIG_null_ref("wxTreeItemId");
29215 }
29216 if (SWIG_arg_fail(2)) SWIG_fail;
29217 }
29218 {
29219 arg3 = &temp3;
29220 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29221 }
29222 {
29223 PyThreadState* __tstate = wxPyBeginAllowThreads();
29224 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29225
29226 wxPyEndAllowThreads(__tstate);
29227 if (PyErr_Occurred()) SWIG_fail;
29228 }
29229 Py_INCREF(Py_None); resultobj = Py_None;
29230 return resultobj;
29231 fail:
29232 return NULL;
29233 }
29234
29235
29236 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29237 PyObject *resultobj;
29238 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29239 wxTreeItemId *arg2 = 0 ;
29240 wxColour *arg3 = 0 ;
29241 wxColour temp3 ;
29242 PyObject * obj0 = 0 ;
29243 PyObject * obj1 = 0 ;
29244 PyObject * obj2 = 0 ;
29245 char *kwnames[] = {
29246 (char *) "self",(char *) "item",(char *) "col", NULL
29247 };
29248
29249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29251 if (SWIG_arg_fail(1)) SWIG_fail;
29252 {
29253 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29254 if (SWIG_arg_fail(2)) SWIG_fail;
29255 if (arg2 == NULL) {
29256 SWIG_null_ref("wxTreeItemId");
29257 }
29258 if (SWIG_arg_fail(2)) SWIG_fail;
29259 }
29260 {
29261 arg3 = &temp3;
29262 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29263 }
29264 {
29265 PyThreadState* __tstate = wxPyBeginAllowThreads();
29266 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29267
29268 wxPyEndAllowThreads(__tstate);
29269 if (PyErr_Occurred()) SWIG_fail;
29270 }
29271 Py_INCREF(Py_None); resultobj = Py_None;
29272 return resultobj;
29273 fail:
29274 return NULL;
29275 }
29276
29277
29278 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29279 PyObject *resultobj;
29280 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29281 wxTreeItemId *arg2 = 0 ;
29282 wxFont *arg3 = 0 ;
29283 PyObject * obj0 = 0 ;
29284 PyObject * obj1 = 0 ;
29285 PyObject * obj2 = 0 ;
29286 char *kwnames[] = {
29287 (char *) "self",(char *) "item",(char *) "font", NULL
29288 };
29289
29290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29292 if (SWIG_arg_fail(1)) SWIG_fail;
29293 {
29294 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29295 if (SWIG_arg_fail(2)) SWIG_fail;
29296 if (arg2 == NULL) {
29297 SWIG_null_ref("wxTreeItemId");
29298 }
29299 if (SWIG_arg_fail(2)) SWIG_fail;
29300 }
29301 {
29302 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29303 if (SWIG_arg_fail(3)) SWIG_fail;
29304 if (arg3 == NULL) {
29305 SWIG_null_ref("wxFont");
29306 }
29307 if (SWIG_arg_fail(3)) SWIG_fail;
29308 }
29309 {
29310 PyThreadState* __tstate = wxPyBeginAllowThreads();
29311 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29312
29313 wxPyEndAllowThreads(__tstate);
29314 if (PyErr_Occurred()) SWIG_fail;
29315 }
29316 Py_INCREF(Py_None); resultobj = Py_None;
29317 return resultobj;
29318 fail:
29319 return NULL;
29320 }
29321
29322
29323 static PyObject *_wrap_TreeCtrl_IsVisible(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_IsVisible",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)->IsVisible((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
29361 static PyObject *_wrap_TreeCtrl_ItemHasChildren(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_ItemHasChildren",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)->ItemHasChildren((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
29399 static PyObject *_wrap_TreeCtrl_IsExpanded(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_IsExpanded",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)->IsExpanded((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
29437 static PyObject *_wrap_TreeCtrl_IsSelected(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_IsSelected",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)->IsSelected((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
29475 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29476 PyObject *resultobj;
29477 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29478 wxTreeItemId *arg2 = 0 ;
29479 bool result;
29480 PyObject * obj0 = 0 ;
29481 PyObject * obj1 = 0 ;
29482 char *kwnames[] = {
29483 (char *) "self",(char *) "item", NULL
29484 };
29485
29486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29488 if (SWIG_arg_fail(1)) SWIG_fail;
29489 {
29490 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29491 if (SWIG_arg_fail(2)) SWIG_fail;
29492 if (arg2 == NULL) {
29493 SWIG_null_ref("wxTreeItemId");
29494 }
29495 if (SWIG_arg_fail(2)) SWIG_fail;
29496 }
29497 {
29498 PyThreadState* __tstate = wxPyBeginAllowThreads();
29499 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29500
29501 wxPyEndAllowThreads(__tstate);
29502 if (PyErr_Occurred()) SWIG_fail;
29503 }
29504 {
29505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29506 }
29507 return resultobj;
29508 fail:
29509 return NULL;
29510 }
29511
29512
29513 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29514 PyObject *resultobj;
29515 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29516 wxTreeItemId *arg2 = 0 ;
29517 bool arg3 = (bool) true ;
29518 size_t result;
29519 PyObject * obj0 = 0 ;
29520 PyObject * obj1 = 0 ;
29521 PyObject * obj2 = 0 ;
29522 char *kwnames[] = {
29523 (char *) "self",(char *) "item",(char *) "recursively", NULL
29524 };
29525
29526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29528 if (SWIG_arg_fail(1)) SWIG_fail;
29529 {
29530 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29531 if (SWIG_arg_fail(2)) SWIG_fail;
29532 if (arg2 == NULL) {
29533 SWIG_null_ref("wxTreeItemId");
29534 }
29535 if (SWIG_arg_fail(2)) SWIG_fail;
29536 }
29537 if (obj2) {
29538 {
29539 arg3 = (bool)(SWIG_As_bool(obj2));
29540 if (SWIG_arg_fail(3)) SWIG_fail;
29541 }
29542 }
29543 {
29544 PyThreadState* __tstate = wxPyBeginAllowThreads();
29545 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29546
29547 wxPyEndAllowThreads(__tstate);
29548 if (PyErr_Occurred()) SWIG_fail;
29549 }
29550 {
29551 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29552 }
29553 return resultobj;
29554 fail:
29555 return NULL;
29556 }
29557
29558
29559 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29560 PyObject *resultobj;
29561 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29562 wxTreeItemId result;
29563 PyObject * obj0 = 0 ;
29564 char *kwnames[] = {
29565 (char *) "self", NULL
29566 };
29567
29568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29570 if (SWIG_arg_fail(1)) SWIG_fail;
29571 {
29572 PyThreadState* __tstate = wxPyBeginAllowThreads();
29573 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29574
29575 wxPyEndAllowThreads(__tstate);
29576 if (PyErr_Occurred()) SWIG_fail;
29577 }
29578 {
29579 wxTreeItemId * resultptr;
29580 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29581 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29582 }
29583 return resultobj;
29584 fail:
29585 return NULL;
29586 }
29587
29588
29589 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29590 PyObject *resultobj;
29591 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29592 wxTreeItemId result;
29593 PyObject * obj0 = 0 ;
29594 char *kwnames[] = {
29595 (char *) "self", NULL
29596 };
29597
29598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29600 if (SWIG_arg_fail(1)) SWIG_fail;
29601 {
29602 PyThreadState* __tstate = wxPyBeginAllowThreads();
29603 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29604
29605 wxPyEndAllowThreads(__tstate);
29606 if (PyErr_Occurred()) SWIG_fail;
29607 }
29608 {
29609 wxTreeItemId * resultptr;
29610 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29612 }
29613 return resultobj;
29614 fail:
29615 return NULL;
29616 }
29617
29618
29619 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29620 PyObject *resultobj;
29621 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29622 PyObject *result;
29623 PyObject * obj0 = 0 ;
29624 char *kwnames[] = {
29625 (char *) "self", NULL
29626 };
29627
29628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29630 if (SWIG_arg_fail(1)) SWIG_fail;
29631 {
29632 PyThreadState* __tstate = wxPyBeginAllowThreads();
29633 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29634
29635 wxPyEndAllowThreads(__tstate);
29636 if (PyErr_Occurred()) SWIG_fail;
29637 }
29638 resultobj = result;
29639 return resultobj;
29640 fail:
29641 return NULL;
29642 }
29643
29644
29645 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29646 PyObject *resultobj;
29647 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29648 wxTreeItemId *arg2 = 0 ;
29649 wxTreeItemId result;
29650 PyObject * obj0 = 0 ;
29651 PyObject * obj1 = 0 ;
29652 char *kwnames[] = {
29653 (char *) "self",(char *) "item", NULL
29654 };
29655
29656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29658 if (SWIG_arg_fail(1)) SWIG_fail;
29659 {
29660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29661 if (SWIG_arg_fail(2)) SWIG_fail;
29662 if (arg2 == NULL) {
29663 SWIG_null_ref("wxTreeItemId");
29664 }
29665 if (SWIG_arg_fail(2)) SWIG_fail;
29666 }
29667 {
29668 PyThreadState* __tstate = wxPyBeginAllowThreads();
29669 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29670
29671 wxPyEndAllowThreads(__tstate);
29672 if (PyErr_Occurred()) SWIG_fail;
29673 }
29674 {
29675 wxTreeItemId * resultptr;
29676 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29678 }
29679 return resultobj;
29680 fail:
29681 return NULL;
29682 }
29683
29684
29685 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29686 PyObject *resultobj;
29687 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29688 wxTreeItemId *arg2 = 0 ;
29689 PyObject *result;
29690 PyObject * obj0 = 0 ;
29691 PyObject * obj1 = 0 ;
29692 char *kwnames[] = {
29693 (char *) "self",(char *) "item", NULL
29694 };
29695
29696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
29709 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29710
29711 wxPyEndAllowThreads(__tstate);
29712 if (PyErr_Occurred()) SWIG_fail;
29713 }
29714 resultobj = result;
29715 return resultobj;
29716 fail:
29717 return NULL;
29718 }
29719
29720
29721 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29722 PyObject *resultobj;
29723 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29724 wxTreeItemId *arg2 = 0 ;
29725 void *arg3 = (void *) 0 ;
29726 PyObject *result;
29727 PyObject * obj0 = 0 ;
29728 PyObject * obj1 = 0 ;
29729 PyObject * obj2 = 0 ;
29730 char *kwnames[] = {
29731 (char *) "self",(char *) "item",(char *) "cookie", NULL
29732 };
29733
29734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29736 if (SWIG_arg_fail(1)) SWIG_fail;
29737 {
29738 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29739 if (SWIG_arg_fail(2)) SWIG_fail;
29740 if (arg2 == NULL) {
29741 SWIG_null_ref("wxTreeItemId");
29742 }
29743 if (SWIG_arg_fail(2)) SWIG_fail;
29744 }
29745 {
29746 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29747 SWIG_arg_fail(3);SWIG_fail;
29748 }
29749 }
29750 {
29751 PyThreadState* __tstate = wxPyBeginAllowThreads();
29752 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29753
29754 wxPyEndAllowThreads(__tstate);
29755 if (PyErr_Occurred()) SWIG_fail;
29756 }
29757 resultobj = result;
29758 return resultobj;
29759 fail:
29760 return NULL;
29761 }
29762
29763
29764 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29765 PyObject *resultobj;
29766 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29767 wxTreeItemId *arg2 = 0 ;
29768 wxTreeItemId result;
29769 PyObject * obj0 = 0 ;
29770 PyObject * obj1 = 0 ;
29771 char *kwnames[] = {
29772 (char *) "self",(char *) "item", NULL
29773 };
29774
29775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29777 if (SWIG_arg_fail(1)) SWIG_fail;
29778 {
29779 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29780 if (SWIG_arg_fail(2)) SWIG_fail;
29781 if (arg2 == NULL) {
29782 SWIG_null_ref("wxTreeItemId");
29783 }
29784 if (SWIG_arg_fail(2)) SWIG_fail;
29785 }
29786 {
29787 PyThreadState* __tstate = wxPyBeginAllowThreads();
29788 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29789
29790 wxPyEndAllowThreads(__tstate);
29791 if (PyErr_Occurred()) SWIG_fail;
29792 }
29793 {
29794 wxTreeItemId * resultptr;
29795 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29796 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29797 }
29798 return resultobj;
29799 fail:
29800 return NULL;
29801 }
29802
29803
29804 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29805 PyObject *resultobj;
29806 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29807 wxTreeItemId *arg2 = 0 ;
29808 wxTreeItemId result;
29809 PyObject * obj0 = 0 ;
29810 PyObject * obj1 = 0 ;
29811 char *kwnames[] = {
29812 (char *) "self",(char *) "item", NULL
29813 };
29814
29815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29817 if (SWIG_arg_fail(1)) SWIG_fail;
29818 {
29819 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29820 if (SWIG_arg_fail(2)) SWIG_fail;
29821 if (arg2 == NULL) {
29822 SWIG_null_ref("wxTreeItemId");
29823 }
29824 if (SWIG_arg_fail(2)) SWIG_fail;
29825 }
29826 {
29827 PyThreadState* __tstate = wxPyBeginAllowThreads();
29828 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29829
29830 wxPyEndAllowThreads(__tstate);
29831 if (PyErr_Occurred()) SWIG_fail;
29832 }
29833 {
29834 wxTreeItemId * resultptr;
29835 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29836 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29837 }
29838 return resultobj;
29839 fail:
29840 return NULL;
29841 }
29842
29843
29844 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29845 PyObject *resultobj;
29846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29847 wxTreeItemId *arg2 = 0 ;
29848 wxTreeItemId result;
29849 PyObject * obj0 = 0 ;
29850 PyObject * obj1 = 0 ;
29851 char *kwnames[] = {
29852 (char *) "self",(char *) "item", NULL
29853 };
29854
29855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29860 if (SWIG_arg_fail(2)) SWIG_fail;
29861 if (arg2 == NULL) {
29862 SWIG_null_ref("wxTreeItemId");
29863 }
29864 if (SWIG_arg_fail(2)) SWIG_fail;
29865 }
29866 {
29867 PyThreadState* __tstate = wxPyBeginAllowThreads();
29868 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29869
29870 wxPyEndAllowThreads(__tstate);
29871 if (PyErr_Occurred()) SWIG_fail;
29872 }
29873 {
29874 wxTreeItemId * resultptr;
29875 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29876 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29877 }
29878 return resultobj;
29879 fail:
29880 return NULL;
29881 }
29882
29883
29884 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29885 PyObject *resultobj;
29886 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29887 wxTreeItemId result;
29888 PyObject * obj0 = 0 ;
29889 char *kwnames[] = {
29890 (char *) "self", NULL
29891 };
29892
29893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29895 if (SWIG_arg_fail(1)) SWIG_fail;
29896 {
29897 PyThreadState* __tstate = wxPyBeginAllowThreads();
29898 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29899
29900 wxPyEndAllowThreads(__tstate);
29901 if (PyErr_Occurred()) SWIG_fail;
29902 }
29903 {
29904 wxTreeItemId * resultptr;
29905 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29907 }
29908 return resultobj;
29909 fail:
29910 return NULL;
29911 }
29912
29913
29914 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29915 PyObject *resultobj;
29916 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29917 wxTreeItemId *arg2 = 0 ;
29918 wxTreeItemId result;
29919 PyObject * obj0 = 0 ;
29920 PyObject * obj1 = 0 ;
29921 char *kwnames[] = {
29922 (char *) "self",(char *) "item", NULL
29923 };
29924
29925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29927 if (SWIG_arg_fail(1)) SWIG_fail;
29928 {
29929 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29930 if (SWIG_arg_fail(2)) SWIG_fail;
29931 if (arg2 == NULL) {
29932 SWIG_null_ref("wxTreeItemId");
29933 }
29934 if (SWIG_arg_fail(2)) SWIG_fail;
29935 }
29936 {
29937 PyThreadState* __tstate = wxPyBeginAllowThreads();
29938 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29939
29940 wxPyEndAllowThreads(__tstate);
29941 if (PyErr_Occurred()) SWIG_fail;
29942 }
29943 {
29944 wxTreeItemId * resultptr;
29945 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29946 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29947 }
29948 return resultobj;
29949 fail:
29950 return NULL;
29951 }
29952
29953
29954 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29955 PyObject *resultobj;
29956 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29957 wxTreeItemId *arg2 = 0 ;
29958 wxTreeItemId result;
29959 PyObject * obj0 = 0 ;
29960 PyObject * obj1 = 0 ;
29961 char *kwnames[] = {
29962 (char *) "self",(char *) "item", NULL
29963 };
29964
29965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
29966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29967 if (SWIG_arg_fail(1)) SWIG_fail;
29968 {
29969 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29970 if (SWIG_arg_fail(2)) SWIG_fail;
29971 if (arg2 == NULL) {
29972 SWIG_null_ref("wxTreeItemId");
29973 }
29974 if (SWIG_arg_fail(2)) SWIG_fail;
29975 }
29976 {
29977 PyThreadState* __tstate = wxPyBeginAllowThreads();
29978 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29979
29980 wxPyEndAllowThreads(__tstate);
29981 if (PyErr_Occurred()) SWIG_fail;
29982 }
29983 {
29984 wxTreeItemId * resultptr;
29985 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29986 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29987 }
29988 return resultobj;
29989 fail:
29990 return NULL;
29991 }
29992
29993
29994 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
29995 PyObject *resultobj;
29996 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29997 wxString *arg2 = 0 ;
29998 int arg3 = (int) -1 ;
29999 int arg4 = (int) -1 ;
30000 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
30001 wxTreeItemId result;
30002 bool temp2 = false ;
30003 PyObject * obj0 = 0 ;
30004 PyObject * obj1 = 0 ;
30005 PyObject * obj2 = 0 ;
30006 PyObject * obj3 = 0 ;
30007 PyObject * obj4 = 0 ;
30008 char *kwnames[] = {
30009 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30010 };
30011
30012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30014 if (SWIG_arg_fail(1)) SWIG_fail;
30015 {
30016 arg2 = wxString_in_helper(obj1);
30017 if (arg2 == NULL) SWIG_fail;
30018 temp2 = true;
30019 }
30020 if (obj2) {
30021 {
30022 arg3 = (int)(SWIG_As_int(obj2));
30023 if (SWIG_arg_fail(3)) SWIG_fail;
30024 }
30025 }
30026 if (obj3) {
30027 {
30028 arg4 = (int)(SWIG_As_int(obj3));
30029 if (SWIG_arg_fail(4)) SWIG_fail;
30030 }
30031 }
30032 if (obj4) {
30033 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30034 if (SWIG_arg_fail(5)) SWIG_fail;
30035 }
30036 {
30037 PyThreadState* __tstate = wxPyBeginAllowThreads();
30038 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
30039
30040 wxPyEndAllowThreads(__tstate);
30041 if (PyErr_Occurred()) SWIG_fail;
30042 }
30043 {
30044 wxTreeItemId * resultptr;
30045 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30046 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30047 }
30048 {
30049 if (temp2)
30050 delete arg2;
30051 }
30052 return resultobj;
30053 fail:
30054 {
30055 if (temp2)
30056 delete arg2;
30057 }
30058 return NULL;
30059 }
30060
30061
30062 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
30063 PyObject *resultobj;
30064 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30065 wxTreeItemId *arg2 = 0 ;
30066 wxString *arg3 = 0 ;
30067 int arg4 = (int) -1 ;
30068 int arg5 = (int) -1 ;
30069 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30070 wxTreeItemId result;
30071 bool temp3 = false ;
30072 PyObject * obj0 = 0 ;
30073 PyObject * obj1 = 0 ;
30074 PyObject * obj2 = 0 ;
30075 PyObject * obj3 = 0 ;
30076 PyObject * obj4 = 0 ;
30077 PyObject * obj5 = 0 ;
30078 char *kwnames[] = {
30079 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30080 };
30081
30082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30084 if (SWIG_arg_fail(1)) SWIG_fail;
30085 {
30086 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30087 if (SWIG_arg_fail(2)) SWIG_fail;
30088 if (arg2 == NULL) {
30089 SWIG_null_ref("wxTreeItemId");
30090 }
30091 if (SWIG_arg_fail(2)) SWIG_fail;
30092 }
30093 {
30094 arg3 = wxString_in_helper(obj2);
30095 if (arg3 == NULL) SWIG_fail;
30096 temp3 = true;
30097 }
30098 if (obj3) {
30099 {
30100 arg4 = (int)(SWIG_As_int(obj3));
30101 if (SWIG_arg_fail(4)) SWIG_fail;
30102 }
30103 }
30104 if (obj4) {
30105 {
30106 arg5 = (int)(SWIG_As_int(obj4));
30107 if (SWIG_arg_fail(5)) SWIG_fail;
30108 }
30109 }
30110 if (obj5) {
30111 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30112 if (SWIG_arg_fail(6)) SWIG_fail;
30113 }
30114 {
30115 PyThreadState* __tstate = wxPyBeginAllowThreads();
30116 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30117
30118 wxPyEndAllowThreads(__tstate);
30119 if (PyErr_Occurred()) SWIG_fail;
30120 }
30121 {
30122 wxTreeItemId * resultptr;
30123 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30124 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30125 }
30126 {
30127 if (temp3)
30128 delete arg3;
30129 }
30130 return resultobj;
30131 fail:
30132 {
30133 if (temp3)
30134 delete arg3;
30135 }
30136 return NULL;
30137 }
30138
30139
30140 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
30141 PyObject *resultobj;
30142 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30143 wxTreeItemId *arg2 = 0 ;
30144 wxTreeItemId *arg3 = 0 ;
30145 wxString *arg4 = 0 ;
30146 int arg5 = (int) -1 ;
30147 int arg6 = (int) -1 ;
30148 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30149 wxTreeItemId result;
30150 bool temp4 = false ;
30151 PyObject * obj0 = 0 ;
30152 PyObject * obj1 = 0 ;
30153 PyObject * obj2 = 0 ;
30154 PyObject * obj3 = 0 ;
30155 PyObject * obj4 = 0 ;
30156 PyObject * obj5 = 0 ;
30157 PyObject * obj6 = 0 ;
30158 char *kwnames[] = {
30159 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30160 };
30161
30162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30164 if (SWIG_arg_fail(1)) SWIG_fail;
30165 {
30166 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30167 if (SWIG_arg_fail(2)) SWIG_fail;
30168 if (arg2 == NULL) {
30169 SWIG_null_ref("wxTreeItemId");
30170 }
30171 if (SWIG_arg_fail(2)) SWIG_fail;
30172 }
30173 {
30174 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30175 if (SWIG_arg_fail(3)) SWIG_fail;
30176 if (arg3 == NULL) {
30177 SWIG_null_ref("wxTreeItemId");
30178 }
30179 if (SWIG_arg_fail(3)) SWIG_fail;
30180 }
30181 {
30182 arg4 = wxString_in_helper(obj3);
30183 if (arg4 == NULL) SWIG_fail;
30184 temp4 = true;
30185 }
30186 if (obj4) {
30187 {
30188 arg5 = (int)(SWIG_As_int(obj4));
30189 if (SWIG_arg_fail(5)) SWIG_fail;
30190 }
30191 }
30192 if (obj5) {
30193 {
30194 arg6 = (int)(SWIG_As_int(obj5));
30195 if (SWIG_arg_fail(6)) SWIG_fail;
30196 }
30197 }
30198 if (obj6) {
30199 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30200 if (SWIG_arg_fail(7)) SWIG_fail;
30201 }
30202 {
30203 PyThreadState* __tstate = wxPyBeginAllowThreads();
30204 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30205
30206 wxPyEndAllowThreads(__tstate);
30207 if (PyErr_Occurred()) SWIG_fail;
30208 }
30209 {
30210 wxTreeItemId * resultptr;
30211 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30213 }
30214 {
30215 if (temp4)
30216 delete arg4;
30217 }
30218 return resultobj;
30219 fail:
30220 {
30221 if (temp4)
30222 delete arg4;
30223 }
30224 return NULL;
30225 }
30226
30227
30228 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
30229 PyObject *resultobj;
30230 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30231 wxTreeItemId *arg2 = 0 ;
30232 size_t arg3 ;
30233 wxString *arg4 = 0 ;
30234 int arg5 = (int) -1 ;
30235 int arg6 = (int) -1 ;
30236 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30237 wxTreeItemId result;
30238 bool temp4 = false ;
30239 PyObject * obj0 = 0 ;
30240 PyObject * obj1 = 0 ;
30241 PyObject * obj2 = 0 ;
30242 PyObject * obj3 = 0 ;
30243 PyObject * obj4 = 0 ;
30244 PyObject * obj5 = 0 ;
30245 PyObject * obj6 = 0 ;
30246 char *kwnames[] = {
30247 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30248 };
30249
30250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30252 if (SWIG_arg_fail(1)) SWIG_fail;
30253 {
30254 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30255 if (SWIG_arg_fail(2)) SWIG_fail;
30256 if (arg2 == NULL) {
30257 SWIG_null_ref("wxTreeItemId");
30258 }
30259 if (SWIG_arg_fail(2)) SWIG_fail;
30260 }
30261 {
30262 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30263 if (SWIG_arg_fail(3)) SWIG_fail;
30264 }
30265 {
30266 arg4 = wxString_in_helper(obj3);
30267 if (arg4 == NULL) SWIG_fail;
30268 temp4 = true;
30269 }
30270 if (obj4) {
30271 {
30272 arg5 = (int)(SWIG_As_int(obj4));
30273 if (SWIG_arg_fail(5)) SWIG_fail;
30274 }
30275 }
30276 if (obj5) {
30277 {
30278 arg6 = (int)(SWIG_As_int(obj5));
30279 if (SWIG_arg_fail(6)) SWIG_fail;
30280 }
30281 }
30282 if (obj6) {
30283 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30284 if (SWIG_arg_fail(7)) SWIG_fail;
30285 }
30286 {
30287 PyThreadState* __tstate = wxPyBeginAllowThreads();
30288 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30289
30290 wxPyEndAllowThreads(__tstate);
30291 if (PyErr_Occurred()) SWIG_fail;
30292 }
30293 {
30294 wxTreeItemId * resultptr;
30295 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30297 }
30298 {
30299 if (temp4)
30300 delete arg4;
30301 }
30302 return resultobj;
30303 fail:
30304 {
30305 if (temp4)
30306 delete arg4;
30307 }
30308 return NULL;
30309 }
30310
30311
30312 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30313 PyObject *resultobj;
30314 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30315 wxTreeItemId *arg2 = 0 ;
30316 wxString *arg3 = 0 ;
30317 int arg4 = (int) -1 ;
30318 int arg5 = (int) -1 ;
30319 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30320 wxTreeItemId result;
30321 bool temp3 = false ;
30322 PyObject * obj0 = 0 ;
30323 PyObject * obj1 = 0 ;
30324 PyObject * obj2 = 0 ;
30325 PyObject * obj3 = 0 ;
30326 PyObject * obj4 = 0 ;
30327 PyObject * obj5 = 0 ;
30328 char *kwnames[] = {
30329 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30330 };
30331
30332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30334 if (SWIG_arg_fail(1)) SWIG_fail;
30335 {
30336 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30337 if (SWIG_arg_fail(2)) SWIG_fail;
30338 if (arg2 == NULL) {
30339 SWIG_null_ref("wxTreeItemId");
30340 }
30341 if (SWIG_arg_fail(2)) SWIG_fail;
30342 }
30343 {
30344 arg3 = wxString_in_helper(obj2);
30345 if (arg3 == NULL) SWIG_fail;
30346 temp3 = true;
30347 }
30348 if (obj3) {
30349 {
30350 arg4 = (int)(SWIG_As_int(obj3));
30351 if (SWIG_arg_fail(4)) SWIG_fail;
30352 }
30353 }
30354 if (obj4) {
30355 {
30356 arg5 = (int)(SWIG_As_int(obj4));
30357 if (SWIG_arg_fail(5)) SWIG_fail;
30358 }
30359 }
30360 if (obj5) {
30361 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30362 if (SWIG_arg_fail(6)) SWIG_fail;
30363 }
30364 {
30365 PyThreadState* __tstate = wxPyBeginAllowThreads();
30366 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30367
30368 wxPyEndAllowThreads(__tstate);
30369 if (PyErr_Occurred()) SWIG_fail;
30370 }
30371 {
30372 wxTreeItemId * resultptr;
30373 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30374 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30375 }
30376 {
30377 if (temp3)
30378 delete arg3;
30379 }
30380 return resultobj;
30381 fail:
30382 {
30383 if (temp3)
30384 delete arg3;
30385 }
30386 return NULL;
30387 }
30388
30389
30390 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30391 PyObject *resultobj;
30392 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30393 wxTreeItemId *arg2 = 0 ;
30394 PyObject * obj0 = 0 ;
30395 PyObject * obj1 = 0 ;
30396 char *kwnames[] = {
30397 (char *) "self",(char *) "item", NULL
30398 };
30399
30400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30402 if (SWIG_arg_fail(1)) SWIG_fail;
30403 {
30404 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30405 if (SWIG_arg_fail(2)) SWIG_fail;
30406 if (arg2 == NULL) {
30407 SWIG_null_ref("wxTreeItemId");
30408 }
30409 if (SWIG_arg_fail(2)) SWIG_fail;
30410 }
30411 {
30412 PyThreadState* __tstate = wxPyBeginAllowThreads();
30413 (arg1)->Delete((wxTreeItemId const &)*arg2);
30414
30415 wxPyEndAllowThreads(__tstate);
30416 if (PyErr_Occurred()) SWIG_fail;
30417 }
30418 Py_INCREF(Py_None); resultobj = Py_None;
30419 return resultobj;
30420 fail:
30421 return NULL;
30422 }
30423
30424
30425 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30426 PyObject *resultobj;
30427 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30428 wxTreeItemId *arg2 = 0 ;
30429 PyObject * obj0 = 0 ;
30430 PyObject * obj1 = 0 ;
30431 char *kwnames[] = {
30432 (char *) "self",(char *) "item", NULL
30433 };
30434
30435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30437 if (SWIG_arg_fail(1)) SWIG_fail;
30438 {
30439 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30440 if (SWIG_arg_fail(2)) SWIG_fail;
30441 if (arg2 == NULL) {
30442 SWIG_null_ref("wxTreeItemId");
30443 }
30444 if (SWIG_arg_fail(2)) SWIG_fail;
30445 }
30446 {
30447 PyThreadState* __tstate = wxPyBeginAllowThreads();
30448 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30449
30450 wxPyEndAllowThreads(__tstate);
30451 if (PyErr_Occurred()) SWIG_fail;
30452 }
30453 Py_INCREF(Py_None); resultobj = Py_None;
30454 return resultobj;
30455 fail:
30456 return NULL;
30457 }
30458
30459
30460 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30461 PyObject *resultobj;
30462 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30463 PyObject * obj0 = 0 ;
30464 char *kwnames[] = {
30465 (char *) "self", NULL
30466 };
30467
30468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30470 if (SWIG_arg_fail(1)) SWIG_fail;
30471 {
30472 PyThreadState* __tstate = wxPyBeginAllowThreads();
30473 (arg1)->DeleteAllItems();
30474
30475 wxPyEndAllowThreads(__tstate);
30476 if (PyErr_Occurred()) SWIG_fail;
30477 }
30478 Py_INCREF(Py_None); resultobj = Py_None;
30479 return resultobj;
30480 fail:
30481 return NULL;
30482 }
30483
30484
30485 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30486 PyObject *resultobj;
30487 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30488 wxTreeItemId *arg2 = 0 ;
30489 PyObject * obj0 = 0 ;
30490 PyObject * obj1 = 0 ;
30491 char *kwnames[] = {
30492 (char *) "self",(char *) "item", NULL
30493 };
30494
30495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30497 if (SWIG_arg_fail(1)) SWIG_fail;
30498 {
30499 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30500 if (SWIG_arg_fail(2)) SWIG_fail;
30501 if (arg2 == NULL) {
30502 SWIG_null_ref("wxTreeItemId");
30503 }
30504 if (SWIG_arg_fail(2)) SWIG_fail;
30505 }
30506 {
30507 PyThreadState* __tstate = wxPyBeginAllowThreads();
30508 (arg1)->Expand((wxTreeItemId const &)*arg2);
30509
30510 wxPyEndAllowThreads(__tstate);
30511 if (PyErr_Occurred()) SWIG_fail;
30512 }
30513 Py_INCREF(Py_None); resultobj = Py_None;
30514 return resultobj;
30515 fail:
30516 return NULL;
30517 }
30518
30519
30520 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30521 PyObject *resultobj;
30522 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30523 wxTreeItemId *arg2 = 0 ;
30524 PyObject * obj0 = 0 ;
30525 PyObject * obj1 = 0 ;
30526 char *kwnames[] = {
30527 (char *) "self",(char *) "item", NULL
30528 };
30529
30530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30532 if (SWIG_arg_fail(1)) SWIG_fail;
30533 {
30534 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30535 if (SWIG_arg_fail(2)) SWIG_fail;
30536 if (arg2 == NULL) {
30537 SWIG_null_ref("wxTreeItemId");
30538 }
30539 if (SWIG_arg_fail(2)) SWIG_fail;
30540 }
30541 {
30542 PyThreadState* __tstate = wxPyBeginAllowThreads();
30543 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30544
30545 wxPyEndAllowThreads(__tstate);
30546 if (PyErr_Occurred()) SWIG_fail;
30547 }
30548 Py_INCREF(Py_None); resultobj = Py_None;
30549 return resultobj;
30550 fail:
30551 return NULL;
30552 }
30553
30554
30555 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30556 PyObject *resultobj;
30557 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30558 wxTreeItemId *arg2 = 0 ;
30559 PyObject * obj0 = 0 ;
30560 PyObject * obj1 = 0 ;
30561 char *kwnames[] = {
30562 (char *) "self",(char *) "item", NULL
30563 };
30564
30565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30567 if (SWIG_arg_fail(1)) SWIG_fail;
30568 {
30569 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30570 if (SWIG_arg_fail(2)) SWIG_fail;
30571 if (arg2 == NULL) {
30572 SWIG_null_ref("wxTreeItemId");
30573 }
30574 if (SWIG_arg_fail(2)) SWIG_fail;
30575 }
30576 {
30577 PyThreadState* __tstate = wxPyBeginAllowThreads();
30578 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30579
30580 wxPyEndAllowThreads(__tstate);
30581 if (PyErr_Occurred()) SWIG_fail;
30582 }
30583 Py_INCREF(Py_None); resultobj = Py_None;
30584 return resultobj;
30585 fail:
30586 return NULL;
30587 }
30588
30589
30590 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30591 PyObject *resultobj;
30592 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30593 wxTreeItemId *arg2 = 0 ;
30594 PyObject * obj0 = 0 ;
30595 PyObject * obj1 = 0 ;
30596 char *kwnames[] = {
30597 (char *) "self",(char *) "item", NULL
30598 };
30599
30600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30602 if (SWIG_arg_fail(1)) SWIG_fail;
30603 {
30604 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30605 if (SWIG_arg_fail(2)) SWIG_fail;
30606 if (arg2 == NULL) {
30607 SWIG_null_ref("wxTreeItemId");
30608 }
30609 if (SWIG_arg_fail(2)) SWIG_fail;
30610 }
30611 {
30612 PyThreadState* __tstate = wxPyBeginAllowThreads();
30613 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30614
30615 wxPyEndAllowThreads(__tstate);
30616 if (PyErr_Occurred()) SWIG_fail;
30617 }
30618 Py_INCREF(Py_None); resultobj = Py_None;
30619 return resultobj;
30620 fail:
30621 return NULL;
30622 }
30623
30624
30625 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30626 PyObject *resultobj;
30627 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30628 PyObject * obj0 = 0 ;
30629 char *kwnames[] = {
30630 (char *) "self", NULL
30631 };
30632
30633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30635 if (SWIG_arg_fail(1)) SWIG_fail;
30636 {
30637 PyThreadState* __tstate = wxPyBeginAllowThreads();
30638 (arg1)->Unselect();
30639
30640 wxPyEndAllowThreads(__tstate);
30641 if (PyErr_Occurred()) SWIG_fail;
30642 }
30643 Py_INCREF(Py_None); resultobj = Py_None;
30644 return resultobj;
30645 fail:
30646 return NULL;
30647 }
30648
30649
30650 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30651 PyObject *resultobj;
30652 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30653 wxTreeItemId *arg2 = 0 ;
30654 PyObject * obj0 = 0 ;
30655 PyObject * obj1 = 0 ;
30656 char *kwnames[] = {
30657 (char *) "self",(char *) "item", NULL
30658 };
30659
30660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30662 if (SWIG_arg_fail(1)) SWIG_fail;
30663 {
30664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30665 if (SWIG_arg_fail(2)) SWIG_fail;
30666 if (arg2 == NULL) {
30667 SWIG_null_ref("wxTreeItemId");
30668 }
30669 if (SWIG_arg_fail(2)) SWIG_fail;
30670 }
30671 {
30672 PyThreadState* __tstate = wxPyBeginAllowThreads();
30673 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30674
30675 wxPyEndAllowThreads(__tstate);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 }
30678 Py_INCREF(Py_None); resultobj = Py_None;
30679 return resultobj;
30680 fail:
30681 return NULL;
30682 }
30683
30684
30685 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30686 PyObject *resultobj;
30687 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30688 PyObject * obj0 = 0 ;
30689 char *kwnames[] = {
30690 (char *) "self", NULL
30691 };
30692
30693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30695 if (SWIG_arg_fail(1)) SWIG_fail;
30696 {
30697 PyThreadState* __tstate = wxPyBeginAllowThreads();
30698 (arg1)->UnselectAll();
30699
30700 wxPyEndAllowThreads(__tstate);
30701 if (PyErr_Occurred()) SWIG_fail;
30702 }
30703 Py_INCREF(Py_None); resultobj = Py_None;
30704 return resultobj;
30705 fail:
30706 return NULL;
30707 }
30708
30709
30710 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30711 PyObject *resultobj;
30712 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30713 wxTreeItemId *arg2 = 0 ;
30714 bool arg3 = (bool) true ;
30715 PyObject * obj0 = 0 ;
30716 PyObject * obj1 = 0 ;
30717 PyObject * obj2 = 0 ;
30718 char *kwnames[] = {
30719 (char *) "self",(char *) "item",(char *) "select", NULL
30720 };
30721
30722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30724 if (SWIG_arg_fail(1)) SWIG_fail;
30725 {
30726 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30727 if (SWIG_arg_fail(2)) SWIG_fail;
30728 if (arg2 == NULL) {
30729 SWIG_null_ref("wxTreeItemId");
30730 }
30731 if (SWIG_arg_fail(2)) SWIG_fail;
30732 }
30733 if (obj2) {
30734 {
30735 arg3 = (bool)(SWIG_As_bool(obj2));
30736 if (SWIG_arg_fail(3)) SWIG_fail;
30737 }
30738 }
30739 {
30740 PyThreadState* __tstate = wxPyBeginAllowThreads();
30741 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30742
30743 wxPyEndAllowThreads(__tstate);
30744 if (PyErr_Occurred()) SWIG_fail;
30745 }
30746 Py_INCREF(Py_None); resultobj = Py_None;
30747 return resultobj;
30748 fail:
30749 return NULL;
30750 }
30751
30752
30753 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30754 PyObject *resultobj;
30755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30756 wxTreeItemId *arg2 = 0 ;
30757 PyObject * obj0 = 0 ;
30758 PyObject * obj1 = 0 ;
30759 char *kwnames[] = {
30760 (char *) "self",(char *) "item", NULL
30761 };
30762
30763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30765 if (SWIG_arg_fail(1)) SWIG_fail;
30766 {
30767 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30768 if (SWIG_arg_fail(2)) SWIG_fail;
30769 if (arg2 == NULL) {
30770 SWIG_null_ref("wxTreeItemId");
30771 }
30772 if (SWIG_arg_fail(2)) SWIG_fail;
30773 }
30774 {
30775 PyThreadState* __tstate = wxPyBeginAllowThreads();
30776 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30777
30778 wxPyEndAllowThreads(__tstate);
30779 if (PyErr_Occurred()) SWIG_fail;
30780 }
30781 Py_INCREF(Py_None); resultobj = Py_None;
30782 return resultobj;
30783 fail:
30784 return NULL;
30785 }
30786
30787
30788 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30789 PyObject *resultobj;
30790 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30791 wxTreeItemId *arg2 = 0 ;
30792 PyObject * obj0 = 0 ;
30793 PyObject * obj1 = 0 ;
30794 char *kwnames[] = {
30795 (char *) "self",(char *) "item", NULL
30796 };
30797
30798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
30799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30800 if (SWIG_arg_fail(1)) SWIG_fail;
30801 {
30802 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30803 if (SWIG_arg_fail(2)) SWIG_fail;
30804 if (arg2 == NULL) {
30805 SWIG_null_ref("wxTreeItemId");
30806 }
30807 if (SWIG_arg_fail(2)) SWIG_fail;
30808 }
30809 {
30810 PyThreadState* __tstate = wxPyBeginAllowThreads();
30811 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30812
30813 wxPyEndAllowThreads(__tstate);
30814 if (PyErr_Occurred()) SWIG_fail;
30815 }
30816 Py_INCREF(Py_None); resultobj = Py_None;
30817 return resultobj;
30818 fail:
30819 return NULL;
30820 }
30821
30822
30823 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30824 PyObject *resultobj;
30825 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30826 wxTreeItemId *arg2 = 0 ;
30827 PyObject * obj0 = 0 ;
30828 PyObject * obj1 = 0 ;
30829 char *kwnames[] = {
30830 (char *) "self",(char *) "item", NULL
30831 };
30832
30833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30835 if (SWIG_arg_fail(1)) SWIG_fail;
30836 {
30837 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30838 if (SWIG_arg_fail(2)) SWIG_fail;
30839 if (arg2 == NULL) {
30840 SWIG_null_ref("wxTreeItemId");
30841 }
30842 if (SWIG_arg_fail(2)) SWIG_fail;
30843 }
30844 {
30845 PyThreadState* __tstate = wxPyBeginAllowThreads();
30846 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30847
30848 wxPyEndAllowThreads(__tstate);
30849 if (PyErr_Occurred()) SWIG_fail;
30850 }
30851 Py_INCREF(Py_None); resultobj = Py_None;
30852 return resultobj;
30853 fail:
30854 return NULL;
30855 }
30856
30857
30858 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30859 PyObject *resultobj;
30860 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30861 wxTreeItemId *arg2 = 0 ;
30862 PyObject * obj0 = 0 ;
30863 PyObject * obj1 = 0 ;
30864 char *kwnames[] = {
30865 (char *) "self",(char *) "item", NULL
30866 };
30867
30868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30870 if (SWIG_arg_fail(1)) SWIG_fail;
30871 {
30872 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30873 if (SWIG_arg_fail(2)) SWIG_fail;
30874 if (arg2 == NULL) {
30875 SWIG_null_ref("wxTreeItemId");
30876 }
30877 if (SWIG_arg_fail(2)) SWIG_fail;
30878 }
30879 {
30880 PyThreadState* __tstate = wxPyBeginAllowThreads();
30881 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30882
30883 wxPyEndAllowThreads(__tstate);
30884 if (PyErr_Occurred()) SWIG_fail;
30885 }
30886 Py_INCREF(Py_None); resultobj = Py_None;
30887 return resultobj;
30888 fail:
30889 return NULL;
30890 }
30891
30892
30893 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30894 PyObject *resultobj;
30895 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30896 wxTextCtrl *result;
30897 PyObject * obj0 = 0 ;
30898 char *kwnames[] = {
30899 (char *) "self", NULL
30900 };
30901
30902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30904 if (SWIG_arg_fail(1)) SWIG_fail;
30905 {
30906 PyThreadState* __tstate = wxPyBeginAllowThreads();
30907 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30908
30909 wxPyEndAllowThreads(__tstate);
30910 if (PyErr_Occurred()) SWIG_fail;
30911 }
30912 {
30913 resultobj = wxPyMake_wxObject(result, 0);
30914 }
30915 return resultobj;
30916 fail:
30917 return NULL;
30918 }
30919
30920
30921 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30922 PyObject *resultobj;
30923 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30924 wxTreeItemId *arg2 = 0 ;
30925 bool arg3 = (bool) false ;
30926 PyObject * obj0 = 0 ;
30927 PyObject * obj1 = 0 ;
30928 PyObject * obj2 = 0 ;
30929 char *kwnames[] = {
30930 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30931 };
30932
30933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
30934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30935 if (SWIG_arg_fail(1)) SWIG_fail;
30936 {
30937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30938 if (SWIG_arg_fail(2)) SWIG_fail;
30939 if (arg2 == NULL) {
30940 SWIG_null_ref("wxTreeItemId");
30941 }
30942 if (SWIG_arg_fail(2)) SWIG_fail;
30943 }
30944 if (obj2) {
30945 {
30946 arg3 = (bool)(SWIG_As_bool(obj2));
30947 if (SWIG_arg_fail(3)) SWIG_fail;
30948 }
30949 }
30950 {
30951 PyThreadState* __tstate = wxPyBeginAllowThreads();
30952 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
30953
30954 wxPyEndAllowThreads(__tstate);
30955 if (PyErr_Occurred()) SWIG_fail;
30956 }
30957 Py_INCREF(Py_None); resultobj = Py_None;
30958 return resultobj;
30959 fail:
30960 return NULL;
30961 }
30962
30963
30964 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30965 PyObject *resultobj;
30966 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30967 wxTreeItemId *arg2 = 0 ;
30968 PyObject * obj0 = 0 ;
30969 PyObject * obj1 = 0 ;
30970 char *kwnames[] = {
30971 (char *) "self",(char *) "item", NULL
30972 };
30973
30974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
30975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30976 if (SWIG_arg_fail(1)) SWIG_fail;
30977 {
30978 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30979 if (SWIG_arg_fail(2)) SWIG_fail;
30980 if (arg2 == NULL) {
30981 SWIG_null_ref("wxTreeItemId");
30982 }
30983 if (SWIG_arg_fail(2)) SWIG_fail;
30984 }
30985 {
30986 PyThreadState* __tstate = wxPyBeginAllowThreads();
30987 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30988
30989 wxPyEndAllowThreads(__tstate);
30990 if (PyErr_Occurred()) SWIG_fail;
30991 }
30992 Py_INCREF(Py_None); resultobj = Py_None;
30993 return resultobj;
30994 fail:
30995 return NULL;
30996 }
30997
30998
30999 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
31000 PyObject *resultobj;
31001 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31002 wxPoint *arg2 = 0 ;
31003 int *arg3 = 0 ;
31004 wxTreeItemId result;
31005 wxPoint temp2 ;
31006 int temp3 ;
31007 int res3 = 0 ;
31008 PyObject * obj0 = 0 ;
31009 PyObject * obj1 = 0 ;
31010 char *kwnames[] = {
31011 (char *) "self",(char *) "point", NULL
31012 };
31013
31014 arg3 = &temp3; res3 = SWIG_NEWOBJ;
31015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
31016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31017 if (SWIG_arg_fail(1)) SWIG_fail;
31018 {
31019 arg2 = &temp2;
31020 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31021 }
31022 {
31023 PyThreadState* __tstate = wxPyBeginAllowThreads();
31024 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31025
31026 wxPyEndAllowThreads(__tstate);
31027 if (PyErr_Occurred()) SWIG_fail;
31028 }
31029 {
31030 wxTreeItemId * resultptr;
31031 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31033 }
31034 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
31035 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
31036 return resultobj;
31037 fail:
31038 return NULL;
31039 }
31040
31041
31042 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
31043 PyObject *resultobj;
31044 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31045 wxTreeItemId *arg2 = 0 ;
31046 bool arg3 = (bool) false ;
31047 PyObject *result;
31048 PyObject * obj0 = 0 ;
31049 PyObject * obj1 = 0 ;
31050 PyObject * obj2 = 0 ;
31051 char *kwnames[] = {
31052 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31053 };
31054
31055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
31056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31057 if (SWIG_arg_fail(1)) SWIG_fail;
31058 {
31059 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31060 if (SWIG_arg_fail(2)) SWIG_fail;
31061 if (arg2 == NULL) {
31062 SWIG_null_ref("wxTreeItemId");
31063 }
31064 if (SWIG_arg_fail(2)) SWIG_fail;
31065 }
31066 if (obj2) {
31067 {
31068 arg3 = (bool)(SWIG_As_bool(obj2));
31069 if (SWIG_arg_fail(3)) SWIG_fail;
31070 }
31071 }
31072 {
31073 PyThreadState* __tstate = wxPyBeginAllowThreads();
31074 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
31075
31076 wxPyEndAllowThreads(__tstate);
31077 if (PyErr_Occurred()) SWIG_fail;
31078 }
31079 resultobj = result;
31080 return resultobj;
31081 fail:
31082 return NULL;
31083 }
31084
31085
31086 static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
31087 PyObject *resultobj;
31088 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31089 wxTreeItemId *arg2 = 0 ;
31090 int arg3 ;
31091 PyObject * obj0 = 0 ;
31092 PyObject * obj1 = 0 ;
31093 PyObject * obj2 = 0 ;
31094 char *kwnames[] = {
31095 (char *) "self",(char *) "node",(char *) "state", NULL
31096 };
31097
31098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
31099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31100 if (SWIG_arg_fail(1)) SWIG_fail;
31101 {
31102 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31103 if (SWIG_arg_fail(2)) SWIG_fail;
31104 if (arg2 == NULL) {
31105 SWIG_null_ref("wxTreeItemId");
31106 }
31107 if (SWIG_arg_fail(2)) SWIG_fail;
31108 }
31109 {
31110 arg3 = (int)(SWIG_As_int(obj2));
31111 if (SWIG_arg_fail(3)) SWIG_fail;
31112 }
31113 {
31114 PyThreadState* __tstate = wxPyBeginAllowThreads();
31115 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
31116
31117 wxPyEndAllowThreads(__tstate);
31118 if (PyErr_Occurred()) SWIG_fail;
31119 }
31120 Py_INCREF(Py_None); resultobj = Py_None;
31121 return resultobj;
31122 fail:
31123 return NULL;
31124 }
31125
31126
31127 static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
31128 PyObject *resultobj;
31129 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31130 wxTreeItemId *arg2 = 0 ;
31131 int result;
31132 PyObject * obj0 = 0 ;
31133 PyObject * obj1 = 0 ;
31134 char *kwnames[] = {
31135 (char *) "self",(char *) "node", NULL
31136 };
31137
31138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
31139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31140 if (SWIG_arg_fail(1)) SWIG_fail;
31141 {
31142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31143 if (SWIG_arg_fail(2)) SWIG_fail;
31144 if (arg2 == NULL) {
31145 SWIG_null_ref("wxTreeItemId");
31146 }
31147 if (SWIG_arg_fail(2)) SWIG_fail;
31148 }
31149 {
31150 PyThreadState* __tstate = wxPyBeginAllowThreads();
31151 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
31152
31153 wxPyEndAllowThreads(__tstate);
31154 if (PyErr_Occurred()) SWIG_fail;
31155 }
31156 {
31157 resultobj = SWIG_From_int((int)(result));
31158 }
31159 return resultobj;
31160 fail:
31161 return NULL;
31162 }
31163
31164
31165 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
31166 PyObject *resultobj;
31167 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
31168 wxVisualAttributes result;
31169 PyObject * obj0 = 0 ;
31170 char *kwnames[] = {
31171 (char *) "variant", NULL
31172 };
31173
31174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
31175 if (obj0) {
31176 {
31177 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
31178 if (SWIG_arg_fail(1)) SWIG_fail;
31179 }
31180 }
31181 {
31182 if (!wxPyCheckForApp()) SWIG_fail;
31183 PyThreadState* __tstate = wxPyBeginAllowThreads();
31184 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
31185
31186 wxPyEndAllowThreads(__tstate);
31187 if (PyErr_Occurred()) SWIG_fail;
31188 }
31189 {
31190 wxVisualAttributes * resultptr;
31191 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
31192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
31193 }
31194 return resultobj;
31195 fail:
31196 return NULL;
31197 }
31198
31199
31200 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
31201 PyObject *obj;
31202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31203 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
31204 Py_INCREF(obj);
31205 return Py_BuildValue((char *)"");
31206 }
31207 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
31208 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
31209 return 1;
31210 }
31211
31212
31213 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
31214 PyObject *pyobj;
31215
31216 {
31217 #if wxUSE_UNICODE
31218 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31219 #else
31220 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31221 #endif
31222 }
31223 return pyobj;
31224 }
31225
31226
31227 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31228 PyObject *resultobj;
31229 wxWindow *arg1 = (wxWindow *) 0 ;
31230 int arg2 = (int) (int)-1 ;
31231 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
31232 wxString *arg3 = (wxString *) &arg3_defvalue ;
31233 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31234 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31235 wxSize const &arg5_defvalue = wxDefaultSize ;
31236 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31237 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31238 wxString const &arg7_defvalue = wxPyEmptyString ;
31239 wxString *arg7 = (wxString *) &arg7_defvalue ;
31240 int arg8 = (int) 0 ;
31241 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
31242 wxString *arg9 = (wxString *) &arg9_defvalue ;
31243 wxGenericDirCtrl *result;
31244 bool temp3 = false ;
31245 wxPoint temp4 ;
31246 wxSize temp5 ;
31247 bool temp7 = false ;
31248 bool temp9 = false ;
31249 PyObject * obj0 = 0 ;
31250 PyObject * obj1 = 0 ;
31251 PyObject * obj2 = 0 ;
31252 PyObject * obj3 = 0 ;
31253 PyObject * obj4 = 0 ;
31254 PyObject * obj5 = 0 ;
31255 PyObject * obj6 = 0 ;
31256 PyObject * obj7 = 0 ;
31257 PyObject * obj8 = 0 ;
31258 char *kwnames[] = {
31259 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31260 };
31261
31262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
31263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31264 if (SWIG_arg_fail(1)) SWIG_fail;
31265 if (obj1) {
31266 {
31267 arg2 = (int const)(SWIG_As_int(obj1));
31268 if (SWIG_arg_fail(2)) SWIG_fail;
31269 }
31270 }
31271 if (obj2) {
31272 {
31273 arg3 = wxString_in_helper(obj2);
31274 if (arg3 == NULL) SWIG_fail;
31275 temp3 = true;
31276 }
31277 }
31278 if (obj3) {
31279 {
31280 arg4 = &temp4;
31281 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31282 }
31283 }
31284 if (obj4) {
31285 {
31286 arg5 = &temp5;
31287 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31288 }
31289 }
31290 if (obj5) {
31291 {
31292 arg6 = (long)(SWIG_As_long(obj5));
31293 if (SWIG_arg_fail(6)) SWIG_fail;
31294 }
31295 }
31296 if (obj6) {
31297 {
31298 arg7 = wxString_in_helper(obj6);
31299 if (arg7 == NULL) SWIG_fail;
31300 temp7 = true;
31301 }
31302 }
31303 if (obj7) {
31304 {
31305 arg8 = (int)(SWIG_As_int(obj7));
31306 if (SWIG_arg_fail(8)) SWIG_fail;
31307 }
31308 }
31309 if (obj8) {
31310 {
31311 arg9 = wxString_in_helper(obj8);
31312 if (arg9 == NULL) SWIG_fail;
31313 temp9 = true;
31314 }
31315 }
31316 {
31317 if (!wxPyCheckForApp()) SWIG_fail;
31318 PyThreadState* __tstate = wxPyBeginAllowThreads();
31319 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31320
31321 wxPyEndAllowThreads(__tstate);
31322 if (PyErr_Occurred()) SWIG_fail;
31323 }
31324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31325 {
31326 if (temp3)
31327 delete arg3;
31328 }
31329 {
31330 if (temp7)
31331 delete arg7;
31332 }
31333 {
31334 if (temp9)
31335 delete arg9;
31336 }
31337 return resultobj;
31338 fail:
31339 {
31340 if (temp3)
31341 delete arg3;
31342 }
31343 {
31344 if (temp7)
31345 delete arg7;
31346 }
31347 {
31348 if (temp9)
31349 delete arg9;
31350 }
31351 return NULL;
31352 }
31353
31354
31355 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31356 PyObject *resultobj;
31357 wxGenericDirCtrl *result;
31358 char *kwnames[] = {
31359 NULL
31360 };
31361
31362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31363 {
31364 if (!wxPyCheckForApp()) SWIG_fail;
31365 PyThreadState* __tstate = wxPyBeginAllowThreads();
31366 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31367
31368 wxPyEndAllowThreads(__tstate);
31369 if (PyErr_Occurred()) SWIG_fail;
31370 }
31371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31372 return resultobj;
31373 fail:
31374 return NULL;
31375 }
31376
31377
31378 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31379 PyObject *resultobj;
31380 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31381 wxWindow *arg2 = (wxWindow *) 0 ;
31382 int arg3 = (int) (int)-1 ;
31383 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31384 wxString *arg4 = (wxString *) &arg4_defvalue ;
31385 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31386 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31387 wxSize const &arg6_defvalue = wxDefaultSize ;
31388 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31389 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31390 wxString const &arg8_defvalue = wxPyEmptyString ;
31391 wxString *arg8 = (wxString *) &arg8_defvalue ;
31392 int arg9 = (int) 0 ;
31393 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31394 wxString *arg10 = (wxString *) &arg10_defvalue ;
31395 bool result;
31396 bool temp4 = false ;
31397 wxPoint temp5 ;
31398 wxSize temp6 ;
31399 bool temp8 = false ;
31400 bool temp10 = false ;
31401 PyObject * obj0 = 0 ;
31402 PyObject * obj1 = 0 ;
31403 PyObject * obj2 = 0 ;
31404 PyObject * obj3 = 0 ;
31405 PyObject * obj4 = 0 ;
31406 PyObject * obj5 = 0 ;
31407 PyObject * obj6 = 0 ;
31408 PyObject * obj7 = 0 ;
31409 PyObject * obj8 = 0 ;
31410 PyObject * obj9 = 0 ;
31411 char *kwnames[] = {
31412 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31413 };
31414
31415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31417 if (SWIG_arg_fail(1)) SWIG_fail;
31418 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31419 if (SWIG_arg_fail(2)) SWIG_fail;
31420 if (obj2) {
31421 {
31422 arg3 = (int const)(SWIG_As_int(obj2));
31423 if (SWIG_arg_fail(3)) SWIG_fail;
31424 }
31425 }
31426 if (obj3) {
31427 {
31428 arg4 = wxString_in_helper(obj3);
31429 if (arg4 == NULL) SWIG_fail;
31430 temp4 = true;
31431 }
31432 }
31433 if (obj4) {
31434 {
31435 arg5 = &temp5;
31436 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31437 }
31438 }
31439 if (obj5) {
31440 {
31441 arg6 = &temp6;
31442 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31443 }
31444 }
31445 if (obj6) {
31446 {
31447 arg7 = (long)(SWIG_As_long(obj6));
31448 if (SWIG_arg_fail(7)) SWIG_fail;
31449 }
31450 }
31451 if (obj7) {
31452 {
31453 arg8 = wxString_in_helper(obj7);
31454 if (arg8 == NULL) SWIG_fail;
31455 temp8 = true;
31456 }
31457 }
31458 if (obj8) {
31459 {
31460 arg9 = (int)(SWIG_As_int(obj8));
31461 if (SWIG_arg_fail(9)) SWIG_fail;
31462 }
31463 }
31464 if (obj9) {
31465 {
31466 arg10 = wxString_in_helper(obj9);
31467 if (arg10 == NULL) SWIG_fail;
31468 temp10 = true;
31469 }
31470 }
31471 {
31472 PyThreadState* __tstate = wxPyBeginAllowThreads();
31473 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31474
31475 wxPyEndAllowThreads(__tstate);
31476 if (PyErr_Occurred()) SWIG_fail;
31477 }
31478 {
31479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31480 }
31481 {
31482 if (temp4)
31483 delete arg4;
31484 }
31485 {
31486 if (temp8)
31487 delete arg8;
31488 }
31489 {
31490 if (temp10)
31491 delete arg10;
31492 }
31493 return resultobj;
31494 fail:
31495 {
31496 if (temp4)
31497 delete arg4;
31498 }
31499 {
31500 if (temp8)
31501 delete arg8;
31502 }
31503 {
31504 if (temp10)
31505 delete arg10;
31506 }
31507 return NULL;
31508 }
31509
31510
31511 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31512 PyObject *resultobj;
31513 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31514 wxString *arg2 = 0 ;
31515 bool result;
31516 bool temp2 = false ;
31517 PyObject * obj0 = 0 ;
31518 PyObject * obj1 = 0 ;
31519 char *kwnames[] = {
31520 (char *) "self",(char *) "path", NULL
31521 };
31522
31523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31525 if (SWIG_arg_fail(1)) SWIG_fail;
31526 {
31527 arg2 = wxString_in_helper(obj1);
31528 if (arg2 == NULL) SWIG_fail;
31529 temp2 = true;
31530 }
31531 {
31532 PyThreadState* __tstate = wxPyBeginAllowThreads();
31533 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31534
31535 wxPyEndAllowThreads(__tstate);
31536 if (PyErr_Occurred()) SWIG_fail;
31537 }
31538 {
31539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31540 }
31541 {
31542 if (temp2)
31543 delete arg2;
31544 }
31545 return resultobj;
31546 fail:
31547 {
31548 if (temp2)
31549 delete arg2;
31550 }
31551 return NULL;
31552 }
31553
31554
31555 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31556 PyObject *resultobj;
31557 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31558 wxString result;
31559 PyObject * obj0 = 0 ;
31560 char *kwnames[] = {
31561 (char *) "self", NULL
31562 };
31563
31564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31566 if (SWIG_arg_fail(1)) SWIG_fail;
31567 {
31568 PyThreadState* __tstate = wxPyBeginAllowThreads();
31569 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31570
31571 wxPyEndAllowThreads(__tstate);
31572 if (PyErr_Occurred()) SWIG_fail;
31573 }
31574 {
31575 #if wxUSE_UNICODE
31576 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31577 #else
31578 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31579 #endif
31580 }
31581 return resultobj;
31582 fail:
31583 return NULL;
31584 }
31585
31586
31587 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31588 PyObject *resultobj;
31589 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31590 wxString *arg2 = 0 ;
31591 bool temp2 = false ;
31592 PyObject * obj0 = 0 ;
31593 PyObject * obj1 = 0 ;
31594 char *kwnames[] = {
31595 (char *) "self",(char *) "path", NULL
31596 };
31597
31598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31600 if (SWIG_arg_fail(1)) SWIG_fail;
31601 {
31602 arg2 = wxString_in_helper(obj1);
31603 if (arg2 == NULL) SWIG_fail;
31604 temp2 = true;
31605 }
31606 {
31607 PyThreadState* __tstate = wxPyBeginAllowThreads();
31608 (arg1)->SetDefaultPath((wxString const &)*arg2);
31609
31610 wxPyEndAllowThreads(__tstate);
31611 if (PyErr_Occurred()) SWIG_fail;
31612 }
31613 Py_INCREF(Py_None); resultobj = Py_None;
31614 {
31615 if (temp2)
31616 delete arg2;
31617 }
31618 return resultobj;
31619 fail:
31620 {
31621 if (temp2)
31622 delete arg2;
31623 }
31624 return NULL;
31625 }
31626
31627
31628 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31629 PyObject *resultobj;
31630 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31631 wxString result;
31632 PyObject * obj0 = 0 ;
31633 char *kwnames[] = {
31634 (char *) "self", NULL
31635 };
31636
31637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31639 if (SWIG_arg_fail(1)) SWIG_fail;
31640 {
31641 PyThreadState* __tstate = wxPyBeginAllowThreads();
31642 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31643
31644 wxPyEndAllowThreads(__tstate);
31645 if (PyErr_Occurred()) SWIG_fail;
31646 }
31647 {
31648 #if wxUSE_UNICODE
31649 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31650 #else
31651 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31652 #endif
31653 }
31654 return resultobj;
31655 fail:
31656 return NULL;
31657 }
31658
31659
31660 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31661 PyObject *resultobj;
31662 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31663 wxString result;
31664 PyObject * obj0 = 0 ;
31665 char *kwnames[] = {
31666 (char *) "self", NULL
31667 };
31668
31669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31671 if (SWIG_arg_fail(1)) SWIG_fail;
31672 {
31673 PyThreadState* __tstate = wxPyBeginAllowThreads();
31674 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31675
31676 wxPyEndAllowThreads(__tstate);
31677 if (PyErr_Occurred()) SWIG_fail;
31678 }
31679 {
31680 #if wxUSE_UNICODE
31681 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31682 #else
31683 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31684 #endif
31685 }
31686 return resultobj;
31687 fail:
31688 return NULL;
31689 }
31690
31691
31692 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31693 PyObject *resultobj;
31694 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31695 wxString *arg2 = 0 ;
31696 bool temp2 = false ;
31697 PyObject * obj0 = 0 ;
31698 PyObject * obj1 = 0 ;
31699 char *kwnames[] = {
31700 (char *) "self",(char *) "path", NULL
31701 };
31702
31703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31705 if (SWIG_arg_fail(1)) SWIG_fail;
31706 {
31707 arg2 = wxString_in_helper(obj1);
31708 if (arg2 == NULL) SWIG_fail;
31709 temp2 = true;
31710 }
31711 {
31712 PyThreadState* __tstate = wxPyBeginAllowThreads();
31713 (arg1)->SetPath((wxString const &)*arg2);
31714
31715 wxPyEndAllowThreads(__tstate);
31716 if (PyErr_Occurred()) SWIG_fail;
31717 }
31718 Py_INCREF(Py_None); resultobj = Py_None;
31719 {
31720 if (temp2)
31721 delete arg2;
31722 }
31723 return resultobj;
31724 fail:
31725 {
31726 if (temp2)
31727 delete arg2;
31728 }
31729 return NULL;
31730 }
31731
31732
31733 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31734 PyObject *resultobj;
31735 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31736 bool arg2 ;
31737 PyObject * obj0 = 0 ;
31738 PyObject * obj1 = 0 ;
31739 char *kwnames[] = {
31740 (char *) "self",(char *) "show", NULL
31741 };
31742
31743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31745 if (SWIG_arg_fail(1)) SWIG_fail;
31746 {
31747 arg2 = (bool)(SWIG_As_bool(obj1));
31748 if (SWIG_arg_fail(2)) SWIG_fail;
31749 }
31750 {
31751 PyThreadState* __tstate = wxPyBeginAllowThreads();
31752 (arg1)->ShowHidden(arg2);
31753
31754 wxPyEndAllowThreads(__tstate);
31755 if (PyErr_Occurred()) SWIG_fail;
31756 }
31757 Py_INCREF(Py_None); resultobj = Py_None;
31758 return resultobj;
31759 fail:
31760 return NULL;
31761 }
31762
31763
31764 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31765 PyObject *resultobj;
31766 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31767 bool result;
31768 PyObject * obj0 = 0 ;
31769 char *kwnames[] = {
31770 (char *) "self", NULL
31771 };
31772
31773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31775 if (SWIG_arg_fail(1)) SWIG_fail;
31776 {
31777 PyThreadState* __tstate = wxPyBeginAllowThreads();
31778 result = (bool)(arg1)->GetShowHidden();
31779
31780 wxPyEndAllowThreads(__tstate);
31781 if (PyErr_Occurred()) SWIG_fail;
31782 }
31783 {
31784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31785 }
31786 return resultobj;
31787 fail:
31788 return NULL;
31789 }
31790
31791
31792 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31793 PyObject *resultobj;
31794 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31795 wxString result;
31796 PyObject * obj0 = 0 ;
31797 char *kwnames[] = {
31798 (char *) "self", NULL
31799 };
31800
31801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31803 if (SWIG_arg_fail(1)) SWIG_fail;
31804 {
31805 PyThreadState* __tstate = wxPyBeginAllowThreads();
31806 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31807
31808 wxPyEndAllowThreads(__tstate);
31809 if (PyErr_Occurred()) SWIG_fail;
31810 }
31811 {
31812 #if wxUSE_UNICODE
31813 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31814 #else
31815 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31816 #endif
31817 }
31818 return resultobj;
31819 fail:
31820 return NULL;
31821 }
31822
31823
31824 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31825 PyObject *resultobj;
31826 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31827 wxString *arg2 = 0 ;
31828 bool temp2 = false ;
31829 PyObject * obj0 = 0 ;
31830 PyObject * obj1 = 0 ;
31831 char *kwnames[] = {
31832 (char *) "self",(char *) "filter", NULL
31833 };
31834
31835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31837 if (SWIG_arg_fail(1)) SWIG_fail;
31838 {
31839 arg2 = wxString_in_helper(obj1);
31840 if (arg2 == NULL) SWIG_fail;
31841 temp2 = true;
31842 }
31843 {
31844 PyThreadState* __tstate = wxPyBeginAllowThreads();
31845 (arg1)->SetFilter((wxString const &)*arg2);
31846
31847 wxPyEndAllowThreads(__tstate);
31848 if (PyErr_Occurred()) SWIG_fail;
31849 }
31850 Py_INCREF(Py_None); resultobj = Py_None;
31851 {
31852 if (temp2)
31853 delete arg2;
31854 }
31855 return resultobj;
31856 fail:
31857 {
31858 if (temp2)
31859 delete arg2;
31860 }
31861 return NULL;
31862 }
31863
31864
31865 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31866 PyObject *resultobj;
31867 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31868 int result;
31869 PyObject * obj0 = 0 ;
31870 char *kwnames[] = {
31871 (char *) "self", NULL
31872 };
31873
31874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31876 if (SWIG_arg_fail(1)) SWIG_fail;
31877 {
31878 PyThreadState* __tstate = wxPyBeginAllowThreads();
31879 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31880
31881 wxPyEndAllowThreads(__tstate);
31882 if (PyErr_Occurred()) SWIG_fail;
31883 }
31884 {
31885 resultobj = SWIG_From_int((int)(result));
31886 }
31887 return resultobj;
31888 fail:
31889 return NULL;
31890 }
31891
31892
31893 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31894 PyObject *resultobj;
31895 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31896 int arg2 ;
31897 PyObject * obj0 = 0 ;
31898 PyObject * obj1 = 0 ;
31899 char *kwnames[] = {
31900 (char *) "self",(char *) "n", NULL
31901 };
31902
31903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
31904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31905 if (SWIG_arg_fail(1)) SWIG_fail;
31906 {
31907 arg2 = (int)(SWIG_As_int(obj1));
31908 if (SWIG_arg_fail(2)) SWIG_fail;
31909 }
31910 {
31911 PyThreadState* __tstate = wxPyBeginAllowThreads();
31912 (arg1)->SetFilterIndex(arg2);
31913
31914 wxPyEndAllowThreads(__tstate);
31915 if (PyErr_Occurred()) SWIG_fail;
31916 }
31917 Py_INCREF(Py_None); resultobj = Py_None;
31918 return resultobj;
31919 fail:
31920 return NULL;
31921 }
31922
31923
31924 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31925 PyObject *resultobj;
31926 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31927 wxTreeItemId result;
31928 PyObject * obj0 = 0 ;
31929 char *kwnames[] = {
31930 (char *) "self", NULL
31931 };
31932
31933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
31934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31935 if (SWIG_arg_fail(1)) SWIG_fail;
31936 {
31937 PyThreadState* __tstate = wxPyBeginAllowThreads();
31938 result = (arg1)->GetRootId();
31939
31940 wxPyEndAllowThreads(__tstate);
31941 if (PyErr_Occurred()) SWIG_fail;
31942 }
31943 {
31944 wxTreeItemId * resultptr;
31945 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31946 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31947 }
31948 return resultobj;
31949 fail:
31950 return NULL;
31951 }
31952
31953
31954 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31955 PyObject *resultobj;
31956 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31957 wxPyTreeCtrl *result;
31958 PyObject * obj0 = 0 ;
31959 char *kwnames[] = {
31960 (char *) "self", NULL
31961 };
31962
31963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
31964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31965 if (SWIG_arg_fail(1)) SWIG_fail;
31966 {
31967 PyThreadState* __tstate = wxPyBeginAllowThreads();
31968 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31969
31970 wxPyEndAllowThreads(__tstate);
31971 if (PyErr_Occurred()) SWIG_fail;
31972 }
31973 {
31974 resultobj = wxPyMake_wxObject(result, 0);
31975 }
31976 return resultobj;
31977 fail:
31978 return NULL;
31979 }
31980
31981
31982 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31983 PyObject *resultobj;
31984 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31985 wxDirFilterListCtrl *result;
31986 PyObject * obj0 = 0 ;
31987 char *kwnames[] = {
31988 (char *) "self", NULL
31989 };
31990
31991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
31992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31993 if (SWIG_arg_fail(1)) SWIG_fail;
31994 {
31995 PyThreadState* __tstate = wxPyBeginAllowThreads();
31996 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31997
31998 wxPyEndAllowThreads(__tstate);
31999 if (PyErr_Occurred()) SWIG_fail;
32000 }
32001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
32002 return resultobj;
32003 fail:
32004 return NULL;
32005 }
32006
32007
32008 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
32009 PyObject *resultobj;
32010 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32011 wxTreeItemId arg2 ;
32012 wxString *arg3 = 0 ;
32013 bool *arg4 = 0 ;
32014 wxTreeItemId result;
32015 bool temp3 = false ;
32016 bool temp4 ;
32017 int res4 = 0 ;
32018 PyObject * obj0 = 0 ;
32019 PyObject * obj1 = 0 ;
32020 PyObject * obj2 = 0 ;
32021 char *kwnames[] = {
32022 (char *) "self",(char *) "parentId",(char *) "path", NULL
32023 };
32024
32025 arg4 = &temp4; res4 = SWIG_NEWOBJ;
32026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
32027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32028 if (SWIG_arg_fail(1)) SWIG_fail;
32029 {
32030 wxTreeItemId * argp;
32031 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
32032 if (SWIG_arg_fail(2)) SWIG_fail;
32033 if (argp == NULL) {
32034 SWIG_null_ref("wxTreeItemId");
32035 }
32036 if (SWIG_arg_fail(2)) SWIG_fail;
32037 arg2 = *argp;
32038 }
32039 {
32040 arg3 = wxString_in_helper(obj2);
32041 if (arg3 == NULL) SWIG_fail;
32042 temp3 = true;
32043 }
32044 {
32045 PyThreadState* __tstate = wxPyBeginAllowThreads();
32046 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
32047
32048 wxPyEndAllowThreads(__tstate);
32049 if (PyErr_Occurred()) SWIG_fail;
32050 }
32051 {
32052 wxTreeItemId * resultptr;
32053 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
32054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32055 }
32056 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
32057 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
32058 {
32059 if (temp3)
32060 delete arg3;
32061 }
32062 return resultobj;
32063 fail:
32064 {
32065 if (temp3)
32066 delete arg3;
32067 }
32068 return NULL;
32069 }
32070
32071
32072 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
32073 PyObject *resultobj;
32074 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32075 PyObject * obj0 = 0 ;
32076 char *kwnames[] = {
32077 (char *) "self", NULL
32078 };
32079
32080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
32081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32082 if (SWIG_arg_fail(1)) SWIG_fail;
32083 {
32084 PyThreadState* __tstate = wxPyBeginAllowThreads();
32085 (arg1)->DoResize();
32086
32087 wxPyEndAllowThreads(__tstate);
32088 if (PyErr_Occurred()) SWIG_fail;
32089 }
32090 Py_INCREF(Py_None); resultobj = Py_None;
32091 return resultobj;
32092 fail:
32093 return NULL;
32094 }
32095
32096
32097 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
32098 PyObject *resultobj;
32099 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32100 PyObject * obj0 = 0 ;
32101 char *kwnames[] = {
32102 (char *) "self", NULL
32103 };
32104
32105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
32106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32107 if (SWIG_arg_fail(1)) SWIG_fail;
32108 {
32109 PyThreadState* __tstate = wxPyBeginAllowThreads();
32110 (arg1)->ReCreateTree();
32111
32112 wxPyEndAllowThreads(__tstate);
32113 if (PyErr_Occurred()) SWIG_fail;
32114 }
32115 Py_INCREF(Py_None); resultobj = Py_None;
32116 return resultobj;
32117 fail:
32118 return NULL;
32119 }
32120
32121
32122 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
32123 PyObject *obj;
32124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32125 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
32126 Py_INCREF(obj);
32127 return Py_BuildValue((char *)"");
32128 }
32129 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32130 PyObject *resultobj;
32131 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32132 int arg2 = (int) (int)-1 ;
32133 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32134 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32135 wxSize const &arg4_defvalue = wxDefaultSize ;
32136 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32137 long arg5 = (long) 0 ;
32138 wxDirFilterListCtrl *result;
32139 wxPoint temp3 ;
32140 wxSize temp4 ;
32141 PyObject * obj0 = 0 ;
32142 PyObject * obj1 = 0 ;
32143 PyObject * obj2 = 0 ;
32144 PyObject * obj3 = 0 ;
32145 PyObject * obj4 = 0 ;
32146 char *kwnames[] = {
32147 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32148 };
32149
32150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32152 if (SWIG_arg_fail(1)) SWIG_fail;
32153 if (obj1) {
32154 {
32155 arg2 = (int const)(SWIG_As_int(obj1));
32156 if (SWIG_arg_fail(2)) SWIG_fail;
32157 }
32158 }
32159 if (obj2) {
32160 {
32161 arg3 = &temp3;
32162 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32163 }
32164 }
32165 if (obj3) {
32166 {
32167 arg4 = &temp4;
32168 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32169 }
32170 }
32171 if (obj4) {
32172 {
32173 arg5 = (long)(SWIG_As_long(obj4));
32174 if (SWIG_arg_fail(5)) SWIG_fail;
32175 }
32176 }
32177 {
32178 if (!wxPyCheckForApp()) SWIG_fail;
32179 PyThreadState* __tstate = wxPyBeginAllowThreads();
32180 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
32181
32182 wxPyEndAllowThreads(__tstate);
32183 if (PyErr_Occurred()) SWIG_fail;
32184 }
32185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32186 return resultobj;
32187 fail:
32188 return NULL;
32189 }
32190
32191
32192 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32193 PyObject *resultobj;
32194 wxDirFilterListCtrl *result;
32195 char *kwnames[] = {
32196 NULL
32197 };
32198
32199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
32200 {
32201 if (!wxPyCheckForApp()) SWIG_fail;
32202 PyThreadState* __tstate = wxPyBeginAllowThreads();
32203 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
32204
32205 wxPyEndAllowThreads(__tstate);
32206 if (PyErr_Occurred()) SWIG_fail;
32207 }
32208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32209 return resultobj;
32210 fail:
32211 return NULL;
32212 }
32213
32214
32215 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32216 PyObject *resultobj;
32217 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32218 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
32219 int arg3 = (int) (int)-1 ;
32220 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32221 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32222 wxSize const &arg5_defvalue = wxDefaultSize ;
32223 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32224 long arg6 = (long) 0 ;
32225 bool result;
32226 wxPoint temp4 ;
32227 wxSize temp5 ;
32228 PyObject * obj0 = 0 ;
32229 PyObject * obj1 = 0 ;
32230 PyObject * obj2 = 0 ;
32231 PyObject * obj3 = 0 ;
32232 PyObject * obj4 = 0 ;
32233 PyObject * obj5 = 0 ;
32234 char *kwnames[] = {
32235 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32236 };
32237
32238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32240 if (SWIG_arg_fail(1)) SWIG_fail;
32241 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32242 if (SWIG_arg_fail(2)) SWIG_fail;
32243 if (obj2) {
32244 {
32245 arg3 = (int const)(SWIG_As_int(obj2));
32246 if (SWIG_arg_fail(3)) SWIG_fail;
32247 }
32248 }
32249 if (obj3) {
32250 {
32251 arg4 = &temp4;
32252 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32253 }
32254 }
32255 if (obj4) {
32256 {
32257 arg5 = &temp5;
32258 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32259 }
32260 }
32261 if (obj5) {
32262 {
32263 arg6 = (long)(SWIG_As_long(obj5));
32264 if (SWIG_arg_fail(6)) SWIG_fail;
32265 }
32266 }
32267 {
32268 PyThreadState* __tstate = wxPyBeginAllowThreads();
32269 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32270
32271 wxPyEndAllowThreads(__tstate);
32272 if (PyErr_Occurred()) SWIG_fail;
32273 }
32274 {
32275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32276 }
32277 return resultobj;
32278 fail:
32279 return NULL;
32280 }
32281
32282
32283 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
32284 PyObject *resultobj;
32285 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32286 wxString *arg2 = 0 ;
32287 int arg3 ;
32288 bool temp2 = false ;
32289 PyObject * obj0 = 0 ;
32290 PyObject * obj1 = 0 ;
32291 PyObject * obj2 = 0 ;
32292 char *kwnames[] = {
32293 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32294 };
32295
32296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
32297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32298 if (SWIG_arg_fail(1)) SWIG_fail;
32299 {
32300 arg2 = wxString_in_helper(obj1);
32301 if (arg2 == NULL) SWIG_fail;
32302 temp2 = true;
32303 }
32304 {
32305 arg3 = (int)(SWIG_As_int(obj2));
32306 if (SWIG_arg_fail(3)) SWIG_fail;
32307 }
32308 {
32309 PyThreadState* __tstate = wxPyBeginAllowThreads();
32310 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32311
32312 wxPyEndAllowThreads(__tstate);
32313 if (PyErr_Occurred()) SWIG_fail;
32314 }
32315 Py_INCREF(Py_None); resultobj = Py_None;
32316 {
32317 if (temp2)
32318 delete arg2;
32319 }
32320 return resultobj;
32321 fail:
32322 {
32323 if (temp2)
32324 delete arg2;
32325 }
32326 return NULL;
32327 }
32328
32329
32330 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32331 PyObject *obj;
32332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32333 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32334 Py_INCREF(obj);
32335 return Py_BuildValue((char *)"");
32336 }
32337 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32338 PyObject *resultobj;
32339 wxWindow *arg1 = (wxWindow *) 0 ;
32340 int arg2 = (int) (int)-1 ;
32341 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32342 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32343 wxSize const &arg4_defvalue = wxDefaultSize ;
32344 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32345 long arg5 = (long) 0 ;
32346 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32347 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32348 wxString const &arg7_defvalue = wxPyControlNameStr ;
32349 wxString *arg7 = (wxString *) &arg7_defvalue ;
32350 wxPyControl *result;
32351 wxPoint temp3 ;
32352 wxSize temp4 ;
32353 bool temp7 = false ;
32354 PyObject * obj0 = 0 ;
32355 PyObject * obj1 = 0 ;
32356 PyObject * obj2 = 0 ;
32357 PyObject * obj3 = 0 ;
32358 PyObject * obj4 = 0 ;
32359 PyObject * obj5 = 0 ;
32360 PyObject * obj6 = 0 ;
32361 char *kwnames[] = {
32362 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32363 };
32364
32365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32367 if (SWIG_arg_fail(1)) SWIG_fail;
32368 if (obj1) {
32369 {
32370 arg2 = (int const)(SWIG_As_int(obj1));
32371 if (SWIG_arg_fail(2)) SWIG_fail;
32372 }
32373 }
32374 if (obj2) {
32375 {
32376 arg3 = &temp3;
32377 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32378 }
32379 }
32380 if (obj3) {
32381 {
32382 arg4 = &temp4;
32383 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32384 }
32385 }
32386 if (obj4) {
32387 {
32388 arg5 = (long)(SWIG_As_long(obj4));
32389 if (SWIG_arg_fail(5)) SWIG_fail;
32390 }
32391 }
32392 if (obj5) {
32393 {
32394 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32395 if (SWIG_arg_fail(6)) SWIG_fail;
32396 if (arg6 == NULL) {
32397 SWIG_null_ref("wxValidator");
32398 }
32399 if (SWIG_arg_fail(6)) SWIG_fail;
32400 }
32401 }
32402 if (obj6) {
32403 {
32404 arg7 = wxString_in_helper(obj6);
32405 if (arg7 == NULL) SWIG_fail;
32406 temp7 = true;
32407 }
32408 }
32409 {
32410 if (!wxPyCheckForApp()) SWIG_fail;
32411 PyThreadState* __tstate = wxPyBeginAllowThreads();
32412 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32413
32414 wxPyEndAllowThreads(__tstate);
32415 if (PyErr_Occurred()) SWIG_fail;
32416 }
32417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32418 {
32419 if (temp7)
32420 delete arg7;
32421 }
32422 return resultobj;
32423 fail:
32424 {
32425 if (temp7)
32426 delete arg7;
32427 }
32428 return NULL;
32429 }
32430
32431
32432 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32433 PyObject *resultobj;
32434 wxPyControl *result;
32435 char *kwnames[] = {
32436 NULL
32437 };
32438
32439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32440 {
32441 if (!wxPyCheckForApp()) SWIG_fail;
32442 PyThreadState* __tstate = wxPyBeginAllowThreads();
32443 result = (wxPyControl *)new wxPyControl();
32444
32445 wxPyEndAllowThreads(__tstate);
32446 if (PyErr_Occurred()) SWIG_fail;
32447 }
32448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32449 return resultobj;
32450 fail:
32451 return NULL;
32452 }
32453
32454
32455 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32456 PyObject *resultobj;
32457 wxPyControl *arg1 = (wxPyControl *) 0 ;
32458 PyObject *arg2 = (PyObject *) 0 ;
32459 PyObject *arg3 = (PyObject *) 0 ;
32460 PyObject * obj0 = 0 ;
32461 PyObject * obj1 = 0 ;
32462 PyObject * obj2 = 0 ;
32463 char *kwnames[] = {
32464 (char *) "self",(char *) "self",(char *) "_class", NULL
32465 };
32466
32467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32469 if (SWIG_arg_fail(1)) SWIG_fail;
32470 arg2 = obj1;
32471 arg3 = obj2;
32472 {
32473 PyThreadState* __tstate = wxPyBeginAllowThreads();
32474 (arg1)->_setCallbackInfo(arg2,arg3);
32475
32476 wxPyEndAllowThreads(__tstate);
32477 if (PyErr_Occurred()) SWIG_fail;
32478 }
32479 Py_INCREF(Py_None); resultobj = Py_None;
32480 return resultobj;
32481 fail:
32482 return NULL;
32483 }
32484
32485
32486 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32487 PyObject *resultobj;
32488 wxPyControl *arg1 = (wxPyControl *) 0 ;
32489 wxSize *arg2 = 0 ;
32490 wxSize temp2 ;
32491 PyObject * obj0 = 0 ;
32492 PyObject * obj1 = 0 ;
32493 char *kwnames[] = {
32494 (char *) "self",(char *) "size", NULL
32495 };
32496
32497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32499 if (SWIG_arg_fail(1)) SWIG_fail;
32500 {
32501 arg2 = &temp2;
32502 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32503 }
32504 {
32505 PyThreadState* __tstate = wxPyBeginAllowThreads();
32506 (arg1)->SetBestSize((wxSize const &)*arg2);
32507
32508 wxPyEndAllowThreads(__tstate);
32509 if (PyErr_Occurred()) SWIG_fail;
32510 }
32511 Py_INCREF(Py_None); resultobj = Py_None;
32512 return resultobj;
32513 fail:
32514 return NULL;
32515 }
32516
32517
32518 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32519 PyObject *resultobj;
32520 wxPyControl *arg1 = (wxPyControl *) 0 ;
32521 int arg2 ;
32522 int arg3 ;
32523 int arg4 ;
32524 int arg5 ;
32525 PyObject * obj0 = 0 ;
32526 PyObject * obj1 = 0 ;
32527 PyObject * obj2 = 0 ;
32528 PyObject * obj3 = 0 ;
32529 PyObject * obj4 = 0 ;
32530 char *kwnames[] = {
32531 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32532 };
32533
32534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32536 if (SWIG_arg_fail(1)) SWIG_fail;
32537 {
32538 arg2 = (int)(SWIG_As_int(obj1));
32539 if (SWIG_arg_fail(2)) SWIG_fail;
32540 }
32541 {
32542 arg3 = (int)(SWIG_As_int(obj2));
32543 if (SWIG_arg_fail(3)) SWIG_fail;
32544 }
32545 {
32546 arg4 = (int)(SWIG_As_int(obj3));
32547 if (SWIG_arg_fail(4)) SWIG_fail;
32548 }
32549 {
32550 arg5 = (int)(SWIG_As_int(obj4));
32551 if (SWIG_arg_fail(5)) SWIG_fail;
32552 }
32553 {
32554 PyThreadState* __tstate = wxPyBeginAllowThreads();
32555 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32556
32557 wxPyEndAllowThreads(__tstate);
32558 if (PyErr_Occurred()) SWIG_fail;
32559 }
32560 Py_INCREF(Py_None); resultobj = Py_None;
32561 return resultobj;
32562 fail:
32563 return NULL;
32564 }
32565
32566
32567 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32568 PyObject *resultobj;
32569 wxPyControl *arg1 = (wxPyControl *) 0 ;
32570 int arg2 ;
32571 int arg3 ;
32572 int arg4 ;
32573 int arg5 ;
32574 int arg6 = (int) wxSIZE_AUTO ;
32575 PyObject * obj0 = 0 ;
32576 PyObject * obj1 = 0 ;
32577 PyObject * obj2 = 0 ;
32578 PyObject * obj3 = 0 ;
32579 PyObject * obj4 = 0 ;
32580 PyObject * obj5 = 0 ;
32581 char *kwnames[] = {
32582 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32583 };
32584
32585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32587 if (SWIG_arg_fail(1)) SWIG_fail;
32588 {
32589 arg2 = (int)(SWIG_As_int(obj1));
32590 if (SWIG_arg_fail(2)) SWIG_fail;
32591 }
32592 {
32593 arg3 = (int)(SWIG_As_int(obj2));
32594 if (SWIG_arg_fail(3)) SWIG_fail;
32595 }
32596 {
32597 arg4 = (int)(SWIG_As_int(obj3));
32598 if (SWIG_arg_fail(4)) SWIG_fail;
32599 }
32600 {
32601 arg5 = (int)(SWIG_As_int(obj4));
32602 if (SWIG_arg_fail(5)) SWIG_fail;
32603 }
32604 if (obj5) {
32605 {
32606 arg6 = (int)(SWIG_As_int(obj5));
32607 if (SWIG_arg_fail(6)) SWIG_fail;
32608 }
32609 }
32610 {
32611 PyThreadState* __tstate = wxPyBeginAllowThreads();
32612 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32613
32614 wxPyEndAllowThreads(__tstate);
32615 if (PyErr_Occurred()) SWIG_fail;
32616 }
32617 Py_INCREF(Py_None); resultobj = Py_None;
32618 return resultobj;
32619 fail:
32620 return NULL;
32621 }
32622
32623
32624 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32625 PyObject *resultobj;
32626 wxPyControl *arg1 = (wxPyControl *) 0 ;
32627 int arg2 ;
32628 int arg3 ;
32629 PyObject * obj0 = 0 ;
32630 PyObject * obj1 = 0 ;
32631 PyObject * obj2 = 0 ;
32632 char *kwnames[] = {
32633 (char *) "self",(char *) "width",(char *) "height", NULL
32634 };
32635
32636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32638 if (SWIG_arg_fail(1)) SWIG_fail;
32639 {
32640 arg2 = (int)(SWIG_As_int(obj1));
32641 if (SWIG_arg_fail(2)) SWIG_fail;
32642 }
32643 {
32644 arg3 = (int)(SWIG_As_int(obj2));
32645 if (SWIG_arg_fail(3)) SWIG_fail;
32646 }
32647 {
32648 PyThreadState* __tstate = wxPyBeginAllowThreads();
32649 (arg1)->base_DoSetClientSize(arg2,arg3);
32650
32651 wxPyEndAllowThreads(__tstate);
32652 if (PyErr_Occurred()) SWIG_fail;
32653 }
32654 Py_INCREF(Py_None); resultobj = Py_None;
32655 return resultobj;
32656 fail:
32657 return NULL;
32658 }
32659
32660
32661 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32662 PyObject *resultobj;
32663 wxPyControl *arg1 = (wxPyControl *) 0 ;
32664 int arg2 ;
32665 int arg3 ;
32666 PyObject * obj0 = 0 ;
32667 PyObject * obj1 = 0 ;
32668 PyObject * obj2 = 0 ;
32669 char *kwnames[] = {
32670 (char *) "self",(char *) "x",(char *) "y", NULL
32671 };
32672
32673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32675 if (SWIG_arg_fail(1)) SWIG_fail;
32676 {
32677 arg2 = (int)(SWIG_As_int(obj1));
32678 if (SWIG_arg_fail(2)) SWIG_fail;
32679 }
32680 {
32681 arg3 = (int)(SWIG_As_int(obj2));
32682 if (SWIG_arg_fail(3)) SWIG_fail;
32683 }
32684 {
32685 PyThreadState* __tstate = wxPyBeginAllowThreads();
32686 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32687
32688 wxPyEndAllowThreads(__tstate);
32689 if (PyErr_Occurred()) SWIG_fail;
32690 }
32691 Py_INCREF(Py_None); resultobj = Py_None;
32692 return resultobj;
32693 fail:
32694 return NULL;
32695 }
32696
32697
32698 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32699 PyObject *resultobj;
32700 wxPyControl *arg1 = (wxPyControl *) 0 ;
32701 int *arg2 = (int *) 0 ;
32702 int *arg3 = (int *) 0 ;
32703 int temp2 ;
32704 int res2 = 0 ;
32705 int temp3 ;
32706 int res3 = 0 ;
32707 PyObject * obj0 = 0 ;
32708 char *kwnames[] = {
32709 (char *) "self", NULL
32710 };
32711
32712 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32713 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32716 if (SWIG_arg_fail(1)) SWIG_fail;
32717 {
32718 PyThreadState* __tstate = wxPyBeginAllowThreads();
32719 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32720
32721 wxPyEndAllowThreads(__tstate);
32722 if (PyErr_Occurred()) SWIG_fail;
32723 }
32724 Py_INCREF(Py_None); resultobj = Py_None;
32725 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32726 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32727 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32728 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32729 return resultobj;
32730 fail:
32731 return NULL;
32732 }
32733
32734
32735 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32736 PyObject *resultobj;
32737 wxPyControl *arg1 = (wxPyControl *) 0 ;
32738 int *arg2 = (int *) 0 ;
32739 int *arg3 = (int *) 0 ;
32740 int temp2 ;
32741 int res2 = 0 ;
32742 int temp3 ;
32743 int res3 = 0 ;
32744 PyObject * obj0 = 0 ;
32745 char *kwnames[] = {
32746 (char *) "self", NULL
32747 };
32748
32749 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32750 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32753 if (SWIG_arg_fail(1)) SWIG_fail;
32754 {
32755 PyThreadState* __tstate = wxPyBeginAllowThreads();
32756 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32757
32758 wxPyEndAllowThreads(__tstate);
32759 if (PyErr_Occurred()) SWIG_fail;
32760 }
32761 Py_INCREF(Py_None); resultobj = Py_None;
32762 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32763 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32764 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32765 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32766 return resultobj;
32767 fail:
32768 return NULL;
32769 }
32770
32771
32772 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32773 PyObject *resultobj;
32774 wxPyControl *arg1 = (wxPyControl *) 0 ;
32775 int *arg2 = (int *) 0 ;
32776 int *arg3 = (int *) 0 ;
32777 int temp2 ;
32778 int res2 = 0 ;
32779 int temp3 ;
32780 int res3 = 0 ;
32781 PyObject * obj0 = 0 ;
32782 char *kwnames[] = {
32783 (char *) "self", NULL
32784 };
32785
32786 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32787 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
32789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32790 if (SWIG_arg_fail(1)) SWIG_fail;
32791 {
32792 PyThreadState* __tstate = wxPyBeginAllowThreads();
32793 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32794
32795 wxPyEndAllowThreads(__tstate);
32796 if (PyErr_Occurred()) SWIG_fail;
32797 }
32798 Py_INCREF(Py_None); resultobj = Py_None;
32799 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32800 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32801 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32802 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32803 return resultobj;
32804 fail:
32805 return NULL;
32806 }
32807
32808
32809 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32810 PyObject *resultobj;
32811 wxPyControl *arg1 = (wxPyControl *) 0 ;
32812 wxSize result;
32813 PyObject * obj0 = 0 ;
32814 char *kwnames[] = {
32815 (char *) "self", NULL
32816 };
32817
32818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32820 if (SWIG_arg_fail(1)) SWIG_fail;
32821 {
32822 PyThreadState* __tstate = wxPyBeginAllowThreads();
32823 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32824
32825 wxPyEndAllowThreads(__tstate);
32826 if (PyErr_Occurred()) SWIG_fail;
32827 }
32828 {
32829 wxSize * resultptr;
32830 resultptr = new wxSize((wxSize &)(result));
32831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32832 }
32833 return resultobj;
32834 fail:
32835 return NULL;
32836 }
32837
32838
32839 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32840 PyObject *resultobj;
32841 wxPyControl *arg1 = (wxPyControl *) 0 ;
32842 wxSize result;
32843 PyObject * obj0 = 0 ;
32844 char *kwnames[] = {
32845 (char *) "self", NULL
32846 };
32847
32848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
32849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32850 if (SWIG_arg_fail(1)) SWIG_fail;
32851 {
32852 PyThreadState* __tstate = wxPyBeginAllowThreads();
32853 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32854
32855 wxPyEndAllowThreads(__tstate);
32856 if (PyErr_Occurred()) SWIG_fail;
32857 }
32858 {
32859 wxSize * resultptr;
32860 resultptr = new wxSize((wxSize &)(result));
32861 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32862 }
32863 return resultobj;
32864 fail:
32865 return NULL;
32866 }
32867
32868
32869 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32870 PyObject *resultobj;
32871 wxPyControl *arg1 = (wxPyControl *) 0 ;
32872 PyObject * obj0 = 0 ;
32873 char *kwnames[] = {
32874 (char *) "self", NULL
32875 };
32876
32877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32879 if (SWIG_arg_fail(1)) SWIG_fail;
32880 {
32881 PyThreadState* __tstate = wxPyBeginAllowThreads();
32882 (arg1)->base_InitDialog();
32883
32884 wxPyEndAllowThreads(__tstate);
32885 if (PyErr_Occurred()) SWIG_fail;
32886 }
32887 Py_INCREF(Py_None); resultobj = Py_None;
32888 return resultobj;
32889 fail:
32890 return NULL;
32891 }
32892
32893
32894 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32895 PyObject *resultobj;
32896 wxPyControl *arg1 = (wxPyControl *) 0 ;
32897 bool result;
32898 PyObject * obj0 = 0 ;
32899 char *kwnames[] = {
32900 (char *) "self", NULL
32901 };
32902
32903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
32904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32905 if (SWIG_arg_fail(1)) SWIG_fail;
32906 {
32907 PyThreadState* __tstate = wxPyBeginAllowThreads();
32908 result = (bool)(arg1)->base_TransferDataToWindow();
32909
32910 wxPyEndAllowThreads(__tstate);
32911 if (PyErr_Occurred()) SWIG_fail;
32912 }
32913 {
32914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32915 }
32916 return resultobj;
32917 fail:
32918 return NULL;
32919 }
32920
32921
32922 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32923 PyObject *resultobj;
32924 wxPyControl *arg1 = (wxPyControl *) 0 ;
32925 bool result;
32926 PyObject * obj0 = 0 ;
32927 char *kwnames[] = {
32928 (char *) "self", NULL
32929 };
32930
32931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
32932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32933 if (SWIG_arg_fail(1)) SWIG_fail;
32934 {
32935 PyThreadState* __tstate = wxPyBeginAllowThreads();
32936 result = (bool)(arg1)->base_TransferDataFromWindow();
32937
32938 wxPyEndAllowThreads(__tstate);
32939 if (PyErr_Occurred()) SWIG_fail;
32940 }
32941 {
32942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32943 }
32944 return resultobj;
32945 fail:
32946 return NULL;
32947 }
32948
32949
32950 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32951 PyObject *resultobj;
32952 wxPyControl *arg1 = (wxPyControl *) 0 ;
32953 bool result;
32954 PyObject * obj0 = 0 ;
32955 char *kwnames[] = {
32956 (char *) "self", NULL
32957 };
32958
32959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
32960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32961 if (SWIG_arg_fail(1)) SWIG_fail;
32962 {
32963 PyThreadState* __tstate = wxPyBeginAllowThreads();
32964 result = (bool)(arg1)->base_Validate();
32965
32966 wxPyEndAllowThreads(__tstate);
32967 if (PyErr_Occurred()) SWIG_fail;
32968 }
32969 {
32970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32971 }
32972 return resultobj;
32973 fail:
32974 return NULL;
32975 }
32976
32977
32978 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32979 PyObject *resultobj;
32980 wxPyControl *arg1 = (wxPyControl *) 0 ;
32981 bool result;
32982 PyObject * obj0 = 0 ;
32983 char *kwnames[] = {
32984 (char *) "self", NULL
32985 };
32986
32987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
32988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32989 if (SWIG_arg_fail(1)) SWIG_fail;
32990 {
32991 PyThreadState* __tstate = wxPyBeginAllowThreads();
32992 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32993
32994 wxPyEndAllowThreads(__tstate);
32995 if (PyErr_Occurred()) SWIG_fail;
32996 }
32997 {
32998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32999 }
33000 return resultobj;
33001 fail:
33002 return NULL;
33003 }
33004
33005
33006 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
33007 PyObject *resultobj;
33008 wxPyControl *arg1 = (wxPyControl *) 0 ;
33009 bool result;
33010 PyObject * obj0 = 0 ;
33011 char *kwnames[] = {
33012 (char *) "self", NULL
33013 };
33014
33015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
33016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33017 if (SWIG_arg_fail(1)) SWIG_fail;
33018 {
33019 PyThreadState* __tstate = wxPyBeginAllowThreads();
33020 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
33021
33022 wxPyEndAllowThreads(__tstate);
33023 if (PyErr_Occurred()) SWIG_fail;
33024 }
33025 {
33026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33027 }
33028 return resultobj;
33029 fail:
33030 return NULL;
33031 }
33032
33033
33034 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
33035 PyObject *resultobj;
33036 wxPyControl *arg1 = (wxPyControl *) 0 ;
33037 wxSize result;
33038 PyObject * obj0 = 0 ;
33039 char *kwnames[] = {
33040 (char *) "self", NULL
33041 };
33042
33043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
33044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33045 if (SWIG_arg_fail(1)) SWIG_fail;
33046 {
33047 PyThreadState* __tstate = wxPyBeginAllowThreads();
33048 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
33049
33050 wxPyEndAllowThreads(__tstate);
33051 if (PyErr_Occurred()) SWIG_fail;
33052 }
33053 {
33054 wxSize * resultptr;
33055 resultptr = new wxSize((wxSize &)(result));
33056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33057 }
33058 return resultobj;
33059 fail:
33060 return NULL;
33061 }
33062
33063
33064 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
33065 PyObject *resultobj;
33066 wxPyControl *arg1 = (wxPyControl *) 0 ;
33067 wxWindow *arg2 = (wxWindow *) 0 ;
33068 PyObject * obj0 = 0 ;
33069 PyObject * obj1 = 0 ;
33070 char *kwnames[] = {
33071 (char *) "self",(char *) "child", NULL
33072 };
33073
33074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
33075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33076 if (SWIG_arg_fail(1)) SWIG_fail;
33077 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33078 if (SWIG_arg_fail(2)) SWIG_fail;
33079 {
33080 PyThreadState* __tstate = wxPyBeginAllowThreads();
33081 (arg1)->base_AddChild(arg2);
33082
33083 wxPyEndAllowThreads(__tstate);
33084 if (PyErr_Occurred()) SWIG_fail;
33085 }
33086 Py_INCREF(Py_None); resultobj = Py_None;
33087 return resultobj;
33088 fail:
33089 return NULL;
33090 }
33091
33092
33093 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
33094 PyObject *resultobj;
33095 wxPyControl *arg1 = (wxPyControl *) 0 ;
33096 wxWindow *arg2 = (wxWindow *) 0 ;
33097 PyObject * obj0 = 0 ;
33098 PyObject * obj1 = 0 ;
33099 char *kwnames[] = {
33100 (char *) "self",(char *) "child", NULL
33101 };
33102
33103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
33104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33105 if (SWIG_arg_fail(1)) SWIG_fail;
33106 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33107 if (SWIG_arg_fail(2)) SWIG_fail;
33108 {
33109 PyThreadState* __tstate = wxPyBeginAllowThreads();
33110 (arg1)->base_RemoveChild(arg2);
33111
33112 wxPyEndAllowThreads(__tstate);
33113 if (PyErr_Occurred()) SWIG_fail;
33114 }
33115 Py_INCREF(Py_None); resultobj = Py_None;
33116 return resultobj;
33117 fail:
33118 return NULL;
33119 }
33120
33121
33122 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
33123 PyObject *resultobj;
33124 wxPyControl *arg1 = (wxPyControl *) 0 ;
33125 bool result;
33126 PyObject * obj0 = 0 ;
33127 char *kwnames[] = {
33128 (char *) "self", NULL
33129 };
33130
33131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
33132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33133 if (SWIG_arg_fail(1)) SWIG_fail;
33134 {
33135 PyThreadState* __tstate = wxPyBeginAllowThreads();
33136 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
33137
33138 wxPyEndAllowThreads(__tstate);
33139 if (PyErr_Occurred()) SWIG_fail;
33140 }
33141 {
33142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33143 }
33144 return resultobj;
33145 fail:
33146 return NULL;
33147 }
33148
33149
33150 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
33151 PyObject *resultobj;
33152 wxPyControl *arg1 = (wxPyControl *) 0 ;
33153 wxVisualAttributes result;
33154 PyObject * obj0 = 0 ;
33155 char *kwnames[] = {
33156 (char *) "self", NULL
33157 };
33158
33159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
33160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33161 if (SWIG_arg_fail(1)) SWIG_fail;
33162 {
33163 PyThreadState* __tstate = wxPyBeginAllowThreads();
33164 result = (arg1)->base_GetDefaultAttributes();
33165
33166 wxPyEndAllowThreads(__tstate);
33167 if (PyErr_Occurred()) SWIG_fail;
33168 }
33169 {
33170 wxVisualAttributes * resultptr;
33171 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
33172 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33173 }
33174 return resultobj;
33175 fail:
33176 return NULL;
33177 }
33178
33179
33180 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
33181 PyObject *obj;
33182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33183 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
33184 Py_INCREF(obj);
33185 return Py_BuildValue((char *)"");
33186 }
33187 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
33188 PyObject *resultobj;
33189 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33190 int arg2 = (int) 0 ;
33191 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33192 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33193 wxHelpEvent *result;
33194 wxPoint temp3 ;
33195 PyObject * obj0 = 0 ;
33196 PyObject * obj1 = 0 ;
33197 PyObject * obj2 = 0 ;
33198 char *kwnames[] = {
33199 (char *) "type",(char *) "winid",(char *) "pt", NULL
33200 };
33201
33202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
33203 if (obj0) {
33204 {
33205 arg1 = (wxEventType)(SWIG_As_int(obj0));
33206 if (SWIG_arg_fail(1)) SWIG_fail;
33207 }
33208 }
33209 if (obj1) {
33210 {
33211 arg2 = (int)(SWIG_As_int(obj1));
33212 if (SWIG_arg_fail(2)) SWIG_fail;
33213 }
33214 }
33215 if (obj2) {
33216 {
33217 arg3 = &temp3;
33218 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33219 }
33220 }
33221 {
33222 PyThreadState* __tstate = wxPyBeginAllowThreads();
33223 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33224
33225 wxPyEndAllowThreads(__tstate);
33226 if (PyErr_Occurred()) SWIG_fail;
33227 }
33228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
33229 return resultobj;
33230 fail:
33231 return NULL;
33232 }
33233
33234
33235 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33236 PyObject *resultobj;
33237 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33238 wxPoint result;
33239 PyObject * obj0 = 0 ;
33240 char *kwnames[] = {
33241 (char *) "self", NULL
33242 };
33243
33244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
33245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33246 if (SWIG_arg_fail(1)) SWIG_fail;
33247 {
33248 PyThreadState* __tstate = wxPyBeginAllowThreads();
33249 result = ((wxHelpEvent const *)arg1)->GetPosition();
33250
33251 wxPyEndAllowThreads(__tstate);
33252 if (PyErr_Occurred()) SWIG_fail;
33253 }
33254 {
33255 wxPoint * resultptr;
33256 resultptr = new wxPoint((wxPoint const &)(result));
33257 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33258 }
33259 return resultobj;
33260 fail:
33261 return NULL;
33262 }
33263
33264
33265 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33266 PyObject *resultobj;
33267 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33268 wxPoint *arg2 = 0 ;
33269 wxPoint temp2 ;
33270 PyObject * obj0 = 0 ;
33271 PyObject * obj1 = 0 ;
33272 char *kwnames[] = {
33273 (char *) "self",(char *) "pos", NULL
33274 };
33275
33276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33278 if (SWIG_arg_fail(1)) SWIG_fail;
33279 {
33280 arg2 = &temp2;
33281 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33282 }
33283 {
33284 PyThreadState* __tstate = wxPyBeginAllowThreads();
33285 (arg1)->SetPosition((wxPoint const &)*arg2);
33286
33287 wxPyEndAllowThreads(__tstate);
33288 if (PyErr_Occurred()) SWIG_fail;
33289 }
33290 Py_INCREF(Py_None); resultobj = Py_None;
33291 return resultobj;
33292 fail:
33293 return NULL;
33294 }
33295
33296
33297 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33298 PyObject *resultobj;
33299 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33300 wxString *result;
33301 PyObject * obj0 = 0 ;
33302 char *kwnames[] = {
33303 (char *) "self", NULL
33304 };
33305
33306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33308 if (SWIG_arg_fail(1)) SWIG_fail;
33309 {
33310 PyThreadState* __tstate = wxPyBeginAllowThreads();
33311 {
33312 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33313 result = (wxString *) &_result_ref;
33314 }
33315
33316 wxPyEndAllowThreads(__tstate);
33317 if (PyErr_Occurred()) SWIG_fail;
33318 }
33319 {
33320 #if wxUSE_UNICODE
33321 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33322 #else
33323 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33324 #endif
33325 }
33326 return resultobj;
33327 fail:
33328 return NULL;
33329 }
33330
33331
33332 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33333 PyObject *resultobj;
33334 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33335 wxString *arg2 = 0 ;
33336 bool temp2 = false ;
33337 PyObject * obj0 = 0 ;
33338 PyObject * obj1 = 0 ;
33339 char *kwnames[] = {
33340 (char *) "self",(char *) "link", NULL
33341 };
33342
33343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33345 if (SWIG_arg_fail(1)) SWIG_fail;
33346 {
33347 arg2 = wxString_in_helper(obj1);
33348 if (arg2 == NULL) SWIG_fail;
33349 temp2 = true;
33350 }
33351 {
33352 PyThreadState* __tstate = wxPyBeginAllowThreads();
33353 (arg1)->SetLink((wxString const &)*arg2);
33354
33355 wxPyEndAllowThreads(__tstate);
33356 if (PyErr_Occurred()) SWIG_fail;
33357 }
33358 Py_INCREF(Py_None); resultobj = Py_None;
33359 {
33360 if (temp2)
33361 delete arg2;
33362 }
33363 return resultobj;
33364 fail:
33365 {
33366 if (temp2)
33367 delete arg2;
33368 }
33369 return NULL;
33370 }
33371
33372
33373 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33374 PyObject *resultobj;
33375 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33376 wxString *result;
33377 PyObject * obj0 = 0 ;
33378 char *kwnames[] = {
33379 (char *) "self", NULL
33380 };
33381
33382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33384 if (SWIG_arg_fail(1)) SWIG_fail;
33385 {
33386 PyThreadState* __tstate = wxPyBeginAllowThreads();
33387 {
33388 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33389 result = (wxString *) &_result_ref;
33390 }
33391
33392 wxPyEndAllowThreads(__tstate);
33393 if (PyErr_Occurred()) SWIG_fail;
33394 }
33395 {
33396 #if wxUSE_UNICODE
33397 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33398 #else
33399 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33400 #endif
33401 }
33402 return resultobj;
33403 fail:
33404 return NULL;
33405 }
33406
33407
33408 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33409 PyObject *resultobj;
33410 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33411 wxString *arg2 = 0 ;
33412 bool temp2 = false ;
33413 PyObject * obj0 = 0 ;
33414 PyObject * obj1 = 0 ;
33415 char *kwnames[] = {
33416 (char *) "self",(char *) "target", NULL
33417 };
33418
33419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33421 if (SWIG_arg_fail(1)) SWIG_fail;
33422 {
33423 arg2 = wxString_in_helper(obj1);
33424 if (arg2 == NULL) SWIG_fail;
33425 temp2 = true;
33426 }
33427 {
33428 PyThreadState* __tstate = wxPyBeginAllowThreads();
33429 (arg1)->SetTarget((wxString const &)*arg2);
33430
33431 wxPyEndAllowThreads(__tstate);
33432 if (PyErr_Occurred()) SWIG_fail;
33433 }
33434 Py_INCREF(Py_None); resultobj = Py_None;
33435 {
33436 if (temp2)
33437 delete arg2;
33438 }
33439 return resultobj;
33440 fail:
33441 {
33442 if (temp2)
33443 delete arg2;
33444 }
33445 return NULL;
33446 }
33447
33448
33449 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33450 PyObject *obj;
33451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33452 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33453 Py_INCREF(obj);
33454 return Py_BuildValue((char *)"");
33455 }
33456 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33457 PyObject *resultobj;
33458 wxWindow *arg1 = (wxWindow *) NULL ;
33459 bool arg2 = (bool) true ;
33460 wxContextHelp *result;
33461 PyObject * obj0 = 0 ;
33462 PyObject * obj1 = 0 ;
33463 char *kwnames[] = {
33464 (char *) "window",(char *) "doNow", NULL
33465 };
33466
33467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33468 if (obj0) {
33469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33470 if (SWIG_arg_fail(1)) SWIG_fail;
33471 }
33472 if (obj1) {
33473 {
33474 arg2 = (bool)(SWIG_As_bool(obj1));
33475 if (SWIG_arg_fail(2)) SWIG_fail;
33476 }
33477 }
33478 {
33479 if (!wxPyCheckForApp()) SWIG_fail;
33480 PyThreadState* __tstate = wxPyBeginAllowThreads();
33481 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33482
33483 wxPyEndAllowThreads(__tstate);
33484 if (PyErr_Occurred()) SWIG_fail;
33485 }
33486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33487 return resultobj;
33488 fail:
33489 return NULL;
33490 }
33491
33492
33493 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33494 PyObject *resultobj;
33495 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33496 PyObject * obj0 = 0 ;
33497 char *kwnames[] = {
33498 (char *) "self", NULL
33499 };
33500
33501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33503 if (SWIG_arg_fail(1)) SWIG_fail;
33504 {
33505 PyThreadState* __tstate = wxPyBeginAllowThreads();
33506 delete arg1;
33507
33508 wxPyEndAllowThreads(__tstate);
33509 if (PyErr_Occurred()) SWIG_fail;
33510 }
33511 Py_INCREF(Py_None); resultobj = Py_None;
33512 return resultobj;
33513 fail:
33514 return NULL;
33515 }
33516
33517
33518 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33519 PyObject *resultobj;
33520 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33521 wxWindow *arg2 = (wxWindow *) NULL ;
33522 bool result;
33523 PyObject * obj0 = 0 ;
33524 PyObject * obj1 = 0 ;
33525 char *kwnames[] = {
33526 (char *) "self",(char *) "window", NULL
33527 };
33528
33529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33531 if (SWIG_arg_fail(1)) SWIG_fail;
33532 if (obj1) {
33533 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33534 if (SWIG_arg_fail(2)) SWIG_fail;
33535 }
33536 {
33537 PyThreadState* __tstate = wxPyBeginAllowThreads();
33538 result = (bool)(arg1)->BeginContextHelp(arg2);
33539
33540 wxPyEndAllowThreads(__tstate);
33541 if (PyErr_Occurred()) SWIG_fail;
33542 }
33543 {
33544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33545 }
33546 return resultobj;
33547 fail:
33548 return NULL;
33549 }
33550
33551
33552 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33553 PyObject *resultobj;
33554 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33555 bool result;
33556 PyObject * obj0 = 0 ;
33557 char *kwnames[] = {
33558 (char *) "self", NULL
33559 };
33560
33561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33563 if (SWIG_arg_fail(1)) SWIG_fail;
33564 {
33565 PyThreadState* __tstate = wxPyBeginAllowThreads();
33566 result = (bool)(arg1)->EndContextHelp();
33567
33568 wxPyEndAllowThreads(__tstate);
33569 if (PyErr_Occurred()) SWIG_fail;
33570 }
33571 {
33572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33573 }
33574 return resultobj;
33575 fail:
33576 return NULL;
33577 }
33578
33579
33580 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33581 PyObject *obj;
33582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33583 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33584 Py_INCREF(obj);
33585 return Py_BuildValue((char *)"");
33586 }
33587 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33588 PyObject *resultobj;
33589 wxWindow *arg1 = (wxWindow *) 0 ;
33590 int arg2 = (int) wxID_CONTEXT_HELP ;
33591 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33592 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33593 wxSize const &arg4_defvalue = wxDefaultSize ;
33594 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33595 long arg5 = (long) wxBU_AUTODRAW ;
33596 wxContextHelpButton *result;
33597 wxPoint temp3 ;
33598 wxSize temp4 ;
33599 PyObject * obj0 = 0 ;
33600 PyObject * obj1 = 0 ;
33601 PyObject * obj2 = 0 ;
33602 PyObject * obj3 = 0 ;
33603 PyObject * obj4 = 0 ;
33604 char *kwnames[] = {
33605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33606 };
33607
33608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33610 if (SWIG_arg_fail(1)) SWIG_fail;
33611 if (obj1) {
33612 {
33613 arg2 = (int)(SWIG_As_int(obj1));
33614 if (SWIG_arg_fail(2)) SWIG_fail;
33615 }
33616 }
33617 if (obj2) {
33618 {
33619 arg3 = &temp3;
33620 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33621 }
33622 }
33623 if (obj3) {
33624 {
33625 arg4 = &temp4;
33626 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33627 }
33628 }
33629 if (obj4) {
33630 {
33631 arg5 = (long)(SWIG_As_long(obj4));
33632 if (SWIG_arg_fail(5)) SWIG_fail;
33633 }
33634 }
33635 {
33636 if (!wxPyCheckForApp()) SWIG_fail;
33637 PyThreadState* __tstate = wxPyBeginAllowThreads();
33638 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33639
33640 wxPyEndAllowThreads(__tstate);
33641 if (PyErr_Occurred()) SWIG_fail;
33642 }
33643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33644 return resultobj;
33645 fail:
33646 return NULL;
33647 }
33648
33649
33650 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33651 PyObject *obj;
33652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33653 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33654 Py_INCREF(obj);
33655 return Py_BuildValue((char *)"");
33656 }
33657 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33658 PyObject *resultobj;
33659 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33660 wxHelpProvider *result;
33661 PyObject * obj0 = 0 ;
33662 char *kwnames[] = {
33663 (char *) "helpProvider", NULL
33664 };
33665
33666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33668 if (SWIG_arg_fail(1)) SWIG_fail;
33669 {
33670 PyThreadState* __tstate = wxPyBeginAllowThreads();
33671 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33672
33673 wxPyEndAllowThreads(__tstate);
33674 if (PyErr_Occurred()) SWIG_fail;
33675 }
33676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33677 return resultobj;
33678 fail:
33679 return NULL;
33680 }
33681
33682
33683 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33684 PyObject *resultobj;
33685 wxHelpProvider *result;
33686 char *kwnames[] = {
33687 NULL
33688 };
33689
33690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33691 {
33692 PyThreadState* __tstate = wxPyBeginAllowThreads();
33693 result = (wxHelpProvider *)wxHelpProvider::Get();
33694
33695 wxPyEndAllowThreads(__tstate);
33696 if (PyErr_Occurred()) SWIG_fail;
33697 }
33698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33699 return resultobj;
33700 fail:
33701 return NULL;
33702 }
33703
33704
33705 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33706 PyObject *resultobj;
33707 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33708 wxWindow *arg2 = (wxWindow *) 0 ;
33709 wxString result;
33710 PyObject * obj0 = 0 ;
33711 PyObject * obj1 = 0 ;
33712 char *kwnames[] = {
33713 (char *) "self",(char *) "window", NULL
33714 };
33715
33716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33718 if (SWIG_arg_fail(1)) SWIG_fail;
33719 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33720 if (SWIG_arg_fail(2)) SWIG_fail;
33721 {
33722 PyThreadState* __tstate = wxPyBeginAllowThreads();
33723 result = (arg1)->GetHelp((wxWindow const *)arg2);
33724
33725 wxPyEndAllowThreads(__tstate);
33726 if (PyErr_Occurred()) SWIG_fail;
33727 }
33728 {
33729 #if wxUSE_UNICODE
33730 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33731 #else
33732 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33733 #endif
33734 }
33735 return resultobj;
33736 fail:
33737 return NULL;
33738 }
33739
33740
33741 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33742 PyObject *resultobj;
33743 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33744 wxWindow *arg2 = (wxWindow *) 0 ;
33745 bool result;
33746 PyObject * obj0 = 0 ;
33747 PyObject * obj1 = 0 ;
33748 char *kwnames[] = {
33749 (char *) "self",(char *) "window", NULL
33750 };
33751
33752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33754 if (SWIG_arg_fail(1)) SWIG_fail;
33755 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33756 if (SWIG_arg_fail(2)) SWIG_fail;
33757 {
33758 PyThreadState* __tstate = wxPyBeginAllowThreads();
33759 result = (bool)(arg1)->ShowHelp(arg2);
33760
33761 wxPyEndAllowThreads(__tstate);
33762 if (PyErr_Occurred()) SWIG_fail;
33763 }
33764 {
33765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33766 }
33767 return resultobj;
33768 fail:
33769 return NULL;
33770 }
33771
33772
33773 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33774 PyObject *resultobj;
33775 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33776 wxWindow *arg2 = (wxWindow *) 0 ;
33777 wxString *arg3 = 0 ;
33778 bool temp3 = false ;
33779 PyObject * obj0 = 0 ;
33780 PyObject * obj1 = 0 ;
33781 PyObject * obj2 = 0 ;
33782 char *kwnames[] = {
33783 (char *) "self",(char *) "window",(char *) "text", NULL
33784 };
33785
33786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33788 if (SWIG_arg_fail(1)) SWIG_fail;
33789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33790 if (SWIG_arg_fail(2)) SWIG_fail;
33791 {
33792 arg3 = wxString_in_helper(obj2);
33793 if (arg3 == NULL) SWIG_fail;
33794 temp3 = true;
33795 }
33796 {
33797 PyThreadState* __tstate = wxPyBeginAllowThreads();
33798 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33799
33800 wxPyEndAllowThreads(__tstate);
33801 if (PyErr_Occurred()) SWIG_fail;
33802 }
33803 Py_INCREF(Py_None); resultobj = Py_None;
33804 {
33805 if (temp3)
33806 delete arg3;
33807 }
33808 return resultobj;
33809 fail:
33810 {
33811 if (temp3)
33812 delete arg3;
33813 }
33814 return NULL;
33815 }
33816
33817
33818 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33819 PyObject *resultobj;
33820 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33821 int arg2 ;
33822 wxString *arg3 = 0 ;
33823 bool temp3 = false ;
33824 PyObject * obj0 = 0 ;
33825 PyObject * obj1 = 0 ;
33826 PyObject * obj2 = 0 ;
33827 char *kwnames[] = {
33828 (char *) "self",(char *) "id",(char *) "text", NULL
33829 };
33830
33831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33833 if (SWIG_arg_fail(1)) SWIG_fail;
33834 {
33835 arg2 = (int)(SWIG_As_int(obj1));
33836 if (SWIG_arg_fail(2)) SWIG_fail;
33837 }
33838 {
33839 arg3 = wxString_in_helper(obj2);
33840 if (arg3 == NULL) SWIG_fail;
33841 temp3 = true;
33842 }
33843 {
33844 PyThreadState* __tstate = wxPyBeginAllowThreads();
33845 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33846
33847 wxPyEndAllowThreads(__tstate);
33848 if (PyErr_Occurred()) SWIG_fail;
33849 }
33850 Py_INCREF(Py_None); resultobj = Py_None;
33851 {
33852 if (temp3)
33853 delete arg3;
33854 }
33855 return resultobj;
33856 fail:
33857 {
33858 if (temp3)
33859 delete arg3;
33860 }
33861 return NULL;
33862 }
33863
33864
33865 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33866 PyObject *resultobj;
33867 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33868 wxWindow *arg2 = (wxWindow *) 0 ;
33869 PyObject * obj0 = 0 ;
33870 PyObject * obj1 = 0 ;
33871 char *kwnames[] = {
33872 (char *) "self",(char *) "window", NULL
33873 };
33874
33875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33877 if (SWIG_arg_fail(1)) SWIG_fail;
33878 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33879 if (SWIG_arg_fail(2)) SWIG_fail;
33880 {
33881 PyThreadState* __tstate = wxPyBeginAllowThreads();
33882 (arg1)->RemoveHelp(arg2);
33883
33884 wxPyEndAllowThreads(__tstate);
33885 if (PyErr_Occurred()) SWIG_fail;
33886 }
33887 Py_INCREF(Py_None); resultobj = Py_None;
33888 return resultobj;
33889 fail:
33890 return NULL;
33891 }
33892
33893
33894 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
33895 PyObject *resultobj;
33896 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33897 PyObject * obj0 = 0 ;
33898 char *kwnames[] = {
33899 (char *) "self", NULL
33900 };
33901
33902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
33903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33904 if (SWIG_arg_fail(1)) SWIG_fail;
33905 {
33906 PyThreadState* __tstate = wxPyBeginAllowThreads();
33907 wxHelpProvider_Destroy(arg1);
33908
33909 wxPyEndAllowThreads(__tstate);
33910 if (PyErr_Occurred()) SWIG_fail;
33911 }
33912 Py_INCREF(Py_None); resultobj = Py_None;
33913 return resultobj;
33914 fail:
33915 return NULL;
33916 }
33917
33918
33919 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
33920 PyObject *obj;
33921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33922 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33923 Py_INCREF(obj);
33924 return Py_BuildValue((char *)"");
33925 }
33926 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
33927 PyObject *resultobj;
33928 wxSimpleHelpProvider *result;
33929 char *kwnames[] = {
33930 NULL
33931 };
33932
33933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33934 {
33935 PyThreadState* __tstate = wxPyBeginAllowThreads();
33936 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33937
33938 wxPyEndAllowThreads(__tstate);
33939 if (PyErr_Occurred()) SWIG_fail;
33940 }
33941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33942 return resultobj;
33943 fail:
33944 return NULL;
33945 }
33946
33947
33948 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
33949 PyObject *obj;
33950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33951 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33952 Py_INCREF(obj);
33953 return Py_BuildValue((char *)"");
33954 }
33955 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33956 PyObject *resultobj;
33957 wxBitmap *arg1 = 0 ;
33958 wxCursor const &arg2_defvalue = wxNullCursor ;
33959 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33960 wxGenericDragImage *result;
33961 PyObject * obj0 = 0 ;
33962 PyObject * obj1 = 0 ;
33963 char *kwnames[] = {
33964 (char *) "image",(char *) "cursor", NULL
33965 };
33966
33967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
33968 {
33969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33970 if (SWIG_arg_fail(1)) SWIG_fail;
33971 if (arg1 == NULL) {
33972 SWIG_null_ref("wxBitmap");
33973 }
33974 if (SWIG_arg_fail(1)) SWIG_fail;
33975 }
33976 if (obj1) {
33977 {
33978 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33979 if (SWIG_arg_fail(2)) SWIG_fail;
33980 if (arg2 == NULL) {
33981 SWIG_null_ref("wxCursor");
33982 }
33983 if (SWIG_arg_fail(2)) SWIG_fail;
33984 }
33985 }
33986 {
33987 if (!wxPyCheckForApp()) SWIG_fail;
33988 PyThreadState* __tstate = wxPyBeginAllowThreads();
33989 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33990
33991 wxPyEndAllowThreads(__tstate);
33992 if (PyErr_Occurred()) SWIG_fail;
33993 }
33994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33995 return resultobj;
33996 fail:
33997 return NULL;
33998 }
33999
34000
34001 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
34002 PyObject *resultobj;
34003 wxIcon *arg1 = 0 ;
34004 wxCursor const &arg2_defvalue = wxNullCursor ;
34005 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34006 wxGenericDragImage *result;
34007 PyObject * obj0 = 0 ;
34008 PyObject * obj1 = 0 ;
34009 char *kwnames[] = {
34010 (char *) "image",(char *) "cursor", NULL
34011 };
34012
34013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
34014 {
34015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
34016 if (SWIG_arg_fail(1)) SWIG_fail;
34017 if (arg1 == NULL) {
34018 SWIG_null_ref("wxIcon");
34019 }
34020 if (SWIG_arg_fail(1)) SWIG_fail;
34021 }
34022 if (obj1) {
34023 {
34024 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34025 if (SWIG_arg_fail(2)) SWIG_fail;
34026 if (arg2 == NULL) {
34027 SWIG_null_ref("wxCursor");
34028 }
34029 if (SWIG_arg_fail(2)) SWIG_fail;
34030 }
34031 }
34032 {
34033 if (!wxPyCheckForApp()) SWIG_fail;
34034 PyThreadState* __tstate = wxPyBeginAllowThreads();
34035 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
34036
34037 wxPyEndAllowThreads(__tstate);
34038 if (PyErr_Occurred()) SWIG_fail;
34039 }
34040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34041 return resultobj;
34042 fail:
34043 return NULL;
34044 }
34045
34046
34047 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
34048 PyObject *resultobj;
34049 wxString *arg1 = 0 ;
34050 wxCursor const &arg2_defvalue = wxNullCursor ;
34051 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34052 wxGenericDragImage *result;
34053 bool temp1 = false ;
34054 PyObject * obj0 = 0 ;
34055 PyObject * obj1 = 0 ;
34056 char *kwnames[] = {
34057 (char *) "str",(char *) "cursor", NULL
34058 };
34059
34060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
34061 {
34062 arg1 = wxString_in_helper(obj0);
34063 if (arg1 == NULL) SWIG_fail;
34064 temp1 = true;
34065 }
34066 if (obj1) {
34067 {
34068 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34069 if (SWIG_arg_fail(2)) SWIG_fail;
34070 if (arg2 == NULL) {
34071 SWIG_null_ref("wxCursor");
34072 }
34073 if (SWIG_arg_fail(2)) SWIG_fail;
34074 }
34075 }
34076 {
34077 if (!wxPyCheckForApp()) SWIG_fail;
34078 PyThreadState* __tstate = wxPyBeginAllowThreads();
34079 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
34080
34081 wxPyEndAllowThreads(__tstate);
34082 if (PyErr_Occurred()) SWIG_fail;
34083 }
34084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34085 {
34086 if (temp1)
34087 delete arg1;
34088 }
34089 return resultobj;
34090 fail:
34091 {
34092 if (temp1)
34093 delete arg1;
34094 }
34095 return NULL;
34096 }
34097
34098
34099 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
34100 PyObject *resultobj;
34101 wxPyTreeCtrl *arg1 = 0 ;
34102 wxTreeItemId *arg2 = 0 ;
34103 wxGenericDragImage *result;
34104 PyObject * obj0 = 0 ;
34105 PyObject * obj1 = 0 ;
34106 char *kwnames[] = {
34107 (char *) "treeCtrl",(char *) "id", NULL
34108 };
34109
34110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
34111 {
34112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
34113 if (SWIG_arg_fail(1)) SWIG_fail;
34114 if (arg1 == NULL) {
34115 SWIG_null_ref("wxPyTreeCtrl");
34116 }
34117 if (SWIG_arg_fail(1)) SWIG_fail;
34118 }
34119 {
34120 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
34121 if (SWIG_arg_fail(2)) SWIG_fail;
34122 if (arg2 == NULL) {
34123 SWIG_null_ref("wxTreeItemId");
34124 }
34125 if (SWIG_arg_fail(2)) SWIG_fail;
34126 }
34127 {
34128 if (!wxPyCheckForApp()) SWIG_fail;
34129 PyThreadState* __tstate = wxPyBeginAllowThreads();
34130 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
34131
34132 wxPyEndAllowThreads(__tstate);
34133 if (PyErr_Occurred()) SWIG_fail;
34134 }
34135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34136 return resultobj;
34137 fail:
34138 return NULL;
34139 }
34140
34141
34142 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
34143 PyObject *resultobj;
34144 wxPyListCtrl *arg1 = 0 ;
34145 long arg2 ;
34146 wxGenericDragImage *result;
34147 PyObject * obj0 = 0 ;
34148 PyObject * obj1 = 0 ;
34149 char *kwnames[] = {
34150 (char *) "listCtrl",(char *) "id", NULL
34151 };
34152
34153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
34154 {
34155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
34156 if (SWIG_arg_fail(1)) SWIG_fail;
34157 if (arg1 == NULL) {
34158 SWIG_null_ref("wxPyListCtrl");
34159 }
34160 if (SWIG_arg_fail(1)) SWIG_fail;
34161 }
34162 {
34163 arg2 = (long)(SWIG_As_long(obj1));
34164 if (SWIG_arg_fail(2)) SWIG_fail;
34165 }
34166 {
34167 if (!wxPyCheckForApp()) SWIG_fail;
34168 PyThreadState* __tstate = wxPyBeginAllowThreads();
34169 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
34170
34171 wxPyEndAllowThreads(__tstate);
34172 if (PyErr_Occurred()) SWIG_fail;
34173 }
34174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34175 return resultobj;
34176 fail:
34177 return NULL;
34178 }
34179
34180
34181 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
34182 PyObject *resultobj;
34183 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34184 PyObject * obj0 = 0 ;
34185 char *kwnames[] = {
34186 (char *) "self", NULL
34187 };
34188
34189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
34190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34191 if (SWIG_arg_fail(1)) SWIG_fail;
34192 {
34193 PyThreadState* __tstate = wxPyBeginAllowThreads();
34194 delete arg1;
34195
34196 wxPyEndAllowThreads(__tstate);
34197 if (PyErr_Occurred()) SWIG_fail;
34198 }
34199 Py_INCREF(Py_None); resultobj = Py_None;
34200 return resultobj;
34201 fail:
34202 return NULL;
34203 }
34204
34205
34206 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
34207 PyObject *resultobj;
34208 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34209 wxBitmap *arg2 = (wxBitmap *) 0 ;
34210 PyObject * obj0 = 0 ;
34211 PyObject * obj1 = 0 ;
34212 char *kwnames[] = {
34213 (char *) "self",(char *) "bitmap", NULL
34214 };
34215
34216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
34217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34218 if (SWIG_arg_fail(1)) SWIG_fail;
34219 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34220 if (SWIG_arg_fail(2)) SWIG_fail;
34221 {
34222 PyThreadState* __tstate = wxPyBeginAllowThreads();
34223 (arg1)->SetBackingBitmap(arg2);
34224
34225 wxPyEndAllowThreads(__tstate);
34226 if (PyErr_Occurred()) SWIG_fail;
34227 }
34228 Py_INCREF(Py_None); resultobj = Py_None;
34229 return resultobj;
34230 fail:
34231 return NULL;
34232 }
34233
34234
34235 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34236 PyObject *resultobj;
34237 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34238 wxPoint *arg2 = 0 ;
34239 wxWindow *arg3 = (wxWindow *) 0 ;
34240 bool arg4 = (bool) false ;
34241 wxRect *arg5 = (wxRect *) NULL ;
34242 bool result;
34243 wxPoint temp2 ;
34244 PyObject * obj0 = 0 ;
34245 PyObject * obj1 = 0 ;
34246 PyObject * obj2 = 0 ;
34247 PyObject * obj3 = 0 ;
34248 PyObject * obj4 = 0 ;
34249 char *kwnames[] = {
34250 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34251 };
34252
34253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34255 if (SWIG_arg_fail(1)) SWIG_fail;
34256 {
34257 arg2 = &temp2;
34258 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34259 }
34260 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34261 if (SWIG_arg_fail(3)) SWIG_fail;
34262 if (obj3) {
34263 {
34264 arg4 = (bool)(SWIG_As_bool(obj3));
34265 if (SWIG_arg_fail(4)) SWIG_fail;
34266 }
34267 }
34268 if (obj4) {
34269 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34270 if (SWIG_arg_fail(5)) SWIG_fail;
34271 }
34272 {
34273 PyThreadState* __tstate = wxPyBeginAllowThreads();
34274 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34275
34276 wxPyEndAllowThreads(__tstate);
34277 if (PyErr_Occurred()) SWIG_fail;
34278 }
34279 {
34280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34281 }
34282 return resultobj;
34283 fail:
34284 return NULL;
34285 }
34286
34287
34288 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34289 PyObject *resultobj;
34290 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34291 wxPoint *arg2 = 0 ;
34292 wxWindow *arg3 = (wxWindow *) 0 ;
34293 wxWindow *arg4 = (wxWindow *) 0 ;
34294 bool result;
34295 wxPoint temp2 ;
34296 PyObject * obj0 = 0 ;
34297 PyObject * obj1 = 0 ;
34298 PyObject * obj2 = 0 ;
34299 PyObject * obj3 = 0 ;
34300 char *kwnames[] = {
34301 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34302 };
34303
34304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34306 if (SWIG_arg_fail(1)) SWIG_fail;
34307 {
34308 arg2 = &temp2;
34309 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34310 }
34311 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34312 if (SWIG_arg_fail(3)) SWIG_fail;
34313 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34314 if (SWIG_arg_fail(4)) SWIG_fail;
34315 {
34316 PyThreadState* __tstate = wxPyBeginAllowThreads();
34317 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34318
34319 wxPyEndAllowThreads(__tstate);
34320 if (PyErr_Occurred()) SWIG_fail;
34321 }
34322 {
34323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34324 }
34325 return resultobj;
34326 fail:
34327 return NULL;
34328 }
34329
34330
34331 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34332 PyObject *resultobj;
34333 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34334 bool result;
34335 PyObject * obj0 = 0 ;
34336 char *kwnames[] = {
34337 (char *) "self", NULL
34338 };
34339
34340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34342 if (SWIG_arg_fail(1)) SWIG_fail;
34343 {
34344 PyThreadState* __tstate = wxPyBeginAllowThreads();
34345 result = (bool)(arg1)->EndDrag();
34346
34347 wxPyEndAllowThreads(__tstate);
34348 if (PyErr_Occurred()) SWIG_fail;
34349 }
34350 {
34351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34352 }
34353 return resultobj;
34354 fail:
34355 return NULL;
34356 }
34357
34358
34359 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34360 PyObject *resultobj;
34361 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34362 wxPoint *arg2 = 0 ;
34363 bool result;
34364 wxPoint temp2 ;
34365 PyObject * obj0 = 0 ;
34366 PyObject * obj1 = 0 ;
34367 char *kwnames[] = {
34368 (char *) "self",(char *) "pt", NULL
34369 };
34370
34371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34373 if (SWIG_arg_fail(1)) SWIG_fail;
34374 {
34375 arg2 = &temp2;
34376 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34377 }
34378 {
34379 PyThreadState* __tstate = wxPyBeginAllowThreads();
34380 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34381
34382 wxPyEndAllowThreads(__tstate);
34383 if (PyErr_Occurred()) SWIG_fail;
34384 }
34385 {
34386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34387 }
34388 return resultobj;
34389 fail:
34390 return NULL;
34391 }
34392
34393
34394 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34395 PyObject *resultobj;
34396 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34397 bool result;
34398 PyObject * obj0 = 0 ;
34399 char *kwnames[] = {
34400 (char *) "self", NULL
34401 };
34402
34403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34405 if (SWIG_arg_fail(1)) SWIG_fail;
34406 {
34407 PyThreadState* __tstate = wxPyBeginAllowThreads();
34408 result = (bool)(arg1)->Show();
34409
34410 wxPyEndAllowThreads(__tstate);
34411 if (PyErr_Occurred()) SWIG_fail;
34412 }
34413 {
34414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34415 }
34416 return resultobj;
34417 fail:
34418 return NULL;
34419 }
34420
34421
34422 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34423 PyObject *resultobj;
34424 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34425 bool result;
34426 PyObject * obj0 = 0 ;
34427 char *kwnames[] = {
34428 (char *) "self", NULL
34429 };
34430
34431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34433 if (SWIG_arg_fail(1)) SWIG_fail;
34434 {
34435 PyThreadState* __tstate = wxPyBeginAllowThreads();
34436 result = (bool)(arg1)->Hide();
34437
34438 wxPyEndAllowThreads(__tstate);
34439 if (PyErr_Occurred()) SWIG_fail;
34440 }
34441 {
34442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34443 }
34444 return resultobj;
34445 fail:
34446 return NULL;
34447 }
34448
34449
34450 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34451 PyObject *resultobj;
34452 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34453 wxPoint *arg2 = 0 ;
34454 wxRect result;
34455 wxPoint temp2 ;
34456 PyObject * obj0 = 0 ;
34457 PyObject * obj1 = 0 ;
34458 char *kwnames[] = {
34459 (char *) "self",(char *) "pos", NULL
34460 };
34461
34462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34464 if (SWIG_arg_fail(1)) SWIG_fail;
34465 {
34466 arg2 = &temp2;
34467 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34468 }
34469 {
34470 PyThreadState* __tstate = wxPyBeginAllowThreads();
34471 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34472
34473 wxPyEndAllowThreads(__tstate);
34474 if (PyErr_Occurred()) SWIG_fail;
34475 }
34476 {
34477 wxRect * resultptr;
34478 resultptr = new wxRect((wxRect &)(result));
34479 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34480 }
34481 return resultobj;
34482 fail:
34483 return NULL;
34484 }
34485
34486
34487 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34488 PyObject *resultobj;
34489 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34490 wxDC *arg2 = 0 ;
34491 wxPoint *arg3 = 0 ;
34492 bool result;
34493 wxPoint temp3 ;
34494 PyObject * obj0 = 0 ;
34495 PyObject * obj1 = 0 ;
34496 PyObject * obj2 = 0 ;
34497 char *kwnames[] = {
34498 (char *) "self",(char *) "dc",(char *) "pos", NULL
34499 };
34500
34501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34503 if (SWIG_arg_fail(1)) SWIG_fail;
34504 {
34505 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34506 if (SWIG_arg_fail(2)) SWIG_fail;
34507 if (arg2 == NULL) {
34508 SWIG_null_ref("wxDC");
34509 }
34510 if (SWIG_arg_fail(2)) SWIG_fail;
34511 }
34512 {
34513 arg3 = &temp3;
34514 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34515 }
34516 {
34517 PyThreadState* __tstate = wxPyBeginAllowThreads();
34518 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34519
34520 wxPyEndAllowThreads(__tstate);
34521 if (PyErr_Occurred()) SWIG_fail;
34522 }
34523 {
34524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34525 }
34526 return resultobj;
34527 fail:
34528 return NULL;
34529 }
34530
34531
34532 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34533 PyObject *resultobj;
34534 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34535 wxDC *arg2 = 0 ;
34536 wxMemoryDC *arg3 = 0 ;
34537 wxRect *arg4 = 0 ;
34538 wxRect *arg5 = 0 ;
34539 bool result;
34540 wxRect temp4 ;
34541 wxRect temp5 ;
34542 PyObject * obj0 = 0 ;
34543 PyObject * obj1 = 0 ;
34544 PyObject * obj2 = 0 ;
34545 PyObject * obj3 = 0 ;
34546 PyObject * obj4 = 0 ;
34547 char *kwnames[] = {
34548 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34549 };
34550
34551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34553 if (SWIG_arg_fail(1)) SWIG_fail;
34554 {
34555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34556 if (SWIG_arg_fail(2)) SWIG_fail;
34557 if (arg2 == NULL) {
34558 SWIG_null_ref("wxDC");
34559 }
34560 if (SWIG_arg_fail(2)) SWIG_fail;
34561 }
34562 {
34563 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34564 if (SWIG_arg_fail(3)) SWIG_fail;
34565 if (arg3 == NULL) {
34566 SWIG_null_ref("wxMemoryDC");
34567 }
34568 if (SWIG_arg_fail(3)) SWIG_fail;
34569 }
34570 {
34571 arg4 = &temp4;
34572 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34573 }
34574 {
34575 arg5 = &temp5;
34576 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34577 }
34578 {
34579 PyThreadState* __tstate = wxPyBeginAllowThreads();
34580 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34581
34582 wxPyEndAllowThreads(__tstate);
34583 if (PyErr_Occurred()) SWIG_fail;
34584 }
34585 {
34586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34587 }
34588 return resultobj;
34589 fail:
34590 return NULL;
34591 }
34592
34593
34594 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34595 PyObject *resultobj;
34596 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34597 wxPoint *arg2 = 0 ;
34598 wxPoint *arg3 = 0 ;
34599 bool arg4 ;
34600 bool arg5 ;
34601 bool result;
34602 wxPoint temp2 ;
34603 wxPoint temp3 ;
34604 PyObject * obj0 = 0 ;
34605 PyObject * obj1 = 0 ;
34606 PyObject * obj2 = 0 ;
34607 PyObject * obj3 = 0 ;
34608 PyObject * obj4 = 0 ;
34609 char *kwnames[] = {
34610 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34611 };
34612
34613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34615 if (SWIG_arg_fail(1)) SWIG_fail;
34616 {
34617 arg2 = &temp2;
34618 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34619 }
34620 {
34621 arg3 = &temp3;
34622 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34623 }
34624 {
34625 arg4 = (bool)(SWIG_As_bool(obj3));
34626 if (SWIG_arg_fail(4)) SWIG_fail;
34627 }
34628 {
34629 arg5 = (bool)(SWIG_As_bool(obj4));
34630 if (SWIG_arg_fail(5)) SWIG_fail;
34631 }
34632 {
34633 PyThreadState* __tstate = wxPyBeginAllowThreads();
34634 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34635
34636 wxPyEndAllowThreads(__tstate);
34637 if (PyErr_Occurred()) SWIG_fail;
34638 }
34639 {
34640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34641 }
34642 return resultobj;
34643 fail:
34644 return NULL;
34645 }
34646
34647
34648 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34649 PyObject *obj;
34650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34651 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34652 Py_INCREF(obj);
34653 return Py_BuildValue((char *)"");
34654 }
34655 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34656 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34657 return 1;
34658 }
34659
34660
34661 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34662 PyObject *pyobj;
34663
34664 {
34665 #if wxUSE_UNICODE
34666 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34667 #else
34668 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34669 #endif
34670 }
34671 return pyobj;
34672 }
34673
34674
34675 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34676 PyObject *resultobj;
34677 wxWindow *arg1 = (wxWindow *) 0 ;
34678 int arg2 = (int) -1 ;
34679 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34680 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34681 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34682 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34683 wxSize const &arg5_defvalue = wxDefaultSize ;
34684 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34685 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34686 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34687 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34688 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34689 wxString *arg8 = (wxString *) &arg8_defvalue ;
34690 wxDatePickerCtrl *result;
34691 wxPoint temp4 ;
34692 wxSize temp5 ;
34693 bool temp8 = false ;
34694 PyObject * obj0 = 0 ;
34695 PyObject * obj1 = 0 ;
34696 PyObject * obj2 = 0 ;
34697 PyObject * obj3 = 0 ;
34698 PyObject * obj4 = 0 ;
34699 PyObject * obj5 = 0 ;
34700 PyObject * obj6 = 0 ;
34701 PyObject * obj7 = 0 ;
34702 char *kwnames[] = {
34703 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34704 };
34705
34706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34708 if (SWIG_arg_fail(1)) SWIG_fail;
34709 if (obj1) {
34710 {
34711 arg2 = (int)(SWIG_As_int(obj1));
34712 if (SWIG_arg_fail(2)) SWIG_fail;
34713 }
34714 }
34715 if (obj2) {
34716 {
34717 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34718 if (SWIG_arg_fail(3)) SWIG_fail;
34719 if (arg3 == NULL) {
34720 SWIG_null_ref("wxDateTime");
34721 }
34722 if (SWIG_arg_fail(3)) SWIG_fail;
34723 }
34724 }
34725 if (obj3) {
34726 {
34727 arg4 = &temp4;
34728 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34729 }
34730 }
34731 if (obj4) {
34732 {
34733 arg5 = &temp5;
34734 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34735 }
34736 }
34737 if (obj5) {
34738 {
34739 arg6 = (long)(SWIG_As_long(obj5));
34740 if (SWIG_arg_fail(6)) SWIG_fail;
34741 }
34742 }
34743 if (obj6) {
34744 {
34745 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34746 if (SWIG_arg_fail(7)) SWIG_fail;
34747 if (arg7 == NULL) {
34748 SWIG_null_ref("wxValidator");
34749 }
34750 if (SWIG_arg_fail(7)) SWIG_fail;
34751 }
34752 }
34753 if (obj7) {
34754 {
34755 arg8 = wxString_in_helper(obj7);
34756 if (arg8 == NULL) SWIG_fail;
34757 temp8 = true;
34758 }
34759 }
34760 {
34761 if (!wxPyCheckForApp()) SWIG_fail;
34762 PyThreadState* __tstate = wxPyBeginAllowThreads();
34763 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34764
34765 wxPyEndAllowThreads(__tstate);
34766 if (PyErr_Occurred()) SWIG_fail;
34767 }
34768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34769 {
34770 if (temp8)
34771 delete arg8;
34772 }
34773 return resultobj;
34774 fail:
34775 {
34776 if (temp8)
34777 delete arg8;
34778 }
34779 return NULL;
34780 }
34781
34782
34783 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34784 PyObject *resultobj;
34785 wxDatePickerCtrl *result;
34786 char *kwnames[] = {
34787 NULL
34788 };
34789
34790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34791 {
34792 if (!wxPyCheckForApp()) SWIG_fail;
34793 PyThreadState* __tstate = wxPyBeginAllowThreads();
34794 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34795
34796 wxPyEndAllowThreads(__tstate);
34797 if (PyErr_Occurred()) SWIG_fail;
34798 }
34799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34800 return resultobj;
34801 fail:
34802 return NULL;
34803 }
34804
34805
34806 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34807 PyObject *resultobj;
34808 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34809 wxWindow *arg2 = (wxWindow *) 0 ;
34810 int arg3 = (int) -1 ;
34811 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34812 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34813 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34814 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34815 wxSize const &arg6_defvalue = wxDefaultSize ;
34816 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34817 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34818 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34819 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34820 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34821 wxString *arg9 = (wxString *) &arg9_defvalue ;
34822 bool result;
34823 wxPoint temp5 ;
34824 wxSize temp6 ;
34825 bool temp9 = false ;
34826 PyObject * obj0 = 0 ;
34827 PyObject * obj1 = 0 ;
34828 PyObject * obj2 = 0 ;
34829 PyObject * obj3 = 0 ;
34830 PyObject * obj4 = 0 ;
34831 PyObject * obj5 = 0 ;
34832 PyObject * obj6 = 0 ;
34833 PyObject * obj7 = 0 ;
34834 PyObject * obj8 = 0 ;
34835 char *kwnames[] = {
34836 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34837 };
34838
34839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34841 if (SWIG_arg_fail(1)) SWIG_fail;
34842 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34843 if (SWIG_arg_fail(2)) SWIG_fail;
34844 if (obj2) {
34845 {
34846 arg3 = (int)(SWIG_As_int(obj2));
34847 if (SWIG_arg_fail(3)) SWIG_fail;
34848 }
34849 }
34850 if (obj3) {
34851 {
34852 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34853 if (SWIG_arg_fail(4)) SWIG_fail;
34854 if (arg4 == NULL) {
34855 SWIG_null_ref("wxDateTime");
34856 }
34857 if (SWIG_arg_fail(4)) SWIG_fail;
34858 }
34859 }
34860 if (obj4) {
34861 {
34862 arg5 = &temp5;
34863 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34864 }
34865 }
34866 if (obj5) {
34867 {
34868 arg6 = &temp6;
34869 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34870 }
34871 }
34872 if (obj6) {
34873 {
34874 arg7 = (long)(SWIG_As_long(obj6));
34875 if (SWIG_arg_fail(7)) SWIG_fail;
34876 }
34877 }
34878 if (obj7) {
34879 {
34880 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34881 if (SWIG_arg_fail(8)) SWIG_fail;
34882 if (arg8 == NULL) {
34883 SWIG_null_ref("wxValidator");
34884 }
34885 if (SWIG_arg_fail(8)) SWIG_fail;
34886 }
34887 }
34888 if (obj8) {
34889 {
34890 arg9 = wxString_in_helper(obj8);
34891 if (arg9 == NULL) SWIG_fail;
34892 temp9 = true;
34893 }
34894 }
34895 {
34896 PyThreadState* __tstate = wxPyBeginAllowThreads();
34897 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34898
34899 wxPyEndAllowThreads(__tstate);
34900 if (PyErr_Occurred()) SWIG_fail;
34901 }
34902 {
34903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34904 }
34905 {
34906 if (temp9)
34907 delete arg9;
34908 }
34909 return resultobj;
34910 fail:
34911 {
34912 if (temp9)
34913 delete arg9;
34914 }
34915 return NULL;
34916 }
34917
34918
34919 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34920 PyObject *resultobj;
34921 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34922 wxDateTime *arg2 = 0 ;
34923 PyObject * obj0 = 0 ;
34924 PyObject * obj1 = 0 ;
34925 char *kwnames[] = {
34926 (char *) "self",(char *) "dt", NULL
34927 };
34928
34929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34931 if (SWIG_arg_fail(1)) SWIG_fail;
34932 {
34933 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34934 if (SWIG_arg_fail(2)) SWIG_fail;
34935 if (arg2 == NULL) {
34936 SWIG_null_ref("wxDateTime");
34937 }
34938 if (SWIG_arg_fail(2)) SWIG_fail;
34939 }
34940 {
34941 PyThreadState* __tstate = wxPyBeginAllowThreads();
34942 (arg1)->SetValue((wxDateTime const &)*arg2);
34943
34944 wxPyEndAllowThreads(__tstate);
34945 if (PyErr_Occurred()) SWIG_fail;
34946 }
34947 Py_INCREF(Py_None); resultobj = Py_None;
34948 return resultobj;
34949 fail:
34950 return NULL;
34951 }
34952
34953
34954 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34955 PyObject *resultobj;
34956 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34957 wxDateTime result;
34958 PyObject * obj0 = 0 ;
34959 char *kwnames[] = {
34960 (char *) "self", NULL
34961 };
34962
34963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34965 if (SWIG_arg_fail(1)) SWIG_fail;
34966 {
34967 PyThreadState* __tstate = wxPyBeginAllowThreads();
34968 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34969
34970 wxPyEndAllowThreads(__tstate);
34971 if (PyErr_Occurred()) SWIG_fail;
34972 }
34973 {
34974 wxDateTime * resultptr;
34975 resultptr = new wxDateTime((wxDateTime &)(result));
34976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34977 }
34978 return resultobj;
34979 fail:
34980 return NULL;
34981 }
34982
34983
34984 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34985 PyObject *resultobj;
34986 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34987 wxDateTime *arg2 = 0 ;
34988 wxDateTime *arg3 = 0 ;
34989 PyObject * obj0 = 0 ;
34990 PyObject * obj1 = 0 ;
34991 PyObject * obj2 = 0 ;
34992 char *kwnames[] = {
34993 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34994 };
34995
34996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34998 if (SWIG_arg_fail(1)) SWIG_fail;
34999 {
35000 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35001 if (SWIG_arg_fail(2)) SWIG_fail;
35002 if (arg2 == NULL) {
35003 SWIG_null_ref("wxDateTime");
35004 }
35005 if (SWIG_arg_fail(2)) SWIG_fail;
35006 }
35007 {
35008 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
35009 if (SWIG_arg_fail(3)) SWIG_fail;
35010 if (arg3 == NULL) {
35011 SWIG_null_ref("wxDateTime");
35012 }
35013 if (SWIG_arg_fail(3)) SWIG_fail;
35014 }
35015 {
35016 PyThreadState* __tstate = wxPyBeginAllowThreads();
35017 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
35018
35019 wxPyEndAllowThreads(__tstate);
35020 if (PyErr_Occurred()) SWIG_fail;
35021 }
35022 Py_INCREF(Py_None); resultobj = Py_None;
35023 return resultobj;
35024 fail:
35025 return NULL;
35026 }
35027
35028
35029 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
35030 PyObject *resultobj;
35031 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35032 wxDateTime result;
35033 PyObject * obj0 = 0 ;
35034 char *kwnames[] = {
35035 (char *) "self", NULL
35036 };
35037
35038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
35039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35040 if (SWIG_arg_fail(1)) SWIG_fail;
35041 {
35042 PyThreadState* __tstate = wxPyBeginAllowThreads();
35043 result = wxDatePickerCtrl_GetLowerLimit(arg1);
35044
35045 wxPyEndAllowThreads(__tstate);
35046 if (PyErr_Occurred()) SWIG_fail;
35047 }
35048 {
35049 wxDateTime * resultptr;
35050 resultptr = new wxDateTime((wxDateTime &)(result));
35051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35052 }
35053 return resultobj;
35054 fail:
35055 return NULL;
35056 }
35057
35058
35059 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
35060 PyObject *resultobj;
35061 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35062 wxDateTime result;
35063 PyObject * obj0 = 0 ;
35064 char *kwnames[] = {
35065 (char *) "self", NULL
35066 };
35067
35068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
35069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35070 if (SWIG_arg_fail(1)) SWIG_fail;
35071 {
35072 PyThreadState* __tstate = wxPyBeginAllowThreads();
35073 result = wxDatePickerCtrl_GetUpperLimit(arg1);
35074
35075 wxPyEndAllowThreads(__tstate);
35076 if (PyErr_Occurred()) SWIG_fail;
35077 }
35078 {
35079 wxDateTime * resultptr;
35080 resultptr = new wxDateTime((wxDateTime &)(result));
35081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35082 }
35083 return resultobj;
35084 fail:
35085 return NULL;
35086 }
35087
35088
35089 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
35090 PyObject *obj;
35091 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35092 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
35093 Py_INCREF(obj);
35094 return Py_BuildValue((char *)"");
35095 }
35096 static PyMethodDef SwigMethods[] = {
35097 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
35104 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
35119 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
35131 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
35136 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
35167 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
35181 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
35186 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
35193 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
35198 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
35206 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
35229 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35238 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35269 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35327 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35332 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35344 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35357 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35369 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35373 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35391 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35398 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35424 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35432 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35454 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35460 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35471 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35473 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35479 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35481 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35488 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35490 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35495 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35500 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35530 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35575 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35581 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35593 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35645 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35672 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35697 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35701 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35702 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35703 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35709 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35711 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35714 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35716 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35718 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35719 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35722 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35723 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35724 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35725 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35726 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35727 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35729 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35731 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35732 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
35733 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35734 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35735 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35736 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35737 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35738 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35739 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35740 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35741 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35742 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35743 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35744 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35745 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35746 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35747 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35748 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35749 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35750 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35751 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35752 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35753 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35754 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35755 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35756 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35757 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35758 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35759 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35760 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35761 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35762 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35763 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35764 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35765 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35766 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35767 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35768 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35769 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35770 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35771 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35772 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35773 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35774 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35775 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35776 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35777 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35778 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35779 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35780 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35781 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35782 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35783 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35784 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35785 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35786 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35787 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35788 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35789 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35790 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35791 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35792 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35793 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35794 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35795 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35796 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35797 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35798 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35799 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35800 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35801 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35802 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35803 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35804 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35805 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35806 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35807 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35808 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35809 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35810 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35811 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35812 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35813 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35814 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35815 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35816 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35817 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35818 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35819 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35820 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35821 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35822 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35823 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35824 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35825 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35826 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35827 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35828 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35829 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35830 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35831 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35832 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35833 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35834 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35835 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35836 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35837 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35838 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35839 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35840 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35841 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35842 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35843 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35844 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35845 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35846 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35847 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35848 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35849 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35850 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35851 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35852 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35853 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35854 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35855 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35856 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35857 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35858 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35859 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35860 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35861 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35862 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35863 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35864 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35865 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35866 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35867 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35868 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35869 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35870 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35871 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35872 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35873 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35874 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35875 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35876 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35877 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35878 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35879 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35880 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35881 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35882 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35883 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35884 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35885 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35886 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35887 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35888 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35889 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35890 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35891 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35892 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35893 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35894 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35895 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35896 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35897 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35898 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35899 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35900 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35901 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35902 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35903 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35904 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35905 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35906 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35907 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35908 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35909 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35910 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35911 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35912 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35913 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35914 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35915 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35916 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35917 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35918 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35919 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35920 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35921 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35922 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35923 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35924 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35925 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35926 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35927 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35928 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35929 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35930 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35931 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35932 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35933 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35934 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35935 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35936 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35937 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35938 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35939 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35940 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35941 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35942 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35943 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35944 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35945 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35946 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35947 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35948 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35949 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35950 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35951 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35952 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35953 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35954 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35955 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35956 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35957 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35958 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35959 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35960 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35961 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35962 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
35963 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35964 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35965 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35966 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35967 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35968 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35969 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35970 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35971 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
35972 { NULL, NULL, 0, NULL }
35973 };
35974
35975
35976 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35977
35978 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35979 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35980 }
35981 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35982 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35983 }
35984 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35985 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35986 }
35987 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35988 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35989 }
35990 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35991 return (void *)((wxSizer *) ((wxGridSizer *) x));
35992 }
35993 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35994 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35995 }
35996 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35997 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35998 }
35999 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
36000 return (void *)((wxSizer *) ((wxPySizer *) x));
36001 }
36002 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
36003 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
36004 }
36005 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36006 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36007 }
36008 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36009 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36010 }
36011 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36012 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36013 }
36014 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36015 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36016 }
36017 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36018 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36019 }
36020 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
36021 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36022 }
36023 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
36024 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36025 }
36026 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36027 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36028 }
36029 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36030 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36031 }
36032 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36033 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36034 }
36035 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
36036 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
36037 }
36038 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36039 return (void *)((wxEvent *) ((wxPyEvent *) x));
36040 }
36041 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36042 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36043 }
36044 static void *_p_wxListEventTo_p_wxEvent(void *x) {
36045 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36046 }
36047 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
36048 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36049 }
36050 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
36051 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36052 }
36053 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
36054 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36055 }
36056 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
36057 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
36058 }
36059 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36060 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36061 }
36062 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36063 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36064 }
36065 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36066 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36067 }
36068 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36069 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36070 }
36071 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36072 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36073 }
36074 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36075 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36076 }
36077 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36078 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36079 }
36080 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36081 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36082 }
36083 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
36084 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
36085 }
36086 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36087 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36088 }
36089 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36090 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36091 }
36092 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36093 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36094 }
36095 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36096 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36097 }
36098 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36099 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36100 }
36101 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36102 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36103 }
36104 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36105 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36106 }
36107 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36108 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36109 }
36110 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36111 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36112 }
36113 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36114 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36115 }
36116 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36117 return (void *)((wxEvent *) ((wxShowEvent *) x));
36118 }
36119 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36120 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36121 }
36122 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36123 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36124 }
36125 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36126 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36127 }
36128 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36129 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36130 }
36131 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36132 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36133 }
36134 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36135 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36136 }
36137 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
36138 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36139 }
36140 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
36141 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36142 }
36143 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
36144 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36145 }
36146 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
36147 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
36148 }
36149 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36150 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36151 }
36152 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
36153 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
36154 }
36155 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
36156 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36157 }
36158 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
36159 return (void *)((wxPyListCtrl *) ((wxListView *) x));
36160 }
36161 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
36162 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
36163 }
36164 static void *_p_wxToolBarTo_p_wxControl(void *x) {
36165 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
36166 }
36167 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
36168 return (void *)((wxControl *) ((wxToggleButton *) x));
36169 }
36170 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
36171 return (void *)((wxControl *) ((wxRadioButton *) x));
36172 }
36173 static void *_p_wxPyControlTo_p_wxControl(void *x) {
36174 return (void *)((wxControl *) ((wxPyControl *) x));
36175 }
36176 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
36177 return (void *)((wxControl *) ((wxToolBarBase *) x));
36178 }
36179 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
36180 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36181 }
36182 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
36183 return (void *)((wxControl *) ((wxPyListCtrl *) x));
36184 }
36185 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
36186 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36187 }
36188 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
36189 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
36190 }
36191 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
36192 return (void *)((wxControl *) ((wxScrollBar *) x));
36193 }
36194 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36195 return (void *)((wxControl *) ((wxControlWithItems *) x));
36196 }
36197 static void *_p_wxGaugeTo_p_wxControl(void *x) {
36198 return (void *)((wxControl *) ((wxGauge *) x));
36199 }
36200 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
36201 return (void *)((wxControl *) ((wxStaticLine *) x));
36202 }
36203 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
36204 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
36205 }
36206 static void *_p_wxListbookTo_p_wxControl(void *x) {
36207 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
36208 }
36209 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
36210 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
36211 }
36212 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
36213 return (void *)((wxControl *) ((wxCheckBox *) x));
36214 }
36215 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
36216 return (void *)((wxControl *) ((wxRadioBox *) x));
36217 }
36218 static void *_p_wxChoiceTo_p_wxControl(void *x) {
36219 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
36220 }
36221 static void *_p_wxListBoxTo_p_wxControl(void *x) {
36222 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
36223 }
36224 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
36225 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36226 }
36227 static void *_p_wxListViewTo_p_wxControl(void *x) {
36228 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
36229 }
36230 static void *_p_wxNotebookTo_p_wxControl(void *x) {
36231 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
36232 }
36233 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
36234 return (void *)((wxControl *) ((wxStaticBitmap *) x));
36235 }
36236 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
36237 return (void *)((wxControl *) ((wxSpinCtrl *) x));
36238 }
36239 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
36240 return (void *)((wxControl *) ((wxStaticText *) x));
36241 }
36242 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
36243 return (void *)((wxControl *) ((wxStaticBox *) x));
36244 }
36245 static void *_p_wxSliderTo_p_wxControl(void *x) {
36246 return (void *)((wxControl *) ((wxSlider *) x));
36247 }
36248 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36249 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36250 }
36251 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36252 return (void *)((wxControl *) ((wxSpinButton *) x));
36253 }
36254 static void *_p_wxButtonTo_p_wxControl(void *x) {
36255 return (void *)((wxControl *) ((wxButton *) x));
36256 }
36257 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36258 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36259 }
36260 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36261 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36262 }
36263 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36264 return (void *)((wxControl *) ((wxTextCtrl *) x));
36265 }
36266 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36267 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36268 }
36269 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
36270 return (void *)((wxChoice *) ((wxComboBox *) x));
36271 }
36272 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36273 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36274 }
36275 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36276 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36277 }
36278 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36279 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36280 }
36281 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36282 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36283 }
36284 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36285 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36286 }
36287 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
36288 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36289 }
36290 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
36291 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36292 }
36293 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
36294 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36295 }
36296 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36297 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36298 }
36299 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36300 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
36301 }
36302 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36303 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
36304 }
36305 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36306 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36307 }
36308 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36309 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36310 }
36311 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36312 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36313 }
36314 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36315 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36316 }
36317 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36318 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36319 }
36320 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36321 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36322 }
36323 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36324 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36325 }
36326 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36327 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36328 }
36329 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36330 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36331 }
36332 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36333 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36334 }
36335 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36336 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36337 }
36338 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36339 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36340 }
36341 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36342 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36343 }
36344 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36345 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36346 }
36347 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36348 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36349 }
36350 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36351 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36352 }
36353 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36354 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36355 }
36356 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36357 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36358 }
36359 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36360 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36361 }
36362 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36363 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36364 }
36365 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36366 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36367 }
36368 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
36369 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36370 }
36371 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
36372 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36373 }
36374 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36375 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36376 }
36377 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36378 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36379 }
36380 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36381 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36382 }
36383 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36384 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36385 }
36386 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36387 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36388 }
36389 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36390 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36391 }
36392 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
36393 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36394 }
36395 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36396 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36397 }
36398 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36399 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36400 }
36401 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36402 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36403 }
36404 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36405 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36406 }
36407 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36408 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36409 }
36410 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36411 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36412 }
36413 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36414 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36415 }
36416 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36417 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36418 }
36419 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36420 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36421 }
36422 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36423 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36424 }
36425 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36426 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36427 }
36428 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36429 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36430 }
36431 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36432 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36433 }
36434 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36435 return (void *)((wxButton *) ((wxBitmapButton *) x));
36436 }
36437 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36438 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36439 }
36440 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36441 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36442 }
36443 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36444 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36445 }
36446 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36447 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36448 }
36449 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36450 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36451 }
36452 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36453 return (void *)((wxObject *) ((wxSizerItem *) x));
36454 }
36455 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36456 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36457 }
36458 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36459 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36460 }
36461 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36462 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36463 }
36464 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36465 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36466 }
36467 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36468 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36469 }
36470 static void *_p_wxSizerTo_p_wxObject(void *x) {
36471 return (void *)((wxObject *) ((wxSizer *) x));
36472 }
36473 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36474 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36475 }
36476 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36478 }
36479 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36481 }
36482 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36483 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36484 }
36485 static void *_p_wxEventTo_p_wxObject(void *x) {
36486 return (void *)((wxObject *) ((wxEvent *) x));
36487 }
36488 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36489 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36490 }
36491 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36492 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36493 }
36494 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36495 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36496 }
36497 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36499 }
36500 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36502 }
36503 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36505 }
36506 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36507 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36508 }
36509 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36510 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36511 }
36512 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36513 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36514 }
36515 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36516 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36517 }
36518 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36519 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36520 }
36521 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36522 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36523 }
36524 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36526 }
36527 static void *_p_wxControlTo_p_wxObject(void *x) {
36528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36529 }
36530 static void *_p_wxPyControlTo_p_wxObject(void *x) {
36531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36532 }
36533 static void *_p_wxGaugeTo_p_wxObject(void *x) {
36534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36535 }
36536 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36538 }
36539 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36540 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36541 }
36542 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36544 }
36545 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36546 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36547 }
36548 static void *_p_wxChoiceTo_p_wxObject(void *x) {
36549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36550 }
36551 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36552 return (void *)((wxObject *) ((wxFSFile *) x));
36553 }
36554 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36555 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36556 }
36557 static void *_p_wxListViewTo_p_wxObject(void *x) {
36558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36559 }
36560 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36562 }
36563 static void *_p_wxNotebookTo_p_wxObject(void *x) {
36564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36565 }
36566 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36567 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36568 }
36569 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36570 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36571 }
36572 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
36573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36574 }
36575 static void *_p_wxListbookTo_p_wxObject(void *x) {
36576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36577 }
36578 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36579 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36580 }
36581 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36583 }
36584 static void *_p_wxSliderTo_p_wxObject(void *x) {
36585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36586 }
36587 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36588 return (void *)((wxObject *) ((wxMenuItem *) x));
36589 }
36590 static void *_p_wxDateEventTo_p_wxObject(void *x) {
36591 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36592 }
36593 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36594 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36595 }
36596 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36597 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36598 }
36599 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36600 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36601 }
36602 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36603 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36604 }
36605 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36606 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36607 }
36608 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36609 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36610 }
36611 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36612 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36613 }
36614 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36615 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36616 }
36617 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36619 }
36620 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36621 return (void *)((wxObject *) ((wxContextHelp *) x));
36622 }
36623 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36625 }
36626 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36627 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36628 }
36629 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36630 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36631 }
36632 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36633 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36634 }
36635 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36636 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36637 }
36638 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36639 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36640 }
36641 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36642 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36643 }
36644 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36645 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36646 }
36647 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36648 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36649 }
36650 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36651 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36652 }
36653 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36654 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36655 }
36656 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36657 return (void *)((wxObject *) ((wxImageHandler *) x));
36658 }
36659 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36660 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36661 }
36662 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36663 return (void *)((wxObject *) ((wxEvtHandler *) x));
36664 }
36665 static void *_p_wxListEventTo_p_wxObject(void *x) {
36666 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36667 }
36668 static void *_p_wxListBoxTo_p_wxObject(void *x) {
36669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36670 }
36671 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36673 }
36674 static void *_p_wxButtonTo_p_wxObject(void *x) {
36675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36676 }
36677 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36679 }
36680 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36682 }
36683 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36685 }
36686 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36687 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36688 }
36689 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36690 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36691 }
36692 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36694 }
36695 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36697 }
36698 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36700 }
36701 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36702 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36703 }
36704 static void *_p_wxListItemTo_p_wxObject(void *x) {
36705 return (void *)((wxObject *) ((wxListItem *) x));
36706 }
36707 static void *_p_wxImageTo_p_wxObject(void *x) {
36708 return (void *)((wxObject *) ((wxImage *) x));
36709 }
36710 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36711 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36712 }
36713 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36714 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36715 }
36716 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36717 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36718 }
36719 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36720 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36721 }
36722 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36724 }
36725 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
36726 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36727 }
36728 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
36729 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36730 }
36731 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
36732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36733 }
36734 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36735 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36736 }
36737 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36738 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36739 }
36740 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36741 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36742 }
36743 static void *_p_wxWindowTo_p_wxObject(void *x) {
36744 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36745 }
36746 static void *_p_wxMenuTo_p_wxObject(void *x) {
36747 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36748 }
36749 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36751 }
36752 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36753 return (void *)((wxObject *) ((wxFileSystem *) x));
36754 }
36755 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36756 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36757 }
36758 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36759 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36760 }
36761 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36762 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36763 }
36764 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36765 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36766 }
36767 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36768 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36769 }
36770 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36771 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36772 }
36773 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36774 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36775 }
36776 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36777 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36778 }
36779 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36780 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36781 }
36782 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36783 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36784 }
36785 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36787 }
36788 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36789 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36790 }
36791 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36792 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36793 }
36794 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36795 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36796 }
36797 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36799 }
36800 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36802 }
36803 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36804 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36805 }
36806 static void *_p_wxToolBarTo_p_wxObject(void *x) {
36807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36808 }
36809 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36810 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36811 }
36812 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36813 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36814 }
36815 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36816 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36817 }
36818 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36819 return (void *)((wxWindow *) ((wxMenuBar *) x));
36820 }
36821 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36822 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36823 }
36824 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36825 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36826 }
36827 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36828 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36829 }
36830 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36831 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36832 }
36833 static void *_p_wxControlTo_p_wxWindow(void *x) {
36834 return (void *)((wxWindow *) ((wxControl *) x));
36835 }
36836 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36837 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36838 }
36839 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36840 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36841 }
36842 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36843 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36844 }
36845 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36846 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36847 }
36848 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36849 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36850 }
36851 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36852 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36853 }
36854 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36855 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36856 }
36857 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36858 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36859 }
36860 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36861 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36862 }
36863 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36864 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36865 }
36866 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36867 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36868 }
36869 static void *_p_wxListbookTo_p_wxWindow(void *x) {
36870 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36871 }
36872 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36873 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36874 }
36875 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36876 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36877 }
36878 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36879 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36880 }
36881 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36882 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36883 }
36884 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36885 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36886 }
36887 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36888 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36889 }
36890 static void *_p_wxListViewTo_p_wxWindow(void *x) {
36891 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36892 }
36893 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36894 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36895 }
36896 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36897 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36898 }
36899 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36900 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36901 }
36902 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36903 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36904 }
36905 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36906 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36907 }
36908 static void *_p_wxSliderTo_p_wxWindow(void *x) {
36909 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36910 }
36911 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36912 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36913 }
36914 static void *_p_wxButtonTo_p_wxWindow(void *x) {
36915 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36916 }
36917 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36918 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36919 }
36920 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36921 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36922 }
36923 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36924 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36925 }
36926 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36927 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36928 }
36929 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36930 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36931 }
36932 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36933 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36934 }
36935 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36936 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36937 }
36938 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36939 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36940 }
36941 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36942 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36943 }
36944 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36945 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36946 }
36947 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36948 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36949 }
36950 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36951 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36952 }
36953 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36954 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36955 }
36956 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
36957 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36958 }
36959 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
36960 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36961 }
36962 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36963 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36964 }
36965 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36966 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36967 }
36968 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36969 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36970 }
36971 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36972 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36973 }
36974 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36975 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36976 }
36977 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36978 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36979 }
36980 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36981 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36982 }
36983 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36984 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36985 }
36986 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36987 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36988 }
36989 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36990 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36991 }
36992 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
36993 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
36994 }
36995 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36996 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36997 }
36998 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36999 return (void *)((wxControlWithItems *) ((wxChoice *) x));
37000 }
37001 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
37002 return (void *)((wxControlWithItems *) ((wxListBox *) x));
37003 }
37004 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
37005 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
37006 }
37007 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
37008 return (void *)((wxValidator *) ((wxPyValidator *) x));
37009 }
37010 static 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}};
37011 static 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}};
37012 static 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}};
37013 static 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}};
37014 static 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}};
37015 static 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}};
37016 static 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}};
37017 static 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}};
37018 static 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}};
37019 static 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}};
37020 static 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}};
37021 static 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}};
37022 static 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}};
37023 static 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}};
37024 static 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}};
37025 static 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}};
37026 static 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}};
37027 static 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}};
37028 static 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}};
37029 static 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}};
37030 static 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}};
37031 static 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}};
37032 static 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}};
37033 static 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}};
37034 static 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}};
37035 static 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}};
37036 static 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}};
37037 static 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}};
37038 static 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}};
37039 static 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}};
37040 static 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}};
37041 static 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}};
37042 static 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}};
37043 static 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}};
37044 static 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}};
37045 static 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}};
37046 static 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}};
37047 static 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}};
37048 static 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}};
37049 static 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}};
37050 static 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}};
37051 static 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}};
37052 static 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}};
37053 static 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}};
37054 static 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}};
37055 static 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}};
37056 static 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}};
37057 static 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}};
37058 static 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}};
37059 static 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}};
37060 static 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}};
37061 static 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}};
37062 static 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}};
37063 static 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}};
37064 static 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}};
37065 static 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}};
37066 static 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}};
37067 static 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}};
37068 static 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}};
37069 static 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}};
37070 static 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}};
37071 static 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}};
37072 static 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}};
37073 static 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}};
37074 static 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}};
37075 static 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}};
37076 static 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}};
37077 static 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}};
37078 static 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}};
37079 static 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}};
37080 static 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}};
37081 static 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}};
37082 static 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}};
37083 static 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}};
37084 static 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}};
37085 static 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}};
37086 static 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}};
37087 static 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}};
37088 static 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}};
37089 static 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}};
37090 static 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}};
37091 static 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}};
37092 static 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}};
37093 static 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}};
37094 static 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}};
37095 static 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}};
37096 static 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}};
37097 static 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}};
37098 static 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}};
37099 static 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}};
37100 static 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}};
37101 static 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}};
37102 static 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}};
37103 static 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}};
37104 static 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}};
37105 static 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}};
37106 static 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}};
37107 static 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}};
37108
37109 static swig_type_info *swig_types_initial[] = {
37110 _swigt__p_wxTextUrlEvent,
37111 _swigt__p_wxSizer,
37112 _swigt__p_wxCheckBox,
37113 _swigt__p_wxPyTreeCtrl,
37114 _swigt__p_wxEvent,
37115 _swigt__p_wxGenericDirCtrl,
37116 _swigt__p_bool,
37117 _swigt__p_wxItemContainer,
37118 _swigt__p_wxPyListCtrl,
37119 _swigt__p_wxPyTreeItemData,
37120 _swigt__p_wxDirFilterListCtrl,
37121 _swigt__p_wxStaticLine,
37122 _swigt__p_wxControl,
37123 _swigt__p_wxPyControl,
37124 _swigt__p_wxGauge,
37125 _swigt__p_wxToolBarBase,
37126 _swigt__p_wxFont,
37127 _swigt__p_wxToggleButton,
37128 _swigt__p_wxRadioButton,
37129 _swigt__p_wxChoice,
37130 _swigt__p_wxMemoryDC,
37131 _swigt__ptrdiff_t,
37132 _swigt__std__ptrdiff_t,
37133 _swigt__p_wxListItemAttr,
37134 _swigt__p_void,
37135 _swigt__p_int,
37136 _swigt__p_wxSize,
37137 _swigt__p_wxDC,
37138 _swigt__p_wxListView,
37139 _swigt__p_wxIcon,
37140 _swigt__p_wxVisualAttributes,
37141 _swigt__p_wxTextCtrl,
37142 _swigt__p_wxNotebook,
37143 _swigt__p_wxChoicebook,
37144 _swigt__p_wxNotifyEvent,
37145 _swigt__p_wxArrayString,
37146 _swigt__p_form_ops_t,
37147 _swigt__p_wxListbook,
37148 _swigt__p_wxStaticBitmap,
37149 _swigt__p_wxSlider,
37150 _swigt__p_wxStaticBox,
37151 _swigt__p_wxArrayInt,
37152 _swigt__p_wxContextHelp,
37153 _swigt__p_long,
37154 _swigt__p_wxDuplexMode,
37155 _swigt__p_wxBookCtrlBase,
37156 _swigt__p_wxEvtHandler,
37157 _swigt__p_wxListEvent,
37158 _swigt__p_wxCheckListBox,
37159 _swigt__p_wxListBox,
37160 _swigt__p_wxSpinButton,
37161 _swigt__p_wxButton,
37162 _swigt__p_wxBitmapButton,
37163 _swigt__p_wxRect,
37164 _swigt__p_wxContextHelpButton,
37165 _swigt__p_wxRadioBox,
37166 _swigt__p_wxScrollBar,
37167 _swigt__p_char,
37168 _swigt__p_wxComboBox,
37169 _swigt__p_wxTreeItemId,
37170 _swigt__p_wxHelpEvent,
37171 _swigt__p_wxListItem,
37172 _swigt__p_wxNotebookSizer,
37173 _swigt__p_wxSpinEvent,
37174 _swigt__p_wxGenericDragImage,
37175 _swigt__p_wxSpinCtrl,
37176 _swigt__p_wxPaperSize,
37177 _swigt__p_wxImageList,
37178 _swigt__p_wxHelpProvider,
37179 _swigt__p_wxTextAttr,
37180 _swigt__p_wxSimpleHelpProvider,
37181 _swigt__p_wxChoicebookEvent,
37182 _swigt__p_wxListbookEvent,
37183 _swigt__p_wxNotebookEvent,
37184 _swigt__p_wxPoint,
37185 _swigt__p_wxObject,
37186 _swigt__p_wxCursor,
37187 _swigt__p_wxDateTime,
37188 _swigt__p_wxKeyEvent,
37189 _swigt__p_unsigned_long,
37190 _swigt__p_wxWindow,
37191 _swigt__p_wxString,
37192 _swigt__p_wxBitmap,
37193 _swigt__unsigned_int,
37194 _swigt__p_unsigned_int,
37195 _swigt__p_unsigned_char,
37196 _swigt__p_wxMouseEvent,
37197 _swigt__p_wxBookCtrlBaseEvent,
37198 _swigt__p_wxTreeEvent,
37199 _swigt__p_wxCommandEvent,
37200 _swigt__p_wxStaticText,
37201 _swigt__p_wxDatePickerCtrl,
37202 _swigt__p_wxControlWithItems,
37203 _swigt__p_wxToolBarToolBase,
37204 _swigt__p_wxColour,
37205 _swigt__p_wxToolBar,
37206 _swigt__p_wxBookCtrlSizer,
37207 _swigt__p_wxValidator,
37208 0
37209 };
37210
37211
37212 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37213
37214 static swig_const_info swig_const_table[] = {
37215 {0, 0, 0, 0.0, 0, 0}};
37216
37217 #ifdef __cplusplus
37218 }
37219 #endif
37220
37221
37222 #ifdef __cplusplus
37223 extern "C" {
37224 #endif
37225
37226 /* Python-specific SWIG API */
37227 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37228 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37229 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37230
37231 /* -----------------------------------------------------------------------------
37232 * global variable support code.
37233 * ----------------------------------------------------------------------------- */
37234
37235 typedef struct swig_globalvar {
37236 char *name; /* Name of global variable */
37237 PyObject *(*get_attr)(); /* Return the current value */
37238 int (*set_attr)(PyObject *); /* Set the value */
37239 struct swig_globalvar *next;
37240 } swig_globalvar;
37241
37242 typedef struct swig_varlinkobject {
37243 PyObject_HEAD
37244 swig_globalvar *vars;
37245 } swig_varlinkobject;
37246
37247 static PyObject *
37248 swig_varlink_repr(swig_varlinkobject *v) {
37249 v = v;
37250 return PyString_FromString("<Swig global variables>");
37251 }
37252
37253 static int
37254 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
37255 swig_globalvar *var;
37256 flags = flags;
37257 fprintf(fp,"Swig global variables { ");
37258 for (var = v->vars; var; var=var->next) {
37259 fprintf(fp,"%s", var->name);
37260 if (var->next) fprintf(fp,", ");
37261 }
37262 fprintf(fp," }\n");
37263 return 0;
37264 }
37265
37266 static PyObject *
37267 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37268 swig_globalvar *var = v->vars;
37269 while (var) {
37270 if (strcmp(var->name,n) == 0) {
37271 return (*var->get_attr)();
37272 }
37273 var = var->next;
37274 }
37275 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37276 return NULL;
37277 }
37278
37279 static int
37280 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37281 swig_globalvar *var = v->vars;
37282 while (var) {
37283 if (strcmp(var->name,n) == 0) {
37284 return (*var->set_attr)(p);
37285 }
37286 var = var->next;
37287 }
37288 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37289 return 1;
37290 }
37291
37292 static PyTypeObject varlinktype = {
37293 PyObject_HEAD_INIT(0)
37294 0, /* Number of items in variable part (ob_size) */
37295 (char *)"swigvarlink", /* Type name (tp_name) */
37296 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37297 0, /* Itemsize (tp_itemsize) */
37298 0, /* Deallocator (tp_dealloc) */
37299 (printfunc) swig_varlink_print, /* Print (tp_print) */
37300 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37301 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37302 0, /* tp_compare */
37303 (reprfunc) swig_varlink_repr, /* tp_repr */
37304 0, /* tp_as_number */
37305 0, /* tp_as_sequence */
37306 0, /* tp_as_mapping */
37307 0, /* tp_hash */
37308 0, /* tp_call */
37309 0, /* tp_str */
37310 0, /* tp_getattro */
37311 0, /* tp_setattro */
37312 0, /* tp_as_buffer */
37313 0, /* tp_flags */
37314 0, /* tp_doc */
37315 #if PY_VERSION_HEX >= 0x02000000
37316 0, /* tp_traverse */
37317 0, /* tp_clear */
37318 #endif
37319 #if PY_VERSION_HEX >= 0x02010000
37320 0, /* tp_richcompare */
37321 0, /* tp_weaklistoffset */
37322 #endif
37323 #if PY_VERSION_HEX >= 0x02020000
37324 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37325 #endif
37326 #if PY_VERSION_HEX >= 0x02030000
37327 0, /* tp_del */
37328 #endif
37329 #ifdef COUNT_ALLOCS
37330 0,0,0,0 /* tp_alloc -> tp_next */
37331 #endif
37332 };
37333
37334 /* Create a variable linking object for use later */
37335 static PyObject *
37336 SWIG_Python_newvarlink(void) {
37337 swig_varlinkobject *result = 0;
37338 result = PyMem_NEW(swig_varlinkobject,1);
37339 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37340 result->ob_type = &varlinktype;
37341 result->vars = 0;
37342 result->ob_refcnt = 0;
37343 Py_XINCREF((PyObject *) result);
37344 return ((PyObject*) result);
37345 }
37346
37347 static void
37348 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37349 swig_varlinkobject *v;
37350 swig_globalvar *gv;
37351 v= (swig_varlinkobject *) p;
37352 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37353 gv->name = (char *) malloc(strlen(name)+1);
37354 strcpy(gv->name,name);
37355 gv->get_attr = get_attr;
37356 gv->set_attr = set_attr;
37357 gv->next = v->vars;
37358 v->vars = gv;
37359 }
37360
37361 /* -----------------------------------------------------------------------------
37362 * constants/methods manipulation
37363 * ----------------------------------------------------------------------------- */
37364
37365 /* Install Constants */
37366 static void
37367 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37368 PyObject *obj = 0;
37369 size_t i;
37370 for (i = 0; constants[i].type; i++) {
37371 switch(constants[i].type) {
37372 case SWIG_PY_INT:
37373 obj = PyInt_FromLong(constants[i].lvalue);
37374 break;
37375 case SWIG_PY_FLOAT:
37376 obj = PyFloat_FromDouble(constants[i].dvalue);
37377 break;
37378 case SWIG_PY_STRING:
37379 if (constants[i].pvalue) {
37380 obj = PyString_FromString((char *) constants[i].pvalue);
37381 } else {
37382 Py_INCREF(Py_None);
37383 obj = Py_None;
37384 }
37385 break;
37386 case SWIG_PY_POINTER:
37387 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37388 break;
37389 case SWIG_PY_BINARY:
37390 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37391 break;
37392 default:
37393 obj = 0;
37394 break;
37395 }
37396 if (obj) {
37397 PyDict_SetItemString(d,constants[i].name,obj);
37398 Py_DECREF(obj);
37399 }
37400 }
37401 }
37402
37403 /* -----------------------------------------------------------------------------*/
37404 /* Fix SwigMethods to carry the callback ptrs when needed */
37405 /* -----------------------------------------------------------------------------*/
37406
37407 static void
37408 SWIG_Python_FixMethods(PyMethodDef *methods,
37409 swig_const_info *const_table,
37410 swig_type_info **types,
37411 swig_type_info **types_initial) {
37412 size_t i;
37413 for (i = 0; methods[i].ml_name; ++i) {
37414 char *c = methods[i].ml_doc;
37415 if (c && (c = strstr(c, "swig_ptr: "))) {
37416 int j;
37417 swig_const_info *ci = 0;
37418 char *name = c + 10;
37419 for (j = 0; const_table[j].type; j++) {
37420 if (strncmp(const_table[j].name, name,
37421 strlen(const_table[j].name)) == 0) {
37422 ci = &(const_table[j]);
37423 break;
37424 }
37425 }
37426 if (ci) {
37427 size_t shift = (ci->ptype) - types;
37428 swig_type_info *ty = types_initial[shift];
37429 size_t ldoc = (c - methods[i].ml_doc);
37430 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37431 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37432 char *buff = ndoc;
37433 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37434 strncpy(buff, methods[i].ml_doc, ldoc);
37435 buff += ldoc;
37436 strncpy(buff, "swig_ptr: ", 10);
37437 buff += 10;
37438 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37439 methods[i].ml_doc = ndoc;
37440 }
37441 }
37442 }
37443 }
37444
37445 /* -----------------------------------------------------------------------------*
37446 * Initialize type list
37447 * -----------------------------------------------------------------------------*/
37448
37449 #if PY_MAJOR_VERSION < 2
37450 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37451 is copied out of Python/modsupport.c in python version 2.3.4 */
37452 static int
37453 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37454 {
37455 PyObject *dict;
37456 if (!PyModule_Check(m)) {
37457 PyErr_SetString(PyExc_TypeError,
37458 "PyModule_AddObject() needs module as first arg");
37459 return -1;
37460 }
37461 if (!o) {
37462 PyErr_SetString(PyExc_TypeError,
37463 "PyModule_AddObject() needs non-NULL value");
37464 return -1;
37465 }
37466
37467 dict = PyModule_GetDict(m);
37468 if (dict == NULL) {
37469 /* Internal error -- modules must have a dict! */
37470 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37471 PyModule_GetName(m));
37472 return -1;
37473 }
37474 if (PyDict_SetItemString(dict, name, o))
37475 return -1;
37476 Py_DECREF(o);
37477 return 0;
37478 }
37479 #endif
37480
37481 static swig_type_info **
37482 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37483 static PyMethodDef swig_empty_runtime_method_table[] = {
37484 {
37485 NULL, NULL, 0, NULL
37486 }
37487 };/* Sentinel */
37488
37489 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37490 swig_empty_runtime_method_table);
37491 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37492 if (pointer && module) {
37493 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37494 }
37495 return type_list_handle;
37496 }
37497
37498 static swig_type_info **
37499 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37500 swig_type_info **type_pointer;
37501
37502 /* first check if module already created */
37503 type_pointer = SWIG_Python_GetTypeListHandle();
37504 if (type_pointer) {
37505 return type_pointer;
37506 } else {
37507 /* create a new module and variable */
37508 return SWIG_Python_SetTypeListHandle(type_list_handle);
37509 }
37510 }
37511
37512 #ifdef __cplusplus
37513 }
37514 #endif
37515
37516 /* -----------------------------------------------------------------------------*
37517 * Partial Init method
37518 * -----------------------------------------------------------------------------*/
37519
37520 #ifdef SWIG_LINK_RUNTIME
37521 #ifdef __cplusplus
37522 extern "C"
37523 #endif
37524 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37525 #endif
37526
37527 #ifdef __cplusplus
37528 extern "C"
37529 #endif
37530 SWIGEXPORT(void) SWIG_init(void) {
37531 static PyObject *SWIG_globals = 0;
37532 static int typeinit = 0;
37533 PyObject *m, *d;
37534 int i;
37535 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37536
37537 /* Fix SwigMethods to carry the callback ptrs when needed */
37538 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37539
37540 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37541 d = PyModule_GetDict(m);
37542
37543 if (!typeinit) {
37544 #ifdef SWIG_LINK_RUNTIME
37545 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37546 #else
37547 # ifndef SWIG_STATIC_RUNTIME
37548 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37549 # endif
37550 #endif
37551 for (i = 0; swig_types_initial[i]; i++) {
37552 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37553 }
37554 typeinit = 1;
37555 }
37556 SWIG_InstallConstants(d,swig_const_table);
37557
37558 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37559 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
37560 {
37561 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37562 }
37563 {
37564 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37565 }
37566 {
37567 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37568 }
37569 {
37570 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37571 }
37572 {
37573 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37574 }
37575 {
37576 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37577 }
37578 {
37579 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37580 }
37581 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
37582 {
37583 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37584 }
37585 {
37586 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37587 }
37588 {
37589 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37590 }
37591 {
37592 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37593 }
37594 {
37595 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37596 }
37597 {
37598 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37599 }
37600 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37601 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37602 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
37603 {
37604 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37605 }
37606 {
37607 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37608 }
37609 {
37610 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37611 }
37612 {
37613 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37614 }
37615 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37616 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37617 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37618 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37619 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
37620 {
37621 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37622 }
37623 {
37624 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37625 }
37626 {
37627 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37628 }
37629 {
37630 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37631 }
37632 {
37633 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37634 }
37635 {
37636 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37637 }
37638 {
37639 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37640 }
37641 {
37642 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37643 }
37644 {
37645 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37646 }
37647 {
37648 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37649 }
37650 {
37651 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37652 }
37653 {
37654 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37655 }
37656 {
37657 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37658 }
37659 {
37660 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37661 }
37662 {
37663 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37664 }
37665 {
37666 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
37667 }
37668 {
37669 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37670 }
37671 {
37672 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37673 }
37674 {
37675 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37676 }
37677 {
37678 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37679 }
37680 {
37681 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37682 }
37683 {
37684 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37685 }
37686 {
37687 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37688 }
37689 {
37690 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37691 }
37692 {
37693 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37694 }
37695 {
37696 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37697 }
37698 {
37699 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37700 }
37701 {
37702 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37703 }
37704 {
37705 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37706 }
37707 {
37708 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37709 }
37710 {
37711 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37712 }
37713 {
37714 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37715 }
37716 {
37717 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37718 }
37719 {
37720 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37721 }
37722 {
37723 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37724 }
37725 {
37726 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37727 }
37728 {
37729 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37730 }
37731 {
37732 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37733 }
37734 {
37735 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37736 }
37737 {
37738 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37739 }
37740 {
37741 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37742 }
37743 {
37744 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37745 }
37746 {
37747 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37748 }
37749 {
37750 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37751 }
37752 {
37753 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37754 }
37755 {
37756 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37757 }
37758 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37759 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37760 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37761 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37762 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37763 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37764 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
37765 {
37766 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37767 }
37768 {
37769 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37770 }
37771 {
37772 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37773 }
37774 {
37775 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37776 }
37777 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37778 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37779 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37780 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37781 {
37782 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37783 }
37784 {
37785 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37786 }
37787 {
37788 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
37789 }
37790 {
37791 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37792 }
37793 {
37794 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37795 }
37796 {
37797 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37798 }
37799 {
37800 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37801 }
37802 {
37803 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37804 }
37805 {
37806 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37807 }
37808 {
37809 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37810 }
37811 {
37812 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37813 }
37814 {
37815 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37816 }
37817 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37818 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
37819 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
37820 {
37821 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37822 }
37823 {
37824 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37825 }
37826 {
37827 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37828 }
37829 {
37830 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37831 }
37832 {
37833 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37834 }
37835 {
37836 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37837 }
37838 {
37839 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37840 }
37841 {
37842 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37843 }
37844 {
37845 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37846 }
37847 {
37848 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37849 }
37850 {
37851 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37852 }
37853 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37854 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
37855 {
37856 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37857 }
37858 {
37859 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37860 }
37861 {
37862 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37863 }
37864 {
37865 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37866 }
37867 {
37868 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37869 }
37870 {
37871 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37872 }
37873 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37874 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
37875 {
37876 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37877 }
37878 {
37879 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37880 }
37881 {
37882 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37883 }
37884 {
37885 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37886 }
37887 {
37888 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37889 }
37890 {
37891 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37892 }
37893 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37894 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
37895 {
37896 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37897 }
37898 {
37899 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37900 }
37901 {
37902 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37903 }
37904 {
37905 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37906 }
37907 {
37908 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37909 }
37910 {
37911 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37912 }
37913 {
37914 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37915 }
37916 {
37917 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37918 }
37919 {
37920 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37921 }
37922 {
37923 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37924 }
37925 {
37926 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37927 }
37928 {
37929 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37930 }
37931 {
37932 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37933 }
37934 {
37935 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37936 }
37937 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
37938 {
37939 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37940 }
37941 {
37942 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37943 }
37944 {
37945 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37946 }
37947 {
37948 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37949 }
37950 {
37951 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37952 }
37953 {
37954 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37955 }
37956 {
37957 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37958 }
37959 {
37960 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37961 }
37962 {
37963 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37964 }
37965 {
37966 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37967 }
37968 {
37969 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37970 }
37971 {
37972 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37973 }
37974 {
37975 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37976 }
37977 {
37978 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37979 }
37980 {
37981 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37982 }
37983 {
37984 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37985 }
37986 {
37987 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37988 }
37989 {
37990 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37991 }
37992 {
37993 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37994 }
37995 {
37996 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37997 }
37998 {
37999 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
38000 }
38001 {
38002 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
38003 }
38004 {
38005 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
38006 }
38007 {
38008 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
38009 }
38010 {
38011 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
38012 }
38013 {
38014 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
38015 }
38016 {
38017 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
38018 }
38019 {
38020 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
38021 }
38022 {
38023 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
38024 }
38025 {
38026 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
38027 }
38028 {
38029 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
38030 }
38031 {
38032 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
38033 }
38034 {
38035 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
38036 }
38037 {
38038 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
38039 }
38040 {
38041 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
38042 }
38043 {
38044 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
38045 }
38046 {
38047 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
38048 }
38049 {
38050 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
38051 }
38052 {
38053 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
38054 }
38055 {
38056 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
38057 }
38058 {
38059 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
38060 }
38061 {
38062 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
38063 }
38064 {
38065 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
38066 }
38067 {
38068 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
38069 }
38070 {
38071 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
38072 }
38073 {
38074 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
38075 }
38076 {
38077 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
38078 }
38079 {
38080 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
38081 }
38082 {
38083 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
38084 }
38085 {
38086 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
38087 }
38088 {
38089 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
38090 }
38091 {
38092 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
38093 }
38094 {
38095 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
38096 }
38097 {
38098 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
38099 }
38100 {
38101 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
38102 }
38103 {
38104 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
38105 }
38106 {
38107 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
38108 }
38109 {
38110 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
38111 }
38112 {
38113 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
38114 }
38115 {
38116 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
38117 }
38118 {
38119 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
38120 }
38121 {
38122 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
38123 }
38124 {
38125 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
38126 }
38127 {
38128 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
38129 }
38130 {
38131 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
38132 }
38133 {
38134 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
38135 }
38136 {
38137 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
38138 }
38139 {
38140 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
38141 }
38142 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
38143 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
38144 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
38145 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
38146 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
38147 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
38148 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
38149 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
38150 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
38151 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
38152 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
38153 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
38154 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
38155 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
38156 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
38157 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
38158 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
38159 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
38160 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
38161 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
38162 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
38163 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
38164
38165 // Map renamed classes back to their common name for OOR
38166 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38167
38168 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
38169 {
38170 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
38171 }
38172 {
38173 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
38174 }
38175 {
38176 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
38177 }
38178 {
38179 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
38180 }
38181 {
38182 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
38183 }
38184 {
38185 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
38186 }
38187 {
38188 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
38189 }
38190 {
38191 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
38192 }
38193 {
38194 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
38195 }
38196 {
38197 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
38198 }
38199 {
38200 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
38201 }
38202 {
38203 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
38204 }
38205 {
38206 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
38207 }
38208 {
38209 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
38210 }
38211 {
38212 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
38213 }
38214 {
38215 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
38216 }
38217 {
38218 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
38219 }
38220 {
38221 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
38222 }
38223 {
38224 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
38225 }
38226 {
38227 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
38228 }
38229 {
38230 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
38231 }
38232 {
38233 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
38234 }
38235 {
38236 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
38237 }
38238 {
38239 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
38240 }
38241 {
38242 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
38243 }
38244 {
38245 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
38246 }
38247 {
38248 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
38249 }
38250 {
38251 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
38252 }
38253 {
38254 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
38255 }
38256 {
38257 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
38258 }
38259 {
38260 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
38261 }
38262 {
38263 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
38264 }
38265 {
38266 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
38267 }
38268 {
38269 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
38270 }
38271 {
38272 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
38273 }
38274 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38275 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38276 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38277 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38278 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38279 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38280 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38281 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38282 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38283 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38284 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38285 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38286 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38287 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38288 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38289 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38290 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38291 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38292 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38293 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
38294 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
38295
38296 // Map renamed classes back to their common name for OOR
38297 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38298 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38299
38300 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
38301 {
38302 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38303 }
38304 {
38305 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38306 }
38307 {
38308 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38309 }
38310 {
38311 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38312 }
38313 {
38314 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38315 }
38316 {
38317 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38318 }
38319 {
38320 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38321 }
38322 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38323 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38324
38325 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38326
38327 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38328 {
38329 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38330 }
38331 {
38332 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38333 }
38334 {
38335 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38336 }
38337 {
38338 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38339 }
38340 {
38341 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38342 }
38343 }
38344