]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_controls_wrap.cpp
Make IsSelected be a bit more specific
[wxWidgets.git] / wxPython / src / gtk / _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 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048 }
1049
1050 SWIGRUNTIMEINLINE void
1051 SWIG_Python_NullRef(const char *type)
1052 {
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058 }
1059
1060 SWIGRUNTIME int
1061 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062 {
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083 }
1084
1085 SWIGRUNTIME int
1086 SWIG_Python_ArgFail(int argnum)
1087 {
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096 }
1097
1098
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103 /* Convert a pointer value */
1104 SWIGRUNTIME int
1105 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136 #else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154 #endif
1155
1156 type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171 type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194 }
1195
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1197 SWIGRUNTIME void *
1198 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208 }
1209
1210 /* Convert a packed value value */
1211 SWIGRUNTIME int
1212 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218 #else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223 #endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231 type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241 }
1242
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject *
1245 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253 #else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259 #endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275 }
1276
1277 SWIGRUNTIME PyObject *
1278 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286 #else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292 #endif
1293 return robj;
1294 }
1295
1296 /* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1302 #endif
1303
1304 SWIGRUNTIME swig_type_info **
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311 #else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319 #endif
1320 return (swig_type_info **) type_pointer;
1321 }
1322
1323 /*
1324 Search for a swig_type_info structure
1325 */
1326 SWIGRUNTIMEINLINE swig_type_info *
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330 }
1331
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334 #ifdef __cplusplus
1335 }
1336 #endif
1337
1338
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1340
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxDateTime swig_types[77]
1419 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1420 #define SWIGTYPE_p_unsigned_long swig_types[79]
1421 #define SWIGTYPE_p_wxWindow swig_types[80]
1422 #define SWIGTYPE_p_wxString swig_types[81]
1423 #define SWIGTYPE_p_wxBitmap swig_types[82]
1424 #define SWIGTYPE_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_int swig_types[84]
1426 #define SWIGTYPE_p_unsigned_char swig_types[85]
1427 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1429 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1430 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1431 #define SWIGTYPE_p_wxStaticText swig_types[90]
1432 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1433 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1434 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1435 #define SWIGTYPE_p_wxColour swig_types[94]
1436 #define SWIGTYPE_p_wxToolBar swig_types[95]
1437 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1438 #define SWIGTYPE_p_wxValidator swig_types[97]
1439 static swig_type_info *swig_types[99];
1440
1441 /* -------- TYPES TABLE (END) -------- */
1442
1443
1444 /*-----------------------------------------------
1445 @(target):= _controls_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_controls_
1448
1449 #define SWIG_name "_controls_"
1450
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1453
1454 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1455 static const wxString wxPyEmptyString(wxEmptyString);
1456 static const wxString wxPyControlNameStr(wxControlNameStr);
1457
1458 const wxArrayString wxPyEmptyStringArray;
1459
1460 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1461
1462 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1463 #define SWIG_From_int PyInt_FromLong
1464 /*@@*/
1465
1466
1467 #include <limits.h>
1468
1469
1470 SWIGINTERN int
1471 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1472 const char *errmsg)
1473 {
1474 if (value < min_value) {
1475 if (errmsg) {
1476 PyErr_Format(PyExc_OverflowError,
1477 "value %ld is less than '%s' minimum %ld",
1478 value, errmsg, min_value);
1479 }
1480 return 0;
1481 } else if (value > max_value) {
1482 if (errmsg) {
1483 PyErr_Format(PyExc_OverflowError,
1484 "value %ld is greater than '%s' maximum %ld",
1485 value, errmsg, max_value);
1486 }
1487 return 0;
1488 }
1489 return 1;
1490 }
1491
1492
1493 SWIGINTERN int
1494 SWIG_AsVal_long(PyObject* obj, long* val)
1495 {
1496 if (PyNumber_Check(obj)) {
1497 if (val) *val = PyInt_AsLong(obj);
1498 return 1;
1499 }
1500 else {
1501 SWIG_type_error("number", obj);
1502 }
1503 return 0;
1504 }
1505
1506
1507 #if INT_MAX != LONG_MAX
1508 SWIGINTERN int
1509 SWIG_AsVal_int(PyObject *obj, int *val)
1510 {
1511 const char* errmsg = val ? "int" : (char*)0;
1512 long v;
1513 if (SWIG_AsVal_long(obj, &v)) {
1514 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1515 if (val) *val = (int)(v);
1516 return 1;
1517 } else {
1518 return 0;
1519 }
1520 } else {
1521 PyErr_Clear();
1522 }
1523 if (val) {
1524 SWIG_type_error(errmsg, obj);
1525 }
1526 return 0;
1527 }
1528 #else
1529 SWIGINTERNSHORT int
1530 SWIG_AsVal_int(PyObject *obj, int *val)
1531 {
1532 return SWIG_AsVal_long(obj,(long*)val);
1533 }
1534 #endif
1535
1536
1537 SWIGINTERNSHORT int
1538 SWIG_As_int(PyObject* obj)
1539 {
1540 int v;
1541 if (!SWIG_AsVal_int(obj, &v)) {
1542 /*
1543 this is needed to make valgrind/purify happier.
1544 */
1545 memset((void*)&v, 0, sizeof(int));
1546 }
1547 return v;
1548 }
1549
1550
1551 SWIGINTERNSHORT long
1552 SWIG_As_long(PyObject* obj)
1553 {
1554 long v;
1555 if (!SWIG_AsVal_long(obj, &v)) {
1556 /*
1557 this is needed to make valgrind/purify happier.
1558 */
1559 memset((void*)&v, 0, sizeof(long));
1560 }
1561 return v;
1562 }
1563
1564
1565 SWIGINTERNSHORT int
1566 SWIG_Check_int(PyObject* obj)
1567 {
1568 return SWIG_AsVal_int(obj, (int*)0);
1569 }
1570
1571
1572 SWIGINTERNSHORT int
1573 SWIG_Check_long(PyObject* obj)
1574 {
1575 return SWIG_AsVal_long(obj, (long*)0);
1576 }
1577
1578 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1579
1580 SWIGINTERN int
1581 SWIG_AsVal_bool(PyObject *obj, bool *val)
1582 {
1583 if (obj == Py_True) {
1584 if (val) *val = true;
1585 return 1;
1586 }
1587 if (obj == Py_False) {
1588 if (val) *val = false;
1589 return 1;
1590 }
1591 int res = 0;
1592 if (SWIG_AsVal_int(obj, &res)) {
1593 if (val) *val = res ? true : false;
1594 return 1;
1595 } else {
1596 PyErr_Clear();
1597 }
1598 if (val) {
1599 SWIG_type_error("bool", obj);
1600 }
1601 return 0;
1602 }
1603
1604
1605 SWIGINTERNSHORT bool
1606 SWIG_As_bool(PyObject* obj)
1607 {
1608 bool v;
1609 if (!SWIG_AsVal_bool(obj, &v)) {
1610 /*
1611 this is needed to make valgrind/purify happier.
1612 */
1613 memset((void*)&v, 0, sizeof(bool));
1614 }
1615 return v;
1616 }
1617
1618
1619 SWIGINTERNSHORT int
1620 SWIG_Check_bool(PyObject* obj)
1621 {
1622 return SWIG_AsVal_bool(obj, (bool*)0);
1623 }
1624
1625 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1626 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1627
1628 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1629 #define SWIG_From_long PyInt_FromLong
1630 /*@@*/
1631
1632
1633 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1634 PyObject* o2;
1635 PyObject* o3;
1636
1637 if (!target) {
1638 target = o;
1639 } else if (target == Py_None) {
1640 Py_DECREF(Py_None);
1641 target = o;
1642 } else {
1643 if (!PyTuple_Check(target)) {
1644 o2 = target;
1645 target = PyTuple_New(1);
1646 PyTuple_SetItem(target, 0, o2);
1647 }
1648 o3 = PyTuple_New(1);
1649 PyTuple_SetItem(o3, 0, o);
1650
1651 o2 = target;
1652 target = PySequence_Concat(o2, o3);
1653 Py_DECREF(o2);
1654 Py_DECREF(o3);
1655 }
1656 return target;
1657 }
1658
1659
1660 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1661 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1662 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1663 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1664
1665 #include <wx/checklst.h>
1666
1667
1668 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1669 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1670 if (clientData) {
1671 wxPyClientData* data = new wxPyClientData(clientData);
1672 self->Insert(item, pos, data);
1673 } else
1674 self->Insert(item, pos);
1675 }
1676 static PyObject *wxListBox_GetSelections(wxListBox *self){
1677 wxArrayInt lst;
1678 self->GetSelections(lst);
1679 PyObject *tup = PyTuple_New(lst.GetCount());
1680 for(size_t i=0; i<lst.GetCount(); i++) {
1681 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1682 }
1683 return tup;
1684 }
1685 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1686 #ifdef __WXMSW__
1687 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1688 self->GetItem(item)->SetTextColour(c);
1689 #endif
1690 }
1691 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1692 #ifdef __WXMSW__
1693 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1694 self->GetItem(item)->SetBackgroundColour(c);
1695 #endif
1696 }
1697 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1698 #ifdef __WXMSW__
1699 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1700 self->GetItem(item)->SetFont(f);
1701 #endif
1702 }
1703 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1704
1705 SWIGINTERN int
1706 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1707 {
1708 long v = 0;
1709 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1710 SWIG_type_error("unsigned number", obj);
1711 }
1712 else if (val)
1713 *val = (unsigned long)v;
1714 return 1;
1715 }
1716
1717
1718 SWIGINTERNSHORT unsigned long
1719 SWIG_As_unsigned_SS_long(PyObject* obj)
1720 {
1721 unsigned long v;
1722 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1723 /*
1724 this is needed to make valgrind/purify happier.
1725 */
1726 memset((void*)&v, 0, sizeof(unsigned long));
1727 }
1728 return v;
1729 }
1730
1731
1732 SWIGINTERNSHORT int
1733 SWIG_Check_unsigned_SS_long(PyObject* obj)
1734 {
1735 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1736 }
1737
1738 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1739 self->AppendText(text);
1740 }
1741 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
1742 return self->GetValue().Mid(from, to - from);
1743 }
1744 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1745 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1746 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1747 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1748 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1749 static int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
1750 static int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
1751 static int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
1752
1753 #include <wx/slider.h>
1754
1755
1756 static const wxString wxPySliderNameStr(wxSliderNameStr);
1757 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1758
1759 #if !wxUSE_TOGGLEBTN
1760 // implement dummy items for platforms that don't have this class
1761
1762 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1763
1764 class wxToggleButton : public wxControl
1765 {
1766 public:
1767 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1768 const wxPoint&, const wxSize&, long,
1769 const wxValidator&, const wxString&)
1770 { wxPyRaiseNotImplemented(); }
1771
1772 wxToggleButton()
1773 { wxPyRaiseNotImplemented(); }
1774 };
1775 #endif
1776
1777 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
1778
1779 SWIGINTERNSHORT PyObject*
1780 SWIG_From_unsigned_SS_long(unsigned long value)
1781 {
1782 return (value > LONG_MAX) ?
1783 PyLong_FromUnsignedLong(value)
1784 : PyInt_FromLong((long)(value));
1785 }
1786
1787 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1788 static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
1789 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1790 if (udata) {
1791 Py_INCREF(udata->m_obj);
1792 return udata->m_obj;
1793 } else {
1794 Py_INCREF(Py_None);
1795 return Py_None;
1796 }
1797 }
1798 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
1799 self->SetClientData(new wxPyUserData(clientData));
1800 }
1801 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){
1802 wxPyUserData* udata = NULL;
1803 if (clientData && clientData != Py_None)
1804 udata = new wxPyUserData(clientData);
1805 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1806 shortHelp, longHelp, udata);
1807 }
1808 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){
1809 wxPyUserData* udata = NULL;
1810 if (clientData && clientData != Py_None)
1811 udata = new wxPyUserData(clientData);
1812 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1813 shortHelp, longHelp, udata);
1814 }
1815 static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
1816 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1817 if (udata) {
1818 Py_INCREF(udata->m_obj);
1819 return udata->m_obj;
1820 } else {
1821 Py_INCREF(Py_None);
1822 return Py_None;
1823 }
1824 }
1825 static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
1826 self->SetToolClientData(id, new wxPyUserData(clientData));
1827 }
1828
1829 #include <wx/listctrl.h>
1830
1831 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
1832 static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
1833 // Python aware sorting function for wxPyListCtrl
1834 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1835 int retval = 0;
1836 PyObject* func = (PyObject*)funcPtr;
1837 bool blocked = wxPyBeginBlockThreads();
1838
1839 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1840 PyObject* result = PyEval_CallObject(func, args);
1841 Py_DECREF(args);
1842 if (result) {
1843 retval = PyInt_AsLong(result);
1844 Py_DECREF(result);
1845 }
1846
1847 wxPyEndBlockThreads(blocked);
1848 return retval;
1849 }
1850
1851 // C++ Version of a Python aware class
1852 class wxPyListCtrl : public wxListCtrl {
1853 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1854 public:
1855 wxPyListCtrl() : wxListCtrl() {}
1856 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1857 const wxPoint& pos,
1858 const wxSize& size,
1859 long style,
1860 const wxValidator& validator,
1861 const wxString& name) :
1862 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1863
1864 bool Create(wxWindow* parent, wxWindowID id,
1865 const wxPoint& pos,
1866 const wxSize& size,
1867 long style,
1868 const wxValidator& validator,
1869 const wxString& name) {
1870 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1871 }
1872
1873 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
1874 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1875
1876 // use the virtual version to avoid a confusing assert in the base class
1877 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1878
1879 PYPRIVATE;
1880 };
1881
1882 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1883
1884 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
1885 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
1886 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1887
1888
1889 static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
1890 wxListItem item;
1891 item.SetMask( wxLIST_MASK_STATE |
1892 wxLIST_MASK_TEXT |
1893 wxLIST_MASK_IMAGE |
1894 wxLIST_MASK_DATA |
1895 wxLIST_SET_ITEM |
1896 wxLIST_MASK_WIDTH |
1897 wxLIST_MASK_FORMAT
1898 );
1899 if (self->GetColumn(col, item))
1900 return new wxListItem(item);
1901 else
1902 return NULL;
1903 }
1904 static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
1905 wxListItem* info = new wxListItem;
1906 info->m_itemId = itemId;
1907 info->m_col = col;
1908 info->m_mask = 0xFFFF;
1909 self->GetItem(*info);
1910 return info;
1911 }
1912 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
1913 wxPoint pos;
1914 self->GetItemPosition(item, pos);
1915 return pos;
1916 }
1917 static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
1918 wxRect rect;
1919 self->GetItemRect(item, rect, code);
1920 return rect;
1921 }
1922
1923 static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
1924 if (!PyCallable_Check(func))
1925 return false;
1926 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1927 }
1928 static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
1929
1930
1931
1932 return (wxWindow*)self->m_mainWin;
1933
1934 }
1935
1936 #include <wx/treectrl.h>
1937 #include "wx/wxPython/pytree.h"
1938
1939 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1940 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1941 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1942 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
1943 // C++ version of Python aware wxTreeCtrl
1944 class wxPyTreeCtrl : public wxTreeCtrl {
1945 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1946 public:
1947 wxPyTreeCtrl() : wxTreeCtrl() {}
1948 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1949 const wxPoint& pos,
1950 const wxSize& size,
1951 long style,
1952 const wxValidator& validator,
1953 const wxString& name) :
1954 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1955
1956 bool Create(wxWindow *parent, wxWindowID id,
1957 const wxPoint& pos,
1958 const wxSize& size,
1959 long style,
1960 const wxValidator& validator,
1961 const wxString& name) {
1962 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1963 }
1964
1965
1966 int OnCompareItems(const wxTreeItemId& item1,
1967 const wxTreeItemId& item2) {
1968 int rval = 0;
1969 bool found;
1970 bool blocked = wxPyBeginBlockThreads();
1971 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1972 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1973 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
1974 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1975 Py_DECREF(o1);
1976 Py_DECREF(o2);
1977 }
1978 wxPyEndBlockThreads(blocked);
1979 if (! found)
1980 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1981 return rval;
1982 }
1983 PYPRIVATE;
1984 };
1985
1986 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1987
1988
1989
1990 #if UINT_MAX < LONG_MAX
1991 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1992 #define SWIG_From_unsigned_SS_int SWIG_From_long
1993 /*@@*/
1994 #else
1995 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1996 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1997 /*@@*/
1998 #endif
1999
2000
2001 SWIGINTERNSHORT int
2002 SWIG_CheckUnsignedLongInRange(unsigned long value,
2003 unsigned long max_value,
2004 const char *errmsg)
2005 {
2006 if (value > max_value) {
2007 if (errmsg) {
2008 PyErr_Format(PyExc_OverflowError,
2009 "value %lu is greater than '%s' minimum %lu",
2010 value, errmsg, max_value);
2011 }
2012 return 0;
2013 }
2014 return 1;
2015 }
2016
2017
2018 #if UINT_MAX != ULONG_MAX
2019 SWIGINTERN int
2020 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2021 {
2022 const char* errmsg = val ? "unsigned int" : (char*)0;
2023 unsigned long v;
2024 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2025 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2026 if (val) *val = (unsigned int)(v);
2027 return 1;
2028 }
2029 } else {
2030 PyErr_Clear();
2031 }
2032 if (val) {
2033 SWIG_type_error(errmsg, obj);
2034 }
2035 return 0;
2036 }
2037 #else
2038 SWIGINTERNSHORT unsigned int
2039 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2040 {
2041 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2042 }
2043 #endif
2044
2045
2046 SWIGINTERNSHORT unsigned int
2047 SWIG_As_unsigned_SS_int(PyObject* obj)
2048 {
2049 unsigned int v;
2050 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2051 /*
2052 this is needed to make valgrind/purify happier.
2053 */
2054 memset((void*)&v, 0, sizeof(unsigned int));
2055 }
2056 return v;
2057 }
2058
2059
2060 SWIGINTERNSHORT int
2061 SWIG_Check_unsigned_SS_int(PyObject* obj)
2062 {
2063 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2064 }
2065
2066 static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2067 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2068 if (data == NULL) {
2069 data = new wxPyTreeItemData();
2070 data->SetId(item); // set the id
2071 self->SetItemData(item, data);
2072 }
2073 return data;
2074 }
2075 static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2076 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2077 if (data == NULL) {
2078 data = new wxPyTreeItemData();
2079 data->SetId(item); // set the id
2080 self->SetItemData(item, data);
2081 }
2082 return data->GetData();
2083 }
2084 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2085 data->SetId(item); // set the id
2086 self->SetItemData(item, data);
2087 }
2088 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
2089 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2090 if (data == NULL) {
2091 data = new wxPyTreeItemData(obj);
2092 data->SetId(item); // set the id
2093 self->SetItemData(item, data);
2094 } else
2095 data->SetData(obj);
2096 }
2097 static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2098 bool blocked = wxPyBeginBlockThreads();
2099 PyObject* rval = PyList_New(0);
2100 wxArrayTreeItemIds array;
2101 size_t num, x;
2102 num = self->GetSelections(array);
2103 for (x=0; x < num; x++) {
2104 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2105 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2106 PyList_Append(rval, item);
2107 Py_DECREF(item);
2108 }
2109 wxPyEndBlockThreads(blocked);
2110 return rval;
2111 }
2112 static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2113 void* cookie = 0;
2114 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2115 bool blocked = wxPyBeginBlockThreads();
2116 PyObject* tup = PyTuple_New(2);
2117 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2118 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2119 wxPyEndBlockThreads(blocked);
2120 return tup;
2121 }
2122 static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2123 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2124 bool blocked = wxPyBeginBlockThreads();
2125 PyObject* tup = PyTuple_New(2);
2126 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2127 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2128 wxPyEndBlockThreads(blocked);
2129 return tup;
2130 }
2131 static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2132 wxRect rect;
2133 if (self->GetBoundingRect(item, rect, textOnly)) {
2134 bool blocked = wxPyBeginBlockThreads();
2135 wxRect* r = new wxRect(rect);
2136 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2137 wxPyEndBlockThreads(blocked);
2138 return val;
2139 }
2140 else
2141 RETURN_NONE();
2142 }
2143 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2144
2145 SWIGINTERNSHORT PyObject*
2146 SWIG_From_bool(bool value)
2147 {
2148 PyObject *obj = value ? Py_True : Py_False;
2149 Py_INCREF(obj);
2150 return obj;
2151 }
2152
2153
2154 // C++ version of Python aware wxControl
2155 class wxPyControl : public wxControl
2156 {
2157 DECLARE_DYNAMIC_CLASS(wxPyControl)
2158 public:
2159 wxPyControl() : wxControl() {}
2160 wxPyControl(wxWindow* parent, const wxWindowID id,
2161 const wxPoint& pos = wxDefaultPosition,
2162 const wxSize& size = wxDefaultSize,
2163 long style = 0,
2164 const wxValidator& validator=wxDefaultValidator,
2165 const wxString& name = wxPyControlNameStr)
2166 : wxControl(parent, id, pos, size, style, validator, name) {}
2167
2168 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2169
2170 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2171 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2172 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2173 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2174
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2176 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2177 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2178
2179 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2180 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2181
2182 DEC_PYCALLBACK__(InitDialog);
2183 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2184 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2185 DEC_PYCALLBACK_BOOL_(Validate);
2186
2187 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2188 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2189 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2190
2191 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2192 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2193
2194 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2195 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2196 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2197
2198 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2199
2200 PYPRIVATE;
2201 };
2202
2203 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2204
2205 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2206 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2207 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2208 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2209
2210 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2211 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2212 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2213
2214 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2215 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2216
2217 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2218 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2219 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2220 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2221
2222 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2223 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2224 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2225
2226 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2227 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2228
2229 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2230 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
2231 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2232
2233 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2234
2235
2236
2237 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2238
2239 #include <wx/generic/dragimgg.h>
2240
2241 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2242 static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2243 wxDateTime rv;
2244 self->GetRange(&rv, NULL);
2245 return rv;
2246 }
2247 static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2248 wxDateTime rv;
2249 self->GetRange(NULL, &rv);
2250 return rv;
2251 }
2252 #ifdef __cplusplus
2253 extern "C" {
2254 #endif
2255 static int _wrap_ButtonNameStr_set(PyObject *) {
2256 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2257 return 1;
2258 }
2259
2260
2261 static PyObject *_wrap_ButtonNameStr_get(void) {
2262 PyObject *pyobj;
2263
2264 {
2265 #if wxUSE_UNICODE
2266 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2267 #else
2268 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2269 #endif
2270 }
2271 return pyobj;
2272 }
2273
2274
2275 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2276 PyObject *resultobj;
2277 wxWindow *arg1 = (wxWindow *) 0 ;
2278 int arg2 = (int) -1 ;
2279 wxString const &arg3_defvalue = wxPyEmptyString ;
2280 wxString *arg3 = (wxString *) &arg3_defvalue ;
2281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2283 wxSize const &arg5_defvalue = wxDefaultSize ;
2284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2285 long arg6 = (long) 0 ;
2286 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2287 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2288 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2289 wxString *arg8 = (wxString *) &arg8_defvalue ;
2290 wxButton *result;
2291 bool temp3 = false ;
2292 wxPoint temp4 ;
2293 wxSize temp5 ;
2294 bool temp8 = false ;
2295 PyObject * obj0 = 0 ;
2296 PyObject * obj1 = 0 ;
2297 PyObject * obj2 = 0 ;
2298 PyObject * obj3 = 0 ;
2299 PyObject * obj4 = 0 ;
2300 PyObject * obj5 = 0 ;
2301 PyObject * obj6 = 0 ;
2302 PyObject * obj7 = 0 ;
2303 char *kwnames[] = {
2304 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2305 };
2306
2307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2309 if (SWIG_arg_fail(1)) SWIG_fail;
2310 if (obj1) {
2311 {
2312 arg2 = (int)(SWIG_As_int(obj1));
2313 if (SWIG_arg_fail(2)) SWIG_fail;
2314 }
2315 }
2316 if (obj2) {
2317 {
2318 arg3 = wxString_in_helper(obj2);
2319 if (arg3 == NULL) SWIG_fail;
2320 temp3 = true;
2321 }
2322 }
2323 if (obj3) {
2324 {
2325 arg4 = &temp4;
2326 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2327 }
2328 }
2329 if (obj4) {
2330 {
2331 arg5 = &temp5;
2332 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2333 }
2334 }
2335 if (obj5) {
2336 {
2337 arg6 = (long)(SWIG_As_long(obj5));
2338 if (SWIG_arg_fail(6)) SWIG_fail;
2339 }
2340 }
2341 if (obj6) {
2342 {
2343 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2344 if (SWIG_arg_fail(7)) SWIG_fail;
2345 if (arg7 == NULL) {
2346 SWIG_null_ref("wxValidator");
2347 }
2348 if (SWIG_arg_fail(7)) SWIG_fail;
2349 }
2350 }
2351 if (obj7) {
2352 {
2353 arg8 = wxString_in_helper(obj7);
2354 if (arg8 == NULL) SWIG_fail;
2355 temp8 = true;
2356 }
2357 }
2358 {
2359 if (!wxPyCheckForApp()) SWIG_fail;
2360 PyThreadState* __tstate = wxPyBeginAllowThreads();
2361 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2362
2363 wxPyEndAllowThreads(__tstate);
2364 if (PyErr_Occurred()) SWIG_fail;
2365 }
2366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2367 {
2368 if (temp3)
2369 delete arg3;
2370 }
2371 {
2372 if (temp8)
2373 delete arg8;
2374 }
2375 return resultobj;
2376 fail:
2377 {
2378 if (temp3)
2379 delete arg3;
2380 }
2381 {
2382 if (temp8)
2383 delete arg8;
2384 }
2385 return NULL;
2386 }
2387
2388
2389 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2390 PyObject *resultobj;
2391 wxButton *result;
2392 char *kwnames[] = {
2393 NULL
2394 };
2395
2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2397 {
2398 if (!wxPyCheckForApp()) SWIG_fail;
2399 PyThreadState* __tstate = wxPyBeginAllowThreads();
2400 result = (wxButton *)new wxButton();
2401
2402 wxPyEndAllowThreads(__tstate);
2403 if (PyErr_Occurred()) SWIG_fail;
2404 }
2405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2406 return resultobj;
2407 fail:
2408 return NULL;
2409 }
2410
2411
2412 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2413 PyObject *resultobj;
2414 wxButton *arg1 = (wxButton *) 0 ;
2415 wxWindow *arg2 = (wxWindow *) 0 ;
2416 int arg3 = (int) -1 ;
2417 wxString const &arg4_defvalue = wxPyEmptyString ;
2418 wxString *arg4 = (wxString *) &arg4_defvalue ;
2419 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2420 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2421 wxSize const &arg6_defvalue = wxDefaultSize ;
2422 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2423 long arg7 = (long) 0 ;
2424 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2425 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2426 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2427 wxString *arg9 = (wxString *) &arg9_defvalue ;
2428 bool result;
2429 bool temp4 = false ;
2430 wxPoint temp5 ;
2431 wxSize temp6 ;
2432 bool temp9 = false ;
2433 PyObject * obj0 = 0 ;
2434 PyObject * obj1 = 0 ;
2435 PyObject * obj2 = 0 ;
2436 PyObject * obj3 = 0 ;
2437 PyObject * obj4 = 0 ;
2438 PyObject * obj5 = 0 ;
2439 PyObject * obj6 = 0 ;
2440 PyObject * obj7 = 0 ;
2441 PyObject * obj8 = 0 ;
2442 char *kwnames[] = {
2443 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2444 };
2445
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2448 if (SWIG_arg_fail(1)) SWIG_fail;
2449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2450 if (SWIG_arg_fail(2)) SWIG_fail;
2451 if (obj2) {
2452 {
2453 arg3 = (int)(SWIG_As_int(obj2));
2454 if (SWIG_arg_fail(3)) SWIG_fail;
2455 }
2456 }
2457 if (obj3) {
2458 {
2459 arg4 = wxString_in_helper(obj3);
2460 if (arg4 == NULL) SWIG_fail;
2461 temp4 = true;
2462 }
2463 }
2464 if (obj4) {
2465 {
2466 arg5 = &temp5;
2467 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2468 }
2469 }
2470 if (obj5) {
2471 {
2472 arg6 = &temp6;
2473 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2474 }
2475 }
2476 if (obj6) {
2477 {
2478 arg7 = (long)(SWIG_As_long(obj6));
2479 if (SWIG_arg_fail(7)) SWIG_fail;
2480 }
2481 }
2482 if (obj7) {
2483 {
2484 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2485 if (SWIG_arg_fail(8)) SWIG_fail;
2486 if (arg8 == NULL) {
2487 SWIG_null_ref("wxValidator");
2488 }
2489 if (SWIG_arg_fail(8)) SWIG_fail;
2490 }
2491 }
2492 if (obj8) {
2493 {
2494 arg9 = wxString_in_helper(obj8);
2495 if (arg9 == NULL) SWIG_fail;
2496 temp9 = true;
2497 }
2498 }
2499 {
2500 PyThreadState* __tstate = wxPyBeginAllowThreads();
2501 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2502
2503 wxPyEndAllowThreads(__tstate);
2504 if (PyErr_Occurred()) SWIG_fail;
2505 }
2506 {
2507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2508 }
2509 {
2510 if (temp4)
2511 delete arg4;
2512 }
2513 {
2514 if (temp9)
2515 delete arg9;
2516 }
2517 return resultobj;
2518 fail:
2519 {
2520 if (temp4)
2521 delete arg4;
2522 }
2523 {
2524 if (temp9)
2525 delete arg9;
2526 }
2527 return NULL;
2528 }
2529
2530
2531 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2532 PyObject *resultobj;
2533 wxButton *arg1 = (wxButton *) 0 ;
2534 PyObject * obj0 = 0 ;
2535 char *kwnames[] = {
2536 (char *) "self", NULL
2537 };
2538
2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2541 if (SWIG_arg_fail(1)) SWIG_fail;
2542 {
2543 PyThreadState* __tstate = wxPyBeginAllowThreads();
2544 (arg1)->SetDefault();
2545
2546 wxPyEndAllowThreads(__tstate);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 }
2549 Py_INCREF(Py_None); resultobj = Py_None;
2550 return resultobj;
2551 fail:
2552 return NULL;
2553 }
2554
2555
2556 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 wxSize result;
2559 char *kwnames[] = {
2560 NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2564 {
2565 PyThreadState* __tstate = wxPyBeginAllowThreads();
2566 result = wxButton::GetDefaultSize();
2567
2568 wxPyEndAllowThreads(__tstate);
2569 if (PyErr_Occurred()) SWIG_fail;
2570 }
2571 {
2572 wxSize * resultptr;
2573 resultptr = new wxSize((wxSize &)(result));
2574 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2575 }
2576 return resultobj;
2577 fail:
2578 return NULL;
2579 }
2580
2581
2582 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2583 PyObject *resultobj;
2584 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2585 wxVisualAttributes result;
2586 PyObject * obj0 = 0 ;
2587 char *kwnames[] = {
2588 (char *) "variant", NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2592 if (obj0) {
2593 {
2594 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2595 if (SWIG_arg_fail(1)) SWIG_fail;
2596 }
2597 }
2598 {
2599 if (!wxPyCheckForApp()) SWIG_fail;
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 {
2607 wxVisualAttributes * resultptr;
2608 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2610 }
2611 return resultobj;
2612 fail:
2613 return NULL;
2614 }
2615
2616
2617 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2618 PyObject *obj;
2619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2620 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2621 Py_INCREF(obj);
2622 return Py_BuildValue((char *)"");
2623 }
2624 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2625 PyObject *resultobj;
2626 wxWindow *arg1 = (wxWindow *) 0 ;
2627 int arg2 = (int) -1 ;
2628 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2629 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2632 wxSize const &arg5_defvalue = wxDefaultSize ;
2633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2634 long arg6 = (long) wxBU_AUTODRAW ;
2635 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2636 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2637 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2638 wxString *arg8 = (wxString *) &arg8_defvalue ;
2639 wxBitmapButton *result;
2640 wxPoint temp4 ;
2641 wxSize temp5 ;
2642 bool temp8 = false ;
2643 PyObject * obj0 = 0 ;
2644 PyObject * obj1 = 0 ;
2645 PyObject * obj2 = 0 ;
2646 PyObject * obj3 = 0 ;
2647 PyObject * obj4 = 0 ;
2648 PyObject * obj5 = 0 ;
2649 PyObject * obj6 = 0 ;
2650 PyObject * obj7 = 0 ;
2651 char *kwnames[] = {
2652 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2653 };
2654
2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2657 if (SWIG_arg_fail(1)) SWIG_fail;
2658 if (obj1) {
2659 {
2660 arg2 = (int)(SWIG_As_int(obj1));
2661 if (SWIG_arg_fail(2)) SWIG_fail;
2662 }
2663 }
2664 if (obj2) {
2665 {
2666 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2667 if (SWIG_arg_fail(3)) SWIG_fail;
2668 if (arg3 == NULL) {
2669 SWIG_null_ref("wxBitmap");
2670 }
2671 if (SWIG_arg_fail(3)) SWIG_fail;
2672 }
2673 }
2674 if (obj3) {
2675 {
2676 arg4 = &temp4;
2677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2678 }
2679 }
2680 if (obj4) {
2681 {
2682 arg5 = &temp5;
2683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2684 }
2685 }
2686 if (obj5) {
2687 {
2688 arg6 = (long)(SWIG_As_long(obj5));
2689 if (SWIG_arg_fail(6)) SWIG_fail;
2690 }
2691 }
2692 if (obj6) {
2693 {
2694 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2695 if (SWIG_arg_fail(7)) SWIG_fail;
2696 if (arg7 == NULL) {
2697 SWIG_null_ref("wxValidator");
2698 }
2699 if (SWIG_arg_fail(7)) SWIG_fail;
2700 }
2701 }
2702 if (obj7) {
2703 {
2704 arg8 = wxString_in_helper(obj7);
2705 if (arg8 == NULL) SWIG_fail;
2706 temp8 = true;
2707 }
2708 }
2709 {
2710 if (!wxPyCheckForApp()) SWIG_fail;
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2718 {
2719 if (temp8)
2720 delete arg8;
2721 }
2722 return resultobj;
2723 fail:
2724 {
2725 if (temp8)
2726 delete arg8;
2727 }
2728 return NULL;
2729 }
2730
2731
2732 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2733 PyObject *resultobj;
2734 wxBitmapButton *result;
2735 char *kwnames[] = {
2736 NULL
2737 };
2738
2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2740 {
2741 if (!wxPyCheckForApp()) SWIG_fail;
2742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2743 result = (wxBitmapButton *)new wxBitmapButton();
2744
2745 wxPyEndAllowThreads(__tstate);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 }
2748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2749 return resultobj;
2750 fail:
2751 return NULL;
2752 }
2753
2754
2755 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2756 PyObject *resultobj;
2757 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2758 wxWindow *arg2 = (wxWindow *) 0 ;
2759 int arg3 = (int) -1 ;
2760 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2761 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2762 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2763 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2764 wxSize const &arg6_defvalue = wxDefaultSize ;
2765 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2766 long arg7 = (long) wxBU_AUTODRAW ;
2767 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2768 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2769 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2770 wxString *arg9 = (wxString *) &arg9_defvalue ;
2771 bool result;
2772 wxPoint temp5 ;
2773 wxSize temp6 ;
2774 bool temp9 = false ;
2775 PyObject * obj0 = 0 ;
2776 PyObject * obj1 = 0 ;
2777 PyObject * obj2 = 0 ;
2778 PyObject * obj3 = 0 ;
2779 PyObject * obj4 = 0 ;
2780 PyObject * obj5 = 0 ;
2781 PyObject * obj6 = 0 ;
2782 PyObject * obj7 = 0 ;
2783 PyObject * obj8 = 0 ;
2784 char *kwnames[] = {
2785 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2786 };
2787
2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2790 if (SWIG_arg_fail(1)) SWIG_fail;
2791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2792 if (SWIG_arg_fail(2)) SWIG_fail;
2793 if (obj2) {
2794 {
2795 arg3 = (int)(SWIG_As_int(obj2));
2796 if (SWIG_arg_fail(3)) SWIG_fail;
2797 }
2798 }
2799 if (obj3) {
2800 {
2801 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2802 if (SWIG_arg_fail(4)) SWIG_fail;
2803 if (arg4 == NULL) {
2804 SWIG_null_ref("wxBitmap");
2805 }
2806 if (SWIG_arg_fail(4)) SWIG_fail;
2807 }
2808 }
2809 if (obj4) {
2810 {
2811 arg5 = &temp5;
2812 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2813 }
2814 }
2815 if (obj5) {
2816 {
2817 arg6 = &temp6;
2818 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2819 }
2820 }
2821 if (obj6) {
2822 {
2823 arg7 = (long)(SWIG_As_long(obj6));
2824 if (SWIG_arg_fail(7)) SWIG_fail;
2825 }
2826 }
2827 if (obj7) {
2828 {
2829 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2830 if (SWIG_arg_fail(8)) SWIG_fail;
2831 if (arg8 == NULL) {
2832 SWIG_null_ref("wxValidator");
2833 }
2834 if (SWIG_arg_fail(8)) SWIG_fail;
2835 }
2836 }
2837 if (obj8) {
2838 {
2839 arg9 = wxString_in_helper(obj8);
2840 if (arg9 == NULL) SWIG_fail;
2841 temp9 = true;
2842 }
2843 }
2844 {
2845 PyThreadState* __tstate = wxPyBeginAllowThreads();
2846 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2847
2848 wxPyEndAllowThreads(__tstate);
2849 if (PyErr_Occurred()) SWIG_fail;
2850 }
2851 {
2852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2853 }
2854 {
2855 if (temp9)
2856 delete arg9;
2857 }
2858 return resultobj;
2859 fail:
2860 {
2861 if (temp9)
2862 delete arg9;
2863 }
2864 return NULL;
2865 }
2866
2867
2868 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2869 PyObject *resultobj;
2870 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2871 wxBitmap result;
2872 PyObject * obj0 = 0 ;
2873 char *kwnames[] = {
2874 (char *) "self", NULL
2875 };
2876
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
2878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2879 if (SWIG_arg_fail(1)) SWIG_fail;
2880 {
2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
2882 result = (arg1)->GetBitmapLabel();
2883
2884 wxPyEndAllowThreads(__tstate);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 }
2887 {
2888 wxBitmap * resultptr;
2889 resultptr = new wxBitmap((wxBitmap &)(result));
2890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2891 }
2892 return resultobj;
2893 fail:
2894 return NULL;
2895 }
2896
2897
2898 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2901 wxBitmap result;
2902 PyObject * obj0 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
2908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2909 if (SWIG_arg_fail(1)) SWIG_fail;
2910 {
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 result = (arg1)->GetBitmapDisabled();
2913
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
2917 {
2918 wxBitmap * resultptr;
2919 resultptr = new wxBitmap((wxBitmap &)(result));
2920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2921 }
2922 return resultobj;
2923 fail:
2924 return NULL;
2925 }
2926
2927
2928 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2929 PyObject *resultobj;
2930 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2931 wxBitmap result;
2932 PyObject * obj0 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "self", NULL
2935 };
2936
2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
2938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2939 if (SWIG_arg_fail(1)) SWIG_fail;
2940 {
2941 PyThreadState* __tstate = wxPyBeginAllowThreads();
2942 result = (arg1)->GetBitmapFocus();
2943
2944 wxPyEndAllowThreads(__tstate);
2945 if (PyErr_Occurred()) SWIG_fail;
2946 }
2947 {
2948 wxBitmap * resultptr;
2949 resultptr = new wxBitmap((wxBitmap &)(result));
2950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2951 }
2952 return resultobj;
2953 fail:
2954 return NULL;
2955 }
2956
2957
2958 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
2959 PyObject *resultobj;
2960 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2961 wxBitmap result;
2962 PyObject * obj0 = 0 ;
2963 char *kwnames[] = {
2964 (char *) "self", NULL
2965 };
2966
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
2968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2969 if (SWIG_arg_fail(1)) SWIG_fail;
2970 {
2971 PyThreadState* __tstate = wxPyBeginAllowThreads();
2972 result = (arg1)->GetBitmapSelected();
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 {
2978 wxBitmap * resultptr;
2979 resultptr = new wxBitmap((wxBitmap &)(result));
2980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2981 }
2982 return resultobj;
2983 fail:
2984 return NULL;
2985 }
2986
2987
2988 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2989 PyObject *resultobj;
2990 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2991 wxBitmap *arg2 = 0 ;
2992 PyObject * obj0 = 0 ;
2993 PyObject * obj1 = 0 ;
2994 char *kwnames[] = {
2995 (char *) "self",(char *) "bitmap", NULL
2996 };
2997
2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
2999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3000 if (SWIG_arg_fail(1)) SWIG_fail;
3001 {
3002 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3003 if (SWIG_arg_fail(2)) SWIG_fail;
3004 if (arg2 == NULL) {
3005 SWIG_null_ref("wxBitmap");
3006 }
3007 if (SWIG_arg_fail(2)) SWIG_fail;
3008 }
3009 {
3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
3011 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3012
3013 wxPyEndAllowThreads(__tstate);
3014 if (PyErr_Occurred()) SWIG_fail;
3015 }
3016 Py_INCREF(Py_None); resultobj = Py_None;
3017 return resultobj;
3018 fail:
3019 return NULL;
3020 }
3021
3022
3023 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3024 PyObject *resultobj;
3025 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3026 wxBitmap *arg2 = 0 ;
3027 PyObject * obj0 = 0 ;
3028 PyObject * obj1 = 0 ;
3029 char *kwnames[] = {
3030 (char *) "self",(char *) "bitmap", NULL
3031 };
3032
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3035 if (SWIG_arg_fail(1)) SWIG_fail;
3036 {
3037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3038 if (SWIG_arg_fail(2)) SWIG_fail;
3039 if (arg2 == NULL) {
3040 SWIG_null_ref("wxBitmap");
3041 }
3042 if (SWIG_arg_fail(2)) SWIG_fail;
3043 }
3044 {
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3047
3048 wxPyEndAllowThreads(__tstate);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
3051 Py_INCREF(Py_None); resultobj = Py_None;
3052 return resultobj;
3053 fail:
3054 return NULL;
3055 }
3056
3057
3058 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3059 PyObject *resultobj;
3060 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3061 wxBitmap *arg2 = 0 ;
3062 PyObject * obj0 = 0 ;
3063 PyObject * obj1 = 0 ;
3064 char *kwnames[] = {
3065 (char *) "self",(char *) "bitmap", NULL
3066 };
3067
3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3070 if (SWIG_arg_fail(1)) SWIG_fail;
3071 {
3072 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3073 if (SWIG_arg_fail(2)) SWIG_fail;
3074 if (arg2 == NULL) {
3075 SWIG_null_ref("wxBitmap");
3076 }
3077 if (SWIG_arg_fail(2)) SWIG_fail;
3078 }
3079 {
3080 PyThreadState* __tstate = wxPyBeginAllowThreads();
3081 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3082
3083 wxPyEndAllowThreads(__tstate);
3084 if (PyErr_Occurred()) SWIG_fail;
3085 }
3086 Py_INCREF(Py_None); resultobj = Py_None;
3087 return resultobj;
3088 fail:
3089 return NULL;
3090 }
3091
3092
3093 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3094 PyObject *resultobj;
3095 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3096 wxBitmap *arg2 = 0 ;
3097 PyObject * obj0 = 0 ;
3098 PyObject * obj1 = 0 ;
3099 char *kwnames[] = {
3100 (char *) "self",(char *) "bitmap", NULL
3101 };
3102
3103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3105 if (SWIG_arg_fail(1)) SWIG_fail;
3106 {
3107 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3108 if (SWIG_arg_fail(2)) SWIG_fail;
3109 if (arg2 == NULL) {
3110 SWIG_null_ref("wxBitmap");
3111 }
3112 if (SWIG_arg_fail(2)) SWIG_fail;
3113 }
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 Py_INCREF(Py_None); resultobj = Py_None;
3122 return resultobj;
3123 fail:
3124 return NULL;
3125 }
3126
3127
3128 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3129 PyObject *resultobj;
3130 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3131 int arg2 ;
3132 int arg3 ;
3133 PyObject * obj0 = 0 ;
3134 PyObject * obj1 = 0 ;
3135 PyObject * obj2 = 0 ;
3136 char *kwnames[] = {
3137 (char *) "self",(char *) "x",(char *) "y", NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3142 if (SWIG_arg_fail(1)) SWIG_fail;
3143 {
3144 arg2 = (int)(SWIG_As_int(obj1));
3145 if (SWIG_arg_fail(2)) SWIG_fail;
3146 }
3147 {
3148 arg3 = (int)(SWIG_As_int(obj2));
3149 if (SWIG_arg_fail(3)) SWIG_fail;
3150 }
3151 {
3152 PyThreadState* __tstate = wxPyBeginAllowThreads();
3153 (arg1)->SetMargins(arg2,arg3);
3154
3155 wxPyEndAllowThreads(__tstate);
3156 if (PyErr_Occurred()) SWIG_fail;
3157 }
3158 Py_INCREF(Py_None); resultobj = Py_None;
3159 return resultobj;
3160 fail:
3161 return NULL;
3162 }
3163
3164
3165 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj;
3167 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3168 int result;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "self", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3176 if (SWIG_arg_fail(1)) SWIG_fail;
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 {
3185 resultobj = SWIG_From_int((int)(result));
3186 }
3187 return resultobj;
3188 fail:
3189 return NULL;
3190 }
3191
3192
3193 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3194 PyObject *resultobj;
3195 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3196 int result;
3197 PyObject * obj0 = 0 ;
3198 char *kwnames[] = {
3199 (char *) "self", NULL
3200 };
3201
3202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3204 if (SWIG_arg_fail(1)) SWIG_fail;
3205 {
3206 PyThreadState* __tstate = wxPyBeginAllowThreads();
3207 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3208
3209 wxPyEndAllowThreads(__tstate);
3210 if (PyErr_Occurred()) SWIG_fail;
3211 }
3212 {
3213 resultobj = SWIG_From_int((int)(result));
3214 }
3215 return resultobj;
3216 fail:
3217 return NULL;
3218 }
3219
3220
3221 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3222 PyObject *obj;
3223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3224 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3225 Py_INCREF(obj);
3226 return Py_BuildValue((char *)"");
3227 }
3228 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3229 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3230 return 1;
3231 }
3232
3233
3234 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3235 PyObject *pyobj;
3236
3237 {
3238 #if wxUSE_UNICODE
3239 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3240 #else
3241 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3242 #endif
3243 }
3244 return pyobj;
3245 }
3246
3247
3248 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3249 PyObject *resultobj;
3250 wxWindow *arg1 = (wxWindow *) 0 ;
3251 int arg2 = (int) -1 ;
3252 wxString const &arg3_defvalue = wxPyEmptyString ;
3253 wxString *arg3 = (wxString *) &arg3_defvalue ;
3254 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3255 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3256 wxSize const &arg5_defvalue = wxDefaultSize ;
3257 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3258 long arg6 = (long) 0 ;
3259 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3260 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3261 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3262 wxString *arg8 = (wxString *) &arg8_defvalue ;
3263 wxCheckBox *result;
3264 bool temp3 = false ;
3265 wxPoint temp4 ;
3266 wxSize temp5 ;
3267 bool temp8 = false ;
3268 PyObject * obj0 = 0 ;
3269 PyObject * obj1 = 0 ;
3270 PyObject * obj2 = 0 ;
3271 PyObject * obj3 = 0 ;
3272 PyObject * obj4 = 0 ;
3273 PyObject * obj5 = 0 ;
3274 PyObject * obj6 = 0 ;
3275 PyObject * obj7 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail;
3283 if (obj1) {
3284 {
3285 arg2 = (int)(SWIG_As_int(obj1));
3286 if (SWIG_arg_fail(2)) SWIG_fail;
3287 }
3288 }
3289 if (obj2) {
3290 {
3291 arg3 = wxString_in_helper(obj2);
3292 if (arg3 == NULL) SWIG_fail;
3293 temp3 = true;
3294 }
3295 }
3296 if (obj3) {
3297 {
3298 arg4 = &temp4;
3299 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3300 }
3301 }
3302 if (obj4) {
3303 {
3304 arg5 = &temp5;
3305 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3306 }
3307 }
3308 if (obj5) {
3309 {
3310 arg6 = (long)(SWIG_As_long(obj5));
3311 if (SWIG_arg_fail(6)) SWIG_fail;
3312 }
3313 }
3314 if (obj6) {
3315 {
3316 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3317 if (SWIG_arg_fail(7)) SWIG_fail;
3318 if (arg7 == NULL) {
3319 SWIG_null_ref("wxValidator");
3320 }
3321 if (SWIG_arg_fail(7)) SWIG_fail;
3322 }
3323 }
3324 if (obj7) {
3325 {
3326 arg8 = wxString_in_helper(obj7);
3327 if (arg8 == NULL) SWIG_fail;
3328 temp8 = true;
3329 }
3330 }
3331 {
3332 if (!wxPyCheckForApp()) SWIG_fail;
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3340 {
3341 if (temp3)
3342 delete arg3;
3343 }
3344 {
3345 if (temp8)
3346 delete arg8;
3347 }
3348 return resultobj;
3349 fail:
3350 {
3351 if (temp3)
3352 delete arg3;
3353 }
3354 {
3355 if (temp8)
3356 delete arg8;
3357 }
3358 return NULL;
3359 }
3360
3361
3362 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3363 PyObject *resultobj;
3364 wxCheckBox *result;
3365 char *kwnames[] = {
3366 NULL
3367 };
3368
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3370 {
3371 if (!wxPyCheckForApp()) SWIG_fail;
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 result = (wxCheckBox *)new wxCheckBox();
3374
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3379 return resultobj;
3380 fail:
3381 return NULL;
3382 }
3383
3384
3385 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3386 PyObject *resultobj;
3387 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3388 wxWindow *arg2 = (wxWindow *) 0 ;
3389 int arg3 = (int) -1 ;
3390 wxString const &arg4_defvalue = wxPyEmptyString ;
3391 wxString *arg4 = (wxString *) &arg4_defvalue ;
3392 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3393 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3394 wxSize const &arg6_defvalue = wxDefaultSize ;
3395 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3396 long arg7 = (long) 0 ;
3397 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3398 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3399 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3400 wxString *arg9 = (wxString *) &arg9_defvalue ;
3401 bool result;
3402 bool temp4 = false ;
3403 wxPoint temp5 ;
3404 wxSize temp6 ;
3405 bool temp9 = false ;
3406 PyObject * obj0 = 0 ;
3407 PyObject * obj1 = 0 ;
3408 PyObject * obj2 = 0 ;
3409 PyObject * obj3 = 0 ;
3410 PyObject * obj4 = 0 ;
3411 PyObject * obj5 = 0 ;
3412 PyObject * obj6 = 0 ;
3413 PyObject * obj7 = 0 ;
3414 PyObject * obj8 = 0 ;
3415 char *kwnames[] = {
3416 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3417 };
3418
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3421 if (SWIG_arg_fail(1)) SWIG_fail;
3422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3423 if (SWIG_arg_fail(2)) SWIG_fail;
3424 if (obj2) {
3425 {
3426 arg3 = (int)(SWIG_As_int(obj2));
3427 if (SWIG_arg_fail(3)) SWIG_fail;
3428 }
3429 }
3430 if (obj3) {
3431 {
3432 arg4 = wxString_in_helper(obj3);
3433 if (arg4 == NULL) SWIG_fail;
3434 temp4 = true;
3435 }
3436 }
3437 if (obj4) {
3438 {
3439 arg5 = &temp5;
3440 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3441 }
3442 }
3443 if (obj5) {
3444 {
3445 arg6 = &temp6;
3446 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3447 }
3448 }
3449 if (obj6) {
3450 {
3451 arg7 = (long)(SWIG_As_long(obj6));
3452 if (SWIG_arg_fail(7)) SWIG_fail;
3453 }
3454 }
3455 if (obj7) {
3456 {
3457 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3458 if (SWIG_arg_fail(8)) SWIG_fail;
3459 if (arg8 == NULL) {
3460 SWIG_null_ref("wxValidator");
3461 }
3462 if (SWIG_arg_fail(8)) SWIG_fail;
3463 }
3464 }
3465 if (obj8) {
3466 {
3467 arg9 = wxString_in_helper(obj8);
3468 if (arg9 == NULL) SWIG_fail;
3469 temp9 = true;
3470 }
3471 }
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 {
3480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3481 }
3482 {
3483 if (temp4)
3484 delete arg4;
3485 }
3486 {
3487 if (temp9)
3488 delete arg9;
3489 }
3490 return resultobj;
3491 fail:
3492 {
3493 if (temp4)
3494 delete arg4;
3495 }
3496 {
3497 if (temp9)
3498 delete arg9;
3499 }
3500 return NULL;
3501 }
3502
3503
3504 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3505 PyObject *resultobj;
3506 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3507 bool result;
3508 PyObject * obj0 = 0 ;
3509 char *kwnames[] = {
3510 (char *) "self", NULL
3511 };
3512
3513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3515 if (SWIG_arg_fail(1)) SWIG_fail;
3516 {
3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3518 result = (bool)(arg1)->GetValue();
3519
3520 wxPyEndAllowThreads(__tstate);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 }
3523 {
3524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3525 }
3526 return resultobj;
3527 fail:
3528 return NULL;
3529 }
3530
3531
3532 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3535 bool result;
3536 PyObject * obj0 = 0 ;
3537 char *kwnames[] = {
3538 (char *) "self", NULL
3539 };
3540
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3543 if (SWIG_arg_fail(1)) SWIG_fail;
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 result = (bool)(arg1)->IsChecked();
3547
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 {
3552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3553 }
3554 return resultobj;
3555 fail:
3556 return NULL;
3557 }
3558
3559
3560 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3561 PyObject *resultobj;
3562 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3563 bool arg2 ;
3564 PyObject * obj0 = 0 ;
3565 PyObject * obj1 = 0 ;
3566 char *kwnames[] = {
3567 (char *) "self",(char *) "state", NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3572 if (SWIG_arg_fail(1)) SWIG_fail;
3573 {
3574 arg2 = (bool const)(SWIG_As_bool(obj1));
3575 if (SWIG_arg_fail(2)) SWIG_fail;
3576 }
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 (arg1)->SetValue(arg2);
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 Py_INCREF(Py_None); resultobj = Py_None;
3585 return resultobj;
3586 fail:
3587 return NULL;
3588 }
3589
3590
3591 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3594 wxCheckBoxState result;
3595 PyObject * obj0 = 0 ;
3596 char *kwnames[] = {
3597 (char *) "self", NULL
3598 };
3599
3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3602 if (SWIG_arg_fail(1)) SWIG_fail;
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 resultobj = SWIG_From_int((result));
3611 return resultobj;
3612 fail:
3613 return NULL;
3614 }
3615
3616
3617 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3618 PyObject *resultobj;
3619 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3620 wxCheckBoxState arg2 ;
3621 PyObject * obj0 = 0 ;
3622 PyObject * obj1 = 0 ;
3623 char *kwnames[] = {
3624 (char *) "self",(char *) "state", NULL
3625 };
3626
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3629 if (SWIG_arg_fail(1)) SWIG_fail;
3630 {
3631 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3632 if (SWIG_arg_fail(2)) SWIG_fail;
3633 }
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3637
3638 wxPyEndAllowThreads(__tstate);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
3641 Py_INCREF(Py_None); resultobj = Py_None;
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3651 bool result;
3652 PyObject * obj0 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "self", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3659 if (SWIG_arg_fail(1)) SWIG_fail;
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 {
3668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3669 }
3670 return resultobj;
3671 fail:
3672 return NULL;
3673 }
3674
3675
3676 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3677 PyObject *resultobj;
3678 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3679 bool result;
3680 PyObject * obj0 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3687 if (SWIG_arg_fail(1)) SWIG_fail;
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 {
3696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3697 }
3698 return resultobj;
3699 fail:
3700 return NULL;
3701 }
3702
3703
3704 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3705 PyObject *resultobj;
3706 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3707 wxVisualAttributes result;
3708 PyObject * obj0 = 0 ;
3709 char *kwnames[] = {
3710 (char *) "variant", NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3714 if (obj0) {
3715 {
3716 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3717 if (SWIG_arg_fail(1)) SWIG_fail;
3718 }
3719 }
3720 {
3721 if (!wxPyCheckForApp()) SWIG_fail;
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 {
3729 wxVisualAttributes * resultptr;
3730 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3732 }
3733 return resultobj;
3734 fail:
3735 return NULL;
3736 }
3737
3738
3739 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3740 PyObject *obj;
3741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3742 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3743 Py_INCREF(obj);
3744 return Py_BuildValue((char *)"");
3745 }
3746 static int _wrap_ChoiceNameStr_set(PyObject *) {
3747 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3748 return 1;
3749 }
3750
3751
3752 static PyObject *_wrap_ChoiceNameStr_get(void) {
3753 PyObject *pyobj;
3754
3755 {
3756 #if wxUSE_UNICODE
3757 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3758 #else
3759 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3760 #endif
3761 }
3762 return pyobj;
3763 }
3764
3765
3766 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 wxWindow *arg1 = (wxWindow *) 0 ;
3769 int arg2 = (int) -1 ;
3770 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3771 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3772 wxSize const &arg4_defvalue = wxDefaultSize ;
3773 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3774 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3775 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3776 long arg6 = (long) 0 ;
3777 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3778 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3779 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3780 wxString *arg8 = (wxString *) &arg8_defvalue ;
3781 wxChoice *result;
3782 wxPoint temp3 ;
3783 wxSize temp4 ;
3784 bool temp5 = false ;
3785 bool temp8 = false ;
3786 PyObject * obj0 = 0 ;
3787 PyObject * obj1 = 0 ;
3788 PyObject * obj2 = 0 ;
3789 PyObject * obj3 = 0 ;
3790 PyObject * obj4 = 0 ;
3791 PyObject * obj5 = 0 ;
3792 PyObject * obj6 = 0 ;
3793 PyObject * obj7 = 0 ;
3794 char *kwnames[] = {
3795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3796 };
3797
3798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3800 if (SWIG_arg_fail(1)) SWIG_fail;
3801 if (obj1) {
3802 {
3803 arg2 = (int)(SWIG_As_int(obj1));
3804 if (SWIG_arg_fail(2)) SWIG_fail;
3805 }
3806 }
3807 if (obj2) {
3808 {
3809 arg3 = &temp3;
3810 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3811 }
3812 }
3813 if (obj3) {
3814 {
3815 arg4 = &temp4;
3816 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3817 }
3818 }
3819 if (obj4) {
3820 {
3821 if (! PySequence_Check(obj4)) {
3822 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3823 SWIG_fail;
3824 }
3825 arg5 = new wxArrayString;
3826 temp5 = true;
3827 int i, len=PySequence_Length(obj4);
3828 for (i=0; i<len; i++) {
3829 PyObject* item = PySequence_GetItem(obj4, i);
3830 #if wxUSE_UNICODE
3831 PyObject* str = PyObject_Unicode(item);
3832 #else
3833 PyObject* str = PyObject_Str(item);
3834 #endif
3835 if (PyErr_Occurred()) SWIG_fail;
3836 arg5->Add(Py2wxString(str));
3837 Py_DECREF(item);
3838 Py_DECREF(str);
3839 }
3840 }
3841 }
3842 if (obj5) {
3843 {
3844 arg6 = (long)(SWIG_As_long(obj5));
3845 if (SWIG_arg_fail(6)) SWIG_fail;
3846 }
3847 }
3848 if (obj6) {
3849 {
3850 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3851 if (SWIG_arg_fail(7)) SWIG_fail;
3852 if (arg7 == NULL) {
3853 SWIG_null_ref("wxValidator");
3854 }
3855 if (SWIG_arg_fail(7)) SWIG_fail;
3856 }
3857 }
3858 if (obj7) {
3859 {
3860 arg8 = wxString_in_helper(obj7);
3861 if (arg8 == NULL) SWIG_fail;
3862 temp8 = true;
3863 }
3864 }
3865 {
3866 if (!wxPyCheckForApp()) SWIG_fail;
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3869
3870 wxPyEndAllowThreads(__tstate);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 }
3873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3874 {
3875 if (temp5) delete arg5;
3876 }
3877 {
3878 if (temp8)
3879 delete arg8;
3880 }
3881 return resultobj;
3882 fail:
3883 {
3884 if (temp5) delete arg5;
3885 }
3886 {
3887 if (temp8)
3888 delete arg8;
3889 }
3890 return NULL;
3891 }
3892
3893
3894 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3895 PyObject *resultobj;
3896 wxChoice *result;
3897 char *kwnames[] = {
3898 NULL
3899 };
3900
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3902 {
3903 if (!wxPyCheckForApp()) SWIG_fail;
3904 PyThreadState* __tstate = wxPyBeginAllowThreads();
3905 result = (wxChoice *)new wxChoice();
3906
3907 wxPyEndAllowThreads(__tstate);
3908 if (PyErr_Occurred()) SWIG_fail;
3909 }
3910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3911 return resultobj;
3912 fail:
3913 return NULL;
3914 }
3915
3916
3917 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3918 PyObject *resultobj;
3919 wxChoice *arg1 = (wxChoice *) 0 ;
3920 wxWindow *arg2 = (wxWindow *) 0 ;
3921 int arg3 = (int) -1 ;
3922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3924 wxSize const &arg5_defvalue = wxDefaultSize ;
3925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3926 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3927 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3928 long arg7 = (long) 0 ;
3929 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3930 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3931 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3932 wxString *arg9 = (wxString *) &arg9_defvalue ;
3933 bool result;
3934 wxPoint temp4 ;
3935 wxSize temp5 ;
3936 bool temp6 = false ;
3937 bool temp9 = false ;
3938 PyObject * obj0 = 0 ;
3939 PyObject * obj1 = 0 ;
3940 PyObject * obj2 = 0 ;
3941 PyObject * obj3 = 0 ;
3942 PyObject * obj4 = 0 ;
3943 PyObject * obj5 = 0 ;
3944 PyObject * obj6 = 0 ;
3945 PyObject * obj7 = 0 ;
3946 PyObject * obj8 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3949 };
3950
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3953 if (SWIG_arg_fail(1)) SWIG_fail;
3954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3955 if (SWIG_arg_fail(2)) SWIG_fail;
3956 if (obj2) {
3957 {
3958 arg3 = (int)(SWIG_As_int(obj2));
3959 if (SWIG_arg_fail(3)) SWIG_fail;
3960 }
3961 }
3962 if (obj3) {
3963 {
3964 arg4 = &temp4;
3965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3966 }
3967 }
3968 if (obj4) {
3969 {
3970 arg5 = &temp5;
3971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3972 }
3973 }
3974 if (obj5) {
3975 {
3976 if (! PySequence_Check(obj5)) {
3977 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3978 SWIG_fail;
3979 }
3980 arg6 = new wxArrayString;
3981 temp6 = true;
3982 int i, len=PySequence_Length(obj5);
3983 for (i=0; i<len; i++) {
3984 PyObject* item = PySequence_GetItem(obj5, i);
3985 #if wxUSE_UNICODE
3986 PyObject* str = PyObject_Unicode(item);
3987 #else
3988 PyObject* str = PyObject_Str(item);
3989 #endif
3990 if (PyErr_Occurred()) SWIG_fail;
3991 arg6->Add(Py2wxString(str));
3992 Py_DECREF(item);
3993 Py_DECREF(str);
3994 }
3995 }
3996 }
3997 if (obj6) {
3998 {
3999 arg7 = (long)(SWIG_As_long(obj6));
4000 if (SWIG_arg_fail(7)) SWIG_fail;
4001 }
4002 }
4003 if (obj7) {
4004 {
4005 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4006 if (SWIG_arg_fail(8)) SWIG_fail;
4007 if (arg8 == NULL) {
4008 SWIG_null_ref("wxValidator");
4009 }
4010 if (SWIG_arg_fail(8)) SWIG_fail;
4011 }
4012 }
4013 if (obj8) {
4014 {
4015 arg9 = wxString_in_helper(obj8);
4016 if (arg9 == NULL) SWIG_fail;
4017 temp9 = true;
4018 }
4019 }
4020 {
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4023
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
4027 {
4028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4029 }
4030 {
4031 if (temp6) delete arg6;
4032 }
4033 {
4034 if (temp9)
4035 delete arg9;
4036 }
4037 return resultobj;
4038 fail:
4039 {
4040 if (temp6) delete arg6;
4041 }
4042 {
4043 if (temp9)
4044 delete arg9;
4045 }
4046 return NULL;
4047 }
4048
4049
4050 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4053 wxVisualAttributes result;
4054 PyObject * obj0 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "variant", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4060 if (obj0) {
4061 {
4062 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4063 if (SWIG_arg_fail(1)) SWIG_fail;
4064 }
4065 }
4066 {
4067 if (!wxPyCheckForApp()) SWIG_fail;
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 {
4075 wxVisualAttributes * resultptr;
4076 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4078 }
4079 return resultobj;
4080 fail:
4081 return NULL;
4082 }
4083
4084
4085 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4086 PyObject *obj;
4087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4088 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4089 Py_INCREF(obj);
4090 return Py_BuildValue((char *)"");
4091 }
4092 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4093 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4094 return 1;
4095 }
4096
4097
4098 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4099 PyObject *pyobj;
4100
4101 {
4102 #if wxUSE_UNICODE
4103 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4104 #else
4105 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4106 #endif
4107 }
4108 return pyobj;
4109 }
4110
4111
4112 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4113 PyObject *resultobj;
4114 wxWindow *arg1 = (wxWindow *) 0 ;
4115 int arg2 = (int) -1 ;
4116 wxString const &arg3_defvalue = wxPyEmptyString ;
4117 wxString *arg3 = (wxString *) &arg3_defvalue ;
4118 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4119 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4120 wxSize const &arg5_defvalue = wxDefaultSize ;
4121 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4122 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4123 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4124 long arg7 = (long) 0 ;
4125 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4126 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4127 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4128 wxString *arg9 = (wxString *) &arg9_defvalue ;
4129 wxComboBox *result;
4130 bool temp3 = false ;
4131 wxPoint temp4 ;
4132 wxSize temp5 ;
4133 bool temp6 = false ;
4134 bool temp9 = false ;
4135 PyObject * obj0 = 0 ;
4136 PyObject * obj1 = 0 ;
4137 PyObject * obj2 = 0 ;
4138 PyObject * obj3 = 0 ;
4139 PyObject * obj4 = 0 ;
4140 PyObject * obj5 = 0 ;
4141 PyObject * obj6 = 0 ;
4142 PyObject * obj7 = 0 ;
4143 PyObject * obj8 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4150 if (SWIG_arg_fail(1)) SWIG_fail;
4151 if (obj1) {
4152 {
4153 arg2 = (int)(SWIG_As_int(obj1));
4154 if (SWIG_arg_fail(2)) SWIG_fail;
4155 }
4156 }
4157 if (obj2) {
4158 {
4159 arg3 = wxString_in_helper(obj2);
4160 if (arg3 == NULL) SWIG_fail;
4161 temp3 = true;
4162 }
4163 }
4164 if (obj3) {
4165 {
4166 arg4 = &temp4;
4167 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4168 }
4169 }
4170 if (obj4) {
4171 {
4172 arg5 = &temp5;
4173 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4174 }
4175 }
4176 if (obj5) {
4177 {
4178 if (! PySequence_Check(obj5)) {
4179 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4180 SWIG_fail;
4181 }
4182 arg6 = new wxArrayString;
4183 temp6 = true;
4184 int i, len=PySequence_Length(obj5);
4185 for (i=0; i<len; i++) {
4186 PyObject* item = PySequence_GetItem(obj5, i);
4187 #if wxUSE_UNICODE
4188 PyObject* str = PyObject_Unicode(item);
4189 #else
4190 PyObject* str = PyObject_Str(item);
4191 #endif
4192 if (PyErr_Occurred()) SWIG_fail;
4193 arg6->Add(Py2wxString(str));
4194 Py_DECREF(item);
4195 Py_DECREF(str);
4196 }
4197 }
4198 }
4199 if (obj6) {
4200 {
4201 arg7 = (long)(SWIG_As_long(obj6));
4202 if (SWIG_arg_fail(7)) SWIG_fail;
4203 }
4204 }
4205 if (obj7) {
4206 {
4207 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4208 if (SWIG_arg_fail(8)) SWIG_fail;
4209 if (arg8 == NULL) {
4210 SWIG_null_ref("wxValidator");
4211 }
4212 if (SWIG_arg_fail(8)) SWIG_fail;
4213 }
4214 }
4215 if (obj8) {
4216 {
4217 arg9 = wxString_in_helper(obj8);
4218 if (arg9 == NULL) SWIG_fail;
4219 temp9 = true;
4220 }
4221 }
4222 {
4223 if (!wxPyCheckForApp()) SWIG_fail;
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 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);
4226
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4231 {
4232 if (temp3)
4233 delete arg3;
4234 }
4235 {
4236 if (temp6) delete arg6;
4237 }
4238 {
4239 if (temp9)
4240 delete arg9;
4241 }
4242 return resultobj;
4243 fail:
4244 {
4245 if (temp3)
4246 delete arg3;
4247 }
4248 {
4249 if (temp6) delete arg6;
4250 }
4251 {
4252 if (temp9)
4253 delete arg9;
4254 }
4255 return NULL;
4256 }
4257
4258
4259 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxComboBox *result;
4262 char *kwnames[] = {
4263 NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4267 {
4268 if (!wxPyCheckForApp()) SWIG_fail;
4269 PyThreadState* __tstate = wxPyBeginAllowThreads();
4270 result = (wxComboBox *)new wxComboBox();
4271
4272 wxPyEndAllowThreads(__tstate);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 }
4275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4276 return resultobj;
4277 fail:
4278 return NULL;
4279 }
4280
4281
4282 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4283 PyObject *resultobj;
4284 wxComboBox *arg1 = (wxComboBox *) 0 ;
4285 wxWindow *arg2 = (wxWindow *) 0 ;
4286 int arg3 = (int) -1 ;
4287 wxString const &arg4_defvalue = wxPyEmptyString ;
4288 wxString *arg4 = (wxString *) &arg4_defvalue ;
4289 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4290 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4291 wxSize const &arg6_defvalue = wxDefaultSize ;
4292 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4293 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4294 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4295 long arg8 = (long) 0 ;
4296 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4297 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4298 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4299 wxString *arg10 = (wxString *) &arg10_defvalue ;
4300 bool result;
4301 bool temp4 = false ;
4302 wxPoint temp5 ;
4303 wxSize temp6 ;
4304 bool temp7 = false ;
4305 bool temp10 = false ;
4306 PyObject * obj0 = 0 ;
4307 PyObject * obj1 = 0 ;
4308 PyObject * obj2 = 0 ;
4309 PyObject * obj3 = 0 ;
4310 PyObject * obj4 = 0 ;
4311 PyObject * obj5 = 0 ;
4312 PyObject * obj6 = 0 ;
4313 PyObject * obj7 = 0 ;
4314 PyObject * obj8 = 0 ;
4315 PyObject * obj9 = 0 ;
4316 char *kwnames[] = {
4317 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4318 };
4319
4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4322 if (SWIG_arg_fail(1)) SWIG_fail;
4323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4324 if (SWIG_arg_fail(2)) SWIG_fail;
4325 if (obj2) {
4326 {
4327 arg3 = (int)(SWIG_As_int(obj2));
4328 if (SWIG_arg_fail(3)) SWIG_fail;
4329 }
4330 }
4331 if (obj3) {
4332 {
4333 arg4 = wxString_in_helper(obj3);
4334 if (arg4 == NULL) SWIG_fail;
4335 temp4 = true;
4336 }
4337 }
4338 if (obj4) {
4339 {
4340 arg5 = &temp5;
4341 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4342 }
4343 }
4344 if (obj5) {
4345 {
4346 arg6 = &temp6;
4347 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4348 }
4349 }
4350 if (obj6) {
4351 {
4352 if (! PySequence_Check(obj6)) {
4353 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4354 SWIG_fail;
4355 }
4356 arg7 = new wxArrayString;
4357 temp7 = true;
4358 int i, len=PySequence_Length(obj6);
4359 for (i=0; i<len; i++) {
4360 PyObject* item = PySequence_GetItem(obj6, i);
4361 #if wxUSE_UNICODE
4362 PyObject* str = PyObject_Unicode(item);
4363 #else
4364 PyObject* str = PyObject_Str(item);
4365 #endif
4366 if (PyErr_Occurred()) SWIG_fail;
4367 arg7->Add(Py2wxString(str));
4368 Py_DECREF(item);
4369 Py_DECREF(str);
4370 }
4371 }
4372 }
4373 if (obj7) {
4374 {
4375 arg8 = (long)(SWIG_As_long(obj7));
4376 if (SWIG_arg_fail(8)) SWIG_fail;
4377 }
4378 }
4379 if (obj8) {
4380 {
4381 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4382 if (SWIG_arg_fail(9)) SWIG_fail;
4383 if (arg9 == NULL) {
4384 SWIG_null_ref("wxValidator");
4385 }
4386 if (SWIG_arg_fail(9)) SWIG_fail;
4387 }
4388 }
4389 if (obj9) {
4390 {
4391 arg10 = wxString_in_helper(obj9);
4392 if (arg10 == NULL) SWIG_fail;
4393 temp10 = true;
4394 }
4395 }
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 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);
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 {
4404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4405 }
4406 {
4407 if (temp4)
4408 delete arg4;
4409 }
4410 {
4411 if (temp7) delete arg7;
4412 }
4413 {
4414 if (temp10)
4415 delete arg10;
4416 }
4417 return resultobj;
4418 fail:
4419 {
4420 if (temp4)
4421 delete arg4;
4422 }
4423 {
4424 if (temp7) delete arg7;
4425 }
4426 {
4427 if (temp10)
4428 delete arg10;
4429 }
4430 return NULL;
4431 }
4432
4433
4434 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4435 PyObject *resultobj;
4436 wxComboBox *arg1 = (wxComboBox *) 0 ;
4437 wxString result;
4438 PyObject * obj0 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4445 if (SWIG_arg_fail(1)) SWIG_fail;
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = ((wxComboBox const *)arg1)->GetValue();
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 {
4454 #if wxUSE_UNICODE
4455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4456 #else
4457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4458 #endif
4459 }
4460 return resultobj;
4461 fail:
4462 return NULL;
4463 }
4464
4465
4466 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4467 PyObject *resultobj;
4468 wxComboBox *arg1 = (wxComboBox *) 0 ;
4469 wxString *arg2 = 0 ;
4470 bool temp2 = false ;
4471 PyObject * obj0 = 0 ;
4472 PyObject * obj1 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self",(char *) "value", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4479 if (SWIG_arg_fail(1)) SWIG_fail;
4480 {
4481 arg2 = wxString_in_helper(obj1);
4482 if (arg2 == NULL) SWIG_fail;
4483 temp2 = true;
4484 }
4485 {
4486 PyThreadState* __tstate = wxPyBeginAllowThreads();
4487 (arg1)->SetValue((wxString const &)*arg2);
4488
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4492 Py_INCREF(Py_None); resultobj = Py_None;
4493 {
4494 if (temp2)
4495 delete arg2;
4496 }
4497 return resultobj;
4498 fail:
4499 {
4500 if (temp2)
4501 delete arg2;
4502 }
4503 return NULL;
4504 }
4505
4506
4507 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4508 PyObject *resultobj;
4509 wxComboBox *arg1 = (wxComboBox *) 0 ;
4510 PyObject * obj0 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "self", NULL
4513 };
4514
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4517 if (SWIG_arg_fail(1)) SWIG_fail;
4518 {
4519 PyThreadState* __tstate = wxPyBeginAllowThreads();
4520 (arg1)->Copy();
4521
4522 wxPyEndAllowThreads(__tstate);
4523 if (PyErr_Occurred()) SWIG_fail;
4524 }
4525 Py_INCREF(Py_None); resultobj = Py_None;
4526 return resultobj;
4527 fail:
4528 return NULL;
4529 }
4530
4531
4532 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4533 PyObject *resultobj;
4534 wxComboBox *arg1 = (wxComboBox *) 0 ;
4535 PyObject * obj0 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4542 if (SWIG_arg_fail(1)) SWIG_fail;
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 (arg1)->Cut();
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 }
4550 Py_INCREF(Py_None); resultobj = Py_None;
4551 return resultobj;
4552 fail:
4553 return NULL;
4554 }
4555
4556
4557 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4558 PyObject *resultobj;
4559 wxComboBox *arg1 = (wxComboBox *) 0 ;
4560 PyObject * obj0 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4567 if (SWIG_arg_fail(1)) SWIG_fail;
4568 {
4569 PyThreadState* __tstate = wxPyBeginAllowThreads();
4570 (arg1)->Paste();
4571
4572 wxPyEndAllowThreads(__tstate);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
4575 Py_INCREF(Py_None); resultobj = Py_None;
4576 return resultobj;
4577 fail:
4578 return NULL;
4579 }
4580
4581
4582 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4583 PyObject *resultobj;
4584 wxComboBox *arg1 = (wxComboBox *) 0 ;
4585 long arg2 ;
4586 PyObject * obj0 = 0 ;
4587 PyObject * obj1 = 0 ;
4588 char *kwnames[] = {
4589 (char *) "self",(char *) "pos", NULL
4590 };
4591
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4594 if (SWIG_arg_fail(1)) SWIG_fail;
4595 {
4596 arg2 = (long)(SWIG_As_long(obj1));
4597 if (SWIG_arg_fail(2)) SWIG_fail;
4598 }
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 (arg1)->SetInsertionPoint(arg2);
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 Py_INCREF(Py_None); resultobj = Py_None;
4607 return resultobj;
4608 fail:
4609 return NULL;
4610 }
4611
4612
4613 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4614 PyObject *resultobj;
4615 wxComboBox *arg1 = (wxComboBox *) 0 ;
4616 long result;
4617 PyObject * obj0 = 0 ;
4618 char *kwnames[] = {
4619 (char *) "self", NULL
4620 };
4621
4622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4624 if (SWIG_arg_fail(1)) SWIG_fail;
4625 {
4626 PyThreadState* __tstate = wxPyBeginAllowThreads();
4627 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4628
4629 wxPyEndAllowThreads(__tstate);
4630 if (PyErr_Occurred()) SWIG_fail;
4631 }
4632 {
4633 resultobj = SWIG_From_long((long)(result));
4634 }
4635 return resultobj;
4636 fail:
4637 return NULL;
4638 }
4639
4640
4641 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4642 PyObject *resultobj;
4643 wxComboBox *arg1 = (wxComboBox *) 0 ;
4644 long result;
4645 PyObject * obj0 = 0 ;
4646 char *kwnames[] = {
4647 (char *) "self", NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4652 if (SWIG_arg_fail(1)) SWIG_fail;
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
4660 {
4661 resultobj = SWIG_From_long((long)(result));
4662 }
4663 return resultobj;
4664 fail:
4665 return NULL;
4666 }
4667
4668
4669 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4670 PyObject *resultobj;
4671 wxComboBox *arg1 = (wxComboBox *) 0 ;
4672 long arg2 ;
4673 long arg3 ;
4674 wxString *arg4 = 0 ;
4675 bool temp4 = false ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 PyObject * obj2 = 0 ;
4679 PyObject * obj3 = 0 ;
4680 char *kwnames[] = {
4681 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4682 };
4683
4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4686 if (SWIG_arg_fail(1)) SWIG_fail;
4687 {
4688 arg2 = (long)(SWIG_As_long(obj1));
4689 if (SWIG_arg_fail(2)) SWIG_fail;
4690 }
4691 {
4692 arg3 = (long)(SWIG_As_long(obj2));
4693 if (SWIG_arg_fail(3)) SWIG_fail;
4694 }
4695 {
4696 arg4 = wxString_in_helper(obj3);
4697 if (arg4 == NULL) SWIG_fail;
4698 temp4 = true;
4699 }
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 Py_INCREF(Py_None); resultobj = Py_None;
4708 {
4709 if (temp4)
4710 delete arg4;
4711 }
4712 return resultobj;
4713 fail:
4714 {
4715 if (temp4)
4716 delete arg4;
4717 }
4718 return NULL;
4719 }
4720
4721
4722 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4723 PyObject *resultobj;
4724 wxComboBox *arg1 = (wxComboBox *) 0 ;
4725 int arg2 ;
4726 PyObject * obj0 = 0 ;
4727 PyObject * obj1 = 0 ;
4728 char *kwnames[] = {
4729 (char *) "self",(char *) "n", NULL
4730 };
4731
4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4734 if (SWIG_arg_fail(1)) SWIG_fail;
4735 {
4736 arg2 = (int)(SWIG_As_int(obj1));
4737 if (SWIG_arg_fail(2)) SWIG_fail;
4738 }
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 (arg1)->SetSelection(arg2);
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 Py_INCREF(Py_None); resultobj = Py_None;
4747 return resultobj;
4748 fail:
4749 return NULL;
4750 }
4751
4752
4753 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4754 PyObject *resultobj;
4755 wxComboBox *arg1 = (wxComboBox *) 0 ;
4756 long arg2 ;
4757 long arg3 ;
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj2 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "self",(char *) "from",(char *) "to", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4767 if (SWIG_arg_fail(1)) SWIG_fail;
4768 {
4769 arg2 = (long)(SWIG_As_long(obj1));
4770 if (SWIG_arg_fail(2)) SWIG_fail;
4771 }
4772 {
4773 arg3 = (long)(SWIG_As_long(obj2));
4774 if (SWIG_arg_fail(3)) SWIG_fail;
4775 }
4776 {
4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
4778 (arg1)->SetSelection(arg2,arg3);
4779
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 Py_INCREF(Py_None); resultobj = Py_None;
4784 return resultobj;
4785 fail:
4786 return NULL;
4787 }
4788
4789
4790 static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4791 PyObject *resultobj;
4792 wxComboBox *arg1 = (wxComboBox *) 0 ;
4793 long *arg2 = (long *) 0 ;
4794 long *arg3 = (long *) 0 ;
4795 long temp2 ;
4796 int res2 = 0 ;
4797 long temp3 ;
4798 int res3 = 0 ;
4799 PyObject * obj0 = 0 ;
4800 char *kwnames[] = {
4801 (char *) "self", NULL
4802 };
4803
4804 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4805 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
4807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4808 if (SWIG_arg_fail(1)) SWIG_fail;
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 (arg1)->GetSelection(arg2,arg3);
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 Py_INCREF(Py_None); resultobj = Py_None;
4817 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4818 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4819 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4820 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4821 return resultobj;
4822 fail:
4823 return NULL;
4824 }
4825
4826
4827 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4828 PyObject *resultobj;
4829 wxComboBox *arg1 = (wxComboBox *) 0 ;
4830 wxString *arg2 = 0 ;
4831 bool result;
4832 bool temp2 = false ;
4833 PyObject * obj0 = 0 ;
4834 PyObject * obj1 = 0 ;
4835 char *kwnames[] = {
4836 (char *) "self",(char *) "string", NULL
4837 };
4838
4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4841 if (SWIG_arg_fail(1)) SWIG_fail;
4842 {
4843 arg2 = wxString_in_helper(obj1);
4844 if (arg2 == NULL) SWIG_fail;
4845 temp2 = true;
4846 }
4847 {
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 {
4855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4856 }
4857 {
4858 if (temp2)
4859 delete arg2;
4860 }
4861 return resultobj;
4862 fail:
4863 {
4864 if (temp2)
4865 delete arg2;
4866 }
4867 return NULL;
4868 }
4869
4870
4871 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4872 PyObject *resultobj;
4873 wxComboBox *arg1 = (wxComboBox *) 0 ;
4874 int arg2 ;
4875 wxString *arg3 = 0 ;
4876 bool temp3 = false ;
4877 PyObject * obj0 = 0 ;
4878 PyObject * obj1 = 0 ;
4879 PyObject * obj2 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self",(char *) "n",(char *) "string", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4886 if (SWIG_arg_fail(1)) SWIG_fail;
4887 {
4888 arg2 = (int)(SWIG_As_int(obj1));
4889 if (SWIG_arg_fail(2)) SWIG_fail;
4890 }
4891 {
4892 arg3 = wxString_in_helper(obj2);
4893 if (arg3 == NULL) SWIG_fail;
4894 temp3 = true;
4895 }
4896 {
4897 PyThreadState* __tstate = wxPyBeginAllowThreads();
4898 (arg1)->SetString(arg2,(wxString const &)*arg3);
4899
4900 wxPyEndAllowThreads(__tstate);
4901 if (PyErr_Occurred()) SWIG_fail;
4902 }
4903 Py_INCREF(Py_None); resultobj = Py_None;
4904 {
4905 if (temp3)
4906 delete arg3;
4907 }
4908 return resultobj;
4909 fail:
4910 {
4911 if (temp3)
4912 delete arg3;
4913 }
4914 return NULL;
4915 }
4916
4917
4918 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4919 PyObject *resultobj;
4920 wxComboBox *arg1 = (wxComboBox *) 0 ;
4921 bool arg2 ;
4922 PyObject * obj0 = 0 ;
4923 PyObject * obj1 = 0 ;
4924 char *kwnames[] = {
4925 (char *) "self",(char *) "editable", NULL
4926 };
4927
4928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
4929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4930 if (SWIG_arg_fail(1)) SWIG_fail;
4931 {
4932 arg2 = (bool)(SWIG_As_bool(obj1));
4933 if (SWIG_arg_fail(2)) SWIG_fail;
4934 }
4935 {
4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
4937 (arg1)->SetEditable(arg2);
4938
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 Py_INCREF(Py_None); resultobj = Py_None;
4943 return resultobj;
4944 fail:
4945 return NULL;
4946 }
4947
4948
4949 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
4950 PyObject *resultobj;
4951 wxComboBox *arg1 = (wxComboBox *) 0 ;
4952 PyObject * obj0 = 0 ;
4953 char *kwnames[] = {
4954 (char *) "self", NULL
4955 };
4956
4957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
4958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4959 if (SWIG_arg_fail(1)) SWIG_fail;
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
4962 (arg1)->SetInsertionPointEnd();
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
4967 Py_INCREF(Py_None); resultobj = Py_None;
4968 return resultobj;
4969 fail:
4970 return NULL;
4971 }
4972
4973
4974 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
4975 PyObject *resultobj;
4976 wxComboBox *arg1 = (wxComboBox *) 0 ;
4977 long arg2 ;
4978 long arg3 ;
4979 PyObject * obj0 = 0 ;
4980 PyObject * obj1 = 0 ;
4981 PyObject * obj2 = 0 ;
4982 char *kwnames[] = {
4983 (char *) "self",(char *) "from",(char *) "to", NULL
4984 };
4985
4986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
4987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail;
4989 {
4990 arg2 = (long)(SWIG_As_long(obj1));
4991 if (SWIG_arg_fail(2)) SWIG_fail;
4992 }
4993 {
4994 arg3 = (long)(SWIG_As_long(obj2));
4995 if (SWIG_arg_fail(3)) SWIG_fail;
4996 }
4997 {
4998 PyThreadState* __tstate = wxPyBeginAllowThreads();
4999 (arg1)->Remove(arg2,arg3);
5000
5001 wxPyEndAllowThreads(__tstate);
5002 if (PyErr_Occurred()) SWIG_fail;
5003 }
5004 Py_INCREF(Py_None); resultobj = Py_None;
5005 return resultobj;
5006 fail:
5007 return NULL;
5008 }
5009
5010
5011 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5012 PyObject *resultobj;
5013 wxComboBox *arg1 = (wxComboBox *) 0 ;
5014 bool result;
5015 PyObject * obj0 = 0 ;
5016 char *kwnames[] = {
5017 (char *) "self", NULL
5018 };
5019
5020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5022 if (SWIG_arg_fail(1)) SWIG_fail;
5023 {
5024 PyThreadState* __tstate = wxPyBeginAllowThreads();
5025 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5026
5027 wxPyEndAllowThreads(__tstate);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 }
5030 {
5031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5032 }
5033 return resultobj;
5034 fail:
5035 return NULL;
5036 }
5037
5038
5039 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxComboBox *arg1 = (wxComboBox *) 0 ;
5042 PyObject * obj0 = 0 ;
5043 char *kwnames[] = {
5044 (char *) "self", NULL
5045 };
5046
5047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5049 if (SWIG_arg_fail(1)) SWIG_fail;
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 (arg1)->Undo();
5053
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 Py_INCREF(Py_None); resultobj = Py_None;
5058 return resultobj;
5059 fail:
5060 return NULL;
5061 }
5062
5063
5064 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj;
5066 wxComboBox *arg1 = (wxComboBox *) 0 ;
5067 PyObject * obj0 = 0 ;
5068 char *kwnames[] = {
5069 (char *) "self", NULL
5070 };
5071
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5074 if (SWIG_arg_fail(1)) SWIG_fail;
5075 {
5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
5077 (arg1)->Redo();
5078
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
5082 Py_INCREF(Py_None); resultobj = Py_None;
5083 return resultobj;
5084 fail:
5085 return NULL;
5086 }
5087
5088
5089 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj;
5091 wxComboBox *arg1 = (wxComboBox *) 0 ;
5092 PyObject * obj0 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "self", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5099 if (SWIG_arg_fail(1)) SWIG_fail;
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 (arg1)->SelectAll();
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 Py_INCREF(Py_None); resultobj = Py_None;
5108 return resultobj;
5109 fail:
5110 return NULL;
5111 }
5112
5113
5114 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5115 PyObject *resultobj;
5116 wxComboBox *arg1 = (wxComboBox *) 0 ;
5117 bool result;
5118 PyObject * obj0 = 0 ;
5119 char *kwnames[] = {
5120 (char *) "self", NULL
5121 };
5122
5123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5125 if (SWIG_arg_fail(1)) SWIG_fail;
5126 {
5127 PyThreadState* __tstate = wxPyBeginAllowThreads();
5128 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5129
5130 wxPyEndAllowThreads(__tstate);
5131 if (PyErr_Occurred()) SWIG_fail;
5132 }
5133 {
5134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5135 }
5136 return resultobj;
5137 fail:
5138 return NULL;
5139 }
5140
5141
5142 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj;
5144 wxComboBox *arg1 = (wxComboBox *) 0 ;
5145 bool result;
5146 PyObject * obj0 = 0 ;
5147 char *kwnames[] = {
5148 (char *) "self", NULL
5149 };
5150
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5153 if (SWIG_arg_fail(1)) SWIG_fail;
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 result = (bool)((wxComboBox const *)arg1)->CanCut();
5157
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 {
5162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5163 }
5164 return resultobj;
5165 fail:
5166 return NULL;
5167 }
5168
5169
5170 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5171 PyObject *resultobj;
5172 wxComboBox *arg1 = (wxComboBox *) 0 ;
5173 bool result;
5174 PyObject * obj0 = 0 ;
5175 char *kwnames[] = {
5176 (char *) "self", NULL
5177 };
5178
5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail;
5182 {
5183 PyThreadState* __tstate = wxPyBeginAllowThreads();
5184 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5185
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
5189 {
5190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5191 }
5192 return resultobj;
5193 fail:
5194 return NULL;
5195 }
5196
5197
5198 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxComboBox *arg1 = (wxComboBox *) 0 ;
5201 bool result;
5202 PyObject * obj0 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self", NULL
5205 };
5206
5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5209 if (SWIG_arg_fail(1)) SWIG_fail;
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 {
5218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5219 }
5220 return resultobj;
5221 fail:
5222 return NULL;
5223 }
5224
5225
5226 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj;
5228 wxComboBox *arg1 = (wxComboBox *) 0 ;
5229 bool result;
5230 PyObject * obj0 = 0 ;
5231 char *kwnames[] = {
5232 (char *) "self", NULL
5233 };
5234
5235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5237 if (SWIG_arg_fail(1)) SWIG_fail;
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 {
5246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5247 }
5248 return resultobj;
5249 fail:
5250 return NULL;
5251 }
5252
5253
5254 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5255 PyObject *resultobj;
5256 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5257 wxVisualAttributes result;
5258 PyObject * obj0 = 0 ;
5259 char *kwnames[] = {
5260 (char *) "variant", NULL
5261 };
5262
5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5264 if (obj0) {
5265 {
5266 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5267 if (SWIG_arg_fail(1)) SWIG_fail;
5268 }
5269 }
5270 {
5271 if (!wxPyCheckForApp()) SWIG_fail;
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 {
5279 wxVisualAttributes * resultptr;
5280 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5281 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5282 }
5283 return resultobj;
5284 fail:
5285 return NULL;
5286 }
5287
5288
5289 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5290 PyObject *obj;
5291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5292 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5293 Py_INCREF(obj);
5294 return Py_BuildValue((char *)"");
5295 }
5296 static int _wrap_GaugeNameStr_set(PyObject *) {
5297 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5298 return 1;
5299 }
5300
5301
5302 static PyObject *_wrap_GaugeNameStr_get(void) {
5303 PyObject *pyobj;
5304
5305 {
5306 #if wxUSE_UNICODE
5307 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5308 #else
5309 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5310 #endif
5311 }
5312 return pyobj;
5313 }
5314
5315
5316 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5317 PyObject *resultobj;
5318 wxWindow *arg1 = (wxWindow *) 0 ;
5319 int arg2 = (int) -1 ;
5320 int arg3 = (int) 100 ;
5321 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5322 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5323 wxSize const &arg5_defvalue = wxDefaultSize ;
5324 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5325 long arg6 = (long) wxGA_HORIZONTAL ;
5326 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5327 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5328 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5329 wxString *arg8 = (wxString *) &arg8_defvalue ;
5330 wxGauge *result;
5331 wxPoint temp4 ;
5332 wxSize temp5 ;
5333 bool temp8 = false ;
5334 PyObject * obj0 = 0 ;
5335 PyObject * obj1 = 0 ;
5336 PyObject * obj2 = 0 ;
5337 PyObject * obj3 = 0 ;
5338 PyObject * obj4 = 0 ;
5339 PyObject * obj5 = 0 ;
5340 PyObject * obj6 = 0 ;
5341 PyObject * obj7 = 0 ;
5342 char *kwnames[] = {
5343 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5344 };
5345
5346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5348 if (SWIG_arg_fail(1)) SWIG_fail;
5349 if (obj1) {
5350 {
5351 arg2 = (int)(SWIG_As_int(obj1));
5352 if (SWIG_arg_fail(2)) SWIG_fail;
5353 }
5354 }
5355 if (obj2) {
5356 {
5357 arg3 = (int)(SWIG_As_int(obj2));
5358 if (SWIG_arg_fail(3)) SWIG_fail;
5359 }
5360 }
5361 if (obj3) {
5362 {
5363 arg4 = &temp4;
5364 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5365 }
5366 }
5367 if (obj4) {
5368 {
5369 arg5 = &temp5;
5370 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5371 }
5372 }
5373 if (obj5) {
5374 {
5375 arg6 = (long)(SWIG_As_long(obj5));
5376 if (SWIG_arg_fail(6)) SWIG_fail;
5377 }
5378 }
5379 if (obj6) {
5380 {
5381 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5382 if (SWIG_arg_fail(7)) SWIG_fail;
5383 if (arg7 == NULL) {
5384 SWIG_null_ref("wxValidator");
5385 }
5386 if (SWIG_arg_fail(7)) SWIG_fail;
5387 }
5388 }
5389 if (obj7) {
5390 {
5391 arg8 = wxString_in_helper(obj7);
5392 if (arg8 == NULL) SWIG_fail;
5393 temp8 = true;
5394 }
5395 }
5396 {
5397 if (!wxPyCheckForApp()) SWIG_fail;
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5400
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5405 {
5406 if (temp8)
5407 delete arg8;
5408 }
5409 return resultobj;
5410 fail:
5411 {
5412 if (temp8)
5413 delete arg8;
5414 }
5415 return NULL;
5416 }
5417
5418
5419 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5420 PyObject *resultobj;
5421 wxGauge *result;
5422 char *kwnames[] = {
5423 NULL
5424 };
5425
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5427 {
5428 if (!wxPyCheckForApp()) SWIG_fail;
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 result = (wxGauge *)new wxGauge();
5431
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5436 return resultobj;
5437 fail:
5438 return NULL;
5439 }
5440
5441
5442 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5443 PyObject *resultobj;
5444 wxGauge *arg1 = (wxGauge *) 0 ;
5445 wxWindow *arg2 = (wxWindow *) 0 ;
5446 int arg3 = (int) -1 ;
5447 int arg4 = (int) 100 ;
5448 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5449 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5450 wxSize const &arg6_defvalue = wxDefaultSize ;
5451 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5452 long arg7 = (long) wxGA_HORIZONTAL ;
5453 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5454 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5455 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5456 wxString *arg9 = (wxString *) &arg9_defvalue ;
5457 bool result;
5458 wxPoint temp5 ;
5459 wxSize temp6 ;
5460 bool temp9 = false ;
5461 PyObject * obj0 = 0 ;
5462 PyObject * obj1 = 0 ;
5463 PyObject * obj2 = 0 ;
5464 PyObject * obj3 = 0 ;
5465 PyObject * obj4 = 0 ;
5466 PyObject * obj5 = 0 ;
5467 PyObject * obj6 = 0 ;
5468 PyObject * obj7 = 0 ;
5469 PyObject * obj8 = 0 ;
5470 char *kwnames[] = {
5471 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5472 };
5473
5474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5476 if (SWIG_arg_fail(1)) SWIG_fail;
5477 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5478 if (SWIG_arg_fail(2)) SWIG_fail;
5479 if (obj2) {
5480 {
5481 arg3 = (int)(SWIG_As_int(obj2));
5482 if (SWIG_arg_fail(3)) SWIG_fail;
5483 }
5484 }
5485 if (obj3) {
5486 {
5487 arg4 = (int)(SWIG_As_int(obj3));
5488 if (SWIG_arg_fail(4)) SWIG_fail;
5489 }
5490 }
5491 if (obj4) {
5492 {
5493 arg5 = &temp5;
5494 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5495 }
5496 }
5497 if (obj5) {
5498 {
5499 arg6 = &temp6;
5500 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5501 }
5502 }
5503 if (obj6) {
5504 {
5505 arg7 = (long)(SWIG_As_long(obj6));
5506 if (SWIG_arg_fail(7)) SWIG_fail;
5507 }
5508 }
5509 if (obj7) {
5510 {
5511 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5512 if (SWIG_arg_fail(8)) SWIG_fail;
5513 if (arg8 == NULL) {
5514 SWIG_null_ref("wxValidator");
5515 }
5516 if (SWIG_arg_fail(8)) SWIG_fail;
5517 }
5518 }
5519 if (obj8) {
5520 {
5521 arg9 = wxString_in_helper(obj8);
5522 if (arg9 == NULL) SWIG_fail;
5523 temp9 = true;
5524 }
5525 }
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 {
5534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5535 }
5536 {
5537 if (temp9)
5538 delete arg9;
5539 }
5540 return resultobj;
5541 fail:
5542 {
5543 if (temp9)
5544 delete arg9;
5545 }
5546 return NULL;
5547 }
5548
5549
5550 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5551 PyObject *resultobj;
5552 wxGauge *arg1 = (wxGauge *) 0 ;
5553 int arg2 ;
5554 PyObject * obj0 = 0 ;
5555 PyObject * obj1 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "self",(char *) "range", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5562 if (SWIG_arg_fail(1)) SWIG_fail;
5563 {
5564 arg2 = (int)(SWIG_As_int(obj1));
5565 if (SWIG_arg_fail(2)) SWIG_fail;
5566 }
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->SetRange(arg2);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 Py_INCREF(Py_None); resultobj = Py_None;
5575 return resultobj;
5576 fail:
5577 return NULL;
5578 }
5579
5580
5581 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5582 PyObject *resultobj;
5583 wxGauge *arg1 = (wxGauge *) 0 ;
5584 int result;
5585 PyObject * obj0 = 0 ;
5586 char *kwnames[] = {
5587 (char *) "self", NULL
5588 };
5589
5590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5592 if (SWIG_arg_fail(1)) SWIG_fail;
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 result = (int)((wxGauge const *)arg1)->GetRange();
5596
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 {
5601 resultobj = SWIG_From_int((int)(result));
5602 }
5603 return resultobj;
5604 fail:
5605 return NULL;
5606 }
5607
5608
5609 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5610 PyObject *resultobj;
5611 wxGauge *arg1 = (wxGauge *) 0 ;
5612 int arg2 ;
5613 PyObject * obj0 = 0 ;
5614 PyObject * obj1 = 0 ;
5615 char *kwnames[] = {
5616 (char *) "self",(char *) "pos", NULL
5617 };
5618
5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5621 if (SWIG_arg_fail(1)) SWIG_fail;
5622 {
5623 arg2 = (int)(SWIG_As_int(obj1));
5624 if (SWIG_arg_fail(2)) SWIG_fail;
5625 }
5626 {
5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
5628 (arg1)->SetValue(arg2);
5629
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 Py_INCREF(Py_None); resultobj = Py_None;
5634 return resultobj;
5635 fail:
5636 return NULL;
5637 }
5638
5639
5640 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5641 PyObject *resultobj;
5642 wxGauge *arg1 = (wxGauge *) 0 ;
5643 int result;
5644 PyObject * obj0 = 0 ;
5645 char *kwnames[] = {
5646 (char *) "self", NULL
5647 };
5648
5649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5651 if (SWIG_arg_fail(1)) SWIG_fail;
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 result = (int)((wxGauge const *)arg1)->GetValue();
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 {
5660 resultobj = SWIG_From_int((int)(result));
5661 }
5662 return resultobj;
5663 fail:
5664 return NULL;
5665 }
5666
5667
5668 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5669 PyObject *resultobj;
5670 wxGauge *arg1 = (wxGauge *) 0 ;
5671 bool result;
5672 PyObject * obj0 = 0 ;
5673 char *kwnames[] = {
5674 (char *) "self", NULL
5675 };
5676
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5679 if (SWIG_arg_fail(1)) SWIG_fail;
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 result = (bool)((wxGauge const *)arg1)->IsVertical();
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 {
5688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5689 }
5690 return resultobj;
5691 fail:
5692 return NULL;
5693 }
5694
5695
5696 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5697 PyObject *resultobj;
5698 wxGauge *arg1 = (wxGauge *) 0 ;
5699 int arg2 ;
5700 PyObject * obj0 = 0 ;
5701 PyObject * obj1 = 0 ;
5702 char *kwnames[] = {
5703 (char *) "self",(char *) "w", NULL
5704 };
5705
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5708 if (SWIG_arg_fail(1)) SWIG_fail;
5709 {
5710 arg2 = (int)(SWIG_As_int(obj1));
5711 if (SWIG_arg_fail(2)) SWIG_fail;
5712 }
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 (arg1)->SetShadowWidth(arg2);
5716
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 Py_INCREF(Py_None); resultobj = Py_None;
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj;
5729 wxGauge *arg1 = (wxGauge *) 0 ;
5730 int result;
5731 PyObject * obj0 = 0 ;
5732 char *kwnames[] = {
5733 (char *) "self", NULL
5734 };
5735
5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5738 if (SWIG_arg_fail(1)) SWIG_fail;
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5742
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 {
5747 resultobj = SWIG_From_int((int)(result));
5748 }
5749 return resultobj;
5750 fail:
5751 return NULL;
5752 }
5753
5754
5755 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5756 PyObject *resultobj;
5757 wxGauge *arg1 = (wxGauge *) 0 ;
5758 int arg2 ;
5759 PyObject * obj0 = 0 ;
5760 PyObject * obj1 = 0 ;
5761 char *kwnames[] = {
5762 (char *) "self",(char *) "w", NULL
5763 };
5764
5765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5767 if (SWIG_arg_fail(1)) SWIG_fail;
5768 {
5769 arg2 = (int)(SWIG_As_int(obj1));
5770 if (SWIG_arg_fail(2)) SWIG_fail;
5771 }
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 (arg1)->SetBezelFace(arg2);
5775
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 Py_INCREF(Py_None); resultobj = Py_None;
5780 return resultobj;
5781 fail:
5782 return NULL;
5783 }
5784
5785
5786 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5787 PyObject *resultobj;
5788 wxGauge *arg1 = (wxGauge *) 0 ;
5789 int result;
5790 PyObject * obj0 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5797 if (SWIG_arg_fail(1)) SWIG_fail;
5798 {
5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
5800 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5801
5802 wxPyEndAllowThreads(__tstate);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 }
5805 {
5806 resultobj = SWIG_From_int((int)(result));
5807 }
5808 return resultobj;
5809 fail:
5810 return NULL;
5811 }
5812
5813
5814 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5815 PyObject *resultobj;
5816 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5817 wxVisualAttributes result;
5818 PyObject * obj0 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "variant", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5824 if (obj0) {
5825 {
5826 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5827 if (SWIG_arg_fail(1)) SWIG_fail;
5828 }
5829 }
5830 {
5831 if (!wxPyCheckForApp()) SWIG_fail;
5832 PyThreadState* __tstate = wxPyBeginAllowThreads();
5833 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5834
5835 wxPyEndAllowThreads(__tstate);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 }
5838 {
5839 wxVisualAttributes * resultptr;
5840 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5842 }
5843 return resultobj;
5844 fail:
5845 return NULL;
5846 }
5847
5848
5849 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
5850 PyObject *obj;
5851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5852 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5853 Py_INCREF(obj);
5854 return Py_BuildValue((char *)"");
5855 }
5856 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
5857 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5858 return 1;
5859 }
5860
5861
5862 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
5863 PyObject *pyobj;
5864
5865 {
5866 #if wxUSE_UNICODE
5867 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5868 #else
5869 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5870 #endif
5871 }
5872 return pyobj;
5873 }
5874
5875
5876 static int _wrap_StaticBoxNameStr_set(PyObject *) {
5877 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5878 return 1;
5879 }
5880
5881
5882 static PyObject *_wrap_StaticBoxNameStr_get(void) {
5883 PyObject *pyobj;
5884
5885 {
5886 #if wxUSE_UNICODE
5887 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5888 #else
5889 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5890 #endif
5891 }
5892 return pyobj;
5893 }
5894
5895
5896 static int _wrap_StaticTextNameStr_set(PyObject *) {
5897 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5898 return 1;
5899 }
5900
5901
5902 static PyObject *_wrap_StaticTextNameStr_get(void) {
5903 PyObject *pyobj;
5904
5905 {
5906 #if wxUSE_UNICODE
5907 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5908 #else
5909 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5910 #endif
5911 }
5912 return pyobj;
5913 }
5914
5915
5916 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5917 PyObject *resultobj;
5918 wxWindow *arg1 = (wxWindow *) 0 ;
5919 int arg2 = (int) -1 ;
5920 wxString const &arg3_defvalue = wxPyEmptyString ;
5921 wxString *arg3 = (wxString *) &arg3_defvalue ;
5922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5924 wxSize const &arg5_defvalue = wxDefaultSize ;
5925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5926 long arg6 = (long) 0 ;
5927 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5928 wxString *arg7 = (wxString *) &arg7_defvalue ;
5929 wxStaticBox *result;
5930 bool temp3 = false ;
5931 wxPoint temp4 ;
5932 wxSize temp5 ;
5933 bool temp7 = false ;
5934 PyObject * obj0 = 0 ;
5935 PyObject * obj1 = 0 ;
5936 PyObject * obj2 = 0 ;
5937 PyObject * obj3 = 0 ;
5938 PyObject * obj4 = 0 ;
5939 PyObject * obj5 = 0 ;
5940 PyObject * obj6 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5947 if (SWIG_arg_fail(1)) SWIG_fail;
5948 if (obj1) {
5949 {
5950 arg2 = (int)(SWIG_As_int(obj1));
5951 if (SWIG_arg_fail(2)) SWIG_fail;
5952 }
5953 }
5954 if (obj2) {
5955 {
5956 arg3 = wxString_in_helper(obj2);
5957 if (arg3 == NULL) SWIG_fail;
5958 temp3 = true;
5959 }
5960 }
5961 if (obj3) {
5962 {
5963 arg4 = &temp4;
5964 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5965 }
5966 }
5967 if (obj4) {
5968 {
5969 arg5 = &temp5;
5970 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5971 }
5972 }
5973 if (obj5) {
5974 {
5975 arg6 = (long)(SWIG_As_long(obj5));
5976 if (SWIG_arg_fail(6)) SWIG_fail;
5977 }
5978 }
5979 if (obj6) {
5980 {
5981 arg7 = wxString_in_helper(obj6);
5982 if (arg7 == NULL) SWIG_fail;
5983 temp7 = true;
5984 }
5985 }
5986 {
5987 if (!wxPyCheckForApp()) SWIG_fail;
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
5995 {
5996 if (temp3)
5997 delete arg3;
5998 }
5999 {
6000 if (temp7)
6001 delete arg7;
6002 }
6003 return resultobj;
6004 fail:
6005 {
6006 if (temp3)
6007 delete arg3;
6008 }
6009 {
6010 if (temp7)
6011 delete arg7;
6012 }
6013 return NULL;
6014 }
6015
6016
6017 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6018 PyObject *resultobj;
6019 wxStaticBox *result;
6020 char *kwnames[] = {
6021 NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6025 {
6026 if (!wxPyCheckForApp()) SWIG_fail;
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 result = (wxStaticBox *)new wxStaticBox();
6029
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6034 return resultobj;
6035 fail:
6036 return NULL;
6037 }
6038
6039
6040 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6041 PyObject *resultobj;
6042 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6043 wxWindow *arg2 = (wxWindow *) 0 ;
6044 int arg3 = (int) -1 ;
6045 wxString const &arg4_defvalue = wxPyEmptyString ;
6046 wxString *arg4 = (wxString *) &arg4_defvalue ;
6047 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6048 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6049 wxSize const &arg6_defvalue = wxDefaultSize ;
6050 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6051 long arg7 = (long) 0 ;
6052 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6053 wxString *arg8 = (wxString *) &arg8_defvalue ;
6054 bool result;
6055 bool temp4 = false ;
6056 wxPoint temp5 ;
6057 wxSize temp6 ;
6058 bool temp8 = false ;
6059 PyObject * obj0 = 0 ;
6060 PyObject * obj1 = 0 ;
6061 PyObject * obj2 = 0 ;
6062 PyObject * obj3 = 0 ;
6063 PyObject * obj4 = 0 ;
6064 PyObject * obj5 = 0 ;
6065 PyObject * obj6 = 0 ;
6066 PyObject * obj7 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6069 };
6070
6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6073 if (SWIG_arg_fail(1)) SWIG_fail;
6074 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6075 if (SWIG_arg_fail(2)) SWIG_fail;
6076 if (obj2) {
6077 {
6078 arg3 = (int)(SWIG_As_int(obj2));
6079 if (SWIG_arg_fail(3)) SWIG_fail;
6080 }
6081 }
6082 if (obj3) {
6083 {
6084 arg4 = wxString_in_helper(obj3);
6085 if (arg4 == NULL) SWIG_fail;
6086 temp4 = true;
6087 }
6088 }
6089 if (obj4) {
6090 {
6091 arg5 = &temp5;
6092 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6093 }
6094 }
6095 if (obj5) {
6096 {
6097 arg6 = &temp6;
6098 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6099 }
6100 }
6101 if (obj6) {
6102 {
6103 arg7 = (long)(SWIG_As_long(obj6));
6104 if (SWIG_arg_fail(7)) SWIG_fail;
6105 }
6106 }
6107 if (obj7) {
6108 {
6109 arg8 = wxString_in_helper(obj7);
6110 if (arg8 == NULL) SWIG_fail;
6111 temp8 = true;
6112 }
6113 }
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6117
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 {
6122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6123 }
6124 {
6125 if (temp4)
6126 delete arg4;
6127 }
6128 {
6129 if (temp8)
6130 delete arg8;
6131 }
6132 return resultobj;
6133 fail:
6134 {
6135 if (temp4)
6136 delete arg4;
6137 }
6138 {
6139 if (temp8)
6140 delete arg8;
6141 }
6142 return NULL;
6143 }
6144
6145
6146 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6147 PyObject *resultobj;
6148 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6149 wxVisualAttributes result;
6150 PyObject * obj0 = 0 ;
6151 char *kwnames[] = {
6152 (char *) "variant", NULL
6153 };
6154
6155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6156 if (obj0) {
6157 {
6158 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6159 if (SWIG_arg_fail(1)) SWIG_fail;
6160 }
6161 }
6162 {
6163 if (!wxPyCheckForApp()) SWIG_fail;
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 {
6171 wxVisualAttributes * resultptr;
6172 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6173 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6174 }
6175 return resultobj;
6176 fail:
6177 return NULL;
6178 }
6179
6180
6181 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6182 PyObject *obj;
6183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6184 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6185 Py_INCREF(obj);
6186 return Py_BuildValue((char *)"");
6187 }
6188 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6189 PyObject *resultobj;
6190 wxWindow *arg1 = (wxWindow *) 0 ;
6191 int arg2 = (int) -1 ;
6192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6194 wxSize const &arg4_defvalue = wxDefaultSize ;
6195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6196 long arg5 = (long) wxLI_HORIZONTAL ;
6197 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6198 wxString *arg6 = (wxString *) &arg6_defvalue ;
6199 wxStaticLine *result;
6200 wxPoint temp3 ;
6201 wxSize temp4 ;
6202 bool temp6 = false ;
6203 PyObject * obj0 = 0 ;
6204 PyObject * obj1 = 0 ;
6205 PyObject * obj2 = 0 ;
6206 PyObject * obj3 = 0 ;
6207 PyObject * obj4 = 0 ;
6208 PyObject * obj5 = 0 ;
6209 char *kwnames[] = {
6210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6211 };
6212
6213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6215 if (SWIG_arg_fail(1)) SWIG_fail;
6216 if (obj1) {
6217 {
6218 arg2 = (int)(SWIG_As_int(obj1));
6219 if (SWIG_arg_fail(2)) SWIG_fail;
6220 }
6221 }
6222 if (obj2) {
6223 {
6224 arg3 = &temp3;
6225 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6226 }
6227 }
6228 if (obj3) {
6229 {
6230 arg4 = &temp4;
6231 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6232 }
6233 }
6234 if (obj4) {
6235 {
6236 arg5 = (long)(SWIG_As_long(obj4));
6237 if (SWIG_arg_fail(5)) SWIG_fail;
6238 }
6239 }
6240 if (obj5) {
6241 {
6242 arg6 = wxString_in_helper(obj5);
6243 if (arg6 == NULL) SWIG_fail;
6244 temp6 = true;
6245 }
6246 }
6247 {
6248 if (!wxPyCheckForApp()) SWIG_fail;
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6251
6252 wxPyEndAllowThreads(__tstate);
6253 if (PyErr_Occurred()) SWIG_fail;
6254 }
6255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6256 {
6257 if (temp6)
6258 delete arg6;
6259 }
6260 return resultobj;
6261 fail:
6262 {
6263 if (temp6)
6264 delete arg6;
6265 }
6266 return NULL;
6267 }
6268
6269
6270 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6271 PyObject *resultobj;
6272 wxStaticLine *result;
6273 char *kwnames[] = {
6274 NULL
6275 };
6276
6277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6278 {
6279 if (!wxPyCheckForApp()) SWIG_fail;
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 result = (wxStaticLine *)new wxStaticLine();
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
6286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6287 return resultobj;
6288 fail:
6289 return NULL;
6290 }
6291
6292
6293 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj;
6295 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6296 wxWindow *arg2 = (wxWindow *) 0 ;
6297 int arg3 = (int) -1 ;
6298 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6299 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6300 wxSize const &arg5_defvalue = wxDefaultSize ;
6301 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6302 long arg6 = (long) wxLI_HORIZONTAL ;
6303 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6304 wxString *arg7 = (wxString *) &arg7_defvalue ;
6305 bool result;
6306 wxPoint temp4 ;
6307 wxSize temp5 ;
6308 bool temp7 = false ;
6309 PyObject * obj0 = 0 ;
6310 PyObject * obj1 = 0 ;
6311 PyObject * obj2 = 0 ;
6312 PyObject * obj3 = 0 ;
6313 PyObject * obj4 = 0 ;
6314 PyObject * obj5 = 0 ;
6315 PyObject * obj6 = 0 ;
6316 char *kwnames[] = {
6317 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6318 };
6319
6320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6322 if (SWIG_arg_fail(1)) SWIG_fail;
6323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6324 if (SWIG_arg_fail(2)) SWIG_fail;
6325 if (obj2) {
6326 {
6327 arg3 = (int)(SWIG_As_int(obj2));
6328 if (SWIG_arg_fail(3)) SWIG_fail;
6329 }
6330 }
6331 if (obj3) {
6332 {
6333 arg4 = &temp4;
6334 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6335 }
6336 }
6337 if (obj4) {
6338 {
6339 arg5 = &temp5;
6340 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6341 }
6342 }
6343 if (obj5) {
6344 {
6345 arg6 = (long)(SWIG_As_long(obj5));
6346 if (SWIG_arg_fail(6)) SWIG_fail;
6347 }
6348 }
6349 if (obj6) {
6350 {
6351 arg7 = wxString_in_helper(obj6);
6352 if (arg7 == NULL) SWIG_fail;
6353 temp7 = true;
6354 }
6355 }
6356 {
6357 PyThreadState* __tstate = wxPyBeginAllowThreads();
6358 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6359
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 {
6364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6365 }
6366 {
6367 if (temp7)
6368 delete arg7;
6369 }
6370 return resultobj;
6371 fail:
6372 {
6373 if (temp7)
6374 delete arg7;
6375 }
6376 return NULL;
6377 }
6378
6379
6380 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6381 PyObject *resultobj;
6382 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6383 bool result;
6384 PyObject * obj0 = 0 ;
6385 char *kwnames[] = {
6386 (char *) "self", NULL
6387 };
6388
6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6391 if (SWIG_arg_fail(1)) SWIG_fail;
6392 {
6393 PyThreadState* __tstate = wxPyBeginAllowThreads();
6394 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6395
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 {
6400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6401 }
6402 return resultobj;
6403 fail:
6404 return NULL;
6405 }
6406
6407
6408 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6409 PyObject *resultobj;
6410 int result;
6411 char *kwnames[] = {
6412 NULL
6413 };
6414
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 result = (int)wxStaticLine::GetDefaultSize();
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 {
6424 resultobj = SWIG_From_int((int)(result));
6425 }
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj;
6434 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6435 wxVisualAttributes result;
6436 PyObject * obj0 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "variant", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6442 if (obj0) {
6443 {
6444 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6445 if (SWIG_arg_fail(1)) SWIG_fail;
6446 }
6447 }
6448 {
6449 if (!wxPyCheckForApp()) SWIG_fail;
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 {
6457 wxVisualAttributes * resultptr;
6458 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6460 }
6461 return resultobj;
6462 fail:
6463 return NULL;
6464 }
6465
6466
6467 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6468 PyObject *obj;
6469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6470 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6471 Py_INCREF(obj);
6472 return Py_BuildValue((char *)"");
6473 }
6474 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6475 PyObject *resultobj;
6476 wxWindow *arg1 = (wxWindow *) 0 ;
6477 int arg2 = (int) -1 ;
6478 wxString const &arg3_defvalue = wxPyEmptyString ;
6479 wxString *arg3 = (wxString *) &arg3_defvalue ;
6480 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6481 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6482 wxSize const &arg5_defvalue = wxDefaultSize ;
6483 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6484 long arg6 = (long) 0 ;
6485 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6486 wxString *arg7 = (wxString *) &arg7_defvalue ;
6487 wxStaticText *result;
6488 bool temp3 = false ;
6489 wxPoint temp4 ;
6490 wxSize temp5 ;
6491 bool temp7 = false ;
6492 PyObject * obj0 = 0 ;
6493 PyObject * obj1 = 0 ;
6494 PyObject * obj2 = 0 ;
6495 PyObject * obj3 = 0 ;
6496 PyObject * obj4 = 0 ;
6497 PyObject * obj5 = 0 ;
6498 PyObject * obj6 = 0 ;
6499 char *kwnames[] = {
6500 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6501 };
6502
6503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6505 if (SWIG_arg_fail(1)) SWIG_fail;
6506 if (obj1) {
6507 {
6508 arg2 = (int)(SWIG_As_int(obj1));
6509 if (SWIG_arg_fail(2)) SWIG_fail;
6510 }
6511 }
6512 if (obj2) {
6513 {
6514 arg3 = wxString_in_helper(obj2);
6515 if (arg3 == NULL) SWIG_fail;
6516 temp3 = true;
6517 }
6518 }
6519 if (obj3) {
6520 {
6521 arg4 = &temp4;
6522 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6523 }
6524 }
6525 if (obj4) {
6526 {
6527 arg5 = &temp5;
6528 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6529 }
6530 }
6531 if (obj5) {
6532 {
6533 arg6 = (long)(SWIG_As_long(obj5));
6534 if (SWIG_arg_fail(6)) SWIG_fail;
6535 }
6536 }
6537 if (obj6) {
6538 {
6539 arg7 = wxString_in_helper(obj6);
6540 if (arg7 == NULL) SWIG_fail;
6541 temp7 = true;
6542 }
6543 }
6544 {
6545 if (!wxPyCheckForApp()) SWIG_fail;
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6553 {
6554 if (temp3)
6555 delete arg3;
6556 }
6557 {
6558 if (temp7)
6559 delete arg7;
6560 }
6561 return resultobj;
6562 fail:
6563 {
6564 if (temp3)
6565 delete arg3;
6566 }
6567 {
6568 if (temp7)
6569 delete arg7;
6570 }
6571 return NULL;
6572 }
6573
6574
6575 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6576 PyObject *resultobj;
6577 wxStaticText *result;
6578 char *kwnames[] = {
6579 NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6583 {
6584 if (!wxPyCheckForApp()) SWIG_fail;
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 result = (wxStaticText *)new wxStaticText();
6587
6588 wxPyEndAllowThreads(__tstate);
6589 if (PyErr_Occurred()) SWIG_fail;
6590 }
6591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6592 return resultobj;
6593 fail:
6594 return NULL;
6595 }
6596
6597
6598 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6599 PyObject *resultobj;
6600 wxStaticText *arg1 = (wxStaticText *) 0 ;
6601 wxWindow *arg2 = (wxWindow *) 0 ;
6602 int arg3 = (int) -1 ;
6603 wxString const &arg4_defvalue = wxPyEmptyString ;
6604 wxString *arg4 = (wxString *) &arg4_defvalue ;
6605 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6606 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6607 wxSize const &arg6_defvalue = wxDefaultSize ;
6608 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6609 long arg7 = (long) 0 ;
6610 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6611 wxString *arg8 = (wxString *) &arg8_defvalue ;
6612 bool result;
6613 bool temp4 = false ;
6614 wxPoint temp5 ;
6615 wxSize temp6 ;
6616 bool temp8 = false ;
6617 PyObject * obj0 = 0 ;
6618 PyObject * obj1 = 0 ;
6619 PyObject * obj2 = 0 ;
6620 PyObject * obj3 = 0 ;
6621 PyObject * obj4 = 0 ;
6622 PyObject * obj5 = 0 ;
6623 PyObject * obj6 = 0 ;
6624 PyObject * obj7 = 0 ;
6625 char *kwnames[] = {
6626 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6627 };
6628
6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail;
6632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6633 if (SWIG_arg_fail(2)) SWIG_fail;
6634 if (obj2) {
6635 {
6636 arg3 = (int)(SWIG_As_int(obj2));
6637 if (SWIG_arg_fail(3)) SWIG_fail;
6638 }
6639 }
6640 if (obj3) {
6641 {
6642 arg4 = wxString_in_helper(obj3);
6643 if (arg4 == NULL) SWIG_fail;
6644 temp4 = true;
6645 }
6646 }
6647 if (obj4) {
6648 {
6649 arg5 = &temp5;
6650 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6651 }
6652 }
6653 if (obj5) {
6654 {
6655 arg6 = &temp6;
6656 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6657 }
6658 }
6659 if (obj6) {
6660 {
6661 arg7 = (long)(SWIG_As_long(obj6));
6662 if (SWIG_arg_fail(7)) SWIG_fail;
6663 }
6664 }
6665 if (obj7) {
6666 {
6667 arg8 = wxString_in_helper(obj7);
6668 if (arg8 == NULL) SWIG_fail;
6669 temp8 = true;
6670 }
6671 }
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6675
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
6679 {
6680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6681 }
6682 {
6683 if (temp4)
6684 delete arg4;
6685 }
6686 {
6687 if (temp8)
6688 delete arg8;
6689 }
6690 return resultobj;
6691 fail:
6692 {
6693 if (temp4)
6694 delete arg4;
6695 }
6696 {
6697 if (temp8)
6698 delete arg8;
6699 }
6700 return NULL;
6701 }
6702
6703
6704 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6705 PyObject *resultobj;
6706 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6707 wxVisualAttributes result;
6708 PyObject * obj0 = 0 ;
6709 char *kwnames[] = {
6710 (char *) "variant", NULL
6711 };
6712
6713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6714 if (obj0) {
6715 {
6716 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6717 if (SWIG_arg_fail(1)) SWIG_fail;
6718 }
6719 }
6720 {
6721 if (!wxPyCheckForApp()) SWIG_fail;
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
6723 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 {
6729 wxVisualAttributes * resultptr;
6730 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6732 }
6733 return resultobj;
6734 fail:
6735 return NULL;
6736 }
6737
6738
6739 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6740 PyObject *obj;
6741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6742 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6743 Py_INCREF(obj);
6744 return Py_BuildValue((char *)"");
6745 }
6746 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6747 PyObject *resultobj;
6748 wxWindow *arg1 = (wxWindow *) 0 ;
6749 int arg2 = (int) -1 ;
6750 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6751 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6752 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6753 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6754 wxSize const &arg5_defvalue = wxDefaultSize ;
6755 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6756 long arg6 = (long) 0 ;
6757 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6758 wxString *arg7 = (wxString *) &arg7_defvalue ;
6759 wxStaticBitmap *result;
6760 wxPoint temp4 ;
6761 wxSize temp5 ;
6762 bool temp7 = false ;
6763 PyObject * obj0 = 0 ;
6764 PyObject * obj1 = 0 ;
6765 PyObject * obj2 = 0 ;
6766 PyObject * obj3 = 0 ;
6767 PyObject * obj4 = 0 ;
6768 PyObject * obj5 = 0 ;
6769 PyObject * obj6 = 0 ;
6770 char *kwnames[] = {
6771 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6772 };
6773
6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail;
6777 if (obj1) {
6778 {
6779 arg2 = (int)(SWIG_As_int(obj1));
6780 if (SWIG_arg_fail(2)) SWIG_fail;
6781 }
6782 }
6783 if (obj2) {
6784 {
6785 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6786 if (SWIG_arg_fail(3)) SWIG_fail;
6787 if (arg3 == NULL) {
6788 SWIG_null_ref("wxBitmap");
6789 }
6790 if (SWIG_arg_fail(3)) SWIG_fail;
6791 }
6792 }
6793 if (obj3) {
6794 {
6795 arg4 = &temp4;
6796 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6797 }
6798 }
6799 if (obj4) {
6800 {
6801 arg5 = &temp5;
6802 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6803 }
6804 }
6805 if (obj5) {
6806 {
6807 arg6 = (long)(SWIG_As_long(obj5));
6808 if (SWIG_arg_fail(6)) SWIG_fail;
6809 }
6810 }
6811 if (obj6) {
6812 {
6813 arg7 = wxString_in_helper(obj6);
6814 if (arg7 == NULL) SWIG_fail;
6815 temp7 = true;
6816 }
6817 }
6818 {
6819 if (!wxPyCheckForApp()) SWIG_fail;
6820 PyThreadState* __tstate = wxPyBeginAllowThreads();
6821 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6822
6823 wxPyEndAllowThreads(__tstate);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 }
6826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6827 {
6828 if (temp7)
6829 delete arg7;
6830 }
6831 return resultobj;
6832 fail:
6833 {
6834 if (temp7)
6835 delete arg7;
6836 }
6837 return NULL;
6838 }
6839
6840
6841 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6842 PyObject *resultobj;
6843 wxStaticBitmap *result;
6844 char *kwnames[] = {
6845 NULL
6846 };
6847
6848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6849 {
6850 if (!wxPyCheckForApp()) SWIG_fail;
6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
6852 result = (wxStaticBitmap *)new wxStaticBitmap();
6853
6854 wxPyEndAllowThreads(__tstate);
6855 if (PyErr_Occurred()) SWIG_fail;
6856 }
6857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6858 return resultobj;
6859 fail:
6860 return NULL;
6861 }
6862
6863
6864 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6865 PyObject *resultobj;
6866 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6867 wxWindow *arg2 = (wxWindow *) 0 ;
6868 int arg3 = (int) -1 ;
6869 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6870 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
6871 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6872 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6873 wxSize const &arg6_defvalue = wxDefaultSize ;
6874 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6875 long arg7 = (long) 0 ;
6876 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6877 wxString *arg8 = (wxString *) &arg8_defvalue ;
6878 bool result;
6879 wxPoint temp5 ;
6880 wxSize temp6 ;
6881 bool temp8 = false ;
6882 PyObject * obj0 = 0 ;
6883 PyObject * obj1 = 0 ;
6884 PyObject * obj2 = 0 ;
6885 PyObject * obj3 = 0 ;
6886 PyObject * obj4 = 0 ;
6887 PyObject * obj5 = 0 ;
6888 PyObject * obj6 = 0 ;
6889 PyObject * obj7 = 0 ;
6890 char *kwnames[] = {
6891 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6892 };
6893
6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6896 if (SWIG_arg_fail(1)) SWIG_fail;
6897 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6898 if (SWIG_arg_fail(2)) SWIG_fail;
6899 if (obj2) {
6900 {
6901 arg3 = (int)(SWIG_As_int(obj2));
6902 if (SWIG_arg_fail(3)) SWIG_fail;
6903 }
6904 }
6905 if (obj3) {
6906 {
6907 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6908 if (SWIG_arg_fail(4)) SWIG_fail;
6909 if (arg4 == NULL) {
6910 SWIG_null_ref("wxBitmap");
6911 }
6912 if (SWIG_arg_fail(4)) SWIG_fail;
6913 }
6914 }
6915 if (obj4) {
6916 {
6917 arg5 = &temp5;
6918 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6919 }
6920 }
6921 if (obj5) {
6922 {
6923 arg6 = &temp6;
6924 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6925 }
6926 }
6927 if (obj6) {
6928 {
6929 arg7 = (long)(SWIG_As_long(obj6));
6930 if (SWIG_arg_fail(7)) SWIG_fail;
6931 }
6932 }
6933 if (obj7) {
6934 {
6935 arg8 = wxString_in_helper(obj7);
6936 if (arg8 == NULL) SWIG_fail;
6937 temp8 = true;
6938 }
6939 }
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 {
6948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6949 }
6950 {
6951 if (temp8)
6952 delete arg8;
6953 }
6954 return resultobj;
6955 fail:
6956 {
6957 if (temp8)
6958 delete arg8;
6959 }
6960 return NULL;
6961 }
6962
6963
6964 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj;
6966 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6967 wxBitmap result;
6968 PyObject * obj0 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "self", NULL
6971 };
6972
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
6974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6975 if (SWIG_arg_fail(1)) SWIG_fail;
6976 {
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 result = (arg1)->GetBitmap();
6979
6980 wxPyEndAllowThreads(__tstate);
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
6983 {
6984 wxBitmap * resultptr;
6985 resultptr = new wxBitmap((wxBitmap &)(result));
6986 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6987 }
6988 return resultobj;
6989 fail:
6990 return NULL;
6991 }
6992
6993
6994 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6997 wxBitmap *arg2 = 0 ;
6998 PyObject * obj0 = 0 ;
6999 PyObject * obj1 = 0 ;
7000 char *kwnames[] = {
7001 (char *) "self",(char *) "bitmap", NULL
7002 };
7003
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
7005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7006 if (SWIG_arg_fail(1)) SWIG_fail;
7007 {
7008 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7009 if (SWIG_arg_fail(2)) SWIG_fail;
7010 if (arg2 == NULL) {
7011 SWIG_null_ref("wxBitmap");
7012 }
7013 if (SWIG_arg_fail(2)) SWIG_fail;
7014 }
7015 {
7016 PyThreadState* __tstate = wxPyBeginAllowThreads();
7017 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7018
7019 wxPyEndAllowThreads(__tstate);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 }
7022 Py_INCREF(Py_None); resultobj = Py_None;
7023 return resultobj;
7024 fail:
7025 return NULL;
7026 }
7027
7028
7029 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7030 PyObject *resultobj;
7031 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7032 wxIcon *arg2 = 0 ;
7033 PyObject * obj0 = 0 ;
7034 PyObject * obj1 = 0 ;
7035 char *kwnames[] = {
7036 (char *) "self",(char *) "icon", NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7041 if (SWIG_arg_fail(1)) SWIG_fail;
7042 {
7043 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7044 if (SWIG_arg_fail(2)) SWIG_fail;
7045 if (arg2 == NULL) {
7046 SWIG_null_ref("wxIcon");
7047 }
7048 if (SWIG_arg_fail(2)) SWIG_fail;
7049 }
7050 {
7051 PyThreadState* __tstate = wxPyBeginAllowThreads();
7052 (arg1)->SetIcon((wxIcon const &)*arg2);
7053
7054 wxPyEndAllowThreads(__tstate);
7055 if (PyErr_Occurred()) SWIG_fail;
7056 }
7057 Py_INCREF(Py_None); resultobj = Py_None;
7058 return resultobj;
7059 fail:
7060 return NULL;
7061 }
7062
7063
7064 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7065 PyObject *resultobj;
7066 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7067 wxVisualAttributes result;
7068 PyObject * obj0 = 0 ;
7069 char *kwnames[] = {
7070 (char *) "variant", NULL
7071 };
7072
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7074 if (obj0) {
7075 {
7076 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7077 if (SWIG_arg_fail(1)) SWIG_fail;
7078 }
7079 }
7080 {
7081 if (!wxPyCheckForApp()) SWIG_fail;
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7084
7085 wxPyEndAllowThreads(__tstate);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 {
7089 wxVisualAttributes * resultptr;
7090 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7091 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7092 }
7093 return resultobj;
7094 fail:
7095 return NULL;
7096 }
7097
7098
7099 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7100 PyObject *obj;
7101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7102 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7103 Py_INCREF(obj);
7104 return Py_BuildValue((char *)"");
7105 }
7106 static int _wrap_ListBoxNameStr_set(PyObject *) {
7107 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7108 return 1;
7109 }
7110
7111
7112 static PyObject *_wrap_ListBoxNameStr_get(void) {
7113 PyObject *pyobj;
7114
7115 {
7116 #if wxUSE_UNICODE
7117 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7118 #else
7119 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7120 #endif
7121 }
7122 return pyobj;
7123 }
7124
7125
7126 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj;
7128 wxWindow *arg1 = (wxWindow *) 0 ;
7129 int arg2 = (int) -1 ;
7130 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7131 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7132 wxSize const &arg4_defvalue = wxDefaultSize ;
7133 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7134 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7135 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7136 long arg6 = (long) 0 ;
7137 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7138 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7139 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7140 wxString *arg8 = (wxString *) &arg8_defvalue ;
7141 wxListBox *result;
7142 wxPoint temp3 ;
7143 wxSize temp4 ;
7144 bool temp5 = false ;
7145 bool temp8 = false ;
7146 PyObject * obj0 = 0 ;
7147 PyObject * obj1 = 0 ;
7148 PyObject * obj2 = 0 ;
7149 PyObject * obj3 = 0 ;
7150 PyObject * obj4 = 0 ;
7151 PyObject * obj5 = 0 ;
7152 PyObject * obj6 = 0 ;
7153 PyObject * obj7 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7160 if (SWIG_arg_fail(1)) SWIG_fail;
7161 if (obj1) {
7162 {
7163 arg2 = (int)(SWIG_As_int(obj1));
7164 if (SWIG_arg_fail(2)) SWIG_fail;
7165 }
7166 }
7167 if (obj2) {
7168 {
7169 arg3 = &temp3;
7170 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7171 }
7172 }
7173 if (obj3) {
7174 {
7175 arg4 = &temp4;
7176 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7177 }
7178 }
7179 if (obj4) {
7180 {
7181 if (! PySequence_Check(obj4)) {
7182 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7183 SWIG_fail;
7184 }
7185 arg5 = new wxArrayString;
7186 temp5 = true;
7187 int i, len=PySequence_Length(obj4);
7188 for (i=0; i<len; i++) {
7189 PyObject* item = PySequence_GetItem(obj4, i);
7190 #if wxUSE_UNICODE
7191 PyObject* str = PyObject_Unicode(item);
7192 #else
7193 PyObject* str = PyObject_Str(item);
7194 #endif
7195 if (PyErr_Occurred()) SWIG_fail;
7196 arg5->Add(Py2wxString(str));
7197 Py_DECREF(item);
7198 Py_DECREF(str);
7199 }
7200 }
7201 }
7202 if (obj5) {
7203 {
7204 arg6 = (long)(SWIG_As_long(obj5));
7205 if (SWIG_arg_fail(6)) SWIG_fail;
7206 }
7207 }
7208 if (obj6) {
7209 {
7210 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7211 if (SWIG_arg_fail(7)) SWIG_fail;
7212 if (arg7 == NULL) {
7213 SWIG_null_ref("wxValidator");
7214 }
7215 if (SWIG_arg_fail(7)) SWIG_fail;
7216 }
7217 }
7218 if (obj7) {
7219 {
7220 arg8 = wxString_in_helper(obj7);
7221 if (arg8 == NULL) SWIG_fail;
7222 temp8 = true;
7223 }
7224 }
7225 {
7226 if (!wxPyCheckForApp()) SWIG_fail;
7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7228 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7229
7230 wxPyEndAllowThreads(__tstate);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7234 {
7235 if (temp5) delete arg5;
7236 }
7237 {
7238 if (temp8)
7239 delete arg8;
7240 }
7241 return resultobj;
7242 fail:
7243 {
7244 if (temp5) delete arg5;
7245 }
7246 {
7247 if (temp8)
7248 delete arg8;
7249 }
7250 return NULL;
7251 }
7252
7253
7254 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxListBox *result;
7257 char *kwnames[] = {
7258 NULL
7259 };
7260
7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7262 {
7263 if (!wxPyCheckForApp()) SWIG_fail;
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 result = (wxListBox *)new wxListBox();
7266
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7271 return resultobj;
7272 fail:
7273 return NULL;
7274 }
7275
7276
7277 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7278 PyObject *resultobj;
7279 wxListBox *arg1 = (wxListBox *) 0 ;
7280 wxWindow *arg2 = (wxWindow *) 0 ;
7281 int arg3 = (int) -1 ;
7282 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7283 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7284 wxSize const &arg5_defvalue = wxDefaultSize ;
7285 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7286 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7287 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7288 long arg7 = (long) 0 ;
7289 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7290 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7291 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7292 wxString *arg9 = (wxString *) &arg9_defvalue ;
7293 bool result;
7294 wxPoint temp4 ;
7295 wxSize temp5 ;
7296 bool temp6 = false ;
7297 bool temp9 = false ;
7298 PyObject * obj0 = 0 ;
7299 PyObject * obj1 = 0 ;
7300 PyObject * obj2 = 0 ;
7301 PyObject * obj3 = 0 ;
7302 PyObject * obj4 = 0 ;
7303 PyObject * obj5 = 0 ;
7304 PyObject * obj6 = 0 ;
7305 PyObject * obj7 = 0 ;
7306 PyObject * obj8 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7313 if (SWIG_arg_fail(1)) SWIG_fail;
7314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7315 if (SWIG_arg_fail(2)) SWIG_fail;
7316 if (obj2) {
7317 {
7318 arg3 = (int)(SWIG_As_int(obj2));
7319 if (SWIG_arg_fail(3)) SWIG_fail;
7320 }
7321 }
7322 if (obj3) {
7323 {
7324 arg4 = &temp4;
7325 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7326 }
7327 }
7328 if (obj4) {
7329 {
7330 arg5 = &temp5;
7331 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7332 }
7333 }
7334 if (obj5) {
7335 {
7336 if (! PySequence_Check(obj5)) {
7337 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7338 SWIG_fail;
7339 }
7340 arg6 = new wxArrayString;
7341 temp6 = true;
7342 int i, len=PySequence_Length(obj5);
7343 for (i=0; i<len; i++) {
7344 PyObject* item = PySequence_GetItem(obj5, i);
7345 #if wxUSE_UNICODE
7346 PyObject* str = PyObject_Unicode(item);
7347 #else
7348 PyObject* str = PyObject_Str(item);
7349 #endif
7350 if (PyErr_Occurred()) SWIG_fail;
7351 arg6->Add(Py2wxString(str));
7352 Py_DECREF(item);
7353 Py_DECREF(str);
7354 }
7355 }
7356 }
7357 if (obj6) {
7358 {
7359 arg7 = (long)(SWIG_As_long(obj6));
7360 if (SWIG_arg_fail(7)) SWIG_fail;
7361 }
7362 }
7363 if (obj7) {
7364 {
7365 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7366 if (SWIG_arg_fail(8)) SWIG_fail;
7367 if (arg8 == NULL) {
7368 SWIG_null_ref("wxValidator");
7369 }
7370 if (SWIG_arg_fail(8)) SWIG_fail;
7371 }
7372 }
7373 if (obj8) {
7374 {
7375 arg9 = wxString_in_helper(obj8);
7376 if (arg9 == NULL) SWIG_fail;
7377 temp9 = true;
7378 }
7379 }
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 {
7388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7389 }
7390 {
7391 if (temp6) delete arg6;
7392 }
7393 {
7394 if (temp9)
7395 delete arg9;
7396 }
7397 return resultobj;
7398 fail:
7399 {
7400 if (temp6) delete arg6;
7401 }
7402 {
7403 if (temp9)
7404 delete arg9;
7405 }
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 wxListBox *arg1 = (wxListBox *) 0 ;
7413 wxString *arg2 = 0 ;
7414 int arg3 ;
7415 PyObject *arg4 = (PyObject *) NULL ;
7416 bool temp2 = false ;
7417 PyObject * obj0 = 0 ;
7418 PyObject * obj1 = 0 ;
7419 PyObject * obj2 = 0 ;
7420 PyObject * obj3 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7427 if (SWIG_arg_fail(1)) SWIG_fail;
7428 {
7429 arg2 = wxString_in_helper(obj1);
7430 if (arg2 == NULL) SWIG_fail;
7431 temp2 = true;
7432 }
7433 {
7434 arg3 = (int)(SWIG_As_int(obj2));
7435 if (SWIG_arg_fail(3)) SWIG_fail;
7436 }
7437 if (obj3) {
7438 arg4 = obj3;
7439 }
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 Py_INCREF(Py_None); resultobj = Py_None;
7448 {
7449 if (temp2)
7450 delete arg2;
7451 }
7452 return resultobj;
7453 fail:
7454 {
7455 if (temp2)
7456 delete arg2;
7457 }
7458 return NULL;
7459 }
7460
7461
7462 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxListBox *arg1 = (wxListBox *) 0 ;
7465 wxArrayString *arg2 = 0 ;
7466 int arg3 ;
7467 bool temp2 = false ;
7468 PyObject * obj0 = 0 ;
7469 PyObject * obj1 = 0 ;
7470 PyObject * obj2 = 0 ;
7471 char *kwnames[] = {
7472 (char *) "self",(char *) "items",(char *) "pos", NULL
7473 };
7474
7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7477 if (SWIG_arg_fail(1)) SWIG_fail;
7478 {
7479 if (! PySequence_Check(obj1)) {
7480 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7481 SWIG_fail;
7482 }
7483 arg2 = new wxArrayString;
7484 temp2 = true;
7485 int i, len=PySequence_Length(obj1);
7486 for (i=0; i<len; i++) {
7487 PyObject* item = PySequence_GetItem(obj1, i);
7488 #if wxUSE_UNICODE
7489 PyObject* str = PyObject_Unicode(item);
7490 #else
7491 PyObject* str = PyObject_Str(item);
7492 #endif
7493 if (PyErr_Occurred()) SWIG_fail;
7494 arg2->Add(Py2wxString(str));
7495 Py_DECREF(item);
7496 Py_DECREF(str);
7497 }
7498 }
7499 {
7500 arg3 = (int)(SWIG_As_int(obj2));
7501 if (SWIG_arg_fail(3)) SWIG_fail;
7502 }
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7506
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 Py_INCREF(Py_None); resultobj = Py_None;
7511 {
7512 if (temp2) delete arg2;
7513 }
7514 return resultobj;
7515 fail:
7516 {
7517 if (temp2) delete arg2;
7518 }
7519 return NULL;
7520 }
7521
7522
7523 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7524 PyObject *resultobj;
7525 wxListBox *arg1 = (wxListBox *) 0 ;
7526 wxArrayString *arg2 = 0 ;
7527 bool temp2 = false ;
7528 PyObject * obj0 = 0 ;
7529 PyObject * obj1 = 0 ;
7530 char *kwnames[] = {
7531 (char *) "self",(char *) "items", NULL
7532 };
7533
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7536 if (SWIG_arg_fail(1)) SWIG_fail;
7537 {
7538 if (! PySequence_Check(obj1)) {
7539 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7540 SWIG_fail;
7541 }
7542 arg2 = new wxArrayString;
7543 temp2 = true;
7544 int i, len=PySequence_Length(obj1);
7545 for (i=0; i<len; i++) {
7546 PyObject* item = PySequence_GetItem(obj1, i);
7547 #if wxUSE_UNICODE
7548 PyObject* str = PyObject_Unicode(item);
7549 #else
7550 PyObject* str = PyObject_Str(item);
7551 #endif
7552 if (PyErr_Occurred()) SWIG_fail;
7553 arg2->Add(Py2wxString(str));
7554 Py_DECREF(item);
7555 Py_DECREF(str);
7556 }
7557 }
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 (arg1)->Set((wxArrayString const &)*arg2);
7561
7562 wxPyEndAllowThreads(__tstate);
7563 if (PyErr_Occurred()) SWIG_fail;
7564 }
7565 Py_INCREF(Py_None); resultobj = Py_None;
7566 {
7567 if (temp2) delete arg2;
7568 }
7569 return resultobj;
7570 fail:
7571 {
7572 if (temp2) delete arg2;
7573 }
7574 return NULL;
7575 }
7576
7577
7578 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7579 PyObject *resultobj;
7580 wxListBox *arg1 = (wxListBox *) 0 ;
7581 int arg2 ;
7582 bool result;
7583 PyObject * obj0 = 0 ;
7584 PyObject * obj1 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self",(char *) "n", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7591 if (SWIG_arg_fail(1)) SWIG_fail;
7592 {
7593 arg2 = (int)(SWIG_As_int(obj1));
7594 if (SWIG_arg_fail(2)) SWIG_fail;
7595 }
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7599
7600 wxPyEndAllowThreads(__tstate);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
7603 {
7604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7605 }
7606 return resultobj;
7607 fail:
7608 return NULL;
7609 }
7610
7611
7612 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7613 PyObject *resultobj;
7614 wxListBox *arg1 = (wxListBox *) 0 ;
7615 int arg2 ;
7616 bool arg3 = (bool) true ;
7617 PyObject * obj0 = 0 ;
7618 PyObject * obj1 = 0 ;
7619 PyObject * obj2 = 0 ;
7620 char *kwnames[] = {
7621 (char *) "self",(char *) "n",(char *) "select", NULL
7622 };
7623
7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7626 if (SWIG_arg_fail(1)) SWIG_fail;
7627 {
7628 arg2 = (int)(SWIG_As_int(obj1));
7629 if (SWIG_arg_fail(2)) SWIG_fail;
7630 }
7631 if (obj2) {
7632 {
7633 arg3 = (bool)(SWIG_As_bool(obj2));
7634 if (SWIG_arg_fail(3)) SWIG_fail;
7635 }
7636 }
7637 {
7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7639 (arg1)->SetSelection(arg2,arg3);
7640
7641 wxPyEndAllowThreads(__tstate);
7642 if (PyErr_Occurred()) SWIG_fail;
7643 }
7644 Py_INCREF(Py_None); resultobj = Py_None;
7645 return resultobj;
7646 fail:
7647 return NULL;
7648 }
7649
7650
7651 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7652 PyObject *resultobj;
7653 wxListBox *arg1 = (wxListBox *) 0 ;
7654 int arg2 ;
7655 PyObject * obj0 = 0 ;
7656 PyObject * obj1 = 0 ;
7657 char *kwnames[] = {
7658 (char *) "self",(char *) "n", NULL
7659 };
7660
7661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7663 if (SWIG_arg_fail(1)) SWIG_fail;
7664 {
7665 arg2 = (int)(SWIG_As_int(obj1));
7666 if (SWIG_arg_fail(2)) SWIG_fail;
7667 }
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 (arg1)->Select(arg2);
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 Py_INCREF(Py_None); resultobj = Py_None;
7676 return resultobj;
7677 fail:
7678 return NULL;
7679 }
7680
7681
7682 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7683 PyObject *resultobj;
7684 wxListBox *arg1 = (wxListBox *) 0 ;
7685 int arg2 ;
7686 PyObject * obj0 = 0 ;
7687 PyObject * obj1 = 0 ;
7688 char *kwnames[] = {
7689 (char *) "self",(char *) "n", NULL
7690 };
7691
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7694 if (SWIG_arg_fail(1)) SWIG_fail;
7695 {
7696 arg2 = (int)(SWIG_As_int(obj1));
7697 if (SWIG_arg_fail(2)) SWIG_fail;
7698 }
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 (arg1)->Deselect(arg2);
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 Py_INCREF(Py_None); resultobj = Py_None;
7707 return resultobj;
7708 fail:
7709 return NULL;
7710 }
7711
7712
7713 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7714 PyObject *resultobj;
7715 wxListBox *arg1 = (wxListBox *) 0 ;
7716 int arg2 = (int) -1 ;
7717 PyObject * obj0 = 0 ;
7718 PyObject * obj1 = 0 ;
7719 char *kwnames[] = {
7720 (char *) "self",(char *) "itemToLeaveSelected", NULL
7721 };
7722
7723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7725 if (SWIG_arg_fail(1)) SWIG_fail;
7726 if (obj1) {
7727 {
7728 arg2 = (int)(SWIG_As_int(obj1));
7729 if (SWIG_arg_fail(2)) SWIG_fail;
7730 }
7731 }
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 (arg1)->DeselectAll(arg2);
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 Py_INCREF(Py_None); resultobj = Py_None;
7740 return resultobj;
7741 fail:
7742 return NULL;
7743 }
7744
7745
7746 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7747 PyObject *resultobj;
7748 wxListBox *arg1 = (wxListBox *) 0 ;
7749 wxString *arg2 = 0 ;
7750 bool arg3 = (bool) true ;
7751 bool result;
7752 bool temp2 = false ;
7753 PyObject * obj0 = 0 ;
7754 PyObject * obj1 = 0 ;
7755 PyObject * obj2 = 0 ;
7756 char *kwnames[] = {
7757 (char *) "self",(char *) "s",(char *) "select", NULL
7758 };
7759
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7762 if (SWIG_arg_fail(1)) SWIG_fail;
7763 {
7764 arg2 = wxString_in_helper(obj1);
7765 if (arg2 == NULL) SWIG_fail;
7766 temp2 = true;
7767 }
7768 if (obj2) {
7769 {
7770 arg3 = (bool)(SWIG_As_bool(obj2));
7771 if (SWIG_arg_fail(3)) SWIG_fail;
7772 }
7773 }
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 {
7782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7783 }
7784 {
7785 if (temp2)
7786 delete arg2;
7787 }
7788 return resultobj;
7789 fail:
7790 {
7791 if (temp2)
7792 delete arg2;
7793 }
7794 return NULL;
7795 }
7796
7797
7798 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7799 PyObject *resultobj;
7800 wxListBox *arg1 = (wxListBox *) 0 ;
7801 PyObject *result;
7802 PyObject * obj0 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "self", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
7808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7809 if (SWIG_arg_fail(1)) SWIG_fail;
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 result = (PyObject *)wxListBox_GetSelections(arg1);
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 resultobj = result;
7818 return resultobj;
7819 fail:
7820 return NULL;
7821 }
7822
7823
7824 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7825 PyObject *resultobj;
7826 wxListBox *arg1 = (wxListBox *) 0 ;
7827 int arg2 ;
7828 PyObject * obj0 = 0 ;
7829 PyObject * obj1 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "self",(char *) "n", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
7835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7836 if (SWIG_arg_fail(1)) SWIG_fail;
7837 {
7838 arg2 = (int)(SWIG_As_int(obj1));
7839 if (SWIG_arg_fail(2)) SWIG_fail;
7840 }
7841 {
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 (arg1)->SetFirstItem(arg2);
7844
7845 wxPyEndAllowThreads(__tstate);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 }
7848 Py_INCREF(Py_None); resultobj = Py_None;
7849 return resultobj;
7850 fail:
7851 return NULL;
7852 }
7853
7854
7855 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7856 PyObject *resultobj;
7857 wxListBox *arg1 = (wxListBox *) 0 ;
7858 wxString *arg2 = 0 ;
7859 bool temp2 = false ;
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self",(char *) "s", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
7867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail;
7869 {
7870 arg2 = wxString_in_helper(obj1);
7871 if (arg2 == NULL) SWIG_fail;
7872 temp2 = true;
7873 }
7874 {
7875 PyThreadState* __tstate = wxPyBeginAllowThreads();
7876 (arg1)->SetFirstItem((wxString const &)*arg2);
7877
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
7881 Py_INCREF(Py_None); resultobj = Py_None;
7882 {
7883 if (temp2)
7884 delete arg2;
7885 }
7886 return resultobj;
7887 fail:
7888 {
7889 if (temp2)
7890 delete arg2;
7891 }
7892 return NULL;
7893 }
7894
7895
7896 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7897 PyObject *resultobj;
7898 wxListBox *arg1 = (wxListBox *) 0 ;
7899 int arg2 ;
7900 PyObject * obj0 = 0 ;
7901 PyObject * obj1 = 0 ;
7902 char *kwnames[] = {
7903 (char *) "self",(char *) "n", NULL
7904 };
7905
7906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7908 if (SWIG_arg_fail(1)) SWIG_fail;
7909 {
7910 arg2 = (int)(SWIG_As_int(obj1));
7911 if (SWIG_arg_fail(2)) SWIG_fail;
7912 }
7913 {
7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7915 (arg1)->EnsureVisible(arg2);
7916
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
7920 Py_INCREF(Py_None); resultobj = Py_None;
7921 return resultobj;
7922 fail:
7923 return NULL;
7924 }
7925
7926
7927 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7928 PyObject *resultobj;
7929 wxListBox *arg1 = (wxListBox *) 0 ;
7930 wxString *arg2 = 0 ;
7931 bool temp2 = false ;
7932 PyObject * obj0 = 0 ;
7933 PyObject * obj1 = 0 ;
7934 char *kwnames[] = {
7935 (char *) "self",(char *) "s", NULL
7936 };
7937
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7940 if (SWIG_arg_fail(1)) SWIG_fail;
7941 {
7942 arg2 = wxString_in_helper(obj1);
7943 if (arg2 == NULL) SWIG_fail;
7944 temp2 = true;
7945 }
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 Py_INCREF(Py_None); resultobj = Py_None;
7954 {
7955 if (temp2)
7956 delete arg2;
7957 }
7958 return resultobj;
7959 fail:
7960 {
7961 if (temp2)
7962 delete arg2;
7963 }
7964 return NULL;
7965 }
7966
7967
7968 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
7969 PyObject *resultobj;
7970 wxListBox *arg1 = (wxListBox *) 0 ;
7971 bool result;
7972 PyObject * obj0 = 0 ;
7973 char *kwnames[] = {
7974 (char *) "self", NULL
7975 };
7976
7977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
7978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail;
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (bool)((wxListBox const *)arg1)->IsSorted();
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 {
7988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7989 }
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxListBox *arg1 = (wxListBox *) 0 ;
7999 int arg2 ;
8000 wxColour *arg3 = 0 ;
8001 wxColour temp3 ;
8002 PyObject * obj0 = 0 ;
8003 PyObject * obj1 = 0 ;
8004 PyObject * obj2 = 0 ;
8005 char *kwnames[] = {
8006 (char *) "self",(char *) "item",(char *) "c", NULL
8007 };
8008
8009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8011 if (SWIG_arg_fail(1)) SWIG_fail;
8012 {
8013 arg2 = (int)(SWIG_As_int(obj1));
8014 if (SWIG_arg_fail(2)) SWIG_fail;
8015 }
8016 {
8017 arg3 = &temp3;
8018 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8019 }
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 Py_INCREF(Py_None); resultobj = Py_None;
8028 return resultobj;
8029 fail:
8030 return NULL;
8031 }
8032
8033
8034 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj;
8036 wxListBox *arg1 = (wxListBox *) 0 ;
8037 int arg2 ;
8038 wxColour *arg3 = 0 ;
8039 wxColour temp3 ;
8040 PyObject * obj0 = 0 ;
8041 PyObject * obj1 = 0 ;
8042 PyObject * obj2 = 0 ;
8043 char *kwnames[] = {
8044 (char *) "self",(char *) "item",(char *) "c", NULL
8045 };
8046
8047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8049 if (SWIG_arg_fail(1)) SWIG_fail;
8050 {
8051 arg2 = (int)(SWIG_As_int(obj1));
8052 if (SWIG_arg_fail(2)) SWIG_fail;
8053 }
8054 {
8055 arg3 = &temp3;
8056 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8057 }
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 Py_INCREF(Py_None); resultobj = Py_None;
8066 return resultobj;
8067 fail:
8068 return NULL;
8069 }
8070
8071
8072 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxListBox *arg1 = (wxListBox *) 0 ;
8075 int arg2 ;
8076 wxFont *arg3 = 0 ;
8077 PyObject * obj0 = 0 ;
8078 PyObject * obj1 = 0 ;
8079 PyObject * obj2 = 0 ;
8080 char *kwnames[] = {
8081 (char *) "self",(char *) "item",(char *) "f", NULL
8082 };
8083
8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8086 if (SWIG_arg_fail(1)) SWIG_fail;
8087 {
8088 arg2 = (int)(SWIG_As_int(obj1));
8089 if (SWIG_arg_fail(2)) SWIG_fail;
8090 }
8091 {
8092 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8093 if (SWIG_arg_fail(3)) SWIG_fail;
8094 if (arg3 == NULL) {
8095 SWIG_null_ref("wxFont");
8096 }
8097 if (SWIG_arg_fail(3)) SWIG_fail;
8098 }
8099 {
8100 PyThreadState* __tstate = wxPyBeginAllowThreads();
8101 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8102
8103 wxPyEndAllowThreads(__tstate);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 }
8106 Py_INCREF(Py_None); resultobj = Py_None;
8107 return resultobj;
8108 fail:
8109 return NULL;
8110 }
8111
8112
8113 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8114 PyObject *resultobj;
8115 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8116 wxVisualAttributes result;
8117 PyObject * obj0 = 0 ;
8118 char *kwnames[] = {
8119 (char *) "variant", NULL
8120 };
8121
8122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8123 if (obj0) {
8124 {
8125 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8126 if (SWIG_arg_fail(1)) SWIG_fail;
8127 }
8128 }
8129 {
8130 if (!wxPyCheckForApp()) SWIG_fail;
8131 PyThreadState* __tstate = wxPyBeginAllowThreads();
8132 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8133
8134 wxPyEndAllowThreads(__tstate);
8135 if (PyErr_Occurred()) SWIG_fail;
8136 }
8137 {
8138 wxVisualAttributes * resultptr;
8139 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8140 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8141 }
8142 return resultobj;
8143 fail:
8144 return NULL;
8145 }
8146
8147
8148 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8149 PyObject *obj;
8150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8151 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8152 Py_INCREF(obj);
8153 return Py_BuildValue((char *)"");
8154 }
8155 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8156 PyObject *resultobj;
8157 wxWindow *arg1 = (wxWindow *) 0 ;
8158 int arg2 = (int) -1 ;
8159 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8160 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8161 wxSize const &arg4_defvalue = wxDefaultSize ;
8162 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8163 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8164 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8165 long arg6 = (long) 0 ;
8166 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8167 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8168 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8169 wxString *arg8 = (wxString *) &arg8_defvalue ;
8170 wxCheckListBox *result;
8171 wxPoint temp3 ;
8172 wxSize temp4 ;
8173 bool temp5 = false ;
8174 bool temp8 = false ;
8175 PyObject * obj0 = 0 ;
8176 PyObject * obj1 = 0 ;
8177 PyObject * obj2 = 0 ;
8178 PyObject * obj3 = 0 ;
8179 PyObject * obj4 = 0 ;
8180 PyObject * obj5 = 0 ;
8181 PyObject * obj6 = 0 ;
8182 PyObject * obj7 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8189 if (SWIG_arg_fail(1)) SWIG_fail;
8190 if (obj1) {
8191 {
8192 arg2 = (int)(SWIG_As_int(obj1));
8193 if (SWIG_arg_fail(2)) SWIG_fail;
8194 }
8195 }
8196 if (obj2) {
8197 {
8198 arg3 = &temp3;
8199 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8200 }
8201 }
8202 if (obj3) {
8203 {
8204 arg4 = &temp4;
8205 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8206 }
8207 }
8208 if (obj4) {
8209 {
8210 if (! PySequence_Check(obj4)) {
8211 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8212 SWIG_fail;
8213 }
8214 arg5 = new wxArrayString;
8215 temp5 = true;
8216 int i, len=PySequence_Length(obj4);
8217 for (i=0; i<len; i++) {
8218 PyObject* item = PySequence_GetItem(obj4, i);
8219 #if wxUSE_UNICODE
8220 PyObject* str = PyObject_Unicode(item);
8221 #else
8222 PyObject* str = PyObject_Str(item);
8223 #endif
8224 if (PyErr_Occurred()) SWIG_fail;
8225 arg5->Add(Py2wxString(str));
8226 Py_DECREF(item);
8227 Py_DECREF(str);
8228 }
8229 }
8230 }
8231 if (obj5) {
8232 {
8233 arg6 = (long)(SWIG_As_long(obj5));
8234 if (SWIG_arg_fail(6)) SWIG_fail;
8235 }
8236 }
8237 if (obj6) {
8238 {
8239 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8240 if (SWIG_arg_fail(7)) SWIG_fail;
8241 if (arg7 == NULL) {
8242 SWIG_null_ref("wxValidator");
8243 }
8244 if (SWIG_arg_fail(7)) SWIG_fail;
8245 }
8246 }
8247 if (obj7) {
8248 {
8249 arg8 = wxString_in_helper(obj7);
8250 if (arg8 == NULL) SWIG_fail;
8251 temp8 = true;
8252 }
8253 }
8254 {
8255 if (!wxPyCheckForApp()) SWIG_fail;
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8258
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
8262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8263 {
8264 if (temp5) delete arg5;
8265 }
8266 {
8267 if (temp8)
8268 delete arg8;
8269 }
8270 return resultobj;
8271 fail:
8272 {
8273 if (temp5) delete arg5;
8274 }
8275 {
8276 if (temp8)
8277 delete arg8;
8278 }
8279 return NULL;
8280 }
8281
8282
8283 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8284 PyObject *resultobj;
8285 wxCheckListBox *result;
8286 char *kwnames[] = {
8287 NULL
8288 };
8289
8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8291 {
8292 if (!wxPyCheckForApp()) SWIG_fail;
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 result = (wxCheckListBox *)new wxCheckListBox();
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8300 return resultobj;
8301 fail:
8302 return NULL;
8303 }
8304
8305
8306 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8307 PyObject *resultobj;
8308 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8309 wxWindow *arg2 = (wxWindow *) 0 ;
8310 int arg3 = (int) -1 ;
8311 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8312 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8313 wxSize const &arg5_defvalue = wxDefaultSize ;
8314 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8315 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8316 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8317 long arg7 = (long) 0 ;
8318 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8319 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8320 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8321 wxString *arg9 = (wxString *) &arg9_defvalue ;
8322 bool result;
8323 wxPoint temp4 ;
8324 wxSize temp5 ;
8325 bool temp6 = false ;
8326 bool temp9 = false ;
8327 PyObject * obj0 = 0 ;
8328 PyObject * obj1 = 0 ;
8329 PyObject * obj2 = 0 ;
8330 PyObject * obj3 = 0 ;
8331 PyObject * obj4 = 0 ;
8332 PyObject * obj5 = 0 ;
8333 PyObject * obj6 = 0 ;
8334 PyObject * obj7 = 0 ;
8335 PyObject * obj8 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8342 if (SWIG_arg_fail(1)) SWIG_fail;
8343 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8344 if (SWIG_arg_fail(2)) SWIG_fail;
8345 if (obj2) {
8346 {
8347 arg3 = (int)(SWIG_As_int(obj2));
8348 if (SWIG_arg_fail(3)) SWIG_fail;
8349 }
8350 }
8351 if (obj3) {
8352 {
8353 arg4 = &temp4;
8354 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8355 }
8356 }
8357 if (obj4) {
8358 {
8359 arg5 = &temp5;
8360 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8361 }
8362 }
8363 if (obj5) {
8364 {
8365 if (! PySequence_Check(obj5)) {
8366 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8367 SWIG_fail;
8368 }
8369 arg6 = new wxArrayString;
8370 temp6 = true;
8371 int i, len=PySequence_Length(obj5);
8372 for (i=0; i<len; i++) {
8373 PyObject* item = PySequence_GetItem(obj5, i);
8374 #if wxUSE_UNICODE
8375 PyObject* str = PyObject_Unicode(item);
8376 #else
8377 PyObject* str = PyObject_Str(item);
8378 #endif
8379 if (PyErr_Occurred()) SWIG_fail;
8380 arg6->Add(Py2wxString(str));
8381 Py_DECREF(item);
8382 Py_DECREF(str);
8383 }
8384 }
8385 }
8386 if (obj6) {
8387 {
8388 arg7 = (long)(SWIG_As_long(obj6));
8389 if (SWIG_arg_fail(7)) SWIG_fail;
8390 }
8391 }
8392 if (obj7) {
8393 {
8394 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8395 if (SWIG_arg_fail(8)) SWIG_fail;
8396 if (arg8 == NULL) {
8397 SWIG_null_ref("wxValidator");
8398 }
8399 if (SWIG_arg_fail(8)) SWIG_fail;
8400 }
8401 }
8402 if (obj8) {
8403 {
8404 arg9 = wxString_in_helper(obj8);
8405 if (arg9 == NULL) SWIG_fail;
8406 temp9 = true;
8407 }
8408 }
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 {
8417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8418 }
8419 {
8420 if (temp6) delete arg6;
8421 }
8422 {
8423 if (temp9)
8424 delete arg9;
8425 }
8426 return resultobj;
8427 fail:
8428 {
8429 if (temp6) delete arg6;
8430 }
8431 {
8432 if (temp9)
8433 delete arg9;
8434 }
8435 return NULL;
8436 }
8437
8438
8439 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8440 PyObject *resultobj;
8441 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8442 int arg2 ;
8443 bool result;
8444 PyObject * obj0 = 0 ;
8445 PyObject * obj1 = 0 ;
8446 char *kwnames[] = {
8447 (char *) "self",(char *) "index", NULL
8448 };
8449
8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8452 if (SWIG_arg_fail(1)) SWIG_fail;
8453 {
8454 arg2 = (int)(SWIG_As_int(obj1));
8455 if (SWIG_arg_fail(2)) SWIG_fail;
8456 }
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 result = (bool)(arg1)->IsChecked(arg2);
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 {
8465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8466 }
8467 return resultobj;
8468 fail:
8469 return NULL;
8470 }
8471
8472
8473 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8474 PyObject *resultobj;
8475 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8476 int arg2 ;
8477 int arg3 = (int) true ;
8478 PyObject * obj0 = 0 ;
8479 PyObject * obj1 = 0 ;
8480 PyObject * obj2 = 0 ;
8481 char *kwnames[] = {
8482 (char *) "self",(char *) "index",(char *) "check", NULL
8483 };
8484
8485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8487 if (SWIG_arg_fail(1)) SWIG_fail;
8488 {
8489 arg2 = (int)(SWIG_As_int(obj1));
8490 if (SWIG_arg_fail(2)) SWIG_fail;
8491 }
8492 if (obj2) {
8493 {
8494 arg3 = (int)(SWIG_As_int(obj2));
8495 if (SWIG_arg_fail(3)) SWIG_fail;
8496 }
8497 }
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 (arg1)->Check(arg2,arg3);
8501
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 }
8505 Py_INCREF(Py_None); resultobj = Py_None;
8506 return resultobj;
8507 fail:
8508 return NULL;
8509 }
8510
8511
8512 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
8513 PyObject *resultobj;
8514 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8515 int result;
8516 PyObject * obj0 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
8522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8523 if (SWIG_arg_fail(1)) SWIG_fail;
8524 {
8525 PyThreadState* __tstate = wxPyBeginAllowThreads();
8526 result = (int)(arg1)->GetItemHeight();
8527
8528 wxPyEndAllowThreads(__tstate);
8529 if (PyErr_Occurred()) SWIG_fail;
8530 }
8531 {
8532 resultobj = SWIG_From_int((int)(result));
8533 }
8534 return resultobj;
8535 fail:
8536 return NULL;
8537 }
8538
8539
8540 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj;
8542 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8543 wxPoint *arg2 = 0 ;
8544 int result;
8545 wxPoint temp2 ;
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj1 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self",(char *) "pt", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8554 if (SWIG_arg_fail(1)) SWIG_fail;
8555 {
8556 arg2 = &temp2;
8557 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8558 }
8559 {
8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
8561 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8562
8563 wxPyEndAllowThreads(__tstate);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 }
8566 {
8567 resultobj = SWIG_From_int((int)(result));
8568 }
8569 return resultobj;
8570 fail:
8571 return NULL;
8572 }
8573
8574
8575 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj;
8577 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8578 int arg2 ;
8579 int arg3 ;
8580 int result;
8581 PyObject * obj0 = 0 ;
8582 PyObject * obj1 = 0 ;
8583 PyObject * obj2 = 0 ;
8584 char *kwnames[] = {
8585 (char *) "self",(char *) "x",(char *) "y", NULL
8586 };
8587
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail;
8591 {
8592 arg2 = (int)(SWIG_As_int(obj1));
8593 if (SWIG_arg_fail(2)) SWIG_fail;
8594 }
8595 {
8596 arg3 = (int)(SWIG_As_int(obj2));
8597 if (SWIG_arg_fail(3)) SWIG_fail;
8598 }
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 {
8607 resultobj = SWIG_From_int((int)(result));
8608 }
8609 return resultobj;
8610 fail:
8611 return NULL;
8612 }
8613
8614
8615 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8616 PyObject *obj;
8617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8618 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8619 Py_INCREF(obj);
8620 return Py_BuildValue((char *)"");
8621 }
8622 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8623 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8624 return 1;
8625 }
8626
8627
8628 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8629 PyObject *pyobj;
8630
8631 {
8632 #if wxUSE_UNICODE
8633 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8634 #else
8635 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8636 #endif
8637 }
8638 return pyobj;
8639 }
8640
8641
8642 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8643 PyObject *resultobj;
8644 wxColour const &arg1_defvalue = wxNullColour ;
8645 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8646 wxColour const &arg2_defvalue = wxNullColour ;
8647 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8648 wxFont const &arg3_defvalue = wxNullFont ;
8649 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8650 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8651 wxTextAttr *result;
8652 wxColour temp1 ;
8653 wxColour temp2 ;
8654 PyObject * obj0 = 0 ;
8655 PyObject * obj1 = 0 ;
8656 PyObject * obj2 = 0 ;
8657 PyObject * obj3 = 0 ;
8658 char *kwnames[] = {
8659 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8660 };
8661
8662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8663 if (obj0) {
8664 {
8665 arg1 = &temp1;
8666 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8667 }
8668 }
8669 if (obj1) {
8670 {
8671 arg2 = &temp2;
8672 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8673 }
8674 }
8675 if (obj2) {
8676 {
8677 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8678 if (SWIG_arg_fail(3)) SWIG_fail;
8679 if (arg3 == NULL) {
8680 SWIG_null_ref("wxFont");
8681 }
8682 if (SWIG_arg_fail(3)) SWIG_fail;
8683 }
8684 }
8685 if (obj3) {
8686 {
8687 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8688 if (SWIG_arg_fail(4)) SWIG_fail;
8689 }
8690 }
8691 {
8692 PyThreadState* __tstate = wxPyBeginAllowThreads();
8693 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8694
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8699 return resultobj;
8700 fail:
8701 return NULL;
8702 }
8703
8704
8705 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8706 PyObject *resultobj;
8707 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8708 PyObject * obj0 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail;
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 delete arg1;
8719
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 Py_INCREF(Py_None); resultobj = Py_None;
8724 return resultobj;
8725 fail:
8726 return NULL;
8727 }
8728
8729
8730 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8731 PyObject *resultobj;
8732 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8733 PyObject * obj0 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8740 if (SWIG_arg_fail(1)) SWIG_fail;
8741 {
8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
8743 (arg1)->Init();
8744
8745 wxPyEndAllowThreads(__tstate);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 }
8748 Py_INCREF(Py_None); resultobj = Py_None;
8749 return resultobj;
8750 fail:
8751 return NULL;
8752 }
8753
8754
8755 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8756 PyObject *resultobj;
8757 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8758 wxColour *arg2 = 0 ;
8759 wxColour temp2 ;
8760 PyObject * obj0 = 0 ;
8761 PyObject * obj1 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "self",(char *) "colText", NULL
8764 };
8765
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8768 if (SWIG_arg_fail(1)) SWIG_fail;
8769 {
8770 arg2 = &temp2;
8771 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8772 }
8773 {
8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
8775 (arg1)->SetTextColour((wxColour const &)*arg2);
8776
8777 wxPyEndAllowThreads(__tstate);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 Py_INCREF(Py_None); resultobj = Py_None;
8781 return resultobj;
8782 fail:
8783 return NULL;
8784 }
8785
8786
8787 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8788 PyObject *resultobj;
8789 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8790 wxColour *arg2 = 0 ;
8791 wxColour temp2 ;
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8794 char *kwnames[] = {
8795 (char *) "self",(char *) "colBack", NULL
8796 };
8797
8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8800 if (SWIG_arg_fail(1)) SWIG_fail;
8801 {
8802 arg2 = &temp2;
8803 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8804 }
8805 {
8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8807 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8808
8809 wxPyEndAllowThreads(__tstate);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 }
8812 Py_INCREF(Py_None); resultobj = Py_None;
8813 return resultobj;
8814 fail:
8815 return NULL;
8816 }
8817
8818
8819 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8820 PyObject *resultobj;
8821 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8822 wxFont *arg2 = 0 ;
8823 long arg3 = (long) wxTEXT_ATTR_FONT ;
8824 PyObject * obj0 = 0 ;
8825 PyObject * obj1 = 0 ;
8826 PyObject * obj2 = 0 ;
8827 char *kwnames[] = {
8828 (char *) "self",(char *) "font",(char *) "flags", NULL
8829 };
8830
8831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8833 if (SWIG_arg_fail(1)) SWIG_fail;
8834 {
8835 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8836 if (SWIG_arg_fail(2)) SWIG_fail;
8837 if (arg2 == NULL) {
8838 SWIG_null_ref("wxFont");
8839 }
8840 if (SWIG_arg_fail(2)) SWIG_fail;
8841 }
8842 if (obj2) {
8843 {
8844 arg3 = (long)(SWIG_As_long(obj2));
8845 if (SWIG_arg_fail(3)) SWIG_fail;
8846 }
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8865 wxTextAttrAlignment arg2 ;
8866 PyObject * obj0 = 0 ;
8867 PyObject * obj1 = 0 ;
8868 char *kwnames[] = {
8869 (char *) "self",(char *) "alignment", NULL
8870 };
8871
8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail;
8875 {
8876 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8877 if (SWIG_arg_fail(2)) SWIG_fail;
8878 }
8879 {
8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
8881 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8882
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 Py_INCREF(Py_None); resultobj = Py_None;
8887 return resultobj;
8888 fail:
8889 return NULL;
8890 }
8891
8892
8893 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
8894 PyObject *resultobj;
8895 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8896 wxArrayInt *arg2 = 0 ;
8897 bool temp2 = false ;
8898 PyObject * obj0 = 0 ;
8899 PyObject * obj1 = 0 ;
8900 char *kwnames[] = {
8901 (char *) "self",(char *) "tabs", NULL
8902 };
8903
8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
8905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8906 if (SWIG_arg_fail(1)) SWIG_fail;
8907 {
8908 if (! PySequence_Check(obj1)) {
8909 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8910 SWIG_fail;
8911 }
8912 arg2 = new wxArrayInt;
8913 temp2 = true;
8914 int i, len=PySequence_Length(obj1);
8915 for (i=0; i<len; i++) {
8916 PyObject* item = PySequence_GetItem(obj1, i);
8917 PyObject* number = PyNumber_Int(item);
8918 arg2->Add(PyInt_AS_LONG(number));
8919 Py_DECREF(item);
8920 Py_DECREF(number);
8921 }
8922 }
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 Py_INCREF(Py_None); resultobj = Py_None;
8931 {
8932 if (temp2) delete arg2;
8933 }
8934 return resultobj;
8935 fail:
8936 {
8937 if (temp2) delete arg2;
8938 }
8939 return NULL;
8940 }
8941
8942
8943 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj;
8945 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8946 int arg2 ;
8947 int arg3 = (int) 0 ;
8948 PyObject * obj0 = 0 ;
8949 PyObject * obj1 = 0 ;
8950 PyObject * obj2 = 0 ;
8951 char *kwnames[] = {
8952 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8953 };
8954
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
8956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8957 if (SWIG_arg_fail(1)) SWIG_fail;
8958 {
8959 arg2 = (int)(SWIG_As_int(obj1));
8960 if (SWIG_arg_fail(2)) SWIG_fail;
8961 }
8962 if (obj2) {
8963 {
8964 arg3 = (int)(SWIG_As_int(obj2));
8965 if (SWIG_arg_fail(3)) SWIG_fail;
8966 }
8967 }
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
8970 (arg1)->SetLeftIndent(arg2,arg3);
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 Py_INCREF(Py_None); resultobj = Py_None;
8976 return resultobj;
8977 fail:
8978 return NULL;
8979 }
8980
8981
8982 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8983 PyObject *resultobj;
8984 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8985 int arg2 ;
8986 PyObject * obj0 = 0 ;
8987 PyObject * obj1 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self",(char *) "indent", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
8993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail;
8995 {
8996 arg2 = (int)(SWIG_As_int(obj1));
8997 if (SWIG_arg_fail(2)) SWIG_fail;
8998 }
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 (arg1)->SetRightIndent(arg2);
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 Py_INCREF(Py_None); resultobj = Py_None;
9007 return resultobj;
9008 fail:
9009 return NULL;
9010 }
9011
9012
9013 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj;
9015 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9016 long arg2 ;
9017 PyObject * obj0 = 0 ;
9018 PyObject * obj1 = 0 ;
9019 char *kwnames[] = {
9020 (char *) "self",(char *) "flags", NULL
9021 };
9022
9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9025 if (SWIG_arg_fail(1)) SWIG_fail;
9026 {
9027 arg2 = (long)(SWIG_As_long(obj1));
9028 if (SWIG_arg_fail(2)) SWIG_fail;
9029 }
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 (arg1)->SetFlags(arg2);
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 Py_INCREF(Py_None); resultobj = Py_None;
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj;
9046 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9047 bool result;
9048 PyObject * obj0 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9055 if (SWIG_arg_fail(1)) SWIG_fail;
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 {
9064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9065 }
9066 return resultobj;
9067 fail:
9068 return NULL;
9069 }
9070
9071
9072 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj;
9074 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9075 bool result;
9076 PyObject * obj0 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9083 if (SWIG_arg_fail(1)) SWIG_fail;
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9087
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 }
9091 {
9092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9093 }
9094 return resultobj;
9095 fail:
9096 return NULL;
9097 }
9098
9099
9100 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9103 bool result;
9104 PyObject * obj0 = 0 ;
9105 char *kwnames[] = {
9106 (char *) "self", NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9111 if (SWIG_arg_fail(1)) SWIG_fail;
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 {
9120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9121 }
9122 return resultobj;
9123 fail:
9124 return NULL;
9125 }
9126
9127
9128 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9129 PyObject *resultobj;
9130 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9131 bool result;
9132 PyObject * obj0 = 0 ;
9133 char *kwnames[] = {
9134 (char *) "self", NULL
9135 };
9136
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9139 if (SWIG_arg_fail(1)) SWIG_fail;
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9143
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 {
9148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9149 }
9150 return resultobj;
9151 fail:
9152 return NULL;
9153 }
9154
9155
9156 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9157 PyObject *resultobj;
9158 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9159 bool result;
9160 PyObject * obj0 = 0 ;
9161 char *kwnames[] = {
9162 (char *) "self", NULL
9163 };
9164
9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9167 if (SWIG_arg_fail(1)) SWIG_fail;
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 {
9176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9177 }
9178 return resultobj;
9179 fail:
9180 return NULL;
9181 }
9182
9183
9184 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9185 PyObject *resultobj;
9186 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9187 bool result;
9188 PyObject * obj0 = 0 ;
9189 char *kwnames[] = {
9190 (char *) "self", NULL
9191 };
9192
9193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9195 if (SWIG_arg_fail(1)) SWIG_fail;
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 {
9204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9205 }
9206 return resultobj;
9207 fail:
9208 return NULL;
9209 }
9210
9211
9212 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj;
9214 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9215 bool result;
9216 PyObject * obj0 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9223 if (SWIG_arg_fail(1)) SWIG_fail;
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9227
9228 wxPyEndAllowThreads(__tstate);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
9231 {
9232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9233 }
9234 return resultobj;
9235 fail:
9236 return NULL;
9237 }
9238
9239
9240 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9243 long arg2 ;
9244 bool result;
9245 PyObject * obj0 = 0 ;
9246 PyObject * obj1 = 0 ;
9247 char *kwnames[] = {
9248 (char *) "self",(char *) "flag", NULL
9249 };
9250
9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail;
9254 {
9255 arg2 = (long)(SWIG_As_long(obj1));
9256 if (SWIG_arg_fail(2)) SWIG_fail;
9257 }
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9261
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 {
9266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9267 }
9268 return resultobj;
9269 fail:
9270 return NULL;
9271 }
9272
9273
9274 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9275 PyObject *resultobj;
9276 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9277 wxColour *result;
9278 PyObject * obj0 = 0 ;
9279 char *kwnames[] = {
9280 (char *) "self", NULL
9281 };
9282
9283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9285 if (SWIG_arg_fail(1)) SWIG_fail;
9286 {
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
9288 {
9289 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9290 result = (wxColour *) &_result_ref;
9291 }
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
9296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9297 return resultobj;
9298 fail:
9299 return NULL;
9300 }
9301
9302
9303 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9304 PyObject *resultobj;
9305 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9306 wxColour *result;
9307 PyObject * obj0 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "self", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9314 if (SWIG_arg_fail(1)) SWIG_fail;
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 {
9318 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9319 result = (wxColour *) &_result_ref;
9320 }
9321
9322 wxPyEndAllowThreads(__tstate);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 }
9325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9326 return resultobj;
9327 fail:
9328 return NULL;
9329 }
9330
9331
9332 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9333 PyObject *resultobj;
9334 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9335 wxFont *result;
9336 PyObject * obj0 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "self", NULL
9339 };
9340
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9343 if (SWIG_arg_fail(1)) SWIG_fail;
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 {
9347 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9348 result = (wxFont *) &_result_ref;
9349 }
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 {
9355 wxFont* resultptr = new wxFont(*result);
9356 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9357 }
9358 return resultobj;
9359 fail:
9360 return NULL;
9361 }
9362
9363
9364 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9365 PyObject *resultobj;
9366 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9367 wxTextAttrAlignment result;
9368 PyObject * obj0 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9375 if (SWIG_arg_fail(1)) SWIG_fail;
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 resultobj = SWIG_From_int((result));
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9393 wxArrayInt *result;
9394 PyObject * obj0 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail;
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
9404 {
9405 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9406 result = (wxArrayInt *) &_result_ref;
9407 }
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 {
9413 resultobj = PyList_New(0);
9414 size_t idx;
9415 for (idx = 0; idx < result->GetCount(); idx += 1) {
9416 PyObject* val = PyInt_FromLong( result->Item(idx) );
9417 PyList_Append(resultobj, val);
9418 Py_DECREF(val);
9419 }
9420 }
9421 return resultobj;
9422 fail:
9423 return NULL;
9424 }
9425
9426
9427 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj;
9429 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9430 long result;
9431 PyObject * obj0 = 0 ;
9432 char *kwnames[] = {
9433 (char *) "self", NULL
9434 };
9435
9436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9438 if (SWIG_arg_fail(1)) SWIG_fail;
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9442
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
9446 {
9447 resultobj = SWIG_From_long((long)(result));
9448 }
9449 return resultobj;
9450 fail:
9451 return NULL;
9452 }
9453
9454
9455 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj;
9457 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9458 long result;
9459 PyObject * obj0 = 0 ;
9460 char *kwnames[] = {
9461 (char *) "self", NULL
9462 };
9463
9464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9466 if (SWIG_arg_fail(1)) SWIG_fail;
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 {
9475 resultobj = SWIG_From_long((long)(result));
9476 }
9477 return resultobj;
9478 fail:
9479 return NULL;
9480 }
9481
9482
9483 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9484 PyObject *resultobj;
9485 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9486 long result;
9487 PyObject * obj0 = 0 ;
9488 char *kwnames[] = {
9489 (char *) "self", NULL
9490 };
9491
9492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9494 if (SWIG_arg_fail(1)) SWIG_fail;
9495 {
9496 PyThreadState* __tstate = wxPyBeginAllowThreads();
9497 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9498
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
9502 {
9503 resultobj = SWIG_From_long((long)(result));
9504 }
9505 return resultobj;
9506 fail:
9507 return NULL;
9508 }
9509
9510
9511 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9512 PyObject *resultobj;
9513 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9514 long result;
9515 PyObject * obj0 = 0 ;
9516 char *kwnames[] = {
9517 (char *) "self", NULL
9518 };
9519
9520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9522 if (SWIG_arg_fail(1)) SWIG_fail;
9523 {
9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
9525 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9526
9527 wxPyEndAllowThreads(__tstate);
9528 if (PyErr_Occurred()) SWIG_fail;
9529 }
9530 {
9531 resultobj = SWIG_From_long((long)(result));
9532 }
9533 return resultobj;
9534 fail:
9535 return NULL;
9536 }
9537
9538
9539 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9540 PyObject *resultobj;
9541 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9542 bool result;
9543 PyObject * obj0 = 0 ;
9544 char *kwnames[] = {
9545 (char *) "self", NULL
9546 };
9547
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9550 if (SWIG_arg_fail(1)) SWIG_fail;
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9554
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 {
9559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9560 }
9561 return resultobj;
9562 fail:
9563 return NULL;
9564 }
9565
9566
9567 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9568 PyObject *resultobj;
9569 wxTextAttr *arg1 = 0 ;
9570 wxTextAttr *arg2 = 0 ;
9571 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9572 wxTextAttr result;
9573 PyObject * obj0 = 0 ;
9574 PyObject * obj1 = 0 ;
9575 PyObject * obj2 = 0 ;
9576 char *kwnames[] = {
9577 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9578 };
9579
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9581 {
9582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9583 if (SWIG_arg_fail(1)) SWIG_fail;
9584 if (arg1 == NULL) {
9585 SWIG_null_ref("wxTextAttr");
9586 }
9587 if (SWIG_arg_fail(1)) SWIG_fail;
9588 }
9589 {
9590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9591 if (SWIG_arg_fail(2)) SWIG_fail;
9592 if (arg2 == NULL) {
9593 SWIG_null_ref("wxTextAttr");
9594 }
9595 if (SWIG_arg_fail(2)) SWIG_fail;
9596 }
9597 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9598 if (SWIG_arg_fail(3)) SWIG_fail;
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 {
9607 wxTextAttr * resultptr;
9608 resultptr = new wxTextAttr((wxTextAttr &)(result));
9609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9610 }
9611 return resultobj;
9612 fail:
9613 return NULL;
9614 }
9615
9616
9617 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9618 PyObject *obj;
9619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9620 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9621 Py_INCREF(obj);
9622 return Py_BuildValue((char *)"");
9623 }
9624 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9625 PyObject *resultobj;
9626 wxWindow *arg1 = (wxWindow *) 0 ;
9627 int arg2 = (int) -1 ;
9628 wxString const &arg3_defvalue = wxPyEmptyString ;
9629 wxString *arg3 = (wxString *) &arg3_defvalue ;
9630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9632 wxSize const &arg5_defvalue = wxDefaultSize ;
9633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9634 long arg6 = (long) 0 ;
9635 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9636 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9637 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9638 wxString *arg8 = (wxString *) &arg8_defvalue ;
9639 wxTextCtrl *result;
9640 bool temp3 = false ;
9641 wxPoint temp4 ;
9642 wxSize temp5 ;
9643 bool temp8 = false ;
9644 PyObject * obj0 = 0 ;
9645 PyObject * obj1 = 0 ;
9646 PyObject * obj2 = 0 ;
9647 PyObject * obj3 = 0 ;
9648 PyObject * obj4 = 0 ;
9649 PyObject * obj5 = 0 ;
9650 PyObject * obj6 = 0 ;
9651 PyObject * obj7 = 0 ;
9652 char *kwnames[] = {
9653 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9654 };
9655
9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9658 if (SWIG_arg_fail(1)) SWIG_fail;
9659 if (obj1) {
9660 {
9661 arg2 = (int)(SWIG_As_int(obj1));
9662 if (SWIG_arg_fail(2)) SWIG_fail;
9663 }
9664 }
9665 if (obj2) {
9666 {
9667 arg3 = wxString_in_helper(obj2);
9668 if (arg3 == NULL) SWIG_fail;
9669 temp3 = true;
9670 }
9671 }
9672 if (obj3) {
9673 {
9674 arg4 = &temp4;
9675 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9676 }
9677 }
9678 if (obj4) {
9679 {
9680 arg5 = &temp5;
9681 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9682 }
9683 }
9684 if (obj5) {
9685 {
9686 arg6 = (long)(SWIG_As_long(obj5));
9687 if (SWIG_arg_fail(6)) SWIG_fail;
9688 }
9689 }
9690 if (obj6) {
9691 {
9692 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9693 if (SWIG_arg_fail(7)) SWIG_fail;
9694 if (arg7 == NULL) {
9695 SWIG_null_ref("wxValidator");
9696 }
9697 if (SWIG_arg_fail(7)) SWIG_fail;
9698 }
9699 }
9700 if (obj7) {
9701 {
9702 arg8 = wxString_in_helper(obj7);
9703 if (arg8 == NULL) SWIG_fail;
9704 temp8 = true;
9705 }
9706 }
9707 {
9708 if (!wxPyCheckForApp()) SWIG_fail;
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9716 {
9717 if (temp3)
9718 delete arg3;
9719 }
9720 {
9721 if (temp8)
9722 delete arg8;
9723 }
9724 return resultobj;
9725 fail:
9726 {
9727 if (temp3)
9728 delete arg3;
9729 }
9730 {
9731 if (temp8)
9732 delete arg8;
9733 }
9734 return NULL;
9735 }
9736
9737
9738 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9739 PyObject *resultobj;
9740 wxTextCtrl *result;
9741 char *kwnames[] = {
9742 NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9746 {
9747 if (!wxPyCheckForApp()) SWIG_fail;
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = (wxTextCtrl *)new wxTextCtrl();
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9755 return resultobj;
9756 fail:
9757 return NULL;
9758 }
9759
9760
9761 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj;
9763 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9764 wxWindow *arg2 = (wxWindow *) 0 ;
9765 int arg3 = (int) -1 ;
9766 wxString const &arg4_defvalue = wxPyEmptyString ;
9767 wxString *arg4 = (wxString *) &arg4_defvalue ;
9768 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9769 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9770 wxSize const &arg6_defvalue = wxDefaultSize ;
9771 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9772 long arg7 = (long) 0 ;
9773 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9774 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9775 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9776 wxString *arg9 = (wxString *) &arg9_defvalue ;
9777 bool result;
9778 bool temp4 = false ;
9779 wxPoint temp5 ;
9780 wxSize temp6 ;
9781 bool temp9 = false ;
9782 PyObject * obj0 = 0 ;
9783 PyObject * obj1 = 0 ;
9784 PyObject * obj2 = 0 ;
9785 PyObject * obj3 = 0 ;
9786 PyObject * obj4 = 0 ;
9787 PyObject * obj5 = 0 ;
9788 PyObject * obj6 = 0 ;
9789 PyObject * obj7 = 0 ;
9790 PyObject * obj8 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9793 };
9794
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9797 if (SWIG_arg_fail(1)) SWIG_fail;
9798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9799 if (SWIG_arg_fail(2)) SWIG_fail;
9800 if (obj2) {
9801 {
9802 arg3 = (int)(SWIG_As_int(obj2));
9803 if (SWIG_arg_fail(3)) SWIG_fail;
9804 }
9805 }
9806 if (obj3) {
9807 {
9808 arg4 = wxString_in_helper(obj3);
9809 if (arg4 == NULL) SWIG_fail;
9810 temp4 = true;
9811 }
9812 }
9813 if (obj4) {
9814 {
9815 arg5 = &temp5;
9816 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9817 }
9818 }
9819 if (obj5) {
9820 {
9821 arg6 = &temp6;
9822 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9823 }
9824 }
9825 if (obj6) {
9826 {
9827 arg7 = (long)(SWIG_As_long(obj6));
9828 if (SWIG_arg_fail(7)) SWIG_fail;
9829 }
9830 }
9831 if (obj7) {
9832 {
9833 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9834 if (SWIG_arg_fail(8)) SWIG_fail;
9835 if (arg8 == NULL) {
9836 SWIG_null_ref("wxValidator");
9837 }
9838 if (SWIG_arg_fail(8)) SWIG_fail;
9839 }
9840 }
9841 if (obj8) {
9842 {
9843 arg9 = wxString_in_helper(obj8);
9844 if (arg9 == NULL) SWIG_fail;
9845 temp9 = true;
9846 }
9847 }
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9851
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 {
9856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9857 }
9858 {
9859 if (temp4)
9860 delete arg4;
9861 }
9862 {
9863 if (temp9)
9864 delete arg9;
9865 }
9866 return resultobj;
9867 fail:
9868 {
9869 if (temp4)
9870 delete arg4;
9871 }
9872 {
9873 if (temp9)
9874 delete arg9;
9875 }
9876 return NULL;
9877 }
9878
9879
9880 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9881 PyObject *resultobj;
9882 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9883 wxString result;
9884 PyObject * obj0 = 0 ;
9885 char *kwnames[] = {
9886 (char *) "self", NULL
9887 };
9888
9889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
9890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9891 if (SWIG_arg_fail(1)) SWIG_fail;
9892 {
9893 PyThreadState* __tstate = wxPyBeginAllowThreads();
9894 result = ((wxTextCtrl const *)arg1)->GetValue();
9895
9896 wxPyEndAllowThreads(__tstate);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 }
9899 {
9900 #if wxUSE_UNICODE
9901 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9902 #else
9903 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9904 #endif
9905 }
9906 return resultobj;
9907 fail:
9908 return NULL;
9909 }
9910
9911
9912 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9913 PyObject *resultobj;
9914 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9915 wxString *arg2 = 0 ;
9916 bool temp2 = false ;
9917 PyObject * obj0 = 0 ;
9918 PyObject * obj1 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self",(char *) "value", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
9924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail;
9926 {
9927 arg2 = wxString_in_helper(obj1);
9928 if (arg2 == NULL) SWIG_fail;
9929 temp2 = true;
9930 }
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 (arg1)->SetValue((wxString const &)*arg2);
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 Py_INCREF(Py_None); resultobj = Py_None;
9939 {
9940 if (temp2)
9941 delete arg2;
9942 }
9943 return resultobj;
9944 fail:
9945 {
9946 if (temp2)
9947 delete arg2;
9948 }
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9956 long arg2 ;
9957 long arg3 ;
9958 wxString result;
9959 PyObject * obj0 = 0 ;
9960 PyObject * obj1 = 0 ;
9961 PyObject * obj2 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "self",(char *) "from",(char *) "to", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9968 if (SWIG_arg_fail(1)) SWIG_fail;
9969 {
9970 arg2 = (long)(SWIG_As_long(obj1));
9971 if (SWIG_arg_fail(2)) SWIG_fail;
9972 }
9973 {
9974 arg3 = (long)(SWIG_As_long(obj2));
9975 if (SWIG_arg_fail(3)) SWIG_fail;
9976 }
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9980
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 {
9985 #if wxUSE_UNICODE
9986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9987 #else
9988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9989 #endif
9990 }
9991 return resultobj;
9992 fail:
9993 return NULL;
9994 }
9995
9996
9997 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
9998 PyObject *resultobj;
9999 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10000 long arg2 ;
10001 int result;
10002 PyObject * obj0 = 0 ;
10003 PyObject * obj1 = 0 ;
10004 char *kwnames[] = {
10005 (char *) "self",(char *) "lineNo", NULL
10006 };
10007
10008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
10009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10010 if (SWIG_arg_fail(1)) SWIG_fail;
10011 {
10012 arg2 = (long)(SWIG_As_long(obj1));
10013 if (SWIG_arg_fail(2)) SWIG_fail;
10014 }
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 {
10023 resultobj = SWIG_From_int((int)(result));
10024 }
10025 return resultobj;
10026 fail:
10027 return NULL;
10028 }
10029
10030
10031 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
10032 PyObject *resultobj;
10033 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10034 long arg2 ;
10035 wxString result;
10036 PyObject * obj0 = 0 ;
10037 PyObject * obj1 = 0 ;
10038 char *kwnames[] = {
10039 (char *) "self",(char *) "lineNo", NULL
10040 };
10041
10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10044 if (SWIG_arg_fail(1)) SWIG_fail;
10045 {
10046 arg2 = (long)(SWIG_As_long(obj1));
10047 if (SWIG_arg_fail(2)) SWIG_fail;
10048 }
10049 {
10050 PyThreadState* __tstate = wxPyBeginAllowThreads();
10051 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10052
10053 wxPyEndAllowThreads(__tstate);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 }
10056 {
10057 #if wxUSE_UNICODE
10058 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10059 #else
10060 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10061 #endif
10062 }
10063 return resultobj;
10064 fail:
10065 return NULL;
10066 }
10067
10068
10069 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10070 PyObject *resultobj;
10071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10072 int result;
10073 PyObject * obj0 = 0 ;
10074 char *kwnames[] = {
10075 (char *) "self", NULL
10076 };
10077
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail;
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 {
10089 resultobj = SWIG_From_int((int)(result));
10090 }
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj;
10099 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10100 bool result;
10101 PyObject * obj0 = 0 ;
10102 char *kwnames[] = {
10103 (char *) "self", NULL
10104 };
10105
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10108 if (SWIG_arg_fail(1)) SWIG_fail;
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10112
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 {
10117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10118 }
10119 return resultobj;
10120 fail:
10121 return NULL;
10122 }
10123
10124
10125 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10126 PyObject *resultobj;
10127 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10128 bool result;
10129 PyObject * obj0 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "self", NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10136 if (SWIG_arg_fail(1)) SWIG_fail;
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10140
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 {
10145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10146 }
10147 return resultobj;
10148 fail:
10149 return NULL;
10150 }
10151
10152
10153 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10154 PyObject *resultobj;
10155 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10156 bool result;
10157 PyObject * obj0 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10164 if (SWIG_arg_fail(1)) SWIG_fail;
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 {
10173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10174 }
10175 return resultobj;
10176 fail:
10177 return NULL;
10178 }
10179
10180
10181 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10182 PyObject *resultobj;
10183 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10184 bool result;
10185 PyObject * obj0 = 0 ;
10186 char *kwnames[] = {
10187 (char *) "self", NULL
10188 };
10189
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10192 if (SWIG_arg_fail(1)) SWIG_fail;
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10196
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 {
10201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10202 }
10203 return resultobj;
10204 fail:
10205 return NULL;
10206 }
10207
10208
10209 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10210 PyObject *resultobj;
10211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10212 long *arg2 = (long *) 0 ;
10213 long *arg3 = (long *) 0 ;
10214 long temp2 ;
10215 int res2 = 0 ;
10216 long temp3 ;
10217 int res3 = 0 ;
10218 PyObject * obj0 = 0 ;
10219 char *kwnames[] = {
10220 (char *) "self", NULL
10221 };
10222
10223 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10224 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10227 if (SWIG_arg_fail(1)) SWIG_fail;
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
10235 Py_INCREF(Py_None); resultobj = Py_None;
10236 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10237 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10238 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10239 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10240 return resultobj;
10241 fail:
10242 return NULL;
10243 }
10244
10245
10246 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10247 PyObject *resultobj;
10248 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10249 wxString result;
10250 PyObject * obj0 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10257 if (SWIG_arg_fail(1)) SWIG_fail;
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10261
10262 wxPyEndAllowThreads(__tstate);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
10265 {
10266 #if wxUSE_UNICODE
10267 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10268 #else
10269 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10270 #endif
10271 }
10272 return resultobj;
10273 fail:
10274 return NULL;
10275 }
10276
10277
10278 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10281 PyObject * obj0 = 0 ;
10282 char *kwnames[] = {
10283 (char *) "self", NULL
10284 };
10285
10286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10288 if (SWIG_arg_fail(1)) SWIG_fail;
10289 {
10290 PyThreadState* __tstate = wxPyBeginAllowThreads();
10291 (arg1)->Clear();
10292
10293 wxPyEndAllowThreads(__tstate);
10294 if (PyErr_Occurred()) SWIG_fail;
10295 }
10296 Py_INCREF(Py_None); resultobj = Py_None;
10297 return resultobj;
10298 fail:
10299 return NULL;
10300 }
10301
10302
10303 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10304 PyObject *resultobj;
10305 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10306 long arg2 ;
10307 long arg3 ;
10308 wxString *arg4 = 0 ;
10309 bool temp4 = false ;
10310 PyObject * obj0 = 0 ;
10311 PyObject * obj1 = 0 ;
10312 PyObject * obj2 = 0 ;
10313 PyObject * obj3 = 0 ;
10314 char *kwnames[] = {
10315 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10316 };
10317
10318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10320 if (SWIG_arg_fail(1)) SWIG_fail;
10321 {
10322 arg2 = (long)(SWIG_As_long(obj1));
10323 if (SWIG_arg_fail(2)) SWIG_fail;
10324 }
10325 {
10326 arg3 = (long)(SWIG_As_long(obj2));
10327 if (SWIG_arg_fail(3)) SWIG_fail;
10328 }
10329 {
10330 arg4 = wxString_in_helper(obj3);
10331 if (arg4 == NULL) SWIG_fail;
10332 temp4 = true;
10333 }
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 Py_INCREF(Py_None); resultobj = Py_None;
10342 {
10343 if (temp4)
10344 delete arg4;
10345 }
10346 return resultobj;
10347 fail:
10348 {
10349 if (temp4)
10350 delete arg4;
10351 }
10352 return NULL;
10353 }
10354
10355
10356 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj;
10358 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10359 long arg2 ;
10360 long arg3 ;
10361 PyObject * obj0 = 0 ;
10362 PyObject * obj1 = 0 ;
10363 PyObject * obj2 = 0 ;
10364 char *kwnames[] = {
10365 (char *) "self",(char *) "from",(char *) "to", NULL
10366 };
10367
10368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10370 if (SWIG_arg_fail(1)) SWIG_fail;
10371 {
10372 arg2 = (long)(SWIG_As_long(obj1));
10373 if (SWIG_arg_fail(2)) SWIG_fail;
10374 }
10375 {
10376 arg3 = (long)(SWIG_As_long(obj2));
10377 if (SWIG_arg_fail(3)) SWIG_fail;
10378 }
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 (arg1)->Remove(arg2,arg3);
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 Py_INCREF(Py_None); resultobj = Py_None;
10387 return resultobj;
10388 fail:
10389 return NULL;
10390 }
10391
10392
10393 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10396 wxString *arg2 = 0 ;
10397 bool result;
10398 bool temp2 = false ;
10399 PyObject * obj0 = 0 ;
10400 PyObject * obj1 = 0 ;
10401 char *kwnames[] = {
10402 (char *) "self",(char *) "file", NULL
10403 };
10404
10405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10407 if (SWIG_arg_fail(1)) SWIG_fail;
10408 {
10409 arg2 = wxString_in_helper(obj1);
10410 if (arg2 == NULL) SWIG_fail;
10411 temp2 = true;
10412 }
10413 {
10414 PyThreadState* __tstate = wxPyBeginAllowThreads();
10415 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10416
10417 wxPyEndAllowThreads(__tstate);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
10420 {
10421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10422 }
10423 {
10424 if (temp2)
10425 delete arg2;
10426 }
10427 return resultobj;
10428 fail:
10429 {
10430 if (temp2)
10431 delete arg2;
10432 }
10433 return NULL;
10434 }
10435
10436
10437 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10438 PyObject *resultobj;
10439 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10440 wxString const &arg2_defvalue = wxPyEmptyString ;
10441 wxString *arg2 = (wxString *) &arg2_defvalue ;
10442 bool result;
10443 bool temp2 = false ;
10444 PyObject * obj0 = 0 ;
10445 PyObject * obj1 = 0 ;
10446 char *kwnames[] = {
10447 (char *) "self",(char *) "file", NULL
10448 };
10449
10450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10452 if (SWIG_arg_fail(1)) SWIG_fail;
10453 if (obj1) {
10454 {
10455 arg2 = wxString_in_helper(obj1);
10456 if (arg2 == NULL) SWIG_fail;
10457 temp2 = true;
10458 }
10459 }
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10463
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 {
10468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10469 }
10470 {
10471 if (temp2)
10472 delete arg2;
10473 }
10474 return resultobj;
10475 fail:
10476 {
10477 if (temp2)
10478 delete arg2;
10479 }
10480 return NULL;
10481 }
10482
10483
10484 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10485 PyObject *resultobj;
10486 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10494 if (SWIG_arg_fail(1)) SWIG_fail;
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 (arg1)->MarkDirty();
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 Py_INCREF(Py_None); resultobj = Py_None;
10503 return resultobj;
10504 fail:
10505 return NULL;
10506 }
10507
10508
10509 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10510 PyObject *resultobj;
10511 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10512 PyObject * obj0 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10519 if (SWIG_arg_fail(1)) SWIG_fail;
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->DiscardEdits();
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 return resultobj;
10529 fail:
10530 return NULL;
10531 }
10532
10533
10534 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10537 unsigned long arg2 ;
10538 PyObject * obj0 = 0 ;
10539 PyObject * obj1 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self",(char *) "len", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail;
10547 {
10548 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10549 if (SWIG_arg_fail(2)) SWIG_fail;
10550 }
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 (arg1)->SetMaxLength(arg2);
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 Py_INCREF(Py_None); resultobj = Py_None;
10559 return resultobj;
10560 fail:
10561 return NULL;
10562 }
10563
10564
10565 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10566 PyObject *resultobj;
10567 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10568 wxString *arg2 = 0 ;
10569 bool temp2 = false ;
10570 PyObject * obj0 = 0 ;
10571 PyObject * obj1 = 0 ;
10572 char *kwnames[] = {
10573 (char *) "self",(char *) "text", NULL
10574 };
10575
10576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10578 if (SWIG_arg_fail(1)) SWIG_fail;
10579 {
10580 arg2 = wxString_in_helper(obj1);
10581 if (arg2 == NULL) SWIG_fail;
10582 temp2 = true;
10583 }
10584 {
10585 PyThreadState* __tstate = wxPyBeginAllowThreads();
10586 (arg1)->WriteText((wxString const &)*arg2);
10587
10588 wxPyEndAllowThreads(__tstate);
10589 if (PyErr_Occurred()) SWIG_fail;
10590 }
10591 Py_INCREF(Py_None); resultobj = Py_None;
10592 {
10593 if (temp2)
10594 delete arg2;
10595 }
10596 return resultobj;
10597 fail:
10598 {
10599 if (temp2)
10600 delete arg2;
10601 }
10602 return NULL;
10603 }
10604
10605
10606 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10607 PyObject *resultobj;
10608 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10609 wxString *arg2 = 0 ;
10610 bool temp2 = false ;
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self",(char *) "text", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10619 if (SWIG_arg_fail(1)) SWIG_fail;
10620 {
10621 arg2 = wxString_in_helper(obj1);
10622 if (arg2 == NULL) SWIG_fail;
10623 temp2 = true;
10624 }
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 (arg1)->AppendText((wxString const &)*arg2);
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 Py_INCREF(Py_None); resultobj = Py_None;
10633 {
10634 if (temp2)
10635 delete arg2;
10636 }
10637 return resultobj;
10638 fail:
10639 {
10640 if (temp2)
10641 delete arg2;
10642 }
10643 return NULL;
10644 }
10645
10646
10647 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10648 PyObject *resultobj;
10649 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10650 wxKeyEvent *arg2 = 0 ;
10651 bool result;
10652 PyObject * obj0 = 0 ;
10653 PyObject * obj1 = 0 ;
10654 char *kwnames[] = {
10655 (char *) "self",(char *) "event", NULL
10656 };
10657
10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10660 if (SWIG_arg_fail(1)) SWIG_fail;
10661 {
10662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10663 if (SWIG_arg_fail(2)) SWIG_fail;
10664 if (arg2 == NULL) {
10665 SWIG_null_ref("wxKeyEvent");
10666 }
10667 if (SWIG_arg_fail(2)) SWIG_fail;
10668 }
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10672
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 }
10676 {
10677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10678 }
10679 return resultobj;
10680 fail:
10681 return NULL;
10682 }
10683
10684
10685 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10686 PyObject *resultobj;
10687 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10688 long arg2 ;
10689 long arg3 ;
10690 wxTextAttr *arg4 = 0 ;
10691 bool result;
10692 PyObject * obj0 = 0 ;
10693 PyObject * obj1 = 0 ;
10694 PyObject * obj2 = 0 ;
10695 PyObject * obj3 = 0 ;
10696 char *kwnames[] = {
10697 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10698 };
10699
10700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10702 if (SWIG_arg_fail(1)) SWIG_fail;
10703 {
10704 arg2 = (long)(SWIG_As_long(obj1));
10705 if (SWIG_arg_fail(2)) SWIG_fail;
10706 }
10707 {
10708 arg3 = (long)(SWIG_As_long(obj2));
10709 if (SWIG_arg_fail(3)) SWIG_fail;
10710 }
10711 {
10712 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10713 if (SWIG_arg_fail(4)) SWIG_fail;
10714 if (arg4 == NULL) {
10715 SWIG_null_ref("wxTextAttr");
10716 }
10717 if (SWIG_arg_fail(4)) SWIG_fail;
10718 }
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10722
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 {
10727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10728 }
10729 return resultobj;
10730 fail:
10731 return NULL;
10732 }
10733
10734
10735 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10736 PyObject *resultobj;
10737 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10738 long arg2 ;
10739 wxTextAttr *arg3 = 0 ;
10740 bool result;
10741 PyObject * obj0 = 0 ;
10742 PyObject * obj1 = 0 ;
10743 PyObject * obj2 = 0 ;
10744 char *kwnames[] = {
10745 (char *) "self",(char *) "position",(char *) "style", NULL
10746 };
10747
10748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10750 if (SWIG_arg_fail(1)) SWIG_fail;
10751 {
10752 arg2 = (long)(SWIG_As_long(obj1));
10753 if (SWIG_arg_fail(2)) SWIG_fail;
10754 }
10755 {
10756 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10757 if (SWIG_arg_fail(3)) SWIG_fail;
10758 if (arg3 == NULL) {
10759 SWIG_null_ref("wxTextAttr");
10760 }
10761 if (SWIG_arg_fail(3)) SWIG_fail;
10762 }
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 {
10771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10772 }
10773 return resultobj;
10774 fail:
10775 return NULL;
10776 }
10777
10778
10779 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj;
10781 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10782 wxTextAttr *arg2 = 0 ;
10783 bool result;
10784 PyObject * obj0 = 0 ;
10785 PyObject * obj1 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "self",(char *) "style", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10792 if (SWIG_arg_fail(1)) SWIG_fail;
10793 {
10794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10795 if (SWIG_arg_fail(2)) SWIG_fail;
10796 if (arg2 == NULL) {
10797 SWIG_null_ref("wxTextAttr");
10798 }
10799 if (SWIG_arg_fail(2)) SWIG_fail;
10800 }
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10804
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
10808 {
10809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10810 }
10811 return resultobj;
10812 fail:
10813 return NULL;
10814 }
10815
10816
10817 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10818 PyObject *resultobj;
10819 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10820 wxTextAttr *result;
10821 PyObject * obj0 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "self", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
10827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10828 if (SWIG_arg_fail(1)) SWIG_fail;
10829 {
10830 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 {
10832 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10833 result = (wxTextAttr *) &_result_ref;
10834 }
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 }
10839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10840 return resultobj;
10841 fail:
10842 return NULL;
10843 }
10844
10845
10846 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10847 PyObject *resultobj;
10848 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10849 long arg2 ;
10850 long arg3 ;
10851 long result;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 PyObject * obj2 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self",(char *) "x",(char *) "y", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
10860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10861 if (SWIG_arg_fail(1)) SWIG_fail;
10862 {
10863 arg2 = (long)(SWIG_As_long(obj1));
10864 if (SWIG_arg_fail(2)) SWIG_fail;
10865 }
10866 {
10867 arg3 = (long)(SWIG_As_long(obj2));
10868 if (SWIG_arg_fail(3)) SWIG_fail;
10869 }
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 {
10878 resultobj = SWIG_From_long((long)(result));
10879 }
10880 return resultobj;
10881 fail:
10882 return NULL;
10883 }
10884
10885
10886 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
10887 PyObject *resultobj;
10888 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10889 long arg2 ;
10890 long *arg3 = (long *) 0 ;
10891 long *arg4 = (long *) 0 ;
10892 long temp3 ;
10893 int res3 = 0 ;
10894 long temp4 ;
10895 int res4 = 0 ;
10896 PyObject * obj0 = 0 ;
10897 PyObject * obj1 = 0 ;
10898 char *kwnames[] = {
10899 (char *) "self",(char *) "pos", NULL
10900 };
10901
10902 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10903 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
10905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10906 if (SWIG_arg_fail(1)) SWIG_fail;
10907 {
10908 arg2 = (long)(SWIG_As_long(obj1));
10909 if (SWIG_arg_fail(2)) SWIG_fail;
10910 }
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 Py_INCREF(Py_None); resultobj = Py_None;
10919 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10920 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10921 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10922 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10923 return resultobj;
10924 fail:
10925 return NULL;
10926 }
10927
10928
10929 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10930 PyObject *resultobj;
10931 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10932 long arg2 ;
10933 PyObject * obj0 = 0 ;
10934 PyObject * obj1 = 0 ;
10935 char *kwnames[] = {
10936 (char *) "self",(char *) "pos", NULL
10937 };
10938
10939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
10940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10941 if (SWIG_arg_fail(1)) SWIG_fail;
10942 {
10943 arg2 = (long)(SWIG_As_long(obj1));
10944 if (SWIG_arg_fail(2)) SWIG_fail;
10945 }
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 (arg1)->ShowPosition(arg2);
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 Py_INCREF(Py_None); resultobj = Py_None;
10954 return resultobj;
10955 fail:
10956 return NULL;
10957 }
10958
10959
10960 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
10961 PyObject *resultobj;
10962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10963 wxPoint *arg2 = 0 ;
10964 long *arg3 = (long *) 0 ;
10965 long *arg4 = (long *) 0 ;
10966 wxTextCtrlHitTestResult result;
10967 wxPoint temp2 ;
10968 long temp3 ;
10969 int res3 = 0 ;
10970 long temp4 ;
10971 int res4 = 0 ;
10972 PyObject * obj0 = 0 ;
10973 PyObject * obj1 = 0 ;
10974 char *kwnames[] = {
10975 (char *) "self",(char *) "pt", NULL
10976 };
10977
10978 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10979 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
10981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10982 if (SWIG_arg_fail(1)) SWIG_fail;
10983 {
10984 arg2 = &temp2;
10985 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10986 }
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 resultobj = SWIG_From_int((result));
10995 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10996 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10997 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10998 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10999 return resultobj;
11000 fail:
11001 return NULL;
11002 }
11003
11004
11005 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
11006 PyObject *resultobj;
11007 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11008 wxPoint *arg2 = 0 ;
11009 long *arg3 = (long *) 0 ;
11010 wxTextCtrlHitTestResult result;
11011 wxPoint temp2 ;
11012 long temp3 ;
11013 int res3 = 0 ;
11014 PyObject * obj0 = 0 ;
11015 PyObject * obj1 = 0 ;
11016 char *kwnames[] = {
11017 (char *) "self",(char *) "pt", NULL
11018 };
11019
11020 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
11022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11023 if (SWIG_arg_fail(1)) SWIG_fail;
11024 {
11025 arg2 = &temp2;
11026 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11027 }
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 resultobj = SWIG_From_int((result));
11036 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11037 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11038 return resultobj;
11039 fail:
11040 return NULL;
11041 }
11042
11043
11044 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11045 PyObject *resultobj;
11046 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11047 PyObject * obj0 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11054 if (SWIG_arg_fail(1)) SWIG_fail;
11055 {
11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
11057 (arg1)->Copy();
11058
11059 wxPyEndAllowThreads(__tstate);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 }
11062 Py_INCREF(Py_None); resultobj = Py_None;
11063 return resultobj;
11064 fail:
11065 return NULL;
11066 }
11067
11068
11069 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11070 PyObject *resultobj;
11071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11072 PyObject * obj0 = 0 ;
11073 char *kwnames[] = {
11074 (char *) "self", NULL
11075 };
11076
11077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11079 if (SWIG_arg_fail(1)) SWIG_fail;
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 (arg1)->Cut();
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11097 PyObject * obj0 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "self", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail;
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 (arg1)->Paste();
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 Py_INCREF(Py_None); resultobj = Py_None;
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11122 bool result;
11123 PyObject * obj0 = 0 ;
11124 char *kwnames[] = {
11125 (char *) "self", NULL
11126 };
11127
11128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11130 if (SWIG_arg_fail(1)) SWIG_fail;
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
11133 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11134
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
11138 {
11139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11140 }
11141 return resultobj;
11142 fail:
11143 return NULL;
11144 }
11145
11146
11147 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj;
11149 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11150 bool result;
11151 PyObject * obj0 = 0 ;
11152 char *kwnames[] = {
11153 (char *) "self", NULL
11154 };
11155
11156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11158 if (SWIG_arg_fail(1)) SWIG_fail;
11159 {
11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
11161 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 {
11167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11168 }
11169 return resultobj;
11170 fail:
11171 return NULL;
11172 }
11173
11174
11175 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11176 PyObject *resultobj;
11177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11178 bool result;
11179 PyObject * obj0 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "self", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11186 if (SWIG_arg_fail(1)) SWIG_fail;
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 {
11195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11196 }
11197 return resultobj;
11198 fail:
11199 return NULL;
11200 }
11201
11202
11203 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11204 PyObject *resultobj;
11205 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11206 PyObject * obj0 = 0 ;
11207 char *kwnames[] = {
11208 (char *) "self", NULL
11209 };
11210
11211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11213 if (SWIG_arg_fail(1)) SWIG_fail;
11214 {
11215 PyThreadState* __tstate = wxPyBeginAllowThreads();
11216 (arg1)->Undo();
11217
11218 wxPyEndAllowThreads(__tstate);
11219 if (PyErr_Occurred()) SWIG_fail;
11220 }
11221 Py_INCREF(Py_None); resultobj = Py_None;
11222 return resultobj;
11223 fail:
11224 return NULL;
11225 }
11226
11227
11228 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11229 PyObject *resultobj;
11230 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11231 PyObject * obj0 = 0 ;
11232 char *kwnames[] = {
11233 (char *) "self", NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail;
11239 {
11240 PyThreadState* __tstate = wxPyBeginAllowThreads();
11241 (arg1)->Redo();
11242
11243 wxPyEndAllowThreads(__tstate);
11244 if (PyErr_Occurred()) SWIG_fail;
11245 }
11246 Py_INCREF(Py_None); resultobj = Py_None;
11247 return resultobj;
11248 fail:
11249 return NULL;
11250 }
11251
11252
11253 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11254 PyObject *resultobj;
11255 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11256 bool result;
11257 PyObject * obj0 = 0 ;
11258 char *kwnames[] = {
11259 (char *) "self", NULL
11260 };
11261
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11264 if (SWIG_arg_fail(1)) SWIG_fail;
11265 {
11266 PyThreadState* __tstate = wxPyBeginAllowThreads();
11267 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11268
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 {
11273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11274 }
11275 return resultobj;
11276 fail:
11277 return NULL;
11278 }
11279
11280
11281 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11282 PyObject *resultobj;
11283 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11284 bool result;
11285 PyObject * obj0 = 0 ;
11286 char *kwnames[] = {
11287 (char *) "self", NULL
11288 };
11289
11290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11292 if (SWIG_arg_fail(1)) SWIG_fail;
11293 {
11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
11295 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11296
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 {
11301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11302 }
11303 return resultobj;
11304 fail:
11305 return NULL;
11306 }
11307
11308
11309 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11310 PyObject *resultobj;
11311 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11312 long arg2 ;
11313 PyObject * obj0 = 0 ;
11314 PyObject * obj1 = 0 ;
11315 char *kwnames[] = {
11316 (char *) "self",(char *) "pos", NULL
11317 };
11318
11319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11321 if (SWIG_arg_fail(1)) SWIG_fail;
11322 {
11323 arg2 = (long)(SWIG_As_long(obj1));
11324 if (SWIG_arg_fail(2)) SWIG_fail;
11325 }
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 (arg1)->SetInsertionPoint(arg2);
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 Py_INCREF(Py_None); resultobj = Py_None;
11334 return resultobj;
11335 fail:
11336 return NULL;
11337 }
11338
11339
11340 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11341 PyObject *resultobj;
11342 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11343 PyObject * obj0 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self", NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11350 if (SWIG_arg_fail(1)) SWIG_fail;
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 (arg1)->SetInsertionPointEnd();
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 Py_INCREF(Py_None); resultobj = Py_None;
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj;
11367 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11368 long result;
11369 PyObject * obj0 = 0 ;
11370 char *kwnames[] = {
11371 (char *) "self", NULL
11372 };
11373
11374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11376 if (SWIG_arg_fail(1)) SWIG_fail;
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11380
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 {
11385 resultobj = SWIG_From_long((long)(result));
11386 }
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11394 PyObject *resultobj;
11395 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11396 long result;
11397 PyObject * obj0 = 0 ;
11398 char *kwnames[] = {
11399 (char *) "self", NULL
11400 };
11401
11402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11404 if (SWIG_arg_fail(1)) SWIG_fail;
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 {
11413 resultobj = SWIG_From_long((long)(result));
11414 }
11415 return resultobj;
11416 fail:
11417 return NULL;
11418 }
11419
11420
11421 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11422 PyObject *resultobj;
11423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11424 long arg2 ;
11425 long arg3 ;
11426 PyObject * obj0 = 0 ;
11427 PyObject * obj1 = 0 ;
11428 PyObject * obj2 = 0 ;
11429 char *kwnames[] = {
11430 (char *) "self",(char *) "from",(char *) "to", NULL
11431 };
11432
11433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11435 if (SWIG_arg_fail(1)) SWIG_fail;
11436 {
11437 arg2 = (long)(SWIG_As_long(obj1));
11438 if (SWIG_arg_fail(2)) SWIG_fail;
11439 }
11440 {
11441 arg3 = (long)(SWIG_As_long(obj2));
11442 if (SWIG_arg_fail(3)) SWIG_fail;
11443 }
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 (arg1)->SetSelection(arg2,arg3);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 Py_INCREF(Py_None); resultobj = Py_None;
11452 return resultobj;
11453 fail:
11454 return NULL;
11455 }
11456
11457
11458 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11459 PyObject *resultobj;
11460 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11461 PyObject * obj0 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11468 if (SWIG_arg_fail(1)) SWIG_fail;
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 (arg1)->SelectAll();
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 Py_INCREF(Py_None); resultobj = Py_None;
11477 return resultobj;
11478 fail:
11479 return NULL;
11480 }
11481
11482
11483 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11484 PyObject *resultobj;
11485 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11486 bool arg2 ;
11487 PyObject * obj0 = 0 ;
11488 PyObject * obj1 = 0 ;
11489 char *kwnames[] = {
11490 (char *) "self",(char *) "editable", NULL
11491 };
11492
11493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11495 if (SWIG_arg_fail(1)) SWIG_fail;
11496 {
11497 arg2 = (bool)(SWIG_As_bool(obj1));
11498 if (SWIG_arg_fail(2)) SWIG_fail;
11499 }
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 (arg1)->SetEditable(arg2);
11503
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 Py_INCREF(Py_None); resultobj = Py_None;
11508 return resultobj;
11509 fail:
11510 return NULL;
11511 }
11512
11513
11514 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj;
11516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11517 wxString *arg2 = 0 ;
11518 bool temp2 = false ;
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "text", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail;
11528 {
11529 arg2 = wxString_in_helper(obj1);
11530 if (arg2 == NULL) SWIG_fail;
11531 temp2 = true;
11532 }
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 Py_INCREF(Py_None); resultobj = Py_None;
11541 {
11542 if (temp2)
11543 delete arg2;
11544 }
11545 return resultobj;
11546 fail:
11547 {
11548 if (temp2)
11549 delete arg2;
11550 }
11551 return NULL;
11552 }
11553
11554
11555 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj;
11557 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11558 long arg2 ;
11559 long arg3 ;
11560 wxString result;
11561 PyObject * obj0 = 0 ;
11562 PyObject * obj1 = 0 ;
11563 PyObject * obj2 = 0 ;
11564 char *kwnames[] = {
11565 (char *) "self",(char *) "from",(char *) "to", NULL
11566 };
11567
11568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11570 if (SWIG_arg_fail(1)) SWIG_fail;
11571 {
11572 arg2 = (long)(SWIG_As_long(obj1));
11573 if (SWIG_arg_fail(2)) SWIG_fail;
11574 }
11575 {
11576 arg3 = (long)(SWIG_As_long(obj2));
11577 if (SWIG_arg_fail(3)) SWIG_fail;
11578 }
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 {
11587 #if wxUSE_UNICODE
11588 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11589 #else
11590 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11591 #endif
11592 }
11593 return resultobj;
11594 fail:
11595 return NULL;
11596 }
11597
11598
11599 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11600 PyObject *resultobj;
11601 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11602 wxVisualAttributes result;
11603 PyObject * obj0 = 0 ;
11604 char *kwnames[] = {
11605 (char *) "variant", NULL
11606 };
11607
11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11609 if (obj0) {
11610 {
11611 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11612 if (SWIG_arg_fail(1)) SWIG_fail;
11613 }
11614 }
11615 {
11616 if (!wxPyCheckForApp()) SWIG_fail;
11617 PyThreadState* __tstate = wxPyBeginAllowThreads();
11618 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11619
11620 wxPyEndAllowThreads(__tstate);
11621 if (PyErr_Occurred()) SWIG_fail;
11622 }
11623 {
11624 wxVisualAttributes * resultptr;
11625 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
11626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11627 }
11628 return resultobj;
11629 fail:
11630 return NULL;
11631 }
11632
11633
11634 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11635 PyObject *obj;
11636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11637 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11638 Py_INCREF(obj);
11639 return Py_BuildValue((char *)"");
11640 }
11641 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11642 PyObject *resultobj;
11643 int arg1 ;
11644 wxMouseEvent *arg2 = 0 ;
11645 long arg3 ;
11646 long arg4 ;
11647 wxTextUrlEvent *result;
11648 PyObject * obj0 = 0 ;
11649 PyObject * obj1 = 0 ;
11650 PyObject * obj2 = 0 ;
11651 PyObject * obj3 = 0 ;
11652 char *kwnames[] = {
11653 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11654 };
11655
11656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11657 {
11658 arg1 = (int)(SWIG_As_int(obj0));
11659 if (SWIG_arg_fail(1)) SWIG_fail;
11660 }
11661 {
11662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11663 if (SWIG_arg_fail(2)) SWIG_fail;
11664 if (arg2 == NULL) {
11665 SWIG_null_ref("wxMouseEvent");
11666 }
11667 if (SWIG_arg_fail(2)) SWIG_fail;
11668 }
11669 {
11670 arg3 = (long)(SWIG_As_long(obj2));
11671 if (SWIG_arg_fail(3)) SWIG_fail;
11672 }
11673 {
11674 arg4 = (long)(SWIG_As_long(obj3));
11675 if (SWIG_arg_fail(4)) SWIG_fail;
11676 }
11677 {
11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
11679 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11680
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11685 return resultobj;
11686 fail:
11687 return NULL;
11688 }
11689
11690
11691 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj;
11693 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11694 wxMouseEvent *result;
11695 PyObject * obj0 = 0 ;
11696 char *kwnames[] = {
11697 (char *) "self", NULL
11698 };
11699
11700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11702 if (SWIG_arg_fail(1)) SWIG_fail;
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 {
11706 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11707 result = (wxMouseEvent *) &_result_ref;
11708 }
11709
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
11713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11714 return resultobj;
11715 fail:
11716 return NULL;
11717 }
11718
11719
11720 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11721 PyObject *resultobj;
11722 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11723 long result;
11724 PyObject * obj0 = 0 ;
11725 char *kwnames[] = {
11726 (char *) "self", NULL
11727 };
11728
11729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11731 if (SWIG_arg_fail(1)) SWIG_fail;
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
11734 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11735
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 {
11740 resultobj = SWIG_From_long((long)(result));
11741 }
11742 return resultobj;
11743 fail:
11744 return NULL;
11745 }
11746
11747
11748 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11749 PyObject *resultobj;
11750 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11751 long result;
11752 PyObject * obj0 = 0 ;
11753 char *kwnames[] = {
11754 (char *) "self", NULL
11755 };
11756
11757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11759 if (SWIG_arg_fail(1)) SWIG_fail;
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 {
11768 resultobj = SWIG_From_long((long)(result));
11769 }
11770 return resultobj;
11771 fail:
11772 return NULL;
11773 }
11774
11775
11776 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11777 PyObject *obj;
11778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11779 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11780 Py_INCREF(obj);
11781 return Py_BuildValue((char *)"");
11782 }
11783 static int _wrap_ScrollBarNameStr_set(PyObject *) {
11784 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11785 return 1;
11786 }
11787
11788
11789 static PyObject *_wrap_ScrollBarNameStr_get(void) {
11790 PyObject *pyobj;
11791
11792 {
11793 #if wxUSE_UNICODE
11794 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11795 #else
11796 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11797 #endif
11798 }
11799 return pyobj;
11800 }
11801
11802
11803 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11804 PyObject *resultobj;
11805 wxWindow *arg1 = (wxWindow *) 0 ;
11806 int arg2 = (int) -1 ;
11807 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11808 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11809 wxSize const &arg4_defvalue = wxDefaultSize ;
11810 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11811 long arg5 = (long) wxSB_HORIZONTAL ;
11812 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11813 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11814 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11815 wxString *arg7 = (wxString *) &arg7_defvalue ;
11816 wxScrollBar *result;
11817 wxPoint temp3 ;
11818 wxSize temp4 ;
11819 bool temp7 = false ;
11820 PyObject * obj0 = 0 ;
11821 PyObject * obj1 = 0 ;
11822 PyObject * obj2 = 0 ;
11823 PyObject * obj3 = 0 ;
11824 PyObject * obj4 = 0 ;
11825 PyObject * obj5 = 0 ;
11826 PyObject * obj6 = 0 ;
11827 char *kwnames[] = {
11828 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11829 };
11830
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11833 if (SWIG_arg_fail(1)) SWIG_fail;
11834 if (obj1) {
11835 {
11836 arg2 = (int)(SWIG_As_int(obj1));
11837 if (SWIG_arg_fail(2)) SWIG_fail;
11838 }
11839 }
11840 if (obj2) {
11841 {
11842 arg3 = &temp3;
11843 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11844 }
11845 }
11846 if (obj3) {
11847 {
11848 arg4 = &temp4;
11849 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11850 }
11851 }
11852 if (obj4) {
11853 {
11854 arg5 = (long)(SWIG_As_long(obj4));
11855 if (SWIG_arg_fail(5)) SWIG_fail;
11856 }
11857 }
11858 if (obj5) {
11859 {
11860 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11861 if (SWIG_arg_fail(6)) SWIG_fail;
11862 if (arg6 == NULL) {
11863 SWIG_null_ref("wxValidator");
11864 }
11865 if (SWIG_arg_fail(6)) SWIG_fail;
11866 }
11867 }
11868 if (obj6) {
11869 {
11870 arg7 = wxString_in_helper(obj6);
11871 if (arg7 == NULL) SWIG_fail;
11872 temp7 = true;
11873 }
11874 }
11875 {
11876 if (!wxPyCheckForApp()) SWIG_fail;
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11879
11880 wxPyEndAllowThreads(__tstate);
11881 if (PyErr_Occurred()) SWIG_fail;
11882 }
11883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11884 {
11885 if (temp7)
11886 delete arg7;
11887 }
11888 return resultobj;
11889 fail:
11890 {
11891 if (temp7)
11892 delete arg7;
11893 }
11894 return NULL;
11895 }
11896
11897
11898 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11899 PyObject *resultobj;
11900 wxScrollBar *result;
11901 char *kwnames[] = {
11902 NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11906 {
11907 if (!wxPyCheckForApp()) SWIG_fail;
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 result = (wxScrollBar *)new wxScrollBar();
11910
11911 wxPyEndAllowThreads(__tstate);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 }
11914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11915 return resultobj;
11916 fail:
11917 return NULL;
11918 }
11919
11920
11921 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11922 PyObject *resultobj;
11923 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11924 wxWindow *arg2 = (wxWindow *) 0 ;
11925 int arg3 = (int) -1 ;
11926 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11927 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11928 wxSize const &arg5_defvalue = wxDefaultSize ;
11929 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11930 long arg6 = (long) wxSB_HORIZONTAL ;
11931 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11932 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11933 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11934 wxString *arg8 = (wxString *) &arg8_defvalue ;
11935 bool result;
11936 wxPoint temp4 ;
11937 wxSize temp5 ;
11938 bool temp8 = false ;
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
11941 PyObject * obj2 = 0 ;
11942 PyObject * obj3 = 0 ;
11943 PyObject * obj4 = 0 ;
11944 PyObject * obj5 = 0 ;
11945 PyObject * obj6 = 0 ;
11946 PyObject * obj7 = 0 ;
11947 char *kwnames[] = {
11948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11949 };
11950
11951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11953 if (SWIG_arg_fail(1)) SWIG_fail;
11954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11955 if (SWIG_arg_fail(2)) SWIG_fail;
11956 if (obj2) {
11957 {
11958 arg3 = (int)(SWIG_As_int(obj2));
11959 if (SWIG_arg_fail(3)) SWIG_fail;
11960 }
11961 }
11962 if (obj3) {
11963 {
11964 arg4 = &temp4;
11965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11966 }
11967 }
11968 if (obj4) {
11969 {
11970 arg5 = &temp5;
11971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11972 }
11973 }
11974 if (obj5) {
11975 {
11976 arg6 = (long)(SWIG_As_long(obj5));
11977 if (SWIG_arg_fail(6)) SWIG_fail;
11978 }
11979 }
11980 if (obj6) {
11981 {
11982 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11983 if (SWIG_arg_fail(7)) SWIG_fail;
11984 if (arg7 == NULL) {
11985 SWIG_null_ref("wxValidator");
11986 }
11987 if (SWIG_arg_fail(7)) SWIG_fail;
11988 }
11989 }
11990 if (obj7) {
11991 {
11992 arg8 = wxString_in_helper(obj7);
11993 if (arg8 == NULL) SWIG_fail;
11994 temp8 = true;
11995 }
11996 }
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12000
12001 wxPyEndAllowThreads(__tstate);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 }
12004 {
12005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12006 }
12007 {
12008 if (temp8)
12009 delete arg8;
12010 }
12011 return resultobj;
12012 fail:
12013 {
12014 if (temp8)
12015 delete arg8;
12016 }
12017 return NULL;
12018 }
12019
12020
12021 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12022 PyObject *resultobj;
12023 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12024 int result;
12025 PyObject * obj0 = 0 ;
12026 char *kwnames[] = {
12027 (char *) "self", NULL
12028 };
12029
12030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12032 if (SWIG_arg_fail(1)) SWIG_fail;
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12036
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 {
12041 resultobj = SWIG_From_int((int)(result));
12042 }
12043 return resultobj;
12044 fail:
12045 return NULL;
12046 }
12047
12048
12049 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12050 PyObject *resultobj;
12051 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12052 int result;
12053 PyObject * obj0 = 0 ;
12054 char *kwnames[] = {
12055 (char *) "self", NULL
12056 };
12057
12058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12060 if (SWIG_arg_fail(1)) SWIG_fail;
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 {
12069 resultobj = SWIG_From_int((int)(result));
12070 }
12071 return resultobj;
12072 fail:
12073 return NULL;
12074 }
12075
12076
12077 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12078 PyObject *resultobj;
12079 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12080 int result;
12081 PyObject * obj0 = 0 ;
12082 char *kwnames[] = {
12083 (char *) "self", NULL
12084 };
12085
12086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12088 if (SWIG_arg_fail(1)) SWIG_fail;
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 {
12097 resultobj = SWIG_From_int((int)(result));
12098 }
12099 return resultobj;
12100 fail:
12101 return NULL;
12102 }
12103
12104
12105 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12106 PyObject *resultobj;
12107 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12108 int result;
12109 PyObject * obj0 = 0 ;
12110 char *kwnames[] = {
12111 (char *) "self", NULL
12112 };
12113
12114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12116 if (SWIG_arg_fail(1)) SWIG_fail;
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 result = (int)((wxScrollBar const *)arg1)->GetRange();
12120
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
12124 {
12125 resultobj = SWIG_From_int((int)(result));
12126 }
12127 return resultobj;
12128 fail:
12129 return NULL;
12130 }
12131
12132
12133 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj;
12135 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12136 bool result;
12137 PyObject * obj0 = 0 ;
12138 char *kwnames[] = {
12139 (char *) "self", NULL
12140 };
12141
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail;
12145 {
12146 PyThreadState* __tstate = wxPyBeginAllowThreads();
12147 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12148
12149 wxPyEndAllowThreads(__tstate);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
12152 {
12153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12154 }
12155 return resultobj;
12156 fail:
12157 return NULL;
12158 }
12159
12160
12161 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12162 PyObject *resultobj;
12163 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12164 int arg2 ;
12165 PyObject * obj0 = 0 ;
12166 PyObject * obj1 = 0 ;
12167 char *kwnames[] = {
12168 (char *) "self",(char *) "viewStart", NULL
12169 };
12170
12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12173 if (SWIG_arg_fail(1)) SWIG_fail;
12174 {
12175 arg2 = (int)(SWIG_As_int(obj1));
12176 if (SWIG_arg_fail(2)) SWIG_fail;
12177 }
12178 {
12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
12180 (arg1)->SetThumbPosition(arg2);
12181
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 Py_INCREF(Py_None); resultobj = Py_None;
12186 return resultobj;
12187 fail:
12188 return NULL;
12189 }
12190
12191
12192 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12193 PyObject *resultobj;
12194 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12195 int arg2 ;
12196 int arg3 ;
12197 int arg4 ;
12198 int arg5 ;
12199 bool arg6 = (bool) true ;
12200 PyObject * obj0 = 0 ;
12201 PyObject * obj1 = 0 ;
12202 PyObject * obj2 = 0 ;
12203 PyObject * obj3 = 0 ;
12204 PyObject * obj4 = 0 ;
12205 PyObject * obj5 = 0 ;
12206 char *kwnames[] = {
12207 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12208 };
12209
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12212 if (SWIG_arg_fail(1)) SWIG_fail;
12213 {
12214 arg2 = (int)(SWIG_As_int(obj1));
12215 if (SWIG_arg_fail(2)) SWIG_fail;
12216 }
12217 {
12218 arg3 = (int)(SWIG_As_int(obj2));
12219 if (SWIG_arg_fail(3)) SWIG_fail;
12220 }
12221 {
12222 arg4 = (int)(SWIG_As_int(obj3));
12223 if (SWIG_arg_fail(4)) SWIG_fail;
12224 }
12225 {
12226 arg5 = (int)(SWIG_As_int(obj4));
12227 if (SWIG_arg_fail(5)) SWIG_fail;
12228 }
12229 if (obj5) {
12230 {
12231 arg6 = (bool)(SWIG_As_bool(obj5));
12232 if (SWIG_arg_fail(6)) SWIG_fail;
12233 }
12234 }
12235 {
12236 PyThreadState* __tstate = wxPyBeginAllowThreads();
12237 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12238
12239 wxPyEndAllowThreads(__tstate);
12240 if (PyErr_Occurred()) SWIG_fail;
12241 }
12242 Py_INCREF(Py_None); resultobj = Py_None;
12243 return resultobj;
12244 fail:
12245 return NULL;
12246 }
12247
12248
12249 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12250 PyObject *resultobj;
12251 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12252 wxVisualAttributes result;
12253 PyObject * obj0 = 0 ;
12254 char *kwnames[] = {
12255 (char *) "variant", NULL
12256 };
12257
12258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12259 if (obj0) {
12260 {
12261 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12262 if (SWIG_arg_fail(1)) SWIG_fail;
12263 }
12264 }
12265 {
12266 if (!wxPyCheckForApp()) SWIG_fail;
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 {
12274 wxVisualAttributes * resultptr;
12275 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12276 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12277 }
12278 return resultobj;
12279 fail:
12280 return NULL;
12281 }
12282
12283
12284 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12285 PyObject *obj;
12286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12287 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12288 Py_INCREF(obj);
12289 return Py_BuildValue((char *)"");
12290 }
12291 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12292 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12293 return 1;
12294 }
12295
12296
12297 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12298 PyObject *pyobj;
12299
12300 {
12301 #if wxUSE_UNICODE
12302 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12303 #else
12304 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12305 #endif
12306 }
12307 return pyobj;
12308 }
12309
12310
12311 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12312 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12313 return 1;
12314 }
12315
12316
12317 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12318 PyObject *pyobj;
12319
12320 {
12321 #if wxUSE_UNICODE
12322 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12323 #else
12324 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12325 #endif
12326 }
12327 return pyobj;
12328 }
12329
12330
12331 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12332 PyObject *resultobj;
12333 wxWindow *arg1 = (wxWindow *) 0 ;
12334 int arg2 = (int) -1 ;
12335 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12336 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12337 wxSize const &arg4_defvalue = wxDefaultSize ;
12338 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12339 long arg5 = (long) wxSP_HORIZONTAL ;
12340 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12341 wxString *arg6 = (wxString *) &arg6_defvalue ;
12342 wxSpinButton *result;
12343 wxPoint temp3 ;
12344 wxSize temp4 ;
12345 bool temp6 = false ;
12346 PyObject * obj0 = 0 ;
12347 PyObject * obj1 = 0 ;
12348 PyObject * obj2 = 0 ;
12349 PyObject * obj3 = 0 ;
12350 PyObject * obj4 = 0 ;
12351 PyObject * obj5 = 0 ;
12352 char *kwnames[] = {
12353 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12354 };
12355
12356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12358 if (SWIG_arg_fail(1)) SWIG_fail;
12359 if (obj1) {
12360 {
12361 arg2 = (int)(SWIG_As_int(obj1));
12362 if (SWIG_arg_fail(2)) SWIG_fail;
12363 }
12364 }
12365 if (obj2) {
12366 {
12367 arg3 = &temp3;
12368 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12369 }
12370 }
12371 if (obj3) {
12372 {
12373 arg4 = &temp4;
12374 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12375 }
12376 }
12377 if (obj4) {
12378 {
12379 arg5 = (long)(SWIG_As_long(obj4));
12380 if (SWIG_arg_fail(5)) SWIG_fail;
12381 }
12382 }
12383 if (obj5) {
12384 {
12385 arg6 = wxString_in_helper(obj5);
12386 if (arg6 == NULL) SWIG_fail;
12387 temp6 = true;
12388 }
12389 }
12390 {
12391 if (!wxPyCheckForApp()) SWIG_fail;
12392 PyThreadState* __tstate = wxPyBeginAllowThreads();
12393 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12394
12395 wxPyEndAllowThreads(__tstate);
12396 if (PyErr_Occurred()) SWIG_fail;
12397 }
12398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12399 {
12400 if (temp6)
12401 delete arg6;
12402 }
12403 return resultobj;
12404 fail:
12405 {
12406 if (temp6)
12407 delete arg6;
12408 }
12409 return NULL;
12410 }
12411
12412
12413 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12414 PyObject *resultobj;
12415 wxSpinButton *result;
12416 char *kwnames[] = {
12417 NULL
12418 };
12419
12420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12421 {
12422 if (!wxPyCheckForApp()) SWIG_fail;
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 result = (wxSpinButton *)new wxSpinButton();
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12430 return resultobj;
12431 fail:
12432 return NULL;
12433 }
12434
12435
12436 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12439 wxWindow *arg2 = (wxWindow *) 0 ;
12440 int arg3 = (int) -1 ;
12441 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12442 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12443 wxSize const &arg5_defvalue = wxDefaultSize ;
12444 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12445 long arg6 = (long) wxSP_HORIZONTAL ;
12446 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12447 wxString *arg7 = (wxString *) &arg7_defvalue ;
12448 bool result;
12449 wxPoint temp4 ;
12450 wxSize temp5 ;
12451 bool temp7 = false ;
12452 PyObject * obj0 = 0 ;
12453 PyObject * obj1 = 0 ;
12454 PyObject * obj2 = 0 ;
12455 PyObject * obj3 = 0 ;
12456 PyObject * obj4 = 0 ;
12457 PyObject * obj5 = 0 ;
12458 PyObject * obj6 = 0 ;
12459 char *kwnames[] = {
12460 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12461 };
12462
12463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12465 if (SWIG_arg_fail(1)) SWIG_fail;
12466 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12467 if (SWIG_arg_fail(2)) SWIG_fail;
12468 if (obj2) {
12469 {
12470 arg3 = (int)(SWIG_As_int(obj2));
12471 if (SWIG_arg_fail(3)) SWIG_fail;
12472 }
12473 }
12474 if (obj3) {
12475 {
12476 arg4 = &temp4;
12477 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12478 }
12479 }
12480 if (obj4) {
12481 {
12482 arg5 = &temp5;
12483 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12484 }
12485 }
12486 if (obj5) {
12487 {
12488 arg6 = (long)(SWIG_As_long(obj5));
12489 if (SWIG_arg_fail(6)) SWIG_fail;
12490 }
12491 }
12492 if (obj6) {
12493 {
12494 arg7 = wxString_in_helper(obj6);
12495 if (arg7 == NULL) SWIG_fail;
12496 temp7 = true;
12497 }
12498 }
12499 {
12500 PyThreadState* __tstate = wxPyBeginAllowThreads();
12501 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12502
12503 wxPyEndAllowThreads(__tstate);
12504 if (PyErr_Occurred()) SWIG_fail;
12505 }
12506 {
12507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12508 }
12509 {
12510 if (temp7)
12511 delete arg7;
12512 }
12513 return resultobj;
12514 fail:
12515 {
12516 if (temp7)
12517 delete arg7;
12518 }
12519 return NULL;
12520 }
12521
12522
12523 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12526 int result;
12527 PyObject * obj0 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12534 if (SWIG_arg_fail(1)) SWIG_fail;
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 result = (int)((wxSpinButton const *)arg1)->GetValue();
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
12542 {
12543 resultobj = SWIG_From_int((int)(result));
12544 }
12545 return resultobj;
12546 fail:
12547 return NULL;
12548 }
12549
12550
12551 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12552 PyObject *resultobj;
12553 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12554 int result;
12555 PyObject * obj0 = 0 ;
12556 char *kwnames[] = {
12557 (char *) "self", NULL
12558 };
12559
12560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12562 if (SWIG_arg_fail(1)) SWIG_fail;
12563 {
12564 PyThreadState* __tstate = wxPyBeginAllowThreads();
12565 result = (int)((wxSpinButton const *)arg1)->GetMin();
12566
12567 wxPyEndAllowThreads(__tstate);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 }
12570 {
12571 resultobj = SWIG_From_int((int)(result));
12572 }
12573 return resultobj;
12574 fail:
12575 return NULL;
12576 }
12577
12578
12579 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12580 PyObject *resultobj;
12581 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12582 int result;
12583 PyObject * obj0 = 0 ;
12584 char *kwnames[] = {
12585 (char *) "self", NULL
12586 };
12587
12588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12590 if (SWIG_arg_fail(1)) SWIG_fail;
12591 {
12592 PyThreadState* __tstate = wxPyBeginAllowThreads();
12593 result = (int)((wxSpinButton const *)arg1)->GetMax();
12594
12595 wxPyEndAllowThreads(__tstate);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 }
12598 {
12599 resultobj = SWIG_From_int((int)(result));
12600 }
12601 return resultobj;
12602 fail:
12603 return NULL;
12604 }
12605
12606
12607 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12608 PyObject *resultobj;
12609 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12610 int arg2 ;
12611 PyObject * obj0 = 0 ;
12612 PyObject * obj1 = 0 ;
12613 char *kwnames[] = {
12614 (char *) "self",(char *) "val", NULL
12615 };
12616
12617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12619 if (SWIG_arg_fail(1)) SWIG_fail;
12620 {
12621 arg2 = (int)(SWIG_As_int(obj1));
12622 if (SWIG_arg_fail(2)) SWIG_fail;
12623 }
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 (arg1)->SetValue(arg2);
12627
12628 wxPyEndAllowThreads(__tstate);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
12631 Py_INCREF(Py_None); resultobj = Py_None;
12632 return resultobj;
12633 fail:
12634 return NULL;
12635 }
12636
12637
12638 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12639 PyObject *resultobj;
12640 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12641 int arg2 ;
12642 PyObject * obj0 = 0 ;
12643 PyObject * obj1 = 0 ;
12644 char *kwnames[] = {
12645 (char *) "self",(char *) "minVal", NULL
12646 };
12647
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) 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 arg2 = (int)(SWIG_As_int(obj1));
12653 if (SWIG_arg_fail(2)) SWIG_fail;
12654 }
12655 {
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 (arg1)->SetMin(arg2);
12658
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 Py_INCREF(Py_None); resultobj = Py_None;
12663 return resultobj;
12664 fail:
12665 return NULL;
12666 }
12667
12668
12669 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12670 PyObject *resultobj;
12671 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12672 int arg2 ;
12673 PyObject * obj0 = 0 ;
12674 PyObject * obj1 = 0 ;
12675 char *kwnames[] = {
12676 (char *) "self",(char *) "maxVal", NULL
12677 };
12678
12679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12681 if (SWIG_arg_fail(1)) SWIG_fail;
12682 {
12683 arg2 = (int)(SWIG_As_int(obj1));
12684 if (SWIG_arg_fail(2)) SWIG_fail;
12685 }
12686 {
12687 PyThreadState* __tstate = wxPyBeginAllowThreads();
12688 (arg1)->SetMax(arg2);
12689
12690 wxPyEndAllowThreads(__tstate);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 }
12693 Py_INCREF(Py_None); resultobj = Py_None;
12694 return resultobj;
12695 fail:
12696 return NULL;
12697 }
12698
12699
12700 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12701 PyObject *resultobj;
12702 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12703 int arg2 ;
12704 int arg3 ;
12705 PyObject * obj0 = 0 ;
12706 PyObject * obj1 = 0 ;
12707 PyObject * obj2 = 0 ;
12708 char *kwnames[] = {
12709 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12710 };
12711
12712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12714 if (SWIG_arg_fail(1)) SWIG_fail;
12715 {
12716 arg2 = (int)(SWIG_As_int(obj1));
12717 if (SWIG_arg_fail(2)) SWIG_fail;
12718 }
12719 {
12720 arg3 = (int)(SWIG_As_int(obj2));
12721 if (SWIG_arg_fail(3)) SWIG_fail;
12722 }
12723 {
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 (arg1)->SetRange(arg2,arg3);
12726
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 Py_INCREF(Py_None); resultobj = Py_None;
12731 return resultobj;
12732 fail:
12733 return NULL;
12734 }
12735
12736
12737 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12738 PyObject *resultobj;
12739 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12740 bool result;
12741 PyObject * obj0 = 0 ;
12742 char *kwnames[] = {
12743 (char *) "self", NULL
12744 };
12745
12746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12748 if (SWIG_arg_fail(1)) SWIG_fail;
12749 {
12750 PyThreadState* __tstate = wxPyBeginAllowThreads();
12751 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12752
12753 wxPyEndAllowThreads(__tstate);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 {
12757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12758 }
12759 return resultobj;
12760 fail:
12761 return NULL;
12762 }
12763
12764
12765 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12766 PyObject *resultobj;
12767 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12768 wxVisualAttributes result;
12769 PyObject * obj0 = 0 ;
12770 char *kwnames[] = {
12771 (char *) "variant", NULL
12772 };
12773
12774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12775 if (obj0) {
12776 {
12777 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12778 if (SWIG_arg_fail(1)) SWIG_fail;
12779 }
12780 }
12781 {
12782 if (!wxPyCheckForApp()) SWIG_fail;
12783 PyThreadState* __tstate = wxPyBeginAllowThreads();
12784 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12785
12786 wxPyEndAllowThreads(__tstate);
12787 if (PyErr_Occurred()) SWIG_fail;
12788 }
12789 {
12790 wxVisualAttributes * resultptr;
12791 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12793 }
12794 return resultobj;
12795 fail:
12796 return NULL;
12797 }
12798
12799
12800 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12801 PyObject *obj;
12802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12803 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12804 Py_INCREF(obj);
12805 return Py_BuildValue((char *)"");
12806 }
12807 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 wxWindow *arg1 = (wxWindow *) 0 ;
12810 int arg2 = (int) -1 ;
12811 wxString const &arg3_defvalue = wxPyEmptyString ;
12812 wxString *arg3 = (wxString *) &arg3_defvalue ;
12813 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12814 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12815 wxSize const &arg5_defvalue = wxDefaultSize ;
12816 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12817 long arg6 = (long) wxSP_ARROW_KEYS ;
12818 int arg7 = (int) 0 ;
12819 int arg8 = (int) 100 ;
12820 int arg9 = (int) 0 ;
12821 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12822 wxString *arg10 = (wxString *) &arg10_defvalue ;
12823 wxSpinCtrl *result;
12824 bool temp3 = false ;
12825 wxPoint temp4 ;
12826 wxSize temp5 ;
12827 bool temp10 = false ;
12828 PyObject * obj0 = 0 ;
12829 PyObject * obj1 = 0 ;
12830 PyObject * obj2 = 0 ;
12831 PyObject * obj3 = 0 ;
12832 PyObject * obj4 = 0 ;
12833 PyObject * obj5 = 0 ;
12834 PyObject * obj6 = 0 ;
12835 PyObject * obj7 = 0 ;
12836 PyObject * obj8 = 0 ;
12837 PyObject * obj9 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail;
12845 if (obj1) {
12846 {
12847 arg2 = (int)(SWIG_As_int(obj1));
12848 if (SWIG_arg_fail(2)) SWIG_fail;
12849 }
12850 }
12851 if (obj2) {
12852 {
12853 arg3 = wxString_in_helper(obj2);
12854 if (arg3 == NULL) SWIG_fail;
12855 temp3 = true;
12856 }
12857 }
12858 if (obj3) {
12859 {
12860 arg4 = &temp4;
12861 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12862 }
12863 }
12864 if (obj4) {
12865 {
12866 arg5 = &temp5;
12867 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12868 }
12869 }
12870 if (obj5) {
12871 {
12872 arg6 = (long)(SWIG_As_long(obj5));
12873 if (SWIG_arg_fail(6)) SWIG_fail;
12874 }
12875 }
12876 if (obj6) {
12877 {
12878 arg7 = (int)(SWIG_As_int(obj6));
12879 if (SWIG_arg_fail(7)) SWIG_fail;
12880 }
12881 }
12882 if (obj7) {
12883 {
12884 arg8 = (int)(SWIG_As_int(obj7));
12885 if (SWIG_arg_fail(8)) SWIG_fail;
12886 }
12887 }
12888 if (obj8) {
12889 {
12890 arg9 = (int)(SWIG_As_int(obj8));
12891 if (SWIG_arg_fail(9)) SWIG_fail;
12892 }
12893 }
12894 if (obj9) {
12895 {
12896 arg10 = wxString_in_helper(obj9);
12897 if (arg10 == NULL) SWIG_fail;
12898 temp10 = true;
12899 }
12900 }
12901 {
12902 if (!wxPyCheckForApp()) SWIG_fail;
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12910 {
12911 if (temp3)
12912 delete arg3;
12913 }
12914 {
12915 if (temp10)
12916 delete arg10;
12917 }
12918 return resultobj;
12919 fail:
12920 {
12921 if (temp3)
12922 delete arg3;
12923 }
12924 {
12925 if (temp10)
12926 delete arg10;
12927 }
12928 return NULL;
12929 }
12930
12931
12932 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12933 PyObject *resultobj;
12934 wxSpinCtrl *result;
12935 char *kwnames[] = {
12936 NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12940 {
12941 if (!wxPyCheckForApp()) SWIG_fail;
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 result = (wxSpinCtrl *)new wxSpinCtrl();
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12949 return resultobj;
12950 fail:
12951 return NULL;
12952 }
12953
12954
12955 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12956 PyObject *resultobj;
12957 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12958 wxWindow *arg2 = (wxWindow *) 0 ;
12959 int arg3 = (int) -1 ;
12960 wxString const &arg4_defvalue = wxPyEmptyString ;
12961 wxString *arg4 = (wxString *) &arg4_defvalue ;
12962 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12963 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12964 wxSize const &arg6_defvalue = wxDefaultSize ;
12965 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12966 long arg7 = (long) wxSP_ARROW_KEYS ;
12967 int arg8 = (int) 0 ;
12968 int arg9 = (int) 100 ;
12969 int arg10 = (int) 0 ;
12970 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
12971 wxString *arg11 = (wxString *) &arg11_defvalue ;
12972 bool result;
12973 bool temp4 = false ;
12974 wxPoint temp5 ;
12975 wxSize temp6 ;
12976 bool temp11 = false ;
12977 PyObject * obj0 = 0 ;
12978 PyObject * obj1 = 0 ;
12979 PyObject * obj2 = 0 ;
12980 PyObject * obj3 = 0 ;
12981 PyObject * obj4 = 0 ;
12982 PyObject * obj5 = 0 ;
12983 PyObject * obj6 = 0 ;
12984 PyObject * obj7 = 0 ;
12985 PyObject * obj8 = 0 ;
12986 PyObject * obj9 = 0 ;
12987 PyObject * obj10 = 0 ;
12988 char *kwnames[] = {
12989 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12990 };
12991
12992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail;
12995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12996 if (SWIG_arg_fail(2)) SWIG_fail;
12997 if (obj2) {
12998 {
12999 arg3 = (int)(SWIG_As_int(obj2));
13000 if (SWIG_arg_fail(3)) SWIG_fail;
13001 }
13002 }
13003 if (obj3) {
13004 {
13005 arg4 = wxString_in_helper(obj3);
13006 if (arg4 == NULL) SWIG_fail;
13007 temp4 = true;
13008 }
13009 }
13010 if (obj4) {
13011 {
13012 arg5 = &temp5;
13013 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13014 }
13015 }
13016 if (obj5) {
13017 {
13018 arg6 = &temp6;
13019 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13020 }
13021 }
13022 if (obj6) {
13023 {
13024 arg7 = (long)(SWIG_As_long(obj6));
13025 if (SWIG_arg_fail(7)) SWIG_fail;
13026 }
13027 }
13028 if (obj7) {
13029 {
13030 arg8 = (int)(SWIG_As_int(obj7));
13031 if (SWIG_arg_fail(8)) SWIG_fail;
13032 }
13033 }
13034 if (obj8) {
13035 {
13036 arg9 = (int)(SWIG_As_int(obj8));
13037 if (SWIG_arg_fail(9)) SWIG_fail;
13038 }
13039 }
13040 if (obj9) {
13041 {
13042 arg10 = (int)(SWIG_As_int(obj9));
13043 if (SWIG_arg_fail(10)) SWIG_fail;
13044 }
13045 }
13046 if (obj10) {
13047 {
13048 arg11 = wxString_in_helper(obj10);
13049 if (arg11 == NULL) SWIG_fail;
13050 temp11 = true;
13051 }
13052 }
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13056
13057 wxPyEndAllowThreads(__tstate);
13058 if (PyErr_Occurred()) SWIG_fail;
13059 }
13060 {
13061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13062 }
13063 {
13064 if (temp4)
13065 delete arg4;
13066 }
13067 {
13068 if (temp11)
13069 delete arg11;
13070 }
13071 return resultobj;
13072 fail:
13073 {
13074 if (temp4)
13075 delete arg4;
13076 }
13077 {
13078 if (temp11)
13079 delete arg11;
13080 }
13081 return NULL;
13082 }
13083
13084
13085 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13086 PyObject *resultobj;
13087 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13088 int result;
13089 PyObject * obj0 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "self", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13096 if (SWIG_arg_fail(1)) SWIG_fail;
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13100
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 {
13105 resultobj = SWIG_From_int((int)(result));
13106 }
13107 return resultobj;
13108 fail:
13109 return NULL;
13110 }
13111
13112
13113 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj;
13115 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13116 int arg2 ;
13117 PyObject * obj0 = 0 ;
13118 PyObject * obj1 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self",(char *) "value", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail;
13126 {
13127 arg2 = (int)(SWIG_As_int(obj1));
13128 if (SWIG_arg_fail(2)) SWIG_fail;
13129 }
13130 {
13131 PyThreadState* __tstate = wxPyBeginAllowThreads();
13132 (arg1)->SetValue(arg2);
13133
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 Py_INCREF(Py_None); resultobj = Py_None;
13138 return resultobj;
13139 fail:
13140 return NULL;
13141 }
13142
13143
13144 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13145 PyObject *resultobj;
13146 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13147 wxString *arg2 = 0 ;
13148 bool temp2 = false ;
13149 PyObject * obj0 = 0 ;
13150 PyObject * obj1 = 0 ;
13151 char *kwnames[] = {
13152 (char *) "self",(char *) "text", NULL
13153 };
13154
13155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13157 if (SWIG_arg_fail(1)) SWIG_fail;
13158 {
13159 arg2 = wxString_in_helper(obj1);
13160 if (arg2 == NULL) SWIG_fail;
13161 temp2 = true;
13162 }
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 (arg1)->SetValue((wxString const &)*arg2);
13166
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
13170 Py_INCREF(Py_None); resultobj = Py_None;
13171 {
13172 if (temp2)
13173 delete arg2;
13174 }
13175 return resultobj;
13176 fail:
13177 {
13178 if (temp2)
13179 delete arg2;
13180 }
13181 return NULL;
13182 }
13183
13184
13185 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13186 PyObject *resultobj;
13187 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13188 int arg2 ;
13189 int arg3 ;
13190 PyObject * obj0 = 0 ;
13191 PyObject * obj1 = 0 ;
13192 PyObject * obj2 = 0 ;
13193 char *kwnames[] = {
13194 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13195 };
13196
13197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13199 if (SWIG_arg_fail(1)) SWIG_fail;
13200 {
13201 arg2 = (int)(SWIG_As_int(obj1));
13202 if (SWIG_arg_fail(2)) SWIG_fail;
13203 }
13204 {
13205 arg3 = (int)(SWIG_As_int(obj2));
13206 if (SWIG_arg_fail(3)) SWIG_fail;
13207 }
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 (arg1)->SetRange(arg2,arg3);
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 Py_INCREF(Py_None); resultobj = Py_None;
13216 return resultobj;
13217 fail:
13218 return NULL;
13219 }
13220
13221
13222 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj;
13224 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13225 int result;
13226 PyObject * obj0 = 0 ;
13227 char *kwnames[] = {
13228 (char *) "self", NULL
13229 };
13230
13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13233 if (SWIG_arg_fail(1)) SWIG_fail;
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
13241 {
13242 resultobj = SWIG_From_int((int)(result));
13243 }
13244 return resultobj;
13245 fail:
13246 return NULL;
13247 }
13248
13249
13250 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13251 PyObject *resultobj;
13252 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13253 int result;
13254 PyObject * obj0 = 0 ;
13255 char *kwnames[] = {
13256 (char *) "self", NULL
13257 };
13258
13259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13261 if (SWIG_arg_fail(1)) SWIG_fail;
13262 {
13263 PyThreadState* __tstate = wxPyBeginAllowThreads();
13264 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13265
13266 wxPyEndAllowThreads(__tstate);
13267 if (PyErr_Occurred()) SWIG_fail;
13268 }
13269 {
13270 resultobj = SWIG_From_int((int)(result));
13271 }
13272 return resultobj;
13273 fail:
13274 return NULL;
13275 }
13276
13277
13278 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13279 PyObject *resultobj;
13280 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13281 long arg2 ;
13282 long arg3 ;
13283 PyObject * obj0 = 0 ;
13284 PyObject * obj1 = 0 ;
13285 PyObject * obj2 = 0 ;
13286 char *kwnames[] = {
13287 (char *) "self",(char *) "from",(char *) "to", NULL
13288 };
13289
13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13292 if (SWIG_arg_fail(1)) SWIG_fail;
13293 {
13294 arg2 = (long)(SWIG_As_long(obj1));
13295 if (SWIG_arg_fail(2)) SWIG_fail;
13296 }
13297 {
13298 arg3 = (long)(SWIG_As_long(obj2));
13299 if (SWIG_arg_fail(3)) SWIG_fail;
13300 }
13301 {
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
13303 (arg1)->SetSelection(arg2,arg3);
13304
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
13308 Py_INCREF(Py_None); resultobj = Py_None;
13309 return resultobj;
13310 fail:
13311 return NULL;
13312 }
13313
13314
13315 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13316 PyObject *resultobj;
13317 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13318 wxVisualAttributes result;
13319 PyObject * obj0 = 0 ;
13320 char *kwnames[] = {
13321 (char *) "variant", NULL
13322 };
13323
13324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13325 if (obj0) {
13326 {
13327 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13328 if (SWIG_arg_fail(1)) SWIG_fail;
13329 }
13330 }
13331 {
13332 if (!wxPyCheckForApp()) SWIG_fail;
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 {
13340 wxVisualAttributes * resultptr;
13341 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
13342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13343 }
13344 return resultobj;
13345 fail:
13346 return NULL;
13347 }
13348
13349
13350 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13351 PyObject *obj;
13352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13353 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13354 Py_INCREF(obj);
13355 return Py_BuildValue((char *)"");
13356 }
13357 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13358 PyObject *resultobj;
13359 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13360 int arg2 = (int) 0 ;
13361 wxSpinEvent *result;
13362 PyObject * obj0 = 0 ;
13363 PyObject * obj1 = 0 ;
13364 char *kwnames[] = {
13365 (char *) "commandType",(char *) "winid", NULL
13366 };
13367
13368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13369 if (obj0) {
13370 {
13371 arg1 = (wxEventType)(SWIG_As_int(obj0));
13372 if (SWIG_arg_fail(1)) SWIG_fail;
13373 }
13374 }
13375 if (obj1) {
13376 {
13377 arg2 = (int)(SWIG_As_int(obj1));
13378 if (SWIG_arg_fail(2)) SWIG_fail;
13379 }
13380 }
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13384
13385 wxPyEndAllowThreads(__tstate);
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
13388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13389 return resultobj;
13390 fail:
13391 return NULL;
13392 }
13393
13394
13395 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13396 PyObject *resultobj;
13397 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13398 int result;
13399 PyObject * obj0 = 0 ;
13400 char *kwnames[] = {
13401 (char *) "self", NULL
13402 };
13403
13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13406 if (SWIG_arg_fail(1)) SWIG_fail;
13407 {
13408 PyThreadState* __tstate = wxPyBeginAllowThreads();
13409 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13410
13411 wxPyEndAllowThreads(__tstate);
13412 if (PyErr_Occurred()) SWIG_fail;
13413 }
13414 {
13415 resultobj = SWIG_From_int((int)(result));
13416 }
13417 return resultobj;
13418 fail:
13419 return NULL;
13420 }
13421
13422
13423 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13424 PyObject *resultobj;
13425 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13426 int arg2 ;
13427 PyObject * obj0 = 0 ;
13428 PyObject * obj1 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self",(char *) "pos", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13435 if (SWIG_arg_fail(1)) SWIG_fail;
13436 {
13437 arg2 = (int)(SWIG_As_int(obj1));
13438 if (SWIG_arg_fail(2)) SWIG_fail;
13439 }
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 (arg1)->SetPosition(arg2);
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 Py_INCREF(Py_None); resultobj = Py_None;
13448 return resultobj;
13449 fail:
13450 return NULL;
13451 }
13452
13453
13454 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13455 PyObject *obj;
13456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13457 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13458 Py_INCREF(obj);
13459 return Py_BuildValue((char *)"");
13460 }
13461 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13462 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13463 return 1;
13464 }
13465
13466
13467 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13468 PyObject *pyobj;
13469
13470 {
13471 #if wxUSE_UNICODE
13472 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13473 #else
13474 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13475 #endif
13476 }
13477 return pyobj;
13478 }
13479
13480
13481 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13482 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13483 return 1;
13484 }
13485
13486
13487 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13488 PyObject *pyobj;
13489
13490 {
13491 #if wxUSE_UNICODE
13492 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13493 #else
13494 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13495 #endif
13496 }
13497 return pyobj;
13498 }
13499
13500
13501 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13502 PyObject *resultobj;
13503 wxWindow *arg1 = (wxWindow *) 0 ;
13504 int arg2 = (int) -1 ;
13505 wxString const &arg3_defvalue = wxPyEmptyString ;
13506 wxString *arg3 = (wxString *) &arg3_defvalue ;
13507 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13508 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13509 wxSize const &arg5_defvalue = wxDefaultSize ;
13510 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13511 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13512 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13513 int arg7 = (int) 0 ;
13514 long arg8 = (long) wxRA_HORIZONTAL ;
13515 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13516 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13517 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13518 wxString *arg10 = (wxString *) &arg10_defvalue ;
13519 wxRadioBox *result;
13520 bool temp3 = false ;
13521 wxPoint temp4 ;
13522 wxSize temp5 ;
13523 bool temp6 = false ;
13524 bool temp10 = false ;
13525 PyObject * obj0 = 0 ;
13526 PyObject * obj1 = 0 ;
13527 PyObject * obj2 = 0 ;
13528 PyObject * obj3 = 0 ;
13529 PyObject * obj4 = 0 ;
13530 PyObject * obj5 = 0 ;
13531 PyObject * obj6 = 0 ;
13532 PyObject * obj7 = 0 ;
13533 PyObject * obj8 = 0 ;
13534 PyObject * obj9 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13541 if (SWIG_arg_fail(1)) SWIG_fail;
13542 if (obj1) {
13543 {
13544 arg2 = (int)(SWIG_As_int(obj1));
13545 if (SWIG_arg_fail(2)) SWIG_fail;
13546 }
13547 }
13548 if (obj2) {
13549 {
13550 arg3 = wxString_in_helper(obj2);
13551 if (arg3 == NULL) SWIG_fail;
13552 temp3 = true;
13553 }
13554 }
13555 if (obj3) {
13556 {
13557 arg4 = &temp4;
13558 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13559 }
13560 }
13561 if (obj4) {
13562 {
13563 arg5 = &temp5;
13564 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13565 }
13566 }
13567 if (obj5) {
13568 {
13569 if (! PySequence_Check(obj5)) {
13570 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13571 SWIG_fail;
13572 }
13573 arg6 = new wxArrayString;
13574 temp6 = true;
13575 int i, len=PySequence_Length(obj5);
13576 for (i=0; i<len; i++) {
13577 PyObject* item = PySequence_GetItem(obj5, i);
13578 #if wxUSE_UNICODE
13579 PyObject* str = PyObject_Unicode(item);
13580 #else
13581 PyObject* str = PyObject_Str(item);
13582 #endif
13583 if (PyErr_Occurred()) SWIG_fail;
13584 arg6->Add(Py2wxString(str));
13585 Py_DECREF(item);
13586 Py_DECREF(str);
13587 }
13588 }
13589 }
13590 if (obj6) {
13591 {
13592 arg7 = (int)(SWIG_As_int(obj6));
13593 if (SWIG_arg_fail(7)) SWIG_fail;
13594 }
13595 }
13596 if (obj7) {
13597 {
13598 arg8 = (long)(SWIG_As_long(obj7));
13599 if (SWIG_arg_fail(8)) SWIG_fail;
13600 }
13601 }
13602 if (obj8) {
13603 {
13604 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13605 if (SWIG_arg_fail(9)) SWIG_fail;
13606 if (arg9 == NULL) {
13607 SWIG_null_ref("wxValidator");
13608 }
13609 if (SWIG_arg_fail(9)) SWIG_fail;
13610 }
13611 }
13612 if (obj9) {
13613 {
13614 arg10 = wxString_in_helper(obj9);
13615 if (arg10 == NULL) SWIG_fail;
13616 temp10 = true;
13617 }
13618 }
13619 {
13620 if (!wxPyCheckForApp()) SWIG_fail;
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 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);
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13628 {
13629 if (temp3)
13630 delete arg3;
13631 }
13632 {
13633 if (temp6) delete arg6;
13634 }
13635 {
13636 if (temp10)
13637 delete arg10;
13638 }
13639 return resultobj;
13640 fail:
13641 {
13642 if (temp3)
13643 delete arg3;
13644 }
13645 {
13646 if (temp6) delete arg6;
13647 }
13648 {
13649 if (temp10)
13650 delete arg10;
13651 }
13652 return NULL;
13653 }
13654
13655
13656 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13657 PyObject *resultobj;
13658 wxRadioBox *result;
13659 char *kwnames[] = {
13660 NULL
13661 };
13662
13663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13664 {
13665 if (!wxPyCheckForApp()) SWIG_fail;
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 result = (wxRadioBox *)new wxRadioBox();
13668
13669 wxPyEndAllowThreads(__tstate);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 }
13672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13673 return resultobj;
13674 fail:
13675 return NULL;
13676 }
13677
13678
13679 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13680 PyObject *resultobj;
13681 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13682 wxWindow *arg2 = (wxWindow *) 0 ;
13683 int arg3 = (int) -1 ;
13684 wxString const &arg4_defvalue = wxPyEmptyString ;
13685 wxString *arg4 = (wxString *) &arg4_defvalue ;
13686 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13687 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13688 wxSize const &arg6_defvalue = wxDefaultSize ;
13689 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13690 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13691 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13692 int arg8 = (int) 0 ;
13693 long arg9 = (long) wxRA_HORIZONTAL ;
13694 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13695 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13696 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13697 wxString *arg11 = (wxString *) &arg11_defvalue ;
13698 bool result;
13699 bool temp4 = false ;
13700 wxPoint temp5 ;
13701 wxSize temp6 ;
13702 bool temp7 = false ;
13703 bool temp11 = false ;
13704 PyObject * obj0 = 0 ;
13705 PyObject * obj1 = 0 ;
13706 PyObject * obj2 = 0 ;
13707 PyObject * obj3 = 0 ;
13708 PyObject * obj4 = 0 ;
13709 PyObject * obj5 = 0 ;
13710 PyObject * obj6 = 0 ;
13711 PyObject * obj7 = 0 ;
13712 PyObject * obj8 = 0 ;
13713 PyObject * obj9 = 0 ;
13714 PyObject * obj10 = 0 ;
13715 char *kwnames[] = {
13716 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13717 };
13718
13719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13721 if (SWIG_arg_fail(1)) SWIG_fail;
13722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13723 if (SWIG_arg_fail(2)) SWIG_fail;
13724 if (obj2) {
13725 {
13726 arg3 = (int)(SWIG_As_int(obj2));
13727 if (SWIG_arg_fail(3)) SWIG_fail;
13728 }
13729 }
13730 if (obj3) {
13731 {
13732 arg4 = wxString_in_helper(obj3);
13733 if (arg4 == NULL) SWIG_fail;
13734 temp4 = true;
13735 }
13736 }
13737 if (obj4) {
13738 {
13739 arg5 = &temp5;
13740 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13741 }
13742 }
13743 if (obj5) {
13744 {
13745 arg6 = &temp6;
13746 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13747 }
13748 }
13749 if (obj6) {
13750 {
13751 if (! PySequence_Check(obj6)) {
13752 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13753 SWIG_fail;
13754 }
13755 arg7 = new wxArrayString;
13756 temp7 = true;
13757 int i, len=PySequence_Length(obj6);
13758 for (i=0; i<len; i++) {
13759 PyObject* item = PySequence_GetItem(obj6, i);
13760 #if wxUSE_UNICODE
13761 PyObject* str = PyObject_Unicode(item);
13762 #else
13763 PyObject* str = PyObject_Str(item);
13764 #endif
13765 if (PyErr_Occurred()) SWIG_fail;
13766 arg7->Add(Py2wxString(str));
13767 Py_DECREF(item);
13768 Py_DECREF(str);
13769 }
13770 }
13771 }
13772 if (obj7) {
13773 {
13774 arg8 = (int)(SWIG_As_int(obj7));
13775 if (SWIG_arg_fail(8)) SWIG_fail;
13776 }
13777 }
13778 if (obj8) {
13779 {
13780 arg9 = (long)(SWIG_As_long(obj8));
13781 if (SWIG_arg_fail(9)) SWIG_fail;
13782 }
13783 }
13784 if (obj9) {
13785 {
13786 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13787 if (SWIG_arg_fail(10)) SWIG_fail;
13788 if (arg10 == NULL) {
13789 SWIG_null_ref("wxValidator");
13790 }
13791 if (SWIG_arg_fail(10)) SWIG_fail;
13792 }
13793 }
13794 if (obj10) {
13795 {
13796 arg11 = wxString_in_helper(obj10);
13797 if (arg11 == NULL) SWIG_fail;
13798 temp11 = true;
13799 }
13800 }
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 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);
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 {
13809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13810 }
13811 {
13812 if (temp4)
13813 delete arg4;
13814 }
13815 {
13816 if (temp7) delete arg7;
13817 }
13818 {
13819 if (temp11)
13820 delete arg11;
13821 }
13822 return resultobj;
13823 fail:
13824 {
13825 if (temp4)
13826 delete arg4;
13827 }
13828 {
13829 if (temp7) delete arg7;
13830 }
13831 {
13832 if (temp11)
13833 delete arg11;
13834 }
13835 return NULL;
13836 }
13837
13838
13839 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13840 PyObject *resultobj;
13841 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13842 int arg2 ;
13843 PyObject * obj0 = 0 ;
13844 PyObject * obj1 = 0 ;
13845 char *kwnames[] = {
13846 (char *) "self",(char *) "n", NULL
13847 };
13848
13849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13851 if (SWIG_arg_fail(1)) SWIG_fail;
13852 {
13853 arg2 = (int)(SWIG_As_int(obj1));
13854 if (SWIG_arg_fail(2)) SWIG_fail;
13855 }
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 (arg1)->SetSelection(arg2);
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 Py_INCREF(Py_None); resultobj = Py_None;
13864 return resultobj;
13865 fail:
13866 return NULL;
13867 }
13868
13869
13870 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13871 PyObject *resultobj;
13872 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13873 int result;
13874 PyObject * obj0 = 0 ;
13875 char *kwnames[] = {
13876 (char *) "self", NULL
13877 };
13878
13879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
13880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13881 if (SWIG_arg_fail(1)) SWIG_fail;
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13885
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 {
13890 resultobj = SWIG_From_int((int)(result));
13891 }
13892 return resultobj;
13893 fail:
13894 return NULL;
13895 }
13896
13897
13898 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13899 PyObject *resultobj;
13900 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13901 wxString result;
13902 PyObject * obj0 = 0 ;
13903 char *kwnames[] = {
13904 (char *) "self", NULL
13905 };
13906
13907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
13908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13909 if (SWIG_arg_fail(1)) SWIG_fail;
13910 {
13911 PyThreadState* __tstate = wxPyBeginAllowThreads();
13912 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13913
13914 wxPyEndAllowThreads(__tstate);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 }
13917 {
13918 #if wxUSE_UNICODE
13919 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13920 #else
13921 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13922 #endif
13923 }
13924 return resultobj;
13925 fail:
13926 return NULL;
13927 }
13928
13929
13930 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13931 PyObject *resultobj;
13932 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13933 wxString *arg2 = 0 ;
13934 bool result;
13935 bool temp2 = false ;
13936 PyObject * obj0 = 0 ;
13937 PyObject * obj1 = 0 ;
13938 char *kwnames[] = {
13939 (char *) "self",(char *) "s", NULL
13940 };
13941
13942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
13943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13944 if (SWIG_arg_fail(1)) SWIG_fail;
13945 {
13946 arg2 = wxString_in_helper(obj1);
13947 if (arg2 == NULL) SWIG_fail;
13948 temp2 = true;
13949 }
13950 {
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13953
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
13957 {
13958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13959 }
13960 {
13961 if (temp2)
13962 delete arg2;
13963 }
13964 return resultobj;
13965 fail:
13966 {
13967 if (temp2)
13968 delete arg2;
13969 }
13970 return NULL;
13971 }
13972
13973
13974 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
13975 PyObject *resultobj;
13976 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13977 int result;
13978 PyObject * obj0 = 0 ;
13979 char *kwnames[] = {
13980 (char *) "self", NULL
13981 };
13982
13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
13984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13985 if (SWIG_arg_fail(1)) SWIG_fail;
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 result = (int)((wxRadioBox const *)arg1)->GetCount();
13989
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
13993 {
13994 resultobj = SWIG_From_int((int)(result));
13995 }
13996 return resultobj;
13997 fail:
13998 return NULL;
13999 }
14000
14001
14002 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14003 PyObject *resultobj;
14004 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14005 wxString *arg2 = 0 ;
14006 int result;
14007 bool temp2 = false ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char *kwnames[] = {
14011 (char *) "self",(char *) "s", NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
14015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail;
14017 {
14018 arg2 = wxString_in_helper(obj1);
14019 if (arg2 == NULL) SWIG_fail;
14020 temp2 = true;
14021 }
14022 {
14023 PyThreadState* __tstate = wxPyBeginAllowThreads();
14024 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14025
14026 wxPyEndAllowThreads(__tstate);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 }
14029 {
14030 resultobj = SWIG_From_int((int)(result));
14031 }
14032 {
14033 if (temp2)
14034 delete arg2;
14035 }
14036 return resultobj;
14037 fail:
14038 {
14039 if (temp2)
14040 delete arg2;
14041 }
14042 return NULL;
14043 }
14044
14045
14046 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14047 PyObject *resultobj;
14048 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14049 int arg2 ;
14050 wxString result;
14051 PyObject * obj0 = 0 ;
14052 PyObject * obj1 = 0 ;
14053 char *kwnames[] = {
14054 (char *) "self",(char *) "n", NULL
14055 };
14056
14057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14059 if (SWIG_arg_fail(1)) SWIG_fail;
14060 {
14061 arg2 = (int)(SWIG_As_int(obj1));
14062 if (SWIG_arg_fail(2)) SWIG_fail;
14063 }
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14067
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 {
14072 #if wxUSE_UNICODE
14073 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14074 #else
14075 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14076 #endif
14077 }
14078 return resultobj;
14079 fail:
14080 return NULL;
14081 }
14082
14083
14084 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14085 PyObject *resultobj;
14086 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14087 int arg2 ;
14088 wxString *arg3 = 0 ;
14089 bool temp3 = false ;
14090 PyObject * obj0 = 0 ;
14091 PyObject * obj1 = 0 ;
14092 PyObject * obj2 = 0 ;
14093 char *kwnames[] = {
14094 (char *) "self",(char *) "n",(char *) "label", NULL
14095 };
14096
14097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14099 if (SWIG_arg_fail(1)) SWIG_fail;
14100 {
14101 arg2 = (int)(SWIG_As_int(obj1));
14102 if (SWIG_arg_fail(2)) SWIG_fail;
14103 }
14104 {
14105 arg3 = wxString_in_helper(obj2);
14106 if (arg3 == NULL) SWIG_fail;
14107 temp3 = true;
14108 }
14109 {
14110 PyThreadState* __tstate = wxPyBeginAllowThreads();
14111 (arg1)->SetString(arg2,(wxString const &)*arg3);
14112
14113 wxPyEndAllowThreads(__tstate);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 Py_INCREF(Py_None); resultobj = Py_None;
14117 {
14118 if (temp3)
14119 delete arg3;
14120 }
14121 return resultobj;
14122 fail:
14123 {
14124 if (temp3)
14125 delete arg3;
14126 }
14127 return NULL;
14128 }
14129
14130
14131 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14132 PyObject *resultobj;
14133 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14134 int arg2 ;
14135 bool arg3 = (bool) true ;
14136 PyObject * obj0 = 0 ;
14137 PyObject * obj1 = 0 ;
14138 PyObject * obj2 = 0 ;
14139 char *kwnames[] = {
14140 (char *) "self",(char *) "n",(char *) "enable", NULL
14141 };
14142
14143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14145 if (SWIG_arg_fail(1)) SWIG_fail;
14146 {
14147 arg2 = (int)(SWIG_As_int(obj1));
14148 if (SWIG_arg_fail(2)) SWIG_fail;
14149 }
14150 if (obj2) {
14151 {
14152 arg3 = (bool)(SWIG_As_bool(obj2));
14153 if (SWIG_arg_fail(3)) SWIG_fail;
14154 }
14155 }
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 (arg1)->Enable(arg2,arg3);
14159
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 Py_INCREF(Py_None); resultobj = Py_None;
14164 return resultobj;
14165 fail:
14166 return NULL;
14167 }
14168
14169
14170 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14171 PyObject *resultobj;
14172 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14173 int arg2 ;
14174 bool arg3 = (bool) true ;
14175 PyObject * obj0 = 0 ;
14176 PyObject * obj1 = 0 ;
14177 PyObject * obj2 = 0 ;
14178 char *kwnames[] = {
14179 (char *) "self",(char *) "n",(char *) "show", NULL
14180 };
14181
14182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14184 if (SWIG_arg_fail(1)) SWIG_fail;
14185 {
14186 arg2 = (int)(SWIG_As_int(obj1));
14187 if (SWIG_arg_fail(2)) SWIG_fail;
14188 }
14189 if (obj2) {
14190 {
14191 arg3 = (bool)(SWIG_As_bool(obj2));
14192 if (SWIG_arg_fail(3)) SWIG_fail;
14193 }
14194 }
14195 {
14196 PyThreadState* __tstate = wxPyBeginAllowThreads();
14197 (arg1)->Show(arg2,arg3);
14198
14199 wxPyEndAllowThreads(__tstate);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 Py_INCREF(Py_None); resultobj = Py_None;
14203 return resultobj;
14204 fail:
14205 return NULL;
14206 }
14207
14208
14209 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14210 PyObject *resultobj;
14211 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14212 int result;
14213 PyObject * obj0 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14220 if (SWIG_arg_fail(1)) SWIG_fail;
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
14224
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
14228 {
14229 resultobj = SWIG_From_int((int)(result));
14230 }
14231 return resultobj;
14232 fail:
14233 return NULL;
14234 }
14235
14236
14237 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14238 PyObject *resultobj;
14239 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14240 int result;
14241 PyObject * obj0 = 0 ;
14242 char *kwnames[] = {
14243 (char *) "self", NULL
14244 };
14245
14246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14248 if (SWIG_arg_fail(1)) SWIG_fail;
14249 {
14250 PyThreadState* __tstate = wxPyBeginAllowThreads();
14251 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
14252
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 {
14257 resultobj = SWIG_From_int((int)(result));
14258 }
14259 return resultobj;
14260 fail:
14261 return NULL;
14262 }
14263
14264
14265 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14266 PyObject *resultobj;
14267 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14268 int arg2 ;
14269 wxDirection arg3 ;
14270 long arg4 ;
14271 int result;
14272 PyObject * obj0 = 0 ;
14273 PyObject * obj1 = 0 ;
14274 PyObject * obj2 = 0 ;
14275 PyObject * obj3 = 0 ;
14276 char *kwnames[] = {
14277 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14278 };
14279
14280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14282 if (SWIG_arg_fail(1)) SWIG_fail;
14283 {
14284 arg2 = (int)(SWIG_As_int(obj1));
14285 if (SWIG_arg_fail(2)) SWIG_fail;
14286 }
14287 {
14288 arg3 = (wxDirection)(SWIG_As_int(obj2));
14289 if (SWIG_arg_fail(3)) SWIG_fail;
14290 }
14291 {
14292 arg4 = (long)(SWIG_As_long(obj3));
14293 if (SWIG_arg_fail(4)) SWIG_fail;
14294 }
14295 {
14296 PyThreadState* __tstate = wxPyBeginAllowThreads();
14297 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
14298
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 {
14303 resultobj = SWIG_From_int((int)(result));
14304 }
14305 return resultobj;
14306 fail:
14307 return NULL;
14308 }
14309
14310
14311 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14312 PyObject *resultobj;
14313 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14314 wxVisualAttributes result;
14315 PyObject * obj0 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "variant", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14321 if (obj0) {
14322 {
14323 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14324 if (SWIG_arg_fail(1)) SWIG_fail;
14325 }
14326 }
14327 {
14328 if (!wxPyCheckForApp()) SWIG_fail;
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 {
14336 wxVisualAttributes * resultptr;
14337 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14339 }
14340 return resultobj;
14341 fail:
14342 return NULL;
14343 }
14344
14345
14346 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14347 PyObject *obj;
14348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14349 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14350 Py_INCREF(obj);
14351 return Py_BuildValue((char *)"");
14352 }
14353 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxWindow *arg1 = (wxWindow *) 0 ;
14356 int arg2 = (int) -1 ;
14357 wxString const &arg3_defvalue = wxPyEmptyString ;
14358 wxString *arg3 = (wxString *) &arg3_defvalue ;
14359 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14360 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14361 wxSize const &arg5_defvalue = wxDefaultSize ;
14362 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14363 long arg6 = (long) 0 ;
14364 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14365 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14366 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14367 wxString *arg8 = (wxString *) &arg8_defvalue ;
14368 wxRadioButton *result;
14369 bool temp3 = false ;
14370 wxPoint temp4 ;
14371 wxSize temp5 ;
14372 bool temp8 = false ;
14373 PyObject * obj0 = 0 ;
14374 PyObject * obj1 = 0 ;
14375 PyObject * obj2 = 0 ;
14376 PyObject * obj3 = 0 ;
14377 PyObject * obj4 = 0 ;
14378 PyObject * obj5 = 0 ;
14379 PyObject * obj6 = 0 ;
14380 PyObject * obj7 = 0 ;
14381 char *kwnames[] = {
14382 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14383 };
14384
14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14387 if (SWIG_arg_fail(1)) SWIG_fail;
14388 if (obj1) {
14389 {
14390 arg2 = (int)(SWIG_As_int(obj1));
14391 if (SWIG_arg_fail(2)) SWIG_fail;
14392 }
14393 }
14394 if (obj2) {
14395 {
14396 arg3 = wxString_in_helper(obj2);
14397 if (arg3 == NULL) SWIG_fail;
14398 temp3 = true;
14399 }
14400 }
14401 if (obj3) {
14402 {
14403 arg4 = &temp4;
14404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14405 }
14406 }
14407 if (obj4) {
14408 {
14409 arg5 = &temp5;
14410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14411 }
14412 }
14413 if (obj5) {
14414 {
14415 arg6 = (long)(SWIG_As_long(obj5));
14416 if (SWIG_arg_fail(6)) SWIG_fail;
14417 }
14418 }
14419 if (obj6) {
14420 {
14421 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14422 if (SWIG_arg_fail(7)) SWIG_fail;
14423 if (arg7 == NULL) {
14424 SWIG_null_ref("wxValidator");
14425 }
14426 if (SWIG_arg_fail(7)) SWIG_fail;
14427 }
14428 }
14429 if (obj7) {
14430 {
14431 arg8 = wxString_in_helper(obj7);
14432 if (arg8 == NULL) SWIG_fail;
14433 temp8 = true;
14434 }
14435 }
14436 {
14437 if (!wxPyCheckForApp()) SWIG_fail;
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14445 {
14446 if (temp3)
14447 delete arg3;
14448 }
14449 {
14450 if (temp8)
14451 delete arg8;
14452 }
14453 return resultobj;
14454 fail:
14455 {
14456 if (temp3)
14457 delete arg3;
14458 }
14459 {
14460 if (temp8)
14461 delete arg8;
14462 }
14463 return NULL;
14464 }
14465
14466
14467 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14468 PyObject *resultobj;
14469 wxRadioButton *result;
14470 char *kwnames[] = {
14471 NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14475 {
14476 if (!wxPyCheckForApp()) SWIG_fail;
14477 PyThreadState* __tstate = wxPyBeginAllowThreads();
14478 result = (wxRadioButton *)new wxRadioButton();
14479
14480 wxPyEndAllowThreads(__tstate);
14481 if (PyErr_Occurred()) SWIG_fail;
14482 }
14483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14484 return resultobj;
14485 fail:
14486 return NULL;
14487 }
14488
14489
14490 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj;
14492 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14493 wxWindow *arg2 = (wxWindow *) 0 ;
14494 int arg3 = (int) -1 ;
14495 wxString const &arg4_defvalue = wxPyEmptyString ;
14496 wxString *arg4 = (wxString *) &arg4_defvalue ;
14497 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14498 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14499 wxSize const &arg6_defvalue = wxDefaultSize ;
14500 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14501 long arg7 = (long) 0 ;
14502 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14503 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14504 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14505 wxString *arg9 = (wxString *) &arg9_defvalue ;
14506 bool result;
14507 bool temp4 = false ;
14508 wxPoint temp5 ;
14509 wxSize temp6 ;
14510 bool temp9 = false ;
14511 PyObject * obj0 = 0 ;
14512 PyObject * obj1 = 0 ;
14513 PyObject * obj2 = 0 ;
14514 PyObject * obj3 = 0 ;
14515 PyObject * obj4 = 0 ;
14516 PyObject * obj5 = 0 ;
14517 PyObject * obj6 = 0 ;
14518 PyObject * obj7 = 0 ;
14519 PyObject * obj8 = 0 ;
14520 char *kwnames[] = {
14521 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14522 };
14523
14524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14526 if (SWIG_arg_fail(1)) SWIG_fail;
14527 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14528 if (SWIG_arg_fail(2)) SWIG_fail;
14529 if (obj2) {
14530 {
14531 arg3 = (int)(SWIG_As_int(obj2));
14532 if (SWIG_arg_fail(3)) SWIG_fail;
14533 }
14534 }
14535 if (obj3) {
14536 {
14537 arg4 = wxString_in_helper(obj3);
14538 if (arg4 == NULL) SWIG_fail;
14539 temp4 = true;
14540 }
14541 }
14542 if (obj4) {
14543 {
14544 arg5 = &temp5;
14545 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14546 }
14547 }
14548 if (obj5) {
14549 {
14550 arg6 = &temp6;
14551 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14552 }
14553 }
14554 if (obj6) {
14555 {
14556 arg7 = (long)(SWIG_As_long(obj6));
14557 if (SWIG_arg_fail(7)) SWIG_fail;
14558 }
14559 }
14560 if (obj7) {
14561 {
14562 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14563 if (SWIG_arg_fail(8)) SWIG_fail;
14564 if (arg8 == NULL) {
14565 SWIG_null_ref("wxValidator");
14566 }
14567 if (SWIG_arg_fail(8)) SWIG_fail;
14568 }
14569 }
14570 if (obj8) {
14571 {
14572 arg9 = wxString_in_helper(obj8);
14573 if (arg9 == NULL) SWIG_fail;
14574 temp9 = true;
14575 }
14576 }
14577 {
14578 PyThreadState* __tstate = wxPyBeginAllowThreads();
14579 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14580
14581 wxPyEndAllowThreads(__tstate);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 }
14584 {
14585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14586 }
14587 {
14588 if (temp4)
14589 delete arg4;
14590 }
14591 {
14592 if (temp9)
14593 delete arg9;
14594 }
14595 return resultobj;
14596 fail:
14597 {
14598 if (temp4)
14599 delete arg4;
14600 }
14601 {
14602 if (temp9)
14603 delete arg9;
14604 }
14605 return NULL;
14606 }
14607
14608
14609 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj;
14611 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14612 bool result;
14613 PyObject * obj0 = 0 ;
14614 char *kwnames[] = {
14615 (char *) "self", NULL
14616 };
14617
14618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14620 if (SWIG_arg_fail(1)) SWIG_fail;
14621 {
14622 PyThreadState* __tstate = wxPyBeginAllowThreads();
14623 result = (bool)(arg1)->GetValue();
14624
14625 wxPyEndAllowThreads(__tstate);
14626 if (PyErr_Occurred()) SWIG_fail;
14627 }
14628 {
14629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14630 }
14631 return resultobj;
14632 fail:
14633 return NULL;
14634 }
14635
14636
14637 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14640 bool arg2 ;
14641 PyObject * obj0 = 0 ;
14642 PyObject * obj1 = 0 ;
14643 char *kwnames[] = {
14644 (char *) "self",(char *) "value", NULL
14645 };
14646
14647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14649 if (SWIG_arg_fail(1)) SWIG_fail;
14650 {
14651 arg2 = (bool)(SWIG_As_bool(obj1));
14652 if (SWIG_arg_fail(2)) SWIG_fail;
14653 }
14654 {
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 (arg1)->SetValue(arg2);
14657
14658 wxPyEndAllowThreads(__tstate);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 }
14661 Py_INCREF(Py_None); resultobj = Py_None;
14662 return resultobj;
14663 fail:
14664 return NULL;
14665 }
14666
14667
14668 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14669 PyObject *resultobj;
14670 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14671 wxVisualAttributes result;
14672 PyObject * obj0 = 0 ;
14673 char *kwnames[] = {
14674 (char *) "variant", NULL
14675 };
14676
14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14678 if (obj0) {
14679 {
14680 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14681 if (SWIG_arg_fail(1)) SWIG_fail;
14682 }
14683 }
14684 {
14685 if (!wxPyCheckForApp()) SWIG_fail;
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14688
14689 wxPyEndAllowThreads(__tstate);
14690 if (PyErr_Occurred()) SWIG_fail;
14691 }
14692 {
14693 wxVisualAttributes * resultptr;
14694 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14696 }
14697 return resultobj;
14698 fail:
14699 return NULL;
14700 }
14701
14702
14703 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14704 PyObject *obj;
14705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14706 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14707 Py_INCREF(obj);
14708 return Py_BuildValue((char *)"");
14709 }
14710 static int _wrap_SliderNameStr_set(PyObject *) {
14711 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14712 return 1;
14713 }
14714
14715
14716 static PyObject *_wrap_SliderNameStr_get(void) {
14717 PyObject *pyobj;
14718
14719 {
14720 #if wxUSE_UNICODE
14721 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14722 #else
14723 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14724 #endif
14725 }
14726 return pyobj;
14727 }
14728
14729
14730 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14731 PyObject *resultobj;
14732 wxWindow *arg1 = (wxWindow *) 0 ;
14733 int arg2 = (int) -1 ;
14734 int arg3 = (int) 0 ;
14735 int arg4 = (int) 0 ;
14736 int arg5 = (int) 100 ;
14737 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14738 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14739 wxSize const &arg7_defvalue = wxDefaultSize ;
14740 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14741 long arg8 = (long) wxSL_HORIZONTAL ;
14742 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14743 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14744 wxString const &arg10_defvalue = wxPySliderNameStr ;
14745 wxString *arg10 = (wxString *) &arg10_defvalue ;
14746 wxSlider *result;
14747 wxPoint temp6 ;
14748 wxSize temp7 ;
14749 bool temp10 = false ;
14750 PyObject * obj0 = 0 ;
14751 PyObject * obj1 = 0 ;
14752 PyObject * obj2 = 0 ;
14753 PyObject * obj3 = 0 ;
14754 PyObject * obj4 = 0 ;
14755 PyObject * obj5 = 0 ;
14756 PyObject * obj6 = 0 ;
14757 PyObject * obj7 = 0 ;
14758 PyObject * obj8 = 0 ;
14759 PyObject * obj9 = 0 ;
14760 char *kwnames[] = {
14761 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14762 };
14763
14764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14766 if (SWIG_arg_fail(1)) SWIG_fail;
14767 if (obj1) {
14768 {
14769 arg2 = (int)(SWIG_As_int(obj1));
14770 if (SWIG_arg_fail(2)) SWIG_fail;
14771 }
14772 }
14773 if (obj2) {
14774 {
14775 arg3 = (int)(SWIG_As_int(obj2));
14776 if (SWIG_arg_fail(3)) SWIG_fail;
14777 }
14778 }
14779 if (obj3) {
14780 {
14781 arg4 = (int)(SWIG_As_int(obj3));
14782 if (SWIG_arg_fail(4)) SWIG_fail;
14783 }
14784 }
14785 if (obj4) {
14786 {
14787 arg5 = (int)(SWIG_As_int(obj4));
14788 if (SWIG_arg_fail(5)) SWIG_fail;
14789 }
14790 }
14791 if (obj5) {
14792 {
14793 arg6 = &temp6;
14794 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14795 }
14796 }
14797 if (obj6) {
14798 {
14799 arg7 = &temp7;
14800 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14801 }
14802 }
14803 if (obj7) {
14804 {
14805 arg8 = (long)(SWIG_As_long(obj7));
14806 if (SWIG_arg_fail(8)) SWIG_fail;
14807 }
14808 }
14809 if (obj8) {
14810 {
14811 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14812 if (SWIG_arg_fail(9)) SWIG_fail;
14813 if (arg9 == NULL) {
14814 SWIG_null_ref("wxValidator");
14815 }
14816 if (SWIG_arg_fail(9)) SWIG_fail;
14817 }
14818 }
14819 if (obj9) {
14820 {
14821 arg10 = wxString_in_helper(obj9);
14822 if (arg10 == NULL) SWIG_fail;
14823 temp10 = true;
14824 }
14825 }
14826 {
14827 if (!wxPyCheckForApp()) SWIG_fail;
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14835 {
14836 if (temp10)
14837 delete arg10;
14838 }
14839 return resultobj;
14840 fail:
14841 {
14842 if (temp10)
14843 delete arg10;
14844 }
14845 return NULL;
14846 }
14847
14848
14849 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14850 PyObject *resultobj;
14851 wxSlider *result;
14852 char *kwnames[] = {
14853 NULL
14854 };
14855
14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14857 {
14858 if (!wxPyCheckForApp()) SWIG_fail;
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 result = (wxSlider *)new wxSlider();
14861
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14866 return resultobj;
14867 fail:
14868 return NULL;
14869 }
14870
14871
14872 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14873 PyObject *resultobj;
14874 wxSlider *arg1 = (wxSlider *) 0 ;
14875 wxWindow *arg2 = (wxWindow *) 0 ;
14876 int arg3 = (int) -1 ;
14877 int arg4 = (int) 0 ;
14878 int arg5 = (int) 0 ;
14879 int arg6 = (int) 100 ;
14880 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14881 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14882 wxSize const &arg8_defvalue = wxDefaultSize ;
14883 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14884 long arg9 = (long) wxSL_HORIZONTAL ;
14885 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14886 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14887 wxString const &arg11_defvalue = wxPySliderNameStr ;
14888 wxString *arg11 = (wxString *) &arg11_defvalue ;
14889 bool result;
14890 wxPoint temp7 ;
14891 wxSize temp8 ;
14892 bool temp11 = false ;
14893 PyObject * obj0 = 0 ;
14894 PyObject * obj1 = 0 ;
14895 PyObject * obj2 = 0 ;
14896 PyObject * obj3 = 0 ;
14897 PyObject * obj4 = 0 ;
14898 PyObject * obj5 = 0 ;
14899 PyObject * obj6 = 0 ;
14900 PyObject * obj7 = 0 ;
14901 PyObject * obj8 = 0 ;
14902 PyObject * obj9 = 0 ;
14903 PyObject * obj10 = 0 ;
14904 char *kwnames[] = {
14905 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14906 };
14907
14908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14910 if (SWIG_arg_fail(1)) SWIG_fail;
14911 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14912 if (SWIG_arg_fail(2)) SWIG_fail;
14913 if (obj2) {
14914 {
14915 arg3 = (int)(SWIG_As_int(obj2));
14916 if (SWIG_arg_fail(3)) SWIG_fail;
14917 }
14918 }
14919 if (obj3) {
14920 {
14921 arg4 = (int)(SWIG_As_int(obj3));
14922 if (SWIG_arg_fail(4)) SWIG_fail;
14923 }
14924 }
14925 if (obj4) {
14926 {
14927 arg5 = (int)(SWIG_As_int(obj4));
14928 if (SWIG_arg_fail(5)) SWIG_fail;
14929 }
14930 }
14931 if (obj5) {
14932 {
14933 arg6 = (int)(SWIG_As_int(obj5));
14934 if (SWIG_arg_fail(6)) SWIG_fail;
14935 }
14936 }
14937 if (obj6) {
14938 {
14939 arg7 = &temp7;
14940 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14941 }
14942 }
14943 if (obj7) {
14944 {
14945 arg8 = &temp8;
14946 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14947 }
14948 }
14949 if (obj8) {
14950 {
14951 arg9 = (long)(SWIG_As_long(obj8));
14952 if (SWIG_arg_fail(9)) SWIG_fail;
14953 }
14954 }
14955 if (obj9) {
14956 {
14957 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14958 if (SWIG_arg_fail(10)) SWIG_fail;
14959 if (arg10 == NULL) {
14960 SWIG_null_ref("wxValidator");
14961 }
14962 if (SWIG_arg_fail(10)) SWIG_fail;
14963 }
14964 }
14965 if (obj10) {
14966 {
14967 arg11 = wxString_in_helper(obj10);
14968 if (arg11 == NULL) SWIG_fail;
14969 temp11 = true;
14970 }
14971 }
14972 {
14973 PyThreadState* __tstate = wxPyBeginAllowThreads();
14974 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14975
14976 wxPyEndAllowThreads(__tstate);
14977 if (PyErr_Occurred()) SWIG_fail;
14978 }
14979 {
14980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14981 }
14982 {
14983 if (temp11)
14984 delete arg11;
14985 }
14986 return resultobj;
14987 fail:
14988 {
14989 if (temp11)
14990 delete arg11;
14991 }
14992 return NULL;
14993 }
14994
14995
14996 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14997 PyObject *resultobj;
14998 wxSlider *arg1 = (wxSlider *) 0 ;
14999 int result;
15000 PyObject * obj0 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "self", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15007 if (SWIG_arg_fail(1)) SWIG_fail;
15008 {
15009 PyThreadState* __tstate = wxPyBeginAllowThreads();
15010 result = (int)((wxSlider const *)arg1)->GetValue();
15011
15012 wxPyEndAllowThreads(__tstate);
15013 if (PyErr_Occurred()) SWIG_fail;
15014 }
15015 {
15016 resultobj = SWIG_From_int((int)(result));
15017 }
15018 return resultobj;
15019 fail:
15020 return NULL;
15021 }
15022
15023
15024 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj;
15026 wxSlider *arg1 = (wxSlider *) 0 ;
15027 int arg2 ;
15028 PyObject * obj0 = 0 ;
15029 PyObject * obj1 = 0 ;
15030 char *kwnames[] = {
15031 (char *) "self",(char *) "value", NULL
15032 };
15033
15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15036 if (SWIG_arg_fail(1)) SWIG_fail;
15037 {
15038 arg2 = (int)(SWIG_As_int(obj1));
15039 if (SWIG_arg_fail(2)) SWIG_fail;
15040 }
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 (arg1)->SetValue(arg2);
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 Py_INCREF(Py_None); resultobj = Py_None;
15049 return resultobj;
15050 fail:
15051 return NULL;
15052 }
15053
15054
15055 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj;
15057 wxSlider *arg1 = (wxSlider *) 0 ;
15058 int arg2 ;
15059 int arg3 ;
15060 PyObject * obj0 = 0 ;
15061 PyObject * obj1 = 0 ;
15062 PyObject * obj2 = 0 ;
15063 char *kwnames[] = {
15064 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15065 };
15066
15067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15069 if (SWIG_arg_fail(1)) SWIG_fail;
15070 {
15071 arg2 = (int)(SWIG_As_int(obj1));
15072 if (SWIG_arg_fail(2)) SWIG_fail;
15073 }
15074 {
15075 arg3 = (int)(SWIG_As_int(obj2));
15076 if (SWIG_arg_fail(3)) SWIG_fail;
15077 }
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 (arg1)->SetRange(arg2,arg3);
15081
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 Py_INCREF(Py_None); resultobj = Py_None;
15086 return resultobj;
15087 fail:
15088 return NULL;
15089 }
15090
15091
15092 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj;
15094 wxSlider *arg1 = (wxSlider *) 0 ;
15095 int result;
15096 PyObject * obj0 = 0 ;
15097 char *kwnames[] = {
15098 (char *) "self", NULL
15099 };
15100
15101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15103 if (SWIG_arg_fail(1)) SWIG_fail;
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 result = (int)((wxSlider const *)arg1)->GetMin();
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 {
15112 resultobj = SWIG_From_int((int)(result));
15113 }
15114 return resultobj;
15115 fail:
15116 return NULL;
15117 }
15118
15119
15120 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15121 PyObject *resultobj;
15122 wxSlider *arg1 = (wxSlider *) 0 ;
15123 int result;
15124 PyObject * obj0 = 0 ;
15125 char *kwnames[] = {
15126 (char *) "self", NULL
15127 };
15128
15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15131 if (SWIG_arg_fail(1)) SWIG_fail;
15132 {
15133 PyThreadState* __tstate = wxPyBeginAllowThreads();
15134 result = (int)((wxSlider const *)arg1)->GetMax();
15135
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 {
15140 resultobj = SWIG_From_int((int)(result));
15141 }
15142 return resultobj;
15143 fail:
15144 return NULL;
15145 }
15146
15147
15148 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15149 PyObject *resultobj;
15150 wxSlider *arg1 = (wxSlider *) 0 ;
15151 int arg2 ;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 char *kwnames[] = {
15155 (char *) "self",(char *) "minValue", NULL
15156 };
15157
15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15160 if (SWIG_arg_fail(1)) SWIG_fail;
15161 {
15162 arg2 = (int)(SWIG_As_int(obj1));
15163 if (SWIG_arg_fail(2)) SWIG_fail;
15164 }
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 (arg1)->SetMin(arg2);
15168
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
15172 Py_INCREF(Py_None); resultobj = Py_None;
15173 return resultobj;
15174 fail:
15175 return NULL;
15176 }
15177
15178
15179 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15180 PyObject *resultobj;
15181 wxSlider *arg1 = (wxSlider *) 0 ;
15182 int arg2 ;
15183 PyObject * obj0 = 0 ;
15184 PyObject * obj1 = 0 ;
15185 char *kwnames[] = {
15186 (char *) "self",(char *) "maxValue", NULL
15187 };
15188
15189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) 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 arg2 = (int)(SWIG_As_int(obj1));
15194 if (SWIG_arg_fail(2)) SWIG_fail;
15195 }
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 (arg1)->SetMax(arg2);
15199
15200 wxPyEndAllowThreads(__tstate);
15201 if (PyErr_Occurred()) SWIG_fail;
15202 }
15203 Py_INCREF(Py_None); resultobj = Py_None;
15204 return resultobj;
15205 fail:
15206 return NULL;
15207 }
15208
15209
15210 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15211 PyObject *resultobj;
15212 wxSlider *arg1 = (wxSlider *) 0 ;
15213 int arg2 ;
15214 PyObject * obj0 = 0 ;
15215 PyObject * obj1 = 0 ;
15216 char *kwnames[] = {
15217 (char *) "self",(char *) "lineSize", NULL
15218 };
15219
15220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15222 if (SWIG_arg_fail(1)) SWIG_fail;
15223 {
15224 arg2 = (int)(SWIG_As_int(obj1));
15225 if (SWIG_arg_fail(2)) SWIG_fail;
15226 }
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 (arg1)->SetLineSize(arg2);
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 Py_INCREF(Py_None); resultobj = Py_None;
15235 return resultobj;
15236 fail:
15237 return NULL;
15238 }
15239
15240
15241 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15242 PyObject *resultobj;
15243 wxSlider *arg1 = (wxSlider *) 0 ;
15244 int arg2 ;
15245 PyObject * obj0 = 0 ;
15246 PyObject * obj1 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self",(char *) "pageSize", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15253 if (SWIG_arg_fail(1)) SWIG_fail;
15254 {
15255 arg2 = (int)(SWIG_As_int(obj1));
15256 if (SWIG_arg_fail(2)) SWIG_fail;
15257 }
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 (arg1)->SetPageSize(arg2);
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 Py_INCREF(Py_None); resultobj = Py_None;
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxSlider *arg1 = (wxSlider *) 0 ;
15275 int result;
15276 PyObject * obj0 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15283 if (SWIG_arg_fail(1)) SWIG_fail;
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 result = (int)((wxSlider const *)arg1)->GetLineSize();
15287
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 {
15292 resultobj = SWIG_From_int((int)(result));
15293 }
15294 return resultobj;
15295 fail:
15296 return NULL;
15297 }
15298
15299
15300 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 wxSlider *arg1 = (wxSlider *) 0 ;
15303 int result;
15304 PyObject * obj0 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15311 if (SWIG_arg_fail(1)) SWIG_fail;
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 result = (int)((wxSlider const *)arg1)->GetPageSize();
15315
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 {
15320 resultobj = SWIG_From_int((int)(result));
15321 }
15322 return resultobj;
15323 fail:
15324 return NULL;
15325 }
15326
15327
15328 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj;
15330 wxSlider *arg1 = (wxSlider *) 0 ;
15331 int arg2 ;
15332 PyObject * obj0 = 0 ;
15333 PyObject * obj1 = 0 ;
15334 char *kwnames[] = {
15335 (char *) "self",(char *) "lenPixels", NULL
15336 };
15337
15338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15340 if (SWIG_arg_fail(1)) SWIG_fail;
15341 {
15342 arg2 = (int)(SWIG_As_int(obj1));
15343 if (SWIG_arg_fail(2)) SWIG_fail;
15344 }
15345 {
15346 PyThreadState* __tstate = wxPyBeginAllowThreads();
15347 (arg1)->SetThumbLength(arg2);
15348
15349 wxPyEndAllowThreads(__tstate);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 }
15352 Py_INCREF(Py_None); resultobj = Py_None;
15353 return resultobj;
15354 fail:
15355 return NULL;
15356 }
15357
15358
15359 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15360 PyObject *resultobj;
15361 wxSlider *arg1 = (wxSlider *) 0 ;
15362 int result;
15363 PyObject * obj0 = 0 ;
15364 char *kwnames[] = {
15365 (char *) "self", NULL
15366 };
15367
15368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15370 if (SWIG_arg_fail(1)) SWIG_fail;
15371 {
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15374
15375 wxPyEndAllowThreads(__tstate);
15376 if (PyErr_Occurred()) SWIG_fail;
15377 }
15378 {
15379 resultobj = SWIG_From_int((int)(result));
15380 }
15381 return resultobj;
15382 fail:
15383 return NULL;
15384 }
15385
15386
15387 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15388 PyObject *resultobj;
15389 wxSlider *arg1 = (wxSlider *) 0 ;
15390 int arg2 ;
15391 int arg3 = (int) 1 ;
15392 PyObject * obj0 = 0 ;
15393 PyObject * obj1 = 0 ;
15394 PyObject * obj2 = 0 ;
15395 char *kwnames[] = {
15396 (char *) "self",(char *) "n",(char *) "pos", NULL
15397 };
15398
15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15401 if (SWIG_arg_fail(1)) SWIG_fail;
15402 {
15403 arg2 = (int)(SWIG_As_int(obj1));
15404 if (SWIG_arg_fail(2)) SWIG_fail;
15405 }
15406 if (obj2) {
15407 {
15408 arg3 = (int)(SWIG_As_int(obj2));
15409 if (SWIG_arg_fail(3)) SWIG_fail;
15410 }
15411 }
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 (arg1)->SetTickFreq(arg2,arg3);
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 Py_INCREF(Py_None); resultobj = Py_None;
15420 return resultobj;
15421 fail:
15422 return NULL;
15423 }
15424
15425
15426 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15427 PyObject *resultobj;
15428 wxSlider *arg1 = (wxSlider *) 0 ;
15429 int result;
15430 PyObject * obj0 = 0 ;
15431 char *kwnames[] = {
15432 (char *) "self", NULL
15433 };
15434
15435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15437 if (SWIG_arg_fail(1)) SWIG_fail;
15438 {
15439 PyThreadState* __tstate = wxPyBeginAllowThreads();
15440 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15441
15442 wxPyEndAllowThreads(__tstate);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 }
15445 {
15446 resultobj = SWIG_From_int((int)(result));
15447 }
15448 return resultobj;
15449 fail:
15450 return NULL;
15451 }
15452
15453
15454 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15455 PyObject *resultobj;
15456 wxSlider *arg1 = (wxSlider *) 0 ;
15457 PyObject * obj0 = 0 ;
15458 char *kwnames[] = {
15459 (char *) "self", NULL
15460 };
15461
15462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15464 if (SWIG_arg_fail(1)) SWIG_fail;
15465 {
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 (arg1)->ClearTicks();
15468
15469 wxPyEndAllowThreads(__tstate);
15470 if (PyErr_Occurred()) SWIG_fail;
15471 }
15472 Py_INCREF(Py_None); resultobj = Py_None;
15473 return resultobj;
15474 fail:
15475 return NULL;
15476 }
15477
15478
15479 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15480 PyObject *resultobj;
15481 wxSlider *arg1 = (wxSlider *) 0 ;
15482 int arg2 ;
15483 PyObject * obj0 = 0 ;
15484 PyObject * obj1 = 0 ;
15485 char *kwnames[] = {
15486 (char *) "self",(char *) "tickPos", NULL
15487 };
15488
15489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15491 if (SWIG_arg_fail(1)) SWIG_fail;
15492 {
15493 arg2 = (int)(SWIG_As_int(obj1));
15494 if (SWIG_arg_fail(2)) SWIG_fail;
15495 }
15496 {
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 (arg1)->SetTick(arg2);
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 Py_INCREF(Py_None); resultobj = Py_None;
15504 return resultobj;
15505 fail:
15506 return NULL;
15507 }
15508
15509
15510 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15511 PyObject *resultobj;
15512 wxSlider *arg1 = (wxSlider *) 0 ;
15513 PyObject * obj0 = 0 ;
15514 char *kwnames[] = {
15515 (char *) "self", NULL
15516 };
15517
15518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15520 if (SWIG_arg_fail(1)) SWIG_fail;
15521 {
15522 PyThreadState* __tstate = wxPyBeginAllowThreads();
15523 (arg1)->ClearSel();
15524
15525 wxPyEndAllowThreads(__tstate);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 }
15528 Py_INCREF(Py_None); resultobj = Py_None;
15529 return resultobj;
15530 fail:
15531 return NULL;
15532 }
15533
15534
15535 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15536 PyObject *resultobj;
15537 wxSlider *arg1 = (wxSlider *) 0 ;
15538 int result;
15539 PyObject * obj0 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15546 if (SWIG_arg_fail(1)) SWIG_fail;
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 {
15555 resultobj = SWIG_From_int((int)(result));
15556 }
15557 return resultobj;
15558 fail:
15559 return NULL;
15560 }
15561
15562
15563 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15564 PyObject *resultobj;
15565 wxSlider *arg1 = (wxSlider *) 0 ;
15566 int result;
15567 PyObject * obj0 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15574 if (SWIG_arg_fail(1)) SWIG_fail;
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 result = (int)((wxSlider const *)arg1)->GetSelStart();
15578
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15582 {
15583 resultobj = SWIG_From_int((int)(result));
15584 }
15585 return resultobj;
15586 fail:
15587 return NULL;
15588 }
15589
15590
15591 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15592 PyObject *resultobj;
15593 wxSlider *arg1 = (wxSlider *) 0 ;
15594 int arg2 ;
15595 int arg3 ;
15596 PyObject * obj0 = 0 ;
15597 PyObject * obj1 = 0 ;
15598 PyObject * obj2 = 0 ;
15599 char *kwnames[] = {
15600 (char *) "self",(char *) "min",(char *) "max", NULL
15601 };
15602
15603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15605 if (SWIG_arg_fail(1)) SWIG_fail;
15606 {
15607 arg2 = (int)(SWIG_As_int(obj1));
15608 if (SWIG_arg_fail(2)) SWIG_fail;
15609 }
15610 {
15611 arg3 = (int)(SWIG_As_int(obj2));
15612 if (SWIG_arg_fail(3)) SWIG_fail;
15613 }
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 (arg1)->SetSelection(arg2,arg3);
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 Py_INCREF(Py_None); resultobj = Py_None;
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15631 wxVisualAttributes result;
15632 PyObject * obj0 = 0 ;
15633 char *kwnames[] = {
15634 (char *) "variant", NULL
15635 };
15636
15637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15638 if (obj0) {
15639 {
15640 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15641 if (SWIG_arg_fail(1)) SWIG_fail;
15642 }
15643 }
15644 {
15645 if (!wxPyCheckForApp()) SWIG_fail;
15646 PyThreadState* __tstate = wxPyBeginAllowThreads();
15647 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15648
15649 wxPyEndAllowThreads(__tstate);
15650 if (PyErr_Occurred()) SWIG_fail;
15651 }
15652 {
15653 wxVisualAttributes * resultptr;
15654 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
15655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15656 }
15657 return resultobj;
15658 fail:
15659 return NULL;
15660 }
15661
15662
15663 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15664 PyObject *obj;
15665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15666 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15667 Py_INCREF(obj);
15668 return Py_BuildValue((char *)"");
15669 }
15670 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15671 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15672 return 1;
15673 }
15674
15675
15676 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15677 PyObject *pyobj;
15678
15679 {
15680 #if wxUSE_UNICODE
15681 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15682 #else
15683 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15684 #endif
15685 }
15686 return pyobj;
15687 }
15688
15689
15690 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15691 PyObject *resultobj;
15692 wxWindow *arg1 = (wxWindow *) 0 ;
15693 int arg2 = (int) -1 ;
15694 wxString const &arg3_defvalue = wxPyEmptyString ;
15695 wxString *arg3 = (wxString *) &arg3_defvalue ;
15696 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15697 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15698 wxSize const &arg5_defvalue = wxDefaultSize ;
15699 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15700 long arg6 = (long) 0 ;
15701 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15702 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15703 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15704 wxString *arg8 = (wxString *) &arg8_defvalue ;
15705 wxToggleButton *result;
15706 bool temp3 = false ;
15707 wxPoint temp4 ;
15708 wxSize temp5 ;
15709 bool temp8 = false ;
15710 PyObject * obj0 = 0 ;
15711 PyObject * obj1 = 0 ;
15712 PyObject * obj2 = 0 ;
15713 PyObject * obj3 = 0 ;
15714 PyObject * obj4 = 0 ;
15715 PyObject * obj5 = 0 ;
15716 PyObject * obj6 = 0 ;
15717 PyObject * obj7 = 0 ;
15718 char *kwnames[] = {
15719 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15720 };
15721
15722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15724 if (SWIG_arg_fail(1)) SWIG_fail;
15725 if (obj1) {
15726 {
15727 arg2 = (int)(SWIG_As_int(obj1));
15728 if (SWIG_arg_fail(2)) SWIG_fail;
15729 }
15730 }
15731 if (obj2) {
15732 {
15733 arg3 = wxString_in_helper(obj2);
15734 if (arg3 == NULL) SWIG_fail;
15735 temp3 = true;
15736 }
15737 }
15738 if (obj3) {
15739 {
15740 arg4 = &temp4;
15741 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15742 }
15743 }
15744 if (obj4) {
15745 {
15746 arg5 = &temp5;
15747 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15748 }
15749 }
15750 if (obj5) {
15751 {
15752 arg6 = (long)(SWIG_As_long(obj5));
15753 if (SWIG_arg_fail(6)) SWIG_fail;
15754 }
15755 }
15756 if (obj6) {
15757 {
15758 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15759 if (SWIG_arg_fail(7)) SWIG_fail;
15760 if (arg7 == NULL) {
15761 SWIG_null_ref("wxValidator");
15762 }
15763 if (SWIG_arg_fail(7)) SWIG_fail;
15764 }
15765 }
15766 if (obj7) {
15767 {
15768 arg8 = wxString_in_helper(obj7);
15769 if (arg8 == NULL) SWIG_fail;
15770 temp8 = true;
15771 }
15772 }
15773 {
15774 if (!wxPyCheckForApp()) SWIG_fail;
15775 PyThreadState* __tstate = wxPyBeginAllowThreads();
15776 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15777
15778 wxPyEndAllowThreads(__tstate);
15779 if (PyErr_Occurred()) SWIG_fail;
15780 }
15781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15782 {
15783 if (temp3)
15784 delete arg3;
15785 }
15786 {
15787 if (temp8)
15788 delete arg8;
15789 }
15790 return resultobj;
15791 fail:
15792 {
15793 if (temp3)
15794 delete arg3;
15795 }
15796 {
15797 if (temp8)
15798 delete arg8;
15799 }
15800 return NULL;
15801 }
15802
15803
15804 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj;
15806 wxToggleButton *result;
15807 char *kwnames[] = {
15808 NULL
15809 };
15810
15811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15812 {
15813 if (!wxPyCheckForApp()) SWIG_fail;
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 result = (wxToggleButton *)new wxToggleButton();
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15821 return resultobj;
15822 fail:
15823 return NULL;
15824 }
15825
15826
15827 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15828 PyObject *resultobj;
15829 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15830 wxWindow *arg2 = (wxWindow *) 0 ;
15831 int arg3 = (int) -1 ;
15832 wxString const &arg4_defvalue = wxPyEmptyString ;
15833 wxString *arg4 = (wxString *) &arg4_defvalue ;
15834 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15835 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15836 wxSize const &arg6_defvalue = wxDefaultSize ;
15837 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15838 long arg7 = (long) 0 ;
15839 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15840 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15841 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15842 wxString *arg9 = (wxString *) &arg9_defvalue ;
15843 bool result;
15844 bool temp4 = false ;
15845 wxPoint temp5 ;
15846 wxSize temp6 ;
15847 bool temp9 = false ;
15848 PyObject * obj0 = 0 ;
15849 PyObject * obj1 = 0 ;
15850 PyObject * obj2 = 0 ;
15851 PyObject * obj3 = 0 ;
15852 PyObject * obj4 = 0 ;
15853 PyObject * obj5 = 0 ;
15854 PyObject * obj6 = 0 ;
15855 PyObject * obj7 = 0 ;
15856 PyObject * obj8 = 0 ;
15857 char *kwnames[] = {
15858 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15859 };
15860
15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15863 if (SWIG_arg_fail(1)) SWIG_fail;
15864 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15865 if (SWIG_arg_fail(2)) SWIG_fail;
15866 if (obj2) {
15867 {
15868 arg3 = (int)(SWIG_As_int(obj2));
15869 if (SWIG_arg_fail(3)) SWIG_fail;
15870 }
15871 }
15872 if (obj3) {
15873 {
15874 arg4 = wxString_in_helper(obj3);
15875 if (arg4 == NULL) SWIG_fail;
15876 temp4 = true;
15877 }
15878 }
15879 if (obj4) {
15880 {
15881 arg5 = &temp5;
15882 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15883 }
15884 }
15885 if (obj5) {
15886 {
15887 arg6 = &temp6;
15888 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15889 }
15890 }
15891 if (obj6) {
15892 {
15893 arg7 = (long)(SWIG_As_long(obj6));
15894 if (SWIG_arg_fail(7)) SWIG_fail;
15895 }
15896 }
15897 if (obj7) {
15898 {
15899 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15900 if (SWIG_arg_fail(8)) SWIG_fail;
15901 if (arg8 == NULL) {
15902 SWIG_null_ref("wxValidator");
15903 }
15904 if (SWIG_arg_fail(8)) SWIG_fail;
15905 }
15906 }
15907 if (obj8) {
15908 {
15909 arg9 = wxString_in_helper(obj8);
15910 if (arg9 == NULL) SWIG_fail;
15911 temp9 = true;
15912 }
15913 }
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15917
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 {
15922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15923 }
15924 {
15925 if (temp4)
15926 delete arg4;
15927 }
15928 {
15929 if (temp9)
15930 delete arg9;
15931 }
15932 return resultobj;
15933 fail:
15934 {
15935 if (temp4)
15936 delete arg4;
15937 }
15938 {
15939 if (temp9)
15940 delete arg9;
15941 }
15942 return NULL;
15943 }
15944
15945
15946 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15947 PyObject *resultobj;
15948 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15949 bool arg2 ;
15950 PyObject * obj0 = 0 ;
15951 PyObject * obj1 = 0 ;
15952 char *kwnames[] = {
15953 (char *) "self",(char *) "value", NULL
15954 };
15955
15956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15958 if (SWIG_arg_fail(1)) SWIG_fail;
15959 {
15960 arg2 = (bool)(SWIG_As_bool(obj1));
15961 if (SWIG_arg_fail(2)) SWIG_fail;
15962 }
15963 {
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 (arg1)->SetValue(arg2);
15966
15967 wxPyEndAllowThreads(__tstate);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 }
15970 Py_INCREF(Py_None); resultobj = Py_None;
15971 return resultobj;
15972 fail:
15973 return NULL;
15974 }
15975
15976
15977 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15978 PyObject *resultobj;
15979 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15980 bool result;
15981 PyObject * obj0 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "self", NULL
15984 };
15985
15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
15987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15988 if (SWIG_arg_fail(1)) SWIG_fail;
15989 {
15990 PyThreadState* __tstate = wxPyBeginAllowThreads();
15991 result = (bool)((wxToggleButton const *)arg1)->GetValue();
15992
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 {
15997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15998 }
15999 return resultobj;
16000 fail:
16001 return NULL;
16002 }
16003
16004
16005 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16006 PyObject *resultobj;
16007 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16008 wxString *arg2 = 0 ;
16009 bool temp2 = false ;
16010 PyObject * obj0 = 0 ;
16011 PyObject * obj1 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self",(char *) "label", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",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 = wxString_in_helper(obj1);
16021 if (arg2 == NULL) SWIG_fail;
16022 temp2 = true;
16023 }
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 (arg1)->SetLabel((wxString const &)*arg2);
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 Py_INCREF(Py_None); resultobj = Py_None;
16032 {
16033 if (temp2)
16034 delete arg2;
16035 }
16036 return resultobj;
16037 fail:
16038 {
16039 if (temp2)
16040 delete arg2;
16041 }
16042 return NULL;
16043 }
16044
16045
16046 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16047 PyObject *resultobj;
16048 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16049 wxVisualAttributes result;
16050 PyObject * obj0 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "variant", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16056 if (obj0) {
16057 {
16058 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16059 if (SWIG_arg_fail(1)) SWIG_fail;
16060 }
16061 }
16062 {
16063 if (!wxPyCheckForApp()) SWIG_fail;
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16066
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 {
16071 wxVisualAttributes * resultptr;
16072 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16074 }
16075 return resultobj;
16076 fail:
16077 return NULL;
16078 }
16079
16080
16081 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16082 PyObject *obj;
16083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16084 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16085 Py_INCREF(obj);
16086 return Py_BuildValue((char *)"");
16087 }
16088 static int _wrap_NotebookNameStr_set(PyObject *) {
16089 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16090 return 1;
16091 }
16092
16093
16094 static PyObject *_wrap_NotebookNameStr_get(void) {
16095 PyObject *pyobj;
16096
16097 {
16098 #if wxUSE_UNICODE
16099 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16100 #else
16101 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16102 #endif
16103 }
16104 return pyobj;
16105 }
16106
16107
16108 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16109 PyObject *resultobj;
16110 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16111 size_t result;
16112 PyObject * obj0 = 0 ;
16113 char *kwnames[] = {
16114 (char *) "self", NULL
16115 };
16116
16117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16119 if (SWIG_arg_fail(1)) SWIG_fail;
16120 {
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
16122 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16123
16124 wxPyEndAllowThreads(__tstate);
16125 if (PyErr_Occurred()) SWIG_fail;
16126 }
16127 {
16128 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16129 }
16130 return resultobj;
16131 fail:
16132 return NULL;
16133 }
16134
16135
16136 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16137 PyObject *resultobj;
16138 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16139 size_t arg2 ;
16140 wxWindow *result;
16141 PyObject * obj0 = 0 ;
16142 PyObject * obj1 = 0 ;
16143 char *kwnames[] = {
16144 (char *) "self",(char *) "n", NULL
16145 };
16146
16147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16149 if (SWIG_arg_fail(1)) SWIG_fail;
16150 {
16151 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16152 if (SWIG_arg_fail(2)) SWIG_fail;
16153 }
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 result = (wxWindow *)(arg1)->GetPage(arg2);
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 {
16162 resultobj = wxPyMake_wxObject(result, 0);
16163 }
16164 return resultobj;
16165 fail:
16166 return NULL;
16167 }
16168
16169
16170 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16171 PyObject *resultobj;
16172 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16173 wxWindow *result;
16174 PyObject * obj0 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16181 if (SWIG_arg_fail(1)) SWIG_fail;
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 {
16190 resultobj = wxPyMake_wxObject(result, 0);
16191 }
16192 return resultobj;
16193 fail:
16194 return NULL;
16195 }
16196
16197
16198 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16199 PyObject *resultobj;
16200 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16201 int result;
16202 PyObject * obj0 = 0 ;
16203 char *kwnames[] = {
16204 (char *) "self", NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16213
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 {
16218 resultobj = SWIG_From_int((int)(result));
16219 }
16220 return resultobj;
16221 fail:
16222 return NULL;
16223 }
16224
16225
16226 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16227 PyObject *resultobj;
16228 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16229 size_t arg2 ;
16230 wxString *arg3 = 0 ;
16231 bool result;
16232 bool temp3 = false ;
16233 PyObject * obj0 = 0 ;
16234 PyObject * obj1 = 0 ;
16235 PyObject * obj2 = 0 ;
16236 char *kwnames[] = {
16237 (char *) "self",(char *) "n",(char *) "strText", NULL
16238 };
16239
16240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16242 if (SWIG_arg_fail(1)) SWIG_fail;
16243 {
16244 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16245 if (SWIG_arg_fail(2)) SWIG_fail;
16246 }
16247 {
16248 arg3 = wxString_in_helper(obj2);
16249 if (arg3 == NULL) SWIG_fail;
16250 temp3 = true;
16251 }
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16255
16256 wxPyEndAllowThreads(__tstate);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 }
16259 {
16260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16261 }
16262 {
16263 if (temp3)
16264 delete arg3;
16265 }
16266 return resultobj;
16267 fail:
16268 {
16269 if (temp3)
16270 delete arg3;
16271 }
16272 return NULL;
16273 }
16274
16275
16276 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16277 PyObject *resultobj;
16278 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16279 size_t arg2 ;
16280 wxString result;
16281 PyObject * obj0 = 0 ;
16282 PyObject * obj1 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "self",(char *) "n", NULL
16285 };
16286
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail;
16290 {
16291 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16292 if (SWIG_arg_fail(2)) SWIG_fail;
16293 }
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 {
16302 #if wxUSE_UNICODE
16303 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16304 #else
16305 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16306 #endif
16307 }
16308 return resultobj;
16309 fail:
16310 return NULL;
16311 }
16312
16313
16314 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
16316 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16317 wxImageList *arg2 = (wxImageList *) 0 ;
16318 PyObject * obj0 = 0 ;
16319 PyObject * obj1 = 0 ;
16320 char *kwnames[] = {
16321 (char *) "self",(char *) "imageList", NULL
16322 };
16323
16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16326 if (SWIG_arg_fail(1)) SWIG_fail;
16327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16328 if (SWIG_arg_fail(2)) SWIG_fail;
16329 {
16330 PyThreadState* __tstate = wxPyBeginAllowThreads();
16331 (arg1)->SetImageList(arg2);
16332
16333 wxPyEndAllowThreads(__tstate);
16334 if (PyErr_Occurred()) SWIG_fail;
16335 }
16336 Py_INCREF(Py_None); resultobj = Py_None;
16337 return resultobj;
16338 fail:
16339 return NULL;
16340 }
16341
16342
16343 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16344 PyObject *resultobj;
16345 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16346 wxImageList *arg2 = (wxImageList *) 0 ;
16347 PyObject * obj0 = 0 ;
16348 PyObject * obj1 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "self",(char *) "imageList", NULL
16351 };
16352
16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16355 if (SWIG_arg_fail(1)) SWIG_fail;
16356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16357 if (SWIG_arg_fail(2)) SWIG_fail;
16358 {
16359 PyThreadState* __tstate = wxPyBeginAllowThreads();
16360 (arg1)->AssignImageList(arg2);
16361
16362 wxPyEndAllowThreads(__tstate);
16363 if (PyErr_Occurred()) SWIG_fail;
16364 }
16365 Py_INCREF(Py_None); resultobj = Py_None;
16366 return resultobj;
16367 fail:
16368 return NULL;
16369 }
16370
16371
16372 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16373 PyObject *resultobj;
16374 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16375 wxImageList *result;
16376 PyObject * obj0 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "self", NULL
16379 };
16380
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16383 if (SWIG_arg_fail(1)) SWIG_fail;
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
16386 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16387
16388 wxPyEndAllowThreads(__tstate);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 {
16392 resultobj = wxPyMake_wxObject(result, 0);
16393 }
16394 return resultobj;
16395 fail:
16396 return NULL;
16397 }
16398
16399
16400 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj;
16402 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16403 size_t arg2 ;
16404 int result;
16405 PyObject * obj0 = 0 ;
16406 PyObject * obj1 = 0 ;
16407 char *kwnames[] = {
16408 (char *) "self",(char *) "n", NULL
16409 };
16410
16411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16413 if (SWIG_arg_fail(1)) SWIG_fail;
16414 {
16415 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16416 if (SWIG_arg_fail(2)) SWIG_fail;
16417 }
16418 {
16419 PyThreadState* __tstate = wxPyBeginAllowThreads();
16420 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16421
16422 wxPyEndAllowThreads(__tstate);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 }
16425 {
16426 resultobj = SWIG_From_int((int)(result));
16427 }
16428 return resultobj;
16429 fail:
16430 return NULL;
16431 }
16432
16433
16434 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16435 PyObject *resultobj;
16436 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16437 size_t arg2 ;
16438 int arg3 ;
16439 bool result;
16440 PyObject * obj0 = 0 ;
16441 PyObject * obj1 = 0 ;
16442 PyObject * obj2 = 0 ;
16443 char *kwnames[] = {
16444 (char *) "self",(char *) "n",(char *) "imageId", NULL
16445 };
16446
16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16449 if (SWIG_arg_fail(1)) SWIG_fail;
16450 {
16451 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16452 if (SWIG_arg_fail(2)) SWIG_fail;
16453 }
16454 {
16455 arg3 = (int)(SWIG_As_int(obj2));
16456 if (SWIG_arg_fail(3)) SWIG_fail;
16457 }
16458 {
16459 PyThreadState* __tstate = wxPyBeginAllowThreads();
16460 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16461
16462 wxPyEndAllowThreads(__tstate);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 }
16465 {
16466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16467 }
16468 return resultobj;
16469 fail:
16470 return NULL;
16471 }
16472
16473
16474 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16475 PyObject *resultobj;
16476 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16477 wxSize *arg2 = 0 ;
16478 wxSize temp2 ;
16479 PyObject * obj0 = 0 ;
16480 PyObject * obj1 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self",(char *) "size", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail;
16488 {
16489 arg2 = &temp2;
16490 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16491 }
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 (arg1)->SetPageSize((wxSize const &)*arg2);
16495
16496 wxPyEndAllowThreads(__tstate);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 }
16499 Py_INCREF(Py_None); resultobj = Py_None;
16500 return resultobj;
16501 fail:
16502 return NULL;
16503 }
16504
16505
16506 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16507 PyObject *resultobj;
16508 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16509 wxSize *arg2 = 0 ;
16510 wxSize result;
16511 wxSize temp2 ;
16512 PyObject * obj0 = 0 ;
16513 PyObject * obj1 = 0 ;
16514 char *kwnames[] = {
16515 (char *) "self",(char *) "sizePage", NULL
16516 };
16517
16518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16520 if (SWIG_arg_fail(1)) SWIG_fail;
16521 {
16522 arg2 = &temp2;
16523 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16524 }
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16528
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 {
16533 wxSize * resultptr;
16534 resultptr = new wxSize((wxSize &)(result));
16535 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16536 }
16537 return resultobj;
16538 fail:
16539 return NULL;
16540 }
16541
16542
16543 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16544 PyObject *resultobj;
16545 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16546 size_t arg2 ;
16547 bool result;
16548 PyObject * obj0 = 0 ;
16549 PyObject * obj1 = 0 ;
16550 char *kwnames[] = {
16551 (char *) "self",(char *) "n", NULL
16552 };
16553
16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16556 if (SWIG_arg_fail(1)) SWIG_fail;
16557 {
16558 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16559 if (SWIG_arg_fail(2)) SWIG_fail;
16560 }
16561 {
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 result = (bool)(arg1)->DeletePage(arg2);
16564
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
16568 {
16569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16570 }
16571 return resultobj;
16572 fail:
16573 return NULL;
16574 }
16575
16576
16577 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16578 PyObject *resultobj;
16579 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16580 size_t arg2 ;
16581 bool result;
16582 PyObject * obj0 = 0 ;
16583 PyObject * obj1 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self",(char *) "n", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
16589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16590 if (SWIG_arg_fail(1)) SWIG_fail;
16591 {
16592 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16593 if (SWIG_arg_fail(2)) SWIG_fail;
16594 }
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 result = (bool)(arg1)->RemovePage(arg2);
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
16602 {
16603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16604 }
16605 return resultobj;
16606 fail:
16607 return NULL;
16608 }
16609
16610
16611 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16612 PyObject *resultobj;
16613 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16614 bool result;
16615 PyObject * obj0 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail;
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 result = (bool)(arg1)->DeleteAllPages();
16626
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 {
16631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16632 }
16633 return resultobj;
16634 fail:
16635 return NULL;
16636 }
16637
16638
16639 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16640 PyObject *resultobj;
16641 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16642 wxWindow *arg2 = (wxWindow *) 0 ;
16643 wxString *arg3 = 0 ;
16644 bool arg4 = (bool) false ;
16645 int arg5 = (int) -1 ;
16646 bool result;
16647 bool temp3 = false ;
16648 PyObject * obj0 = 0 ;
16649 PyObject * obj1 = 0 ;
16650 PyObject * obj2 = 0 ;
16651 PyObject * obj3 = 0 ;
16652 PyObject * obj4 = 0 ;
16653 char *kwnames[] = {
16654 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16655 };
16656
16657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16659 if (SWIG_arg_fail(1)) SWIG_fail;
16660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16661 if (SWIG_arg_fail(2)) SWIG_fail;
16662 {
16663 arg3 = wxString_in_helper(obj2);
16664 if (arg3 == NULL) SWIG_fail;
16665 temp3 = true;
16666 }
16667 if (obj3) {
16668 {
16669 arg4 = (bool)(SWIG_As_bool(obj3));
16670 if (SWIG_arg_fail(4)) SWIG_fail;
16671 }
16672 }
16673 if (obj4) {
16674 {
16675 arg5 = (int)(SWIG_As_int(obj4));
16676 if (SWIG_arg_fail(5)) SWIG_fail;
16677 }
16678 }
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 {
16687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16688 }
16689 {
16690 if (temp3)
16691 delete arg3;
16692 }
16693 return resultobj;
16694 fail:
16695 {
16696 if (temp3)
16697 delete arg3;
16698 }
16699 return NULL;
16700 }
16701
16702
16703 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16704 PyObject *resultobj;
16705 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16706 size_t arg2 ;
16707 wxWindow *arg3 = (wxWindow *) 0 ;
16708 wxString *arg4 = 0 ;
16709 bool arg5 = (bool) false ;
16710 int arg6 = (int) -1 ;
16711 bool result;
16712 bool temp4 = false ;
16713 PyObject * obj0 = 0 ;
16714 PyObject * obj1 = 0 ;
16715 PyObject * obj2 = 0 ;
16716 PyObject * obj3 = 0 ;
16717 PyObject * obj4 = 0 ;
16718 PyObject * obj5 = 0 ;
16719 char *kwnames[] = {
16720 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16721 };
16722
16723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16725 if (SWIG_arg_fail(1)) SWIG_fail;
16726 {
16727 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16728 if (SWIG_arg_fail(2)) SWIG_fail;
16729 }
16730 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16731 if (SWIG_arg_fail(3)) SWIG_fail;
16732 {
16733 arg4 = wxString_in_helper(obj3);
16734 if (arg4 == NULL) SWIG_fail;
16735 temp4 = true;
16736 }
16737 if (obj4) {
16738 {
16739 arg5 = (bool)(SWIG_As_bool(obj4));
16740 if (SWIG_arg_fail(5)) SWIG_fail;
16741 }
16742 }
16743 if (obj5) {
16744 {
16745 arg6 = (int)(SWIG_As_int(obj5));
16746 if (SWIG_arg_fail(6)) SWIG_fail;
16747 }
16748 }
16749 {
16750 PyThreadState* __tstate = wxPyBeginAllowThreads();
16751 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16752
16753 wxPyEndAllowThreads(__tstate);
16754 if (PyErr_Occurred()) SWIG_fail;
16755 }
16756 {
16757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16758 }
16759 {
16760 if (temp4)
16761 delete arg4;
16762 }
16763 return resultobj;
16764 fail:
16765 {
16766 if (temp4)
16767 delete arg4;
16768 }
16769 return NULL;
16770 }
16771
16772
16773 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16776 size_t arg2 ;
16777 int result;
16778 PyObject * obj0 = 0 ;
16779 PyObject * obj1 = 0 ;
16780 char *kwnames[] = {
16781 (char *) "self",(char *) "n", NULL
16782 };
16783
16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16786 if (SWIG_arg_fail(1)) SWIG_fail;
16787 {
16788 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16789 if (SWIG_arg_fail(2)) SWIG_fail;
16790 }
16791 {
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 result = (int)(arg1)->SetSelection(arg2);
16794
16795 wxPyEndAllowThreads(__tstate);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
16798 {
16799 resultobj = SWIG_From_int((int)(result));
16800 }
16801 return resultobj;
16802 fail:
16803 return NULL;
16804 }
16805
16806
16807 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16808 PyObject *resultobj;
16809 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16810 bool arg2 = (bool) true ;
16811 PyObject * obj0 = 0 ;
16812 PyObject * obj1 = 0 ;
16813 char *kwnames[] = {
16814 (char *) "self",(char *) "forward", NULL
16815 };
16816
16817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
16818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16819 if (SWIG_arg_fail(1)) SWIG_fail;
16820 if (obj1) {
16821 {
16822 arg2 = (bool)(SWIG_As_bool(obj1));
16823 if (SWIG_arg_fail(2)) SWIG_fail;
16824 }
16825 }
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 (arg1)->AdvanceSelection(arg2);
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 Py_INCREF(Py_None); resultobj = Py_None;
16834 return resultobj;
16835 fail:
16836 return NULL;
16837 }
16838
16839
16840 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16841 PyObject *resultobj;
16842 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16843 wxVisualAttributes result;
16844 PyObject * obj0 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "variant", NULL
16847 };
16848
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16850 if (obj0) {
16851 {
16852 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16853 if (SWIG_arg_fail(1)) SWIG_fail;
16854 }
16855 }
16856 {
16857 if (!wxPyCheckForApp()) SWIG_fail;
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
16860
16861 wxPyEndAllowThreads(__tstate);
16862 if (PyErr_Occurred()) SWIG_fail;
16863 }
16864 {
16865 wxVisualAttributes * resultptr;
16866 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16867 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16868 }
16869 return resultobj;
16870 fail:
16871 return NULL;
16872 }
16873
16874
16875 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
16876 PyObject *obj;
16877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16878 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
16879 Py_INCREF(obj);
16880 return Py_BuildValue((char *)"");
16881 }
16882 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16883 PyObject *resultobj;
16884 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16885 int arg2 = (int) 0 ;
16886 int arg3 = (int) -1 ;
16887 int arg4 = (int) -1 ;
16888 wxBookCtrlBaseEvent *result;
16889 PyObject * obj0 = 0 ;
16890 PyObject * obj1 = 0 ;
16891 PyObject * obj2 = 0 ;
16892 PyObject * obj3 = 0 ;
16893 char *kwnames[] = {
16894 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16895 };
16896
16897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16898 if (obj0) {
16899 {
16900 arg1 = (wxEventType)(SWIG_As_int(obj0));
16901 if (SWIG_arg_fail(1)) SWIG_fail;
16902 }
16903 }
16904 if (obj1) {
16905 {
16906 arg2 = (int)(SWIG_As_int(obj1));
16907 if (SWIG_arg_fail(2)) SWIG_fail;
16908 }
16909 }
16910 if (obj2) {
16911 {
16912 arg3 = (int)(SWIG_As_int(obj2));
16913 if (SWIG_arg_fail(3)) SWIG_fail;
16914 }
16915 }
16916 if (obj3) {
16917 {
16918 arg4 = (int)(SWIG_As_int(obj3));
16919 if (SWIG_arg_fail(4)) SWIG_fail;
16920 }
16921 }
16922 {
16923 PyThreadState* __tstate = wxPyBeginAllowThreads();
16924 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
16925
16926 wxPyEndAllowThreads(__tstate);
16927 if (PyErr_Occurred()) SWIG_fail;
16928 }
16929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
16930 return resultobj;
16931 fail:
16932 return NULL;
16933 }
16934
16935
16936 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16937 PyObject *resultobj;
16938 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16939 int result;
16940 PyObject * obj0 = 0 ;
16941 char *kwnames[] = {
16942 (char *) "self", NULL
16943 };
16944
16945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
16946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16947 if (SWIG_arg_fail(1)) SWIG_fail;
16948 {
16949 PyThreadState* __tstate = wxPyBeginAllowThreads();
16950 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
16951
16952 wxPyEndAllowThreads(__tstate);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 }
16955 {
16956 resultobj = SWIG_From_int((int)(result));
16957 }
16958 return resultobj;
16959 fail:
16960 return NULL;
16961 }
16962
16963
16964 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16965 PyObject *resultobj;
16966 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16967 int arg2 ;
16968 PyObject * obj0 = 0 ;
16969 PyObject * obj1 = 0 ;
16970 char *kwnames[] = {
16971 (char *) "self",(char *) "nSel", NULL
16972 };
16973
16974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16976 if (SWIG_arg_fail(1)) SWIG_fail;
16977 {
16978 arg2 = (int)(SWIG_As_int(obj1));
16979 if (SWIG_arg_fail(2)) SWIG_fail;
16980 }
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 (arg1)->SetSelection(arg2);
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 Py_INCREF(Py_None); resultobj = Py_None;
16989 return resultobj;
16990 fail:
16991 return NULL;
16992 }
16993
16994
16995 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj;
16997 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16998 int result;
16999 PyObject * obj0 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self", NULL
17002 };
17003
17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail;
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 {
17015 resultobj = SWIG_From_int((int)(result));
17016 }
17017 return resultobj;
17018 fail:
17019 return NULL;
17020 }
17021
17022
17023 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17024 PyObject *resultobj;
17025 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17026 int arg2 ;
17027 PyObject * obj0 = 0 ;
17028 PyObject * obj1 = 0 ;
17029 char *kwnames[] = {
17030 (char *) "self",(char *) "nOldSel", NULL
17031 };
17032
17033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17035 if (SWIG_arg_fail(1)) SWIG_fail;
17036 {
17037 arg2 = (int)(SWIG_As_int(obj1));
17038 if (SWIG_arg_fail(2)) SWIG_fail;
17039 }
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 (arg1)->SetOldSelection(arg2);
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 Py_INCREF(Py_None); resultobj = Py_None;
17048 return resultobj;
17049 fail:
17050 return NULL;
17051 }
17052
17053
17054 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17055 PyObject *obj;
17056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17057 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17058 Py_INCREF(obj);
17059 return Py_BuildValue((char *)"");
17060 }
17061 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17062 PyObject *resultobj;
17063 wxWindow *arg1 = (wxWindow *) 0 ;
17064 int arg2 = (int) -1 ;
17065 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17066 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17067 wxSize const &arg4_defvalue = wxDefaultSize ;
17068 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17069 long arg5 = (long) 0 ;
17070 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17071 wxString *arg6 = (wxString *) &arg6_defvalue ;
17072 wxNotebook *result;
17073 wxPoint temp3 ;
17074 wxSize temp4 ;
17075 bool temp6 = false ;
17076 PyObject * obj0 = 0 ;
17077 PyObject * obj1 = 0 ;
17078 PyObject * obj2 = 0 ;
17079 PyObject * obj3 = 0 ;
17080 PyObject * obj4 = 0 ;
17081 PyObject * obj5 = 0 ;
17082 char *kwnames[] = {
17083 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17084 };
17085
17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17088 if (SWIG_arg_fail(1)) SWIG_fail;
17089 if (obj1) {
17090 {
17091 arg2 = (int)(SWIG_As_int(obj1));
17092 if (SWIG_arg_fail(2)) SWIG_fail;
17093 }
17094 }
17095 if (obj2) {
17096 {
17097 arg3 = &temp3;
17098 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17099 }
17100 }
17101 if (obj3) {
17102 {
17103 arg4 = &temp4;
17104 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17105 }
17106 }
17107 if (obj4) {
17108 {
17109 arg5 = (long)(SWIG_As_long(obj4));
17110 if (SWIG_arg_fail(5)) SWIG_fail;
17111 }
17112 }
17113 if (obj5) {
17114 {
17115 arg6 = wxString_in_helper(obj5);
17116 if (arg6 == NULL) SWIG_fail;
17117 temp6 = true;
17118 }
17119 }
17120 {
17121 if (!wxPyCheckForApp()) SWIG_fail;
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17129 {
17130 if (temp6)
17131 delete arg6;
17132 }
17133 return resultobj;
17134 fail:
17135 {
17136 if (temp6)
17137 delete arg6;
17138 }
17139 return NULL;
17140 }
17141
17142
17143 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 wxNotebook *result;
17146 char *kwnames[] = {
17147 NULL
17148 };
17149
17150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17151 {
17152 if (!wxPyCheckForApp()) SWIG_fail;
17153 PyThreadState* __tstate = wxPyBeginAllowThreads();
17154 result = (wxNotebook *)new wxNotebook();
17155
17156 wxPyEndAllowThreads(__tstate);
17157 if (PyErr_Occurred()) SWIG_fail;
17158 }
17159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17160 return resultobj;
17161 fail:
17162 return NULL;
17163 }
17164
17165
17166 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17167 PyObject *resultobj;
17168 wxNotebook *arg1 = (wxNotebook *) 0 ;
17169 wxWindow *arg2 = (wxWindow *) 0 ;
17170 int arg3 = (int) -1 ;
17171 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17172 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17173 wxSize const &arg5_defvalue = wxDefaultSize ;
17174 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17175 long arg6 = (long) 0 ;
17176 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17177 wxString *arg7 = (wxString *) &arg7_defvalue ;
17178 bool result;
17179 wxPoint temp4 ;
17180 wxSize temp5 ;
17181 bool temp7 = false ;
17182 PyObject * obj0 = 0 ;
17183 PyObject * obj1 = 0 ;
17184 PyObject * obj2 = 0 ;
17185 PyObject * obj3 = 0 ;
17186 PyObject * obj4 = 0 ;
17187 PyObject * obj5 = 0 ;
17188 PyObject * obj6 = 0 ;
17189 char *kwnames[] = {
17190 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17191 };
17192
17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17195 if (SWIG_arg_fail(1)) SWIG_fail;
17196 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17197 if (SWIG_arg_fail(2)) SWIG_fail;
17198 if (obj2) {
17199 {
17200 arg3 = (int)(SWIG_As_int(obj2));
17201 if (SWIG_arg_fail(3)) SWIG_fail;
17202 }
17203 }
17204 if (obj3) {
17205 {
17206 arg4 = &temp4;
17207 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17208 }
17209 }
17210 if (obj4) {
17211 {
17212 arg5 = &temp5;
17213 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17214 }
17215 }
17216 if (obj5) {
17217 {
17218 arg6 = (long)(SWIG_As_long(obj5));
17219 if (SWIG_arg_fail(6)) SWIG_fail;
17220 }
17221 }
17222 if (obj6) {
17223 {
17224 arg7 = wxString_in_helper(obj6);
17225 if (arg7 == NULL) SWIG_fail;
17226 temp7 = true;
17227 }
17228 }
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 {
17237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17238 }
17239 {
17240 if (temp7)
17241 delete arg7;
17242 }
17243 return resultobj;
17244 fail:
17245 {
17246 if (temp7)
17247 delete arg7;
17248 }
17249 return NULL;
17250 }
17251
17252
17253 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17254 PyObject *resultobj;
17255 wxNotebook *arg1 = (wxNotebook *) 0 ;
17256 int result;
17257 PyObject * obj0 = 0 ;
17258 char *kwnames[] = {
17259 (char *) "self", NULL
17260 };
17261
17262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17264 if (SWIG_arg_fail(1)) SWIG_fail;
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17268
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
17272 {
17273 resultobj = SWIG_From_int((int)(result));
17274 }
17275 return resultobj;
17276 fail:
17277 return NULL;
17278 }
17279
17280
17281 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj;
17283 wxNotebook *arg1 = (wxNotebook *) 0 ;
17284 wxSize *arg2 = 0 ;
17285 wxSize temp2 ;
17286 PyObject * obj0 = 0 ;
17287 PyObject * obj1 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self",(char *) "padding", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17294 if (SWIG_arg_fail(1)) SWIG_fail;
17295 {
17296 arg2 = &temp2;
17297 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17298 }
17299 {
17300 PyThreadState* __tstate = wxPyBeginAllowThreads();
17301 (arg1)->SetPadding((wxSize const &)*arg2);
17302
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
17306 Py_INCREF(Py_None); resultobj = Py_None;
17307 return resultobj;
17308 fail:
17309 return NULL;
17310 }
17311
17312
17313 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17314 PyObject *resultobj;
17315 wxNotebook *arg1 = (wxNotebook *) 0 ;
17316 wxSize *arg2 = 0 ;
17317 wxSize temp2 ;
17318 PyObject * obj0 = 0 ;
17319 PyObject * obj1 = 0 ;
17320 char *kwnames[] = {
17321 (char *) "self",(char *) "sz", NULL
17322 };
17323
17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17326 if (SWIG_arg_fail(1)) SWIG_fail;
17327 {
17328 arg2 = &temp2;
17329 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17330 }
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 (arg1)->SetTabSize((wxSize const &)*arg2);
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 Py_INCREF(Py_None); resultobj = Py_None;
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxNotebook *arg1 = (wxNotebook *) 0 ;
17348 wxPoint *arg2 = 0 ;
17349 long *arg3 = (long *) 0 ;
17350 int result;
17351 wxPoint temp2 ;
17352 long temp3 ;
17353 int res3 = 0 ;
17354 PyObject * obj0 = 0 ;
17355 PyObject * obj1 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self",(char *) "pt", NULL
17358 };
17359
17360 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail;
17364 {
17365 arg2 = &temp2;
17366 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17367 }
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 {
17376 resultobj = SWIG_From_int((int)(result));
17377 }
17378 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17379 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17380 return resultobj;
17381 fail:
17382 return NULL;
17383 }
17384
17385
17386 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17387 PyObject *resultobj;
17388 wxNotebook *arg1 = (wxNotebook *) 0 ;
17389 wxSize *arg2 = 0 ;
17390 wxSize result;
17391 wxSize temp2 ;
17392 PyObject * obj0 = 0 ;
17393 PyObject * obj1 = 0 ;
17394 char *kwnames[] = {
17395 (char *) "self",(char *) "sizePage", NULL
17396 };
17397
17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17400 if (SWIG_arg_fail(1)) SWIG_fail;
17401 {
17402 arg2 = &temp2;
17403 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17404 }
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 {
17413 wxSize * resultptr;
17414 resultptr = new wxSize((wxSize &)(result));
17415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17416 }
17417 return resultobj;
17418 fail:
17419 return NULL;
17420 }
17421
17422
17423 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxNotebook *arg1 = (wxNotebook *) 0 ;
17426 wxColour result;
17427 PyObject * obj0 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "self", NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17434 if (SWIG_arg_fail(1)) SWIG_fail;
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 {
17443 wxColour * resultptr;
17444 resultptr = new wxColour((wxColour &)(result));
17445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17446 }
17447 return resultobj;
17448 fail:
17449 return NULL;
17450 }
17451
17452
17453 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17456 wxVisualAttributes result;
17457 PyObject * obj0 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "variant", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17463 if (obj0) {
17464 {
17465 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17466 if (SWIG_arg_fail(1)) SWIG_fail;
17467 }
17468 }
17469 {
17470 if (!wxPyCheckForApp()) SWIG_fail;
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
17477 {
17478 wxVisualAttributes * resultptr;
17479 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
17480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17481 }
17482 return resultobj;
17483 fail:
17484 return NULL;
17485 }
17486
17487
17488 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17489 PyObject *obj;
17490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17491 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17492 Py_INCREF(obj);
17493 return Py_BuildValue((char *)"");
17494 }
17495 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17496 PyObject *resultobj;
17497 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17498 int arg2 = (int) 0 ;
17499 int arg3 = (int) -1 ;
17500 int arg4 = (int) -1 ;
17501 wxNotebookEvent *result;
17502 PyObject * obj0 = 0 ;
17503 PyObject * obj1 = 0 ;
17504 PyObject * obj2 = 0 ;
17505 PyObject * obj3 = 0 ;
17506 char *kwnames[] = {
17507 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17511 if (obj0) {
17512 {
17513 arg1 = (wxEventType)(SWIG_As_int(obj0));
17514 if (SWIG_arg_fail(1)) SWIG_fail;
17515 }
17516 }
17517 if (obj1) {
17518 {
17519 arg2 = (int)(SWIG_As_int(obj1));
17520 if (SWIG_arg_fail(2)) SWIG_fail;
17521 }
17522 }
17523 if (obj2) {
17524 {
17525 arg3 = (int)(SWIG_As_int(obj2));
17526 if (SWIG_arg_fail(3)) SWIG_fail;
17527 }
17528 }
17529 if (obj3) {
17530 {
17531 arg4 = (int)(SWIG_As_int(obj3));
17532 if (SWIG_arg_fail(4)) SWIG_fail;
17533 }
17534 }
17535 {
17536 PyThreadState* __tstate = wxPyBeginAllowThreads();
17537 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17538
17539 wxPyEndAllowThreads(__tstate);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 }
17542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17543 return resultobj;
17544 fail:
17545 return NULL;
17546 }
17547
17548
17549 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17550 PyObject *obj;
17551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17552 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17553 Py_INCREF(obj);
17554 return Py_BuildValue((char *)"");
17555 }
17556 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17557 PyObject *resultobj;
17558 wxWindow *arg1 = (wxWindow *) 0 ;
17559 int arg2 = (int) -1 ;
17560 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17561 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17562 wxSize const &arg4_defvalue = wxDefaultSize ;
17563 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17564 long arg5 = (long) 0 ;
17565 wxString const &arg6_defvalue = wxPyEmptyString ;
17566 wxString *arg6 = (wxString *) &arg6_defvalue ;
17567 wxListbook *result;
17568 wxPoint temp3 ;
17569 wxSize temp4 ;
17570 bool temp6 = false ;
17571 PyObject * obj0 = 0 ;
17572 PyObject * obj1 = 0 ;
17573 PyObject * obj2 = 0 ;
17574 PyObject * obj3 = 0 ;
17575 PyObject * obj4 = 0 ;
17576 PyObject * obj5 = 0 ;
17577 char *kwnames[] = {
17578 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17579 };
17580
17581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17583 if (SWIG_arg_fail(1)) SWIG_fail;
17584 if (obj1) {
17585 {
17586 arg2 = (int)(SWIG_As_int(obj1));
17587 if (SWIG_arg_fail(2)) SWIG_fail;
17588 }
17589 }
17590 if (obj2) {
17591 {
17592 arg3 = &temp3;
17593 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17594 }
17595 }
17596 if (obj3) {
17597 {
17598 arg4 = &temp4;
17599 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17600 }
17601 }
17602 if (obj4) {
17603 {
17604 arg5 = (long)(SWIG_As_long(obj4));
17605 if (SWIG_arg_fail(5)) SWIG_fail;
17606 }
17607 }
17608 if (obj5) {
17609 {
17610 arg6 = wxString_in_helper(obj5);
17611 if (arg6 == NULL) SWIG_fail;
17612 temp6 = true;
17613 }
17614 }
17615 {
17616 if (!wxPyCheckForApp()) SWIG_fail;
17617 PyThreadState* __tstate = wxPyBeginAllowThreads();
17618 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17619
17620 wxPyEndAllowThreads(__tstate);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 }
17623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17624 {
17625 if (temp6)
17626 delete arg6;
17627 }
17628 return resultobj;
17629 fail:
17630 {
17631 if (temp6)
17632 delete arg6;
17633 }
17634 return NULL;
17635 }
17636
17637
17638 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17639 PyObject *resultobj;
17640 wxListbook *result;
17641 char *kwnames[] = {
17642 NULL
17643 };
17644
17645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17646 {
17647 if (!wxPyCheckForApp()) SWIG_fail;
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 result = (wxListbook *)new wxListbook();
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17655 return resultobj;
17656 fail:
17657 return NULL;
17658 }
17659
17660
17661 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj;
17663 wxListbook *arg1 = (wxListbook *) 0 ;
17664 wxWindow *arg2 = (wxWindow *) 0 ;
17665 int arg3 = (int) -1 ;
17666 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17667 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17668 wxSize const &arg5_defvalue = wxDefaultSize ;
17669 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17670 long arg6 = (long) 0 ;
17671 wxString const &arg7_defvalue = wxPyEmptyString ;
17672 wxString *arg7 = (wxString *) &arg7_defvalue ;
17673 bool result;
17674 wxPoint temp4 ;
17675 wxSize temp5 ;
17676 bool temp7 = false ;
17677 PyObject * obj0 = 0 ;
17678 PyObject * obj1 = 0 ;
17679 PyObject * obj2 = 0 ;
17680 PyObject * obj3 = 0 ;
17681 PyObject * obj4 = 0 ;
17682 PyObject * obj5 = 0 ;
17683 PyObject * obj6 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail;
17691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17692 if (SWIG_arg_fail(2)) SWIG_fail;
17693 if (obj2) {
17694 {
17695 arg3 = (int)(SWIG_As_int(obj2));
17696 if (SWIG_arg_fail(3)) SWIG_fail;
17697 }
17698 }
17699 if (obj3) {
17700 {
17701 arg4 = &temp4;
17702 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17703 }
17704 }
17705 if (obj4) {
17706 {
17707 arg5 = &temp5;
17708 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17709 }
17710 }
17711 if (obj5) {
17712 {
17713 arg6 = (long)(SWIG_As_long(obj5));
17714 if (SWIG_arg_fail(6)) SWIG_fail;
17715 }
17716 }
17717 if (obj6) {
17718 {
17719 arg7 = wxString_in_helper(obj6);
17720 if (arg7 == NULL) SWIG_fail;
17721 temp7 = true;
17722 }
17723 }
17724 {
17725 PyThreadState* __tstate = wxPyBeginAllowThreads();
17726 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17727
17728 wxPyEndAllowThreads(__tstate);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 {
17732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17733 }
17734 {
17735 if (temp7)
17736 delete arg7;
17737 }
17738 return resultobj;
17739 fail:
17740 {
17741 if (temp7)
17742 delete arg7;
17743 }
17744 return NULL;
17745 }
17746
17747
17748 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17749 PyObject *resultobj;
17750 wxListbook *arg1 = (wxListbook *) 0 ;
17751 bool result;
17752 PyObject * obj0 = 0 ;
17753 char *kwnames[] = {
17754 (char *) "self", NULL
17755 };
17756
17757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
17758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17759 if (SWIG_arg_fail(1)) SWIG_fail;
17760 {
17761 PyThreadState* __tstate = wxPyBeginAllowThreads();
17762 result = (bool)((wxListbook const *)arg1)->IsVertical();
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 {
17768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17769 }
17770 return resultobj;
17771 fail:
17772 return NULL;
17773 }
17774
17775
17776 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17777 PyObject *resultobj;
17778 wxListbook *arg1 = (wxListbook *) 0 ;
17779 wxListView *result;
17780 PyObject * obj0 = 0 ;
17781 char *kwnames[] = {
17782 (char *) "self", NULL
17783 };
17784
17785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
17786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17787 if (SWIG_arg_fail(1)) SWIG_fail;
17788 {
17789 PyThreadState* __tstate = wxPyBeginAllowThreads();
17790 result = (wxListView *)(arg1)->GetListView();
17791
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17796 return resultobj;
17797 fail:
17798 return NULL;
17799 }
17800
17801
17802 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
17803 PyObject *obj;
17804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17805 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17806 Py_INCREF(obj);
17807 return Py_BuildValue((char *)"");
17808 }
17809 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17810 PyObject *resultobj;
17811 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17812 int arg2 = (int) 0 ;
17813 int arg3 = (int) -1 ;
17814 int arg4 = (int) -1 ;
17815 wxListbookEvent *result;
17816 PyObject * obj0 = 0 ;
17817 PyObject * obj1 = 0 ;
17818 PyObject * obj2 = 0 ;
17819 PyObject * obj3 = 0 ;
17820 char *kwnames[] = {
17821 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17825 if (obj0) {
17826 {
17827 arg1 = (wxEventType)(SWIG_As_int(obj0));
17828 if (SWIG_arg_fail(1)) SWIG_fail;
17829 }
17830 }
17831 if (obj1) {
17832 {
17833 arg2 = (int)(SWIG_As_int(obj1));
17834 if (SWIG_arg_fail(2)) SWIG_fail;
17835 }
17836 }
17837 if (obj2) {
17838 {
17839 arg3 = (int)(SWIG_As_int(obj2));
17840 if (SWIG_arg_fail(3)) SWIG_fail;
17841 }
17842 }
17843 if (obj3) {
17844 {
17845 arg4 = (int)(SWIG_As_int(obj3));
17846 if (SWIG_arg_fail(4)) SWIG_fail;
17847 }
17848 }
17849 {
17850 PyThreadState* __tstate = wxPyBeginAllowThreads();
17851 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17852
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
17856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17857 return resultobj;
17858 fail:
17859 return NULL;
17860 }
17861
17862
17863 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
17864 PyObject *obj;
17865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17866 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17867 Py_INCREF(obj);
17868 return Py_BuildValue((char *)"");
17869 }
17870 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17871 PyObject *resultobj;
17872 wxWindow *arg1 = (wxWindow *) 0 ;
17873 int arg2 ;
17874 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17875 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17876 wxSize const &arg4_defvalue = wxDefaultSize ;
17877 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17878 long arg5 = (long) 0 ;
17879 wxString const &arg6_defvalue = wxPyEmptyString ;
17880 wxString *arg6 = (wxString *) &arg6_defvalue ;
17881 wxChoicebook *result;
17882 wxPoint temp3 ;
17883 wxSize temp4 ;
17884 bool temp6 = false ;
17885 PyObject * obj0 = 0 ;
17886 PyObject * obj1 = 0 ;
17887 PyObject * obj2 = 0 ;
17888 PyObject * obj3 = 0 ;
17889 PyObject * obj4 = 0 ;
17890 PyObject * obj5 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17897 if (SWIG_arg_fail(1)) SWIG_fail;
17898 {
17899 arg2 = (int)(SWIG_As_int(obj1));
17900 if (SWIG_arg_fail(2)) SWIG_fail;
17901 }
17902 if (obj2) {
17903 {
17904 arg3 = &temp3;
17905 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17906 }
17907 }
17908 if (obj3) {
17909 {
17910 arg4 = &temp4;
17911 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17912 }
17913 }
17914 if (obj4) {
17915 {
17916 arg5 = (long)(SWIG_As_long(obj4));
17917 if (SWIG_arg_fail(5)) SWIG_fail;
17918 }
17919 }
17920 if (obj5) {
17921 {
17922 arg6 = wxString_in_helper(obj5);
17923 if (arg6 == NULL) SWIG_fail;
17924 temp6 = true;
17925 }
17926 }
17927 {
17928 if (!wxPyCheckForApp()) SWIG_fail;
17929 PyThreadState* __tstate = wxPyBeginAllowThreads();
17930 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17931
17932 wxPyEndAllowThreads(__tstate);
17933 if (PyErr_Occurred()) SWIG_fail;
17934 }
17935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17936 {
17937 if (temp6)
17938 delete arg6;
17939 }
17940 return resultobj;
17941 fail:
17942 {
17943 if (temp6)
17944 delete arg6;
17945 }
17946 return NULL;
17947 }
17948
17949
17950 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj;
17952 wxChoicebook *result;
17953 char *kwnames[] = {
17954 NULL
17955 };
17956
17957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17958 {
17959 if (!wxPyCheckForApp()) SWIG_fail;
17960 PyThreadState* __tstate = wxPyBeginAllowThreads();
17961 result = (wxChoicebook *)new wxChoicebook();
17962
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17967 return resultobj;
17968 fail:
17969 return NULL;
17970 }
17971
17972
17973 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17974 PyObject *resultobj;
17975 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17976 wxWindow *arg2 = (wxWindow *) 0 ;
17977 int arg3 ;
17978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17980 wxSize const &arg5_defvalue = wxDefaultSize ;
17981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17982 long arg6 = (long) 0 ;
17983 wxString const &arg7_defvalue = wxPyEmptyString ;
17984 wxString *arg7 = (wxString *) &arg7_defvalue ;
17985 bool result;
17986 wxPoint temp4 ;
17987 wxSize temp5 ;
17988 bool temp7 = false ;
17989 PyObject * obj0 = 0 ;
17990 PyObject * obj1 = 0 ;
17991 PyObject * obj2 = 0 ;
17992 PyObject * obj3 = 0 ;
17993 PyObject * obj4 = 0 ;
17994 PyObject * obj5 = 0 ;
17995 PyObject * obj6 = 0 ;
17996 char *kwnames[] = {
17997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17998 };
17999
18000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18002 if (SWIG_arg_fail(1)) SWIG_fail;
18003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18004 if (SWIG_arg_fail(2)) SWIG_fail;
18005 {
18006 arg3 = (int)(SWIG_As_int(obj2));
18007 if (SWIG_arg_fail(3)) SWIG_fail;
18008 }
18009 if (obj3) {
18010 {
18011 arg4 = &temp4;
18012 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18013 }
18014 }
18015 if (obj4) {
18016 {
18017 arg5 = &temp5;
18018 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18019 }
18020 }
18021 if (obj5) {
18022 {
18023 arg6 = (long)(SWIG_As_long(obj5));
18024 if (SWIG_arg_fail(6)) SWIG_fail;
18025 }
18026 }
18027 if (obj6) {
18028 {
18029 arg7 = wxString_in_helper(obj6);
18030 if (arg7 == NULL) SWIG_fail;
18031 temp7 = true;
18032 }
18033 }
18034 {
18035 PyThreadState* __tstate = wxPyBeginAllowThreads();
18036 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18037
18038 wxPyEndAllowThreads(__tstate);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 }
18041 {
18042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18043 }
18044 {
18045 if (temp7)
18046 delete arg7;
18047 }
18048 return resultobj;
18049 fail:
18050 {
18051 if (temp7)
18052 delete arg7;
18053 }
18054 return NULL;
18055 }
18056
18057
18058 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18061 bool result;
18062 PyObject * obj0 = 0 ;
18063 char *kwnames[] = {
18064 (char *) "self", NULL
18065 };
18066
18067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
18068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18069 if (SWIG_arg_fail(1)) SWIG_fail;
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 {
18078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18079 }
18080 return resultobj;
18081 fail:
18082 return NULL;
18083 }
18084
18085
18086 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18087 PyObject *resultobj;
18088 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18089 bool result;
18090 PyObject * obj0 = 0 ;
18091 char *kwnames[] = {
18092 (char *) "self", NULL
18093 };
18094
18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18097 if (SWIG_arg_fail(1)) SWIG_fail;
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 result = (bool)(arg1)->DeleteAllPages();
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 {
18106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18107 }
18108 return resultobj;
18109 fail:
18110 return NULL;
18111 }
18112
18113
18114 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18115 PyObject *obj;
18116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18117 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18118 Py_INCREF(obj);
18119 return Py_BuildValue((char *)"");
18120 }
18121 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj;
18123 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18124 int arg2 = (int) 0 ;
18125 int arg3 = (int) -1 ;
18126 int arg4 = (int) -1 ;
18127 wxChoicebookEvent *result;
18128 PyObject * obj0 = 0 ;
18129 PyObject * obj1 = 0 ;
18130 PyObject * obj2 = 0 ;
18131 PyObject * obj3 = 0 ;
18132 char *kwnames[] = {
18133 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18134 };
18135
18136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18137 if (obj0) {
18138 {
18139 arg1 = (wxEventType)(SWIG_As_int(obj0));
18140 if (SWIG_arg_fail(1)) SWIG_fail;
18141 }
18142 }
18143 if (obj1) {
18144 {
18145 arg2 = (int)(SWIG_As_int(obj1));
18146 if (SWIG_arg_fail(2)) SWIG_fail;
18147 }
18148 }
18149 if (obj2) {
18150 {
18151 arg3 = (int)(SWIG_As_int(obj2));
18152 if (SWIG_arg_fail(3)) SWIG_fail;
18153 }
18154 }
18155 if (obj3) {
18156 {
18157 arg4 = (int)(SWIG_As_int(obj3));
18158 if (SWIG_arg_fail(4)) SWIG_fail;
18159 }
18160 }
18161 {
18162 PyThreadState* __tstate = wxPyBeginAllowThreads();
18163 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18164
18165 wxPyEndAllowThreads(__tstate);
18166 if (PyErr_Occurred()) SWIG_fail;
18167 }
18168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18176 PyObject *obj;
18177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18178 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18179 Py_INCREF(obj);
18180 return Py_BuildValue((char *)"");
18181 }
18182 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18183 PyObject *resultobj;
18184 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18185 wxBookCtrlSizer *result;
18186 PyObject * obj0 = 0 ;
18187 char *kwnames[] = {
18188 (char *) "nb", NULL
18189 };
18190
18191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
18192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18193 if (SWIG_arg_fail(1)) SWIG_fail;
18194 {
18195 PyThreadState* __tstate = wxPyBeginAllowThreads();
18196 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18197
18198 wxPyEndAllowThreads(__tstate);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 }
18201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18202 return resultobj;
18203 fail:
18204 return NULL;
18205 }
18206
18207
18208 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18209 PyObject *resultobj;
18210 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18211 PyObject * obj0 = 0 ;
18212 char *kwnames[] = {
18213 (char *) "self", NULL
18214 };
18215
18216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18218 if (SWIG_arg_fail(1)) SWIG_fail;
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 (arg1)->RecalcSizes();
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 Py_INCREF(Py_None); resultobj = Py_None;
18227 return resultobj;
18228 fail:
18229 return NULL;
18230 }
18231
18232
18233 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18234 PyObject *resultobj;
18235 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18236 wxSize result;
18237 PyObject * obj0 = 0 ;
18238 char *kwnames[] = {
18239 (char *) "self", NULL
18240 };
18241
18242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
18243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18244 if (SWIG_arg_fail(1)) SWIG_fail;
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 result = (arg1)->CalcMin();
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 {
18253 wxSize * resultptr;
18254 resultptr = new wxSize((wxSize &)(result));
18255 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18256 }
18257 return resultobj;
18258 fail:
18259 return NULL;
18260 }
18261
18262
18263 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18264 PyObject *resultobj;
18265 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18266 wxBookCtrlBase *result;
18267 PyObject * obj0 = 0 ;
18268 char *kwnames[] = {
18269 (char *) "self", NULL
18270 };
18271
18272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
18273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18274 if (SWIG_arg_fail(1)) SWIG_fail;
18275 {
18276 PyThreadState* __tstate = wxPyBeginAllowThreads();
18277 result = (wxBookCtrlBase *)(arg1)->GetControl();
18278
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
18283 return resultobj;
18284 fail:
18285 return NULL;
18286 }
18287
18288
18289 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
18290 PyObject *obj;
18291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18292 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18293 Py_INCREF(obj);
18294 return Py_BuildValue((char *)"");
18295 }
18296 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxNotebook *arg1 = (wxNotebook *) 0 ;
18299 wxNotebookSizer *result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "nb", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
18306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18307 if (SWIG_arg_fail(1)) SWIG_fail;
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18316 return resultobj;
18317 fail:
18318 return NULL;
18319 }
18320
18321
18322 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18323 PyObject *resultobj;
18324 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18325 PyObject * obj0 = 0 ;
18326 char *kwnames[] = {
18327 (char *) "self", NULL
18328 };
18329
18330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18332 if (SWIG_arg_fail(1)) SWIG_fail;
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 (arg1)->RecalcSizes();
18336
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 Py_INCREF(Py_None); resultobj = Py_None;
18341 return resultobj;
18342 fail:
18343 return NULL;
18344 }
18345
18346
18347 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18348 PyObject *resultobj;
18349 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18350 wxSize result;
18351 PyObject * obj0 = 0 ;
18352 char *kwnames[] = {
18353 (char *) "self", NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
18357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail;
18359 {
18360 PyThreadState* __tstate = wxPyBeginAllowThreads();
18361 result = (arg1)->CalcMin();
18362
18363 wxPyEndAllowThreads(__tstate);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
18366 {
18367 wxSize * resultptr;
18368 resultptr = new wxSize((wxSize &)(result));
18369 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18370 }
18371 return resultobj;
18372 fail:
18373 return NULL;
18374 }
18375
18376
18377 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
18378 PyObject *resultobj;
18379 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18380 wxNotebook *result;
18381 PyObject * obj0 = 0 ;
18382 char *kwnames[] = {
18383 (char *) "self", NULL
18384 };
18385
18386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
18387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18388 if (SWIG_arg_fail(1)) SWIG_fail;
18389 {
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 result = (wxNotebook *)(arg1)->GetNotebook();
18392
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 {
18397 resultobj = wxPyMake_wxObject(result, 0);
18398 }
18399 return resultobj;
18400 fail:
18401 return NULL;
18402 }
18403
18404
18405 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
18406 PyObject *obj;
18407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18408 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18409 Py_INCREF(obj);
18410 return Py_BuildValue((char *)"");
18411 }
18412 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18413 PyObject *resultobj;
18414 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18415 int result;
18416 PyObject * obj0 = 0 ;
18417 char *kwnames[] = {
18418 (char *) "self", NULL
18419 };
18420
18421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
18422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18423 if (SWIG_arg_fail(1)) SWIG_fail;
18424 {
18425 PyThreadState* __tstate = wxPyBeginAllowThreads();
18426 result = (int)(arg1)->GetId();
18427
18428 wxPyEndAllowThreads(__tstate);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 }
18431 {
18432 resultobj = SWIG_From_int((int)(result));
18433 }
18434 return resultobj;
18435 fail:
18436 return NULL;
18437 }
18438
18439
18440 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18441 PyObject *resultobj;
18442 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18443 wxControl *result;
18444 PyObject * obj0 = 0 ;
18445 char *kwnames[] = {
18446 (char *) "self", NULL
18447 };
18448
18449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
18450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18451 if (SWIG_arg_fail(1)) SWIG_fail;
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 result = (wxControl *)(arg1)->GetControl();
18455
18456 wxPyEndAllowThreads(__tstate);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 {
18460 resultobj = wxPyMake_wxObject(result, 0);
18461 }
18462 return resultobj;
18463 fail:
18464 return NULL;
18465 }
18466
18467
18468 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18469 PyObject *resultobj;
18470 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18471 wxToolBarBase *result;
18472 PyObject * obj0 = 0 ;
18473 char *kwnames[] = {
18474 (char *) "self", NULL
18475 };
18476
18477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
18478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18479 if (SWIG_arg_fail(1)) SWIG_fail;
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 result = (wxToolBarBase *)(arg1)->GetToolBar();
18483
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 {
18488 resultobj = wxPyMake_wxObject(result, 0);
18489 }
18490 return resultobj;
18491 fail:
18492 return NULL;
18493 }
18494
18495
18496 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
18497 PyObject *resultobj;
18498 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18499 int result;
18500 PyObject * obj0 = 0 ;
18501 char *kwnames[] = {
18502 (char *) "self", NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
18506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18507 if (SWIG_arg_fail(1)) SWIG_fail;
18508 {
18509 PyThreadState* __tstate = wxPyBeginAllowThreads();
18510 result = (int)(arg1)->IsButton();
18511
18512 wxPyEndAllowThreads(__tstate);
18513 if (PyErr_Occurred()) SWIG_fail;
18514 }
18515 {
18516 resultobj = SWIG_From_int((int)(result));
18517 }
18518 return resultobj;
18519 fail:
18520 return NULL;
18521 }
18522
18523
18524 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18525 PyObject *resultobj;
18526 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18527 int result;
18528 PyObject * obj0 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
18534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18535 if (SWIG_arg_fail(1)) SWIG_fail;
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 result = (int)(arg1)->IsControl();
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 {
18544 resultobj = SWIG_From_int((int)(result));
18545 }
18546 return resultobj;
18547 fail:
18548 return NULL;
18549 }
18550
18551
18552 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18553 PyObject *resultobj;
18554 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18555 int result;
18556 PyObject * obj0 = 0 ;
18557 char *kwnames[] = {
18558 (char *) "self", NULL
18559 };
18560
18561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18563 if (SWIG_arg_fail(1)) SWIG_fail;
18564 {
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 result = (int)(arg1)->IsSeparator();
18567
18568 wxPyEndAllowThreads(__tstate);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
18571 {
18572 resultobj = SWIG_From_int((int)(result));
18573 }
18574 return resultobj;
18575 fail:
18576 return NULL;
18577 }
18578
18579
18580 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18581 PyObject *resultobj;
18582 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18583 int result;
18584 PyObject * obj0 = 0 ;
18585 char *kwnames[] = {
18586 (char *) "self", NULL
18587 };
18588
18589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18591 if (SWIG_arg_fail(1)) SWIG_fail;
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 result = (int)(arg1)->GetStyle();
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 {
18600 resultobj = SWIG_From_int((int)(result));
18601 }
18602 return resultobj;
18603 fail:
18604 return NULL;
18605 }
18606
18607
18608 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18609 PyObject *resultobj;
18610 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18611 wxItemKind result;
18612 PyObject * obj0 = 0 ;
18613 char *kwnames[] = {
18614 (char *) "self", NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18619 if (SWIG_arg_fail(1)) SWIG_fail;
18620 {
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
18622 result = (wxItemKind)(arg1)->GetKind();
18623
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 resultobj = SWIG_From_int((result));
18628 return resultobj;
18629 fail:
18630 return NULL;
18631 }
18632
18633
18634 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18635 PyObject *resultobj;
18636 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18637 bool result;
18638 PyObject * obj0 = 0 ;
18639 char *kwnames[] = {
18640 (char *) "self", NULL
18641 };
18642
18643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
18644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18645 if (SWIG_arg_fail(1)) SWIG_fail;
18646 {
18647 PyThreadState* __tstate = wxPyBeginAllowThreads();
18648 result = (bool)(arg1)->IsEnabled();
18649
18650 wxPyEndAllowThreads(__tstate);
18651 if (PyErr_Occurred()) SWIG_fail;
18652 }
18653 {
18654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18655 }
18656 return resultobj;
18657 fail:
18658 return NULL;
18659 }
18660
18661
18662 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18663 PyObject *resultobj;
18664 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18665 bool result;
18666 PyObject * obj0 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18673 if (SWIG_arg_fail(1)) SWIG_fail;
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 result = (bool)(arg1)->IsToggled();
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 {
18682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18683 }
18684 return resultobj;
18685 fail:
18686 return NULL;
18687 }
18688
18689
18690 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18691 PyObject *resultobj;
18692 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18693 bool result;
18694 PyObject * obj0 = 0 ;
18695 char *kwnames[] = {
18696 (char *) "self", NULL
18697 };
18698
18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18701 if (SWIG_arg_fail(1)) SWIG_fail;
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 result = (bool)(arg1)->CanBeToggled();
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 {
18710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18711 }
18712 return resultobj;
18713 fail:
18714 return NULL;
18715 }
18716
18717
18718 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18719 PyObject *resultobj;
18720 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18721 wxBitmap *result;
18722 PyObject * obj0 = 0 ;
18723 char *kwnames[] = {
18724 (char *) "self", NULL
18725 };
18726
18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18729 if (SWIG_arg_fail(1)) SWIG_fail;
18730 {
18731 PyThreadState* __tstate = wxPyBeginAllowThreads();
18732 {
18733 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18734 result = (wxBitmap *) &_result_ref;
18735 }
18736
18737 wxPyEndAllowThreads(__tstate);
18738 if (PyErr_Occurred()) SWIG_fail;
18739 }
18740 {
18741 wxBitmap* resultptr = new wxBitmap(*result);
18742 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18743 }
18744 return resultobj;
18745 fail:
18746 return NULL;
18747 }
18748
18749
18750 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj;
18752 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18753 wxBitmap *result;
18754 PyObject * obj0 = 0 ;
18755 char *kwnames[] = {
18756 (char *) "self", NULL
18757 };
18758
18759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail;
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 {
18765 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18766 result = (wxBitmap *) &_result_ref;
18767 }
18768
18769 wxPyEndAllowThreads(__tstate);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 }
18772 {
18773 wxBitmap* resultptr = new wxBitmap(*result);
18774 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18775 }
18776 return resultobj;
18777 fail:
18778 return NULL;
18779 }
18780
18781
18782 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18783 PyObject *resultobj;
18784 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18785 wxBitmap result;
18786 PyObject * obj0 = 0 ;
18787 char *kwnames[] = {
18788 (char *) "self", NULL
18789 };
18790
18791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18793 if (SWIG_arg_fail(1)) SWIG_fail;
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 result = (arg1)->GetBitmap();
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 {
18802 wxBitmap * resultptr;
18803 resultptr = new wxBitmap((wxBitmap &)(result));
18804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18805 }
18806 return resultobj;
18807 fail:
18808 return NULL;
18809 }
18810
18811
18812 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18813 PyObject *resultobj;
18814 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18815 wxString result;
18816 PyObject * obj0 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self", NULL
18819 };
18820
18821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18823 if (SWIG_arg_fail(1)) SWIG_fail;
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 result = (arg1)->GetLabel();
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 {
18832 #if wxUSE_UNICODE
18833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18834 #else
18835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18836 #endif
18837 }
18838 return resultobj;
18839 fail:
18840 return NULL;
18841 }
18842
18843
18844 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18845 PyObject *resultobj;
18846 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18847 wxString result;
18848 PyObject * obj0 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "self", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18855 if (SWIG_arg_fail(1)) SWIG_fail;
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 result = (arg1)->GetShortHelp();
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 {
18864 #if wxUSE_UNICODE
18865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18866 #else
18867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18868 #endif
18869 }
18870 return resultobj;
18871 fail:
18872 return NULL;
18873 }
18874
18875
18876 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18879 wxString result;
18880 PyObject * obj0 = 0 ;
18881 char *kwnames[] = {
18882 (char *) "self", NULL
18883 };
18884
18885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18887 if (SWIG_arg_fail(1)) SWIG_fail;
18888 {
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 result = (arg1)->GetLongHelp();
18891
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 {
18896 #if wxUSE_UNICODE
18897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18898 #else
18899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18900 #endif
18901 }
18902 return resultobj;
18903 fail:
18904 return NULL;
18905 }
18906
18907
18908 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj;
18910 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18911 bool arg2 ;
18912 bool result;
18913 PyObject * obj0 = 0 ;
18914 PyObject * obj1 = 0 ;
18915 char *kwnames[] = {
18916 (char *) "self",(char *) "enable", NULL
18917 };
18918
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
18920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18921 if (SWIG_arg_fail(1)) SWIG_fail;
18922 {
18923 arg2 = (bool)(SWIG_As_bool(obj1));
18924 if (SWIG_arg_fail(2)) SWIG_fail;
18925 }
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 result = (bool)(arg1)->Enable(arg2);
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 {
18934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18935 }
18936 return resultobj;
18937 fail:
18938 return NULL;
18939 }
18940
18941
18942 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
18943 PyObject *resultobj;
18944 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18945 PyObject * obj0 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
18951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18952 if (SWIG_arg_fail(1)) SWIG_fail;
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 (arg1)->Toggle();
18956
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 Py_INCREF(Py_None); resultobj = Py_None;
18961 return resultobj;
18962 fail:
18963 return NULL;
18964 }
18965
18966
18967 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
18968 PyObject *resultobj;
18969 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18970 bool arg2 ;
18971 bool result;
18972 PyObject * obj0 = 0 ;
18973 PyObject * obj1 = 0 ;
18974 char *kwnames[] = {
18975 (char *) "self",(char *) "toggle", NULL
18976 };
18977
18978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
18979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18980 if (SWIG_arg_fail(1)) SWIG_fail;
18981 {
18982 arg2 = (bool)(SWIG_As_bool(obj1));
18983 if (SWIG_arg_fail(2)) SWIG_fail;
18984 }
18985 {
18986 PyThreadState* __tstate = wxPyBeginAllowThreads();
18987 result = (bool)(arg1)->SetToggle(arg2);
18988
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 {
18993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18994 }
18995 return resultobj;
18996 fail:
18997 return NULL;
18998 }
18999
19000
19001 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19002 PyObject *resultobj;
19003 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19004 wxString *arg2 = 0 ;
19005 bool result;
19006 bool temp2 = false ;
19007 PyObject * obj0 = 0 ;
19008 PyObject * obj1 = 0 ;
19009 char *kwnames[] = {
19010 (char *) "self",(char *) "help", NULL
19011 };
19012
19013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
19014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19015 if (SWIG_arg_fail(1)) SWIG_fail;
19016 {
19017 arg2 = wxString_in_helper(obj1);
19018 if (arg2 == NULL) SWIG_fail;
19019 temp2 = true;
19020 }
19021 {
19022 PyThreadState* __tstate = wxPyBeginAllowThreads();
19023 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19024
19025 wxPyEndAllowThreads(__tstate);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
19028 {
19029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19030 }
19031 {
19032 if (temp2)
19033 delete arg2;
19034 }
19035 return resultobj;
19036 fail:
19037 {
19038 if (temp2)
19039 delete arg2;
19040 }
19041 return NULL;
19042 }
19043
19044
19045 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19048 wxString *arg2 = 0 ;
19049 bool result;
19050 bool temp2 = false ;
19051 PyObject * obj0 = 0 ;
19052 PyObject * obj1 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self",(char *) "help", NULL
19055 };
19056
19057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
19058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19059 if (SWIG_arg_fail(1)) SWIG_fail;
19060 {
19061 arg2 = wxString_in_helper(obj1);
19062 if (arg2 == NULL) SWIG_fail;
19063 temp2 = true;
19064 }
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
19072 {
19073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19074 }
19075 {
19076 if (temp2)
19077 delete arg2;
19078 }
19079 return resultobj;
19080 fail:
19081 {
19082 if (temp2)
19083 delete arg2;
19084 }
19085 return NULL;
19086 }
19087
19088
19089 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19090 PyObject *resultobj;
19091 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19092 wxBitmap *arg2 = 0 ;
19093 PyObject * obj0 = 0 ;
19094 PyObject * obj1 = 0 ;
19095 char *kwnames[] = {
19096 (char *) "self",(char *) "bmp", NULL
19097 };
19098
19099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19104 if (SWIG_arg_fail(2)) SWIG_fail;
19105 if (arg2 == NULL) {
19106 SWIG_null_ref("wxBitmap");
19107 }
19108 if (SWIG_arg_fail(2)) SWIG_fail;
19109 }
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 Py_INCREF(Py_None); resultobj = Py_None;
19118 return resultobj;
19119 fail:
19120 return NULL;
19121 }
19122
19123
19124 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19125 PyObject *resultobj;
19126 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19127 wxBitmap *arg2 = 0 ;
19128 PyObject * obj0 = 0 ;
19129 PyObject * obj1 = 0 ;
19130 char *kwnames[] = {
19131 (char *) "self",(char *) "bmp", NULL
19132 };
19133
19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
19135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19136 if (SWIG_arg_fail(1)) SWIG_fail;
19137 {
19138 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19139 if (SWIG_arg_fail(2)) SWIG_fail;
19140 if (arg2 == NULL) {
19141 SWIG_null_ref("wxBitmap");
19142 }
19143 if (SWIG_arg_fail(2)) SWIG_fail;
19144 }
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19148
19149 wxPyEndAllowThreads(__tstate);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 Py_INCREF(Py_None); resultobj = Py_None;
19153 return resultobj;
19154 fail:
19155 return NULL;
19156 }
19157
19158
19159 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19160 PyObject *resultobj;
19161 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19162 wxString *arg2 = 0 ;
19163 bool temp2 = false ;
19164 PyObject * obj0 = 0 ;
19165 PyObject * obj1 = 0 ;
19166 char *kwnames[] = {
19167 (char *) "self",(char *) "label", NULL
19168 };
19169
19170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19172 if (SWIG_arg_fail(1)) SWIG_fail;
19173 {
19174 arg2 = wxString_in_helper(obj1);
19175 if (arg2 == NULL) SWIG_fail;
19176 temp2 = true;
19177 }
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 (arg1)->SetLabel((wxString const &)*arg2);
19181
19182 wxPyEndAllowThreads(__tstate);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 Py_INCREF(Py_None); resultobj = Py_None;
19186 {
19187 if (temp2)
19188 delete arg2;
19189 }
19190 return resultobj;
19191 fail:
19192 {
19193 if (temp2)
19194 delete arg2;
19195 }
19196 return NULL;
19197 }
19198
19199
19200 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19201 PyObject *resultobj;
19202 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19203 PyObject * obj0 = 0 ;
19204 char *kwnames[] = {
19205 (char *) "self", NULL
19206 };
19207
19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19210 if (SWIG_arg_fail(1)) SWIG_fail;
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 (arg1)->Detach();
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 Py_INCREF(Py_None); resultobj = Py_None;
19219 return resultobj;
19220 fail:
19221 return NULL;
19222 }
19223
19224
19225 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19226 PyObject *resultobj;
19227 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19228 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19229 PyObject * obj0 = 0 ;
19230 PyObject * obj1 = 0 ;
19231 char *kwnames[] = {
19232 (char *) "self",(char *) "tbar", NULL
19233 };
19234
19235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19237 if (SWIG_arg_fail(1)) SWIG_fail;
19238 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19239 if (SWIG_arg_fail(2)) SWIG_fail;
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 (arg1)->Attach(arg2);
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 Py_INCREF(Py_None); resultobj = Py_None;
19248 return resultobj;
19249 fail:
19250 return NULL;
19251 }
19252
19253
19254 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19257 PyObject *result;
19258 PyObject * obj0 = 0 ;
19259 char *kwnames[] = {
19260 (char *) "self", NULL
19261 };
19262
19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19265 if (SWIG_arg_fail(1)) SWIG_fail;
19266 {
19267 PyThreadState* __tstate = wxPyBeginAllowThreads();
19268 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19269
19270 wxPyEndAllowThreads(__tstate);
19271 if (PyErr_Occurred()) SWIG_fail;
19272 }
19273 resultobj = result;
19274 return resultobj;
19275 fail:
19276 return NULL;
19277 }
19278
19279
19280 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19281 PyObject *resultobj;
19282 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19283 PyObject *arg2 = (PyObject *) 0 ;
19284 PyObject * obj0 = 0 ;
19285 PyObject * obj1 = 0 ;
19286 char *kwnames[] = {
19287 (char *) "self",(char *) "clientData", NULL
19288 };
19289
19290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19292 if (SWIG_arg_fail(1)) SWIG_fail;
19293 arg2 = obj1;
19294 {
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 wxToolBarToolBase_SetClientData(arg1,arg2);
19297
19298 wxPyEndAllowThreads(__tstate);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 }
19301 Py_INCREF(Py_None); resultobj = Py_None;
19302 return resultobj;
19303 fail:
19304 return NULL;
19305 }
19306
19307
19308 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19309 PyObject *obj;
19310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19311 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19312 Py_INCREF(obj);
19313 return Py_BuildValue((char *)"");
19314 }
19315 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19318 int arg2 ;
19319 wxString *arg3 = 0 ;
19320 wxBitmap *arg4 = 0 ;
19321 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19322 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19323 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19324 wxString const &arg7_defvalue = wxPyEmptyString ;
19325 wxString *arg7 = (wxString *) &arg7_defvalue ;
19326 wxString const &arg8_defvalue = wxPyEmptyString ;
19327 wxString *arg8 = (wxString *) &arg8_defvalue ;
19328 PyObject *arg9 = (PyObject *) NULL ;
19329 wxToolBarToolBase *result;
19330 bool temp3 = false ;
19331 bool temp7 = false ;
19332 bool temp8 = false ;
19333 PyObject * obj0 = 0 ;
19334 PyObject * obj1 = 0 ;
19335 PyObject * obj2 = 0 ;
19336 PyObject * obj3 = 0 ;
19337 PyObject * obj4 = 0 ;
19338 PyObject * obj5 = 0 ;
19339 PyObject * obj6 = 0 ;
19340 PyObject * obj7 = 0 ;
19341 PyObject * obj8 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19348 if (SWIG_arg_fail(1)) SWIG_fail;
19349 {
19350 arg2 = (int)(SWIG_As_int(obj1));
19351 if (SWIG_arg_fail(2)) SWIG_fail;
19352 }
19353 {
19354 arg3 = wxString_in_helper(obj2);
19355 if (arg3 == NULL) SWIG_fail;
19356 temp3 = true;
19357 }
19358 {
19359 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19360 if (SWIG_arg_fail(4)) SWIG_fail;
19361 if (arg4 == NULL) {
19362 SWIG_null_ref("wxBitmap");
19363 }
19364 if (SWIG_arg_fail(4)) SWIG_fail;
19365 }
19366 if (obj4) {
19367 {
19368 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19369 if (SWIG_arg_fail(5)) SWIG_fail;
19370 if (arg5 == NULL) {
19371 SWIG_null_ref("wxBitmap");
19372 }
19373 if (SWIG_arg_fail(5)) SWIG_fail;
19374 }
19375 }
19376 if (obj5) {
19377 {
19378 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19379 if (SWIG_arg_fail(6)) SWIG_fail;
19380 }
19381 }
19382 if (obj6) {
19383 {
19384 arg7 = wxString_in_helper(obj6);
19385 if (arg7 == NULL) SWIG_fail;
19386 temp7 = true;
19387 }
19388 }
19389 if (obj7) {
19390 {
19391 arg8 = wxString_in_helper(obj7);
19392 if (arg8 == NULL) SWIG_fail;
19393 temp8 = true;
19394 }
19395 }
19396 if (obj8) {
19397 arg9 = obj8;
19398 }
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19402
19403 wxPyEndAllowThreads(__tstate);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 }
19406 {
19407 resultobj = wxPyMake_wxObject(result, 0);
19408 }
19409 {
19410 if (temp3)
19411 delete arg3;
19412 }
19413 {
19414 if (temp7)
19415 delete arg7;
19416 }
19417 {
19418 if (temp8)
19419 delete arg8;
19420 }
19421 return resultobj;
19422 fail:
19423 {
19424 if (temp3)
19425 delete arg3;
19426 }
19427 {
19428 if (temp7)
19429 delete arg7;
19430 }
19431 {
19432 if (temp8)
19433 delete arg8;
19434 }
19435 return NULL;
19436 }
19437
19438
19439 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19440 PyObject *resultobj;
19441 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19442 size_t arg2 ;
19443 int arg3 ;
19444 wxString *arg4 = 0 ;
19445 wxBitmap *arg5 = 0 ;
19446 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19447 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19448 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19449 wxString const &arg8_defvalue = wxPyEmptyString ;
19450 wxString *arg8 = (wxString *) &arg8_defvalue ;
19451 wxString const &arg9_defvalue = wxPyEmptyString ;
19452 wxString *arg9 = (wxString *) &arg9_defvalue ;
19453 PyObject *arg10 = (PyObject *) NULL ;
19454 wxToolBarToolBase *result;
19455 bool temp4 = false ;
19456 bool temp8 = false ;
19457 bool temp9 = false ;
19458 PyObject * obj0 = 0 ;
19459 PyObject * obj1 = 0 ;
19460 PyObject * obj2 = 0 ;
19461 PyObject * obj3 = 0 ;
19462 PyObject * obj4 = 0 ;
19463 PyObject * obj5 = 0 ;
19464 PyObject * obj6 = 0 ;
19465 PyObject * obj7 = 0 ;
19466 PyObject * obj8 = 0 ;
19467 PyObject * obj9 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19470 };
19471
19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19474 if (SWIG_arg_fail(1)) SWIG_fail;
19475 {
19476 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19477 if (SWIG_arg_fail(2)) SWIG_fail;
19478 }
19479 {
19480 arg3 = (int)(SWIG_As_int(obj2));
19481 if (SWIG_arg_fail(3)) SWIG_fail;
19482 }
19483 {
19484 arg4 = wxString_in_helper(obj3);
19485 if (arg4 == NULL) SWIG_fail;
19486 temp4 = true;
19487 }
19488 {
19489 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19490 if (SWIG_arg_fail(5)) SWIG_fail;
19491 if (arg5 == NULL) {
19492 SWIG_null_ref("wxBitmap");
19493 }
19494 if (SWIG_arg_fail(5)) SWIG_fail;
19495 }
19496 if (obj5) {
19497 {
19498 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19499 if (SWIG_arg_fail(6)) SWIG_fail;
19500 if (arg6 == NULL) {
19501 SWIG_null_ref("wxBitmap");
19502 }
19503 if (SWIG_arg_fail(6)) SWIG_fail;
19504 }
19505 }
19506 if (obj6) {
19507 {
19508 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19509 if (SWIG_arg_fail(7)) SWIG_fail;
19510 }
19511 }
19512 if (obj7) {
19513 {
19514 arg8 = wxString_in_helper(obj7);
19515 if (arg8 == NULL) SWIG_fail;
19516 temp8 = true;
19517 }
19518 }
19519 if (obj8) {
19520 {
19521 arg9 = wxString_in_helper(obj8);
19522 if (arg9 == NULL) SWIG_fail;
19523 temp9 = true;
19524 }
19525 }
19526 if (obj9) {
19527 arg10 = obj9;
19528 }
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 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);
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 {
19537 resultobj = wxPyMake_wxObject(result, 0);
19538 }
19539 {
19540 if (temp4)
19541 delete arg4;
19542 }
19543 {
19544 if (temp8)
19545 delete arg8;
19546 }
19547 {
19548 if (temp9)
19549 delete arg9;
19550 }
19551 return resultobj;
19552 fail:
19553 {
19554 if (temp4)
19555 delete arg4;
19556 }
19557 {
19558 if (temp8)
19559 delete arg8;
19560 }
19561 {
19562 if (temp9)
19563 delete arg9;
19564 }
19565 return NULL;
19566 }
19567
19568
19569 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19570 PyObject *resultobj;
19571 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19572 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19573 wxToolBarToolBase *result;
19574 PyObject * obj0 = 0 ;
19575 PyObject * obj1 = 0 ;
19576 char *kwnames[] = {
19577 (char *) "self",(char *) "tool", NULL
19578 };
19579
19580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19582 if (SWIG_arg_fail(1)) SWIG_fail;
19583 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19584 if (SWIG_arg_fail(2)) SWIG_fail;
19585 {
19586 PyThreadState* __tstate = wxPyBeginAllowThreads();
19587 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19588
19589 wxPyEndAllowThreads(__tstate);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 }
19592 {
19593 resultobj = wxPyMake_wxObject(result, 0);
19594 }
19595 return resultobj;
19596 fail:
19597 return NULL;
19598 }
19599
19600
19601 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19602 PyObject *resultobj;
19603 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19604 size_t arg2 ;
19605 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19606 wxToolBarToolBase *result;
19607 PyObject * obj0 = 0 ;
19608 PyObject * obj1 = 0 ;
19609 PyObject * obj2 = 0 ;
19610 char *kwnames[] = {
19611 (char *) "self",(char *) "pos",(char *) "tool", NULL
19612 };
19613
19614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19616 if (SWIG_arg_fail(1)) SWIG_fail;
19617 {
19618 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19619 if (SWIG_arg_fail(2)) SWIG_fail;
19620 }
19621 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19622 if (SWIG_arg_fail(3)) SWIG_fail;
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 {
19631 resultobj = wxPyMake_wxObject(result, 0);
19632 }
19633 return resultobj;
19634 fail:
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19642 wxControl *arg2 = (wxControl *) 0 ;
19643 wxToolBarToolBase *result;
19644 PyObject * obj0 = 0 ;
19645 PyObject * obj1 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self",(char *) "control", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19652 if (SWIG_arg_fail(1)) SWIG_fail;
19653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19654 if (SWIG_arg_fail(2)) SWIG_fail;
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19658
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 {
19663 resultobj = wxPyMake_wxObject(result, 0);
19664 }
19665 return resultobj;
19666 fail:
19667 return NULL;
19668 }
19669
19670
19671 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19672 PyObject *resultobj;
19673 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19674 size_t arg2 ;
19675 wxControl *arg3 = (wxControl *) 0 ;
19676 wxToolBarToolBase *result;
19677 PyObject * obj0 = 0 ;
19678 PyObject * obj1 = 0 ;
19679 PyObject * obj2 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self",(char *) "pos",(char *) "control", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19686 if (SWIG_arg_fail(1)) SWIG_fail;
19687 {
19688 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19689 if (SWIG_arg_fail(2)) SWIG_fail;
19690 }
19691 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19692 if (SWIG_arg_fail(3)) SWIG_fail;
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 {
19701 resultobj = wxPyMake_wxObject(result, 0);
19702 }
19703 return resultobj;
19704 fail:
19705 return NULL;
19706 }
19707
19708
19709 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19712 int arg2 ;
19713 wxControl *result;
19714 PyObject * obj0 = 0 ;
19715 PyObject * obj1 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "self",(char *) "id", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail;
19723 {
19724 arg2 = (int)(SWIG_As_int(obj1));
19725 if (SWIG_arg_fail(2)) SWIG_fail;
19726 }
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 result = (wxControl *)(arg1)->FindControl(arg2);
19730
19731 wxPyEndAllowThreads(__tstate);
19732 if (PyErr_Occurred()) SWIG_fail;
19733 }
19734 {
19735 resultobj = wxPyMake_wxObject(result, 0);
19736 }
19737 return resultobj;
19738 fail:
19739 return NULL;
19740 }
19741
19742
19743 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19744 PyObject *resultobj;
19745 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19746 wxToolBarToolBase *result;
19747 PyObject * obj0 = 0 ;
19748 char *kwnames[] = {
19749 (char *) "self", NULL
19750 };
19751
19752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19754 if (SWIG_arg_fail(1)) SWIG_fail;
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 {
19763 resultobj = wxPyMake_wxObject(result, 0);
19764 }
19765 return resultobj;
19766 fail:
19767 return NULL;
19768 }
19769
19770
19771 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19772 PyObject *resultobj;
19773 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19774 size_t arg2 ;
19775 wxToolBarToolBase *result;
19776 PyObject * obj0 = 0 ;
19777 PyObject * obj1 = 0 ;
19778 char *kwnames[] = {
19779 (char *) "self",(char *) "pos", NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19784 if (SWIG_arg_fail(1)) SWIG_fail;
19785 {
19786 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19787 if (SWIG_arg_fail(2)) SWIG_fail;
19788 }
19789 {
19790 PyThreadState* __tstate = wxPyBeginAllowThreads();
19791 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19792
19793 wxPyEndAllowThreads(__tstate);
19794 if (PyErr_Occurred()) SWIG_fail;
19795 }
19796 {
19797 resultobj = wxPyMake_wxObject(result, 0);
19798 }
19799 return resultobj;
19800 fail:
19801 return NULL;
19802 }
19803
19804
19805 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj;
19807 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19808 int arg2 ;
19809 wxToolBarToolBase *result;
19810 PyObject * obj0 = 0 ;
19811 PyObject * obj1 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self",(char *) "id", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19818 if (SWIG_arg_fail(1)) SWIG_fail;
19819 {
19820 arg2 = (int)(SWIG_As_int(obj1));
19821 if (SWIG_arg_fail(2)) SWIG_fail;
19822 }
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19826
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 {
19831 resultobj = wxPyMake_wxObject(result, 0);
19832 }
19833 return resultobj;
19834 fail:
19835 return NULL;
19836 }
19837
19838
19839 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19840 PyObject *resultobj;
19841 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19842 size_t arg2 ;
19843 bool result;
19844 PyObject * obj0 = 0 ;
19845 PyObject * obj1 = 0 ;
19846 char *kwnames[] = {
19847 (char *) "self",(char *) "pos", NULL
19848 };
19849
19850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19852 if (SWIG_arg_fail(1)) SWIG_fail;
19853 {
19854 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19855 if (SWIG_arg_fail(2)) SWIG_fail;
19856 }
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 result = (bool)(arg1)->DeleteToolByPos(arg2);
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 {
19865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19866 }
19867 return resultobj;
19868 fail:
19869 return NULL;
19870 }
19871
19872
19873 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19874 PyObject *resultobj;
19875 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19876 int arg2 ;
19877 bool result;
19878 PyObject * obj0 = 0 ;
19879 PyObject * obj1 = 0 ;
19880 char *kwnames[] = {
19881 (char *) "self",(char *) "id", NULL
19882 };
19883
19884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19886 if (SWIG_arg_fail(1)) SWIG_fail;
19887 {
19888 arg2 = (int)(SWIG_As_int(obj1));
19889 if (SWIG_arg_fail(2)) SWIG_fail;
19890 }
19891 {
19892 PyThreadState* __tstate = wxPyBeginAllowThreads();
19893 result = (bool)(arg1)->DeleteTool(arg2);
19894
19895 wxPyEndAllowThreads(__tstate);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 }
19898 {
19899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19900 }
19901 return resultobj;
19902 fail:
19903 return NULL;
19904 }
19905
19906
19907 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19908 PyObject *resultobj;
19909 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19910 PyObject * obj0 = 0 ;
19911 char *kwnames[] = {
19912 (char *) "self", NULL
19913 };
19914
19915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
19916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19917 if (SWIG_arg_fail(1)) SWIG_fail;
19918 {
19919 PyThreadState* __tstate = wxPyBeginAllowThreads();
19920 (arg1)->ClearTools();
19921
19922 wxPyEndAllowThreads(__tstate);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 Py_INCREF(Py_None); resultobj = Py_None;
19926 return resultobj;
19927 fail:
19928 return NULL;
19929 }
19930
19931
19932 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19933 PyObject *resultobj;
19934 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19935 bool result;
19936 PyObject * obj0 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
19942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19943 if (SWIG_arg_fail(1)) SWIG_fail;
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 result = (bool)(arg1)->Realize();
19947
19948 wxPyEndAllowThreads(__tstate);
19949 if (PyErr_Occurred()) SWIG_fail;
19950 }
19951 {
19952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19953 }
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19963 int arg2 ;
19964 bool arg3 ;
19965 PyObject * obj0 = 0 ;
19966 PyObject * obj1 = 0 ;
19967 PyObject * obj2 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self",(char *) "id",(char *) "enable", NULL
19970 };
19971
19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19974 if (SWIG_arg_fail(1)) SWIG_fail;
19975 {
19976 arg2 = (int)(SWIG_As_int(obj1));
19977 if (SWIG_arg_fail(2)) SWIG_fail;
19978 }
19979 {
19980 arg3 = (bool)(SWIG_As_bool(obj2));
19981 if (SWIG_arg_fail(3)) SWIG_fail;
19982 }
19983 {
19984 PyThreadState* __tstate = wxPyBeginAllowThreads();
19985 (arg1)->EnableTool(arg2,arg3);
19986
19987 wxPyEndAllowThreads(__tstate);
19988 if (PyErr_Occurred()) SWIG_fail;
19989 }
19990 Py_INCREF(Py_None); resultobj = Py_None;
19991 return resultobj;
19992 fail:
19993 return NULL;
19994 }
19995
19996
19997 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
19998 PyObject *resultobj;
19999 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20000 int arg2 ;
20001 bool arg3 ;
20002 PyObject * obj0 = 0 ;
20003 PyObject * obj1 = 0 ;
20004 PyObject * obj2 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self",(char *) "id",(char *) "toggle", NULL
20007 };
20008
20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20011 if (SWIG_arg_fail(1)) SWIG_fail;
20012 {
20013 arg2 = (int)(SWIG_As_int(obj1));
20014 if (SWIG_arg_fail(2)) SWIG_fail;
20015 }
20016 {
20017 arg3 = (bool)(SWIG_As_bool(obj2));
20018 if (SWIG_arg_fail(3)) SWIG_fail;
20019 }
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 (arg1)->ToggleTool(arg2,arg3);
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 Py_INCREF(Py_None); resultobj = Py_None;
20028 return resultobj;
20029 fail:
20030 return NULL;
20031 }
20032
20033
20034 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20037 int arg2 ;
20038 bool arg3 ;
20039 PyObject * obj0 = 0 ;
20040 PyObject * obj1 = 0 ;
20041 PyObject * obj2 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self",(char *) "id",(char *) "toggle", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20048 if (SWIG_arg_fail(1)) SWIG_fail;
20049 {
20050 arg2 = (int)(SWIG_As_int(obj1));
20051 if (SWIG_arg_fail(2)) SWIG_fail;
20052 }
20053 {
20054 arg3 = (bool)(SWIG_As_bool(obj2));
20055 if (SWIG_arg_fail(3)) SWIG_fail;
20056 }
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 (arg1)->SetToggle(arg2,arg3);
20060
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
20064 Py_INCREF(Py_None); resultobj = Py_None;
20065 return resultobj;
20066 fail:
20067 return NULL;
20068 }
20069
20070
20071 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20072 PyObject *resultobj;
20073 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20074 int arg2 ;
20075 PyObject *result;
20076 PyObject * obj0 = 0 ;
20077 PyObject * obj1 = 0 ;
20078 char *kwnames[] = {
20079 (char *) "self",(char *) "id", NULL
20080 };
20081
20082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
20083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20084 if (SWIG_arg_fail(1)) SWIG_fail;
20085 {
20086 arg2 = (int)(SWIG_As_int(obj1));
20087 if (SWIG_arg_fail(2)) SWIG_fail;
20088 }
20089 {
20090 PyThreadState* __tstate = wxPyBeginAllowThreads();
20091 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20092
20093 wxPyEndAllowThreads(__tstate);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 }
20096 resultobj = result;
20097 return resultobj;
20098 fail:
20099 return NULL;
20100 }
20101
20102
20103 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20104 PyObject *resultobj;
20105 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20106 int arg2 ;
20107 PyObject *arg3 = (PyObject *) 0 ;
20108 PyObject * obj0 = 0 ;
20109 PyObject * obj1 = 0 ;
20110 PyObject * obj2 = 0 ;
20111 char *kwnames[] = {
20112 (char *) "self",(char *) "id",(char *) "clientData", NULL
20113 };
20114
20115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20117 if (SWIG_arg_fail(1)) SWIG_fail;
20118 {
20119 arg2 = (int)(SWIG_As_int(obj1));
20120 if (SWIG_arg_fail(2)) SWIG_fail;
20121 }
20122 arg3 = obj2;
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20126
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
20130 Py_INCREF(Py_None); resultobj = Py_None;
20131 return resultobj;
20132 fail:
20133 return NULL;
20134 }
20135
20136
20137 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
20138 PyObject *resultobj;
20139 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20140 int arg2 ;
20141 int result;
20142 PyObject * obj0 = 0 ;
20143 PyObject * obj1 = 0 ;
20144 char *kwnames[] = {
20145 (char *) "self",(char *) "id", NULL
20146 };
20147
20148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
20149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20150 if (SWIG_arg_fail(1)) SWIG_fail;
20151 {
20152 arg2 = (int)(SWIG_As_int(obj1));
20153 if (SWIG_arg_fail(2)) SWIG_fail;
20154 }
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20158
20159 wxPyEndAllowThreads(__tstate);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 }
20162 {
20163 resultobj = SWIG_From_int((int)(result));
20164 }
20165 return resultobj;
20166 fail:
20167 return NULL;
20168 }
20169
20170
20171 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
20172 PyObject *resultobj;
20173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20174 int arg2 ;
20175 bool result;
20176 PyObject * obj0 = 0 ;
20177 PyObject * obj1 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self",(char *) "id", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20184 if (SWIG_arg_fail(1)) SWIG_fail;
20185 {
20186 arg2 = (int)(SWIG_As_int(obj1));
20187 if (SWIG_arg_fail(2)) SWIG_fail;
20188 }
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 result = (bool)(arg1)->GetToolState(arg2);
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 {
20197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20198 }
20199 return resultobj;
20200 fail:
20201 return NULL;
20202 }
20203
20204
20205 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20208 int arg2 ;
20209 bool result;
20210 PyObject * obj0 = 0 ;
20211 PyObject * obj1 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self",(char *) "id", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail;
20219 {
20220 arg2 = (int)(SWIG_As_int(obj1));
20221 if (SWIG_arg_fail(2)) SWIG_fail;
20222 }
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 result = (bool)(arg1)->GetToolEnabled(arg2);
20226
20227 wxPyEndAllowThreads(__tstate);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 }
20230 {
20231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20232 }
20233 return resultobj;
20234 fail:
20235 return NULL;
20236 }
20237
20238
20239 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20240 PyObject *resultobj;
20241 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20242 int arg2 ;
20243 wxString *arg3 = 0 ;
20244 bool temp3 = false ;
20245 PyObject * obj0 = 0 ;
20246 PyObject * obj1 = 0 ;
20247 PyObject * obj2 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "self",(char *) "id",(char *) "helpString", NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail;
20255 {
20256 arg2 = (int)(SWIG_As_int(obj1));
20257 if (SWIG_arg_fail(2)) SWIG_fail;
20258 }
20259 {
20260 arg3 = wxString_in_helper(obj2);
20261 if (arg3 == NULL) SWIG_fail;
20262 temp3 = true;
20263 }
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 Py_INCREF(Py_None); resultobj = Py_None;
20272 {
20273 if (temp3)
20274 delete arg3;
20275 }
20276 return resultobj;
20277 fail:
20278 {
20279 if (temp3)
20280 delete arg3;
20281 }
20282 return NULL;
20283 }
20284
20285
20286 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj;
20288 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20289 int arg2 ;
20290 wxString result;
20291 PyObject * obj0 = 0 ;
20292 PyObject * obj1 = 0 ;
20293 char *kwnames[] = {
20294 (char *) "self",(char *) "id", NULL
20295 };
20296
20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20299 if (SWIG_arg_fail(1)) SWIG_fail;
20300 {
20301 arg2 = (int)(SWIG_As_int(obj1));
20302 if (SWIG_arg_fail(2)) SWIG_fail;
20303 }
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 result = (arg1)->GetToolShortHelp(arg2);
20307
20308 wxPyEndAllowThreads(__tstate);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
20311 {
20312 #if wxUSE_UNICODE
20313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20314 #else
20315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20316 #endif
20317 }
20318 return resultobj;
20319 fail:
20320 return NULL;
20321 }
20322
20323
20324 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20327 int arg2 ;
20328 wxString *arg3 = 0 ;
20329 bool temp3 = false ;
20330 PyObject * obj0 = 0 ;
20331 PyObject * obj1 = 0 ;
20332 PyObject * obj2 = 0 ;
20333 char *kwnames[] = {
20334 (char *) "self",(char *) "id",(char *) "helpString", NULL
20335 };
20336
20337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20339 if (SWIG_arg_fail(1)) SWIG_fail;
20340 {
20341 arg2 = (int)(SWIG_As_int(obj1));
20342 if (SWIG_arg_fail(2)) SWIG_fail;
20343 }
20344 {
20345 arg3 = wxString_in_helper(obj2);
20346 if (arg3 == NULL) SWIG_fail;
20347 temp3 = true;
20348 }
20349 {
20350 PyThreadState* __tstate = wxPyBeginAllowThreads();
20351 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20352
20353 wxPyEndAllowThreads(__tstate);
20354 if (PyErr_Occurred()) SWIG_fail;
20355 }
20356 Py_INCREF(Py_None); resultobj = Py_None;
20357 {
20358 if (temp3)
20359 delete arg3;
20360 }
20361 return resultobj;
20362 fail:
20363 {
20364 if (temp3)
20365 delete arg3;
20366 }
20367 return NULL;
20368 }
20369
20370
20371 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20372 PyObject *resultobj;
20373 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20374 int arg2 ;
20375 wxString result;
20376 PyObject * obj0 = 0 ;
20377 PyObject * obj1 = 0 ;
20378 char *kwnames[] = {
20379 (char *) "self",(char *) "id", NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
20383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20384 if (SWIG_arg_fail(1)) SWIG_fail;
20385 {
20386 arg2 = (int)(SWIG_As_int(obj1));
20387 if (SWIG_arg_fail(2)) SWIG_fail;
20388 }
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 result = (arg1)->GetToolLongHelp(arg2);
20392
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 {
20397 #if wxUSE_UNICODE
20398 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20399 #else
20400 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20401 #endif
20402 }
20403 return resultobj;
20404 fail:
20405 return NULL;
20406 }
20407
20408
20409 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20410 PyObject *resultobj;
20411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20412 int arg2 ;
20413 int arg3 ;
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 PyObject * obj2 = 0 ;
20417 char *kwnames[] = {
20418 (char *) "self",(char *) "x",(char *) "y", NULL
20419 };
20420
20421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20423 if (SWIG_arg_fail(1)) SWIG_fail;
20424 {
20425 arg2 = (int)(SWIG_As_int(obj1));
20426 if (SWIG_arg_fail(2)) SWIG_fail;
20427 }
20428 {
20429 arg3 = (int)(SWIG_As_int(obj2));
20430 if (SWIG_arg_fail(3)) SWIG_fail;
20431 }
20432 {
20433 PyThreadState* __tstate = wxPyBeginAllowThreads();
20434 (arg1)->SetMargins(arg2,arg3);
20435
20436 wxPyEndAllowThreads(__tstate);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
20439 Py_INCREF(Py_None); resultobj = Py_None;
20440 return resultobj;
20441 fail:
20442 return NULL;
20443 }
20444
20445
20446 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20447 PyObject *resultobj;
20448 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20449 wxSize *arg2 = 0 ;
20450 wxSize temp2 ;
20451 PyObject * obj0 = 0 ;
20452 PyObject * obj1 = 0 ;
20453 char *kwnames[] = {
20454 (char *) "self",(char *) "size", NULL
20455 };
20456
20457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20459 if (SWIG_arg_fail(1)) SWIG_fail;
20460 {
20461 arg2 = &temp2;
20462 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20463 }
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 (arg1)->SetMargins((wxSize const &)*arg2);
20467
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
20471 Py_INCREF(Py_None); resultobj = Py_None;
20472 return resultobj;
20473 fail:
20474 return NULL;
20475 }
20476
20477
20478 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20479 PyObject *resultobj;
20480 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20481 int arg2 ;
20482 PyObject * obj0 = 0 ;
20483 PyObject * obj1 = 0 ;
20484 char *kwnames[] = {
20485 (char *) "self",(char *) "packing", NULL
20486 };
20487
20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20490 if (SWIG_arg_fail(1)) SWIG_fail;
20491 {
20492 arg2 = (int)(SWIG_As_int(obj1));
20493 if (SWIG_arg_fail(2)) SWIG_fail;
20494 }
20495 {
20496 PyThreadState* __tstate = wxPyBeginAllowThreads();
20497 (arg1)->SetToolPacking(arg2);
20498
20499 wxPyEndAllowThreads(__tstate);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 Py_INCREF(Py_None); resultobj = Py_None;
20503 return resultobj;
20504 fail:
20505 return NULL;
20506 }
20507
20508
20509 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20510 PyObject *resultobj;
20511 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20512 int arg2 ;
20513 PyObject * obj0 = 0 ;
20514 PyObject * obj1 = 0 ;
20515 char *kwnames[] = {
20516 (char *) "self",(char *) "separation", NULL
20517 };
20518
20519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20521 if (SWIG_arg_fail(1)) SWIG_fail;
20522 {
20523 arg2 = (int)(SWIG_As_int(obj1));
20524 if (SWIG_arg_fail(2)) SWIG_fail;
20525 }
20526 {
20527 PyThreadState* __tstate = wxPyBeginAllowThreads();
20528 (arg1)->SetToolSeparation(arg2);
20529
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 Py_INCREF(Py_None); resultobj = Py_None;
20534 return resultobj;
20535 fail:
20536 return NULL;
20537 }
20538
20539
20540 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20541 PyObject *resultobj;
20542 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20543 wxSize result;
20544 PyObject * obj0 = 0 ;
20545 char *kwnames[] = {
20546 (char *) "self", NULL
20547 };
20548
20549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20551 if (SWIG_arg_fail(1)) SWIG_fail;
20552 {
20553 PyThreadState* __tstate = wxPyBeginAllowThreads();
20554 result = (arg1)->GetToolMargins();
20555
20556 wxPyEndAllowThreads(__tstate);
20557 if (PyErr_Occurred()) SWIG_fail;
20558 }
20559 {
20560 wxSize * resultptr;
20561 resultptr = new wxSize((wxSize &)(result));
20562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20563 }
20564 return resultobj;
20565 fail:
20566 return NULL;
20567 }
20568
20569
20570 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20571 PyObject *resultobj;
20572 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20573 wxSize result;
20574 PyObject * obj0 = 0 ;
20575 char *kwnames[] = {
20576 (char *) "self", NULL
20577 };
20578
20579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20581 if (SWIG_arg_fail(1)) SWIG_fail;
20582 {
20583 PyThreadState* __tstate = wxPyBeginAllowThreads();
20584 result = (arg1)->GetMargins();
20585
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 {
20590 wxSize * resultptr;
20591 resultptr = new wxSize((wxSize &)(result));
20592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20593 }
20594 return resultobj;
20595 fail:
20596 return NULL;
20597 }
20598
20599
20600 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20601 PyObject *resultobj;
20602 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20603 int result;
20604 PyObject * obj0 = 0 ;
20605 char *kwnames[] = {
20606 (char *) "self", NULL
20607 };
20608
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20611 if (SWIG_arg_fail(1)) SWIG_fail;
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 result = (int)(arg1)->GetToolPacking();
20615
20616 wxPyEndAllowThreads(__tstate);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
20619 {
20620 resultobj = SWIG_From_int((int)(result));
20621 }
20622 return resultobj;
20623 fail:
20624 return NULL;
20625 }
20626
20627
20628 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20629 PyObject *resultobj;
20630 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20631 int result;
20632 PyObject * obj0 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20639 if (SWIG_arg_fail(1)) SWIG_fail;
20640 {
20641 PyThreadState* __tstate = wxPyBeginAllowThreads();
20642 result = (int)(arg1)->GetToolSeparation();
20643
20644 wxPyEndAllowThreads(__tstate);
20645 if (PyErr_Occurred()) SWIG_fail;
20646 }
20647 {
20648 resultobj = SWIG_From_int((int)(result));
20649 }
20650 return resultobj;
20651 fail:
20652 return NULL;
20653 }
20654
20655
20656 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20657 PyObject *resultobj;
20658 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20659 int arg2 ;
20660 PyObject * obj0 = 0 ;
20661 PyObject * obj1 = 0 ;
20662 char *kwnames[] = {
20663 (char *) "self",(char *) "nRows", NULL
20664 };
20665
20666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20668 if (SWIG_arg_fail(1)) SWIG_fail;
20669 {
20670 arg2 = (int)(SWIG_As_int(obj1));
20671 if (SWIG_arg_fail(2)) SWIG_fail;
20672 }
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 (arg1)->SetRows(arg2);
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 Py_INCREF(Py_None); resultobj = Py_None;
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20688 PyObject *resultobj;
20689 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20690 int arg2 ;
20691 int arg3 ;
20692 PyObject * obj0 = 0 ;
20693 PyObject * obj1 = 0 ;
20694 PyObject * obj2 = 0 ;
20695 char *kwnames[] = {
20696 (char *) "self",(char *) "rows",(char *) "cols", NULL
20697 };
20698
20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20701 if (SWIG_arg_fail(1)) SWIG_fail;
20702 {
20703 arg2 = (int)(SWIG_As_int(obj1));
20704 if (SWIG_arg_fail(2)) SWIG_fail;
20705 }
20706 {
20707 arg3 = (int)(SWIG_As_int(obj2));
20708 if (SWIG_arg_fail(3)) SWIG_fail;
20709 }
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 (arg1)->SetMaxRowsCols(arg2,arg3);
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 Py_INCREF(Py_None); resultobj = Py_None;
20718 return resultobj;
20719 fail:
20720 return NULL;
20721 }
20722
20723
20724 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20725 PyObject *resultobj;
20726 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20727 int result;
20728 PyObject * obj0 = 0 ;
20729 char *kwnames[] = {
20730 (char *) "self", NULL
20731 };
20732
20733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20735 if (SWIG_arg_fail(1)) SWIG_fail;
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 result = (int)(arg1)->GetMaxRows();
20739
20740 wxPyEndAllowThreads(__tstate);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 }
20743 {
20744 resultobj = SWIG_From_int((int)(result));
20745 }
20746 return resultobj;
20747 fail:
20748 return NULL;
20749 }
20750
20751
20752 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20753 PyObject *resultobj;
20754 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20755 int result;
20756 PyObject * obj0 = 0 ;
20757 char *kwnames[] = {
20758 (char *) "self", NULL
20759 };
20760
20761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20763 if (SWIG_arg_fail(1)) SWIG_fail;
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = (int)(arg1)->GetMaxCols();
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 {
20772 resultobj = SWIG_From_int((int)(result));
20773 }
20774 return resultobj;
20775 fail:
20776 return NULL;
20777 }
20778
20779
20780 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20781 PyObject *resultobj;
20782 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20783 wxSize *arg2 = 0 ;
20784 wxSize temp2 ;
20785 PyObject * obj0 = 0 ;
20786 PyObject * obj1 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "self",(char *) "size", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20793 if (SWIG_arg_fail(1)) SWIG_fail;
20794 {
20795 arg2 = &temp2;
20796 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20797 }
20798 {
20799 PyThreadState* __tstate = wxPyBeginAllowThreads();
20800 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20801
20802 wxPyEndAllowThreads(__tstate);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
20805 Py_INCREF(Py_None); resultobj = Py_None;
20806 return resultobj;
20807 fail:
20808 return NULL;
20809 }
20810
20811
20812 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20813 PyObject *resultobj;
20814 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20815 wxSize result;
20816 PyObject * obj0 = 0 ;
20817 char *kwnames[] = {
20818 (char *) "self", NULL
20819 };
20820
20821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20823 if (SWIG_arg_fail(1)) SWIG_fail;
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (arg1)->GetToolBitmapSize();
20827
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
20831 {
20832 wxSize * resultptr;
20833 resultptr = new wxSize((wxSize &)(result));
20834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20835 }
20836 return resultobj;
20837 fail:
20838 return NULL;
20839 }
20840
20841
20842 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20843 PyObject *resultobj;
20844 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20845 wxSize result;
20846 PyObject * obj0 = 0 ;
20847 char *kwnames[] = {
20848 (char *) "self", NULL
20849 };
20850
20851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20853 if (SWIG_arg_fail(1)) SWIG_fail;
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 result = (arg1)->GetToolSize();
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 {
20862 wxSize * resultptr;
20863 resultptr = new wxSize((wxSize &)(result));
20864 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20865 }
20866 return resultobj;
20867 fail:
20868 return NULL;
20869 }
20870
20871
20872 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20873 PyObject *resultobj;
20874 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20875 int arg2 ;
20876 int arg3 ;
20877 wxToolBarToolBase *result;
20878 PyObject * obj0 = 0 ;
20879 PyObject * obj1 = 0 ;
20880 PyObject * obj2 = 0 ;
20881 char *kwnames[] = {
20882 (char *) "self",(char *) "x",(char *) "y", NULL
20883 };
20884
20885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20887 if (SWIG_arg_fail(1)) SWIG_fail;
20888 {
20889 arg2 = (int)(SWIG_As_int(obj1));
20890 if (SWIG_arg_fail(2)) SWIG_fail;
20891 }
20892 {
20893 arg3 = (int)(SWIG_As_int(obj2));
20894 if (SWIG_arg_fail(3)) SWIG_fail;
20895 }
20896 {
20897 PyThreadState* __tstate = wxPyBeginAllowThreads();
20898 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20899
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 {
20904 resultobj = wxPyMake_wxObject(result, 0);
20905 }
20906 return resultobj;
20907 fail:
20908 return NULL;
20909 }
20910
20911
20912 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20913 PyObject *resultobj;
20914 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20915 int arg2 ;
20916 wxToolBarToolBase *result;
20917 PyObject * obj0 = 0 ;
20918 PyObject * obj1 = 0 ;
20919 char *kwnames[] = {
20920 (char *) "self",(char *) "toolid", NULL
20921 };
20922
20923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
20924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20925 if (SWIG_arg_fail(1)) SWIG_fail;
20926 {
20927 arg2 = (int)(SWIG_As_int(obj1));
20928 if (SWIG_arg_fail(2)) SWIG_fail;
20929 }
20930 {
20931 PyThreadState* __tstate = wxPyBeginAllowThreads();
20932 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20933
20934 wxPyEndAllowThreads(__tstate);
20935 if (PyErr_Occurred()) SWIG_fail;
20936 }
20937 {
20938 resultobj = wxPyMake_wxObject(result, 0);
20939 }
20940 return resultobj;
20941 fail:
20942 return NULL;
20943 }
20944
20945
20946 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
20947 PyObject *resultobj;
20948 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20949 bool result;
20950 PyObject * obj0 = 0 ;
20951 char *kwnames[] = {
20952 (char *) "self", NULL
20953 };
20954
20955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
20956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20957 if (SWIG_arg_fail(1)) SWIG_fail;
20958 {
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 result = (bool)(arg1)->IsVertical();
20961
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
20965 {
20966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20967 }
20968 return resultobj;
20969 fail:
20970 return NULL;
20971 }
20972
20973
20974 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
20975 PyObject *obj;
20976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20977 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20978 Py_INCREF(obj);
20979 return Py_BuildValue((char *)"");
20980 }
20981 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
20982 PyObject *resultobj;
20983 wxWindow *arg1 = (wxWindow *) 0 ;
20984 int arg2 = (int) -1 ;
20985 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20986 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20987 wxSize const &arg4_defvalue = wxDefaultSize ;
20988 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20989 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20990 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
20991 wxString *arg6 = (wxString *) &arg6_defvalue ;
20992 wxToolBar *result;
20993 wxPoint temp3 ;
20994 wxSize temp4 ;
20995 bool temp6 = false ;
20996 PyObject * obj0 = 0 ;
20997 PyObject * obj1 = 0 ;
20998 PyObject * obj2 = 0 ;
20999 PyObject * obj3 = 0 ;
21000 PyObject * obj4 = 0 ;
21001 PyObject * obj5 = 0 ;
21002 char *kwnames[] = {
21003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21004 };
21005
21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21008 if (SWIG_arg_fail(1)) SWIG_fail;
21009 if (obj1) {
21010 {
21011 arg2 = (int)(SWIG_As_int(obj1));
21012 if (SWIG_arg_fail(2)) SWIG_fail;
21013 }
21014 }
21015 if (obj2) {
21016 {
21017 arg3 = &temp3;
21018 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21019 }
21020 }
21021 if (obj3) {
21022 {
21023 arg4 = &temp4;
21024 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21025 }
21026 }
21027 if (obj4) {
21028 {
21029 arg5 = (long)(SWIG_As_long(obj4));
21030 if (SWIG_arg_fail(5)) SWIG_fail;
21031 }
21032 }
21033 if (obj5) {
21034 {
21035 arg6 = wxString_in_helper(obj5);
21036 if (arg6 == NULL) SWIG_fail;
21037 temp6 = true;
21038 }
21039 }
21040 {
21041 if (!wxPyCheckForApp()) SWIG_fail;
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21044
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21049 {
21050 if (temp6)
21051 delete arg6;
21052 }
21053 return resultobj;
21054 fail:
21055 {
21056 if (temp6)
21057 delete arg6;
21058 }
21059 return NULL;
21060 }
21061
21062
21063 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21064 PyObject *resultobj;
21065 wxToolBar *result;
21066 char *kwnames[] = {
21067 NULL
21068 };
21069
21070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21071 {
21072 if (!wxPyCheckForApp()) SWIG_fail;
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 result = (wxToolBar *)new wxToolBar();
21075
21076 wxPyEndAllowThreads(__tstate);
21077 if (PyErr_Occurred()) SWIG_fail;
21078 }
21079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21080 return resultobj;
21081 fail:
21082 return NULL;
21083 }
21084
21085
21086 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21087 PyObject *resultobj;
21088 wxToolBar *arg1 = (wxToolBar *) 0 ;
21089 wxWindow *arg2 = (wxWindow *) 0 ;
21090 int arg3 = (int) -1 ;
21091 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21092 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21093 wxSize const &arg5_defvalue = wxDefaultSize ;
21094 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21095 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21096 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21097 wxString *arg7 = (wxString *) &arg7_defvalue ;
21098 bool result;
21099 wxPoint temp4 ;
21100 wxSize temp5 ;
21101 bool temp7 = false ;
21102 PyObject * obj0 = 0 ;
21103 PyObject * obj1 = 0 ;
21104 PyObject * obj2 = 0 ;
21105 PyObject * obj3 = 0 ;
21106 PyObject * obj4 = 0 ;
21107 PyObject * obj5 = 0 ;
21108 PyObject * obj6 = 0 ;
21109 char *kwnames[] = {
21110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21111 };
21112
21113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21115 if (SWIG_arg_fail(1)) SWIG_fail;
21116 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21117 if (SWIG_arg_fail(2)) SWIG_fail;
21118 if (obj2) {
21119 {
21120 arg3 = (int)(SWIG_As_int(obj2));
21121 if (SWIG_arg_fail(3)) SWIG_fail;
21122 }
21123 }
21124 if (obj3) {
21125 {
21126 arg4 = &temp4;
21127 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21128 }
21129 }
21130 if (obj4) {
21131 {
21132 arg5 = &temp5;
21133 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21134 }
21135 }
21136 if (obj5) {
21137 {
21138 arg6 = (long)(SWIG_As_long(obj5));
21139 if (SWIG_arg_fail(6)) SWIG_fail;
21140 }
21141 }
21142 if (obj6) {
21143 {
21144 arg7 = wxString_in_helper(obj6);
21145 if (arg7 == NULL) SWIG_fail;
21146 temp7 = true;
21147 }
21148 }
21149 {
21150 PyThreadState* __tstate = wxPyBeginAllowThreads();
21151 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21152
21153 wxPyEndAllowThreads(__tstate);
21154 if (PyErr_Occurred()) SWIG_fail;
21155 }
21156 {
21157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21158 }
21159 {
21160 if (temp7)
21161 delete arg7;
21162 }
21163 return resultobj;
21164 fail:
21165 {
21166 if (temp7)
21167 delete arg7;
21168 }
21169 return NULL;
21170 }
21171
21172
21173 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21174 PyObject *resultobj;
21175 wxToolBar *arg1 = (wxToolBar *) 0 ;
21176 int arg2 ;
21177 int arg3 ;
21178 wxToolBarToolBase *result;
21179 PyObject * obj0 = 0 ;
21180 PyObject * obj1 = 0 ;
21181 PyObject * obj2 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self",(char *) "x",(char *) "y", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21188 if (SWIG_arg_fail(1)) SWIG_fail;
21189 {
21190 arg2 = (int)(SWIG_As_int(obj1));
21191 if (SWIG_arg_fail(2)) SWIG_fail;
21192 }
21193 {
21194 arg3 = (int)(SWIG_As_int(obj2));
21195 if (SWIG_arg_fail(3)) SWIG_fail;
21196 }
21197 {
21198 PyThreadState* __tstate = wxPyBeginAllowThreads();
21199 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21200
21201 wxPyEndAllowThreads(__tstate);
21202 if (PyErr_Occurred()) SWIG_fail;
21203 }
21204 {
21205 resultobj = wxPyMake_wxObject(result, 0);
21206 }
21207 return resultobj;
21208 fail:
21209 return NULL;
21210 }
21211
21212
21213 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21214 PyObject *resultobj;
21215 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21216 wxVisualAttributes result;
21217 PyObject * obj0 = 0 ;
21218 char *kwnames[] = {
21219 (char *) "variant", NULL
21220 };
21221
21222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21223 if (obj0) {
21224 {
21225 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21226 if (SWIG_arg_fail(1)) SWIG_fail;
21227 }
21228 }
21229 {
21230 if (!wxPyCheckForApp()) SWIG_fail;
21231 PyThreadState* __tstate = wxPyBeginAllowThreads();
21232 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21233
21234 wxPyEndAllowThreads(__tstate);
21235 if (PyErr_Occurred()) SWIG_fail;
21236 }
21237 {
21238 wxVisualAttributes * resultptr;
21239 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
21240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21241 }
21242 return resultobj;
21243 fail:
21244 return NULL;
21245 }
21246
21247
21248 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21249 PyObject *obj;
21250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21251 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21252 Py_INCREF(obj);
21253 return Py_BuildValue((char *)"");
21254 }
21255 static int _wrap_ListCtrlNameStr_set(PyObject *) {
21256 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21257 return 1;
21258 }
21259
21260
21261 static PyObject *_wrap_ListCtrlNameStr_get(void) {
21262 PyObject *pyobj;
21263
21264 {
21265 #if wxUSE_UNICODE
21266 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21267 #else
21268 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21269 #endif
21270 }
21271 return pyobj;
21272 }
21273
21274
21275 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21276 PyObject *resultobj;
21277 wxColour const &arg1_defvalue = wxNullColour ;
21278 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21279 wxColour const &arg2_defvalue = wxNullColour ;
21280 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21281 wxFont const &arg3_defvalue = wxNullFont ;
21282 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21283 wxListItemAttr *result;
21284 wxColour temp1 ;
21285 wxColour temp2 ;
21286 PyObject * obj0 = 0 ;
21287 PyObject * obj1 = 0 ;
21288 PyObject * obj2 = 0 ;
21289 char *kwnames[] = {
21290 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21291 };
21292
21293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21294 if (obj0) {
21295 {
21296 arg1 = &temp1;
21297 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21298 }
21299 }
21300 if (obj1) {
21301 {
21302 arg2 = &temp2;
21303 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21304 }
21305 }
21306 if (obj2) {
21307 {
21308 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21309 if (SWIG_arg_fail(3)) SWIG_fail;
21310 if (arg3 == NULL) {
21311 SWIG_null_ref("wxFont");
21312 }
21313 if (SWIG_arg_fail(3)) SWIG_fail;
21314 }
21315 }
21316 {
21317 PyThreadState* __tstate = wxPyBeginAllowThreads();
21318 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21319
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21324 return resultobj;
21325 fail:
21326 return NULL;
21327 }
21328
21329
21330 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21331 PyObject *resultobj;
21332 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21333 wxColour *arg2 = 0 ;
21334 wxColour temp2 ;
21335 PyObject * obj0 = 0 ;
21336 PyObject * obj1 = 0 ;
21337 char *kwnames[] = {
21338 (char *) "self",(char *) "colText", NULL
21339 };
21340
21341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21343 if (SWIG_arg_fail(1)) SWIG_fail;
21344 {
21345 arg2 = &temp2;
21346 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21347 }
21348 {
21349 PyThreadState* __tstate = wxPyBeginAllowThreads();
21350 (arg1)->SetTextColour((wxColour const &)*arg2);
21351
21352 wxPyEndAllowThreads(__tstate);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
21355 Py_INCREF(Py_None); resultobj = Py_None;
21356 return resultobj;
21357 fail:
21358 return NULL;
21359 }
21360
21361
21362 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21363 PyObject *resultobj;
21364 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21365 wxColour *arg2 = 0 ;
21366 wxColour temp2 ;
21367 PyObject * obj0 = 0 ;
21368 PyObject * obj1 = 0 ;
21369 char *kwnames[] = {
21370 (char *) "self",(char *) "colBack", NULL
21371 };
21372
21373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21375 if (SWIG_arg_fail(1)) SWIG_fail;
21376 {
21377 arg2 = &temp2;
21378 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21379 }
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 Py_INCREF(Py_None); resultobj = Py_None;
21388 return resultobj;
21389 fail:
21390 return NULL;
21391 }
21392
21393
21394 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21395 PyObject *resultobj;
21396 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21397 wxFont *arg2 = 0 ;
21398 PyObject * obj0 = 0 ;
21399 PyObject * obj1 = 0 ;
21400 char *kwnames[] = {
21401 (char *) "self",(char *) "font", NULL
21402 };
21403
21404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail;
21407 {
21408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21409 if (SWIG_arg_fail(2)) SWIG_fail;
21410 if (arg2 == NULL) {
21411 SWIG_null_ref("wxFont");
21412 }
21413 if (SWIG_arg_fail(2)) SWIG_fail;
21414 }
21415 {
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 (arg1)->SetFont((wxFont const &)*arg2);
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 Py_INCREF(Py_None); resultobj = Py_None;
21423 return resultobj;
21424 fail:
21425 return NULL;
21426 }
21427
21428
21429 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21430 PyObject *resultobj;
21431 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21432 bool result;
21433 PyObject * obj0 = 0 ;
21434 char *kwnames[] = {
21435 (char *) "self", NULL
21436 };
21437
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
21439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21440 if (SWIG_arg_fail(1)) SWIG_fail;
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 result = (bool)(arg1)->HasTextColour();
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 {
21449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21450 }
21451 return resultobj;
21452 fail:
21453 return NULL;
21454 }
21455
21456
21457 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21458 PyObject *resultobj;
21459 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21460 bool result;
21461 PyObject * obj0 = 0 ;
21462 char *kwnames[] = {
21463 (char *) "self", NULL
21464 };
21465
21466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21468 if (SWIG_arg_fail(1)) SWIG_fail;
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 result = (bool)(arg1)->HasBackgroundColour();
21472
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
21476 {
21477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21478 }
21479 return resultobj;
21480 fail:
21481 return NULL;
21482 }
21483
21484
21485 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21486 PyObject *resultobj;
21487 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21488 bool result;
21489 PyObject * obj0 = 0 ;
21490 char *kwnames[] = {
21491 (char *) "self", NULL
21492 };
21493
21494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21496 if (SWIG_arg_fail(1)) SWIG_fail;
21497 {
21498 PyThreadState* __tstate = wxPyBeginAllowThreads();
21499 result = (bool)(arg1)->HasFont();
21500
21501 wxPyEndAllowThreads(__tstate);
21502 if (PyErr_Occurred()) SWIG_fail;
21503 }
21504 {
21505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21506 }
21507 return resultobj;
21508 fail:
21509 return NULL;
21510 }
21511
21512
21513 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21514 PyObject *resultobj;
21515 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21516 wxColour result;
21517 PyObject * obj0 = 0 ;
21518 char *kwnames[] = {
21519 (char *) "self", NULL
21520 };
21521
21522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21524 if (SWIG_arg_fail(1)) SWIG_fail;
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 result = (arg1)->GetTextColour();
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 {
21533 wxColour * resultptr;
21534 resultptr = new wxColour((wxColour &)(result));
21535 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21536 }
21537 return resultobj;
21538 fail:
21539 return NULL;
21540 }
21541
21542
21543 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21544 PyObject *resultobj;
21545 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21546 wxColour result;
21547 PyObject * obj0 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",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 = (arg1)->GetBackgroundColour();
21558
21559 wxPyEndAllowThreads(__tstate);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 }
21562 {
21563 wxColour * resultptr;
21564 resultptr = new wxColour((wxColour &)(result));
21565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21566 }
21567 return resultobj;
21568 fail:
21569 return NULL;
21570 }
21571
21572
21573 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj;
21575 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21576 wxFont result;
21577 PyObject * obj0 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21584 if (SWIG_arg_fail(1)) SWIG_fail;
21585 {
21586 PyThreadState* __tstate = wxPyBeginAllowThreads();
21587 result = (arg1)->GetFont();
21588
21589 wxPyEndAllowThreads(__tstate);
21590 if (PyErr_Occurred()) SWIG_fail;
21591 }
21592 {
21593 wxFont * resultptr;
21594 resultptr = new wxFont((wxFont &)(result));
21595 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21596 }
21597 return resultobj;
21598 fail:
21599 return NULL;
21600 }
21601
21602
21603 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21604 PyObject *resultobj;
21605 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21606 PyObject * obj0 = 0 ;
21607 char *kwnames[] = {
21608 (char *) "self", NULL
21609 };
21610
21611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21613 if (SWIG_arg_fail(1)) SWIG_fail;
21614 {
21615 PyThreadState* __tstate = wxPyBeginAllowThreads();
21616 wxListItemAttr_Destroy(arg1);
21617
21618 wxPyEndAllowThreads(__tstate);
21619 if (PyErr_Occurred()) SWIG_fail;
21620 }
21621 Py_INCREF(Py_None); resultobj = Py_None;
21622 return resultobj;
21623 fail:
21624 return NULL;
21625 }
21626
21627
21628 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21629 PyObject *obj;
21630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21631 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21632 Py_INCREF(obj);
21633 return Py_BuildValue((char *)"");
21634 }
21635 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21636 PyObject *resultobj;
21637 wxListItem *result;
21638 char *kwnames[] = {
21639 NULL
21640 };
21641
21642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21643 {
21644 PyThreadState* __tstate = wxPyBeginAllowThreads();
21645 result = (wxListItem *)new wxListItem();
21646
21647 wxPyEndAllowThreads(__tstate);
21648 if (PyErr_Occurred()) SWIG_fail;
21649 }
21650 {
21651 resultobj = wxPyMake_wxObject(result, 1);
21652 }
21653 return resultobj;
21654 fail:
21655 return NULL;
21656 }
21657
21658
21659 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21660 PyObject *resultobj;
21661 wxListItem *arg1 = (wxListItem *) 0 ;
21662 PyObject * obj0 = 0 ;
21663 char *kwnames[] = {
21664 (char *) "self", NULL
21665 };
21666
21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21669 if (SWIG_arg_fail(1)) SWIG_fail;
21670 {
21671 PyThreadState* __tstate = wxPyBeginAllowThreads();
21672 delete arg1;
21673
21674 wxPyEndAllowThreads(__tstate);
21675 if (PyErr_Occurred()) SWIG_fail;
21676 }
21677 Py_INCREF(Py_None); resultobj = Py_None;
21678 return resultobj;
21679 fail:
21680 return NULL;
21681 }
21682
21683
21684 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21685 PyObject *resultobj;
21686 wxListItem *arg1 = (wxListItem *) 0 ;
21687 PyObject * obj0 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail;
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 (arg1)->Clear();
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 Py_INCREF(Py_None); resultobj = Py_None;
21703 return resultobj;
21704 fail:
21705 return NULL;
21706 }
21707
21708
21709 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21710 PyObject *resultobj;
21711 wxListItem *arg1 = (wxListItem *) 0 ;
21712 PyObject * obj0 = 0 ;
21713 char *kwnames[] = {
21714 (char *) "self", NULL
21715 };
21716
21717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail;
21720 {
21721 PyThreadState* __tstate = wxPyBeginAllowThreads();
21722 (arg1)->ClearAttributes();
21723
21724 wxPyEndAllowThreads(__tstate);
21725 if (PyErr_Occurred()) SWIG_fail;
21726 }
21727 Py_INCREF(Py_None); resultobj = Py_None;
21728 return resultobj;
21729 fail:
21730 return NULL;
21731 }
21732
21733
21734 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21735 PyObject *resultobj;
21736 wxListItem *arg1 = (wxListItem *) 0 ;
21737 long arg2 ;
21738 PyObject * obj0 = 0 ;
21739 PyObject * obj1 = 0 ;
21740 char *kwnames[] = {
21741 (char *) "self",(char *) "mask", NULL
21742 };
21743
21744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
21745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21746 if (SWIG_arg_fail(1)) SWIG_fail;
21747 {
21748 arg2 = (long)(SWIG_As_long(obj1));
21749 if (SWIG_arg_fail(2)) SWIG_fail;
21750 }
21751 {
21752 PyThreadState* __tstate = wxPyBeginAllowThreads();
21753 (arg1)->SetMask(arg2);
21754
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 Py_INCREF(Py_None); resultobj = Py_None;
21759 return resultobj;
21760 fail:
21761 return NULL;
21762 }
21763
21764
21765 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21766 PyObject *resultobj;
21767 wxListItem *arg1 = (wxListItem *) 0 ;
21768 long arg2 ;
21769 PyObject * obj0 = 0 ;
21770 PyObject * obj1 = 0 ;
21771 char *kwnames[] = {
21772 (char *) "self",(char *) "id", NULL
21773 };
21774
21775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21777 if (SWIG_arg_fail(1)) SWIG_fail;
21778 {
21779 arg2 = (long)(SWIG_As_long(obj1));
21780 if (SWIG_arg_fail(2)) SWIG_fail;
21781 }
21782 {
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 (arg1)->SetId(arg2);
21785
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 Py_INCREF(Py_None); resultobj = Py_None;
21790 return resultobj;
21791 fail:
21792 return NULL;
21793 }
21794
21795
21796 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21797 PyObject *resultobj;
21798 wxListItem *arg1 = (wxListItem *) 0 ;
21799 int arg2 ;
21800 PyObject * obj0 = 0 ;
21801 PyObject * obj1 = 0 ;
21802 char *kwnames[] = {
21803 (char *) "self",(char *) "col", NULL
21804 };
21805
21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail;
21809 {
21810 arg2 = (int)(SWIG_As_int(obj1));
21811 if (SWIG_arg_fail(2)) SWIG_fail;
21812 }
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 (arg1)->SetColumn(arg2);
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 Py_INCREF(Py_None); resultobj = Py_None;
21821 return resultobj;
21822 fail:
21823 return NULL;
21824 }
21825
21826
21827 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj;
21829 wxListItem *arg1 = (wxListItem *) 0 ;
21830 long arg2 ;
21831 PyObject * obj0 = 0 ;
21832 PyObject * obj1 = 0 ;
21833 char *kwnames[] = {
21834 (char *) "self",(char *) "state", NULL
21835 };
21836
21837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21839 if (SWIG_arg_fail(1)) SWIG_fail;
21840 {
21841 arg2 = (long)(SWIG_As_long(obj1));
21842 if (SWIG_arg_fail(2)) SWIG_fail;
21843 }
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->SetState(arg2);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 Py_INCREF(Py_None); resultobj = Py_None;
21852 return resultobj;
21853 fail:
21854 return NULL;
21855 }
21856
21857
21858 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21859 PyObject *resultobj;
21860 wxListItem *arg1 = (wxListItem *) 0 ;
21861 long arg2 ;
21862 PyObject * obj0 = 0 ;
21863 PyObject * obj1 = 0 ;
21864 char *kwnames[] = {
21865 (char *) "self",(char *) "stateMask", NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21870 if (SWIG_arg_fail(1)) SWIG_fail;
21871 {
21872 arg2 = (long)(SWIG_As_long(obj1));
21873 if (SWIG_arg_fail(2)) SWIG_fail;
21874 }
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 (arg1)->SetStateMask(arg2);
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 Py_INCREF(Py_None); resultobj = Py_None;
21883 return resultobj;
21884 fail:
21885 return NULL;
21886 }
21887
21888
21889 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21890 PyObject *resultobj;
21891 wxListItem *arg1 = (wxListItem *) 0 ;
21892 wxString *arg2 = 0 ;
21893 bool temp2 = false ;
21894 PyObject * obj0 = 0 ;
21895 PyObject * obj1 = 0 ;
21896 char *kwnames[] = {
21897 (char *) "self",(char *) "text", NULL
21898 };
21899
21900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21902 if (SWIG_arg_fail(1)) SWIG_fail;
21903 {
21904 arg2 = wxString_in_helper(obj1);
21905 if (arg2 == NULL) SWIG_fail;
21906 temp2 = true;
21907 }
21908 {
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 (arg1)->SetText((wxString const &)*arg2);
21911
21912 wxPyEndAllowThreads(__tstate);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 Py_INCREF(Py_None); resultobj = Py_None;
21916 {
21917 if (temp2)
21918 delete arg2;
21919 }
21920 return resultobj;
21921 fail:
21922 {
21923 if (temp2)
21924 delete arg2;
21925 }
21926 return NULL;
21927 }
21928
21929
21930 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21931 PyObject *resultobj;
21932 wxListItem *arg1 = (wxListItem *) 0 ;
21933 int arg2 ;
21934 PyObject * obj0 = 0 ;
21935 PyObject * obj1 = 0 ;
21936 char *kwnames[] = {
21937 (char *) "self",(char *) "image", NULL
21938 };
21939
21940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
21941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21942 if (SWIG_arg_fail(1)) SWIG_fail;
21943 {
21944 arg2 = (int)(SWIG_As_int(obj1));
21945 if (SWIG_arg_fail(2)) SWIG_fail;
21946 }
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 (arg1)->SetImage(arg2);
21950
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
21954 Py_INCREF(Py_None); resultobj = Py_None;
21955 return resultobj;
21956 fail:
21957 return NULL;
21958 }
21959
21960
21961 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj;
21963 wxListItem *arg1 = (wxListItem *) 0 ;
21964 long arg2 ;
21965 PyObject * obj0 = 0 ;
21966 PyObject * obj1 = 0 ;
21967 char *kwnames[] = {
21968 (char *) "self",(char *) "data", NULL
21969 };
21970
21971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
21972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21973 if (SWIG_arg_fail(1)) SWIG_fail;
21974 {
21975 arg2 = (long)(SWIG_As_long(obj1));
21976 if (SWIG_arg_fail(2)) SWIG_fail;
21977 }
21978 {
21979 PyThreadState* __tstate = wxPyBeginAllowThreads();
21980 (arg1)->SetData(arg2);
21981
21982 wxPyEndAllowThreads(__tstate);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 }
21985 Py_INCREF(Py_None); resultobj = Py_None;
21986 return resultobj;
21987 fail:
21988 return NULL;
21989 }
21990
21991
21992 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
21993 PyObject *resultobj;
21994 wxListItem *arg1 = (wxListItem *) 0 ;
21995 int arg2 ;
21996 PyObject * obj0 = 0 ;
21997 PyObject * obj1 = 0 ;
21998 char *kwnames[] = {
21999 (char *) "self",(char *) "width", NULL
22000 };
22001
22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
22003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22004 if (SWIG_arg_fail(1)) SWIG_fail;
22005 {
22006 arg2 = (int)(SWIG_As_int(obj1));
22007 if (SWIG_arg_fail(2)) SWIG_fail;
22008 }
22009 {
22010 PyThreadState* __tstate = wxPyBeginAllowThreads();
22011 (arg1)->SetWidth(arg2);
22012
22013 wxPyEndAllowThreads(__tstate);
22014 if (PyErr_Occurred()) SWIG_fail;
22015 }
22016 Py_INCREF(Py_None); resultobj = Py_None;
22017 return resultobj;
22018 fail:
22019 return NULL;
22020 }
22021
22022
22023 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22024 PyObject *resultobj;
22025 wxListItem *arg1 = (wxListItem *) 0 ;
22026 wxListColumnFormat arg2 ;
22027 PyObject * obj0 = 0 ;
22028 PyObject * obj1 = 0 ;
22029 char *kwnames[] = {
22030 (char *) "self",(char *) "align", NULL
22031 };
22032
22033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
22034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22035 if (SWIG_arg_fail(1)) SWIG_fail;
22036 {
22037 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22038 if (SWIG_arg_fail(2)) SWIG_fail;
22039 }
22040 {
22041 PyThreadState* __tstate = wxPyBeginAllowThreads();
22042 (arg1)->SetAlign((wxListColumnFormat )arg2);
22043
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 Py_INCREF(Py_None); resultobj = Py_None;
22048 return resultobj;
22049 fail:
22050 return NULL;
22051 }
22052
22053
22054 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22055 PyObject *resultobj;
22056 wxListItem *arg1 = (wxListItem *) 0 ;
22057 wxColour *arg2 = 0 ;
22058 wxColour temp2 ;
22059 PyObject * obj0 = 0 ;
22060 PyObject * obj1 = 0 ;
22061 char *kwnames[] = {
22062 (char *) "self",(char *) "colText", NULL
22063 };
22064
22065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22067 if (SWIG_arg_fail(1)) SWIG_fail;
22068 {
22069 arg2 = &temp2;
22070 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22071 }
22072 {
22073 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 (arg1)->SetTextColour((wxColour const &)*arg2);
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 Py_INCREF(Py_None); resultobj = Py_None;
22080 return resultobj;
22081 fail:
22082 return NULL;
22083 }
22084
22085
22086 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22087 PyObject *resultobj;
22088 wxListItem *arg1 = (wxListItem *) 0 ;
22089 wxColour *arg2 = 0 ;
22090 wxColour temp2 ;
22091 PyObject * obj0 = 0 ;
22092 PyObject * obj1 = 0 ;
22093 char *kwnames[] = {
22094 (char *) "self",(char *) "colBack", NULL
22095 };
22096
22097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22099 if (SWIG_arg_fail(1)) SWIG_fail;
22100 {
22101 arg2 = &temp2;
22102 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22103 }
22104 {
22105 PyThreadState* __tstate = wxPyBeginAllowThreads();
22106 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22107
22108 wxPyEndAllowThreads(__tstate);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 }
22111 Py_INCREF(Py_None); resultobj = Py_None;
22112 return resultobj;
22113 fail:
22114 return NULL;
22115 }
22116
22117
22118 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22119 PyObject *resultobj;
22120 wxListItem *arg1 = (wxListItem *) 0 ;
22121 wxFont *arg2 = 0 ;
22122 PyObject * obj0 = 0 ;
22123 PyObject * obj1 = 0 ;
22124 char *kwnames[] = {
22125 (char *) "self",(char *) "font", NULL
22126 };
22127
22128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
22129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22130 if (SWIG_arg_fail(1)) SWIG_fail;
22131 {
22132 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22133 if (SWIG_arg_fail(2)) SWIG_fail;
22134 if (arg2 == NULL) {
22135 SWIG_null_ref("wxFont");
22136 }
22137 if (SWIG_arg_fail(2)) SWIG_fail;
22138 }
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 (arg1)->SetFont((wxFont const &)*arg2);
22142
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 Py_INCREF(Py_None); resultobj = Py_None;
22147 return resultobj;
22148 fail:
22149 return NULL;
22150 }
22151
22152
22153 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22154 PyObject *resultobj;
22155 wxListItem *arg1 = (wxListItem *) 0 ;
22156 long result;
22157 PyObject * obj0 = 0 ;
22158 char *kwnames[] = {
22159 (char *) "self", NULL
22160 };
22161
22162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
22163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22164 if (SWIG_arg_fail(1)) SWIG_fail;
22165 {
22166 PyThreadState* __tstate = wxPyBeginAllowThreads();
22167 result = (long)(arg1)->GetMask();
22168
22169 wxPyEndAllowThreads(__tstate);
22170 if (PyErr_Occurred()) SWIG_fail;
22171 }
22172 {
22173 resultobj = SWIG_From_long((long)(result));
22174 }
22175 return resultobj;
22176 fail:
22177 return NULL;
22178 }
22179
22180
22181 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22182 PyObject *resultobj;
22183 wxListItem *arg1 = (wxListItem *) 0 ;
22184 long result;
22185 PyObject * obj0 = 0 ;
22186 char *kwnames[] = {
22187 (char *) "self", NULL
22188 };
22189
22190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
22191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22192 if (SWIG_arg_fail(1)) SWIG_fail;
22193 {
22194 PyThreadState* __tstate = wxPyBeginAllowThreads();
22195 result = (long)(arg1)->GetId();
22196
22197 wxPyEndAllowThreads(__tstate);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
22200 {
22201 resultobj = SWIG_From_long((long)(result));
22202 }
22203 return resultobj;
22204 fail:
22205 return NULL;
22206 }
22207
22208
22209 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22210 PyObject *resultobj;
22211 wxListItem *arg1 = (wxListItem *) 0 ;
22212 int result;
22213 PyObject * obj0 = 0 ;
22214 char *kwnames[] = {
22215 (char *) "self", NULL
22216 };
22217
22218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
22219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22220 if (SWIG_arg_fail(1)) SWIG_fail;
22221 {
22222 PyThreadState* __tstate = wxPyBeginAllowThreads();
22223 result = (int)(arg1)->GetColumn();
22224
22225 wxPyEndAllowThreads(__tstate);
22226 if (PyErr_Occurred()) SWIG_fail;
22227 }
22228 {
22229 resultobj = SWIG_From_int((int)(result));
22230 }
22231 return resultobj;
22232 fail:
22233 return NULL;
22234 }
22235
22236
22237 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
22238 PyObject *resultobj;
22239 wxListItem *arg1 = (wxListItem *) 0 ;
22240 long result;
22241 PyObject * obj0 = 0 ;
22242 char *kwnames[] = {
22243 (char *) "self", NULL
22244 };
22245
22246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
22247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22248 if (SWIG_arg_fail(1)) SWIG_fail;
22249 {
22250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22251 result = (long)(arg1)->GetState();
22252
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 {
22257 resultobj = SWIG_From_long((long)(result));
22258 }
22259 return resultobj;
22260 fail:
22261 return NULL;
22262 }
22263
22264
22265 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22266 PyObject *resultobj;
22267 wxListItem *arg1 = (wxListItem *) 0 ;
22268 wxString *result;
22269 PyObject * obj0 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22276 if (SWIG_arg_fail(1)) SWIG_fail;
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 {
22280 wxString const &_result_ref = (arg1)->GetText();
22281 result = (wxString *) &_result_ref;
22282 }
22283
22284 wxPyEndAllowThreads(__tstate);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 {
22288 #if wxUSE_UNICODE
22289 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22290 #else
22291 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22292 #endif
22293 }
22294 return resultobj;
22295 fail:
22296 return NULL;
22297 }
22298
22299
22300 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22301 PyObject *resultobj;
22302 wxListItem *arg1 = (wxListItem *) 0 ;
22303 int result;
22304 PyObject * obj0 = 0 ;
22305 char *kwnames[] = {
22306 (char *) "self", NULL
22307 };
22308
22309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
22310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22311 if (SWIG_arg_fail(1)) SWIG_fail;
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 result = (int)(arg1)->GetImage();
22315
22316 wxPyEndAllowThreads(__tstate);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
22319 {
22320 resultobj = SWIG_From_int((int)(result));
22321 }
22322 return resultobj;
22323 fail:
22324 return NULL;
22325 }
22326
22327
22328 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22329 PyObject *resultobj;
22330 wxListItem *arg1 = (wxListItem *) 0 ;
22331 long result;
22332 PyObject * obj0 = 0 ;
22333 char *kwnames[] = {
22334 (char *) "self", NULL
22335 };
22336
22337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22339 if (SWIG_arg_fail(1)) SWIG_fail;
22340 {
22341 PyThreadState* __tstate = wxPyBeginAllowThreads();
22342 result = (long)(arg1)->GetData();
22343
22344 wxPyEndAllowThreads(__tstate);
22345 if (PyErr_Occurred()) SWIG_fail;
22346 }
22347 {
22348 resultobj = SWIG_From_long((long)(result));
22349 }
22350 return resultobj;
22351 fail:
22352 return NULL;
22353 }
22354
22355
22356 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22357 PyObject *resultobj;
22358 wxListItem *arg1 = (wxListItem *) 0 ;
22359 int result;
22360 PyObject * obj0 = 0 ;
22361 char *kwnames[] = {
22362 (char *) "self", NULL
22363 };
22364
22365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22367 if (SWIG_arg_fail(1)) SWIG_fail;
22368 {
22369 PyThreadState* __tstate = wxPyBeginAllowThreads();
22370 result = (int)(arg1)->GetWidth();
22371
22372 wxPyEndAllowThreads(__tstate);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
22375 {
22376 resultobj = SWIG_From_int((int)(result));
22377 }
22378 return resultobj;
22379 fail:
22380 return NULL;
22381 }
22382
22383
22384 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22385 PyObject *resultobj;
22386 wxListItem *arg1 = (wxListItem *) 0 ;
22387 wxListColumnFormat result;
22388 PyObject * obj0 = 0 ;
22389 char *kwnames[] = {
22390 (char *) "self", NULL
22391 };
22392
22393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22395 if (SWIG_arg_fail(1)) SWIG_fail;
22396 {
22397 PyThreadState* __tstate = wxPyBeginAllowThreads();
22398 result = (wxListColumnFormat)(arg1)->GetAlign();
22399
22400 wxPyEndAllowThreads(__tstate);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 }
22403 resultobj = SWIG_From_int((result));
22404 return resultobj;
22405 fail:
22406 return NULL;
22407 }
22408
22409
22410 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22411 PyObject *resultobj;
22412 wxListItem *arg1 = (wxListItem *) 0 ;
22413 wxListItemAttr *result;
22414 PyObject * obj0 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "self", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
22420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22421 if (SWIG_arg_fail(1)) SWIG_fail;
22422 {
22423 PyThreadState* __tstate = wxPyBeginAllowThreads();
22424 result = (wxListItemAttr *)(arg1)->GetAttributes();
22425
22426 wxPyEndAllowThreads(__tstate);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 }
22429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22430 return resultobj;
22431 fail:
22432 return NULL;
22433 }
22434
22435
22436 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22437 PyObject *resultobj;
22438 wxListItem *arg1 = (wxListItem *) 0 ;
22439 bool result;
22440 PyObject * obj0 = 0 ;
22441 char *kwnames[] = {
22442 (char *) "self", NULL
22443 };
22444
22445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22447 if (SWIG_arg_fail(1)) SWIG_fail;
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 result = (bool)(arg1)->HasAttributes();
22451
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 {
22456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22457 }
22458 return resultobj;
22459 fail:
22460 return NULL;
22461 }
22462
22463
22464 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22465 PyObject *resultobj;
22466 wxListItem *arg1 = (wxListItem *) 0 ;
22467 wxColour result;
22468 PyObject * obj0 = 0 ;
22469 char *kwnames[] = {
22470 (char *) "self", NULL
22471 };
22472
22473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22475 if (SWIG_arg_fail(1)) SWIG_fail;
22476 {
22477 PyThreadState* __tstate = wxPyBeginAllowThreads();
22478 result = ((wxListItem const *)arg1)->GetTextColour();
22479
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
22483 {
22484 wxColour * resultptr;
22485 resultptr = new wxColour((wxColour &)(result));
22486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22487 }
22488 return resultobj;
22489 fail:
22490 return NULL;
22491 }
22492
22493
22494 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22495 PyObject *resultobj;
22496 wxListItem *arg1 = (wxListItem *) 0 ;
22497 wxColour result;
22498 PyObject * obj0 = 0 ;
22499 char *kwnames[] = {
22500 (char *) "self", NULL
22501 };
22502
22503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22505 if (SWIG_arg_fail(1)) SWIG_fail;
22506 {
22507 PyThreadState* __tstate = wxPyBeginAllowThreads();
22508 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22509
22510 wxPyEndAllowThreads(__tstate);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
22513 {
22514 wxColour * resultptr;
22515 resultptr = new wxColour((wxColour &)(result));
22516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22517 }
22518 return resultobj;
22519 fail:
22520 return NULL;
22521 }
22522
22523
22524 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22525 PyObject *resultobj;
22526 wxListItem *arg1 = (wxListItem *) 0 ;
22527 wxFont result;
22528 PyObject * obj0 = 0 ;
22529 char *kwnames[] = {
22530 (char *) "self", NULL
22531 };
22532
22533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22535 if (SWIG_arg_fail(1)) SWIG_fail;
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 result = ((wxListItem const *)arg1)->GetFont();
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 {
22544 wxFont * resultptr;
22545 resultptr = new wxFont((wxFont &)(result));
22546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22547 }
22548 return resultobj;
22549 fail:
22550 return NULL;
22551 }
22552
22553
22554 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22555 PyObject *resultobj;
22556 wxListItem *arg1 = (wxListItem *) 0 ;
22557 long arg2 ;
22558 PyObject * obj0 = 0 ;
22559 PyObject * obj1 = 0 ;
22560 char *kwnames[] = {
22561 (char *) "self",(char *) "m_mask", NULL
22562 };
22563
22564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22566 if (SWIG_arg_fail(1)) SWIG_fail;
22567 {
22568 arg2 = (long)(SWIG_As_long(obj1));
22569 if (SWIG_arg_fail(2)) SWIG_fail;
22570 }
22571 if (arg1) (arg1)->m_mask = arg2;
22572
22573 Py_INCREF(Py_None); resultobj = Py_None;
22574 return resultobj;
22575 fail:
22576 return NULL;
22577 }
22578
22579
22580 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22581 PyObject *resultobj;
22582 wxListItem *arg1 = (wxListItem *) 0 ;
22583 long result;
22584 PyObject * obj0 = 0 ;
22585 char *kwnames[] = {
22586 (char *) "self", NULL
22587 };
22588
22589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",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 result = (long) ((arg1)->m_mask);
22593
22594 {
22595 resultobj = SWIG_From_long((long)(result));
22596 }
22597 return resultobj;
22598 fail:
22599 return NULL;
22600 }
22601
22602
22603 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22604 PyObject *resultobj;
22605 wxListItem *arg1 = (wxListItem *) 0 ;
22606 long arg2 ;
22607 PyObject * obj0 = 0 ;
22608 PyObject * obj1 = 0 ;
22609 char *kwnames[] = {
22610 (char *) "self",(char *) "m_itemId", NULL
22611 };
22612
22613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22615 if (SWIG_arg_fail(1)) SWIG_fail;
22616 {
22617 arg2 = (long)(SWIG_As_long(obj1));
22618 if (SWIG_arg_fail(2)) SWIG_fail;
22619 }
22620 if (arg1) (arg1)->m_itemId = arg2;
22621
22622 Py_INCREF(Py_None); resultobj = Py_None;
22623 return resultobj;
22624 fail:
22625 return NULL;
22626 }
22627
22628
22629 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj;
22631 wxListItem *arg1 = (wxListItem *) 0 ;
22632 long result;
22633 PyObject * obj0 = 0 ;
22634 char *kwnames[] = {
22635 (char *) "self", NULL
22636 };
22637
22638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
22639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22640 if (SWIG_arg_fail(1)) SWIG_fail;
22641 result = (long) ((arg1)->m_itemId);
22642
22643 {
22644 resultobj = SWIG_From_long((long)(result));
22645 }
22646 return resultobj;
22647 fail:
22648 return NULL;
22649 }
22650
22651
22652 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22653 PyObject *resultobj;
22654 wxListItem *arg1 = (wxListItem *) 0 ;
22655 int arg2 ;
22656 PyObject * obj0 = 0 ;
22657 PyObject * obj1 = 0 ;
22658 char *kwnames[] = {
22659 (char *) "self",(char *) "m_col", NULL
22660 };
22661
22662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22664 if (SWIG_arg_fail(1)) SWIG_fail;
22665 {
22666 arg2 = (int)(SWIG_As_int(obj1));
22667 if (SWIG_arg_fail(2)) SWIG_fail;
22668 }
22669 if (arg1) (arg1)->m_col = arg2;
22670
22671 Py_INCREF(Py_None); resultobj = Py_None;
22672 return resultobj;
22673 fail:
22674 return NULL;
22675 }
22676
22677
22678 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22679 PyObject *resultobj;
22680 wxListItem *arg1 = (wxListItem *) 0 ;
22681 int result;
22682 PyObject * obj0 = 0 ;
22683 char *kwnames[] = {
22684 (char *) "self", NULL
22685 };
22686
22687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22689 if (SWIG_arg_fail(1)) SWIG_fail;
22690 result = (int) ((arg1)->m_col);
22691
22692 {
22693 resultobj = SWIG_From_int((int)(result));
22694 }
22695 return resultobj;
22696 fail:
22697 return NULL;
22698 }
22699
22700
22701 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22702 PyObject *resultobj;
22703 wxListItem *arg1 = (wxListItem *) 0 ;
22704 long arg2 ;
22705 PyObject * obj0 = 0 ;
22706 PyObject * obj1 = 0 ;
22707 char *kwnames[] = {
22708 (char *) "self",(char *) "m_state", NULL
22709 };
22710
22711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22713 if (SWIG_arg_fail(1)) SWIG_fail;
22714 {
22715 arg2 = (long)(SWIG_As_long(obj1));
22716 if (SWIG_arg_fail(2)) SWIG_fail;
22717 }
22718 if (arg1) (arg1)->m_state = arg2;
22719
22720 Py_INCREF(Py_None); resultobj = Py_None;
22721 return resultobj;
22722 fail:
22723 return NULL;
22724 }
22725
22726
22727 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22728 PyObject *resultobj;
22729 wxListItem *arg1 = (wxListItem *) 0 ;
22730 long result;
22731 PyObject * obj0 = 0 ;
22732 char *kwnames[] = {
22733 (char *) "self", NULL
22734 };
22735
22736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22738 if (SWIG_arg_fail(1)) SWIG_fail;
22739 result = (long) ((arg1)->m_state);
22740
22741 {
22742 resultobj = SWIG_From_long((long)(result));
22743 }
22744 return resultobj;
22745 fail:
22746 return NULL;
22747 }
22748
22749
22750 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22751 PyObject *resultobj;
22752 wxListItem *arg1 = (wxListItem *) 0 ;
22753 long arg2 ;
22754 PyObject * obj0 = 0 ;
22755 PyObject * obj1 = 0 ;
22756 char *kwnames[] = {
22757 (char *) "self",(char *) "m_stateMask", NULL
22758 };
22759
22760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
22761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22762 if (SWIG_arg_fail(1)) SWIG_fail;
22763 {
22764 arg2 = (long)(SWIG_As_long(obj1));
22765 if (SWIG_arg_fail(2)) SWIG_fail;
22766 }
22767 if (arg1) (arg1)->m_stateMask = arg2;
22768
22769 Py_INCREF(Py_None); resultobj = Py_None;
22770 return resultobj;
22771 fail:
22772 return NULL;
22773 }
22774
22775
22776 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22777 PyObject *resultobj;
22778 wxListItem *arg1 = (wxListItem *) 0 ;
22779 long result;
22780 PyObject * obj0 = 0 ;
22781 char *kwnames[] = {
22782 (char *) "self", NULL
22783 };
22784
22785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22787 if (SWIG_arg_fail(1)) SWIG_fail;
22788 result = (long) ((arg1)->m_stateMask);
22789
22790 {
22791 resultobj = SWIG_From_long((long)(result));
22792 }
22793 return resultobj;
22794 fail:
22795 return NULL;
22796 }
22797
22798
22799 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22800 PyObject *resultobj;
22801 wxListItem *arg1 = (wxListItem *) 0 ;
22802 wxString *arg2 = (wxString *) 0 ;
22803 bool temp2 = false ;
22804 PyObject * obj0 = 0 ;
22805 PyObject * obj1 = 0 ;
22806 char *kwnames[] = {
22807 (char *) "self",(char *) "m_text", NULL
22808 };
22809
22810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22812 if (SWIG_arg_fail(1)) SWIG_fail;
22813 {
22814 arg2 = wxString_in_helper(obj1);
22815 if (arg2 == NULL) SWIG_fail;
22816 temp2 = true;
22817 }
22818 if (arg1) (arg1)->m_text = *arg2;
22819
22820 Py_INCREF(Py_None); resultobj = Py_None;
22821 {
22822 if (temp2)
22823 delete arg2;
22824 }
22825 return resultobj;
22826 fail:
22827 {
22828 if (temp2)
22829 delete arg2;
22830 }
22831 return NULL;
22832 }
22833
22834
22835 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22836 PyObject *resultobj;
22837 wxListItem *arg1 = (wxListItem *) 0 ;
22838 wxString *result;
22839 PyObject * obj0 = 0 ;
22840 char *kwnames[] = {
22841 (char *) "self", NULL
22842 };
22843
22844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22846 if (SWIG_arg_fail(1)) SWIG_fail;
22847 result = (wxString *)& ((arg1)->m_text);
22848
22849 {
22850 #if wxUSE_UNICODE
22851 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22852 #else
22853 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22854 #endif
22855 }
22856 return resultobj;
22857 fail:
22858 return NULL;
22859 }
22860
22861
22862 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22863 PyObject *resultobj;
22864 wxListItem *arg1 = (wxListItem *) 0 ;
22865 int arg2 ;
22866 PyObject * obj0 = 0 ;
22867 PyObject * obj1 = 0 ;
22868 char *kwnames[] = {
22869 (char *) "self",(char *) "m_image", NULL
22870 };
22871
22872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22874 if (SWIG_arg_fail(1)) SWIG_fail;
22875 {
22876 arg2 = (int)(SWIG_As_int(obj1));
22877 if (SWIG_arg_fail(2)) SWIG_fail;
22878 }
22879 if (arg1) (arg1)->m_image = arg2;
22880
22881 Py_INCREF(Py_None); resultobj = Py_None;
22882 return resultobj;
22883 fail:
22884 return NULL;
22885 }
22886
22887
22888 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22889 PyObject *resultobj;
22890 wxListItem *arg1 = (wxListItem *) 0 ;
22891 int result;
22892 PyObject * obj0 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail;
22900 result = (int) ((arg1)->m_image);
22901
22902 {
22903 resultobj = SWIG_From_int((int)(result));
22904 }
22905 return resultobj;
22906 fail:
22907 return NULL;
22908 }
22909
22910
22911 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22912 PyObject *resultobj;
22913 wxListItem *arg1 = (wxListItem *) 0 ;
22914 long arg2 ;
22915 PyObject * obj0 = 0 ;
22916 PyObject * obj1 = 0 ;
22917 char *kwnames[] = {
22918 (char *) "self",(char *) "m_data", NULL
22919 };
22920
22921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
22922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22923 if (SWIG_arg_fail(1)) SWIG_fail;
22924 {
22925 arg2 = (long)(SWIG_As_long(obj1));
22926 if (SWIG_arg_fail(2)) SWIG_fail;
22927 }
22928 if (arg1) (arg1)->m_data = arg2;
22929
22930 Py_INCREF(Py_None); resultobj = Py_None;
22931 return resultobj;
22932 fail:
22933 return NULL;
22934 }
22935
22936
22937 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
22938 PyObject *resultobj;
22939 wxListItem *arg1 = (wxListItem *) 0 ;
22940 long result;
22941 PyObject * obj0 = 0 ;
22942 char *kwnames[] = {
22943 (char *) "self", NULL
22944 };
22945
22946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
22947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22948 if (SWIG_arg_fail(1)) SWIG_fail;
22949 result = (long) ((arg1)->m_data);
22950
22951 {
22952 resultobj = SWIG_From_long((long)(result));
22953 }
22954 return resultobj;
22955 fail:
22956 return NULL;
22957 }
22958
22959
22960 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
22961 PyObject *resultobj;
22962 wxListItem *arg1 = (wxListItem *) 0 ;
22963 int arg2 ;
22964 PyObject * obj0 = 0 ;
22965 PyObject * obj1 = 0 ;
22966 char *kwnames[] = {
22967 (char *) "self",(char *) "m_format", NULL
22968 };
22969
22970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
22971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22972 if (SWIG_arg_fail(1)) SWIG_fail;
22973 {
22974 arg2 = (int)(SWIG_As_int(obj1));
22975 if (SWIG_arg_fail(2)) SWIG_fail;
22976 }
22977 if (arg1) (arg1)->m_format = arg2;
22978
22979 Py_INCREF(Py_None); resultobj = Py_None;
22980 return resultobj;
22981 fail:
22982 return NULL;
22983 }
22984
22985
22986 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
22987 PyObject *resultobj;
22988 wxListItem *arg1 = (wxListItem *) 0 ;
22989 int result;
22990 PyObject * obj0 = 0 ;
22991 char *kwnames[] = {
22992 (char *) "self", NULL
22993 };
22994
22995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
22996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22997 if (SWIG_arg_fail(1)) SWIG_fail;
22998 result = (int) ((arg1)->m_format);
22999
23000 {
23001 resultobj = SWIG_From_int((int)(result));
23002 }
23003 return resultobj;
23004 fail:
23005 return NULL;
23006 }
23007
23008
23009 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
23010 PyObject *resultobj;
23011 wxListItem *arg1 = (wxListItem *) 0 ;
23012 int arg2 ;
23013 PyObject * obj0 = 0 ;
23014 PyObject * obj1 = 0 ;
23015 char *kwnames[] = {
23016 (char *) "self",(char *) "m_width", NULL
23017 };
23018
23019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
23020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23021 if (SWIG_arg_fail(1)) SWIG_fail;
23022 {
23023 arg2 = (int)(SWIG_As_int(obj1));
23024 if (SWIG_arg_fail(2)) SWIG_fail;
23025 }
23026 if (arg1) (arg1)->m_width = arg2;
23027
23028 Py_INCREF(Py_None); resultobj = Py_None;
23029 return resultobj;
23030 fail:
23031 return NULL;
23032 }
23033
23034
23035 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
23036 PyObject *resultobj;
23037 wxListItem *arg1 = (wxListItem *) 0 ;
23038 int result;
23039 PyObject * obj0 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
23045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail;
23047 result = (int) ((arg1)->m_width);
23048
23049 {
23050 resultobj = SWIG_From_int((int)(result));
23051 }
23052 return resultobj;
23053 fail:
23054 return NULL;
23055 }
23056
23057
23058 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
23059 PyObject *obj;
23060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23061 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23062 Py_INCREF(obj);
23063 return Py_BuildValue((char *)"");
23064 }
23065 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23066 PyObject *resultobj;
23067 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23068 int arg2 = (int) 0 ;
23069 wxListEvent *result;
23070 PyObject * obj0 = 0 ;
23071 PyObject * obj1 = 0 ;
23072 char *kwnames[] = {
23073 (char *) "commandType",(char *) "id", NULL
23074 };
23075
23076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23077 if (obj0) {
23078 {
23079 arg1 = (wxEventType)(SWIG_As_int(obj0));
23080 if (SWIG_arg_fail(1)) SWIG_fail;
23081 }
23082 }
23083 if (obj1) {
23084 {
23085 arg2 = (int)(SWIG_As_int(obj1));
23086 if (SWIG_arg_fail(2)) SWIG_fail;
23087 }
23088 }
23089 {
23090 PyThreadState* __tstate = wxPyBeginAllowThreads();
23091 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23092
23093 wxPyEndAllowThreads(__tstate);
23094 if (PyErr_Occurred()) SWIG_fail;
23095 }
23096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23097 return resultobj;
23098 fail:
23099 return NULL;
23100 }
23101
23102
23103 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
23104 PyObject *resultobj;
23105 wxListEvent *arg1 = (wxListEvent *) 0 ;
23106 int arg2 ;
23107 PyObject * obj0 = 0 ;
23108 PyObject * obj1 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self",(char *) "m_code", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
23114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23115 if (SWIG_arg_fail(1)) SWIG_fail;
23116 {
23117 arg2 = (int)(SWIG_As_int(obj1));
23118 if (SWIG_arg_fail(2)) SWIG_fail;
23119 }
23120 if (arg1) (arg1)->m_code = arg2;
23121
23122 Py_INCREF(Py_None); resultobj = Py_None;
23123 return resultobj;
23124 fail:
23125 return NULL;
23126 }
23127
23128
23129 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
23130 PyObject *resultobj;
23131 wxListEvent *arg1 = (wxListEvent *) 0 ;
23132 int result;
23133 PyObject * obj0 = 0 ;
23134 char *kwnames[] = {
23135 (char *) "self", NULL
23136 };
23137
23138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
23139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23140 if (SWIG_arg_fail(1)) SWIG_fail;
23141 result = (int) ((arg1)->m_code);
23142
23143 {
23144 resultobj = SWIG_From_int((int)(result));
23145 }
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23153 PyObject *resultobj;
23154 wxListEvent *arg1 = (wxListEvent *) 0 ;
23155 long arg2 ;
23156 PyObject * obj0 = 0 ;
23157 PyObject * obj1 = 0 ;
23158 char *kwnames[] = {
23159 (char *) "self",(char *) "m_oldItemIndex", NULL
23160 };
23161
23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23164 if (SWIG_arg_fail(1)) SWIG_fail;
23165 {
23166 arg2 = (long)(SWIG_As_long(obj1));
23167 if (SWIG_arg_fail(2)) SWIG_fail;
23168 }
23169 if (arg1) (arg1)->m_oldItemIndex = arg2;
23170
23171 Py_INCREF(Py_None); resultobj = Py_None;
23172 return resultobj;
23173 fail:
23174 return NULL;
23175 }
23176
23177
23178 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23179 PyObject *resultobj;
23180 wxListEvent *arg1 = (wxListEvent *) 0 ;
23181 long result;
23182 PyObject * obj0 = 0 ;
23183 char *kwnames[] = {
23184 (char *) "self", NULL
23185 };
23186
23187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23189 if (SWIG_arg_fail(1)) SWIG_fail;
23190 result = (long) ((arg1)->m_oldItemIndex);
23191
23192 {
23193 resultobj = SWIG_From_long((long)(result));
23194 }
23195 return resultobj;
23196 fail:
23197 return NULL;
23198 }
23199
23200
23201 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23202 PyObject *resultobj;
23203 wxListEvent *arg1 = (wxListEvent *) 0 ;
23204 long arg2 ;
23205 PyObject * obj0 = 0 ;
23206 PyObject * obj1 = 0 ;
23207 char *kwnames[] = {
23208 (char *) "self",(char *) "m_itemIndex", NULL
23209 };
23210
23211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23213 if (SWIG_arg_fail(1)) SWIG_fail;
23214 {
23215 arg2 = (long)(SWIG_As_long(obj1));
23216 if (SWIG_arg_fail(2)) SWIG_fail;
23217 }
23218 if (arg1) (arg1)->m_itemIndex = arg2;
23219
23220 Py_INCREF(Py_None); resultobj = Py_None;
23221 return resultobj;
23222 fail:
23223 return NULL;
23224 }
23225
23226
23227 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23228 PyObject *resultobj;
23229 wxListEvent *arg1 = (wxListEvent *) 0 ;
23230 long result;
23231 PyObject * obj0 = 0 ;
23232 char *kwnames[] = {
23233 (char *) "self", NULL
23234 };
23235
23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23238 if (SWIG_arg_fail(1)) SWIG_fail;
23239 result = (long) ((arg1)->m_itemIndex);
23240
23241 {
23242 resultobj = SWIG_From_long((long)(result));
23243 }
23244 return resultobj;
23245 fail:
23246 return NULL;
23247 }
23248
23249
23250 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23251 PyObject *resultobj;
23252 wxListEvent *arg1 = (wxListEvent *) 0 ;
23253 int arg2 ;
23254 PyObject * obj0 = 0 ;
23255 PyObject * obj1 = 0 ;
23256 char *kwnames[] = {
23257 (char *) "self",(char *) "m_col", NULL
23258 };
23259
23260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23262 if (SWIG_arg_fail(1)) SWIG_fail;
23263 {
23264 arg2 = (int)(SWIG_As_int(obj1));
23265 if (SWIG_arg_fail(2)) SWIG_fail;
23266 }
23267 if (arg1) (arg1)->m_col = arg2;
23268
23269 Py_INCREF(Py_None); resultobj = Py_None;
23270 return resultobj;
23271 fail:
23272 return NULL;
23273 }
23274
23275
23276 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23277 PyObject *resultobj;
23278 wxListEvent *arg1 = (wxListEvent *) 0 ;
23279 int result;
23280 PyObject * obj0 = 0 ;
23281 char *kwnames[] = {
23282 (char *) "self", NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
23286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail;
23288 result = (int) ((arg1)->m_col);
23289
23290 {
23291 resultobj = SWIG_From_int((int)(result));
23292 }
23293 return resultobj;
23294 fail:
23295 return NULL;
23296 }
23297
23298
23299 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23300 PyObject *resultobj;
23301 wxListEvent *arg1 = (wxListEvent *) 0 ;
23302 wxPoint *arg2 = (wxPoint *) 0 ;
23303 PyObject * obj0 = 0 ;
23304 PyObject * obj1 = 0 ;
23305 char *kwnames[] = {
23306 (char *) "self",(char *) "m_pointDrag", NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
23310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail;
23312 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23313 if (SWIG_arg_fail(2)) SWIG_fail;
23314 if (arg1) (arg1)->m_pointDrag = *arg2;
23315
23316 Py_INCREF(Py_None); resultobj = Py_None;
23317 return resultobj;
23318 fail:
23319 return NULL;
23320 }
23321
23322
23323 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23324 PyObject *resultobj;
23325 wxListEvent *arg1 = (wxListEvent *) 0 ;
23326 wxPoint *result;
23327 PyObject * obj0 = 0 ;
23328 char *kwnames[] = {
23329 (char *) "self", NULL
23330 };
23331
23332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
23333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23334 if (SWIG_arg_fail(1)) SWIG_fail;
23335 result = (wxPoint *)& ((arg1)->m_pointDrag);
23336
23337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23338 return resultobj;
23339 fail:
23340 return NULL;
23341 }
23342
23343
23344 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23345 PyObject *resultobj;
23346 wxListEvent *arg1 = (wxListEvent *) 0 ;
23347 wxListItem *result;
23348 PyObject * obj0 = 0 ;
23349 char *kwnames[] = {
23350 (char *) "self", NULL
23351 };
23352
23353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23355 if (SWIG_arg_fail(1)) SWIG_fail;
23356 result = (wxListItem *)& ((arg1)->m_item);
23357
23358 {
23359 resultobj = wxPyMake_wxObject(result, 0);
23360 }
23361 return resultobj;
23362 fail:
23363 return NULL;
23364 }
23365
23366
23367 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23368 PyObject *resultobj;
23369 wxListEvent *arg1 = (wxListEvent *) 0 ;
23370 int result;
23371 PyObject * obj0 = 0 ;
23372 char *kwnames[] = {
23373 (char *) "self", NULL
23374 };
23375
23376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23378 if (SWIG_arg_fail(1)) SWIG_fail;
23379 {
23380 PyThreadState* __tstate = wxPyBeginAllowThreads();
23381 result = (int)(arg1)->GetKeyCode();
23382
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 {
23387 resultobj = SWIG_From_int((int)(result));
23388 }
23389 return resultobj;
23390 fail:
23391 return NULL;
23392 }
23393
23394
23395 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23396 PyObject *resultobj;
23397 wxListEvent *arg1 = (wxListEvent *) 0 ;
23398 long result;
23399 PyObject * obj0 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23406 if (SWIG_arg_fail(1)) SWIG_fail;
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 result = (long)(arg1)->GetIndex();
23410
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 {
23415 resultobj = SWIG_From_long((long)(result));
23416 }
23417 return resultobj;
23418 fail:
23419 return NULL;
23420 }
23421
23422
23423 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23424 PyObject *resultobj;
23425 wxListEvent *arg1 = (wxListEvent *) 0 ;
23426 int result;
23427 PyObject * obj0 = 0 ;
23428 char *kwnames[] = {
23429 (char *) "self", NULL
23430 };
23431
23432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23434 if (SWIG_arg_fail(1)) SWIG_fail;
23435 {
23436 PyThreadState* __tstate = wxPyBeginAllowThreads();
23437 result = (int)(arg1)->GetColumn();
23438
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 {
23443 resultobj = SWIG_From_int((int)(result));
23444 }
23445 return resultobj;
23446 fail:
23447 return NULL;
23448 }
23449
23450
23451 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23452 PyObject *resultobj;
23453 wxListEvent *arg1 = (wxListEvent *) 0 ;
23454 wxPoint result;
23455 PyObject * obj0 = 0 ;
23456 char *kwnames[] = {
23457 (char *) "self", NULL
23458 };
23459
23460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23462 if (SWIG_arg_fail(1)) SWIG_fail;
23463 {
23464 PyThreadState* __tstate = wxPyBeginAllowThreads();
23465 result = (arg1)->GetPoint();
23466
23467 wxPyEndAllowThreads(__tstate);
23468 if (PyErr_Occurred()) SWIG_fail;
23469 }
23470 {
23471 wxPoint * resultptr;
23472 resultptr = new wxPoint((wxPoint &)(result));
23473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23474 }
23475 return resultobj;
23476 fail:
23477 return NULL;
23478 }
23479
23480
23481 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23482 PyObject *resultobj;
23483 wxListEvent *arg1 = (wxListEvent *) 0 ;
23484 wxString *result;
23485 PyObject * obj0 = 0 ;
23486 char *kwnames[] = {
23487 (char *) "self", NULL
23488 };
23489
23490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",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 {
23496 wxString const &_result_ref = (arg1)->GetLabel();
23497 result = (wxString *) &_result_ref;
23498 }
23499
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
23503 {
23504 #if wxUSE_UNICODE
23505 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23506 #else
23507 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23508 #endif
23509 }
23510 return resultobj;
23511 fail:
23512 return NULL;
23513 }
23514
23515
23516 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23517 PyObject *resultobj;
23518 wxListEvent *arg1 = (wxListEvent *) 0 ;
23519 wxString *result;
23520 PyObject * obj0 = 0 ;
23521 char *kwnames[] = {
23522 (char *) "self", NULL
23523 };
23524
23525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23527 if (SWIG_arg_fail(1)) SWIG_fail;
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 {
23531 wxString const &_result_ref = (arg1)->GetText();
23532 result = (wxString *) &_result_ref;
23533 }
23534
23535 wxPyEndAllowThreads(__tstate);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
23538 {
23539 #if wxUSE_UNICODE
23540 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23541 #else
23542 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23543 #endif
23544 }
23545 return resultobj;
23546 fail:
23547 return NULL;
23548 }
23549
23550
23551 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23552 PyObject *resultobj;
23553 wxListEvent *arg1 = (wxListEvent *) 0 ;
23554 int result;
23555 PyObject * obj0 = 0 ;
23556 char *kwnames[] = {
23557 (char *) "self", NULL
23558 };
23559
23560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
23561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23562 if (SWIG_arg_fail(1)) SWIG_fail;
23563 {
23564 PyThreadState* __tstate = wxPyBeginAllowThreads();
23565 result = (int)(arg1)->GetImage();
23566
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
23570 {
23571 resultobj = SWIG_From_int((int)(result));
23572 }
23573 return resultobj;
23574 fail:
23575 return NULL;
23576 }
23577
23578
23579 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23580 PyObject *resultobj;
23581 wxListEvent *arg1 = (wxListEvent *) 0 ;
23582 long result;
23583 PyObject * obj0 = 0 ;
23584 char *kwnames[] = {
23585 (char *) "self", NULL
23586 };
23587
23588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23590 if (SWIG_arg_fail(1)) SWIG_fail;
23591 {
23592 PyThreadState* __tstate = wxPyBeginAllowThreads();
23593 result = (long)(arg1)->GetData();
23594
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 {
23599 resultobj = SWIG_From_long((long)(result));
23600 }
23601 return resultobj;
23602 fail:
23603 return NULL;
23604 }
23605
23606
23607 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23608 PyObject *resultobj;
23609 wxListEvent *arg1 = (wxListEvent *) 0 ;
23610 long result;
23611 PyObject * obj0 = 0 ;
23612 char *kwnames[] = {
23613 (char *) "self", NULL
23614 };
23615
23616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23618 if (SWIG_arg_fail(1)) SWIG_fail;
23619 {
23620 PyThreadState* __tstate = wxPyBeginAllowThreads();
23621 result = (long)(arg1)->GetMask();
23622
23623 wxPyEndAllowThreads(__tstate);
23624 if (PyErr_Occurred()) SWIG_fail;
23625 }
23626 {
23627 resultobj = SWIG_From_long((long)(result));
23628 }
23629 return resultobj;
23630 fail:
23631 return NULL;
23632 }
23633
23634
23635 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23636 PyObject *resultobj;
23637 wxListEvent *arg1 = (wxListEvent *) 0 ;
23638 wxListItem *result;
23639 PyObject * obj0 = 0 ;
23640 char *kwnames[] = {
23641 (char *) "self", NULL
23642 };
23643
23644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23646 if (SWIG_arg_fail(1)) SWIG_fail;
23647 {
23648 PyThreadState* __tstate = wxPyBeginAllowThreads();
23649 {
23650 wxListItem const &_result_ref = (arg1)->GetItem();
23651 result = (wxListItem *) &_result_ref;
23652 }
23653
23654 wxPyEndAllowThreads(__tstate);
23655 if (PyErr_Occurred()) SWIG_fail;
23656 }
23657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23658 return resultobj;
23659 fail:
23660 return NULL;
23661 }
23662
23663
23664 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23665 PyObject *resultobj;
23666 wxListEvent *arg1 = (wxListEvent *) 0 ;
23667 long result;
23668 PyObject * obj0 = 0 ;
23669 char *kwnames[] = {
23670 (char *) "self", NULL
23671 };
23672
23673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23675 if (SWIG_arg_fail(1)) SWIG_fail;
23676 {
23677 PyThreadState* __tstate = wxPyBeginAllowThreads();
23678 result = (long)(arg1)->GetCacheFrom();
23679
23680 wxPyEndAllowThreads(__tstate);
23681 if (PyErr_Occurred()) SWIG_fail;
23682 }
23683 {
23684 resultobj = SWIG_From_long((long)(result));
23685 }
23686 return resultobj;
23687 fail:
23688 return NULL;
23689 }
23690
23691
23692 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23693 PyObject *resultobj;
23694 wxListEvent *arg1 = (wxListEvent *) 0 ;
23695 long result;
23696 PyObject * obj0 = 0 ;
23697 char *kwnames[] = {
23698 (char *) "self", NULL
23699 };
23700
23701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23703 if (SWIG_arg_fail(1)) SWIG_fail;
23704 {
23705 PyThreadState* __tstate = wxPyBeginAllowThreads();
23706 result = (long)(arg1)->GetCacheTo();
23707
23708 wxPyEndAllowThreads(__tstate);
23709 if (PyErr_Occurred()) SWIG_fail;
23710 }
23711 {
23712 resultobj = SWIG_From_long((long)(result));
23713 }
23714 return resultobj;
23715 fail:
23716 return NULL;
23717 }
23718
23719
23720 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj;
23722 wxListEvent *arg1 = (wxListEvent *) 0 ;
23723 bool result;
23724 PyObject * obj0 = 0 ;
23725 char *kwnames[] = {
23726 (char *) "self", NULL
23727 };
23728
23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23731 if (SWIG_arg_fail(1)) SWIG_fail;
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23735
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
23739 {
23740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23741 }
23742 return resultobj;
23743 fail:
23744 return NULL;
23745 }
23746
23747
23748 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23749 PyObject *resultobj;
23750 wxListEvent *arg1 = (wxListEvent *) 0 ;
23751 bool arg2 ;
23752 PyObject * obj0 = 0 ;
23753 PyObject * obj1 = 0 ;
23754 char *kwnames[] = {
23755 (char *) "self",(char *) "editCancelled", NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23760 if (SWIG_arg_fail(1)) SWIG_fail;
23761 {
23762 arg2 = (bool)(SWIG_As_bool(obj1));
23763 if (SWIG_arg_fail(2)) SWIG_fail;
23764 }
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 (arg1)->SetEditCanceled(arg2);
23768
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
23772 Py_INCREF(Py_None); resultobj = Py_None;
23773 return resultobj;
23774 fail:
23775 return NULL;
23776 }
23777
23778
23779 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23780 PyObject *obj;
23781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23782 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23783 Py_INCREF(obj);
23784 return Py_BuildValue((char *)"");
23785 }
23786 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23787 PyObject *resultobj;
23788 wxWindow *arg1 = (wxWindow *) 0 ;
23789 int arg2 = (int) -1 ;
23790 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23791 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23792 wxSize const &arg4_defvalue = wxDefaultSize ;
23793 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23794 long arg5 = (long) wxLC_ICON ;
23795 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23796 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23797 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23798 wxString *arg7 = (wxString *) &arg7_defvalue ;
23799 wxPyListCtrl *result;
23800 wxPoint temp3 ;
23801 wxSize temp4 ;
23802 bool temp7 = false ;
23803 PyObject * obj0 = 0 ;
23804 PyObject * obj1 = 0 ;
23805 PyObject * obj2 = 0 ;
23806 PyObject * obj3 = 0 ;
23807 PyObject * obj4 = 0 ;
23808 PyObject * obj5 = 0 ;
23809 PyObject * obj6 = 0 ;
23810 char *kwnames[] = {
23811 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23812 };
23813
23814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23816 if (SWIG_arg_fail(1)) SWIG_fail;
23817 if (obj1) {
23818 {
23819 arg2 = (int)(SWIG_As_int(obj1));
23820 if (SWIG_arg_fail(2)) SWIG_fail;
23821 }
23822 }
23823 if (obj2) {
23824 {
23825 arg3 = &temp3;
23826 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23827 }
23828 }
23829 if (obj3) {
23830 {
23831 arg4 = &temp4;
23832 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23833 }
23834 }
23835 if (obj4) {
23836 {
23837 arg5 = (long)(SWIG_As_long(obj4));
23838 if (SWIG_arg_fail(5)) SWIG_fail;
23839 }
23840 }
23841 if (obj5) {
23842 {
23843 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23844 if (SWIG_arg_fail(6)) SWIG_fail;
23845 if (arg6 == NULL) {
23846 SWIG_null_ref("wxValidator");
23847 }
23848 if (SWIG_arg_fail(6)) SWIG_fail;
23849 }
23850 }
23851 if (obj6) {
23852 {
23853 arg7 = wxString_in_helper(obj6);
23854 if (arg7 == NULL) SWIG_fail;
23855 temp7 = true;
23856 }
23857 }
23858 {
23859 if (!wxPyCheckForApp()) SWIG_fail;
23860 PyThreadState* __tstate = wxPyBeginAllowThreads();
23861 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23862
23863 wxPyEndAllowThreads(__tstate);
23864 if (PyErr_Occurred()) SWIG_fail;
23865 }
23866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23867 {
23868 if (temp7)
23869 delete arg7;
23870 }
23871 return resultobj;
23872 fail:
23873 {
23874 if (temp7)
23875 delete arg7;
23876 }
23877 return NULL;
23878 }
23879
23880
23881 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23882 PyObject *resultobj;
23883 wxPyListCtrl *result;
23884 char *kwnames[] = {
23885 NULL
23886 };
23887
23888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23889 {
23890 if (!wxPyCheckForApp()) SWIG_fail;
23891 PyThreadState* __tstate = wxPyBeginAllowThreads();
23892 result = (wxPyListCtrl *)new wxPyListCtrl();
23893
23894 wxPyEndAllowThreads(__tstate);
23895 if (PyErr_Occurred()) SWIG_fail;
23896 }
23897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23898 return resultobj;
23899 fail:
23900 return NULL;
23901 }
23902
23903
23904 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23905 PyObject *resultobj;
23906 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23907 wxWindow *arg2 = (wxWindow *) 0 ;
23908 int arg3 = (int) -1 ;
23909 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23910 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23911 wxSize const &arg5_defvalue = wxDefaultSize ;
23912 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23913 long arg6 = (long) wxLC_ICON ;
23914 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23915 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23916 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23917 wxString *arg8 = (wxString *) &arg8_defvalue ;
23918 bool result;
23919 wxPoint temp4 ;
23920 wxSize temp5 ;
23921 bool temp8 = false ;
23922 PyObject * obj0 = 0 ;
23923 PyObject * obj1 = 0 ;
23924 PyObject * obj2 = 0 ;
23925 PyObject * obj3 = 0 ;
23926 PyObject * obj4 = 0 ;
23927 PyObject * obj5 = 0 ;
23928 PyObject * obj6 = 0 ;
23929 PyObject * obj7 = 0 ;
23930 char *kwnames[] = {
23931 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23932 };
23933
23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23936 if (SWIG_arg_fail(1)) SWIG_fail;
23937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23938 if (SWIG_arg_fail(2)) SWIG_fail;
23939 if (obj2) {
23940 {
23941 arg3 = (int)(SWIG_As_int(obj2));
23942 if (SWIG_arg_fail(3)) SWIG_fail;
23943 }
23944 }
23945 if (obj3) {
23946 {
23947 arg4 = &temp4;
23948 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23949 }
23950 }
23951 if (obj4) {
23952 {
23953 arg5 = &temp5;
23954 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23955 }
23956 }
23957 if (obj5) {
23958 {
23959 arg6 = (long)(SWIG_As_long(obj5));
23960 if (SWIG_arg_fail(6)) SWIG_fail;
23961 }
23962 }
23963 if (obj6) {
23964 {
23965 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23966 if (SWIG_arg_fail(7)) SWIG_fail;
23967 if (arg7 == NULL) {
23968 SWIG_null_ref("wxValidator");
23969 }
23970 if (SWIG_arg_fail(7)) SWIG_fail;
23971 }
23972 }
23973 if (obj7) {
23974 {
23975 arg8 = wxString_in_helper(obj7);
23976 if (arg8 == NULL) SWIG_fail;
23977 temp8 = true;
23978 }
23979 }
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23983
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 {
23988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23989 }
23990 {
23991 if (temp8)
23992 delete arg8;
23993 }
23994 return resultobj;
23995 fail:
23996 {
23997 if (temp8)
23998 delete arg8;
23999 }
24000 return NULL;
24001 }
24002
24003
24004 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24005 PyObject *resultobj;
24006 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24007 PyObject *arg2 = (PyObject *) 0 ;
24008 PyObject *arg3 = (PyObject *) 0 ;
24009 PyObject * obj0 = 0 ;
24010 PyObject * obj1 = 0 ;
24011 PyObject * obj2 = 0 ;
24012 char *kwnames[] = {
24013 (char *) "self",(char *) "self",(char *) "_class", NULL
24014 };
24015
24016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24018 if (SWIG_arg_fail(1)) SWIG_fail;
24019 arg2 = obj1;
24020 arg3 = obj2;
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 (arg1)->_setCallbackInfo(arg2,arg3);
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 Py_INCREF(Py_None); resultobj = Py_None;
24029 return resultobj;
24030 fail:
24031 return NULL;
24032 }
24033
24034
24035 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj;
24037 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24038 wxColour *arg2 = 0 ;
24039 bool result;
24040 wxColour temp2 ;
24041 PyObject * obj0 = 0 ;
24042 PyObject * obj1 = 0 ;
24043 char *kwnames[] = {
24044 (char *) "self",(char *) "col", NULL
24045 };
24046
24047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
24048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail;
24050 {
24051 arg2 = &temp2;
24052 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24053 }
24054 {
24055 PyThreadState* __tstate = wxPyBeginAllowThreads();
24056 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24057
24058 wxPyEndAllowThreads(__tstate);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 }
24061 {
24062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24063 }
24064 return resultobj;
24065 fail:
24066 return NULL;
24067 }
24068
24069
24070 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24071 PyObject *resultobj;
24072 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24073 wxColour *arg2 = 0 ;
24074 bool result;
24075 wxColour temp2 ;
24076 PyObject * obj0 = 0 ;
24077 PyObject * obj1 = 0 ;
24078 char *kwnames[] = {
24079 (char *) "self",(char *) "col", NULL
24080 };
24081
24082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24084 if (SWIG_arg_fail(1)) SWIG_fail;
24085 {
24086 arg2 = &temp2;
24087 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24088 }
24089 {
24090 PyThreadState* __tstate = wxPyBeginAllowThreads();
24091 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24092
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 {
24097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24098 }
24099 return resultobj;
24100 fail:
24101 return NULL;
24102 }
24103
24104
24105 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24106 PyObject *resultobj;
24107 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24108 int arg2 ;
24109 wxListItem *result;
24110 PyObject * obj0 = 0 ;
24111 PyObject * obj1 = 0 ;
24112 char *kwnames[] = {
24113 (char *) "self",(char *) "col", NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
24117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24118 if (SWIG_arg_fail(1)) SWIG_fail;
24119 {
24120 arg2 = (int)(SWIG_As_int(obj1));
24121 if (SWIG_arg_fail(2)) SWIG_fail;
24122 }
24123 {
24124 PyThreadState* __tstate = wxPyBeginAllowThreads();
24125 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24126
24127 wxPyEndAllowThreads(__tstate);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
24130 {
24131 resultobj = wxPyMake_wxObject(result, 0);
24132 }
24133 return resultobj;
24134 fail:
24135 return NULL;
24136 }
24137
24138
24139 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24140 PyObject *resultobj;
24141 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24142 int arg2 ;
24143 wxListItem *arg3 = 0 ;
24144 bool result;
24145 PyObject * obj0 = 0 ;
24146 PyObject * obj1 = 0 ;
24147 PyObject * obj2 = 0 ;
24148 char *kwnames[] = {
24149 (char *) "self",(char *) "col",(char *) "item", NULL
24150 };
24151
24152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
24153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24154 if (SWIG_arg_fail(1)) SWIG_fail;
24155 {
24156 arg2 = (int)(SWIG_As_int(obj1));
24157 if (SWIG_arg_fail(2)) SWIG_fail;
24158 }
24159 {
24160 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24161 if (SWIG_arg_fail(3)) SWIG_fail;
24162 if (arg3 == NULL) {
24163 SWIG_null_ref("wxListItem");
24164 }
24165 if (SWIG_arg_fail(3)) SWIG_fail;
24166 }
24167 {
24168 PyThreadState* __tstate = wxPyBeginAllowThreads();
24169 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24170
24171 wxPyEndAllowThreads(__tstate);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 }
24174 {
24175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24176 }
24177 return resultobj;
24178 fail:
24179 return NULL;
24180 }
24181
24182
24183 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24184 PyObject *resultobj;
24185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24186 int arg2 ;
24187 int result;
24188 PyObject * obj0 = 0 ;
24189 PyObject * obj1 = 0 ;
24190 char *kwnames[] = {
24191 (char *) "self",(char *) "col", NULL
24192 };
24193
24194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24196 if (SWIG_arg_fail(1)) SWIG_fail;
24197 {
24198 arg2 = (int)(SWIG_As_int(obj1));
24199 if (SWIG_arg_fail(2)) SWIG_fail;
24200 }
24201 {
24202 PyThreadState* __tstate = wxPyBeginAllowThreads();
24203 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24204
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 {
24209 resultobj = SWIG_From_int((int)(result));
24210 }
24211 return resultobj;
24212 fail:
24213 return NULL;
24214 }
24215
24216
24217 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24218 PyObject *resultobj;
24219 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24220 int arg2 ;
24221 int arg3 ;
24222 bool result;
24223 PyObject * obj0 = 0 ;
24224 PyObject * obj1 = 0 ;
24225 PyObject * obj2 = 0 ;
24226 char *kwnames[] = {
24227 (char *) "self",(char *) "col",(char *) "width", NULL
24228 };
24229
24230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24232 if (SWIG_arg_fail(1)) SWIG_fail;
24233 {
24234 arg2 = (int)(SWIG_As_int(obj1));
24235 if (SWIG_arg_fail(2)) SWIG_fail;
24236 }
24237 {
24238 arg3 = (int)(SWIG_As_int(obj2));
24239 if (SWIG_arg_fail(3)) SWIG_fail;
24240 }
24241 {
24242 PyThreadState* __tstate = wxPyBeginAllowThreads();
24243 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24244
24245 wxPyEndAllowThreads(__tstate);
24246 if (PyErr_Occurred()) SWIG_fail;
24247 }
24248 {
24249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24250 }
24251 return resultobj;
24252 fail:
24253 return NULL;
24254 }
24255
24256
24257 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24258 PyObject *resultobj;
24259 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24260 int result;
24261 PyObject * obj0 = 0 ;
24262 char *kwnames[] = {
24263 (char *) "self", NULL
24264 };
24265
24266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
24267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24268 if (SWIG_arg_fail(1)) SWIG_fail;
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24272
24273 wxPyEndAllowThreads(__tstate);
24274 if (PyErr_Occurred()) SWIG_fail;
24275 }
24276 {
24277 resultobj = SWIG_From_int((int)(result));
24278 }
24279 return resultobj;
24280 fail:
24281 return NULL;
24282 }
24283
24284
24285 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24288 wxRect result;
24289 PyObject * obj0 = 0 ;
24290 char *kwnames[] = {
24291 (char *) "self", NULL
24292 };
24293
24294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24296 if (SWIG_arg_fail(1)) SWIG_fail;
24297 {
24298 PyThreadState* __tstate = wxPyBeginAllowThreads();
24299 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24300
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
24304 {
24305 wxRect * resultptr;
24306 resultptr = new wxRect((wxRect &)(result));
24307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24308 }
24309 return resultobj;
24310 fail:
24311 return NULL;
24312 }
24313
24314
24315 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24316 PyObject *resultobj;
24317 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24318 long arg2 ;
24319 int arg3 = (int) 0 ;
24320 wxListItem *result;
24321 PyObject * obj0 = 0 ;
24322 PyObject * obj1 = 0 ;
24323 PyObject * obj2 = 0 ;
24324 char *kwnames[] = {
24325 (char *) "self",(char *) "itemId",(char *) "col", NULL
24326 };
24327
24328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24330 if (SWIG_arg_fail(1)) SWIG_fail;
24331 {
24332 arg2 = (long)(SWIG_As_long(obj1));
24333 if (SWIG_arg_fail(2)) SWIG_fail;
24334 }
24335 if (obj2) {
24336 {
24337 arg3 = (int)(SWIG_As_int(obj2));
24338 if (SWIG_arg_fail(3)) SWIG_fail;
24339 }
24340 }
24341 {
24342 PyThreadState* __tstate = wxPyBeginAllowThreads();
24343 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24344
24345 wxPyEndAllowThreads(__tstate);
24346 if (PyErr_Occurred()) SWIG_fail;
24347 }
24348 {
24349 resultobj = wxPyMake_wxObject(result, 0);
24350 }
24351 return resultobj;
24352 fail:
24353 return NULL;
24354 }
24355
24356
24357 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24358 PyObject *resultobj;
24359 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24360 wxListItem *arg2 = 0 ;
24361 bool result;
24362 PyObject * obj0 = 0 ;
24363 PyObject * obj1 = 0 ;
24364 char *kwnames[] = {
24365 (char *) "self",(char *) "info", NULL
24366 };
24367
24368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24370 if (SWIG_arg_fail(1)) SWIG_fail;
24371 {
24372 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24373 if (SWIG_arg_fail(2)) SWIG_fail;
24374 if (arg2 == NULL) {
24375 SWIG_null_ref("wxListItem");
24376 }
24377 if (SWIG_arg_fail(2)) SWIG_fail;
24378 }
24379 {
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 result = (bool)(arg1)->SetItem(*arg2);
24382
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
24386 {
24387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24388 }
24389 return resultobj;
24390 fail:
24391 return NULL;
24392 }
24393
24394
24395 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24396 PyObject *resultobj;
24397 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24398 long arg2 ;
24399 int arg3 ;
24400 wxString *arg4 = 0 ;
24401 int arg5 = (int) -1 ;
24402 long result;
24403 bool temp4 = false ;
24404 PyObject * obj0 = 0 ;
24405 PyObject * obj1 = 0 ;
24406 PyObject * obj2 = 0 ;
24407 PyObject * obj3 = 0 ;
24408 PyObject * obj4 = 0 ;
24409 char *kwnames[] = {
24410 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24411 };
24412
24413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24415 if (SWIG_arg_fail(1)) SWIG_fail;
24416 {
24417 arg2 = (long)(SWIG_As_long(obj1));
24418 if (SWIG_arg_fail(2)) SWIG_fail;
24419 }
24420 {
24421 arg3 = (int)(SWIG_As_int(obj2));
24422 if (SWIG_arg_fail(3)) SWIG_fail;
24423 }
24424 {
24425 arg4 = wxString_in_helper(obj3);
24426 if (arg4 == NULL) SWIG_fail;
24427 temp4 = true;
24428 }
24429 if (obj4) {
24430 {
24431 arg5 = (int)(SWIG_As_int(obj4));
24432 if (SWIG_arg_fail(5)) SWIG_fail;
24433 }
24434 }
24435 {
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24438
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 {
24443 resultobj = SWIG_From_long((long)(result));
24444 }
24445 {
24446 if (temp4)
24447 delete arg4;
24448 }
24449 return resultobj;
24450 fail:
24451 {
24452 if (temp4)
24453 delete arg4;
24454 }
24455 return NULL;
24456 }
24457
24458
24459 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24460 PyObject *resultobj;
24461 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24462 long arg2 ;
24463 long arg3 ;
24464 int result;
24465 PyObject * obj0 = 0 ;
24466 PyObject * obj1 = 0 ;
24467 PyObject * obj2 = 0 ;
24468 char *kwnames[] = {
24469 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24470 };
24471
24472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24474 if (SWIG_arg_fail(1)) SWIG_fail;
24475 {
24476 arg2 = (long)(SWIG_As_long(obj1));
24477 if (SWIG_arg_fail(2)) SWIG_fail;
24478 }
24479 {
24480 arg3 = (long)(SWIG_As_long(obj2));
24481 if (SWIG_arg_fail(3)) SWIG_fail;
24482 }
24483 {
24484 PyThreadState* __tstate = wxPyBeginAllowThreads();
24485 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24486
24487 wxPyEndAllowThreads(__tstate);
24488 if (PyErr_Occurred()) SWIG_fail;
24489 }
24490 {
24491 resultobj = SWIG_From_int((int)(result));
24492 }
24493 return resultobj;
24494 fail:
24495 return NULL;
24496 }
24497
24498
24499 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24500 PyObject *resultobj;
24501 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24502 long arg2 ;
24503 long arg3 ;
24504 long arg4 ;
24505 bool result;
24506 PyObject * obj0 = 0 ;
24507 PyObject * obj1 = 0 ;
24508 PyObject * obj2 = 0 ;
24509 PyObject * obj3 = 0 ;
24510 char *kwnames[] = {
24511 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24512 };
24513
24514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24516 if (SWIG_arg_fail(1)) SWIG_fail;
24517 {
24518 arg2 = (long)(SWIG_As_long(obj1));
24519 if (SWIG_arg_fail(2)) SWIG_fail;
24520 }
24521 {
24522 arg3 = (long)(SWIG_As_long(obj2));
24523 if (SWIG_arg_fail(3)) SWIG_fail;
24524 }
24525 {
24526 arg4 = (long)(SWIG_As_long(obj3));
24527 if (SWIG_arg_fail(4)) SWIG_fail;
24528 }
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24532
24533 wxPyEndAllowThreads(__tstate);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
24536 {
24537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24538 }
24539 return resultobj;
24540 fail:
24541 return NULL;
24542 }
24543
24544
24545 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24546 PyObject *resultobj;
24547 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24548 long arg2 ;
24549 int arg3 ;
24550 int arg4 = (int) -1 ;
24551 bool result;
24552 PyObject * obj0 = 0 ;
24553 PyObject * obj1 = 0 ;
24554 PyObject * obj2 = 0 ;
24555 PyObject * obj3 = 0 ;
24556 char *kwnames[] = {
24557 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24558 };
24559
24560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24562 if (SWIG_arg_fail(1)) SWIG_fail;
24563 {
24564 arg2 = (long)(SWIG_As_long(obj1));
24565 if (SWIG_arg_fail(2)) SWIG_fail;
24566 }
24567 {
24568 arg3 = (int)(SWIG_As_int(obj2));
24569 if (SWIG_arg_fail(3)) SWIG_fail;
24570 }
24571 if (obj3) {
24572 {
24573 arg4 = (int)(SWIG_As_int(obj3));
24574 if (SWIG_arg_fail(4)) SWIG_fail;
24575 }
24576 }
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24580
24581 wxPyEndAllowThreads(__tstate);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
24584 {
24585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24586 }
24587 return resultobj;
24588 fail:
24589 return NULL;
24590 }
24591
24592
24593 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24594 PyObject *resultobj;
24595 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24596 long arg2 ;
24597 wxString result;
24598 PyObject * obj0 = 0 ;
24599 PyObject * obj1 = 0 ;
24600 char *kwnames[] = {
24601 (char *) "self",(char *) "item", NULL
24602 };
24603
24604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24606 if (SWIG_arg_fail(1)) SWIG_fail;
24607 {
24608 arg2 = (long)(SWIG_As_long(obj1));
24609 if (SWIG_arg_fail(2)) SWIG_fail;
24610 }
24611 {
24612 PyThreadState* __tstate = wxPyBeginAllowThreads();
24613 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24614
24615 wxPyEndAllowThreads(__tstate);
24616 if (PyErr_Occurred()) SWIG_fail;
24617 }
24618 {
24619 #if wxUSE_UNICODE
24620 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24621 #else
24622 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24623 #endif
24624 }
24625 return resultobj;
24626 fail:
24627 return NULL;
24628 }
24629
24630
24631 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24632 PyObject *resultobj;
24633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24634 long arg2 ;
24635 wxString *arg3 = 0 ;
24636 bool temp3 = false ;
24637 PyObject * obj0 = 0 ;
24638 PyObject * obj1 = 0 ;
24639 PyObject * obj2 = 0 ;
24640 char *kwnames[] = {
24641 (char *) "self",(char *) "item",(char *) "str", NULL
24642 };
24643
24644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24646 if (SWIG_arg_fail(1)) SWIG_fail;
24647 {
24648 arg2 = (long)(SWIG_As_long(obj1));
24649 if (SWIG_arg_fail(2)) SWIG_fail;
24650 }
24651 {
24652 arg3 = wxString_in_helper(obj2);
24653 if (arg3 == NULL) SWIG_fail;
24654 temp3 = true;
24655 }
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24659
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 Py_INCREF(Py_None); resultobj = Py_None;
24664 {
24665 if (temp3)
24666 delete arg3;
24667 }
24668 return resultobj;
24669 fail:
24670 {
24671 if (temp3)
24672 delete arg3;
24673 }
24674 return NULL;
24675 }
24676
24677
24678 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24679 PyObject *resultobj;
24680 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24681 long arg2 ;
24682 long result;
24683 PyObject * obj0 = 0 ;
24684 PyObject * obj1 = 0 ;
24685 char *kwnames[] = {
24686 (char *) "self",(char *) "item", NULL
24687 };
24688
24689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24691 if (SWIG_arg_fail(1)) SWIG_fail;
24692 {
24693 arg2 = (long)(SWIG_As_long(obj1));
24694 if (SWIG_arg_fail(2)) SWIG_fail;
24695 }
24696 {
24697 PyThreadState* __tstate = wxPyBeginAllowThreads();
24698 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24699
24700 wxPyEndAllowThreads(__tstate);
24701 if (PyErr_Occurred()) SWIG_fail;
24702 }
24703 {
24704 resultobj = SWIG_From_long((long)(result));
24705 }
24706 return resultobj;
24707 fail:
24708 return NULL;
24709 }
24710
24711
24712 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24713 PyObject *resultobj;
24714 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24715 long arg2 ;
24716 long arg3 ;
24717 bool result;
24718 PyObject * obj0 = 0 ;
24719 PyObject * obj1 = 0 ;
24720 PyObject * obj2 = 0 ;
24721 char *kwnames[] = {
24722 (char *) "self",(char *) "item",(char *) "data", NULL
24723 };
24724
24725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24727 if (SWIG_arg_fail(1)) SWIG_fail;
24728 {
24729 arg2 = (long)(SWIG_As_long(obj1));
24730 if (SWIG_arg_fail(2)) SWIG_fail;
24731 }
24732 {
24733 arg3 = (long)(SWIG_As_long(obj2));
24734 if (SWIG_arg_fail(3)) SWIG_fail;
24735 }
24736 {
24737 PyThreadState* __tstate = wxPyBeginAllowThreads();
24738 result = (bool)(arg1)->SetItemData(arg2,arg3);
24739
24740 wxPyEndAllowThreads(__tstate);
24741 if (PyErr_Occurred()) SWIG_fail;
24742 }
24743 {
24744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24745 }
24746 return resultobj;
24747 fail:
24748 return NULL;
24749 }
24750
24751
24752 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24753 PyObject *resultobj;
24754 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24755 long arg2 ;
24756 wxPoint result;
24757 PyObject * obj0 = 0 ;
24758 PyObject * obj1 = 0 ;
24759 char *kwnames[] = {
24760 (char *) "self",(char *) "item", NULL
24761 };
24762
24763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
24764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24765 if (SWIG_arg_fail(1)) SWIG_fail;
24766 {
24767 arg2 = (long)(SWIG_As_long(obj1));
24768 if (SWIG_arg_fail(2)) SWIG_fail;
24769 }
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 {
24778 wxPoint * resultptr;
24779 resultptr = new wxPoint((wxPoint &)(result));
24780 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24781 }
24782 return resultobj;
24783 fail:
24784 return NULL;
24785 }
24786
24787
24788 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24789 PyObject *resultobj;
24790 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24791 long arg2 ;
24792 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24793 wxRect result;
24794 PyObject * obj0 = 0 ;
24795 PyObject * obj1 = 0 ;
24796 PyObject * obj2 = 0 ;
24797 char *kwnames[] = {
24798 (char *) "self",(char *) "item",(char *) "code", NULL
24799 };
24800
24801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24803 if (SWIG_arg_fail(1)) SWIG_fail;
24804 {
24805 arg2 = (long)(SWIG_As_long(obj1));
24806 if (SWIG_arg_fail(2)) SWIG_fail;
24807 }
24808 if (obj2) {
24809 {
24810 arg3 = (int)(SWIG_As_int(obj2));
24811 if (SWIG_arg_fail(3)) SWIG_fail;
24812 }
24813 }
24814 {
24815 PyThreadState* __tstate = wxPyBeginAllowThreads();
24816 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24817
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 {
24822 wxRect * resultptr;
24823 resultptr = new wxRect((wxRect &)(result));
24824 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24825 }
24826 return resultobj;
24827 fail:
24828 return NULL;
24829 }
24830
24831
24832 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24833 PyObject *resultobj;
24834 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24835 long arg2 ;
24836 wxPoint *arg3 = 0 ;
24837 bool result;
24838 wxPoint temp3 ;
24839 PyObject * obj0 = 0 ;
24840 PyObject * obj1 = 0 ;
24841 PyObject * obj2 = 0 ;
24842 char *kwnames[] = {
24843 (char *) "self",(char *) "item",(char *) "pos", NULL
24844 };
24845
24846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24848 if (SWIG_arg_fail(1)) SWIG_fail;
24849 {
24850 arg2 = (long)(SWIG_As_long(obj1));
24851 if (SWIG_arg_fail(2)) SWIG_fail;
24852 }
24853 {
24854 arg3 = &temp3;
24855 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24856 }
24857 {
24858 PyThreadState* __tstate = wxPyBeginAllowThreads();
24859 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24860
24861 wxPyEndAllowThreads(__tstate);
24862 if (PyErr_Occurred()) SWIG_fail;
24863 }
24864 {
24865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24866 }
24867 return resultobj;
24868 fail:
24869 return NULL;
24870 }
24871
24872
24873 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24874 PyObject *resultobj;
24875 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24876 int result;
24877 PyObject * obj0 = 0 ;
24878 char *kwnames[] = {
24879 (char *) "self", NULL
24880 };
24881
24882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24884 if (SWIG_arg_fail(1)) SWIG_fail;
24885 {
24886 PyThreadState* __tstate = wxPyBeginAllowThreads();
24887 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24888
24889 wxPyEndAllowThreads(__tstate);
24890 if (PyErr_Occurred()) SWIG_fail;
24891 }
24892 {
24893 resultobj = SWIG_From_int((int)(result));
24894 }
24895 return resultobj;
24896 fail:
24897 return NULL;
24898 }
24899
24900
24901 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
24902 PyObject *resultobj;
24903 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24904 int result;
24905 PyObject * obj0 = 0 ;
24906 char *kwnames[] = {
24907 (char *) "self", NULL
24908 };
24909
24910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
24911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24912 if (SWIG_arg_fail(1)) SWIG_fail;
24913 {
24914 PyThreadState* __tstate = wxPyBeginAllowThreads();
24915 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24916
24917 wxPyEndAllowThreads(__tstate);
24918 if (PyErr_Occurred()) SWIG_fail;
24919 }
24920 {
24921 resultobj = SWIG_From_int((int)(result));
24922 }
24923 return resultobj;
24924 fail:
24925 return NULL;
24926 }
24927
24928
24929 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24930 PyObject *resultobj;
24931 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24932 wxSize result;
24933 PyObject * obj0 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self", NULL
24936 };
24937
24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
24939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24940 if (SWIG_arg_fail(1)) SWIG_fail;
24941 {
24942 PyThreadState* __tstate = wxPyBeginAllowThreads();
24943 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24944
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 {
24949 wxSize * resultptr;
24950 resultptr = new wxSize((wxSize &)(result));
24951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24952 }
24953 return resultobj;
24954 fail:
24955 return NULL;
24956 }
24957
24958
24959 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24960 PyObject *resultobj;
24961 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24962 int arg2 ;
24963 bool arg3 = (bool) false ;
24964 PyObject * obj0 = 0 ;
24965 PyObject * obj1 = 0 ;
24966 PyObject * obj2 = 0 ;
24967 char *kwnames[] = {
24968 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24969 };
24970
24971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
24972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24973 if (SWIG_arg_fail(1)) SWIG_fail;
24974 {
24975 arg2 = (int)(SWIG_As_int(obj1));
24976 if (SWIG_arg_fail(2)) SWIG_fail;
24977 }
24978 if (obj2) {
24979 {
24980 arg3 = (bool)(SWIG_As_bool(obj2));
24981 if (SWIG_arg_fail(3)) SWIG_fail;
24982 }
24983 }
24984 {
24985 PyThreadState* __tstate = wxPyBeginAllowThreads();
24986 (arg1)->SetItemSpacing(arg2,arg3);
24987
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 Py_INCREF(Py_None); resultobj = Py_None;
24992 return resultobj;
24993 fail:
24994 return NULL;
24995 }
24996
24997
24998 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24999 PyObject *resultobj;
25000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25001 int result;
25002 PyObject * obj0 = 0 ;
25003 char *kwnames[] = {
25004 (char *) "self", NULL
25005 };
25006
25007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
25008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25009 if (SWIG_arg_fail(1)) SWIG_fail;
25010 {
25011 PyThreadState* __tstate = wxPyBeginAllowThreads();
25012 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25013
25014 wxPyEndAllowThreads(__tstate);
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
25017 {
25018 resultobj = SWIG_From_int((int)(result));
25019 }
25020 return resultobj;
25021 fail:
25022 return NULL;
25023 }
25024
25025
25026 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25027 PyObject *resultobj;
25028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25029 wxColour result;
25030 PyObject * obj0 = 0 ;
25031 char *kwnames[] = {
25032 (char *) "self", NULL
25033 };
25034
25035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
25036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25037 if (SWIG_arg_fail(1)) SWIG_fail;
25038 {
25039 PyThreadState* __tstate = wxPyBeginAllowThreads();
25040 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25041
25042 wxPyEndAllowThreads(__tstate);
25043 if (PyErr_Occurred()) SWIG_fail;
25044 }
25045 {
25046 wxColour * resultptr;
25047 resultptr = new wxColour((wxColour &)(result));
25048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25049 }
25050 return resultobj;
25051 fail:
25052 return NULL;
25053 }
25054
25055
25056 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25057 PyObject *resultobj;
25058 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25059 wxColour *arg2 = 0 ;
25060 wxColour temp2 ;
25061 PyObject * obj0 = 0 ;
25062 PyObject * obj1 = 0 ;
25063 char *kwnames[] = {
25064 (char *) "self",(char *) "col", NULL
25065 };
25066
25067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
25068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25069 if (SWIG_arg_fail(1)) SWIG_fail;
25070 {
25071 arg2 = &temp2;
25072 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25073 }
25074 {
25075 PyThreadState* __tstate = wxPyBeginAllowThreads();
25076 (arg1)->SetTextColour((wxColour const &)*arg2);
25077
25078 wxPyEndAllowThreads(__tstate);
25079 if (PyErr_Occurred()) SWIG_fail;
25080 }
25081 Py_INCREF(Py_None); resultobj = Py_None;
25082 return resultobj;
25083 fail:
25084 return NULL;
25085 }
25086
25087
25088 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
25089 PyObject *resultobj;
25090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25091 long result;
25092 PyObject * obj0 = 0 ;
25093 char *kwnames[] = {
25094 (char *) "self", NULL
25095 };
25096
25097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
25098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25099 if (SWIG_arg_fail(1)) SWIG_fail;
25100 {
25101 PyThreadState* __tstate = wxPyBeginAllowThreads();
25102 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25103
25104 wxPyEndAllowThreads(__tstate);
25105 if (PyErr_Occurred()) SWIG_fail;
25106 }
25107 {
25108 resultobj = SWIG_From_long((long)(result));
25109 }
25110 return resultobj;
25111 fail:
25112 return NULL;
25113 }
25114
25115
25116 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
25117 PyObject *resultobj;
25118 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25119 long arg2 ;
25120 bool arg3 = (bool) true ;
25121 PyObject * obj0 = 0 ;
25122 PyObject * obj1 = 0 ;
25123 PyObject * obj2 = 0 ;
25124 char *kwnames[] = {
25125 (char *) "self",(char *) "style",(char *) "add", NULL
25126 };
25127
25128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
25129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25130 if (SWIG_arg_fail(1)) SWIG_fail;
25131 {
25132 arg2 = (long)(SWIG_As_long(obj1));
25133 if (SWIG_arg_fail(2)) SWIG_fail;
25134 }
25135 if (obj2) {
25136 {
25137 arg3 = (bool)(SWIG_As_bool(obj2));
25138 if (SWIG_arg_fail(3)) SWIG_fail;
25139 }
25140 }
25141 {
25142 PyThreadState* __tstate = wxPyBeginAllowThreads();
25143 (arg1)->SetSingleStyle(arg2,arg3);
25144
25145 wxPyEndAllowThreads(__tstate);
25146 if (PyErr_Occurred()) SWIG_fail;
25147 }
25148 Py_INCREF(Py_None); resultobj = Py_None;
25149 return resultobj;
25150 fail:
25151 return NULL;
25152 }
25153
25154
25155 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
25156 PyObject *resultobj;
25157 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25158 long arg2 ;
25159 PyObject * obj0 = 0 ;
25160 PyObject * obj1 = 0 ;
25161 char *kwnames[] = {
25162 (char *) "self",(char *) "style", NULL
25163 };
25164
25165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
25166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25167 if (SWIG_arg_fail(1)) SWIG_fail;
25168 {
25169 arg2 = (long)(SWIG_As_long(obj1));
25170 if (SWIG_arg_fail(2)) SWIG_fail;
25171 }
25172 {
25173 PyThreadState* __tstate = wxPyBeginAllowThreads();
25174 (arg1)->SetWindowStyleFlag(arg2);
25175
25176 wxPyEndAllowThreads(__tstate);
25177 if (PyErr_Occurred()) SWIG_fail;
25178 }
25179 Py_INCREF(Py_None); resultobj = Py_None;
25180 return resultobj;
25181 fail:
25182 return NULL;
25183 }
25184
25185
25186 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
25187 PyObject *resultobj;
25188 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25189 long arg2 ;
25190 int arg3 = (int) wxLIST_NEXT_ALL ;
25191 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25192 long result;
25193 PyObject * obj0 = 0 ;
25194 PyObject * obj1 = 0 ;
25195 PyObject * obj2 = 0 ;
25196 PyObject * obj3 = 0 ;
25197 char *kwnames[] = {
25198 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25199 };
25200
25201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25203 if (SWIG_arg_fail(1)) SWIG_fail;
25204 {
25205 arg2 = (long)(SWIG_As_long(obj1));
25206 if (SWIG_arg_fail(2)) SWIG_fail;
25207 }
25208 if (obj2) {
25209 {
25210 arg3 = (int)(SWIG_As_int(obj2));
25211 if (SWIG_arg_fail(3)) SWIG_fail;
25212 }
25213 }
25214 if (obj3) {
25215 {
25216 arg4 = (int)(SWIG_As_int(obj3));
25217 if (SWIG_arg_fail(4)) SWIG_fail;
25218 }
25219 }
25220 {
25221 PyThreadState* __tstate = wxPyBeginAllowThreads();
25222 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25223
25224 wxPyEndAllowThreads(__tstate);
25225 if (PyErr_Occurred()) SWIG_fail;
25226 }
25227 {
25228 resultobj = SWIG_From_long((long)(result));
25229 }
25230 return resultobj;
25231 fail:
25232 return NULL;
25233 }
25234
25235
25236 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25237 PyObject *resultobj;
25238 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25239 int arg2 ;
25240 wxImageList *result;
25241 PyObject * obj0 = 0 ;
25242 PyObject * obj1 = 0 ;
25243 char *kwnames[] = {
25244 (char *) "self",(char *) "which", NULL
25245 };
25246
25247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
25248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25249 if (SWIG_arg_fail(1)) SWIG_fail;
25250 {
25251 arg2 = (int)(SWIG_As_int(obj1));
25252 if (SWIG_arg_fail(2)) SWIG_fail;
25253 }
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25257
25258 wxPyEndAllowThreads(__tstate);
25259 if (PyErr_Occurred()) SWIG_fail;
25260 }
25261 {
25262 resultobj = wxPyMake_wxObject(result, 0);
25263 }
25264 return resultobj;
25265 fail:
25266 return NULL;
25267 }
25268
25269
25270 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25271 PyObject *resultobj;
25272 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25273 wxImageList *arg2 = (wxImageList *) 0 ;
25274 int arg3 ;
25275 PyObject * obj0 = 0 ;
25276 PyObject * obj1 = 0 ;
25277 PyObject * obj2 = 0 ;
25278 char *kwnames[] = {
25279 (char *) "self",(char *) "imageList",(char *) "which", NULL
25280 };
25281
25282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25284 if (SWIG_arg_fail(1)) SWIG_fail;
25285 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25286 if (SWIG_arg_fail(2)) SWIG_fail;
25287 {
25288 arg3 = (int)(SWIG_As_int(obj2));
25289 if (SWIG_arg_fail(3)) SWIG_fail;
25290 }
25291 {
25292 PyThreadState* __tstate = wxPyBeginAllowThreads();
25293 (arg1)->SetImageList(arg2,arg3);
25294
25295 wxPyEndAllowThreads(__tstate);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 Py_INCREF(Py_None); resultobj = Py_None;
25299 return resultobj;
25300 fail:
25301 return NULL;
25302 }
25303
25304
25305 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25306 PyObject *resultobj;
25307 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25308 wxImageList *arg2 = (wxImageList *) 0 ;
25309 int arg3 ;
25310 PyObject * obj0 = 0 ;
25311 PyObject * obj1 = 0 ;
25312 PyObject * obj2 = 0 ;
25313 char *kwnames[] = {
25314 (char *) "self",(char *) "imageList",(char *) "which", NULL
25315 };
25316
25317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25319 if (SWIG_arg_fail(1)) SWIG_fail;
25320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25321 if (SWIG_arg_fail(2)) SWIG_fail;
25322 {
25323 arg3 = (int)(SWIG_As_int(obj2));
25324 if (SWIG_arg_fail(3)) SWIG_fail;
25325 }
25326 {
25327 PyThreadState* __tstate = wxPyBeginAllowThreads();
25328 (arg1)->AssignImageList(arg2,arg3);
25329
25330 wxPyEndAllowThreads(__tstate);
25331 if (PyErr_Occurred()) SWIG_fail;
25332 }
25333 Py_INCREF(Py_None); resultobj = Py_None;
25334 return resultobj;
25335 fail:
25336 return NULL;
25337 }
25338
25339
25340 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25341 PyObject *resultobj;
25342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25343 bool result;
25344 PyObject * obj0 = 0 ;
25345 char *kwnames[] = {
25346 (char *) "self", NULL
25347 };
25348
25349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25351 if (SWIG_arg_fail(1)) SWIG_fail;
25352 {
25353 PyThreadState* __tstate = wxPyBeginAllowThreads();
25354 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25355
25356 wxPyEndAllowThreads(__tstate);
25357 if (PyErr_Occurred()) SWIG_fail;
25358 }
25359 {
25360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25361 }
25362 return resultobj;
25363 fail:
25364 return NULL;
25365 }
25366
25367
25368 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25369 PyObject *resultobj;
25370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25371 bool result;
25372 PyObject * obj0 = 0 ;
25373 char *kwnames[] = {
25374 (char *) "self", NULL
25375 };
25376
25377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25379 if (SWIG_arg_fail(1)) SWIG_fail;
25380 {
25381 PyThreadState* __tstate = wxPyBeginAllowThreads();
25382 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25383
25384 wxPyEndAllowThreads(__tstate);
25385 if (PyErr_Occurred()) SWIG_fail;
25386 }
25387 {
25388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25389 }
25390 return resultobj;
25391 fail:
25392 return NULL;
25393 }
25394
25395
25396 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25397 PyObject *resultobj;
25398 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25399 long arg2 ;
25400 PyObject * obj0 = 0 ;
25401 PyObject * obj1 = 0 ;
25402 char *kwnames[] = {
25403 (char *) "self",(char *) "item", NULL
25404 };
25405
25406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
25407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25408 if (SWIG_arg_fail(1)) SWIG_fail;
25409 {
25410 arg2 = (long)(SWIG_As_long(obj1));
25411 if (SWIG_arg_fail(2)) SWIG_fail;
25412 }
25413 {
25414 PyThreadState* __tstate = wxPyBeginAllowThreads();
25415 (arg1)->RefreshItem(arg2);
25416
25417 wxPyEndAllowThreads(__tstate);
25418 if (PyErr_Occurred()) SWIG_fail;
25419 }
25420 Py_INCREF(Py_None); resultobj = Py_None;
25421 return resultobj;
25422 fail:
25423 return NULL;
25424 }
25425
25426
25427 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25428 PyObject *resultobj;
25429 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25430 long arg2 ;
25431 long arg3 ;
25432 PyObject * obj0 = 0 ;
25433 PyObject * obj1 = 0 ;
25434 PyObject * obj2 = 0 ;
25435 char *kwnames[] = {
25436 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25437 };
25438
25439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25441 if (SWIG_arg_fail(1)) SWIG_fail;
25442 {
25443 arg2 = (long)(SWIG_As_long(obj1));
25444 if (SWIG_arg_fail(2)) SWIG_fail;
25445 }
25446 {
25447 arg3 = (long)(SWIG_As_long(obj2));
25448 if (SWIG_arg_fail(3)) SWIG_fail;
25449 }
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 (arg1)->RefreshItems(arg2,arg3);
25453
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 Py_INCREF(Py_None); resultobj = Py_None;
25458 return resultobj;
25459 fail:
25460 return NULL;
25461 }
25462
25463
25464 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25465 PyObject *resultobj;
25466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25467 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25468 bool result;
25469 PyObject * obj0 = 0 ;
25470 PyObject * obj1 = 0 ;
25471 char *kwnames[] = {
25472 (char *) "self",(char *) "flag", NULL
25473 };
25474
25475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25477 if (SWIG_arg_fail(1)) SWIG_fail;
25478 if (obj1) {
25479 {
25480 arg2 = (int)(SWIG_As_int(obj1));
25481 if (SWIG_arg_fail(2)) SWIG_fail;
25482 }
25483 }
25484 {
25485 PyThreadState* __tstate = wxPyBeginAllowThreads();
25486 result = (bool)(arg1)->Arrange(arg2);
25487
25488 wxPyEndAllowThreads(__tstate);
25489 if (PyErr_Occurred()) SWIG_fail;
25490 }
25491 {
25492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25493 }
25494 return resultobj;
25495 fail:
25496 return NULL;
25497 }
25498
25499
25500 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25501 PyObject *resultobj;
25502 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25503 long arg2 ;
25504 bool result;
25505 PyObject * obj0 = 0 ;
25506 PyObject * obj1 = 0 ;
25507 char *kwnames[] = {
25508 (char *) "self",(char *) "item", NULL
25509 };
25510
25511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25513 if (SWIG_arg_fail(1)) SWIG_fail;
25514 {
25515 arg2 = (long)(SWIG_As_long(obj1));
25516 if (SWIG_arg_fail(2)) SWIG_fail;
25517 }
25518 {
25519 PyThreadState* __tstate = wxPyBeginAllowThreads();
25520 result = (bool)(arg1)->DeleteItem(arg2);
25521
25522 wxPyEndAllowThreads(__tstate);
25523 if (PyErr_Occurred()) SWIG_fail;
25524 }
25525 {
25526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25527 }
25528 return resultobj;
25529 fail:
25530 return NULL;
25531 }
25532
25533
25534 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25535 PyObject *resultobj;
25536 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25537 bool result;
25538 PyObject * obj0 = 0 ;
25539 char *kwnames[] = {
25540 (char *) "self", NULL
25541 };
25542
25543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25545 if (SWIG_arg_fail(1)) SWIG_fail;
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 result = (bool)(arg1)->DeleteAllItems();
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 {
25554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25555 }
25556 return resultobj;
25557 fail:
25558 return NULL;
25559 }
25560
25561
25562 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25563 PyObject *resultobj;
25564 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25565 int arg2 ;
25566 bool result;
25567 PyObject * obj0 = 0 ;
25568 PyObject * obj1 = 0 ;
25569 char *kwnames[] = {
25570 (char *) "self",(char *) "col", NULL
25571 };
25572
25573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25575 if (SWIG_arg_fail(1)) SWIG_fail;
25576 {
25577 arg2 = (int)(SWIG_As_int(obj1));
25578 if (SWIG_arg_fail(2)) SWIG_fail;
25579 }
25580 {
25581 PyThreadState* __tstate = wxPyBeginAllowThreads();
25582 result = (bool)(arg1)->DeleteColumn(arg2);
25583
25584 wxPyEndAllowThreads(__tstate);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
25587 {
25588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25589 }
25590 return resultobj;
25591 fail:
25592 return NULL;
25593 }
25594
25595
25596 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25597 PyObject *resultobj;
25598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25599 bool result;
25600 PyObject * obj0 = 0 ;
25601 char *kwnames[] = {
25602 (char *) "self", NULL
25603 };
25604
25605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail;
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 result = (bool)(arg1)->DeleteAllColumns();
25611
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 {
25616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25617 }
25618 return resultobj;
25619 fail:
25620 return NULL;
25621 }
25622
25623
25624 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25625 PyObject *resultobj;
25626 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25627 PyObject * obj0 = 0 ;
25628 char *kwnames[] = {
25629 (char *) "self", NULL
25630 };
25631
25632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25634 if (SWIG_arg_fail(1)) SWIG_fail;
25635 {
25636 PyThreadState* __tstate = wxPyBeginAllowThreads();
25637 (arg1)->ClearAll();
25638
25639 wxPyEndAllowThreads(__tstate);
25640 if (PyErr_Occurred()) SWIG_fail;
25641 }
25642 Py_INCREF(Py_None); resultobj = Py_None;
25643 return resultobj;
25644 fail:
25645 return NULL;
25646 }
25647
25648
25649 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25650 PyObject *resultobj;
25651 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25652 long arg2 ;
25653 PyObject * obj0 = 0 ;
25654 PyObject * obj1 = 0 ;
25655 char *kwnames[] = {
25656 (char *) "self",(char *) "item", NULL
25657 };
25658
25659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25661 if (SWIG_arg_fail(1)) SWIG_fail;
25662 {
25663 arg2 = (long)(SWIG_As_long(obj1));
25664 if (SWIG_arg_fail(2)) SWIG_fail;
25665 }
25666 {
25667 PyThreadState* __tstate = wxPyBeginAllowThreads();
25668 (arg1)->EditLabel(arg2);
25669
25670 wxPyEndAllowThreads(__tstate);
25671 if (PyErr_Occurred()) SWIG_fail;
25672 }
25673 Py_INCREF(Py_None); resultobj = Py_None;
25674 return resultobj;
25675 fail:
25676 return NULL;
25677 }
25678
25679
25680 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25681 PyObject *resultobj;
25682 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25683 long arg2 ;
25684 bool result;
25685 PyObject * obj0 = 0 ;
25686 PyObject * obj1 = 0 ;
25687 char *kwnames[] = {
25688 (char *) "self",(char *) "item", NULL
25689 };
25690
25691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25693 if (SWIG_arg_fail(1)) SWIG_fail;
25694 {
25695 arg2 = (long)(SWIG_As_long(obj1));
25696 if (SWIG_arg_fail(2)) SWIG_fail;
25697 }
25698 {
25699 PyThreadState* __tstate = wxPyBeginAllowThreads();
25700 result = (bool)(arg1)->EnsureVisible(arg2);
25701
25702 wxPyEndAllowThreads(__tstate);
25703 if (PyErr_Occurred()) SWIG_fail;
25704 }
25705 {
25706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25707 }
25708 return resultobj;
25709 fail:
25710 return NULL;
25711 }
25712
25713
25714 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25715 PyObject *resultobj;
25716 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25717 long arg2 ;
25718 wxString *arg3 = 0 ;
25719 bool arg4 = (bool) false ;
25720 long result;
25721 bool temp3 = false ;
25722 PyObject * obj0 = 0 ;
25723 PyObject * obj1 = 0 ;
25724 PyObject * obj2 = 0 ;
25725 PyObject * obj3 = 0 ;
25726 char *kwnames[] = {
25727 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25728 };
25729
25730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25732 if (SWIG_arg_fail(1)) SWIG_fail;
25733 {
25734 arg2 = (long)(SWIG_As_long(obj1));
25735 if (SWIG_arg_fail(2)) SWIG_fail;
25736 }
25737 {
25738 arg3 = wxString_in_helper(obj2);
25739 if (arg3 == NULL) SWIG_fail;
25740 temp3 = true;
25741 }
25742 if (obj3) {
25743 {
25744 arg4 = (bool)(SWIG_As_bool(obj3));
25745 if (SWIG_arg_fail(4)) SWIG_fail;
25746 }
25747 }
25748 {
25749 PyThreadState* __tstate = wxPyBeginAllowThreads();
25750 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25751
25752 wxPyEndAllowThreads(__tstate);
25753 if (PyErr_Occurred()) SWIG_fail;
25754 }
25755 {
25756 resultobj = SWIG_From_long((long)(result));
25757 }
25758 {
25759 if (temp3)
25760 delete arg3;
25761 }
25762 return resultobj;
25763 fail:
25764 {
25765 if (temp3)
25766 delete arg3;
25767 }
25768 return NULL;
25769 }
25770
25771
25772 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25773 PyObject *resultobj;
25774 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25775 long arg2 ;
25776 long arg3 ;
25777 long result;
25778 PyObject * obj0 = 0 ;
25779 PyObject * obj1 = 0 ;
25780 PyObject * obj2 = 0 ;
25781 char *kwnames[] = {
25782 (char *) "self",(char *) "start",(char *) "data", NULL
25783 };
25784
25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25787 if (SWIG_arg_fail(1)) SWIG_fail;
25788 {
25789 arg2 = (long)(SWIG_As_long(obj1));
25790 if (SWIG_arg_fail(2)) SWIG_fail;
25791 }
25792 {
25793 arg3 = (long)(SWIG_As_long(obj2));
25794 if (SWIG_arg_fail(3)) SWIG_fail;
25795 }
25796 {
25797 PyThreadState* __tstate = wxPyBeginAllowThreads();
25798 result = (long)(arg1)->FindItem(arg2,arg3);
25799
25800 wxPyEndAllowThreads(__tstate);
25801 if (PyErr_Occurred()) SWIG_fail;
25802 }
25803 {
25804 resultobj = SWIG_From_long((long)(result));
25805 }
25806 return resultobj;
25807 fail:
25808 return NULL;
25809 }
25810
25811
25812 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25813 PyObject *resultobj;
25814 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25815 long arg2 ;
25816 wxPoint *arg3 = 0 ;
25817 int arg4 ;
25818 long result;
25819 wxPoint temp3 ;
25820 PyObject * obj0 = 0 ;
25821 PyObject * obj1 = 0 ;
25822 PyObject * obj2 = 0 ;
25823 PyObject * obj3 = 0 ;
25824 char *kwnames[] = {
25825 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25826 };
25827
25828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25830 if (SWIG_arg_fail(1)) SWIG_fail;
25831 {
25832 arg2 = (long)(SWIG_As_long(obj1));
25833 if (SWIG_arg_fail(2)) SWIG_fail;
25834 }
25835 {
25836 arg3 = &temp3;
25837 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25838 }
25839 {
25840 arg4 = (int)(SWIG_As_int(obj3));
25841 if (SWIG_arg_fail(4)) SWIG_fail;
25842 }
25843 {
25844 PyThreadState* __tstate = wxPyBeginAllowThreads();
25845 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25846
25847 wxPyEndAllowThreads(__tstate);
25848 if (PyErr_Occurred()) SWIG_fail;
25849 }
25850 {
25851 resultobj = SWIG_From_long((long)(result));
25852 }
25853 return resultobj;
25854 fail:
25855 return NULL;
25856 }
25857
25858
25859 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25860 PyObject *resultobj;
25861 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25862 wxPoint *arg2 = 0 ;
25863 int *arg3 = 0 ;
25864 long result;
25865 wxPoint temp2 ;
25866 int temp3 ;
25867 int res3 = 0 ;
25868 PyObject * obj0 = 0 ;
25869 PyObject * obj1 = 0 ;
25870 char *kwnames[] = {
25871 (char *) "self",(char *) "point", NULL
25872 };
25873
25874 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25877 if (SWIG_arg_fail(1)) SWIG_fail;
25878 {
25879 arg2 = &temp2;
25880 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25881 }
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25885
25886 wxPyEndAllowThreads(__tstate);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
25889 {
25890 resultobj = SWIG_From_long((long)(result));
25891 }
25892 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25893 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25894 return resultobj;
25895 fail:
25896 return NULL;
25897 }
25898
25899
25900 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25901 PyObject *resultobj;
25902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25903 wxListItem *arg2 = 0 ;
25904 long result;
25905 PyObject * obj0 = 0 ;
25906 PyObject * obj1 = 0 ;
25907 char *kwnames[] = {
25908 (char *) "self",(char *) "info", NULL
25909 };
25910
25911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
25912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail;
25914 {
25915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25916 if (SWIG_arg_fail(2)) SWIG_fail;
25917 if (arg2 == NULL) {
25918 SWIG_null_ref("wxListItem");
25919 }
25920 if (SWIG_arg_fail(2)) SWIG_fail;
25921 }
25922 {
25923 PyThreadState* __tstate = wxPyBeginAllowThreads();
25924 result = (long)(arg1)->InsertItem(*arg2);
25925
25926 wxPyEndAllowThreads(__tstate);
25927 if (PyErr_Occurred()) SWIG_fail;
25928 }
25929 {
25930 resultobj = SWIG_From_long((long)(result));
25931 }
25932 return resultobj;
25933 fail:
25934 return NULL;
25935 }
25936
25937
25938 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25939 PyObject *resultobj;
25940 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25941 long arg2 ;
25942 wxString *arg3 = 0 ;
25943 long result;
25944 bool temp3 = false ;
25945 PyObject * obj0 = 0 ;
25946 PyObject * obj1 = 0 ;
25947 PyObject * obj2 = 0 ;
25948 char *kwnames[] = {
25949 (char *) "self",(char *) "index",(char *) "label", NULL
25950 };
25951
25952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25954 if (SWIG_arg_fail(1)) SWIG_fail;
25955 {
25956 arg2 = (long)(SWIG_As_long(obj1));
25957 if (SWIG_arg_fail(2)) SWIG_fail;
25958 }
25959 {
25960 arg3 = wxString_in_helper(obj2);
25961 if (arg3 == NULL) SWIG_fail;
25962 temp3 = true;
25963 }
25964 {
25965 PyThreadState* __tstate = wxPyBeginAllowThreads();
25966 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25967
25968 wxPyEndAllowThreads(__tstate);
25969 if (PyErr_Occurred()) SWIG_fail;
25970 }
25971 {
25972 resultobj = SWIG_From_long((long)(result));
25973 }
25974 {
25975 if (temp3)
25976 delete arg3;
25977 }
25978 return resultobj;
25979 fail:
25980 {
25981 if (temp3)
25982 delete arg3;
25983 }
25984 return NULL;
25985 }
25986
25987
25988 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
25989 PyObject *resultobj;
25990 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25991 long arg2 ;
25992 int arg3 ;
25993 long result;
25994 PyObject * obj0 = 0 ;
25995 PyObject * obj1 = 0 ;
25996 PyObject * obj2 = 0 ;
25997 char *kwnames[] = {
25998 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25999 };
26000
26001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26003 if (SWIG_arg_fail(1)) SWIG_fail;
26004 {
26005 arg2 = (long)(SWIG_As_long(obj1));
26006 if (SWIG_arg_fail(2)) SWIG_fail;
26007 }
26008 {
26009 arg3 = (int)(SWIG_As_int(obj2));
26010 if (SWIG_arg_fail(3)) SWIG_fail;
26011 }
26012 {
26013 PyThreadState* __tstate = wxPyBeginAllowThreads();
26014 result = (long)(arg1)->InsertItem(arg2,arg3);
26015
26016 wxPyEndAllowThreads(__tstate);
26017 if (PyErr_Occurred()) SWIG_fail;
26018 }
26019 {
26020 resultobj = SWIG_From_long((long)(result));
26021 }
26022 return resultobj;
26023 fail:
26024 return NULL;
26025 }
26026
26027
26028 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26029 PyObject *resultobj;
26030 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26031 long arg2 ;
26032 wxString *arg3 = 0 ;
26033 int arg4 ;
26034 long result;
26035 bool temp3 = false ;
26036 PyObject * obj0 = 0 ;
26037 PyObject * obj1 = 0 ;
26038 PyObject * obj2 = 0 ;
26039 PyObject * obj3 = 0 ;
26040 char *kwnames[] = {
26041 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26042 };
26043
26044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26046 if (SWIG_arg_fail(1)) SWIG_fail;
26047 {
26048 arg2 = (long)(SWIG_As_long(obj1));
26049 if (SWIG_arg_fail(2)) SWIG_fail;
26050 }
26051 {
26052 arg3 = wxString_in_helper(obj2);
26053 if (arg3 == NULL) SWIG_fail;
26054 temp3 = true;
26055 }
26056 {
26057 arg4 = (int)(SWIG_As_int(obj3));
26058 if (SWIG_arg_fail(4)) SWIG_fail;
26059 }
26060 {
26061 PyThreadState* __tstate = wxPyBeginAllowThreads();
26062 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26063
26064 wxPyEndAllowThreads(__tstate);
26065 if (PyErr_Occurred()) SWIG_fail;
26066 }
26067 {
26068 resultobj = SWIG_From_long((long)(result));
26069 }
26070 {
26071 if (temp3)
26072 delete arg3;
26073 }
26074 return resultobj;
26075 fail:
26076 {
26077 if (temp3)
26078 delete arg3;
26079 }
26080 return NULL;
26081 }
26082
26083
26084 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26085 PyObject *resultobj;
26086 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26087 long arg2 ;
26088 wxListItem *arg3 = 0 ;
26089 long result;
26090 PyObject * obj0 = 0 ;
26091 PyObject * obj1 = 0 ;
26092 PyObject * obj2 = 0 ;
26093 char *kwnames[] = {
26094 (char *) "self",(char *) "col",(char *) "info", NULL
26095 };
26096
26097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26099 if (SWIG_arg_fail(1)) SWIG_fail;
26100 {
26101 arg2 = (long)(SWIG_As_long(obj1));
26102 if (SWIG_arg_fail(2)) SWIG_fail;
26103 }
26104 {
26105 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26106 if (SWIG_arg_fail(3)) SWIG_fail;
26107 if (arg3 == NULL) {
26108 SWIG_null_ref("wxListItem");
26109 }
26110 if (SWIG_arg_fail(3)) SWIG_fail;
26111 }
26112 {
26113 PyThreadState* __tstate = wxPyBeginAllowThreads();
26114 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26115
26116 wxPyEndAllowThreads(__tstate);
26117 if (PyErr_Occurred()) SWIG_fail;
26118 }
26119 {
26120 resultobj = SWIG_From_long((long)(result));
26121 }
26122 return resultobj;
26123 fail:
26124 return NULL;
26125 }
26126
26127
26128 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26129 PyObject *resultobj;
26130 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26131 long arg2 ;
26132 wxString *arg3 = 0 ;
26133 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26134 int arg5 = (int) -1 ;
26135 long result;
26136 bool temp3 = false ;
26137 PyObject * obj0 = 0 ;
26138 PyObject * obj1 = 0 ;
26139 PyObject * obj2 = 0 ;
26140 PyObject * obj3 = 0 ;
26141 PyObject * obj4 = 0 ;
26142 char *kwnames[] = {
26143 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26144 };
26145
26146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26148 if (SWIG_arg_fail(1)) SWIG_fail;
26149 {
26150 arg2 = (long)(SWIG_As_long(obj1));
26151 if (SWIG_arg_fail(2)) SWIG_fail;
26152 }
26153 {
26154 arg3 = wxString_in_helper(obj2);
26155 if (arg3 == NULL) SWIG_fail;
26156 temp3 = true;
26157 }
26158 if (obj3) {
26159 {
26160 arg4 = (int)(SWIG_As_int(obj3));
26161 if (SWIG_arg_fail(4)) SWIG_fail;
26162 }
26163 }
26164 if (obj4) {
26165 {
26166 arg5 = (int)(SWIG_As_int(obj4));
26167 if (SWIG_arg_fail(5)) SWIG_fail;
26168 }
26169 }
26170 {
26171 PyThreadState* __tstate = wxPyBeginAllowThreads();
26172 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26173
26174 wxPyEndAllowThreads(__tstate);
26175 if (PyErr_Occurred()) SWIG_fail;
26176 }
26177 {
26178 resultobj = SWIG_From_long((long)(result));
26179 }
26180 {
26181 if (temp3)
26182 delete arg3;
26183 }
26184 return resultobj;
26185 fail:
26186 {
26187 if (temp3)
26188 delete arg3;
26189 }
26190 return NULL;
26191 }
26192
26193
26194 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26195 PyObject *resultobj;
26196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26197 long arg2 ;
26198 PyObject * obj0 = 0 ;
26199 PyObject * obj1 = 0 ;
26200 char *kwnames[] = {
26201 (char *) "self",(char *) "count", NULL
26202 };
26203
26204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26206 if (SWIG_arg_fail(1)) SWIG_fail;
26207 {
26208 arg2 = (long)(SWIG_As_long(obj1));
26209 if (SWIG_arg_fail(2)) SWIG_fail;
26210 }
26211 {
26212 PyThreadState* __tstate = wxPyBeginAllowThreads();
26213 (arg1)->SetItemCount(arg2);
26214
26215 wxPyEndAllowThreads(__tstate);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 }
26218 Py_INCREF(Py_None); resultobj = Py_None;
26219 return resultobj;
26220 fail:
26221 return NULL;
26222 }
26223
26224
26225 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26226 PyObject *resultobj;
26227 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26228 int arg2 ;
26229 int arg3 ;
26230 bool result;
26231 PyObject * obj0 = 0 ;
26232 PyObject * obj1 = 0 ;
26233 PyObject * obj2 = 0 ;
26234 char *kwnames[] = {
26235 (char *) "self",(char *) "dx",(char *) "dy", NULL
26236 };
26237
26238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26240 if (SWIG_arg_fail(1)) SWIG_fail;
26241 {
26242 arg2 = (int)(SWIG_As_int(obj1));
26243 if (SWIG_arg_fail(2)) SWIG_fail;
26244 }
26245 {
26246 arg3 = (int)(SWIG_As_int(obj2));
26247 if (SWIG_arg_fail(3)) SWIG_fail;
26248 }
26249 {
26250 PyThreadState* __tstate = wxPyBeginAllowThreads();
26251 result = (bool)(arg1)->ScrollList(arg2,arg3);
26252
26253 wxPyEndAllowThreads(__tstate);
26254 if (PyErr_Occurred()) SWIG_fail;
26255 }
26256 {
26257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26258 }
26259 return resultobj;
26260 fail:
26261 return NULL;
26262 }
26263
26264
26265 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26266 PyObject *resultobj;
26267 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26268 long arg2 ;
26269 wxColour *arg3 = 0 ;
26270 wxColour temp3 ;
26271 PyObject * obj0 = 0 ;
26272 PyObject * obj1 = 0 ;
26273 PyObject * obj2 = 0 ;
26274 char *kwnames[] = {
26275 (char *) "self",(char *) "item",(char *) "col", NULL
26276 };
26277
26278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26280 if (SWIG_arg_fail(1)) SWIG_fail;
26281 {
26282 arg2 = (long)(SWIG_As_long(obj1));
26283 if (SWIG_arg_fail(2)) SWIG_fail;
26284 }
26285 {
26286 arg3 = &temp3;
26287 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26288 }
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26292
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 Py_INCREF(Py_None); resultobj = Py_None;
26297 return resultobj;
26298 fail:
26299 return NULL;
26300 }
26301
26302
26303 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26304 PyObject *resultobj;
26305 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26306 long arg2 ;
26307 wxColour result;
26308 PyObject * obj0 = 0 ;
26309 PyObject * obj1 = 0 ;
26310 char *kwnames[] = {
26311 (char *) "self",(char *) "item", NULL
26312 };
26313
26314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26316 if (SWIG_arg_fail(1)) SWIG_fail;
26317 {
26318 arg2 = (long)(SWIG_As_long(obj1));
26319 if (SWIG_arg_fail(2)) SWIG_fail;
26320 }
26321 {
26322 PyThreadState* __tstate = wxPyBeginAllowThreads();
26323 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26324
26325 wxPyEndAllowThreads(__tstate);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 }
26328 {
26329 wxColour * resultptr;
26330 resultptr = new wxColour((wxColour &)(result));
26331 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26332 }
26333 return resultobj;
26334 fail:
26335 return NULL;
26336 }
26337
26338
26339 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26340 PyObject *resultobj;
26341 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26342 long arg2 ;
26343 wxColour *arg3 = 0 ;
26344 wxColour temp3 ;
26345 PyObject * obj0 = 0 ;
26346 PyObject * obj1 = 0 ;
26347 PyObject * obj2 = 0 ;
26348 char *kwnames[] = {
26349 (char *) "self",(char *) "item",(char *) "col", NULL
26350 };
26351
26352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26354 if (SWIG_arg_fail(1)) SWIG_fail;
26355 {
26356 arg2 = (long)(SWIG_As_long(obj1));
26357 if (SWIG_arg_fail(2)) SWIG_fail;
26358 }
26359 {
26360 arg3 = &temp3;
26361 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26362 }
26363 {
26364 PyThreadState* __tstate = wxPyBeginAllowThreads();
26365 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26366
26367 wxPyEndAllowThreads(__tstate);
26368 if (PyErr_Occurred()) SWIG_fail;
26369 }
26370 Py_INCREF(Py_None); resultobj = Py_None;
26371 return resultobj;
26372 fail:
26373 return NULL;
26374 }
26375
26376
26377 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26378 PyObject *resultobj;
26379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26380 long arg2 ;
26381 wxColour result;
26382 PyObject * obj0 = 0 ;
26383 PyObject * obj1 = 0 ;
26384 char *kwnames[] = {
26385 (char *) "self",(char *) "item", NULL
26386 };
26387
26388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26390 if (SWIG_arg_fail(1)) SWIG_fail;
26391 {
26392 arg2 = (long)(SWIG_As_long(obj1));
26393 if (SWIG_arg_fail(2)) SWIG_fail;
26394 }
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
26397 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26398
26399 wxPyEndAllowThreads(__tstate);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 }
26402 {
26403 wxColour * resultptr;
26404 resultptr = new wxColour((wxColour &)(result));
26405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26406 }
26407 return resultobj;
26408 fail:
26409 return NULL;
26410 }
26411
26412
26413 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26414 PyObject *resultobj;
26415 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26416 PyObject *arg2 = (PyObject *) 0 ;
26417 bool result;
26418 PyObject * obj0 = 0 ;
26419 PyObject * obj1 = 0 ;
26420 char *kwnames[] = {
26421 (char *) "self",(char *) "func", NULL
26422 };
26423
26424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26426 if (SWIG_arg_fail(1)) SWIG_fail;
26427 arg2 = obj1;
26428 {
26429 PyThreadState* __tstate = wxPyBeginAllowThreads();
26430 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26431
26432 wxPyEndAllowThreads(__tstate);
26433 if (PyErr_Occurred()) SWIG_fail;
26434 }
26435 {
26436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26437 }
26438 return resultobj;
26439 fail:
26440 return NULL;
26441 }
26442
26443
26444 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26445 PyObject *resultobj;
26446 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26447 wxWindow *result;
26448 PyObject * obj0 = 0 ;
26449 char *kwnames[] = {
26450 (char *) "self", NULL
26451 };
26452
26453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26455 if (SWIG_arg_fail(1)) SWIG_fail;
26456 {
26457 PyThreadState* __tstate = wxPyBeginAllowThreads();
26458 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26459
26460 wxPyEndAllowThreads(__tstate);
26461 if (PyErr_Occurred()) SWIG_fail;
26462 }
26463 {
26464 resultobj = wxPyMake_wxObject(result, 0);
26465 }
26466 return resultobj;
26467 fail:
26468 return NULL;
26469 }
26470
26471
26472 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26473 PyObject *resultobj;
26474 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26475 wxVisualAttributes result;
26476 PyObject * obj0 = 0 ;
26477 char *kwnames[] = {
26478 (char *) "variant", NULL
26479 };
26480
26481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26482 if (obj0) {
26483 {
26484 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26485 if (SWIG_arg_fail(1)) SWIG_fail;
26486 }
26487 }
26488 {
26489 if (!wxPyCheckForApp()) SWIG_fail;
26490 PyThreadState* __tstate = wxPyBeginAllowThreads();
26491 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26492
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
26496 {
26497 wxVisualAttributes * resultptr;
26498 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
26499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26500 }
26501 return resultobj;
26502 fail:
26503 return NULL;
26504 }
26505
26506
26507 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26508 PyObject *obj;
26509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26510 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26511 Py_INCREF(obj);
26512 return Py_BuildValue((char *)"");
26513 }
26514 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26515 PyObject *resultobj;
26516 wxWindow *arg1 = (wxWindow *) 0 ;
26517 int arg2 = (int) -1 ;
26518 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26519 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26520 wxSize const &arg4_defvalue = wxDefaultSize ;
26521 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26522 long arg5 = (long) wxLC_REPORT ;
26523 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26524 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26525 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26526 wxString *arg7 = (wxString *) &arg7_defvalue ;
26527 wxListView *result;
26528 wxPoint temp3 ;
26529 wxSize temp4 ;
26530 bool temp7 = false ;
26531 PyObject * obj0 = 0 ;
26532 PyObject * obj1 = 0 ;
26533 PyObject * obj2 = 0 ;
26534 PyObject * obj3 = 0 ;
26535 PyObject * obj4 = 0 ;
26536 PyObject * obj5 = 0 ;
26537 PyObject * obj6 = 0 ;
26538 char *kwnames[] = {
26539 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26540 };
26541
26542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26544 if (SWIG_arg_fail(1)) SWIG_fail;
26545 if (obj1) {
26546 {
26547 arg2 = (int)(SWIG_As_int(obj1));
26548 if (SWIG_arg_fail(2)) SWIG_fail;
26549 }
26550 }
26551 if (obj2) {
26552 {
26553 arg3 = &temp3;
26554 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26555 }
26556 }
26557 if (obj3) {
26558 {
26559 arg4 = &temp4;
26560 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26561 }
26562 }
26563 if (obj4) {
26564 {
26565 arg5 = (long)(SWIG_As_long(obj4));
26566 if (SWIG_arg_fail(5)) SWIG_fail;
26567 }
26568 }
26569 if (obj5) {
26570 {
26571 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26572 if (SWIG_arg_fail(6)) SWIG_fail;
26573 if (arg6 == NULL) {
26574 SWIG_null_ref("wxValidator");
26575 }
26576 if (SWIG_arg_fail(6)) SWIG_fail;
26577 }
26578 }
26579 if (obj6) {
26580 {
26581 arg7 = wxString_in_helper(obj6);
26582 if (arg7 == NULL) SWIG_fail;
26583 temp7 = true;
26584 }
26585 }
26586 {
26587 if (!wxPyCheckForApp()) SWIG_fail;
26588 PyThreadState* __tstate = wxPyBeginAllowThreads();
26589 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26590
26591 wxPyEndAllowThreads(__tstate);
26592 if (PyErr_Occurred()) SWIG_fail;
26593 }
26594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26595 {
26596 if (temp7)
26597 delete arg7;
26598 }
26599 return resultobj;
26600 fail:
26601 {
26602 if (temp7)
26603 delete arg7;
26604 }
26605 return NULL;
26606 }
26607
26608
26609 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26610 PyObject *resultobj;
26611 wxListView *result;
26612 char *kwnames[] = {
26613 NULL
26614 };
26615
26616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26617 {
26618 if (!wxPyCheckForApp()) SWIG_fail;
26619 PyThreadState* __tstate = wxPyBeginAllowThreads();
26620 result = (wxListView *)new wxListView();
26621
26622 wxPyEndAllowThreads(__tstate);
26623 if (PyErr_Occurred()) SWIG_fail;
26624 }
26625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26626 return resultobj;
26627 fail:
26628 return NULL;
26629 }
26630
26631
26632 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26633 PyObject *resultobj;
26634 wxListView *arg1 = (wxListView *) 0 ;
26635 wxWindow *arg2 = (wxWindow *) 0 ;
26636 int arg3 = (int) -1 ;
26637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26639 wxSize const &arg5_defvalue = wxDefaultSize ;
26640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26641 long arg6 = (long) wxLC_REPORT ;
26642 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26643 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26644 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26645 wxString *arg8 = (wxString *) &arg8_defvalue ;
26646 bool result;
26647 wxPoint temp4 ;
26648 wxSize temp5 ;
26649 bool temp8 = false ;
26650 PyObject * obj0 = 0 ;
26651 PyObject * obj1 = 0 ;
26652 PyObject * obj2 = 0 ;
26653 PyObject * obj3 = 0 ;
26654 PyObject * obj4 = 0 ;
26655 PyObject * obj5 = 0 ;
26656 PyObject * obj6 = 0 ;
26657 PyObject * obj7 = 0 ;
26658 char *kwnames[] = {
26659 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26660 };
26661
26662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26664 if (SWIG_arg_fail(1)) SWIG_fail;
26665 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26666 if (SWIG_arg_fail(2)) SWIG_fail;
26667 if (obj2) {
26668 {
26669 arg3 = (int)(SWIG_As_int(obj2));
26670 if (SWIG_arg_fail(3)) SWIG_fail;
26671 }
26672 }
26673 if (obj3) {
26674 {
26675 arg4 = &temp4;
26676 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26677 }
26678 }
26679 if (obj4) {
26680 {
26681 arg5 = &temp5;
26682 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26683 }
26684 }
26685 if (obj5) {
26686 {
26687 arg6 = (long)(SWIG_As_long(obj5));
26688 if (SWIG_arg_fail(6)) SWIG_fail;
26689 }
26690 }
26691 if (obj6) {
26692 {
26693 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26694 if (SWIG_arg_fail(7)) SWIG_fail;
26695 if (arg7 == NULL) {
26696 SWIG_null_ref("wxValidator");
26697 }
26698 if (SWIG_arg_fail(7)) SWIG_fail;
26699 }
26700 }
26701 if (obj7) {
26702 {
26703 arg8 = wxString_in_helper(obj7);
26704 if (arg8 == NULL) SWIG_fail;
26705 temp8 = true;
26706 }
26707 }
26708 {
26709 PyThreadState* __tstate = wxPyBeginAllowThreads();
26710 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26711
26712 wxPyEndAllowThreads(__tstate);
26713 if (PyErr_Occurred()) SWIG_fail;
26714 }
26715 {
26716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26717 }
26718 {
26719 if (temp8)
26720 delete arg8;
26721 }
26722 return resultobj;
26723 fail:
26724 {
26725 if (temp8)
26726 delete arg8;
26727 }
26728 return NULL;
26729 }
26730
26731
26732 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26733 PyObject *resultobj;
26734 wxListView *arg1 = (wxListView *) 0 ;
26735 long arg2 ;
26736 bool arg3 = (bool) true ;
26737 PyObject * obj0 = 0 ;
26738 PyObject * obj1 = 0 ;
26739 PyObject * obj2 = 0 ;
26740 char *kwnames[] = {
26741 (char *) "self",(char *) "n",(char *) "on", NULL
26742 };
26743
26744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26746 if (SWIG_arg_fail(1)) SWIG_fail;
26747 {
26748 arg2 = (long)(SWIG_As_long(obj1));
26749 if (SWIG_arg_fail(2)) SWIG_fail;
26750 }
26751 if (obj2) {
26752 {
26753 arg3 = (bool)(SWIG_As_bool(obj2));
26754 if (SWIG_arg_fail(3)) SWIG_fail;
26755 }
26756 }
26757 {
26758 PyThreadState* __tstate = wxPyBeginAllowThreads();
26759 (arg1)->Select(arg2,arg3);
26760
26761 wxPyEndAllowThreads(__tstate);
26762 if (PyErr_Occurred()) SWIG_fail;
26763 }
26764 Py_INCREF(Py_None); resultobj = Py_None;
26765 return resultobj;
26766 fail:
26767 return NULL;
26768 }
26769
26770
26771 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26772 PyObject *resultobj;
26773 wxListView *arg1 = (wxListView *) 0 ;
26774 long arg2 ;
26775 PyObject * obj0 = 0 ;
26776 PyObject * obj1 = 0 ;
26777 char *kwnames[] = {
26778 (char *) "self",(char *) "index", NULL
26779 };
26780
26781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail;
26784 {
26785 arg2 = (long)(SWIG_As_long(obj1));
26786 if (SWIG_arg_fail(2)) SWIG_fail;
26787 }
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 (arg1)->Focus(arg2);
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 Py_INCREF(Py_None); resultobj = Py_None;
26796 return resultobj;
26797 fail:
26798 return NULL;
26799 }
26800
26801
26802 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26803 PyObject *resultobj;
26804 wxListView *arg1 = (wxListView *) 0 ;
26805 long result;
26806 PyObject * obj0 = 0 ;
26807 char *kwnames[] = {
26808 (char *) "self", NULL
26809 };
26810
26811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26813 if (SWIG_arg_fail(1)) SWIG_fail;
26814 {
26815 PyThreadState* __tstate = wxPyBeginAllowThreads();
26816 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26817
26818 wxPyEndAllowThreads(__tstate);
26819 if (PyErr_Occurred()) SWIG_fail;
26820 }
26821 {
26822 resultobj = SWIG_From_long((long)(result));
26823 }
26824 return resultobj;
26825 fail:
26826 return NULL;
26827 }
26828
26829
26830 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26831 PyObject *resultobj;
26832 wxListView *arg1 = (wxListView *) 0 ;
26833 long arg2 ;
26834 long result;
26835 PyObject * obj0 = 0 ;
26836 PyObject * obj1 = 0 ;
26837 char *kwnames[] = {
26838 (char *) "self",(char *) "item", NULL
26839 };
26840
26841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
26842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26843 if (SWIG_arg_fail(1)) SWIG_fail;
26844 {
26845 arg2 = (long)(SWIG_As_long(obj1));
26846 if (SWIG_arg_fail(2)) SWIG_fail;
26847 }
26848 {
26849 PyThreadState* __tstate = wxPyBeginAllowThreads();
26850 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26851
26852 wxPyEndAllowThreads(__tstate);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 }
26855 {
26856 resultobj = SWIG_From_long((long)(result));
26857 }
26858 return resultobj;
26859 fail:
26860 return NULL;
26861 }
26862
26863
26864 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26865 PyObject *resultobj;
26866 wxListView *arg1 = (wxListView *) 0 ;
26867 long result;
26868 PyObject * obj0 = 0 ;
26869 char *kwnames[] = {
26870 (char *) "self", NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
26874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26875 if (SWIG_arg_fail(1)) SWIG_fail;
26876 {
26877 PyThreadState* __tstate = wxPyBeginAllowThreads();
26878 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26879
26880 wxPyEndAllowThreads(__tstate);
26881 if (PyErr_Occurred()) SWIG_fail;
26882 }
26883 {
26884 resultobj = SWIG_From_long((long)(result));
26885 }
26886 return resultobj;
26887 fail:
26888 return NULL;
26889 }
26890
26891
26892 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26893 PyObject *resultobj;
26894 wxListView *arg1 = (wxListView *) 0 ;
26895 long arg2 ;
26896 bool result;
26897 PyObject * obj0 = 0 ;
26898 PyObject * obj1 = 0 ;
26899 char *kwnames[] = {
26900 (char *) "self",(char *) "index", NULL
26901 };
26902
26903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26905 if (SWIG_arg_fail(1)) SWIG_fail;
26906 {
26907 arg2 = (long)(SWIG_As_long(obj1));
26908 if (SWIG_arg_fail(2)) SWIG_fail;
26909 }
26910 {
26911 PyThreadState* __tstate = wxPyBeginAllowThreads();
26912 result = (bool)(arg1)->IsSelected(arg2);
26913
26914 wxPyEndAllowThreads(__tstate);
26915 if (PyErr_Occurred()) SWIG_fail;
26916 }
26917 {
26918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26919 }
26920 return resultobj;
26921 fail:
26922 return NULL;
26923 }
26924
26925
26926 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26927 PyObject *resultobj;
26928 wxListView *arg1 = (wxListView *) 0 ;
26929 int arg2 ;
26930 int arg3 ;
26931 PyObject * obj0 = 0 ;
26932 PyObject * obj1 = 0 ;
26933 PyObject * obj2 = 0 ;
26934 char *kwnames[] = {
26935 (char *) "self",(char *) "col",(char *) "image", NULL
26936 };
26937
26938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26940 if (SWIG_arg_fail(1)) SWIG_fail;
26941 {
26942 arg2 = (int)(SWIG_As_int(obj1));
26943 if (SWIG_arg_fail(2)) SWIG_fail;
26944 }
26945 {
26946 arg3 = (int)(SWIG_As_int(obj2));
26947 if (SWIG_arg_fail(3)) SWIG_fail;
26948 }
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 (arg1)->SetColumnImage(arg2,arg3);
26952
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 Py_INCREF(Py_None); resultobj = Py_None;
26957 return resultobj;
26958 fail:
26959 return NULL;
26960 }
26961
26962
26963 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26964 PyObject *resultobj;
26965 wxListView *arg1 = (wxListView *) 0 ;
26966 int arg2 ;
26967 PyObject * obj0 = 0 ;
26968 PyObject * obj1 = 0 ;
26969 char *kwnames[] = {
26970 (char *) "self",(char *) "col", NULL
26971 };
26972
26973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
26974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26975 if (SWIG_arg_fail(1)) SWIG_fail;
26976 {
26977 arg2 = (int)(SWIG_As_int(obj1));
26978 if (SWIG_arg_fail(2)) SWIG_fail;
26979 }
26980 {
26981 PyThreadState* __tstate = wxPyBeginAllowThreads();
26982 (arg1)->ClearColumnImage(arg2);
26983
26984 wxPyEndAllowThreads(__tstate);
26985 if (PyErr_Occurred()) SWIG_fail;
26986 }
26987 Py_INCREF(Py_None); resultobj = Py_None;
26988 return resultobj;
26989 fail:
26990 return NULL;
26991 }
26992
26993
26994 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
26995 PyObject *obj;
26996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26997 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
26998 Py_INCREF(obj);
26999 return Py_BuildValue((char *)"");
27000 }
27001 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
27002 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27003 return 1;
27004 }
27005
27006
27007 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
27008 PyObject *pyobj;
27009
27010 {
27011 #if wxUSE_UNICODE
27012 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27013 #else
27014 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27015 #endif
27016 }
27017 return pyobj;
27018 }
27019
27020
27021 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27022 PyObject *resultobj;
27023 wxTreeItemId *result;
27024 char *kwnames[] = {
27025 NULL
27026 };
27027
27028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27029 {
27030 PyThreadState* __tstate = wxPyBeginAllowThreads();
27031 result = (wxTreeItemId *)new wxTreeItemId();
27032
27033 wxPyEndAllowThreads(__tstate);
27034 if (PyErr_Occurred()) SWIG_fail;
27035 }
27036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27037 return resultobj;
27038 fail:
27039 return NULL;
27040 }
27041
27042
27043 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27044 PyObject *resultobj;
27045 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27046 PyObject * obj0 = 0 ;
27047 char *kwnames[] = {
27048 (char *) "self", NULL
27049 };
27050
27051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
27052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27053 if (SWIG_arg_fail(1)) SWIG_fail;
27054 {
27055 PyThreadState* __tstate = wxPyBeginAllowThreads();
27056 delete arg1;
27057
27058 wxPyEndAllowThreads(__tstate);
27059 if (PyErr_Occurred()) SWIG_fail;
27060 }
27061 Py_INCREF(Py_None); resultobj = Py_None;
27062 return resultobj;
27063 fail:
27064 return NULL;
27065 }
27066
27067
27068 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27069 PyObject *resultobj;
27070 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27071 bool result;
27072 PyObject * obj0 = 0 ;
27073 char *kwnames[] = {
27074 (char *) "self", NULL
27075 };
27076
27077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
27078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27079 if (SWIG_arg_fail(1)) SWIG_fail;
27080 {
27081 PyThreadState* __tstate = wxPyBeginAllowThreads();
27082 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27083
27084 wxPyEndAllowThreads(__tstate);
27085 if (PyErr_Occurred()) SWIG_fail;
27086 }
27087 {
27088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27089 }
27090 return resultobj;
27091 fail:
27092 return NULL;
27093 }
27094
27095
27096 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27097 PyObject *resultobj;
27098 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27099 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27100 bool result;
27101 PyObject * obj0 = 0 ;
27102 PyObject * obj1 = 0 ;
27103 char *kwnames[] = {
27104 (char *) "self",(char *) "other", NULL
27105 };
27106
27107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
27108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27109 if (SWIG_arg_fail(1)) SWIG_fail;
27110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27111 if (SWIG_arg_fail(2)) SWIG_fail;
27112 {
27113 PyThreadState* __tstate = wxPyBeginAllowThreads();
27114 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27115
27116 wxPyEndAllowThreads(__tstate);
27117 if (PyErr_Occurred()) SWIG_fail;
27118 }
27119 {
27120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27121 }
27122 return resultobj;
27123 fail:
27124 return NULL;
27125 }
27126
27127
27128 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27129 PyObject *resultobj;
27130 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27131 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27132 bool result;
27133 PyObject * obj0 = 0 ;
27134 PyObject * obj1 = 0 ;
27135 char *kwnames[] = {
27136 (char *) "self",(char *) "other", NULL
27137 };
27138
27139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
27140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27141 if (SWIG_arg_fail(1)) SWIG_fail;
27142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27143 if (SWIG_arg_fail(2)) SWIG_fail;
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 {
27152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27153 }
27154 return resultobj;
27155 fail:
27156 return NULL;
27157 }
27158
27159
27160 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27161 PyObject *resultobj;
27162 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27163 void *arg2 = (void *) 0 ;
27164 PyObject * obj0 = 0 ;
27165 PyObject * obj1 = 0 ;
27166 char *kwnames[] = {
27167 (char *) "self",(char *) "m_pItem", NULL
27168 };
27169
27170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27172 if (SWIG_arg_fail(1)) SWIG_fail;
27173 {
27174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27175 SWIG_arg_fail(2);SWIG_fail;
27176 }
27177 }
27178 if (arg1) (arg1)->m_pItem = arg2;
27179
27180 Py_INCREF(Py_None); resultobj = Py_None;
27181 return resultobj;
27182 fail:
27183 return NULL;
27184 }
27185
27186
27187 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27188 PyObject *resultobj;
27189 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27190 void *result;
27191 PyObject * obj0 = 0 ;
27192 char *kwnames[] = {
27193 (char *) "self", NULL
27194 };
27195
27196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27198 if (SWIG_arg_fail(1)) SWIG_fail;
27199 result = (void *) ((arg1)->m_pItem);
27200
27201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27202 return resultobj;
27203 fail:
27204 return NULL;
27205 }
27206
27207
27208 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27209 PyObject *obj;
27210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27211 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27212 Py_INCREF(obj);
27213 return Py_BuildValue((char *)"");
27214 }
27215 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27216 PyObject *resultobj;
27217 PyObject *arg1 = (PyObject *) NULL ;
27218 wxPyTreeItemData *result;
27219 PyObject * obj0 = 0 ;
27220 char *kwnames[] = {
27221 (char *) "obj", NULL
27222 };
27223
27224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27225 if (obj0) {
27226 arg1 = obj0;
27227 }
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27231
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27236 return resultobj;
27237 fail:
27238 return NULL;
27239 }
27240
27241
27242 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27243 PyObject *resultobj;
27244 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27245 PyObject *result;
27246 PyObject * obj0 = 0 ;
27247 char *kwnames[] = {
27248 (char *) "self", NULL
27249 };
27250
27251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
27252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail;
27254 {
27255 PyThreadState* __tstate = wxPyBeginAllowThreads();
27256 result = (PyObject *)(arg1)->GetData();
27257
27258 wxPyEndAllowThreads(__tstate);
27259 if (PyErr_Occurred()) SWIG_fail;
27260 }
27261 resultobj = result;
27262 return resultobj;
27263 fail:
27264 return NULL;
27265 }
27266
27267
27268 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27269 PyObject *resultobj;
27270 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27271 PyObject *arg2 = (PyObject *) 0 ;
27272 PyObject * obj0 = 0 ;
27273 PyObject * obj1 = 0 ;
27274 char *kwnames[] = {
27275 (char *) "self",(char *) "obj", NULL
27276 };
27277
27278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27280 if (SWIG_arg_fail(1)) SWIG_fail;
27281 arg2 = obj1;
27282 {
27283 PyThreadState* __tstate = wxPyBeginAllowThreads();
27284 (arg1)->SetData(arg2);
27285
27286 wxPyEndAllowThreads(__tstate);
27287 if (PyErr_Occurred()) SWIG_fail;
27288 }
27289 Py_INCREF(Py_None); resultobj = Py_None;
27290 return resultobj;
27291 fail:
27292 return NULL;
27293 }
27294
27295
27296 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27297 PyObject *resultobj;
27298 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27299 wxTreeItemId *result;
27300 PyObject * obj0 = 0 ;
27301 char *kwnames[] = {
27302 (char *) "self", NULL
27303 };
27304
27305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27307 if (SWIG_arg_fail(1)) SWIG_fail;
27308 {
27309 PyThreadState* __tstate = wxPyBeginAllowThreads();
27310 {
27311 wxTreeItemId const &_result_ref = (arg1)->GetId();
27312 result = (wxTreeItemId *) &_result_ref;
27313 }
27314
27315 wxPyEndAllowThreads(__tstate);
27316 if (PyErr_Occurred()) SWIG_fail;
27317 }
27318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27319 return resultobj;
27320 fail:
27321 return NULL;
27322 }
27323
27324
27325 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27326 PyObject *resultobj;
27327 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27328 wxTreeItemId *arg2 = 0 ;
27329 PyObject * obj0 = 0 ;
27330 PyObject * obj1 = 0 ;
27331 char *kwnames[] = {
27332 (char *) "self",(char *) "id", NULL
27333 };
27334
27335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27337 if (SWIG_arg_fail(1)) SWIG_fail;
27338 {
27339 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27340 if (SWIG_arg_fail(2)) SWIG_fail;
27341 if (arg2 == NULL) {
27342 SWIG_null_ref("wxTreeItemId");
27343 }
27344 if (SWIG_arg_fail(2)) SWIG_fail;
27345 }
27346 {
27347 PyThreadState* __tstate = wxPyBeginAllowThreads();
27348 (arg1)->SetId((wxTreeItemId const &)*arg2);
27349
27350 wxPyEndAllowThreads(__tstate);
27351 if (PyErr_Occurred()) SWIG_fail;
27352 }
27353 Py_INCREF(Py_None); resultobj = Py_None;
27354 return resultobj;
27355 fail:
27356 return NULL;
27357 }
27358
27359
27360 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27361 PyObject *resultobj;
27362 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27363 PyObject * obj0 = 0 ;
27364 char *kwnames[] = {
27365 (char *) "self", NULL
27366 };
27367
27368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27370 if (SWIG_arg_fail(1)) SWIG_fail;
27371 {
27372 PyThreadState* __tstate = wxPyBeginAllowThreads();
27373 wxPyTreeItemData_Destroy(arg1);
27374
27375 wxPyEndAllowThreads(__tstate);
27376 if (PyErr_Occurred()) SWIG_fail;
27377 }
27378 Py_INCREF(Py_None); resultobj = Py_None;
27379 return resultobj;
27380 fail:
27381 return NULL;
27382 }
27383
27384
27385 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27386 PyObject *obj;
27387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27388 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27389 Py_INCREF(obj);
27390 return Py_BuildValue((char *)"");
27391 }
27392 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27393 PyObject *resultobj;
27394 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27395 int arg2 = (int) 0 ;
27396 wxTreeEvent *result;
27397 PyObject * obj0 = 0 ;
27398 PyObject * obj1 = 0 ;
27399 char *kwnames[] = {
27400 (char *) "commandType",(char *) "id", NULL
27401 };
27402
27403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27404 if (obj0) {
27405 {
27406 arg1 = (wxEventType)(SWIG_As_int(obj0));
27407 if (SWIG_arg_fail(1)) SWIG_fail;
27408 }
27409 }
27410 if (obj1) {
27411 {
27412 arg2 = (int)(SWIG_As_int(obj1));
27413 if (SWIG_arg_fail(2)) SWIG_fail;
27414 }
27415 }
27416 {
27417 PyThreadState* __tstate = wxPyBeginAllowThreads();
27418 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27419
27420 wxPyEndAllowThreads(__tstate);
27421 if (PyErr_Occurred()) SWIG_fail;
27422 }
27423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27424 return resultobj;
27425 fail:
27426 return NULL;
27427 }
27428
27429
27430 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27431 PyObject *resultobj;
27432 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27433 wxTreeItemId result;
27434 PyObject * obj0 = 0 ;
27435 char *kwnames[] = {
27436 (char *) "self", NULL
27437 };
27438
27439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail;
27442 {
27443 PyThreadState* __tstate = wxPyBeginAllowThreads();
27444 result = ((wxTreeEvent const *)arg1)->GetItem();
27445
27446 wxPyEndAllowThreads(__tstate);
27447 if (PyErr_Occurred()) SWIG_fail;
27448 }
27449 {
27450 wxTreeItemId * resultptr;
27451 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27453 }
27454 return resultobj;
27455 fail:
27456 return NULL;
27457 }
27458
27459
27460 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27461 PyObject *resultobj;
27462 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27463 wxTreeItemId *arg2 = 0 ;
27464 PyObject * obj0 = 0 ;
27465 PyObject * obj1 = 0 ;
27466 char *kwnames[] = {
27467 (char *) "self",(char *) "item", NULL
27468 };
27469
27470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27472 if (SWIG_arg_fail(1)) SWIG_fail;
27473 {
27474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27475 if (SWIG_arg_fail(2)) SWIG_fail;
27476 if (arg2 == NULL) {
27477 SWIG_null_ref("wxTreeItemId");
27478 }
27479 if (SWIG_arg_fail(2)) SWIG_fail;
27480 }
27481 {
27482 PyThreadState* __tstate = wxPyBeginAllowThreads();
27483 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27484
27485 wxPyEndAllowThreads(__tstate);
27486 if (PyErr_Occurred()) SWIG_fail;
27487 }
27488 Py_INCREF(Py_None); resultobj = Py_None;
27489 return resultobj;
27490 fail:
27491 return NULL;
27492 }
27493
27494
27495 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27496 PyObject *resultobj;
27497 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27498 wxTreeItemId result;
27499 PyObject * obj0 = 0 ;
27500 char *kwnames[] = {
27501 (char *) "self", NULL
27502 };
27503
27504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27506 if (SWIG_arg_fail(1)) SWIG_fail;
27507 {
27508 PyThreadState* __tstate = wxPyBeginAllowThreads();
27509 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27510
27511 wxPyEndAllowThreads(__tstate);
27512 if (PyErr_Occurred()) SWIG_fail;
27513 }
27514 {
27515 wxTreeItemId * resultptr;
27516 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27518 }
27519 return resultobj;
27520 fail:
27521 return NULL;
27522 }
27523
27524
27525 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27526 PyObject *resultobj;
27527 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27528 wxTreeItemId *arg2 = 0 ;
27529 PyObject * obj0 = 0 ;
27530 PyObject * obj1 = 0 ;
27531 char *kwnames[] = {
27532 (char *) "self",(char *) "item", NULL
27533 };
27534
27535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27537 if (SWIG_arg_fail(1)) SWIG_fail;
27538 {
27539 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27540 if (SWIG_arg_fail(2)) SWIG_fail;
27541 if (arg2 == NULL) {
27542 SWIG_null_ref("wxTreeItemId");
27543 }
27544 if (SWIG_arg_fail(2)) SWIG_fail;
27545 }
27546 {
27547 PyThreadState* __tstate = wxPyBeginAllowThreads();
27548 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27549
27550 wxPyEndAllowThreads(__tstate);
27551 if (PyErr_Occurred()) SWIG_fail;
27552 }
27553 Py_INCREF(Py_None); resultobj = Py_None;
27554 return resultobj;
27555 fail:
27556 return NULL;
27557 }
27558
27559
27560 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27561 PyObject *resultobj;
27562 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27563 wxPoint result;
27564 PyObject * obj0 = 0 ;
27565 char *kwnames[] = {
27566 (char *) "self", NULL
27567 };
27568
27569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27571 if (SWIG_arg_fail(1)) SWIG_fail;
27572 {
27573 PyThreadState* __tstate = wxPyBeginAllowThreads();
27574 result = ((wxTreeEvent const *)arg1)->GetPoint();
27575
27576 wxPyEndAllowThreads(__tstate);
27577 if (PyErr_Occurred()) SWIG_fail;
27578 }
27579 {
27580 wxPoint * resultptr;
27581 resultptr = new wxPoint((wxPoint &)(result));
27582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27583 }
27584 return resultobj;
27585 fail:
27586 return NULL;
27587 }
27588
27589
27590 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27591 PyObject *resultobj;
27592 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27593 wxPoint *arg2 = 0 ;
27594 wxPoint temp2 ;
27595 PyObject * obj0 = 0 ;
27596 PyObject * obj1 = 0 ;
27597 char *kwnames[] = {
27598 (char *) "self",(char *) "pt", NULL
27599 };
27600
27601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27603 if (SWIG_arg_fail(1)) SWIG_fail;
27604 {
27605 arg2 = &temp2;
27606 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27607 }
27608 {
27609 PyThreadState* __tstate = wxPyBeginAllowThreads();
27610 (arg1)->SetPoint((wxPoint const &)*arg2);
27611
27612 wxPyEndAllowThreads(__tstate);
27613 if (PyErr_Occurred()) SWIG_fail;
27614 }
27615 Py_INCREF(Py_None); resultobj = Py_None;
27616 return resultobj;
27617 fail:
27618 return NULL;
27619 }
27620
27621
27622 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27623 PyObject *resultobj;
27624 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27625 wxKeyEvent *result;
27626 PyObject * obj0 = 0 ;
27627 char *kwnames[] = {
27628 (char *) "self", NULL
27629 };
27630
27631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27633 if (SWIG_arg_fail(1)) SWIG_fail;
27634 {
27635 PyThreadState* __tstate = wxPyBeginAllowThreads();
27636 {
27637 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27638 result = (wxKeyEvent *) &_result_ref;
27639 }
27640
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
27644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27645 return resultobj;
27646 fail:
27647 return NULL;
27648 }
27649
27650
27651 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27652 PyObject *resultobj;
27653 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27654 int result;
27655 PyObject * obj0 = 0 ;
27656 char *kwnames[] = {
27657 (char *) "self", NULL
27658 };
27659
27660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27662 if (SWIG_arg_fail(1)) SWIG_fail;
27663 {
27664 PyThreadState* __tstate = wxPyBeginAllowThreads();
27665 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27666
27667 wxPyEndAllowThreads(__tstate);
27668 if (PyErr_Occurred()) SWIG_fail;
27669 }
27670 {
27671 resultobj = SWIG_From_int((int)(result));
27672 }
27673 return resultobj;
27674 fail:
27675 return NULL;
27676 }
27677
27678
27679 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27680 PyObject *resultobj;
27681 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27682 wxKeyEvent *arg2 = 0 ;
27683 PyObject * obj0 = 0 ;
27684 PyObject * obj1 = 0 ;
27685 char *kwnames[] = {
27686 (char *) "self",(char *) "evt", NULL
27687 };
27688
27689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
27690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27691 if (SWIG_arg_fail(1)) SWIG_fail;
27692 {
27693 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27694 if (SWIG_arg_fail(2)) SWIG_fail;
27695 if (arg2 == NULL) {
27696 SWIG_null_ref("wxKeyEvent");
27697 }
27698 if (SWIG_arg_fail(2)) SWIG_fail;
27699 }
27700 {
27701 PyThreadState* __tstate = wxPyBeginAllowThreads();
27702 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27703
27704 wxPyEndAllowThreads(__tstate);
27705 if (PyErr_Occurred()) SWIG_fail;
27706 }
27707 Py_INCREF(Py_None); resultobj = Py_None;
27708 return resultobj;
27709 fail:
27710 return NULL;
27711 }
27712
27713
27714 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27715 PyObject *resultobj;
27716 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27717 wxString *result;
27718 PyObject * obj0 = 0 ;
27719 char *kwnames[] = {
27720 (char *) "self", NULL
27721 };
27722
27723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
27724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27725 if (SWIG_arg_fail(1)) SWIG_fail;
27726 {
27727 PyThreadState* __tstate = wxPyBeginAllowThreads();
27728 {
27729 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27730 result = (wxString *) &_result_ref;
27731 }
27732
27733 wxPyEndAllowThreads(__tstate);
27734 if (PyErr_Occurred()) SWIG_fail;
27735 }
27736 {
27737 #if wxUSE_UNICODE
27738 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27739 #else
27740 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27741 #endif
27742 }
27743 return resultobj;
27744 fail:
27745 return NULL;
27746 }
27747
27748
27749 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27750 PyObject *resultobj;
27751 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27752 wxString *arg2 = 0 ;
27753 bool temp2 = false ;
27754 PyObject * obj0 = 0 ;
27755 PyObject * obj1 = 0 ;
27756 char *kwnames[] = {
27757 (char *) "self",(char *) "label", NULL
27758 };
27759
27760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27762 if (SWIG_arg_fail(1)) SWIG_fail;
27763 {
27764 arg2 = wxString_in_helper(obj1);
27765 if (arg2 == NULL) SWIG_fail;
27766 temp2 = true;
27767 }
27768 {
27769 PyThreadState* __tstate = wxPyBeginAllowThreads();
27770 (arg1)->SetLabel((wxString const &)*arg2);
27771
27772 wxPyEndAllowThreads(__tstate);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 Py_INCREF(Py_None); resultobj = Py_None;
27776 {
27777 if (temp2)
27778 delete arg2;
27779 }
27780 return resultobj;
27781 fail:
27782 {
27783 if (temp2)
27784 delete arg2;
27785 }
27786 return NULL;
27787 }
27788
27789
27790 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27791 PyObject *resultobj;
27792 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27793 bool result;
27794 PyObject * obj0 = 0 ;
27795 char *kwnames[] = {
27796 (char *) "self", NULL
27797 };
27798
27799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27801 if (SWIG_arg_fail(1)) SWIG_fail;
27802 {
27803 PyThreadState* __tstate = wxPyBeginAllowThreads();
27804 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27805
27806 wxPyEndAllowThreads(__tstate);
27807 if (PyErr_Occurred()) SWIG_fail;
27808 }
27809 {
27810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27811 }
27812 return resultobj;
27813 fail:
27814 return NULL;
27815 }
27816
27817
27818 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27819 PyObject *resultobj;
27820 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27821 bool arg2 ;
27822 PyObject * obj0 = 0 ;
27823 PyObject * obj1 = 0 ;
27824 char *kwnames[] = {
27825 (char *) "self",(char *) "editCancelled", NULL
27826 };
27827
27828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
27829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27830 if (SWIG_arg_fail(1)) SWIG_fail;
27831 {
27832 arg2 = (bool)(SWIG_As_bool(obj1));
27833 if (SWIG_arg_fail(2)) SWIG_fail;
27834 }
27835 {
27836 PyThreadState* __tstate = wxPyBeginAllowThreads();
27837 (arg1)->SetEditCanceled(arg2);
27838
27839 wxPyEndAllowThreads(__tstate);
27840 if (PyErr_Occurred()) SWIG_fail;
27841 }
27842 Py_INCREF(Py_None); resultobj = Py_None;
27843 return resultobj;
27844 fail:
27845 return NULL;
27846 }
27847
27848
27849 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27850 PyObject *resultobj;
27851 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27852 wxString *arg2 = 0 ;
27853 bool temp2 = false ;
27854 PyObject * obj0 = 0 ;
27855 PyObject * obj1 = 0 ;
27856 char *kwnames[] = {
27857 (char *) "self",(char *) "toolTip", NULL
27858 };
27859
27860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27862 if (SWIG_arg_fail(1)) SWIG_fail;
27863 {
27864 arg2 = wxString_in_helper(obj1);
27865 if (arg2 == NULL) SWIG_fail;
27866 temp2 = true;
27867 }
27868 {
27869 PyThreadState* __tstate = wxPyBeginAllowThreads();
27870 (arg1)->SetToolTip((wxString const &)*arg2);
27871
27872 wxPyEndAllowThreads(__tstate);
27873 if (PyErr_Occurred()) SWIG_fail;
27874 }
27875 Py_INCREF(Py_None); resultobj = Py_None;
27876 {
27877 if (temp2)
27878 delete arg2;
27879 }
27880 return resultobj;
27881 fail:
27882 {
27883 if (temp2)
27884 delete arg2;
27885 }
27886 return NULL;
27887 }
27888
27889
27890 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
27891 PyObject *obj;
27892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27893 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27894 Py_INCREF(obj);
27895 return Py_BuildValue((char *)"");
27896 }
27897 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27898 PyObject *resultobj;
27899 wxWindow *arg1 = (wxWindow *) 0 ;
27900 int arg2 = (int) -1 ;
27901 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27902 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27903 wxSize const &arg4_defvalue = wxDefaultSize ;
27904 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27905 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27906 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27907 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27908 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27909 wxString *arg7 = (wxString *) &arg7_defvalue ;
27910 wxPyTreeCtrl *result;
27911 wxPoint temp3 ;
27912 wxSize temp4 ;
27913 bool temp7 = false ;
27914 PyObject * obj0 = 0 ;
27915 PyObject * obj1 = 0 ;
27916 PyObject * obj2 = 0 ;
27917 PyObject * obj3 = 0 ;
27918 PyObject * obj4 = 0 ;
27919 PyObject * obj5 = 0 ;
27920 PyObject * obj6 = 0 ;
27921 char *kwnames[] = {
27922 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27923 };
27924
27925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27927 if (SWIG_arg_fail(1)) SWIG_fail;
27928 if (obj1) {
27929 {
27930 arg2 = (int)(SWIG_As_int(obj1));
27931 if (SWIG_arg_fail(2)) SWIG_fail;
27932 }
27933 }
27934 if (obj2) {
27935 {
27936 arg3 = &temp3;
27937 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27938 }
27939 }
27940 if (obj3) {
27941 {
27942 arg4 = &temp4;
27943 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27944 }
27945 }
27946 if (obj4) {
27947 {
27948 arg5 = (long)(SWIG_As_long(obj4));
27949 if (SWIG_arg_fail(5)) SWIG_fail;
27950 }
27951 }
27952 if (obj5) {
27953 {
27954 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27955 if (SWIG_arg_fail(6)) SWIG_fail;
27956 if (arg6 == NULL) {
27957 SWIG_null_ref("wxValidator");
27958 }
27959 if (SWIG_arg_fail(6)) SWIG_fail;
27960 }
27961 }
27962 if (obj6) {
27963 {
27964 arg7 = wxString_in_helper(obj6);
27965 if (arg7 == NULL) SWIG_fail;
27966 temp7 = true;
27967 }
27968 }
27969 {
27970 if (!wxPyCheckForApp()) SWIG_fail;
27971 PyThreadState* __tstate = wxPyBeginAllowThreads();
27972 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27973
27974 wxPyEndAllowThreads(__tstate);
27975 if (PyErr_Occurred()) SWIG_fail;
27976 }
27977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
27978 {
27979 if (temp7)
27980 delete arg7;
27981 }
27982 return resultobj;
27983 fail:
27984 {
27985 if (temp7)
27986 delete arg7;
27987 }
27988 return NULL;
27989 }
27990
27991
27992 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27993 PyObject *resultobj;
27994 wxPyTreeCtrl *result;
27995 char *kwnames[] = {
27996 NULL
27997 };
27998
27999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28000 {
28001 if (!wxPyCheckForApp()) SWIG_fail;
28002 PyThreadState* __tstate = wxPyBeginAllowThreads();
28003 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28004
28005 wxPyEndAllowThreads(__tstate);
28006 if (PyErr_Occurred()) SWIG_fail;
28007 }
28008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28009 return resultobj;
28010 fail:
28011 return NULL;
28012 }
28013
28014
28015 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28016 PyObject *resultobj;
28017 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28018 wxWindow *arg2 = (wxWindow *) 0 ;
28019 int arg3 = (int) -1 ;
28020 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28021 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28022 wxSize const &arg5_defvalue = wxDefaultSize ;
28023 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28024 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28025 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28026 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28027 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28028 wxString *arg8 = (wxString *) &arg8_defvalue ;
28029 bool result;
28030 wxPoint temp4 ;
28031 wxSize temp5 ;
28032 bool temp8 = false ;
28033 PyObject * obj0 = 0 ;
28034 PyObject * obj1 = 0 ;
28035 PyObject * obj2 = 0 ;
28036 PyObject * obj3 = 0 ;
28037 PyObject * obj4 = 0 ;
28038 PyObject * obj5 = 0 ;
28039 PyObject * obj6 = 0 ;
28040 PyObject * obj7 = 0 ;
28041 char *kwnames[] = {
28042 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28043 };
28044
28045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28047 if (SWIG_arg_fail(1)) SWIG_fail;
28048 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28049 if (SWIG_arg_fail(2)) SWIG_fail;
28050 if (obj2) {
28051 {
28052 arg3 = (int)(SWIG_As_int(obj2));
28053 if (SWIG_arg_fail(3)) SWIG_fail;
28054 }
28055 }
28056 if (obj3) {
28057 {
28058 arg4 = &temp4;
28059 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28060 }
28061 }
28062 if (obj4) {
28063 {
28064 arg5 = &temp5;
28065 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28066 }
28067 }
28068 if (obj5) {
28069 {
28070 arg6 = (long)(SWIG_As_long(obj5));
28071 if (SWIG_arg_fail(6)) SWIG_fail;
28072 }
28073 }
28074 if (obj6) {
28075 {
28076 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28077 if (SWIG_arg_fail(7)) SWIG_fail;
28078 if (arg7 == NULL) {
28079 SWIG_null_ref("wxValidator");
28080 }
28081 if (SWIG_arg_fail(7)) SWIG_fail;
28082 }
28083 }
28084 if (obj7) {
28085 {
28086 arg8 = wxString_in_helper(obj7);
28087 if (arg8 == NULL) SWIG_fail;
28088 temp8 = true;
28089 }
28090 }
28091 {
28092 PyThreadState* __tstate = wxPyBeginAllowThreads();
28093 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28094
28095 wxPyEndAllowThreads(__tstate);
28096 if (PyErr_Occurred()) SWIG_fail;
28097 }
28098 {
28099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28100 }
28101 {
28102 if (temp8)
28103 delete arg8;
28104 }
28105 return resultobj;
28106 fail:
28107 {
28108 if (temp8)
28109 delete arg8;
28110 }
28111 return NULL;
28112 }
28113
28114
28115 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28116 PyObject *resultobj;
28117 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28118 PyObject *arg2 = (PyObject *) 0 ;
28119 PyObject *arg3 = (PyObject *) 0 ;
28120 PyObject * obj0 = 0 ;
28121 PyObject * obj1 = 0 ;
28122 PyObject * obj2 = 0 ;
28123 char *kwnames[] = {
28124 (char *) "self",(char *) "self",(char *) "_class", NULL
28125 };
28126
28127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28129 if (SWIG_arg_fail(1)) SWIG_fail;
28130 arg2 = obj1;
28131 arg3 = obj2;
28132 {
28133 PyThreadState* __tstate = wxPyBeginAllowThreads();
28134 (arg1)->_setCallbackInfo(arg2,arg3);
28135
28136 wxPyEndAllowThreads(__tstate);
28137 if (PyErr_Occurred()) SWIG_fail;
28138 }
28139 Py_INCREF(Py_None); resultobj = Py_None;
28140 return resultobj;
28141 fail:
28142 return NULL;
28143 }
28144
28145
28146 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28147 PyObject *resultobj;
28148 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28149 size_t result;
28150 PyObject * obj0 = 0 ;
28151 char *kwnames[] = {
28152 (char *) "self", NULL
28153 };
28154
28155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28157 if (SWIG_arg_fail(1)) SWIG_fail;
28158 {
28159 PyThreadState* __tstate = wxPyBeginAllowThreads();
28160 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28161
28162 wxPyEndAllowThreads(__tstate);
28163 if (PyErr_Occurred()) SWIG_fail;
28164 }
28165 {
28166 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28167 }
28168 return resultobj;
28169 fail:
28170 return NULL;
28171 }
28172
28173
28174 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28175 PyObject *resultobj;
28176 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28177 unsigned int result;
28178 PyObject * obj0 = 0 ;
28179 char *kwnames[] = {
28180 (char *) "self", NULL
28181 };
28182
28183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28185 if (SWIG_arg_fail(1)) SWIG_fail;
28186 {
28187 PyThreadState* __tstate = wxPyBeginAllowThreads();
28188 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28189
28190 wxPyEndAllowThreads(__tstate);
28191 if (PyErr_Occurred()) SWIG_fail;
28192 }
28193 {
28194 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28195 }
28196 return resultobj;
28197 fail:
28198 return NULL;
28199 }
28200
28201
28202 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28203 PyObject *resultobj;
28204 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28205 unsigned int arg2 ;
28206 PyObject * obj0 = 0 ;
28207 PyObject * obj1 = 0 ;
28208 char *kwnames[] = {
28209 (char *) "self",(char *) "indent", NULL
28210 };
28211
28212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28214 if (SWIG_arg_fail(1)) SWIG_fail;
28215 {
28216 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28217 if (SWIG_arg_fail(2)) SWIG_fail;
28218 }
28219 {
28220 PyThreadState* __tstate = wxPyBeginAllowThreads();
28221 (arg1)->SetIndent(arg2);
28222
28223 wxPyEndAllowThreads(__tstate);
28224 if (PyErr_Occurred()) SWIG_fail;
28225 }
28226 Py_INCREF(Py_None); resultobj = Py_None;
28227 return resultobj;
28228 fail:
28229 return NULL;
28230 }
28231
28232
28233 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28234 PyObject *resultobj;
28235 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28236 unsigned int result;
28237 PyObject * obj0 = 0 ;
28238 char *kwnames[] = {
28239 (char *) "self", NULL
28240 };
28241
28242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28244 if (SWIG_arg_fail(1)) SWIG_fail;
28245 {
28246 PyThreadState* __tstate = wxPyBeginAllowThreads();
28247 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28248
28249 wxPyEndAllowThreads(__tstate);
28250 if (PyErr_Occurred()) SWIG_fail;
28251 }
28252 {
28253 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28254 }
28255 return resultobj;
28256 fail:
28257 return NULL;
28258 }
28259
28260
28261 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28262 PyObject *resultobj;
28263 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28264 unsigned int arg2 ;
28265 PyObject * obj0 = 0 ;
28266 PyObject * obj1 = 0 ;
28267 char *kwnames[] = {
28268 (char *) "self",(char *) "spacing", NULL
28269 };
28270
28271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) 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 {
28275 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28276 if (SWIG_arg_fail(2)) SWIG_fail;
28277 }
28278 {
28279 PyThreadState* __tstate = wxPyBeginAllowThreads();
28280 (arg1)->SetSpacing(arg2);
28281
28282 wxPyEndAllowThreads(__tstate);
28283 if (PyErr_Occurred()) SWIG_fail;
28284 }
28285 Py_INCREF(Py_None); resultobj = Py_None;
28286 return resultobj;
28287 fail:
28288 return NULL;
28289 }
28290
28291
28292 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28293 PyObject *resultobj;
28294 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28295 wxImageList *result;
28296 PyObject * obj0 = 0 ;
28297 char *kwnames[] = {
28298 (char *) "self", NULL
28299 };
28300
28301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28303 if (SWIG_arg_fail(1)) SWIG_fail;
28304 {
28305 PyThreadState* __tstate = wxPyBeginAllowThreads();
28306 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28307
28308 wxPyEndAllowThreads(__tstate);
28309 if (PyErr_Occurred()) SWIG_fail;
28310 }
28311 {
28312 resultobj = wxPyMake_wxObject(result, 0);
28313 }
28314 return resultobj;
28315 fail:
28316 return NULL;
28317 }
28318
28319
28320 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28321 PyObject *resultobj;
28322 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28323 wxImageList *result;
28324 PyObject * obj0 = 0 ;
28325 char *kwnames[] = {
28326 (char *) "self", NULL
28327 };
28328
28329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28331 if (SWIG_arg_fail(1)) SWIG_fail;
28332 {
28333 PyThreadState* __tstate = wxPyBeginAllowThreads();
28334 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28335
28336 wxPyEndAllowThreads(__tstate);
28337 if (PyErr_Occurred()) SWIG_fail;
28338 }
28339 {
28340 resultobj = wxPyMake_wxObject(result, 0);
28341 }
28342 return resultobj;
28343 fail:
28344 return NULL;
28345 }
28346
28347
28348 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28349 PyObject *resultobj;
28350 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28351 wxImageList *arg2 = (wxImageList *) 0 ;
28352 PyObject * obj0 = 0 ;
28353 PyObject * obj1 = 0 ;
28354 char *kwnames[] = {
28355 (char *) "self",(char *) "imageList", NULL
28356 };
28357
28358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28360 if (SWIG_arg_fail(1)) SWIG_fail;
28361 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28362 if (SWIG_arg_fail(2)) SWIG_fail;
28363 {
28364 PyThreadState* __tstate = wxPyBeginAllowThreads();
28365 (arg1)->SetImageList(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_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28378 PyObject *resultobj;
28379 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28380 wxImageList *arg2 = (wxImageList *) 0 ;
28381 PyObject * obj0 = 0 ;
28382 PyObject * obj1 = 0 ;
28383 char *kwnames[] = {
28384 (char *) "self",(char *) "imageList", NULL
28385 };
28386
28387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28389 if (SWIG_arg_fail(1)) SWIG_fail;
28390 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28391 if (SWIG_arg_fail(2)) SWIG_fail;
28392 {
28393 PyThreadState* __tstate = wxPyBeginAllowThreads();
28394 (arg1)->SetStateImageList(arg2);
28395
28396 wxPyEndAllowThreads(__tstate);
28397 if (PyErr_Occurred()) SWIG_fail;
28398 }
28399 Py_INCREF(Py_None); resultobj = Py_None;
28400 return resultobj;
28401 fail:
28402 return NULL;
28403 }
28404
28405
28406 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28407 PyObject *resultobj;
28408 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28409 wxImageList *arg2 = (wxImageList *) 0 ;
28410 PyObject * obj0 = 0 ;
28411 PyObject * obj1 = 0 ;
28412 char *kwnames[] = {
28413 (char *) "self",(char *) "imageList", NULL
28414 };
28415
28416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28418 if (SWIG_arg_fail(1)) SWIG_fail;
28419 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28420 if (SWIG_arg_fail(2)) SWIG_fail;
28421 {
28422 PyThreadState* __tstate = wxPyBeginAllowThreads();
28423 (arg1)->AssignImageList(arg2);
28424
28425 wxPyEndAllowThreads(__tstate);
28426 if (PyErr_Occurred()) SWIG_fail;
28427 }
28428 Py_INCREF(Py_None); resultobj = Py_None;
28429 return resultobj;
28430 fail:
28431 return NULL;
28432 }
28433
28434
28435 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28436 PyObject *resultobj;
28437 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28438 wxImageList *arg2 = (wxImageList *) 0 ;
28439 PyObject * obj0 = 0 ;
28440 PyObject * obj1 = 0 ;
28441 char *kwnames[] = {
28442 (char *) "self",(char *) "imageList", NULL
28443 };
28444
28445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28449 if (SWIG_arg_fail(2)) SWIG_fail;
28450 {
28451 PyThreadState* __tstate = wxPyBeginAllowThreads();
28452 (arg1)->AssignStateImageList(arg2);
28453
28454 wxPyEndAllowThreads(__tstate);
28455 if (PyErr_Occurred()) SWIG_fail;
28456 }
28457 Py_INCREF(Py_None); resultobj = Py_None;
28458 return resultobj;
28459 fail:
28460 return NULL;
28461 }
28462
28463
28464 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28465 PyObject *resultobj;
28466 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28467 wxTreeItemId *arg2 = 0 ;
28468 wxString result;
28469 PyObject * obj0 = 0 ;
28470 PyObject * obj1 = 0 ;
28471 char *kwnames[] = {
28472 (char *) "self",(char *) "item", NULL
28473 };
28474
28475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28477 if (SWIG_arg_fail(1)) SWIG_fail;
28478 {
28479 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28480 if (SWIG_arg_fail(2)) SWIG_fail;
28481 if (arg2 == NULL) {
28482 SWIG_null_ref("wxTreeItemId");
28483 }
28484 if (SWIG_arg_fail(2)) SWIG_fail;
28485 }
28486 {
28487 PyThreadState* __tstate = wxPyBeginAllowThreads();
28488 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28489
28490 wxPyEndAllowThreads(__tstate);
28491 if (PyErr_Occurred()) SWIG_fail;
28492 }
28493 {
28494 #if wxUSE_UNICODE
28495 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28496 #else
28497 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28498 #endif
28499 }
28500 return resultobj;
28501 fail:
28502 return NULL;
28503 }
28504
28505
28506 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28507 PyObject *resultobj;
28508 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28509 wxTreeItemId *arg2 = 0 ;
28510 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28511 int result;
28512 PyObject * obj0 = 0 ;
28513 PyObject * obj1 = 0 ;
28514 PyObject * obj2 = 0 ;
28515 char *kwnames[] = {
28516 (char *) "self",(char *) "item",(char *) "which", NULL
28517 };
28518
28519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28521 if (SWIG_arg_fail(1)) SWIG_fail;
28522 {
28523 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28524 if (SWIG_arg_fail(2)) SWIG_fail;
28525 if (arg2 == NULL) {
28526 SWIG_null_ref("wxTreeItemId");
28527 }
28528 if (SWIG_arg_fail(2)) SWIG_fail;
28529 }
28530 if (obj2) {
28531 {
28532 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28533 if (SWIG_arg_fail(3)) SWIG_fail;
28534 }
28535 }
28536 {
28537 PyThreadState* __tstate = wxPyBeginAllowThreads();
28538 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28539
28540 wxPyEndAllowThreads(__tstate);
28541 if (PyErr_Occurred()) SWIG_fail;
28542 }
28543 {
28544 resultobj = SWIG_From_int((int)(result));
28545 }
28546 return resultobj;
28547 fail:
28548 return NULL;
28549 }
28550
28551
28552 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28553 PyObject *resultobj;
28554 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28555 wxTreeItemId *arg2 = 0 ;
28556 wxPyTreeItemData *result;
28557 PyObject * obj0 = 0 ;
28558 PyObject * obj1 = 0 ;
28559 char *kwnames[] = {
28560 (char *) "self",(char *) "item", NULL
28561 };
28562
28563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28565 if (SWIG_arg_fail(1)) SWIG_fail;
28566 {
28567 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28568 if (SWIG_arg_fail(2)) SWIG_fail;
28569 if (arg2 == NULL) {
28570 SWIG_null_ref("wxTreeItemId");
28571 }
28572 if (SWIG_arg_fail(2)) SWIG_fail;
28573 }
28574 {
28575 PyThreadState* __tstate = wxPyBeginAllowThreads();
28576 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28577
28578 wxPyEndAllowThreads(__tstate);
28579 if (PyErr_Occurred()) SWIG_fail;
28580 }
28581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28582 return resultobj;
28583 fail:
28584 return NULL;
28585 }
28586
28587
28588 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28589 PyObject *resultobj;
28590 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28591 wxTreeItemId *arg2 = 0 ;
28592 PyObject *result;
28593 PyObject * obj0 = 0 ;
28594 PyObject * obj1 = 0 ;
28595 char *kwnames[] = {
28596 (char *) "self",(char *) "item", NULL
28597 };
28598
28599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28601 if (SWIG_arg_fail(1)) SWIG_fail;
28602 {
28603 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28604 if (SWIG_arg_fail(2)) SWIG_fail;
28605 if (arg2 == NULL) {
28606 SWIG_null_ref("wxTreeItemId");
28607 }
28608 if (SWIG_arg_fail(2)) SWIG_fail;
28609 }
28610 {
28611 PyThreadState* __tstate = wxPyBeginAllowThreads();
28612 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28613
28614 wxPyEndAllowThreads(__tstate);
28615 if (PyErr_Occurred()) SWIG_fail;
28616 }
28617 resultobj = result;
28618 return resultobj;
28619 fail:
28620 return NULL;
28621 }
28622
28623
28624 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28625 PyObject *resultobj;
28626 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28627 wxTreeItemId *arg2 = 0 ;
28628 wxColour result;
28629 PyObject * obj0 = 0 ;
28630 PyObject * obj1 = 0 ;
28631 char *kwnames[] = {
28632 (char *) "self",(char *) "item", NULL
28633 };
28634
28635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
28636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28637 if (SWIG_arg_fail(1)) SWIG_fail;
28638 {
28639 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28640 if (SWIG_arg_fail(2)) SWIG_fail;
28641 if (arg2 == NULL) {
28642 SWIG_null_ref("wxTreeItemId");
28643 }
28644 if (SWIG_arg_fail(2)) SWIG_fail;
28645 }
28646 {
28647 PyThreadState* __tstate = wxPyBeginAllowThreads();
28648 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28649
28650 wxPyEndAllowThreads(__tstate);
28651 if (PyErr_Occurred()) SWIG_fail;
28652 }
28653 {
28654 wxColour * resultptr;
28655 resultptr = new wxColour((wxColour &)(result));
28656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28657 }
28658 return resultobj;
28659 fail:
28660 return NULL;
28661 }
28662
28663
28664 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28665 PyObject *resultobj;
28666 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28667 wxTreeItemId *arg2 = 0 ;
28668 wxColour result;
28669 PyObject * obj0 = 0 ;
28670 PyObject * obj1 = 0 ;
28671 char *kwnames[] = {
28672 (char *) "self",(char *) "item", NULL
28673 };
28674
28675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28677 if (SWIG_arg_fail(1)) SWIG_fail;
28678 {
28679 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28680 if (SWIG_arg_fail(2)) SWIG_fail;
28681 if (arg2 == NULL) {
28682 SWIG_null_ref("wxTreeItemId");
28683 }
28684 if (SWIG_arg_fail(2)) SWIG_fail;
28685 }
28686 {
28687 PyThreadState* __tstate = wxPyBeginAllowThreads();
28688 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28689
28690 wxPyEndAllowThreads(__tstate);
28691 if (PyErr_Occurred()) SWIG_fail;
28692 }
28693 {
28694 wxColour * resultptr;
28695 resultptr = new wxColour((wxColour &)(result));
28696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28697 }
28698 return resultobj;
28699 fail:
28700 return NULL;
28701 }
28702
28703
28704 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28705 PyObject *resultobj;
28706 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28707 wxTreeItemId *arg2 = 0 ;
28708 wxFont result;
28709 PyObject * obj0 = 0 ;
28710 PyObject * obj1 = 0 ;
28711 char *kwnames[] = {
28712 (char *) "self",(char *) "item", NULL
28713 };
28714
28715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28717 if (SWIG_arg_fail(1)) SWIG_fail;
28718 {
28719 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28720 if (SWIG_arg_fail(2)) SWIG_fail;
28721 if (arg2 == NULL) {
28722 SWIG_null_ref("wxTreeItemId");
28723 }
28724 if (SWIG_arg_fail(2)) SWIG_fail;
28725 }
28726 {
28727 PyThreadState* __tstate = wxPyBeginAllowThreads();
28728 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28729
28730 wxPyEndAllowThreads(__tstate);
28731 if (PyErr_Occurred()) SWIG_fail;
28732 }
28733 {
28734 wxFont * resultptr;
28735 resultptr = new wxFont((wxFont &)(result));
28736 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28737 }
28738 return resultobj;
28739 fail:
28740 return NULL;
28741 }
28742
28743
28744 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28745 PyObject *resultobj;
28746 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28747 wxTreeItemId *arg2 = 0 ;
28748 wxString *arg3 = 0 ;
28749 bool temp3 = false ;
28750 PyObject * obj0 = 0 ;
28751 PyObject * obj1 = 0 ;
28752 PyObject * obj2 = 0 ;
28753 char *kwnames[] = {
28754 (char *) "self",(char *) "item",(char *) "text", NULL
28755 };
28756
28757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
28758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28759 if (SWIG_arg_fail(1)) SWIG_fail;
28760 {
28761 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28762 if (SWIG_arg_fail(2)) SWIG_fail;
28763 if (arg2 == NULL) {
28764 SWIG_null_ref("wxTreeItemId");
28765 }
28766 if (SWIG_arg_fail(2)) SWIG_fail;
28767 }
28768 {
28769 arg3 = wxString_in_helper(obj2);
28770 if (arg3 == NULL) SWIG_fail;
28771 temp3 = true;
28772 }
28773 {
28774 PyThreadState* __tstate = wxPyBeginAllowThreads();
28775 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28776
28777 wxPyEndAllowThreads(__tstate);
28778 if (PyErr_Occurred()) SWIG_fail;
28779 }
28780 Py_INCREF(Py_None); resultobj = Py_None;
28781 {
28782 if (temp3)
28783 delete arg3;
28784 }
28785 return resultobj;
28786 fail:
28787 {
28788 if (temp3)
28789 delete arg3;
28790 }
28791 return NULL;
28792 }
28793
28794
28795 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28796 PyObject *resultobj;
28797 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28798 wxTreeItemId *arg2 = 0 ;
28799 int arg3 ;
28800 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28801 PyObject * obj0 = 0 ;
28802 PyObject * obj1 = 0 ;
28803 PyObject * obj2 = 0 ;
28804 PyObject * obj3 = 0 ;
28805 char *kwnames[] = {
28806 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28807 };
28808
28809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28811 if (SWIG_arg_fail(1)) SWIG_fail;
28812 {
28813 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28814 if (SWIG_arg_fail(2)) SWIG_fail;
28815 if (arg2 == NULL) {
28816 SWIG_null_ref("wxTreeItemId");
28817 }
28818 if (SWIG_arg_fail(2)) SWIG_fail;
28819 }
28820 {
28821 arg3 = (int)(SWIG_As_int(obj2));
28822 if (SWIG_arg_fail(3)) SWIG_fail;
28823 }
28824 if (obj3) {
28825 {
28826 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28827 if (SWIG_arg_fail(4)) SWIG_fail;
28828 }
28829 }
28830 {
28831 PyThreadState* __tstate = wxPyBeginAllowThreads();
28832 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28833
28834 wxPyEndAllowThreads(__tstate);
28835 if (PyErr_Occurred()) SWIG_fail;
28836 }
28837 Py_INCREF(Py_None); resultobj = Py_None;
28838 return resultobj;
28839 fail:
28840 return NULL;
28841 }
28842
28843
28844 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28845 PyObject *resultobj;
28846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28847 wxTreeItemId *arg2 = 0 ;
28848 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28849 PyObject * obj0 = 0 ;
28850 PyObject * obj1 = 0 ;
28851 PyObject * obj2 = 0 ;
28852 char *kwnames[] = {
28853 (char *) "self",(char *) "item",(char *) "data", NULL
28854 };
28855
28856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28858 if (SWIG_arg_fail(1)) SWIG_fail;
28859 {
28860 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28861 if (SWIG_arg_fail(2)) SWIG_fail;
28862 if (arg2 == NULL) {
28863 SWIG_null_ref("wxTreeItemId");
28864 }
28865 if (SWIG_arg_fail(2)) SWIG_fail;
28866 }
28867 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28868 if (SWIG_arg_fail(3)) SWIG_fail;
28869 {
28870 PyThreadState* __tstate = wxPyBeginAllowThreads();
28871 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28872
28873 wxPyEndAllowThreads(__tstate);
28874 if (PyErr_Occurred()) SWIG_fail;
28875 }
28876 Py_INCREF(Py_None); resultobj = Py_None;
28877 return resultobj;
28878 fail:
28879 return NULL;
28880 }
28881
28882
28883 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28884 PyObject *resultobj;
28885 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28886 wxTreeItemId *arg2 = 0 ;
28887 PyObject *arg3 = (PyObject *) 0 ;
28888 PyObject * obj0 = 0 ;
28889 PyObject * obj1 = 0 ;
28890 PyObject * obj2 = 0 ;
28891 char *kwnames[] = {
28892 (char *) "self",(char *) "item",(char *) "obj", NULL
28893 };
28894
28895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28897 if (SWIG_arg_fail(1)) SWIG_fail;
28898 {
28899 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28900 if (SWIG_arg_fail(2)) SWIG_fail;
28901 if (arg2 == NULL) {
28902 SWIG_null_ref("wxTreeItemId");
28903 }
28904 if (SWIG_arg_fail(2)) SWIG_fail;
28905 }
28906 arg3 = obj2;
28907 {
28908 PyThreadState* __tstate = wxPyBeginAllowThreads();
28909 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28910
28911 wxPyEndAllowThreads(__tstate);
28912 if (PyErr_Occurred()) SWIG_fail;
28913 }
28914 Py_INCREF(Py_None); resultobj = Py_None;
28915 return resultobj;
28916 fail:
28917 return NULL;
28918 }
28919
28920
28921 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28922 PyObject *resultobj;
28923 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28924 wxTreeItemId *arg2 = 0 ;
28925 bool arg3 = (bool) true ;
28926 PyObject * obj0 = 0 ;
28927 PyObject * obj1 = 0 ;
28928 PyObject * obj2 = 0 ;
28929 char *kwnames[] = {
28930 (char *) "self",(char *) "item",(char *) "has", NULL
28931 };
28932
28933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
28934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28935 if (SWIG_arg_fail(1)) SWIG_fail;
28936 {
28937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28938 if (SWIG_arg_fail(2)) SWIG_fail;
28939 if (arg2 == NULL) {
28940 SWIG_null_ref("wxTreeItemId");
28941 }
28942 if (SWIG_arg_fail(2)) SWIG_fail;
28943 }
28944 if (obj2) {
28945 {
28946 arg3 = (bool)(SWIG_As_bool(obj2));
28947 if (SWIG_arg_fail(3)) SWIG_fail;
28948 }
28949 }
28950 {
28951 PyThreadState* __tstate = wxPyBeginAllowThreads();
28952 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28953
28954 wxPyEndAllowThreads(__tstate);
28955 if (PyErr_Occurred()) SWIG_fail;
28956 }
28957 Py_INCREF(Py_None); resultobj = Py_None;
28958 return resultobj;
28959 fail:
28960 return NULL;
28961 }
28962
28963
28964 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
28965 PyObject *resultobj;
28966 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28967 wxTreeItemId *arg2 = 0 ;
28968 bool arg3 = (bool) true ;
28969 PyObject * obj0 = 0 ;
28970 PyObject * obj1 = 0 ;
28971 PyObject * obj2 = 0 ;
28972 char *kwnames[] = {
28973 (char *) "self",(char *) "item",(char *) "bold", NULL
28974 };
28975
28976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
28977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28978 if (SWIG_arg_fail(1)) SWIG_fail;
28979 {
28980 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28981 if (SWIG_arg_fail(2)) SWIG_fail;
28982 if (arg2 == NULL) {
28983 SWIG_null_ref("wxTreeItemId");
28984 }
28985 if (SWIG_arg_fail(2)) SWIG_fail;
28986 }
28987 if (obj2) {
28988 {
28989 arg3 = (bool)(SWIG_As_bool(obj2));
28990 if (SWIG_arg_fail(3)) SWIG_fail;
28991 }
28992 }
28993 {
28994 PyThreadState* __tstate = wxPyBeginAllowThreads();
28995 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
28996
28997 wxPyEndAllowThreads(__tstate);
28998 if (PyErr_Occurred()) SWIG_fail;
28999 }
29000 Py_INCREF(Py_None); resultobj = Py_None;
29001 return resultobj;
29002 fail:
29003 return NULL;
29004 }
29005
29006
29007 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
29008 PyObject *resultobj;
29009 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29010 wxTreeItemId *arg2 = 0 ;
29011 bool arg3 = (bool) true ;
29012 PyObject * obj0 = 0 ;
29013 PyObject * obj1 = 0 ;
29014 PyObject * obj2 = 0 ;
29015 char *kwnames[] = {
29016 (char *) "self",(char *) "item",(char *) "highlight", NULL
29017 };
29018
29019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
29020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29021 if (SWIG_arg_fail(1)) SWIG_fail;
29022 {
29023 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29024 if (SWIG_arg_fail(2)) SWIG_fail;
29025 if (arg2 == NULL) {
29026 SWIG_null_ref("wxTreeItemId");
29027 }
29028 if (SWIG_arg_fail(2)) SWIG_fail;
29029 }
29030 if (obj2) {
29031 {
29032 arg3 = (bool)(SWIG_As_bool(obj2));
29033 if (SWIG_arg_fail(3)) SWIG_fail;
29034 }
29035 }
29036 {
29037 PyThreadState* __tstate = wxPyBeginAllowThreads();
29038 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29039
29040 wxPyEndAllowThreads(__tstate);
29041 if (PyErr_Occurred()) SWIG_fail;
29042 }
29043 Py_INCREF(Py_None); resultobj = Py_None;
29044 return resultobj;
29045 fail:
29046 return NULL;
29047 }
29048
29049
29050 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29051 PyObject *resultobj;
29052 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29053 wxTreeItemId *arg2 = 0 ;
29054 wxColour *arg3 = 0 ;
29055 wxColour temp3 ;
29056 PyObject * obj0 = 0 ;
29057 PyObject * obj1 = 0 ;
29058 PyObject * obj2 = 0 ;
29059 char *kwnames[] = {
29060 (char *) "self",(char *) "item",(char *) "col", NULL
29061 };
29062
29063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29065 if (SWIG_arg_fail(1)) SWIG_fail;
29066 {
29067 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29068 if (SWIG_arg_fail(2)) SWIG_fail;
29069 if (arg2 == NULL) {
29070 SWIG_null_ref("wxTreeItemId");
29071 }
29072 if (SWIG_arg_fail(2)) SWIG_fail;
29073 }
29074 {
29075 arg3 = &temp3;
29076 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29077 }
29078 {
29079 PyThreadState* __tstate = wxPyBeginAllowThreads();
29080 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29081
29082 wxPyEndAllowThreads(__tstate);
29083 if (PyErr_Occurred()) SWIG_fail;
29084 }
29085 Py_INCREF(Py_None); resultobj = Py_None;
29086 return resultobj;
29087 fail:
29088 return NULL;
29089 }
29090
29091
29092 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29093 PyObject *resultobj;
29094 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29095 wxTreeItemId *arg2 = 0 ;
29096 wxColour *arg3 = 0 ;
29097 wxColour temp3 ;
29098 PyObject * obj0 = 0 ;
29099 PyObject * obj1 = 0 ;
29100 PyObject * obj2 = 0 ;
29101 char *kwnames[] = {
29102 (char *) "self",(char *) "item",(char *) "col", NULL
29103 };
29104
29105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29107 if (SWIG_arg_fail(1)) SWIG_fail;
29108 {
29109 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29110 if (SWIG_arg_fail(2)) SWIG_fail;
29111 if (arg2 == NULL) {
29112 SWIG_null_ref("wxTreeItemId");
29113 }
29114 if (SWIG_arg_fail(2)) SWIG_fail;
29115 }
29116 {
29117 arg3 = &temp3;
29118 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29119 }
29120 {
29121 PyThreadState* __tstate = wxPyBeginAllowThreads();
29122 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29123
29124 wxPyEndAllowThreads(__tstate);
29125 if (PyErr_Occurred()) SWIG_fail;
29126 }
29127 Py_INCREF(Py_None); resultobj = Py_None;
29128 return resultobj;
29129 fail:
29130 return NULL;
29131 }
29132
29133
29134 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29135 PyObject *resultobj;
29136 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29137 wxTreeItemId *arg2 = 0 ;
29138 wxFont *arg3 = 0 ;
29139 PyObject * obj0 = 0 ;
29140 PyObject * obj1 = 0 ;
29141 PyObject * obj2 = 0 ;
29142 char *kwnames[] = {
29143 (char *) "self",(char *) "item",(char *) "font", NULL
29144 };
29145
29146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29148 if (SWIG_arg_fail(1)) SWIG_fail;
29149 {
29150 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29151 if (SWIG_arg_fail(2)) SWIG_fail;
29152 if (arg2 == NULL) {
29153 SWIG_null_ref("wxTreeItemId");
29154 }
29155 if (SWIG_arg_fail(2)) SWIG_fail;
29156 }
29157 {
29158 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29159 if (SWIG_arg_fail(3)) SWIG_fail;
29160 if (arg3 == NULL) {
29161 SWIG_null_ref("wxFont");
29162 }
29163 if (SWIG_arg_fail(3)) SWIG_fail;
29164 }
29165 {
29166 PyThreadState* __tstate = wxPyBeginAllowThreads();
29167 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29168
29169 wxPyEndAllowThreads(__tstate);
29170 if (PyErr_Occurred()) SWIG_fail;
29171 }
29172 Py_INCREF(Py_None); resultobj = Py_None;
29173 return resultobj;
29174 fail:
29175 return NULL;
29176 }
29177
29178
29179 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29180 PyObject *resultobj;
29181 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29182 wxTreeItemId *arg2 = 0 ;
29183 bool result;
29184 PyObject * obj0 = 0 ;
29185 PyObject * obj1 = 0 ;
29186 char *kwnames[] = {
29187 (char *) "self",(char *) "item", NULL
29188 };
29189
29190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
29191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29192 if (SWIG_arg_fail(1)) SWIG_fail;
29193 {
29194 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29195 if (SWIG_arg_fail(2)) SWIG_fail;
29196 if (arg2 == NULL) {
29197 SWIG_null_ref("wxTreeItemId");
29198 }
29199 if (SWIG_arg_fail(2)) SWIG_fail;
29200 }
29201 {
29202 PyThreadState* __tstate = wxPyBeginAllowThreads();
29203 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29204
29205 wxPyEndAllowThreads(__tstate);
29206 if (PyErr_Occurred()) SWIG_fail;
29207 }
29208 {
29209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29210 }
29211 return resultobj;
29212 fail:
29213 return NULL;
29214 }
29215
29216
29217 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29218 PyObject *resultobj;
29219 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29220 wxTreeItemId *arg2 = 0 ;
29221 bool result;
29222 PyObject * obj0 = 0 ;
29223 PyObject * obj1 = 0 ;
29224 char *kwnames[] = {
29225 (char *) "self",(char *) "item", NULL
29226 };
29227
29228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
29229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29230 if (SWIG_arg_fail(1)) SWIG_fail;
29231 {
29232 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29233 if (SWIG_arg_fail(2)) SWIG_fail;
29234 if (arg2 == NULL) {
29235 SWIG_null_ref("wxTreeItemId");
29236 }
29237 if (SWIG_arg_fail(2)) SWIG_fail;
29238 }
29239 {
29240 PyThreadState* __tstate = wxPyBeginAllowThreads();
29241 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29242
29243 wxPyEndAllowThreads(__tstate);
29244 if (PyErr_Occurred()) SWIG_fail;
29245 }
29246 {
29247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29248 }
29249 return resultobj;
29250 fail:
29251 return NULL;
29252 }
29253
29254
29255 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
29256 PyObject *resultobj;
29257 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29258 wxTreeItemId *arg2 = 0 ;
29259 bool result;
29260 PyObject * obj0 = 0 ;
29261 PyObject * obj1 = 0 ;
29262 char *kwnames[] = {
29263 (char *) "self",(char *) "item", NULL
29264 };
29265
29266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
29267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29268 if (SWIG_arg_fail(1)) SWIG_fail;
29269 {
29270 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29271 if (SWIG_arg_fail(2)) SWIG_fail;
29272 if (arg2 == NULL) {
29273 SWIG_null_ref("wxTreeItemId");
29274 }
29275 if (SWIG_arg_fail(2)) SWIG_fail;
29276 }
29277 {
29278 PyThreadState* __tstate = wxPyBeginAllowThreads();
29279 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29280
29281 wxPyEndAllowThreads(__tstate);
29282 if (PyErr_Occurred()) SWIG_fail;
29283 }
29284 {
29285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29286 }
29287 return resultobj;
29288 fail:
29289 return NULL;
29290 }
29291
29292
29293 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
29294 PyObject *resultobj;
29295 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29296 wxTreeItemId *arg2 = 0 ;
29297 bool result;
29298 PyObject * obj0 = 0 ;
29299 PyObject * obj1 = 0 ;
29300 char *kwnames[] = {
29301 (char *) "self",(char *) "item", NULL
29302 };
29303
29304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
29305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29306 if (SWIG_arg_fail(1)) SWIG_fail;
29307 {
29308 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29309 if (SWIG_arg_fail(2)) SWIG_fail;
29310 if (arg2 == NULL) {
29311 SWIG_null_ref("wxTreeItemId");
29312 }
29313 if (SWIG_arg_fail(2)) SWIG_fail;
29314 }
29315 {
29316 PyThreadState* __tstate = wxPyBeginAllowThreads();
29317 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29318
29319 wxPyEndAllowThreads(__tstate);
29320 if (PyErr_Occurred()) SWIG_fail;
29321 }
29322 {
29323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29324 }
29325 return resultobj;
29326 fail:
29327 return NULL;
29328 }
29329
29330
29331 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29332 PyObject *resultobj;
29333 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29334 wxTreeItemId *arg2 = 0 ;
29335 bool result;
29336 PyObject * obj0 = 0 ;
29337 PyObject * obj1 = 0 ;
29338 char *kwnames[] = {
29339 (char *) "self",(char *) "item", NULL
29340 };
29341
29342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29344 if (SWIG_arg_fail(1)) SWIG_fail;
29345 {
29346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29347 if (SWIG_arg_fail(2)) SWIG_fail;
29348 if (arg2 == NULL) {
29349 SWIG_null_ref("wxTreeItemId");
29350 }
29351 if (SWIG_arg_fail(2)) SWIG_fail;
29352 }
29353 {
29354 PyThreadState* __tstate = wxPyBeginAllowThreads();
29355 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29356
29357 wxPyEndAllowThreads(__tstate);
29358 if (PyErr_Occurred()) SWIG_fail;
29359 }
29360 {
29361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29362 }
29363 return resultobj;
29364 fail:
29365 return NULL;
29366 }
29367
29368
29369 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29370 PyObject *resultobj;
29371 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29372 wxTreeItemId *arg2 = 0 ;
29373 bool arg3 = (bool) true ;
29374 size_t result;
29375 PyObject * obj0 = 0 ;
29376 PyObject * obj1 = 0 ;
29377 PyObject * obj2 = 0 ;
29378 char *kwnames[] = {
29379 (char *) "self",(char *) "item",(char *) "recursively", NULL
29380 };
29381
29382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29384 if (SWIG_arg_fail(1)) SWIG_fail;
29385 {
29386 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29387 if (SWIG_arg_fail(2)) SWIG_fail;
29388 if (arg2 == NULL) {
29389 SWIG_null_ref("wxTreeItemId");
29390 }
29391 if (SWIG_arg_fail(2)) SWIG_fail;
29392 }
29393 if (obj2) {
29394 {
29395 arg3 = (bool)(SWIG_As_bool(obj2));
29396 if (SWIG_arg_fail(3)) SWIG_fail;
29397 }
29398 }
29399 {
29400 PyThreadState* __tstate = wxPyBeginAllowThreads();
29401 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29402
29403 wxPyEndAllowThreads(__tstate);
29404 if (PyErr_Occurred()) SWIG_fail;
29405 }
29406 {
29407 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29408 }
29409 return resultobj;
29410 fail:
29411 return NULL;
29412 }
29413
29414
29415 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29416 PyObject *resultobj;
29417 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29418 wxTreeItemId result;
29419 PyObject * obj0 = 0 ;
29420 char *kwnames[] = {
29421 (char *) "self", NULL
29422 };
29423
29424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29426 if (SWIG_arg_fail(1)) SWIG_fail;
29427 {
29428 PyThreadState* __tstate = wxPyBeginAllowThreads();
29429 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29430
29431 wxPyEndAllowThreads(__tstate);
29432 if (PyErr_Occurred()) SWIG_fail;
29433 }
29434 {
29435 wxTreeItemId * resultptr;
29436 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29437 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29438 }
29439 return resultobj;
29440 fail:
29441 return NULL;
29442 }
29443
29444
29445 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29446 PyObject *resultobj;
29447 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29448 wxTreeItemId result;
29449 PyObject * obj0 = 0 ;
29450 char *kwnames[] = {
29451 (char *) "self", NULL
29452 };
29453
29454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29456 if (SWIG_arg_fail(1)) SWIG_fail;
29457 {
29458 PyThreadState* __tstate = wxPyBeginAllowThreads();
29459 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29460
29461 wxPyEndAllowThreads(__tstate);
29462 if (PyErr_Occurred()) SWIG_fail;
29463 }
29464 {
29465 wxTreeItemId * resultptr;
29466 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29468 }
29469 return resultobj;
29470 fail:
29471 return NULL;
29472 }
29473
29474
29475 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29476 PyObject *resultobj;
29477 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29478 PyObject *result;
29479 PyObject * obj0 = 0 ;
29480 char *kwnames[] = {
29481 (char *) "self", NULL
29482 };
29483
29484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29486 if (SWIG_arg_fail(1)) SWIG_fail;
29487 {
29488 PyThreadState* __tstate = wxPyBeginAllowThreads();
29489 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29490
29491 wxPyEndAllowThreads(__tstate);
29492 if (PyErr_Occurred()) SWIG_fail;
29493 }
29494 resultobj = result;
29495 return resultobj;
29496 fail:
29497 return NULL;
29498 }
29499
29500
29501 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29502 PyObject *resultobj;
29503 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29504 wxTreeItemId *arg2 = 0 ;
29505 wxTreeItemId result;
29506 PyObject * obj0 = 0 ;
29507 PyObject * obj1 = 0 ;
29508 char *kwnames[] = {
29509 (char *) "self",(char *) "item", NULL
29510 };
29511
29512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29514 if (SWIG_arg_fail(1)) SWIG_fail;
29515 {
29516 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29517 if (SWIG_arg_fail(2)) SWIG_fail;
29518 if (arg2 == NULL) {
29519 SWIG_null_ref("wxTreeItemId");
29520 }
29521 if (SWIG_arg_fail(2)) SWIG_fail;
29522 }
29523 {
29524 PyThreadState* __tstate = wxPyBeginAllowThreads();
29525 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29526
29527 wxPyEndAllowThreads(__tstate);
29528 if (PyErr_Occurred()) SWIG_fail;
29529 }
29530 {
29531 wxTreeItemId * resultptr;
29532 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29534 }
29535 return resultobj;
29536 fail:
29537 return NULL;
29538 }
29539
29540
29541 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29542 PyObject *resultobj;
29543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29544 wxTreeItemId *arg2 = 0 ;
29545 PyObject *result;
29546 PyObject * obj0 = 0 ;
29547 PyObject * obj1 = 0 ;
29548 char *kwnames[] = {
29549 (char *) "self",(char *) "item", NULL
29550 };
29551
29552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
29553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29554 if (SWIG_arg_fail(1)) SWIG_fail;
29555 {
29556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29557 if (SWIG_arg_fail(2)) SWIG_fail;
29558 if (arg2 == NULL) {
29559 SWIG_null_ref("wxTreeItemId");
29560 }
29561 if (SWIG_arg_fail(2)) SWIG_fail;
29562 }
29563 {
29564 PyThreadState* __tstate = wxPyBeginAllowThreads();
29565 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29566
29567 wxPyEndAllowThreads(__tstate);
29568 if (PyErr_Occurred()) SWIG_fail;
29569 }
29570 resultobj = result;
29571 return resultobj;
29572 fail:
29573 return NULL;
29574 }
29575
29576
29577 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29578 PyObject *resultobj;
29579 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29580 wxTreeItemId *arg2 = 0 ;
29581 void *arg3 = (void *) 0 ;
29582 PyObject *result;
29583 PyObject * obj0 = 0 ;
29584 PyObject * obj1 = 0 ;
29585 PyObject * obj2 = 0 ;
29586 char *kwnames[] = {
29587 (char *) "self",(char *) "item",(char *) "cookie", NULL
29588 };
29589
29590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29592 if (SWIG_arg_fail(1)) SWIG_fail;
29593 {
29594 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29595 if (SWIG_arg_fail(2)) SWIG_fail;
29596 if (arg2 == NULL) {
29597 SWIG_null_ref("wxTreeItemId");
29598 }
29599 if (SWIG_arg_fail(2)) SWIG_fail;
29600 }
29601 {
29602 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29603 SWIG_arg_fail(3);SWIG_fail;
29604 }
29605 }
29606 {
29607 PyThreadState* __tstate = wxPyBeginAllowThreads();
29608 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29609
29610 wxPyEndAllowThreads(__tstate);
29611 if (PyErr_Occurred()) SWIG_fail;
29612 }
29613 resultobj = result;
29614 return resultobj;
29615 fail:
29616 return NULL;
29617 }
29618
29619
29620 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29621 PyObject *resultobj;
29622 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29623 wxTreeItemId *arg2 = 0 ;
29624 wxTreeItemId result;
29625 PyObject * obj0 = 0 ;
29626 PyObject * obj1 = 0 ;
29627 char *kwnames[] = {
29628 (char *) "self",(char *) "item", NULL
29629 };
29630
29631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29633 if (SWIG_arg_fail(1)) SWIG_fail;
29634 {
29635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29636 if (SWIG_arg_fail(2)) SWIG_fail;
29637 if (arg2 == NULL) {
29638 SWIG_null_ref("wxTreeItemId");
29639 }
29640 if (SWIG_arg_fail(2)) SWIG_fail;
29641 }
29642 {
29643 PyThreadState* __tstate = wxPyBeginAllowThreads();
29644 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29645
29646 wxPyEndAllowThreads(__tstate);
29647 if (PyErr_Occurred()) SWIG_fail;
29648 }
29649 {
29650 wxTreeItemId * resultptr;
29651 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29652 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29653 }
29654 return resultobj;
29655 fail:
29656 return NULL;
29657 }
29658
29659
29660 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29661 PyObject *resultobj;
29662 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29663 wxTreeItemId *arg2 = 0 ;
29664 wxTreeItemId result;
29665 PyObject * obj0 = 0 ;
29666 PyObject * obj1 = 0 ;
29667 char *kwnames[] = {
29668 (char *) "self",(char *) "item", NULL
29669 };
29670
29671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29673 if (SWIG_arg_fail(1)) SWIG_fail;
29674 {
29675 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29676 if (SWIG_arg_fail(2)) SWIG_fail;
29677 if (arg2 == NULL) {
29678 SWIG_null_ref("wxTreeItemId");
29679 }
29680 if (SWIG_arg_fail(2)) SWIG_fail;
29681 }
29682 {
29683 PyThreadState* __tstate = wxPyBeginAllowThreads();
29684 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29685
29686 wxPyEndAllowThreads(__tstate);
29687 if (PyErr_Occurred()) SWIG_fail;
29688 }
29689 {
29690 wxTreeItemId * resultptr;
29691 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29692 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29693 }
29694 return resultobj;
29695 fail:
29696 return NULL;
29697 }
29698
29699
29700 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29701 PyObject *resultobj;
29702 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29703 wxTreeItemId *arg2 = 0 ;
29704 wxTreeItemId result;
29705 PyObject * obj0 = 0 ;
29706 PyObject * obj1 = 0 ;
29707 char *kwnames[] = {
29708 (char *) "self",(char *) "item", NULL
29709 };
29710
29711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
29712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29713 if (SWIG_arg_fail(1)) SWIG_fail;
29714 {
29715 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29716 if (SWIG_arg_fail(2)) SWIG_fail;
29717 if (arg2 == NULL) {
29718 SWIG_null_ref("wxTreeItemId");
29719 }
29720 if (SWIG_arg_fail(2)) SWIG_fail;
29721 }
29722 {
29723 PyThreadState* __tstate = wxPyBeginAllowThreads();
29724 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29725
29726 wxPyEndAllowThreads(__tstate);
29727 if (PyErr_Occurred()) SWIG_fail;
29728 }
29729 {
29730 wxTreeItemId * resultptr;
29731 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29732 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29733 }
29734 return resultobj;
29735 fail:
29736 return NULL;
29737 }
29738
29739
29740 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29741 PyObject *resultobj;
29742 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29743 wxTreeItemId result;
29744 PyObject * obj0 = 0 ;
29745 char *kwnames[] = {
29746 (char *) "self", NULL
29747 };
29748
29749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29751 if (SWIG_arg_fail(1)) SWIG_fail;
29752 {
29753 PyThreadState* __tstate = wxPyBeginAllowThreads();
29754 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29755
29756 wxPyEndAllowThreads(__tstate);
29757 if (PyErr_Occurred()) SWIG_fail;
29758 }
29759 {
29760 wxTreeItemId * resultptr;
29761 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29763 }
29764 return resultobj;
29765 fail:
29766 return NULL;
29767 }
29768
29769
29770 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29771 PyObject *resultobj;
29772 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29773 wxTreeItemId *arg2 = 0 ;
29774 wxTreeItemId result;
29775 PyObject * obj0 = 0 ;
29776 PyObject * obj1 = 0 ;
29777 char *kwnames[] = {
29778 (char *) "self",(char *) "item", NULL
29779 };
29780
29781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29783 if (SWIG_arg_fail(1)) SWIG_fail;
29784 {
29785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29786 if (SWIG_arg_fail(2)) SWIG_fail;
29787 if (arg2 == NULL) {
29788 SWIG_null_ref("wxTreeItemId");
29789 }
29790 if (SWIG_arg_fail(2)) SWIG_fail;
29791 }
29792 {
29793 PyThreadState* __tstate = wxPyBeginAllowThreads();
29794 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29795
29796 wxPyEndAllowThreads(__tstate);
29797 if (PyErr_Occurred()) SWIG_fail;
29798 }
29799 {
29800 wxTreeItemId * resultptr;
29801 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29803 }
29804 return resultobj;
29805 fail:
29806 return NULL;
29807 }
29808
29809
29810 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29811 PyObject *resultobj;
29812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29813 wxTreeItemId *arg2 = 0 ;
29814 wxTreeItemId result;
29815 PyObject * obj0 = 0 ;
29816 PyObject * obj1 = 0 ;
29817 char *kwnames[] = {
29818 (char *) "self",(char *) "item", NULL
29819 };
29820
29821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
29822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29823 if (SWIG_arg_fail(1)) SWIG_fail;
29824 {
29825 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29826 if (SWIG_arg_fail(2)) SWIG_fail;
29827 if (arg2 == NULL) {
29828 SWIG_null_ref("wxTreeItemId");
29829 }
29830 if (SWIG_arg_fail(2)) SWIG_fail;
29831 }
29832 {
29833 PyThreadState* __tstate = wxPyBeginAllowThreads();
29834 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29835
29836 wxPyEndAllowThreads(__tstate);
29837 if (PyErr_Occurred()) SWIG_fail;
29838 }
29839 {
29840 wxTreeItemId * resultptr;
29841 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29843 }
29844 return resultobj;
29845 fail:
29846 return NULL;
29847 }
29848
29849
29850 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
29851 PyObject *resultobj;
29852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29853 wxString *arg2 = 0 ;
29854 int arg3 = (int) -1 ;
29855 int arg4 = (int) -1 ;
29856 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29857 wxTreeItemId result;
29858 bool temp2 = false ;
29859 PyObject * obj0 = 0 ;
29860 PyObject * obj1 = 0 ;
29861 PyObject * obj2 = 0 ;
29862 PyObject * obj3 = 0 ;
29863 PyObject * obj4 = 0 ;
29864 char *kwnames[] = {
29865 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29866 };
29867
29868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29870 if (SWIG_arg_fail(1)) SWIG_fail;
29871 {
29872 arg2 = wxString_in_helper(obj1);
29873 if (arg2 == NULL) SWIG_fail;
29874 temp2 = true;
29875 }
29876 if (obj2) {
29877 {
29878 arg3 = (int)(SWIG_As_int(obj2));
29879 if (SWIG_arg_fail(3)) SWIG_fail;
29880 }
29881 }
29882 if (obj3) {
29883 {
29884 arg4 = (int)(SWIG_As_int(obj3));
29885 if (SWIG_arg_fail(4)) SWIG_fail;
29886 }
29887 }
29888 if (obj4) {
29889 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29890 if (SWIG_arg_fail(5)) SWIG_fail;
29891 }
29892 {
29893 PyThreadState* __tstate = wxPyBeginAllowThreads();
29894 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29895
29896 wxPyEndAllowThreads(__tstate);
29897 if (PyErr_Occurred()) SWIG_fail;
29898 }
29899 {
29900 wxTreeItemId * resultptr;
29901 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29903 }
29904 {
29905 if (temp2)
29906 delete arg2;
29907 }
29908 return resultobj;
29909 fail:
29910 {
29911 if (temp2)
29912 delete arg2;
29913 }
29914 return NULL;
29915 }
29916
29917
29918 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
29919 PyObject *resultobj;
29920 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29921 wxTreeItemId *arg2 = 0 ;
29922 wxString *arg3 = 0 ;
29923 int arg4 = (int) -1 ;
29924 int arg5 = (int) -1 ;
29925 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29926 wxTreeItemId result;
29927 bool temp3 = false ;
29928 PyObject * obj0 = 0 ;
29929 PyObject * obj1 = 0 ;
29930 PyObject * obj2 = 0 ;
29931 PyObject * obj3 = 0 ;
29932 PyObject * obj4 = 0 ;
29933 PyObject * obj5 = 0 ;
29934 char *kwnames[] = {
29935 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29936 };
29937
29938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29940 if (SWIG_arg_fail(1)) SWIG_fail;
29941 {
29942 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29943 if (SWIG_arg_fail(2)) SWIG_fail;
29944 if (arg2 == NULL) {
29945 SWIG_null_ref("wxTreeItemId");
29946 }
29947 if (SWIG_arg_fail(2)) SWIG_fail;
29948 }
29949 {
29950 arg3 = wxString_in_helper(obj2);
29951 if (arg3 == NULL) SWIG_fail;
29952 temp3 = true;
29953 }
29954 if (obj3) {
29955 {
29956 arg4 = (int)(SWIG_As_int(obj3));
29957 if (SWIG_arg_fail(4)) SWIG_fail;
29958 }
29959 }
29960 if (obj4) {
29961 {
29962 arg5 = (int)(SWIG_As_int(obj4));
29963 if (SWIG_arg_fail(5)) SWIG_fail;
29964 }
29965 }
29966 if (obj5) {
29967 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29968 if (SWIG_arg_fail(6)) SWIG_fail;
29969 }
29970 {
29971 PyThreadState* __tstate = wxPyBeginAllowThreads();
29972 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
29973
29974 wxPyEndAllowThreads(__tstate);
29975 if (PyErr_Occurred()) SWIG_fail;
29976 }
29977 {
29978 wxTreeItemId * resultptr;
29979 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29981 }
29982 {
29983 if (temp3)
29984 delete arg3;
29985 }
29986 return resultobj;
29987 fail:
29988 {
29989 if (temp3)
29990 delete arg3;
29991 }
29992 return NULL;
29993 }
29994
29995
29996 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
29997 PyObject *resultobj;
29998 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29999 wxTreeItemId *arg2 = 0 ;
30000 wxTreeItemId *arg3 = 0 ;
30001 wxString *arg4 = 0 ;
30002 int arg5 = (int) -1 ;
30003 int arg6 = (int) -1 ;
30004 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30005 wxTreeItemId result;
30006 bool temp4 = false ;
30007 PyObject * obj0 = 0 ;
30008 PyObject * obj1 = 0 ;
30009 PyObject * obj2 = 0 ;
30010 PyObject * obj3 = 0 ;
30011 PyObject * obj4 = 0 ;
30012 PyObject * obj5 = 0 ;
30013 PyObject * obj6 = 0 ;
30014 char *kwnames[] = {
30015 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30016 };
30017
30018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30020 if (SWIG_arg_fail(1)) SWIG_fail;
30021 {
30022 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30023 if (SWIG_arg_fail(2)) SWIG_fail;
30024 if (arg2 == NULL) {
30025 SWIG_null_ref("wxTreeItemId");
30026 }
30027 if (SWIG_arg_fail(2)) SWIG_fail;
30028 }
30029 {
30030 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30031 if (SWIG_arg_fail(3)) SWIG_fail;
30032 if (arg3 == NULL) {
30033 SWIG_null_ref("wxTreeItemId");
30034 }
30035 if (SWIG_arg_fail(3)) SWIG_fail;
30036 }
30037 {
30038 arg4 = wxString_in_helper(obj3);
30039 if (arg4 == NULL) SWIG_fail;
30040 temp4 = true;
30041 }
30042 if (obj4) {
30043 {
30044 arg5 = (int)(SWIG_As_int(obj4));
30045 if (SWIG_arg_fail(5)) SWIG_fail;
30046 }
30047 }
30048 if (obj5) {
30049 {
30050 arg6 = (int)(SWIG_As_int(obj5));
30051 if (SWIG_arg_fail(6)) SWIG_fail;
30052 }
30053 }
30054 if (obj6) {
30055 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30056 if (SWIG_arg_fail(7)) SWIG_fail;
30057 }
30058 {
30059 PyThreadState* __tstate = wxPyBeginAllowThreads();
30060 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30061
30062 wxPyEndAllowThreads(__tstate);
30063 if (PyErr_Occurred()) SWIG_fail;
30064 }
30065 {
30066 wxTreeItemId * resultptr;
30067 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30068 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30069 }
30070 {
30071 if (temp4)
30072 delete arg4;
30073 }
30074 return resultobj;
30075 fail:
30076 {
30077 if (temp4)
30078 delete arg4;
30079 }
30080 return NULL;
30081 }
30082
30083
30084 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
30085 PyObject *resultobj;
30086 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30087 wxTreeItemId *arg2 = 0 ;
30088 size_t arg3 ;
30089 wxString *arg4 = 0 ;
30090 int arg5 = (int) -1 ;
30091 int arg6 = (int) -1 ;
30092 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30093 wxTreeItemId result;
30094 bool temp4 = false ;
30095 PyObject * obj0 = 0 ;
30096 PyObject * obj1 = 0 ;
30097 PyObject * obj2 = 0 ;
30098 PyObject * obj3 = 0 ;
30099 PyObject * obj4 = 0 ;
30100 PyObject * obj5 = 0 ;
30101 PyObject * obj6 = 0 ;
30102 char *kwnames[] = {
30103 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30104 };
30105
30106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30108 if (SWIG_arg_fail(1)) SWIG_fail;
30109 {
30110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30111 if (SWIG_arg_fail(2)) SWIG_fail;
30112 if (arg2 == NULL) {
30113 SWIG_null_ref("wxTreeItemId");
30114 }
30115 if (SWIG_arg_fail(2)) SWIG_fail;
30116 }
30117 {
30118 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30119 if (SWIG_arg_fail(3)) SWIG_fail;
30120 }
30121 {
30122 arg4 = wxString_in_helper(obj3);
30123 if (arg4 == NULL) SWIG_fail;
30124 temp4 = true;
30125 }
30126 if (obj4) {
30127 {
30128 arg5 = (int)(SWIG_As_int(obj4));
30129 if (SWIG_arg_fail(5)) SWIG_fail;
30130 }
30131 }
30132 if (obj5) {
30133 {
30134 arg6 = (int)(SWIG_As_int(obj5));
30135 if (SWIG_arg_fail(6)) SWIG_fail;
30136 }
30137 }
30138 if (obj6) {
30139 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30140 if (SWIG_arg_fail(7)) SWIG_fail;
30141 }
30142 {
30143 PyThreadState* __tstate = wxPyBeginAllowThreads();
30144 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30145
30146 wxPyEndAllowThreads(__tstate);
30147 if (PyErr_Occurred()) SWIG_fail;
30148 }
30149 {
30150 wxTreeItemId * resultptr;
30151 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30152 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30153 }
30154 {
30155 if (temp4)
30156 delete arg4;
30157 }
30158 return resultobj;
30159 fail:
30160 {
30161 if (temp4)
30162 delete arg4;
30163 }
30164 return NULL;
30165 }
30166
30167
30168 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30169 PyObject *resultobj;
30170 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30171 wxTreeItemId *arg2 = 0 ;
30172 wxString *arg3 = 0 ;
30173 int arg4 = (int) -1 ;
30174 int arg5 = (int) -1 ;
30175 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30176 wxTreeItemId result;
30177 bool temp3 = false ;
30178 PyObject * obj0 = 0 ;
30179 PyObject * obj1 = 0 ;
30180 PyObject * obj2 = 0 ;
30181 PyObject * obj3 = 0 ;
30182 PyObject * obj4 = 0 ;
30183 PyObject * obj5 = 0 ;
30184 char *kwnames[] = {
30185 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30186 };
30187
30188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30190 if (SWIG_arg_fail(1)) SWIG_fail;
30191 {
30192 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30193 if (SWIG_arg_fail(2)) SWIG_fail;
30194 if (arg2 == NULL) {
30195 SWIG_null_ref("wxTreeItemId");
30196 }
30197 if (SWIG_arg_fail(2)) SWIG_fail;
30198 }
30199 {
30200 arg3 = wxString_in_helper(obj2);
30201 if (arg3 == NULL) SWIG_fail;
30202 temp3 = true;
30203 }
30204 if (obj3) {
30205 {
30206 arg4 = (int)(SWIG_As_int(obj3));
30207 if (SWIG_arg_fail(4)) SWIG_fail;
30208 }
30209 }
30210 if (obj4) {
30211 {
30212 arg5 = (int)(SWIG_As_int(obj4));
30213 if (SWIG_arg_fail(5)) SWIG_fail;
30214 }
30215 }
30216 if (obj5) {
30217 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30218 if (SWIG_arg_fail(6)) SWIG_fail;
30219 }
30220 {
30221 PyThreadState* __tstate = wxPyBeginAllowThreads();
30222 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30223
30224 wxPyEndAllowThreads(__tstate);
30225 if (PyErr_Occurred()) SWIG_fail;
30226 }
30227 {
30228 wxTreeItemId * resultptr;
30229 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30231 }
30232 {
30233 if (temp3)
30234 delete arg3;
30235 }
30236 return resultobj;
30237 fail:
30238 {
30239 if (temp3)
30240 delete arg3;
30241 }
30242 return NULL;
30243 }
30244
30245
30246 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30247 PyObject *resultobj;
30248 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30249 wxTreeItemId *arg2 = 0 ;
30250 PyObject * obj0 = 0 ;
30251 PyObject * obj1 = 0 ;
30252 char *kwnames[] = {
30253 (char *) "self",(char *) "item", NULL
30254 };
30255
30256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30258 if (SWIG_arg_fail(1)) SWIG_fail;
30259 {
30260 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30261 if (SWIG_arg_fail(2)) SWIG_fail;
30262 if (arg2 == NULL) {
30263 SWIG_null_ref("wxTreeItemId");
30264 }
30265 if (SWIG_arg_fail(2)) SWIG_fail;
30266 }
30267 {
30268 PyThreadState* __tstate = wxPyBeginAllowThreads();
30269 (arg1)->Delete((wxTreeItemId const &)*arg2);
30270
30271 wxPyEndAllowThreads(__tstate);
30272 if (PyErr_Occurred()) SWIG_fail;
30273 }
30274 Py_INCREF(Py_None); resultobj = Py_None;
30275 return resultobj;
30276 fail:
30277 return NULL;
30278 }
30279
30280
30281 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30282 PyObject *resultobj;
30283 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30284 wxTreeItemId *arg2 = 0 ;
30285 PyObject * obj0 = 0 ;
30286 PyObject * obj1 = 0 ;
30287 char *kwnames[] = {
30288 (char *) "self",(char *) "item", NULL
30289 };
30290
30291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30293 if (SWIG_arg_fail(1)) SWIG_fail;
30294 {
30295 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30296 if (SWIG_arg_fail(2)) SWIG_fail;
30297 if (arg2 == NULL) {
30298 SWIG_null_ref("wxTreeItemId");
30299 }
30300 if (SWIG_arg_fail(2)) SWIG_fail;
30301 }
30302 {
30303 PyThreadState* __tstate = wxPyBeginAllowThreads();
30304 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30305
30306 wxPyEndAllowThreads(__tstate);
30307 if (PyErr_Occurred()) SWIG_fail;
30308 }
30309 Py_INCREF(Py_None); resultobj = Py_None;
30310 return resultobj;
30311 fail:
30312 return NULL;
30313 }
30314
30315
30316 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30317 PyObject *resultobj;
30318 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30319 PyObject * obj0 = 0 ;
30320 char *kwnames[] = {
30321 (char *) "self", NULL
30322 };
30323
30324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30326 if (SWIG_arg_fail(1)) SWIG_fail;
30327 {
30328 PyThreadState* __tstate = wxPyBeginAllowThreads();
30329 (arg1)->DeleteAllItems();
30330
30331 wxPyEndAllowThreads(__tstate);
30332 if (PyErr_Occurred()) SWIG_fail;
30333 }
30334 Py_INCREF(Py_None); resultobj = Py_None;
30335 return resultobj;
30336 fail:
30337 return NULL;
30338 }
30339
30340
30341 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30342 PyObject *resultobj;
30343 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30344 wxTreeItemId *arg2 = 0 ;
30345 PyObject * obj0 = 0 ;
30346 PyObject * obj1 = 0 ;
30347 char *kwnames[] = {
30348 (char *) "self",(char *) "item", NULL
30349 };
30350
30351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30353 if (SWIG_arg_fail(1)) SWIG_fail;
30354 {
30355 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30356 if (SWIG_arg_fail(2)) SWIG_fail;
30357 if (arg2 == NULL) {
30358 SWIG_null_ref("wxTreeItemId");
30359 }
30360 if (SWIG_arg_fail(2)) SWIG_fail;
30361 }
30362 {
30363 PyThreadState* __tstate = wxPyBeginAllowThreads();
30364 (arg1)->Expand((wxTreeItemId const &)*arg2);
30365
30366 wxPyEndAllowThreads(__tstate);
30367 if (PyErr_Occurred()) SWIG_fail;
30368 }
30369 Py_INCREF(Py_None); resultobj = Py_None;
30370 return resultobj;
30371 fail:
30372 return NULL;
30373 }
30374
30375
30376 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30377 PyObject *resultobj;
30378 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30379 wxTreeItemId *arg2 = 0 ;
30380 PyObject * obj0 = 0 ;
30381 PyObject * obj1 = 0 ;
30382 char *kwnames[] = {
30383 (char *) "self",(char *) "item", NULL
30384 };
30385
30386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30388 if (SWIG_arg_fail(1)) SWIG_fail;
30389 {
30390 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30391 if (SWIG_arg_fail(2)) SWIG_fail;
30392 if (arg2 == NULL) {
30393 SWIG_null_ref("wxTreeItemId");
30394 }
30395 if (SWIG_arg_fail(2)) SWIG_fail;
30396 }
30397 {
30398 PyThreadState* __tstate = wxPyBeginAllowThreads();
30399 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30400
30401 wxPyEndAllowThreads(__tstate);
30402 if (PyErr_Occurred()) SWIG_fail;
30403 }
30404 Py_INCREF(Py_None); resultobj = Py_None;
30405 return resultobj;
30406 fail:
30407 return NULL;
30408 }
30409
30410
30411 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30412 PyObject *resultobj;
30413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30414 wxTreeItemId *arg2 = 0 ;
30415 PyObject * obj0 = 0 ;
30416 PyObject * obj1 = 0 ;
30417 char *kwnames[] = {
30418 (char *) "self",(char *) "item", NULL
30419 };
30420
30421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30423 if (SWIG_arg_fail(1)) SWIG_fail;
30424 {
30425 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30426 if (SWIG_arg_fail(2)) SWIG_fail;
30427 if (arg2 == NULL) {
30428 SWIG_null_ref("wxTreeItemId");
30429 }
30430 if (SWIG_arg_fail(2)) SWIG_fail;
30431 }
30432 {
30433 PyThreadState* __tstate = wxPyBeginAllowThreads();
30434 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30435
30436 wxPyEndAllowThreads(__tstate);
30437 if (PyErr_Occurred()) SWIG_fail;
30438 }
30439 Py_INCREF(Py_None); resultobj = Py_None;
30440 return resultobj;
30441 fail:
30442 return NULL;
30443 }
30444
30445
30446 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30447 PyObject *resultobj;
30448 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30449 wxTreeItemId *arg2 = 0 ;
30450 PyObject * obj0 = 0 ;
30451 PyObject * obj1 = 0 ;
30452 char *kwnames[] = {
30453 (char *) "self",(char *) "item", NULL
30454 };
30455
30456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30458 if (SWIG_arg_fail(1)) SWIG_fail;
30459 {
30460 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30461 if (SWIG_arg_fail(2)) SWIG_fail;
30462 if (arg2 == NULL) {
30463 SWIG_null_ref("wxTreeItemId");
30464 }
30465 if (SWIG_arg_fail(2)) SWIG_fail;
30466 }
30467 {
30468 PyThreadState* __tstate = wxPyBeginAllowThreads();
30469 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30470
30471 wxPyEndAllowThreads(__tstate);
30472 if (PyErr_Occurred()) SWIG_fail;
30473 }
30474 Py_INCREF(Py_None); resultobj = Py_None;
30475 return resultobj;
30476 fail:
30477 return NULL;
30478 }
30479
30480
30481 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30482 PyObject *resultobj;
30483 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30484 PyObject * obj0 = 0 ;
30485 char *kwnames[] = {
30486 (char *) "self", NULL
30487 };
30488
30489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30491 if (SWIG_arg_fail(1)) SWIG_fail;
30492 {
30493 PyThreadState* __tstate = wxPyBeginAllowThreads();
30494 (arg1)->Unselect();
30495
30496 wxPyEndAllowThreads(__tstate);
30497 if (PyErr_Occurred()) SWIG_fail;
30498 }
30499 Py_INCREF(Py_None); resultobj = Py_None;
30500 return resultobj;
30501 fail:
30502 return NULL;
30503 }
30504
30505
30506 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30507 PyObject *resultobj;
30508 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30509 wxTreeItemId *arg2 = 0 ;
30510 PyObject * obj0 = 0 ;
30511 PyObject * obj1 = 0 ;
30512 char *kwnames[] = {
30513 (char *) "self",(char *) "item", NULL
30514 };
30515
30516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30518 if (SWIG_arg_fail(1)) SWIG_fail;
30519 {
30520 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30521 if (SWIG_arg_fail(2)) SWIG_fail;
30522 if (arg2 == NULL) {
30523 SWIG_null_ref("wxTreeItemId");
30524 }
30525 if (SWIG_arg_fail(2)) SWIG_fail;
30526 }
30527 {
30528 PyThreadState* __tstate = wxPyBeginAllowThreads();
30529 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30530
30531 wxPyEndAllowThreads(__tstate);
30532 if (PyErr_Occurred()) SWIG_fail;
30533 }
30534 Py_INCREF(Py_None); resultobj = Py_None;
30535 return resultobj;
30536 fail:
30537 return NULL;
30538 }
30539
30540
30541 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30542 PyObject *resultobj;
30543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30544 PyObject * obj0 = 0 ;
30545 char *kwnames[] = {
30546 (char *) "self", NULL
30547 };
30548
30549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30551 if (SWIG_arg_fail(1)) SWIG_fail;
30552 {
30553 PyThreadState* __tstate = wxPyBeginAllowThreads();
30554 (arg1)->UnselectAll();
30555
30556 wxPyEndAllowThreads(__tstate);
30557 if (PyErr_Occurred()) SWIG_fail;
30558 }
30559 Py_INCREF(Py_None); resultobj = Py_None;
30560 return resultobj;
30561 fail:
30562 return NULL;
30563 }
30564
30565
30566 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30567 PyObject *resultobj;
30568 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30569 wxTreeItemId *arg2 = 0 ;
30570 bool arg3 = (bool) true ;
30571 PyObject * obj0 = 0 ;
30572 PyObject * obj1 = 0 ;
30573 PyObject * obj2 = 0 ;
30574 char *kwnames[] = {
30575 (char *) "self",(char *) "item",(char *) "select", NULL
30576 };
30577
30578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30580 if (SWIG_arg_fail(1)) SWIG_fail;
30581 {
30582 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30583 if (SWIG_arg_fail(2)) SWIG_fail;
30584 if (arg2 == NULL) {
30585 SWIG_null_ref("wxTreeItemId");
30586 }
30587 if (SWIG_arg_fail(2)) SWIG_fail;
30588 }
30589 if (obj2) {
30590 {
30591 arg3 = (bool)(SWIG_As_bool(obj2));
30592 if (SWIG_arg_fail(3)) SWIG_fail;
30593 }
30594 }
30595 {
30596 PyThreadState* __tstate = wxPyBeginAllowThreads();
30597 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30598
30599 wxPyEndAllowThreads(__tstate);
30600 if (PyErr_Occurred()) SWIG_fail;
30601 }
30602 Py_INCREF(Py_None); resultobj = Py_None;
30603 return resultobj;
30604 fail:
30605 return NULL;
30606 }
30607
30608
30609 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30610 PyObject *resultobj;
30611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30612 wxTreeItemId *arg2 = 0 ;
30613 PyObject * obj0 = 0 ;
30614 PyObject * obj1 = 0 ;
30615 char *kwnames[] = {
30616 (char *) "self",(char *) "item", NULL
30617 };
30618
30619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30621 if (SWIG_arg_fail(1)) SWIG_fail;
30622 {
30623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30624 if (SWIG_arg_fail(2)) SWIG_fail;
30625 if (arg2 == NULL) {
30626 SWIG_null_ref("wxTreeItemId");
30627 }
30628 if (SWIG_arg_fail(2)) SWIG_fail;
30629 }
30630 {
30631 PyThreadState* __tstate = wxPyBeginAllowThreads();
30632 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30633
30634 wxPyEndAllowThreads(__tstate);
30635 if (PyErr_Occurred()) SWIG_fail;
30636 }
30637 Py_INCREF(Py_None); resultobj = Py_None;
30638 return resultobj;
30639 fail:
30640 return NULL;
30641 }
30642
30643
30644 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30645 PyObject *resultobj;
30646 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30647 wxTreeItemId *arg2 = 0 ;
30648 PyObject * obj0 = 0 ;
30649 PyObject * obj1 = 0 ;
30650 char *kwnames[] = {
30651 (char *) "self",(char *) "item", NULL
30652 };
30653
30654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
30655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30656 if (SWIG_arg_fail(1)) SWIG_fail;
30657 {
30658 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30659 if (SWIG_arg_fail(2)) SWIG_fail;
30660 if (arg2 == NULL) {
30661 SWIG_null_ref("wxTreeItemId");
30662 }
30663 if (SWIG_arg_fail(2)) SWIG_fail;
30664 }
30665 {
30666 PyThreadState* __tstate = wxPyBeginAllowThreads();
30667 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30668
30669 wxPyEndAllowThreads(__tstate);
30670 if (PyErr_Occurred()) SWIG_fail;
30671 }
30672 Py_INCREF(Py_None); resultobj = Py_None;
30673 return resultobj;
30674 fail:
30675 return NULL;
30676 }
30677
30678
30679 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30680 PyObject *resultobj;
30681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30682 wxTreeItemId *arg2 = 0 ;
30683 PyObject * obj0 = 0 ;
30684 PyObject * obj1 = 0 ;
30685 char *kwnames[] = {
30686 (char *) "self",(char *) "item", NULL
30687 };
30688
30689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30691 if (SWIG_arg_fail(1)) SWIG_fail;
30692 {
30693 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30694 if (SWIG_arg_fail(2)) SWIG_fail;
30695 if (arg2 == NULL) {
30696 SWIG_null_ref("wxTreeItemId");
30697 }
30698 if (SWIG_arg_fail(2)) SWIG_fail;
30699 }
30700 {
30701 PyThreadState* __tstate = wxPyBeginAllowThreads();
30702 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30703
30704 wxPyEndAllowThreads(__tstate);
30705 if (PyErr_Occurred()) SWIG_fail;
30706 }
30707 Py_INCREF(Py_None); resultobj = Py_None;
30708 return resultobj;
30709 fail:
30710 return NULL;
30711 }
30712
30713
30714 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30715 PyObject *resultobj;
30716 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30717 wxTreeItemId *arg2 = 0 ;
30718 PyObject * obj0 = 0 ;
30719 PyObject * obj1 = 0 ;
30720 char *kwnames[] = {
30721 (char *) "self",(char *) "item", NULL
30722 };
30723
30724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30726 if (SWIG_arg_fail(1)) SWIG_fail;
30727 {
30728 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30729 if (SWIG_arg_fail(2)) SWIG_fail;
30730 if (arg2 == NULL) {
30731 SWIG_null_ref("wxTreeItemId");
30732 }
30733 if (SWIG_arg_fail(2)) SWIG_fail;
30734 }
30735 {
30736 PyThreadState* __tstate = wxPyBeginAllowThreads();
30737 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30738
30739 wxPyEndAllowThreads(__tstate);
30740 if (PyErr_Occurred()) SWIG_fail;
30741 }
30742 Py_INCREF(Py_None); resultobj = Py_None;
30743 return resultobj;
30744 fail:
30745 return NULL;
30746 }
30747
30748
30749 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30750 PyObject *resultobj;
30751 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30752 wxTextCtrl *result;
30753 PyObject * obj0 = 0 ;
30754 char *kwnames[] = {
30755 (char *) "self", NULL
30756 };
30757
30758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30760 if (SWIG_arg_fail(1)) SWIG_fail;
30761 {
30762 PyThreadState* __tstate = wxPyBeginAllowThreads();
30763 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30764
30765 wxPyEndAllowThreads(__tstate);
30766 if (PyErr_Occurred()) SWIG_fail;
30767 }
30768 {
30769 resultobj = wxPyMake_wxObject(result, 0);
30770 }
30771 return resultobj;
30772 fail:
30773 return NULL;
30774 }
30775
30776
30777 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30778 PyObject *resultobj;
30779 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30780 wxTreeItemId *arg2 = 0 ;
30781 PyObject * obj0 = 0 ;
30782 PyObject * obj1 = 0 ;
30783 char *kwnames[] = {
30784 (char *) "self",(char *) "item", NULL
30785 };
30786
30787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
30788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30789 if (SWIG_arg_fail(1)) SWIG_fail;
30790 {
30791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30792 if (SWIG_arg_fail(2)) SWIG_fail;
30793 if (arg2 == NULL) {
30794 SWIG_null_ref("wxTreeItemId");
30795 }
30796 if (SWIG_arg_fail(2)) SWIG_fail;
30797 }
30798 {
30799 PyThreadState* __tstate = wxPyBeginAllowThreads();
30800 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30801
30802 wxPyEndAllowThreads(__tstate);
30803 if (PyErr_Occurred()) SWIG_fail;
30804 }
30805 Py_INCREF(Py_None); resultobj = Py_None;
30806 return resultobj;
30807 fail:
30808 return NULL;
30809 }
30810
30811
30812 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
30813 PyObject *resultobj;
30814 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30815 wxPoint *arg2 = 0 ;
30816 int *arg3 = 0 ;
30817 wxTreeItemId result;
30818 wxPoint temp2 ;
30819 int temp3 ;
30820 int res3 = 0 ;
30821 PyObject * obj0 = 0 ;
30822 PyObject * obj1 = 0 ;
30823 char *kwnames[] = {
30824 (char *) "self",(char *) "point", NULL
30825 };
30826
30827 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
30829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30830 if (SWIG_arg_fail(1)) SWIG_fail;
30831 {
30832 arg2 = &temp2;
30833 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30834 }
30835 {
30836 PyThreadState* __tstate = wxPyBeginAllowThreads();
30837 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30838
30839 wxPyEndAllowThreads(__tstate);
30840 if (PyErr_Occurred()) SWIG_fail;
30841 }
30842 {
30843 wxTreeItemId * resultptr;
30844 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30845 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30846 }
30847 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30848 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30849 return resultobj;
30850 fail:
30851 return NULL;
30852 }
30853
30854
30855 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
30856 PyObject *resultobj;
30857 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30858 wxTreeItemId *arg2 = 0 ;
30859 bool arg3 = (bool) false ;
30860 PyObject *result;
30861 PyObject * obj0 = 0 ;
30862 PyObject * obj1 = 0 ;
30863 PyObject * obj2 = 0 ;
30864 char *kwnames[] = {
30865 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30866 };
30867
30868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) 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 if (obj2) {
30880 {
30881 arg3 = (bool)(SWIG_As_bool(obj2));
30882 if (SWIG_arg_fail(3)) SWIG_fail;
30883 }
30884 }
30885 {
30886 PyThreadState* __tstate = wxPyBeginAllowThreads();
30887 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30888
30889 wxPyEndAllowThreads(__tstate);
30890 if (PyErr_Occurred()) SWIG_fail;
30891 }
30892 resultobj = result;
30893 return resultobj;
30894 fail:
30895 return NULL;
30896 }
30897
30898
30899 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30900 PyObject *resultobj;
30901 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
30902 wxVisualAttributes result;
30903 PyObject * obj0 = 0 ;
30904 char *kwnames[] = {
30905 (char *) "variant", NULL
30906 };
30907
30908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30909 if (obj0) {
30910 {
30911 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30912 if (SWIG_arg_fail(1)) SWIG_fail;
30913 }
30914 }
30915 {
30916 if (!wxPyCheckForApp()) SWIG_fail;
30917 PyThreadState* __tstate = wxPyBeginAllowThreads();
30918 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30919
30920 wxPyEndAllowThreads(__tstate);
30921 if (PyErr_Occurred()) SWIG_fail;
30922 }
30923 {
30924 wxVisualAttributes * resultptr;
30925 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
30926 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30927 }
30928 return resultobj;
30929 fail:
30930 return NULL;
30931 }
30932
30933
30934 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
30935 PyObject *obj;
30936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30937 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30938 Py_INCREF(obj);
30939 return Py_BuildValue((char *)"");
30940 }
30941 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
30942 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30943 return 1;
30944 }
30945
30946
30947 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
30948 PyObject *pyobj;
30949
30950 {
30951 #if wxUSE_UNICODE
30952 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30953 #else
30954 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30955 #endif
30956 }
30957 return pyobj;
30958 }
30959
30960
30961 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
30962 PyObject *resultobj;
30963 wxWindow *arg1 = (wxWindow *) 0 ;
30964 int arg2 = (int) (int)-1 ;
30965 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30966 wxString *arg3 = (wxString *) &arg3_defvalue ;
30967 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30968 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30969 wxSize const &arg5_defvalue = wxDefaultSize ;
30970 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30971 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
30972 wxString const &arg7_defvalue = wxPyEmptyString ;
30973 wxString *arg7 = (wxString *) &arg7_defvalue ;
30974 int arg8 = (int) 0 ;
30975 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
30976 wxString *arg9 = (wxString *) &arg9_defvalue ;
30977 wxGenericDirCtrl *result;
30978 bool temp3 = false ;
30979 wxPoint temp4 ;
30980 wxSize temp5 ;
30981 bool temp7 = false ;
30982 bool temp9 = false ;
30983 PyObject * obj0 = 0 ;
30984 PyObject * obj1 = 0 ;
30985 PyObject * obj2 = 0 ;
30986 PyObject * obj3 = 0 ;
30987 PyObject * obj4 = 0 ;
30988 PyObject * obj5 = 0 ;
30989 PyObject * obj6 = 0 ;
30990 PyObject * obj7 = 0 ;
30991 PyObject * obj8 = 0 ;
30992 char *kwnames[] = {
30993 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30994 };
30995
30996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
30997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30998 if (SWIG_arg_fail(1)) SWIG_fail;
30999 if (obj1) {
31000 {
31001 arg2 = (int const)(SWIG_As_int(obj1));
31002 if (SWIG_arg_fail(2)) SWIG_fail;
31003 }
31004 }
31005 if (obj2) {
31006 {
31007 arg3 = wxString_in_helper(obj2);
31008 if (arg3 == NULL) SWIG_fail;
31009 temp3 = true;
31010 }
31011 }
31012 if (obj3) {
31013 {
31014 arg4 = &temp4;
31015 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31016 }
31017 }
31018 if (obj4) {
31019 {
31020 arg5 = &temp5;
31021 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31022 }
31023 }
31024 if (obj5) {
31025 {
31026 arg6 = (long)(SWIG_As_long(obj5));
31027 if (SWIG_arg_fail(6)) SWIG_fail;
31028 }
31029 }
31030 if (obj6) {
31031 {
31032 arg7 = wxString_in_helper(obj6);
31033 if (arg7 == NULL) SWIG_fail;
31034 temp7 = true;
31035 }
31036 }
31037 if (obj7) {
31038 {
31039 arg8 = (int)(SWIG_As_int(obj7));
31040 if (SWIG_arg_fail(8)) SWIG_fail;
31041 }
31042 }
31043 if (obj8) {
31044 {
31045 arg9 = wxString_in_helper(obj8);
31046 if (arg9 == NULL) SWIG_fail;
31047 temp9 = true;
31048 }
31049 }
31050 {
31051 if (!wxPyCheckForApp()) SWIG_fail;
31052 PyThreadState* __tstate = wxPyBeginAllowThreads();
31053 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31054
31055 wxPyEndAllowThreads(__tstate);
31056 if (PyErr_Occurred()) SWIG_fail;
31057 }
31058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31059 {
31060 if (temp3)
31061 delete arg3;
31062 }
31063 {
31064 if (temp7)
31065 delete arg7;
31066 }
31067 {
31068 if (temp9)
31069 delete arg9;
31070 }
31071 return resultobj;
31072 fail:
31073 {
31074 if (temp3)
31075 delete arg3;
31076 }
31077 {
31078 if (temp7)
31079 delete arg7;
31080 }
31081 {
31082 if (temp9)
31083 delete arg9;
31084 }
31085 return NULL;
31086 }
31087
31088
31089 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31090 PyObject *resultobj;
31091 wxGenericDirCtrl *result;
31092 char *kwnames[] = {
31093 NULL
31094 };
31095
31096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31097 {
31098 if (!wxPyCheckForApp()) SWIG_fail;
31099 PyThreadState* __tstate = wxPyBeginAllowThreads();
31100 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31101
31102 wxPyEndAllowThreads(__tstate);
31103 if (PyErr_Occurred()) SWIG_fail;
31104 }
31105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31106 return resultobj;
31107 fail:
31108 return NULL;
31109 }
31110
31111
31112 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31113 PyObject *resultobj;
31114 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31115 wxWindow *arg2 = (wxWindow *) 0 ;
31116 int arg3 = (int) (int)-1 ;
31117 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31118 wxString *arg4 = (wxString *) &arg4_defvalue ;
31119 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31120 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31121 wxSize const &arg6_defvalue = wxDefaultSize ;
31122 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31123 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31124 wxString const &arg8_defvalue = wxPyEmptyString ;
31125 wxString *arg8 = (wxString *) &arg8_defvalue ;
31126 int arg9 = (int) 0 ;
31127 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31128 wxString *arg10 = (wxString *) &arg10_defvalue ;
31129 bool result;
31130 bool temp4 = false ;
31131 wxPoint temp5 ;
31132 wxSize temp6 ;
31133 bool temp8 = false ;
31134 bool temp10 = false ;
31135 PyObject * obj0 = 0 ;
31136 PyObject * obj1 = 0 ;
31137 PyObject * obj2 = 0 ;
31138 PyObject * obj3 = 0 ;
31139 PyObject * obj4 = 0 ;
31140 PyObject * obj5 = 0 ;
31141 PyObject * obj6 = 0 ;
31142 PyObject * obj7 = 0 ;
31143 PyObject * obj8 = 0 ;
31144 PyObject * obj9 = 0 ;
31145 char *kwnames[] = {
31146 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31147 };
31148
31149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31151 if (SWIG_arg_fail(1)) SWIG_fail;
31152 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31153 if (SWIG_arg_fail(2)) SWIG_fail;
31154 if (obj2) {
31155 {
31156 arg3 = (int const)(SWIG_As_int(obj2));
31157 if (SWIG_arg_fail(3)) SWIG_fail;
31158 }
31159 }
31160 if (obj3) {
31161 {
31162 arg4 = wxString_in_helper(obj3);
31163 if (arg4 == NULL) SWIG_fail;
31164 temp4 = true;
31165 }
31166 }
31167 if (obj4) {
31168 {
31169 arg5 = &temp5;
31170 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31171 }
31172 }
31173 if (obj5) {
31174 {
31175 arg6 = &temp6;
31176 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31177 }
31178 }
31179 if (obj6) {
31180 {
31181 arg7 = (long)(SWIG_As_long(obj6));
31182 if (SWIG_arg_fail(7)) SWIG_fail;
31183 }
31184 }
31185 if (obj7) {
31186 {
31187 arg8 = wxString_in_helper(obj7);
31188 if (arg8 == NULL) SWIG_fail;
31189 temp8 = true;
31190 }
31191 }
31192 if (obj8) {
31193 {
31194 arg9 = (int)(SWIG_As_int(obj8));
31195 if (SWIG_arg_fail(9)) SWIG_fail;
31196 }
31197 }
31198 if (obj9) {
31199 {
31200 arg10 = wxString_in_helper(obj9);
31201 if (arg10 == NULL) SWIG_fail;
31202 temp10 = true;
31203 }
31204 }
31205 {
31206 PyThreadState* __tstate = wxPyBeginAllowThreads();
31207 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31208
31209 wxPyEndAllowThreads(__tstate);
31210 if (PyErr_Occurred()) SWIG_fail;
31211 }
31212 {
31213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31214 }
31215 {
31216 if (temp4)
31217 delete arg4;
31218 }
31219 {
31220 if (temp8)
31221 delete arg8;
31222 }
31223 {
31224 if (temp10)
31225 delete arg10;
31226 }
31227 return resultobj;
31228 fail:
31229 {
31230 if (temp4)
31231 delete arg4;
31232 }
31233 {
31234 if (temp8)
31235 delete arg8;
31236 }
31237 {
31238 if (temp10)
31239 delete arg10;
31240 }
31241 return NULL;
31242 }
31243
31244
31245 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31246 PyObject *resultobj;
31247 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31248 wxString *arg2 = 0 ;
31249 bool result;
31250 bool temp2 = false ;
31251 PyObject * obj0 = 0 ;
31252 PyObject * obj1 = 0 ;
31253 char *kwnames[] = {
31254 (char *) "self",(char *) "path", NULL
31255 };
31256
31257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31259 if (SWIG_arg_fail(1)) SWIG_fail;
31260 {
31261 arg2 = wxString_in_helper(obj1);
31262 if (arg2 == NULL) SWIG_fail;
31263 temp2 = true;
31264 }
31265 {
31266 PyThreadState* __tstate = wxPyBeginAllowThreads();
31267 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31268
31269 wxPyEndAllowThreads(__tstate);
31270 if (PyErr_Occurred()) SWIG_fail;
31271 }
31272 {
31273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31274 }
31275 {
31276 if (temp2)
31277 delete arg2;
31278 }
31279 return resultobj;
31280 fail:
31281 {
31282 if (temp2)
31283 delete arg2;
31284 }
31285 return NULL;
31286 }
31287
31288
31289 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31290 PyObject *resultobj;
31291 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31292 wxString result;
31293 PyObject * obj0 = 0 ;
31294 char *kwnames[] = {
31295 (char *) "self", NULL
31296 };
31297
31298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31300 if (SWIG_arg_fail(1)) SWIG_fail;
31301 {
31302 PyThreadState* __tstate = wxPyBeginAllowThreads();
31303 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31304
31305 wxPyEndAllowThreads(__tstate);
31306 if (PyErr_Occurred()) SWIG_fail;
31307 }
31308 {
31309 #if wxUSE_UNICODE
31310 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31311 #else
31312 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31313 #endif
31314 }
31315 return resultobj;
31316 fail:
31317 return NULL;
31318 }
31319
31320
31321 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31322 PyObject *resultobj;
31323 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31324 wxString *arg2 = 0 ;
31325 bool temp2 = false ;
31326 PyObject * obj0 = 0 ;
31327 PyObject * obj1 = 0 ;
31328 char *kwnames[] = {
31329 (char *) "self",(char *) "path", NULL
31330 };
31331
31332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31334 if (SWIG_arg_fail(1)) SWIG_fail;
31335 {
31336 arg2 = wxString_in_helper(obj1);
31337 if (arg2 == NULL) SWIG_fail;
31338 temp2 = true;
31339 }
31340 {
31341 PyThreadState* __tstate = wxPyBeginAllowThreads();
31342 (arg1)->SetDefaultPath((wxString const &)*arg2);
31343
31344 wxPyEndAllowThreads(__tstate);
31345 if (PyErr_Occurred()) SWIG_fail;
31346 }
31347 Py_INCREF(Py_None); resultobj = Py_None;
31348 {
31349 if (temp2)
31350 delete arg2;
31351 }
31352 return resultobj;
31353 fail:
31354 {
31355 if (temp2)
31356 delete arg2;
31357 }
31358 return NULL;
31359 }
31360
31361
31362 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31363 PyObject *resultobj;
31364 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31365 wxString result;
31366 PyObject * obj0 = 0 ;
31367 char *kwnames[] = {
31368 (char *) "self", NULL
31369 };
31370
31371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31373 if (SWIG_arg_fail(1)) SWIG_fail;
31374 {
31375 PyThreadState* __tstate = wxPyBeginAllowThreads();
31376 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31377
31378 wxPyEndAllowThreads(__tstate);
31379 if (PyErr_Occurred()) SWIG_fail;
31380 }
31381 {
31382 #if wxUSE_UNICODE
31383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31384 #else
31385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31386 #endif
31387 }
31388 return resultobj;
31389 fail:
31390 return NULL;
31391 }
31392
31393
31394 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31395 PyObject *resultobj;
31396 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31397 wxString result;
31398 PyObject * obj0 = 0 ;
31399 char *kwnames[] = {
31400 (char *) "self", NULL
31401 };
31402
31403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31405 if (SWIG_arg_fail(1)) SWIG_fail;
31406 {
31407 PyThreadState* __tstate = wxPyBeginAllowThreads();
31408 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31409
31410 wxPyEndAllowThreads(__tstate);
31411 if (PyErr_Occurred()) SWIG_fail;
31412 }
31413 {
31414 #if wxUSE_UNICODE
31415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31416 #else
31417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31418 #endif
31419 }
31420 return resultobj;
31421 fail:
31422 return NULL;
31423 }
31424
31425
31426 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31427 PyObject *resultobj;
31428 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31429 wxString *arg2 = 0 ;
31430 bool temp2 = false ;
31431 PyObject * obj0 = 0 ;
31432 PyObject * obj1 = 0 ;
31433 char *kwnames[] = {
31434 (char *) "self",(char *) "path", NULL
31435 };
31436
31437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31439 if (SWIG_arg_fail(1)) SWIG_fail;
31440 {
31441 arg2 = wxString_in_helper(obj1);
31442 if (arg2 == NULL) SWIG_fail;
31443 temp2 = true;
31444 }
31445 {
31446 PyThreadState* __tstate = wxPyBeginAllowThreads();
31447 (arg1)->SetPath((wxString const &)*arg2);
31448
31449 wxPyEndAllowThreads(__tstate);
31450 if (PyErr_Occurred()) SWIG_fail;
31451 }
31452 Py_INCREF(Py_None); resultobj = Py_None;
31453 {
31454 if (temp2)
31455 delete arg2;
31456 }
31457 return resultobj;
31458 fail:
31459 {
31460 if (temp2)
31461 delete arg2;
31462 }
31463 return NULL;
31464 }
31465
31466
31467 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31468 PyObject *resultobj;
31469 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31470 bool arg2 ;
31471 PyObject * obj0 = 0 ;
31472 PyObject * obj1 = 0 ;
31473 char *kwnames[] = {
31474 (char *) "self",(char *) "show", NULL
31475 };
31476
31477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31479 if (SWIG_arg_fail(1)) SWIG_fail;
31480 {
31481 arg2 = (bool)(SWIG_As_bool(obj1));
31482 if (SWIG_arg_fail(2)) SWIG_fail;
31483 }
31484 {
31485 PyThreadState* __tstate = wxPyBeginAllowThreads();
31486 (arg1)->ShowHidden(arg2);
31487
31488 wxPyEndAllowThreads(__tstate);
31489 if (PyErr_Occurred()) SWIG_fail;
31490 }
31491 Py_INCREF(Py_None); resultobj = Py_None;
31492 return resultobj;
31493 fail:
31494 return NULL;
31495 }
31496
31497
31498 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31499 PyObject *resultobj;
31500 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31501 bool result;
31502 PyObject * obj0 = 0 ;
31503 char *kwnames[] = {
31504 (char *) "self", NULL
31505 };
31506
31507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31509 if (SWIG_arg_fail(1)) SWIG_fail;
31510 {
31511 PyThreadState* __tstate = wxPyBeginAllowThreads();
31512 result = (bool)(arg1)->GetShowHidden();
31513
31514 wxPyEndAllowThreads(__tstate);
31515 if (PyErr_Occurred()) SWIG_fail;
31516 }
31517 {
31518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31519 }
31520 return resultobj;
31521 fail:
31522 return NULL;
31523 }
31524
31525
31526 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31527 PyObject *resultobj;
31528 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31529 wxString result;
31530 PyObject * obj0 = 0 ;
31531 char *kwnames[] = {
31532 (char *) "self", NULL
31533 };
31534
31535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31537 if (SWIG_arg_fail(1)) SWIG_fail;
31538 {
31539 PyThreadState* __tstate = wxPyBeginAllowThreads();
31540 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31541
31542 wxPyEndAllowThreads(__tstate);
31543 if (PyErr_Occurred()) SWIG_fail;
31544 }
31545 {
31546 #if wxUSE_UNICODE
31547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31548 #else
31549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31550 #endif
31551 }
31552 return resultobj;
31553 fail:
31554 return NULL;
31555 }
31556
31557
31558 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31559 PyObject *resultobj;
31560 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31561 wxString *arg2 = 0 ;
31562 bool temp2 = false ;
31563 PyObject * obj0 = 0 ;
31564 PyObject * obj1 = 0 ;
31565 char *kwnames[] = {
31566 (char *) "self",(char *) "filter", NULL
31567 };
31568
31569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31571 if (SWIG_arg_fail(1)) SWIG_fail;
31572 {
31573 arg2 = wxString_in_helper(obj1);
31574 if (arg2 == NULL) SWIG_fail;
31575 temp2 = true;
31576 }
31577 {
31578 PyThreadState* __tstate = wxPyBeginAllowThreads();
31579 (arg1)->SetFilter((wxString const &)*arg2);
31580
31581 wxPyEndAllowThreads(__tstate);
31582 if (PyErr_Occurred()) SWIG_fail;
31583 }
31584 Py_INCREF(Py_None); resultobj = Py_None;
31585 {
31586 if (temp2)
31587 delete arg2;
31588 }
31589 return resultobj;
31590 fail:
31591 {
31592 if (temp2)
31593 delete arg2;
31594 }
31595 return NULL;
31596 }
31597
31598
31599 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31600 PyObject *resultobj;
31601 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31602 int result;
31603 PyObject * obj0 = 0 ;
31604 char *kwnames[] = {
31605 (char *) "self", NULL
31606 };
31607
31608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31610 if (SWIG_arg_fail(1)) SWIG_fail;
31611 {
31612 PyThreadState* __tstate = wxPyBeginAllowThreads();
31613 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31614
31615 wxPyEndAllowThreads(__tstate);
31616 if (PyErr_Occurred()) SWIG_fail;
31617 }
31618 {
31619 resultobj = SWIG_From_int((int)(result));
31620 }
31621 return resultobj;
31622 fail:
31623 return NULL;
31624 }
31625
31626
31627 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31628 PyObject *resultobj;
31629 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31630 int arg2 ;
31631 PyObject * obj0 = 0 ;
31632 PyObject * obj1 = 0 ;
31633 char *kwnames[] = {
31634 (char *) "self",(char *) "n", NULL
31635 };
31636
31637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) 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 arg2 = (int)(SWIG_As_int(obj1));
31642 if (SWIG_arg_fail(2)) SWIG_fail;
31643 }
31644 {
31645 PyThreadState* __tstate = wxPyBeginAllowThreads();
31646 (arg1)->SetFilterIndex(arg2);
31647
31648 wxPyEndAllowThreads(__tstate);
31649 if (PyErr_Occurred()) SWIG_fail;
31650 }
31651 Py_INCREF(Py_None); resultobj = Py_None;
31652 return resultobj;
31653 fail:
31654 return NULL;
31655 }
31656
31657
31658 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31659 PyObject *resultobj;
31660 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31661 wxTreeItemId result;
31662 PyObject * obj0 = 0 ;
31663 char *kwnames[] = {
31664 (char *) "self", NULL
31665 };
31666
31667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
31668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31669 if (SWIG_arg_fail(1)) SWIG_fail;
31670 {
31671 PyThreadState* __tstate = wxPyBeginAllowThreads();
31672 result = (arg1)->GetRootId();
31673
31674 wxPyEndAllowThreads(__tstate);
31675 if (PyErr_Occurred()) SWIG_fail;
31676 }
31677 {
31678 wxTreeItemId * resultptr;
31679 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31680 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31681 }
31682 return resultobj;
31683 fail:
31684 return NULL;
31685 }
31686
31687
31688 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31689 PyObject *resultobj;
31690 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31691 wxPyTreeCtrl *result;
31692 PyObject * obj0 = 0 ;
31693 char *kwnames[] = {
31694 (char *) "self", NULL
31695 };
31696
31697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
31698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31699 if (SWIG_arg_fail(1)) SWIG_fail;
31700 {
31701 PyThreadState* __tstate = wxPyBeginAllowThreads();
31702 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31703
31704 wxPyEndAllowThreads(__tstate);
31705 if (PyErr_Occurred()) SWIG_fail;
31706 }
31707 {
31708 resultobj = wxPyMake_wxObject(result, 0);
31709 }
31710 return resultobj;
31711 fail:
31712 return NULL;
31713 }
31714
31715
31716 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31717 PyObject *resultobj;
31718 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31719 wxDirFilterListCtrl *result;
31720 PyObject * obj0 = 0 ;
31721 char *kwnames[] = {
31722 (char *) "self", NULL
31723 };
31724
31725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
31726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31727 if (SWIG_arg_fail(1)) SWIG_fail;
31728 {
31729 PyThreadState* __tstate = wxPyBeginAllowThreads();
31730 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31731
31732 wxPyEndAllowThreads(__tstate);
31733 if (PyErr_Occurred()) SWIG_fail;
31734 }
31735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31736 return resultobj;
31737 fail:
31738 return NULL;
31739 }
31740
31741
31742 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
31743 PyObject *resultobj;
31744 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31745 wxTreeItemId arg2 ;
31746 wxString *arg3 = 0 ;
31747 bool *arg4 = 0 ;
31748 wxTreeItemId result;
31749 bool temp3 = false ;
31750 bool temp4 ;
31751 int res4 = 0 ;
31752 PyObject * obj0 = 0 ;
31753 PyObject * obj1 = 0 ;
31754 PyObject * obj2 = 0 ;
31755 char *kwnames[] = {
31756 (char *) "self",(char *) "parentId",(char *) "path", NULL
31757 };
31758
31759 arg4 = &temp4; res4 = SWIG_NEWOBJ;
31760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
31761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31762 if (SWIG_arg_fail(1)) SWIG_fail;
31763 {
31764 wxTreeItemId * argp;
31765 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31766 if (SWIG_arg_fail(2)) SWIG_fail;
31767 if (argp == NULL) {
31768 SWIG_null_ref("wxTreeItemId");
31769 }
31770 if (SWIG_arg_fail(2)) SWIG_fail;
31771 arg2 = *argp;
31772 }
31773 {
31774 arg3 = wxString_in_helper(obj2);
31775 if (arg3 == NULL) SWIG_fail;
31776 temp3 = true;
31777 }
31778 {
31779 PyThreadState* __tstate = wxPyBeginAllowThreads();
31780 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31781
31782 wxPyEndAllowThreads(__tstate);
31783 if (PyErr_Occurred()) SWIG_fail;
31784 }
31785 {
31786 wxTreeItemId * resultptr;
31787 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31789 }
31790 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31791 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
31792 {
31793 if (temp3)
31794 delete arg3;
31795 }
31796 return resultobj;
31797 fail:
31798 {
31799 if (temp3)
31800 delete arg3;
31801 }
31802 return NULL;
31803 }
31804
31805
31806 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
31807 PyObject *resultobj;
31808 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31809 PyObject * obj0 = 0 ;
31810 char *kwnames[] = {
31811 (char *) "self", NULL
31812 };
31813
31814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
31815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31816 if (SWIG_arg_fail(1)) SWIG_fail;
31817 {
31818 PyThreadState* __tstate = wxPyBeginAllowThreads();
31819 (arg1)->DoResize();
31820
31821 wxPyEndAllowThreads(__tstate);
31822 if (PyErr_Occurred()) SWIG_fail;
31823 }
31824 Py_INCREF(Py_None); resultobj = Py_None;
31825 return resultobj;
31826 fail:
31827 return NULL;
31828 }
31829
31830
31831 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
31832 PyObject *resultobj;
31833 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31834 PyObject * obj0 = 0 ;
31835 char *kwnames[] = {
31836 (char *) "self", NULL
31837 };
31838
31839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
31840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31841 if (SWIG_arg_fail(1)) SWIG_fail;
31842 {
31843 PyThreadState* __tstate = wxPyBeginAllowThreads();
31844 (arg1)->ReCreateTree();
31845
31846 wxPyEndAllowThreads(__tstate);
31847 if (PyErr_Occurred()) SWIG_fail;
31848 }
31849 Py_INCREF(Py_None); resultobj = Py_None;
31850 return resultobj;
31851 fail:
31852 return NULL;
31853 }
31854
31855
31856 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
31857 PyObject *obj;
31858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31859 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31860 Py_INCREF(obj);
31861 return Py_BuildValue((char *)"");
31862 }
31863 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31864 PyObject *resultobj;
31865 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31866 int arg2 = (int) (int)-1 ;
31867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31869 wxSize const &arg4_defvalue = wxDefaultSize ;
31870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31871 long arg5 = (long) 0 ;
31872 wxDirFilterListCtrl *result;
31873 wxPoint temp3 ;
31874 wxSize temp4 ;
31875 PyObject * obj0 = 0 ;
31876 PyObject * obj1 = 0 ;
31877 PyObject * obj2 = 0 ;
31878 PyObject * obj3 = 0 ;
31879 PyObject * obj4 = 0 ;
31880 char *kwnames[] = {
31881 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31882 };
31883
31884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31886 if (SWIG_arg_fail(1)) SWIG_fail;
31887 if (obj1) {
31888 {
31889 arg2 = (int const)(SWIG_As_int(obj1));
31890 if (SWIG_arg_fail(2)) SWIG_fail;
31891 }
31892 }
31893 if (obj2) {
31894 {
31895 arg3 = &temp3;
31896 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31897 }
31898 }
31899 if (obj3) {
31900 {
31901 arg4 = &temp4;
31902 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31903 }
31904 }
31905 if (obj4) {
31906 {
31907 arg5 = (long)(SWIG_As_long(obj4));
31908 if (SWIG_arg_fail(5)) SWIG_fail;
31909 }
31910 }
31911 {
31912 if (!wxPyCheckForApp()) SWIG_fail;
31913 PyThreadState* __tstate = wxPyBeginAllowThreads();
31914 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31915
31916 wxPyEndAllowThreads(__tstate);
31917 if (PyErr_Occurred()) SWIG_fail;
31918 }
31919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31920 return resultobj;
31921 fail:
31922 return NULL;
31923 }
31924
31925
31926 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31927 PyObject *resultobj;
31928 wxDirFilterListCtrl *result;
31929 char *kwnames[] = {
31930 NULL
31931 };
31932
31933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31934 {
31935 if (!wxPyCheckForApp()) SWIG_fail;
31936 PyThreadState* __tstate = wxPyBeginAllowThreads();
31937 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31938
31939 wxPyEndAllowThreads(__tstate);
31940 if (PyErr_Occurred()) SWIG_fail;
31941 }
31942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31943 return resultobj;
31944 fail:
31945 return NULL;
31946 }
31947
31948
31949 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31950 PyObject *resultobj;
31951 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31952 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
31953 int arg3 = (int) (int)-1 ;
31954 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31955 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31956 wxSize const &arg5_defvalue = wxDefaultSize ;
31957 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31958 long arg6 = (long) 0 ;
31959 bool result;
31960 wxPoint temp4 ;
31961 wxSize temp5 ;
31962 PyObject * obj0 = 0 ;
31963 PyObject * obj1 = 0 ;
31964 PyObject * obj2 = 0 ;
31965 PyObject * obj3 = 0 ;
31966 PyObject * obj4 = 0 ;
31967 PyObject * obj5 = 0 ;
31968 char *kwnames[] = {
31969 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31970 };
31971
31972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31974 if (SWIG_arg_fail(1)) SWIG_fail;
31975 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31976 if (SWIG_arg_fail(2)) SWIG_fail;
31977 if (obj2) {
31978 {
31979 arg3 = (int const)(SWIG_As_int(obj2));
31980 if (SWIG_arg_fail(3)) SWIG_fail;
31981 }
31982 }
31983 if (obj3) {
31984 {
31985 arg4 = &temp4;
31986 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31987 }
31988 }
31989 if (obj4) {
31990 {
31991 arg5 = &temp5;
31992 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31993 }
31994 }
31995 if (obj5) {
31996 {
31997 arg6 = (long)(SWIG_As_long(obj5));
31998 if (SWIG_arg_fail(6)) SWIG_fail;
31999 }
32000 }
32001 {
32002 PyThreadState* __tstate = wxPyBeginAllowThreads();
32003 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32004
32005 wxPyEndAllowThreads(__tstate);
32006 if (PyErr_Occurred()) SWIG_fail;
32007 }
32008 {
32009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32010 }
32011 return resultobj;
32012 fail:
32013 return NULL;
32014 }
32015
32016
32017 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
32018 PyObject *resultobj;
32019 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32020 wxString *arg2 = 0 ;
32021 int arg3 ;
32022 bool temp2 = false ;
32023 PyObject * obj0 = 0 ;
32024 PyObject * obj1 = 0 ;
32025 PyObject * obj2 = 0 ;
32026 char *kwnames[] = {
32027 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32028 };
32029
32030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
32031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32032 if (SWIG_arg_fail(1)) SWIG_fail;
32033 {
32034 arg2 = wxString_in_helper(obj1);
32035 if (arg2 == NULL) SWIG_fail;
32036 temp2 = true;
32037 }
32038 {
32039 arg3 = (int)(SWIG_As_int(obj2));
32040 if (SWIG_arg_fail(3)) SWIG_fail;
32041 }
32042 {
32043 PyThreadState* __tstate = wxPyBeginAllowThreads();
32044 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32045
32046 wxPyEndAllowThreads(__tstate);
32047 if (PyErr_Occurred()) SWIG_fail;
32048 }
32049 Py_INCREF(Py_None); resultobj = Py_None;
32050 {
32051 if (temp2)
32052 delete arg2;
32053 }
32054 return resultobj;
32055 fail:
32056 {
32057 if (temp2)
32058 delete arg2;
32059 }
32060 return NULL;
32061 }
32062
32063
32064 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32065 PyObject *obj;
32066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32067 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32068 Py_INCREF(obj);
32069 return Py_BuildValue((char *)"");
32070 }
32071 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32072 PyObject *resultobj;
32073 wxWindow *arg1 = (wxWindow *) 0 ;
32074 int arg2 = (int) (int)-1 ;
32075 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32076 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32077 wxSize const &arg4_defvalue = wxDefaultSize ;
32078 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32079 long arg5 = (long) 0 ;
32080 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32081 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32082 wxString const &arg7_defvalue = wxPyControlNameStr ;
32083 wxString *arg7 = (wxString *) &arg7_defvalue ;
32084 wxPyControl *result;
32085 wxPoint temp3 ;
32086 wxSize temp4 ;
32087 bool temp7 = false ;
32088 PyObject * obj0 = 0 ;
32089 PyObject * obj1 = 0 ;
32090 PyObject * obj2 = 0 ;
32091 PyObject * obj3 = 0 ;
32092 PyObject * obj4 = 0 ;
32093 PyObject * obj5 = 0 ;
32094 PyObject * obj6 = 0 ;
32095 char *kwnames[] = {
32096 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32097 };
32098
32099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32101 if (SWIG_arg_fail(1)) SWIG_fail;
32102 if (obj1) {
32103 {
32104 arg2 = (int const)(SWIG_As_int(obj1));
32105 if (SWIG_arg_fail(2)) SWIG_fail;
32106 }
32107 }
32108 if (obj2) {
32109 {
32110 arg3 = &temp3;
32111 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32112 }
32113 }
32114 if (obj3) {
32115 {
32116 arg4 = &temp4;
32117 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32118 }
32119 }
32120 if (obj4) {
32121 {
32122 arg5 = (long)(SWIG_As_long(obj4));
32123 if (SWIG_arg_fail(5)) SWIG_fail;
32124 }
32125 }
32126 if (obj5) {
32127 {
32128 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32129 if (SWIG_arg_fail(6)) SWIG_fail;
32130 if (arg6 == NULL) {
32131 SWIG_null_ref("wxValidator");
32132 }
32133 if (SWIG_arg_fail(6)) SWIG_fail;
32134 }
32135 }
32136 if (obj6) {
32137 {
32138 arg7 = wxString_in_helper(obj6);
32139 if (arg7 == NULL) SWIG_fail;
32140 temp7 = true;
32141 }
32142 }
32143 {
32144 if (!wxPyCheckForApp()) SWIG_fail;
32145 PyThreadState* __tstate = wxPyBeginAllowThreads();
32146 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32147
32148 wxPyEndAllowThreads(__tstate);
32149 if (PyErr_Occurred()) SWIG_fail;
32150 }
32151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32152 {
32153 if (temp7)
32154 delete arg7;
32155 }
32156 return resultobj;
32157 fail:
32158 {
32159 if (temp7)
32160 delete arg7;
32161 }
32162 return NULL;
32163 }
32164
32165
32166 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32167 PyObject *resultobj;
32168 wxPyControl *result;
32169 char *kwnames[] = {
32170 NULL
32171 };
32172
32173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32174 {
32175 if (!wxPyCheckForApp()) SWIG_fail;
32176 PyThreadState* __tstate = wxPyBeginAllowThreads();
32177 result = (wxPyControl *)new wxPyControl();
32178
32179 wxPyEndAllowThreads(__tstate);
32180 if (PyErr_Occurred()) SWIG_fail;
32181 }
32182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32183 return resultobj;
32184 fail:
32185 return NULL;
32186 }
32187
32188
32189 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32190 PyObject *resultobj;
32191 wxPyControl *arg1 = (wxPyControl *) 0 ;
32192 PyObject *arg2 = (PyObject *) 0 ;
32193 PyObject *arg3 = (PyObject *) 0 ;
32194 PyObject * obj0 = 0 ;
32195 PyObject * obj1 = 0 ;
32196 PyObject * obj2 = 0 ;
32197 char *kwnames[] = {
32198 (char *) "self",(char *) "self",(char *) "_class", NULL
32199 };
32200
32201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32203 if (SWIG_arg_fail(1)) SWIG_fail;
32204 arg2 = obj1;
32205 arg3 = obj2;
32206 {
32207 PyThreadState* __tstate = wxPyBeginAllowThreads();
32208 (arg1)->_setCallbackInfo(arg2,arg3);
32209
32210 wxPyEndAllowThreads(__tstate);
32211 if (PyErr_Occurred()) SWIG_fail;
32212 }
32213 Py_INCREF(Py_None); resultobj = Py_None;
32214 return resultobj;
32215 fail:
32216 return NULL;
32217 }
32218
32219
32220 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32221 PyObject *resultobj;
32222 wxPyControl *arg1 = (wxPyControl *) 0 ;
32223 wxSize *arg2 = 0 ;
32224 wxSize temp2 ;
32225 PyObject * obj0 = 0 ;
32226 PyObject * obj1 = 0 ;
32227 char *kwnames[] = {
32228 (char *) "self",(char *) "size", NULL
32229 };
32230
32231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32233 if (SWIG_arg_fail(1)) SWIG_fail;
32234 {
32235 arg2 = &temp2;
32236 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32237 }
32238 {
32239 PyThreadState* __tstate = wxPyBeginAllowThreads();
32240 (arg1)->SetBestSize((wxSize const &)*arg2);
32241
32242 wxPyEndAllowThreads(__tstate);
32243 if (PyErr_Occurred()) SWIG_fail;
32244 }
32245 Py_INCREF(Py_None); resultobj = Py_None;
32246 return resultobj;
32247 fail:
32248 return NULL;
32249 }
32250
32251
32252 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32253 PyObject *resultobj;
32254 wxPyControl *arg1 = (wxPyControl *) 0 ;
32255 int arg2 ;
32256 int arg3 ;
32257 int arg4 ;
32258 int arg5 ;
32259 PyObject * obj0 = 0 ;
32260 PyObject * obj1 = 0 ;
32261 PyObject * obj2 = 0 ;
32262 PyObject * obj3 = 0 ;
32263 PyObject * obj4 = 0 ;
32264 char *kwnames[] = {
32265 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32266 };
32267
32268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32270 if (SWIG_arg_fail(1)) SWIG_fail;
32271 {
32272 arg2 = (int)(SWIG_As_int(obj1));
32273 if (SWIG_arg_fail(2)) SWIG_fail;
32274 }
32275 {
32276 arg3 = (int)(SWIG_As_int(obj2));
32277 if (SWIG_arg_fail(3)) SWIG_fail;
32278 }
32279 {
32280 arg4 = (int)(SWIG_As_int(obj3));
32281 if (SWIG_arg_fail(4)) SWIG_fail;
32282 }
32283 {
32284 arg5 = (int)(SWIG_As_int(obj4));
32285 if (SWIG_arg_fail(5)) SWIG_fail;
32286 }
32287 {
32288 PyThreadState* __tstate = wxPyBeginAllowThreads();
32289 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32290
32291 wxPyEndAllowThreads(__tstate);
32292 if (PyErr_Occurred()) SWIG_fail;
32293 }
32294 Py_INCREF(Py_None); resultobj = Py_None;
32295 return resultobj;
32296 fail:
32297 return NULL;
32298 }
32299
32300
32301 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32302 PyObject *resultobj;
32303 wxPyControl *arg1 = (wxPyControl *) 0 ;
32304 int arg2 ;
32305 int arg3 ;
32306 int arg4 ;
32307 int arg5 ;
32308 int arg6 = (int) wxSIZE_AUTO ;
32309 PyObject * obj0 = 0 ;
32310 PyObject * obj1 = 0 ;
32311 PyObject * obj2 = 0 ;
32312 PyObject * obj3 = 0 ;
32313 PyObject * obj4 = 0 ;
32314 PyObject * obj5 = 0 ;
32315 char *kwnames[] = {
32316 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32317 };
32318
32319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32321 if (SWIG_arg_fail(1)) SWIG_fail;
32322 {
32323 arg2 = (int)(SWIG_As_int(obj1));
32324 if (SWIG_arg_fail(2)) SWIG_fail;
32325 }
32326 {
32327 arg3 = (int)(SWIG_As_int(obj2));
32328 if (SWIG_arg_fail(3)) SWIG_fail;
32329 }
32330 {
32331 arg4 = (int)(SWIG_As_int(obj3));
32332 if (SWIG_arg_fail(4)) SWIG_fail;
32333 }
32334 {
32335 arg5 = (int)(SWIG_As_int(obj4));
32336 if (SWIG_arg_fail(5)) SWIG_fail;
32337 }
32338 if (obj5) {
32339 {
32340 arg6 = (int)(SWIG_As_int(obj5));
32341 if (SWIG_arg_fail(6)) SWIG_fail;
32342 }
32343 }
32344 {
32345 PyThreadState* __tstate = wxPyBeginAllowThreads();
32346 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32347
32348 wxPyEndAllowThreads(__tstate);
32349 if (PyErr_Occurred()) SWIG_fail;
32350 }
32351 Py_INCREF(Py_None); resultobj = Py_None;
32352 return resultobj;
32353 fail:
32354 return NULL;
32355 }
32356
32357
32358 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32359 PyObject *resultobj;
32360 wxPyControl *arg1 = (wxPyControl *) 0 ;
32361 int arg2 ;
32362 int arg3 ;
32363 PyObject * obj0 = 0 ;
32364 PyObject * obj1 = 0 ;
32365 PyObject * obj2 = 0 ;
32366 char *kwnames[] = {
32367 (char *) "self",(char *) "width",(char *) "height", NULL
32368 };
32369
32370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32372 if (SWIG_arg_fail(1)) SWIG_fail;
32373 {
32374 arg2 = (int)(SWIG_As_int(obj1));
32375 if (SWIG_arg_fail(2)) SWIG_fail;
32376 }
32377 {
32378 arg3 = (int)(SWIG_As_int(obj2));
32379 if (SWIG_arg_fail(3)) SWIG_fail;
32380 }
32381 {
32382 PyThreadState* __tstate = wxPyBeginAllowThreads();
32383 (arg1)->base_DoSetClientSize(arg2,arg3);
32384
32385 wxPyEndAllowThreads(__tstate);
32386 if (PyErr_Occurred()) SWIG_fail;
32387 }
32388 Py_INCREF(Py_None); resultobj = Py_None;
32389 return resultobj;
32390 fail:
32391 return NULL;
32392 }
32393
32394
32395 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32396 PyObject *resultobj;
32397 wxPyControl *arg1 = (wxPyControl *) 0 ;
32398 int arg2 ;
32399 int arg3 ;
32400 PyObject * obj0 = 0 ;
32401 PyObject * obj1 = 0 ;
32402 PyObject * obj2 = 0 ;
32403 char *kwnames[] = {
32404 (char *) "self",(char *) "x",(char *) "y", NULL
32405 };
32406
32407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32409 if (SWIG_arg_fail(1)) SWIG_fail;
32410 {
32411 arg2 = (int)(SWIG_As_int(obj1));
32412 if (SWIG_arg_fail(2)) SWIG_fail;
32413 }
32414 {
32415 arg3 = (int)(SWIG_As_int(obj2));
32416 if (SWIG_arg_fail(3)) SWIG_fail;
32417 }
32418 {
32419 PyThreadState* __tstate = wxPyBeginAllowThreads();
32420 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32421
32422 wxPyEndAllowThreads(__tstate);
32423 if (PyErr_Occurred()) SWIG_fail;
32424 }
32425 Py_INCREF(Py_None); resultobj = Py_None;
32426 return resultobj;
32427 fail:
32428 return NULL;
32429 }
32430
32431
32432 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32433 PyObject *resultobj;
32434 wxPyControl *arg1 = (wxPyControl *) 0 ;
32435 int *arg2 = (int *) 0 ;
32436 int *arg3 = (int *) 0 ;
32437 int temp2 ;
32438 int res2 = 0 ;
32439 int temp3 ;
32440 int res3 = 0 ;
32441 PyObject * obj0 = 0 ;
32442 char *kwnames[] = {
32443 (char *) "self", NULL
32444 };
32445
32446 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32447 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32450 if (SWIG_arg_fail(1)) SWIG_fail;
32451 {
32452 PyThreadState* __tstate = wxPyBeginAllowThreads();
32453 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32454
32455 wxPyEndAllowThreads(__tstate);
32456 if (PyErr_Occurred()) SWIG_fail;
32457 }
32458 Py_INCREF(Py_None); resultobj = Py_None;
32459 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32460 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32461 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32462 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32463 return resultobj;
32464 fail:
32465 return NULL;
32466 }
32467
32468
32469 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32470 PyObject *resultobj;
32471 wxPyControl *arg1 = (wxPyControl *) 0 ;
32472 int *arg2 = (int *) 0 ;
32473 int *arg3 = (int *) 0 ;
32474 int temp2 ;
32475 int res2 = 0 ;
32476 int temp3 ;
32477 int res3 = 0 ;
32478 PyObject * obj0 = 0 ;
32479 char *kwnames[] = {
32480 (char *) "self", NULL
32481 };
32482
32483 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32484 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32487 if (SWIG_arg_fail(1)) SWIG_fail;
32488 {
32489 PyThreadState* __tstate = wxPyBeginAllowThreads();
32490 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32491
32492 wxPyEndAllowThreads(__tstate);
32493 if (PyErr_Occurred()) SWIG_fail;
32494 }
32495 Py_INCREF(Py_None); resultobj = Py_None;
32496 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32497 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32498 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32499 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32500 return resultobj;
32501 fail:
32502 return NULL;
32503 }
32504
32505
32506 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32507 PyObject *resultobj;
32508 wxPyControl *arg1 = (wxPyControl *) 0 ;
32509 int *arg2 = (int *) 0 ;
32510 int *arg3 = (int *) 0 ;
32511 int temp2 ;
32512 int res2 = 0 ;
32513 int temp3 ;
32514 int res3 = 0 ;
32515 PyObject * obj0 = 0 ;
32516 char *kwnames[] = {
32517 (char *) "self", NULL
32518 };
32519
32520 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32521 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
32523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32524 if (SWIG_arg_fail(1)) SWIG_fail;
32525 {
32526 PyThreadState* __tstate = wxPyBeginAllowThreads();
32527 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32528
32529 wxPyEndAllowThreads(__tstate);
32530 if (PyErr_Occurred()) SWIG_fail;
32531 }
32532 Py_INCREF(Py_None); resultobj = Py_None;
32533 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32534 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32535 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32536 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32537 return resultobj;
32538 fail:
32539 return NULL;
32540 }
32541
32542
32543 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32544 PyObject *resultobj;
32545 wxPyControl *arg1 = (wxPyControl *) 0 ;
32546 wxSize result;
32547 PyObject * obj0 = 0 ;
32548 char *kwnames[] = {
32549 (char *) "self", NULL
32550 };
32551
32552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32554 if (SWIG_arg_fail(1)) SWIG_fail;
32555 {
32556 PyThreadState* __tstate = wxPyBeginAllowThreads();
32557 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32558
32559 wxPyEndAllowThreads(__tstate);
32560 if (PyErr_Occurred()) SWIG_fail;
32561 }
32562 {
32563 wxSize * resultptr;
32564 resultptr = new wxSize((wxSize &)(result));
32565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32566 }
32567 return resultobj;
32568 fail:
32569 return NULL;
32570 }
32571
32572
32573 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32574 PyObject *resultobj;
32575 wxPyControl *arg1 = (wxPyControl *) 0 ;
32576 wxSize result;
32577 PyObject * obj0 = 0 ;
32578 char *kwnames[] = {
32579 (char *) "self", NULL
32580 };
32581
32582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
32583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32584 if (SWIG_arg_fail(1)) SWIG_fail;
32585 {
32586 PyThreadState* __tstate = wxPyBeginAllowThreads();
32587 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32588
32589 wxPyEndAllowThreads(__tstate);
32590 if (PyErr_Occurred()) SWIG_fail;
32591 }
32592 {
32593 wxSize * resultptr;
32594 resultptr = new wxSize((wxSize &)(result));
32595 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32596 }
32597 return resultobj;
32598 fail:
32599 return NULL;
32600 }
32601
32602
32603 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32604 PyObject *resultobj;
32605 wxPyControl *arg1 = (wxPyControl *) 0 ;
32606 PyObject * obj0 = 0 ;
32607 char *kwnames[] = {
32608 (char *) "self", NULL
32609 };
32610
32611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32613 if (SWIG_arg_fail(1)) SWIG_fail;
32614 {
32615 PyThreadState* __tstate = wxPyBeginAllowThreads();
32616 (arg1)->base_InitDialog();
32617
32618 wxPyEndAllowThreads(__tstate);
32619 if (PyErr_Occurred()) SWIG_fail;
32620 }
32621 Py_INCREF(Py_None); resultobj = Py_None;
32622 return resultobj;
32623 fail:
32624 return NULL;
32625 }
32626
32627
32628 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32629 PyObject *resultobj;
32630 wxPyControl *arg1 = (wxPyControl *) 0 ;
32631 bool result;
32632 PyObject * obj0 = 0 ;
32633 char *kwnames[] = {
32634 (char *) "self", NULL
32635 };
32636
32637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
32638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32639 if (SWIG_arg_fail(1)) SWIG_fail;
32640 {
32641 PyThreadState* __tstate = wxPyBeginAllowThreads();
32642 result = (bool)(arg1)->base_TransferDataToWindow();
32643
32644 wxPyEndAllowThreads(__tstate);
32645 if (PyErr_Occurred()) SWIG_fail;
32646 }
32647 {
32648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32649 }
32650 return resultobj;
32651 fail:
32652 return NULL;
32653 }
32654
32655
32656 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32657 PyObject *resultobj;
32658 wxPyControl *arg1 = (wxPyControl *) 0 ;
32659 bool result;
32660 PyObject * obj0 = 0 ;
32661 char *kwnames[] = {
32662 (char *) "self", NULL
32663 };
32664
32665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
32666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32667 if (SWIG_arg_fail(1)) SWIG_fail;
32668 {
32669 PyThreadState* __tstate = wxPyBeginAllowThreads();
32670 result = (bool)(arg1)->base_TransferDataFromWindow();
32671
32672 wxPyEndAllowThreads(__tstate);
32673 if (PyErr_Occurred()) SWIG_fail;
32674 }
32675 {
32676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32677 }
32678 return resultobj;
32679 fail:
32680 return NULL;
32681 }
32682
32683
32684 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32685 PyObject *resultobj;
32686 wxPyControl *arg1 = (wxPyControl *) 0 ;
32687 bool result;
32688 PyObject * obj0 = 0 ;
32689 char *kwnames[] = {
32690 (char *) "self", NULL
32691 };
32692
32693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
32694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32695 if (SWIG_arg_fail(1)) SWIG_fail;
32696 {
32697 PyThreadState* __tstate = wxPyBeginAllowThreads();
32698 result = (bool)(arg1)->base_Validate();
32699
32700 wxPyEndAllowThreads(__tstate);
32701 if (PyErr_Occurred()) SWIG_fail;
32702 }
32703 {
32704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32705 }
32706 return resultobj;
32707 fail:
32708 return NULL;
32709 }
32710
32711
32712 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32713 PyObject *resultobj;
32714 wxPyControl *arg1 = (wxPyControl *) 0 ;
32715 bool result;
32716 PyObject * obj0 = 0 ;
32717 char *kwnames[] = {
32718 (char *) "self", NULL
32719 };
32720
32721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
32722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32723 if (SWIG_arg_fail(1)) SWIG_fail;
32724 {
32725 PyThreadState* __tstate = wxPyBeginAllowThreads();
32726 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32727
32728 wxPyEndAllowThreads(__tstate);
32729 if (PyErr_Occurred()) SWIG_fail;
32730 }
32731 {
32732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32733 }
32734 return resultobj;
32735 fail:
32736 return NULL;
32737 }
32738
32739
32740 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32741 PyObject *resultobj;
32742 wxPyControl *arg1 = (wxPyControl *) 0 ;
32743 bool result;
32744 PyObject * obj0 = 0 ;
32745 char *kwnames[] = {
32746 (char *) "self", NULL
32747 };
32748
32749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
32750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32751 if (SWIG_arg_fail(1)) SWIG_fail;
32752 {
32753 PyThreadState* __tstate = wxPyBeginAllowThreads();
32754 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32755
32756 wxPyEndAllowThreads(__tstate);
32757 if (PyErr_Occurred()) SWIG_fail;
32758 }
32759 {
32760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32761 }
32762 return resultobj;
32763 fail:
32764 return NULL;
32765 }
32766
32767
32768 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32769 PyObject *resultobj;
32770 wxPyControl *arg1 = (wxPyControl *) 0 ;
32771 wxSize result;
32772 PyObject * obj0 = 0 ;
32773 char *kwnames[] = {
32774 (char *) "self", NULL
32775 };
32776
32777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
32778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32779 if (SWIG_arg_fail(1)) SWIG_fail;
32780 {
32781 PyThreadState* __tstate = wxPyBeginAllowThreads();
32782 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32783
32784 wxPyEndAllowThreads(__tstate);
32785 if (PyErr_Occurred()) SWIG_fail;
32786 }
32787 {
32788 wxSize * resultptr;
32789 resultptr = new wxSize((wxSize &)(result));
32790 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32791 }
32792 return resultobj;
32793 fail:
32794 return NULL;
32795 }
32796
32797
32798 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32799 PyObject *resultobj;
32800 wxPyControl *arg1 = (wxPyControl *) 0 ;
32801 wxWindow *arg2 = (wxWindow *) 0 ;
32802 PyObject * obj0 = 0 ;
32803 PyObject * obj1 = 0 ;
32804 char *kwnames[] = {
32805 (char *) "self",(char *) "child", NULL
32806 };
32807
32808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
32809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32810 if (SWIG_arg_fail(1)) SWIG_fail;
32811 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32812 if (SWIG_arg_fail(2)) SWIG_fail;
32813 {
32814 PyThreadState* __tstate = wxPyBeginAllowThreads();
32815 (arg1)->base_AddChild(arg2);
32816
32817 wxPyEndAllowThreads(__tstate);
32818 if (PyErr_Occurred()) SWIG_fail;
32819 }
32820 Py_INCREF(Py_None); resultobj = Py_None;
32821 return resultobj;
32822 fail:
32823 return NULL;
32824 }
32825
32826
32827 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32828 PyObject *resultobj;
32829 wxPyControl *arg1 = (wxPyControl *) 0 ;
32830 wxWindow *arg2 = (wxWindow *) 0 ;
32831 PyObject * obj0 = 0 ;
32832 PyObject * obj1 = 0 ;
32833 char *kwnames[] = {
32834 (char *) "self",(char *) "child", NULL
32835 };
32836
32837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
32838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32839 if (SWIG_arg_fail(1)) SWIG_fail;
32840 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32841 if (SWIG_arg_fail(2)) SWIG_fail;
32842 {
32843 PyThreadState* __tstate = wxPyBeginAllowThreads();
32844 (arg1)->base_RemoveChild(arg2);
32845
32846 wxPyEndAllowThreads(__tstate);
32847 if (PyErr_Occurred()) SWIG_fail;
32848 }
32849 Py_INCREF(Py_None); resultobj = Py_None;
32850 return resultobj;
32851 fail:
32852 return NULL;
32853 }
32854
32855
32856 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32857 PyObject *resultobj;
32858 wxPyControl *arg1 = (wxPyControl *) 0 ;
32859 bool result;
32860 PyObject * obj0 = 0 ;
32861 char *kwnames[] = {
32862 (char *) "self", NULL
32863 };
32864
32865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
32866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32867 if (SWIG_arg_fail(1)) SWIG_fail;
32868 {
32869 PyThreadState* __tstate = wxPyBeginAllowThreads();
32870 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
32871
32872 wxPyEndAllowThreads(__tstate);
32873 if (PyErr_Occurred()) SWIG_fail;
32874 }
32875 {
32876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32877 }
32878 return resultobj;
32879 fail:
32880 return NULL;
32881 }
32882
32883
32884 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32885 PyObject *resultobj;
32886 wxPyControl *arg1 = (wxPyControl *) 0 ;
32887 wxColour *arg2 = 0 ;
32888 wxColour temp2 ;
32889 PyObject * obj0 = 0 ;
32890 PyObject * obj1 = 0 ;
32891 char *kwnames[] = {
32892 (char *) "self",(char *) "c", NULL
32893 };
32894
32895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
32896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32897 if (SWIG_arg_fail(1)) SWIG_fail;
32898 {
32899 arg2 = &temp2;
32900 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32901 }
32902 {
32903 PyThreadState* __tstate = wxPyBeginAllowThreads();
32904 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
32905
32906 wxPyEndAllowThreads(__tstate);
32907 if (PyErr_Occurred()) SWIG_fail;
32908 }
32909 Py_INCREF(Py_None); resultobj = Py_None;
32910 return resultobj;
32911 fail:
32912 return NULL;
32913 }
32914
32915
32916 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32917 PyObject *resultobj;
32918 wxPyControl *arg1 = (wxPyControl *) 0 ;
32919 wxVisualAttributes result;
32920 PyObject * obj0 = 0 ;
32921 char *kwnames[] = {
32922 (char *) "self", NULL
32923 };
32924
32925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
32926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32927 if (SWIG_arg_fail(1)) SWIG_fail;
32928 {
32929 PyThreadState* __tstate = wxPyBeginAllowThreads();
32930 result = (arg1)->base_GetDefaultAttributes();
32931
32932 wxPyEndAllowThreads(__tstate);
32933 if (PyErr_Occurred()) SWIG_fail;
32934 }
32935 {
32936 wxVisualAttributes * resultptr;
32937 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
32938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32939 }
32940 return resultobj;
32941 fail:
32942 return NULL;
32943 }
32944
32945
32946 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
32947 PyObject *obj;
32948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32949 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32950 Py_INCREF(obj);
32951 return Py_BuildValue((char *)"");
32952 }
32953 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32954 PyObject *resultobj;
32955 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32956 int arg2 = (int) 0 ;
32957 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32958 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32959 wxHelpEvent *result;
32960 wxPoint temp3 ;
32961 PyObject * obj0 = 0 ;
32962 PyObject * obj1 = 0 ;
32963 PyObject * obj2 = 0 ;
32964 char *kwnames[] = {
32965 (char *) "type",(char *) "winid",(char *) "pt", NULL
32966 };
32967
32968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
32969 if (obj0) {
32970 {
32971 arg1 = (wxEventType)(SWIG_As_int(obj0));
32972 if (SWIG_arg_fail(1)) SWIG_fail;
32973 }
32974 }
32975 if (obj1) {
32976 {
32977 arg2 = (int)(SWIG_As_int(obj1));
32978 if (SWIG_arg_fail(2)) SWIG_fail;
32979 }
32980 }
32981 if (obj2) {
32982 {
32983 arg3 = &temp3;
32984 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32985 }
32986 }
32987 {
32988 PyThreadState* __tstate = wxPyBeginAllowThreads();
32989 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
32990
32991 wxPyEndAllowThreads(__tstate);
32992 if (PyErr_Occurred()) SWIG_fail;
32993 }
32994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
32995 return resultobj;
32996 fail:
32997 return NULL;
32998 }
32999
33000
33001 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33002 PyObject *resultobj;
33003 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33004 wxPoint result;
33005 PyObject * obj0 = 0 ;
33006 char *kwnames[] = {
33007 (char *) "self", NULL
33008 };
33009
33010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
33011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33012 if (SWIG_arg_fail(1)) SWIG_fail;
33013 {
33014 PyThreadState* __tstate = wxPyBeginAllowThreads();
33015 result = ((wxHelpEvent const *)arg1)->GetPosition();
33016
33017 wxPyEndAllowThreads(__tstate);
33018 if (PyErr_Occurred()) SWIG_fail;
33019 }
33020 {
33021 wxPoint * resultptr;
33022 resultptr = new wxPoint((wxPoint const &)(result));
33023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33024 }
33025 return resultobj;
33026 fail:
33027 return NULL;
33028 }
33029
33030
33031 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33032 PyObject *resultobj;
33033 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33034 wxPoint *arg2 = 0 ;
33035 wxPoint temp2 ;
33036 PyObject * obj0 = 0 ;
33037 PyObject * obj1 = 0 ;
33038 char *kwnames[] = {
33039 (char *) "self",(char *) "pos", NULL
33040 };
33041
33042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33044 if (SWIG_arg_fail(1)) SWIG_fail;
33045 {
33046 arg2 = &temp2;
33047 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33048 }
33049 {
33050 PyThreadState* __tstate = wxPyBeginAllowThreads();
33051 (arg1)->SetPosition((wxPoint const &)*arg2);
33052
33053 wxPyEndAllowThreads(__tstate);
33054 if (PyErr_Occurred()) SWIG_fail;
33055 }
33056 Py_INCREF(Py_None); resultobj = Py_None;
33057 return resultobj;
33058 fail:
33059 return NULL;
33060 }
33061
33062
33063 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33064 PyObject *resultobj;
33065 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33066 wxString *result;
33067 PyObject * obj0 = 0 ;
33068 char *kwnames[] = {
33069 (char *) "self", NULL
33070 };
33071
33072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33074 if (SWIG_arg_fail(1)) SWIG_fail;
33075 {
33076 PyThreadState* __tstate = wxPyBeginAllowThreads();
33077 {
33078 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33079 result = (wxString *) &_result_ref;
33080 }
33081
33082 wxPyEndAllowThreads(__tstate);
33083 if (PyErr_Occurred()) SWIG_fail;
33084 }
33085 {
33086 #if wxUSE_UNICODE
33087 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33088 #else
33089 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33090 #endif
33091 }
33092 return resultobj;
33093 fail:
33094 return NULL;
33095 }
33096
33097
33098 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33099 PyObject *resultobj;
33100 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33101 wxString *arg2 = 0 ;
33102 bool temp2 = false ;
33103 PyObject * obj0 = 0 ;
33104 PyObject * obj1 = 0 ;
33105 char *kwnames[] = {
33106 (char *) "self",(char *) "link", NULL
33107 };
33108
33109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33111 if (SWIG_arg_fail(1)) SWIG_fail;
33112 {
33113 arg2 = wxString_in_helper(obj1);
33114 if (arg2 == NULL) SWIG_fail;
33115 temp2 = true;
33116 }
33117 {
33118 PyThreadState* __tstate = wxPyBeginAllowThreads();
33119 (arg1)->SetLink((wxString const &)*arg2);
33120
33121 wxPyEndAllowThreads(__tstate);
33122 if (PyErr_Occurred()) SWIG_fail;
33123 }
33124 Py_INCREF(Py_None); resultobj = Py_None;
33125 {
33126 if (temp2)
33127 delete arg2;
33128 }
33129 return resultobj;
33130 fail:
33131 {
33132 if (temp2)
33133 delete arg2;
33134 }
33135 return NULL;
33136 }
33137
33138
33139 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33140 PyObject *resultobj;
33141 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33142 wxString *result;
33143 PyObject * obj0 = 0 ;
33144 char *kwnames[] = {
33145 (char *) "self", NULL
33146 };
33147
33148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33150 if (SWIG_arg_fail(1)) SWIG_fail;
33151 {
33152 PyThreadState* __tstate = wxPyBeginAllowThreads();
33153 {
33154 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33155 result = (wxString *) &_result_ref;
33156 }
33157
33158 wxPyEndAllowThreads(__tstate);
33159 if (PyErr_Occurred()) SWIG_fail;
33160 }
33161 {
33162 #if wxUSE_UNICODE
33163 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33164 #else
33165 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33166 #endif
33167 }
33168 return resultobj;
33169 fail:
33170 return NULL;
33171 }
33172
33173
33174 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33175 PyObject *resultobj;
33176 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33177 wxString *arg2 = 0 ;
33178 bool temp2 = false ;
33179 PyObject * obj0 = 0 ;
33180 PyObject * obj1 = 0 ;
33181 char *kwnames[] = {
33182 (char *) "self",(char *) "target", NULL
33183 };
33184
33185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33187 if (SWIG_arg_fail(1)) SWIG_fail;
33188 {
33189 arg2 = wxString_in_helper(obj1);
33190 if (arg2 == NULL) SWIG_fail;
33191 temp2 = true;
33192 }
33193 {
33194 PyThreadState* __tstate = wxPyBeginAllowThreads();
33195 (arg1)->SetTarget((wxString const &)*arg2);
33196
33197 wxPyEndAllowThreads(__tstate);
33198 if (PyErr_Occurred()) SWIG_fail;
33199 }
33200 Py_INCREF(Py_None); resultobj = Py_None;
33201 {
33202 if (temp2)
33203 delete arg2;
33204 }
33205 return resultobj;
33206 fail:
33207 {
33208 if (temp2)
33209 delete arg2;
33210 }
33211 return NULL;
33212 }
33213
33214
33215 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33216 PyObject *obj;
33217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33218 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33219 Py_INCREF(obj);
33220 return Py_BuildValue((char *)"");
33221 }
33222 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33223 PyObject *resultobj;
33224 wxWindow *arg1 = (wxWindow *) NULL ;
33225 bool arg2 = (bool) true ;
33226 wxContextHelp *result;
33227 PyObject * obj0 = 0 ;
33228 PyObject * obj1 = 0 ;
33229 char *kwnames[] = {
33230 (char *) "window",(char *) "doNow", NULL
33231 };
33232
33233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33234 if (obj0) {
33235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33236 if (SWIG_arg_fail(1)) SWIG_fail;
33237 }
33238 if (obj1) {
33239 {
33240 arg2 = (bool)(SWIG_As_bool(obj1));
33241 if (SWIG_arg_fail(2)) SWIG_fail;
33242 }
33243 }
33244 {
33245 if (!wxPyCheckForApp()) SWIG_fail;
33246 PyThreadState* __tstate = wxPyBeginAllowThreads();
33247 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33248
33249 wxPyEndAllowThreads(__tstate);
33250 if (PyErr_Occurred()) SWIG_fail;
33251 }
33252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33253 return resultobj;
33254 fail:
33255 return NULL;
33256 }
33257
33258
33259 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33260 PyObject *resultobj;
33261 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33262 PyObject * obj0 = 0 ;
33263 char *kwnames[] = {
33264 (char *) "self", NULL
33265 };
33266
33267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33269 if (SWIG_arg_fail(1)) SWIG_fail;
33270 {
33271 PyThreadState* __tstate = wxPyBeginAllowThreads();
33272 delete arg1;
33273
33274 wxPyEndAllowThreads(__tstate);
33275 if (PyErr_Occurred()) SWIG_fail;
33276 }
33277 Py_INCREF(Py_None); resultobj = Py_None;
33278 return resultobj;
33279 fail:
33280 return NULL;
33281 }
33282
33283
33284 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33285 PyObject *resultobj;
33286 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33287 wxWindow *arg2 = (wxWindow *) NULL ;
33288 bool result;
33289 PyObject * obj0 = 0 ;
33290 PyObject * obj1 = 0 ;
33291 char *kwnames[] = {
33292 (char *) "self",(char *) "window", NULL
33293 };
33294
33295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33297 if (SWIG_arg_fail(1)) SWIG_fail;
33298 if (obj1) {
33299 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33300 if (SWIG_arg_fail(2)) SWIG_fail;
33301 }
33302 {
33303 PyThreadState* __tstate = wxPyBeginAllowThreads();
33304 result = (bool)(arg1)->BeginContextHelp(arg2);
33305
33306 wxPyEndAllowThreads(__tstate);
33307 if (PyErr_Occurred()) SWIG_fail;
33308 }
33309 {
33310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33311 }
33312 return resultobj;
33313 fail:
33314 return NULL;
33315 }
33316
33317
33318 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33319 PyObject *resultobj;
33320 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33321 bool result;
33322 PyObject * obj0 = 0 ;
33323 char *kwnames[] = {
33324 (char *) "self", NULL
33325 };
33326
33327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33329 if (SWIG_arg_fail(1)) SWIG_fail;
33330 {
33331 PyThreadState* __tstate = wxPyBeginAllowThreads();
33332 result = (bool)(arg1)->EndContextHelp();
33333
33334 wxPyEndAllowThreads(__tstate);
33335 if (PyErr_Occurred()) SWIG_fail;
33336 }
33337 {
33338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33339 }
33340 return resultobj;
33341 fail:
33342 return NULL;
33343 }
33344
33345
33346 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33347 PyObject *obj;
33348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33349 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33350 Py_INCREF(obj);
33351 return Py_BuildValue((char *)"");
33352 }
33353 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33354 PyObject *resultobj;
33355 wxWindow *arg1 = (wxWindow *) 0 ;
33356 int arg2 = (int) wxID_CONTEXT_HELP ;
33357 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33358 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33359 wxSize const &arg4_defvalue = wxDefaultSize ;
33360 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33361 long arg5 = (long) wxBU_AUTODRAW ;
33362 wxContextHelpButton *result;
33363 wxPoint temp3 ;
33364 wxSize temp4 ;
33365 PyObject * obj0 = 0 ;
33366 PyObject * obj1 = 0 ;
33367 PyObject * obj2 = 0 ;
33368 PyObject * obj3 = 0 ;
33369 PyObject * obj4 = 0 ;
33370 char *kwnames[] = {
33371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33372 };
33373
33374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33376 if (SWIG_arg_fail(1)) SWIG_fail;
33377 if (obj1) {
33378 {
33379 arg2 = (int)(SWIG_As_int(obj1));
33380 if (SWIG_arg_fail(2)) SWIG_fail;
33381 }
33382 }
33383 if (obj2) {
33384 {
33385 arg3 = &temp3;
33386 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33387 }
33388 }
33389 if (obj3) {
33390 {
33391 arg4 = &temp4;
33392 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33393 }
33394 }
33395 if (obj4) {
33396 {
33397 arg5 = (long)(SWIG_As_long(obj4));
33398 if (SWIG_arg_fail(5)) SWIG_fail;
33399 }
33400 }
33401 {
33402 if (!wxPyCheckForApp()) SWIG_fail;
33403 PyThreadState* __tstate = wxPyBeginAllowThreads();
33404 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33405
33406 wxPyEndAllowThreads(__tstate);
33407 if (PyErr_Occurred()) SWIG_fail;
33408 }
33409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33410 return resultobj;
33411 fail:
33412 return NULL;
33413 }
33414
33415
33416 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33417 PyObject *obj;
33418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33419 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33420 Py_INCREF(obj);
33421 return Py_BuildValue((char *)"");
33422 }
33423 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33424 PyObject *resultobj;
33425 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33426 wxHelpProvider *result;
33427 PyObject * obj0 = 0 ;
33428 char *kwnames[] = {
33429 (char *) "helpProvider", NULL
33430 };
33431
33432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33434 if (SWIG_arg_fail(1)) SWIG_fail;
33435 {
33436 PyThreadState* __tstate = wxPyBeginAllowThreads();
33437 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33438
33439 wxPyEndAllowThreads(__tstate);
33440 if (PyErr_Occurred()) SWIG_fail;
33441 }
33442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33443 return resultobj;
33444 fail:
33445 return NULL;
33446 }
33447
33448
33449 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33450 PyObject *resultobj;
33451 wxHelpProvider *result;
33452 char *kwnames[] = {
33453 NULL
33454 };
33455
33456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33457 {
33458 PyThreadState* __tstate = wxPyBeginAllowThreads();
33459 result = (wxHelpProvider *)wxHelpProvider::Get();
33460
33461 wxPyEndAllowThreads(__tstate);
33462 if (PyErr_Occurred()) SWIG_fail;
33463 }
33464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33465 return resultobj;
33466 fail:
33467 return NULL;
33468 }
33469
33470
33471 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33472 PyObject *resultobj;
33473 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33474 wxWindow *arg2 = (wxWindow *) 0 ;
33475 wxString result;
33476 PyObject * obj0 = 0 ;
33477 PyObject * obj1 = 0 ;
33478 char *kwnames[] = {
33479 (char *) "self",(char *) "window", NULL
33480 };
33481
33482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33484 if (SWIG_arg_fail(1)) SWIG_fail;
33485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33486 if (SWIG_arg_fail(2)) SWIG_fail;
33487 {
33488 PyThreadState* __tstate = wxPyBeginAllowThreads();
33489 result = (arg1)->GetHelp((wxWindow const *)arg2);
33490
33491 wxPyEndAllowThreads(__tstate);
33492 if (PyErr_Occurred()) SWIG_fail;
33493 }
33494 {
33495 #if wxUSE_UNICODE
33496 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33497 #else
33498 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33499 #endif
33500 }
33501 return resultobj;
33502 fail:
33503 return NULL;
33504 }
33505
33506
33507 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33508 PyObject *resultobj;
33509 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33510 wxWindow *arg2 = (wxWindow *) 0 ;
33511 bool result;
33512 PyObject * obj0 = 0 ;
33513 PyObject * obj1 = 0 ;
33514 char *kwnames[] = {
33515 (char *) "self",(char *) "window", NULL
33516 };
33517
33518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33520 if (SWIG_arg_fail(1)) SWIG_fail;
33521 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33522 if (SWIG_arg_fail(2)) SWIG_fail;
33523 {
33524 PyThreadState* __tstate = wxPyBeginAllowThreads();
33525 result = (bool)(arg1)->ShowHelp(arg2);
33526
33527 wxPyEndAllowThreads(__tstate);
33528 if (PyErr_Occurred()) SWIG_fail;
33529 }
33530 {
33531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33532 }
33533 return resultobj;
33534 fail:
33535 return NULL;
33536 }
33537
33538
33539 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33540 PyObject *resultobj;
33541 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33542 wxWindow *arg2 = (wxWindow *) 0 ;
33543 wxString *arg3 = 0 ;
33544 bool temp3 = false ;
33545 PyObject * obj0 = 0 ;
33546 PyObject * obj1 = 0 ;
33547 PyObject * obj2 = 0 ;
33548 char *kwnames[] = {
33549 (char *) "self",(char *) "window",(char *) "text", NULL
33550 };
33551
33552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33554 if (SWIG_arg_fail(1)) SWIG_fail;
33555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33556 if (SWIG_arg_fail(2)) SWIG_fail;
33557 {
33558 arg3 = wxString_in_helper(obj2);
33559 if (arg3 == NULL) SWIG_fail;
33560 temp3 = true;
33561 }
33562 {
33563 PyThreadState* __tstate = wxPyBeginAllowThreads();
33564 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33565
33566 wxPyEndAllowThreads(__tstate);
33567 if (PyErr_Occurred()) SWIG_fail;
33568 }
33569 Py_INCREF(Py_None); resultobj = Py_None;
33570 {
33571 if (temp3)
33572 delete arg3;
33573 }
33574 return resultobj;
33575 fail:
33576 {
33577 if (temp3)
33578 delete arg3;
33579 }
33580 return NULL;
33581 }
33582
33583
33584 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33585 PyObject *resultobj;
33586 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33587 int arg2 ;
33588 wxString *arg3 = 0 ;
33589 bool temp3 = false ;
33590 PyObject * obj0 = 0 ;
33591 PyObject * obj1 = 0 ;
33592 PyObject * obj2 = 0 ;
33593 char *kwnames[] = {
33594 (char *) "self",(char *) "id",(char *) "text", NULL
33595 };
33596
33597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33599 if (SWIG_arg_fail(1)) SWIG_fail;
33600 {
33601 arg2 = (int)(SWIG_As_int(obj1));
33602 if (SWIG_arg_fail(2)) SWIG_fail;
33603 }
33604 {
33605 arg3 = wxString_in_helper(obj2);
33606 if (arg3 == NULL) SWIG_fail;
33607 temp3 = true;
33608 }
33609 {
33610 PyThreadState* __tstate = wxPyBeginAllowThreads();
33611 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33612
33613 wxPyEndAllowThreads(__tstate);
33614 if (PyErr_Occurred()) SWIG_fail;
33615 }
33616 Py_INCREF(Py_None); resultobj = Py_None;
33617 {
33618 if (temp3)
33619 delete arg3;
33620 }
33621 return resultobj;
33622 fail:
33623 {
33624 if (temp3)
33625 delete arg3;
33626 }
33627 return NULL;
33628 }
33629
33630
33631 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33632 PyObject *resultobj;
33633 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33634 wxWindow *arg2 = (wxWindow *) 0 ;
33635 PyObject * obj0 = 0 ;
33636 PyObject * obj1 = 0 ;
33637 char *kwnames[] = {
33638 (char *) "self",(char *) "window", NULL
33639 };
33640
33641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33643 if (SWIG_arg_fail(1)) SWIG_fail;
33644 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33645 if (SWIG_arg_fail(2)) SWIG_fail;
33646 {
33647 PyThreadState* __tstate = wxPyBeginAllowThreads();
33648 (arg1)->RemoveHelp(arg2);
33649
33650 wxPyEndAllowThreads(__tstate);
33651 if (PyErr_Occurred()) SWIG_fail;
33652 }
33653 Py_INCREF(Py_None); resultobj = Py_None;
33654 return resultobj;
33655 fail:
33656 return NULL;
33657 }
33658
33659
33660 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
33661 PyObject *resultobj;
33662 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33663 PyObject * obj0 = 0 ;
33664 char *kwnames[] = {
33665 (char *) "self", NULL
33666 };
33667
33668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
33669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33670 if (SWIG_arg_fail(1)) SWIG_fail;
33671 {
33672 PyThreadState* __tstate = wxPyBeginAllowThreads();
33673 wxHelpProvider_Destroy(arg1);
33674
33675 wxPyEndAllowThreads(__tstate);
33676 if (PyErr_Occurred()) SWIG_fail;
33677 }
33678 Py_INCREF(Py_None); resultobj = Py_None;
33679 return resultobj;
33680 fail:
33681 return NULL;
33682 }
33683
33684
33685 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
33686 PyObject *obj;
33687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33688 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33689 Py_INCREF(obj);
33690 return Py_BuildValue((char *)"");
33691 }
33692 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
33693 PyObject *resultobj;
33694 wxSimpleHelpProvider *result;
33695 char *kwnames[] = {
33696 NULL
33697 };
33698
33699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33700 {
33701 PyThreadState* __tstate = wxPyBeginAllowThreads();
33702 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33703
33704 wxPyEndAllowThreads(__tstate);
33705 if (PyErr_Occurred()) SWIG_fail;
33706 }
33707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33708 return resultobj;
33709 fail:
33710 return NULL;
33711 }
33712
33713
33714 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
33715 PyObject *obj;
33716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33717 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33718 Py_INCREF(obj);
33719 return Py_BuildValue((char *)"");
33720 }
33721 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33722 PyObject *resultobj;
33723 wxBitmap *arg1 = 0 ;
33724 wxCursor const &arg2_defvalue = wxNullCursor ;
33725 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33726 wxGenericDragImage *result;
33727 PyObject * obj0 = 0 ;
33728 PyObject * obj1 = 0 ;
33729 char *kwnames[] = {
33730 (char *) "image",(char *) "cursor", NULL
33731 };
33732
33733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
33734 {
33735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33736 if (SWIG_arg_fail(1)) SWIG_fail;
33737 if (arg1 == NULL) {
33738 SWIG_null_ref("wxBitmap");
33739 }
33740 if (SWIG_arg_fail(1)) SWIG_fail;
33741 }
33742 if (obj1) {
33743 {
33744 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33745 if (SWIG_arg_fail(2)) SWIG_fail;
33746 if (arg2 == NULL) {
33747 SWIG_null_ref("wxCursor");
33748 }
33749 if (SWIG_arg_fail(2)) SWIG_fail;
33750 }
33751 }
33752 {
33753 if (!wxPyCheckForApp()) SWIG_fail;
33754 PyThreadState* __tstate = wxPyBeginAllowThreads();
33755 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33756
33757 wxPyEndAllowThreads(__tstate);
33758 if (PyErr_Occurred()) SWIG_fail;
33759 }
33760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33761 return resultobj;
33762 fail:
33763 return NULL;
33764 }
33765
33766
33767 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
33768 PyObject *resultobj;
33769 wxIcon *arg1 = 0 ;
33770 wxCursor const &arg2_defvalue = wxNullCursor ;
33771 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33772 wxGenericDragImage *result;
33773 PyObject * obj0 = 0 ;
33774 PyObject * obj1 = 0 ;
33775 char *kwnames[] = {
33776 (char *) "image",(char *) "cursor", NULL
33777 };
33778
33779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
33780 {
33781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33782 if (SWIG_arg_fail(1)) SWIG_fail;
33783 if (arg1 == NULL) {
33784 SWIG_null_ref("wxIcon");
33785 }
33786 if (SWIG_arg_fail(1)) SWIG_fail;
33787 }
33788 if (obj1) {
33789 {
33790 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33791 if (SWIG_arg_fail(2)) SWIG_fail;
33792 if (arg2 == NULL) {
33793 SWIG_null_ref("wxCursor");
33794 }
33795 if (SWIG_arg_fail(2)) SWIG_fail;
33796 }
33797 }
33798 {
33799 if (!wxPyCheckForApp()) SWIG_fail;
33800 PyThreadState* __tstate = wxPyBeginAllowThreads();
33801 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33802
33803 wxPyEndAllowThreads(__tstate);
33804 if (PyErr_Occurred()) SWIG_fail;
33805 }
33806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33807 return resultobj;
33808 fail:
33809 return NULL;
33810 }
33811
33812
33813 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
33814 PyObject *resultobj;
33815 wxString *arg1 = 0 ;
33816 wxCursor const &arg2_defvalue = wxNullCursor ;
33817 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33818 wxGenericDragImage *result;
33819 bool temp1 = false ;
33820 PyObject * obj0 = 0 ;
33821 PyObject * obj1 = 0 ;
33822 char *kwnames[] = {
33823 (char *) "str",(char *) "cursor", NULL
33824 };
33825
33826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33827 {
33828 arg1 = wxString_in_helper(obj0);
33829 if (arg1 == NULL) SWIG_fail;
33830 temp1 = true;
33831 }
33832 if (obj1) {
33833 {
33834 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33835 if (SWIG_arg_fail(2)) SWIG_fail;
33836 if (arg2 == NULL) {
33837 SWIG_null_ref("wxCursor");
33838 }
33839 if (SWIG_arg_fail(2)) SWIG_fail;
33840 }
33841 }
33842 {
33843 if (!wxPyCheckForApp()) SWIG_fail;
33844 PyThreadState* __tstate = wxPyBeginAllowThreads();
33845 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33846
33847 wxPyEndAllowThreads(__tstate);
33848 if (PyErr_Occurred()) SWIG_fail;
33849 }
33850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33851 {
33852 if (temp1)
33853 delete arg1;
33854 }
33855 return resultobj;
33856 fail:
33857 {
33858 if (temp1)
33859 delete arg1;
33860 }
33861 return NULL;
33862 }
33863
33864
33865 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
33866 PyObject *resultobj;
33867 wxPyTreeCtrl *arg1 = 0 ;
33868 wxTreeItemId *arg2 = 0 ;
33869 wxGenericDragImage *result;
33870 PyObject * obj0 = 0 ;
33871 PyObject * obj1 = 0 ;
33872 char *kwnames[] = {
33873 (char *) "treeCtrl",(char *) "id", NULL
33874 };
33875
33876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
33877 {
33878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33879 if (SWIG_arg_fail(1)) SWIG_fail;
33880 if (arg1 == NULL) {
33881 SWIG_null_ref("wxPyTreeCtrl");
33882 }
33883 if (SWIG_arg_fail(1)) SWIG_fail;
33884 }
33885 {
33886 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33887 if (SWIG_arg_fail(2)) SWIG_fail;
33888 if (arg2 == NULL) {
33889 SWIG_null_ref("wxTreeItemId");
33890 }
33891 if (SWIG_arg_fail(2)) SWIG_fail;
33892 }
33893 {
33894 if (!wxPyCheckForApp()) SWIG_fail;
33895 PyThreadState* __tstate = wxPyBeginAllowThreads();
33896 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33897
33898 wxPyEndAllowThreads(__tstate);
33899 if (PyErr_Occurred()) SWIG_fail;
33900 }
33901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33902 return resultobj;
33903 fail:
33904 return NULL;
33905 }
33906
33907
33908 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
33909 PyObject *resultobj;
33910 wxPyListCtrl *arg1 = 0 ;
33911 long arg2 ;
33912 wxGenericDragImage *result;
33913 PyObject * obj0 = 0 ;
33914 PyObject * obj1 = 0 ;
33915 char *kwnames[] = {
33916 (char *) "listCtrl",(char *) "id", NULL
33917 };
33918
33919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
33920 {
33921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33922 if (SWIG_arg_fail(1)) SWIG_fail;
33923 if (arg1 == NULL) {
33924 SWIG_null_ref("wxPyListCtrl");
33925 }
33926 if (SWIG_arg_fail(1)) SWIG_fail;
33927 }
33928 {
33929 arg2 = (long)(SWIG_As_long(obj1));
33930 if (SWIG_arg_fail(2)) SWIG_fail;
33931 }
33932 {
33933 if (!wxPyCheckForApp()) SWIG_fail;
33934 PyThreadState* __tstate = wxPyBeginAllowThreads();
33935 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33936
33937 wxPyEndAllowThreads(__tstate);
33938 if (PyErr_Occurred()) SWIG_fail;
33939 }
33940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33941 return resultobj;
33942 fail:
33943 return NULL;
33944 }
33945
33946
33947 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33948 PyObject *resultobj;
33949 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33950 PyObject * obj0 = 0 ;
33951 char *kwnames[] = {
33952 (char *) "self", NULL
33953 };
33954
33955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
33956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33957 if (SWIG_arg_fail(1)) SWIG_fail;
33958 {
33959 PyThreadState* __tstate = wxPyBeginAllowThreads();
33960 delete arg1;
33961
33962 wxPyEndAllowThreads(__tstate);
33963 if (PyErr_Occurred()) SWIG_fail;
33964 }
33965 Py_INCREF(Py_None); resultobj = Py_None;
33966 return resultobj;
33967 fail:
33968 return NULL;
33969 }
33970
33971
33972 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
33973 PyObject *resultobj;
33974 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33975 wxBitmap *arg2 = (wxBitmap *) 0 ;
33976 PyObject * obj0 = 0 ;
33977 PyObject * obj1 = 0 ;
33978 char *kwnames[] = {
33979 (char *) "self",(char *) "bitmap", NULL
33980 };
33981
33982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
33983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33984 if (SWIG_arg_fail(1)) SWIG_fail;
33985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33986 if (SWIG_arg_fail(2)) SWIG_fail;
33987 {
33988 PyThreadState* __tstate = wxPyBeginAllowThreads();
33989 (arg1)->SetBackingBitmap(arg2);
33990
33991 wxPyEndAllowThreads(__tstate);
33992 if (PyErr_Occurred()) SWIG_fail;
33993 }
33994 Py_INCREF(Py_None); resultobj = Py_None;
33995 return resultobj;
33996 fail:
33997 return NULL;
33998 }
33999
34000
34001 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34002 PyObject *resultobj;
34003 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34004 wxPoint *arg2 = 0 ;
34005 wxWindow *arg3 = (wxWindow *) 0 ;
34006 bool arg4 = (bool) false ;
34007 wxRect *arg5 = (wxRect *) NULL ;
34008 bool result;
34009 wxPoint temp2 ;
34010 PyObject * obj0 = 0 ;
34011 PyObject * obj1 = 0 ;
34012 PyObject * obj2 = 0 ;
34013 PyObject * obj3 = 0 ;
34014 PyObject * obj4 = 0 ;
34015 char *kwnames[] = {
34016 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34017 };
34018
34019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34021 if (SWIG_arg_fail(1)) SWIG_fail;
34022 {
34023 arg2 = &temp2;
34024 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34025 }
34026 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34027 if (SWIG_arg_fail(3)) SWIG_fail;
34028 if (obj3) {
34029 {
34030 arg4 = (bool)(SWIG_As_bool(obj3));
34031 if (SWIG_arg_fail(4)) SWIG_fail;
34032 }
34033 }
34034 if (obj4) {
34035 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34036 if (SWIG_arg_fail(5)) SWIG_fail;
34037 }
34038 {
34039 PyThreadState* __tstate = wxPyBeginAllowThreads();
34040 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34041
34042 wxPyEndAllowThreads(__tstate);
34043 if (PyErr_Occurred()) SWIG_fail;
34044 }
34045 {
34046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34047 }
34048 return resultobj;
34049 fail:
34050 return NULL;
34051 }
34052
34053
34054 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34055 PyObject *resultobj;
34056 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34057 wxPoint *arg2 = 0 ;
34058 wxWindow *arg3 = (wxWindow *) 0 ;
34059 wxWindow *arg4 = (wxWindow *) 0 ;
34060 bool result;
34061 wxPoint temp2 ;
34062 PyObject * obj0 = 0 ;
34063 PyObject * obj1 = 0 ;
34064 PyObject * obj2 = 0 ;
34065 PyObject * obj3 = 0 ;
34066 char *kwnames[] = {
34067 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34068 };
34069
34070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34072 if (SWIG_arg_fail(1)) SWIG_fail;
34073 {
34074 arg2 = &temp2;
34075 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34076 }
34077 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34078 if (SWIG_arg_fail(3)) SWIG_fail;
34079 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34080 if (SWIG_arg_fail(4)) SWIG_fail;
34081 {
34082 PyThreadState* __tstate = wxPyBeginAllowThreads();
34083 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34084
34085 wxPyEndAllowThreads(__tstate);
34086 if (PyErr_Occurred()) SWIG_fail;
34087 }
34088 {
34089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34090 }
34091 return resultobj;
34092 fail:
34093 return NULL;
34094 }
34095
34096
34097 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34098 PyObject *resultobj;
34099 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34100 bool result;
34101 PyObject * obj0 = 0 ;
34102 char *kwnames[] = {
34103 (char *) "self", NULL
34104 };
34105
34106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34108 if (SWIG_arg_fail(1)) SWIG_fail;
34109 {
34110 PyThreadState* __tstate = wxPyBeginAllowThreads();
34111 result = (bool)(arg1)->EndDrag();
34112
34113 wxPyEndAllowThreads(__tstate);
34114 if (PyErr_Occurred()) SWIG_fail;
34115 }
34116 {
34117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34118 }
34119 return resultobj;
34120 fail:
34121 return NULL;
34122 }
34123
34124
34125 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34126 PyObject *resultobj;
34127 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34128 wxPoint *arg2 = 0 ;
34129 bool result;
34130 wxPoint temp2 ;
34131 PyObject * obj0 = 0 ;
34132 PyObject * obj1 = 0 ;
34133 char *kwnames[] = {
34134 (char *) "self",(char *) "pt", NULL
34135 };
34136
34137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34139 if (SWIG_arg_fail(1)) SWIG_fail;
34140 {
34141 arg2 = &temp2;
34142 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34143 }
34144 {
34145 PyThreadState* __tstate = wxPyBeginAllowThreads();
34146 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34147
34148 wxPyEndAllowThreads(__tstate);
34149 if (PyErr_Occurred()) SWIG_fail;
34150 }
34151 {
34152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34153 }
34154 return resultobj;
34155 fail:
34156 return NULL;
34157 }
34158
34159
34160 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34161 PyObject *resultobj;
34162 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34163 bool result;
34164 PyObject * obj0 = 0 ;
34165 char *kwnames[] = {
34166 (char *) "self", NULL
34167 };
34168
34169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34171 if (SWIG_arg_fail(1)) SWIG_fail;
34172 {
34173 PyThreadState* __tstate = wxPyBeginAllowThreads();
34174 result = (bool)(arg1)->Show();
34175
34176 wxPyEndAllowThreads(__tstate);
34177 if (PyErr_Occurred()) SWIG_fail;
34178 }
34179 {
34180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34181 }
34182 return resultobj;
34183 fail:
34184 return NULL;
34185 }
34186
34187
34188 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34189 PyObject *resultobj;
34190 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34191 bool result;
34192 PyObject * obj0 = 0 ;
34193 char *kwnames[] = {
34194 (char *) "self", NULL
34195 };
34196
34197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34199 if (SWIG_arg_fail(1)) SWIG_fail;
34200 {
34201 PyThreadState* __tstate = wxPyBeginAllowThreads();
34202 result = (bool)(arg1)->Hide();
34203
34204 wxPyEndAllowThreads(__tstate);
34205 if (PyErr_Occurred()) SWIG_fail;
34206 }
34207 {
34208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34209 }
34210 return resultobj;
34211 fail:
34212 return NULL;
34213 }
34214
34215
34216 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34217 PyObject *resultobj;
34218 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34219 wxPoint *arg2 = 0 ;
34220 wxRect result;
34221 wxPoint temp2 ;
34222 PyObject * obj0 = 0 ;
34223 PyObject * obj1 = 0 ;
34224 char *kwnames[] = {
34225 (char *) "self",(char *) "pos", NULL
34226 };
34227
34228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34230 if (SWIG_arg_fail(1)) SWIG_fail;
34231 {
34232 arg2 = &temp2;
34233 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34234 }
34235 {
34236 PyThreadState* __tstate = wxPyBeginAllowThreads();
34237 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34238
34239 wxPyEndAllowThreads(__tstate);
34240 if (PyErr_Occurred()) SWIG_fail;
34241 }
34242 {
34243 wxRect * resultptr;
34244 resultptr = new wxRect((wxRect &)(result));
34245 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34246 }
34247 return resultobj;
34248 fail:
34249 return NULL;
34250 }
34251
34252
34253 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34254 PyObject *resultobj;
34255 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34256 wxDC *arg2 = 0 ;
34257 wxPoint *arg3 = 0 ;
34258 bool result;
34259 wxPoint temp3 ;
34260 PyObject * obj0 = 0 ;
34261 PyObject * obj1 = 0 ;
34262 PyObject * obj2 = 0 ;
34263 char *kwnames[] = {
34264 (char *) "self",(char *) "dc",(char *) "pos", NULL
34265 };
34266
34267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34269 if (SWIG_arg_fail(1)) SWIG_fail;
34270 {
34271 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34272 if (SWIG_arg_fail(2)) SWIG_fail;
34273 if (arg2 == NULL) {
34274 SWIG_null_ref("wxDC");
34275 }
34276 if (SWIG_arg_fail(2)) SWIG_fail;
34277 }
34278 {
34279 arg3 = &temp3;
34280 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34281 }
34282 {
34283 PyThreadState* __tstate = wxPyBeginAllowThreads();
34284 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34285
34286 wxPyEndAllowThreads(__tstate);
34287 if (PyErr_Occurred()) SWIG_fail;
34288 }
34289 {
34290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34291 }
34292 return resultobj;
34293 fail:
34294 return NULL;
34295 }
34296
34297
34298 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34299 PyObject *resultobj;
34300 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34301 wxDC *arg2 = 0 ;
34302 wxMemoryDC *arg3 = 0 ;
34303 wxRect *arg4 = 0 ;
34304 wxRect *arg5 = 0 ;
34305 bool result;
34306 wxRect temp4 ;
34307 wxRect temp5 ;
34308 PyObject * obj0 = 0 ;
34309 PyObject * obj1 = 0 ;
34310 PyObject * obj2 = 0 ;
34311 PyObject * obj3 = 0 ;
34312 PyObject * obj4 = 0 ;
34313 char *kwnames[] = {
34314 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34315 };
34316
34317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34319 if (SWIG_arg_fail(1)) SWIG_fail;
34320 {
34321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34322 if (SWIG_arg_fail(2)) SWIG_fail;
34323 if (arg2 == NULL) {
34324 SWIG_null_ref("wxDC");
34325 }
34326 if (SWIG_arg_fail(2)) SWIG_fail;
34327 }
34328 {
34329 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34330 if (SWIG_arg_fail(3)) SWIG_fail;
34331 if (arg3 == NULL) {
34332 SWIG_null_ref("wxMemoryDC");
34333 }
34334 if (SWIG_arg_fail(3)) SWIG_fail;
34335 }
34336 {
34337 arg4 = &temp4;
34338 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34339 }
34340 {
34341 arg5 = &temp5;
34342 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34343 }
34344 {
34345 PyThreadState* __tstate = wxPyBeginAllowThreads();
34346 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34347
34348 wxPyEndAllowThreads(__tstate);
34349 if (PyErr_Occurred()) SWIG_fail;
34350 }
34351 {
34352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34353 }
34354 return resultobj;
34355 fail:
34356 return NULL;
34357 }
34358
34359
34360 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34361 PyObject *resultobj;
34362 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34363 wxPoint *arg2 = 0 ;
34364 wxPoint *arg3 = 0 ;
34365 bool arg4 ;
34366 bool arg5 ;
34367 bool result;
34368 wxPoint temp2 ;
34369 wxPoint temp3 ;
34370 PyObject * obj0 = 0 ;
34371 PyObject * obj1 = 0 ;
34372 PyObject * obj2 = 0 ;
34373 PyObject * obj3 = 0 ;
34374 PyObject * obj4 = 0 ;
34375 char *kwnames[] = {
34376 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34377 };
34378
34379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34381 if (SWIG_arg_fail(1)) SWIG_fail;
34382 {
34383 arg2 = &temp2;
34384 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34385 }
34386 {
34387 arg3 = &temp3;
34388 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34389 }
34390 {
34391 arg4 = (bool)(SWIG_As_bool(obj3));
34392 if (SWIG_arg_fail(4)) SWIG_fail;
34393 }
34394 {
34395 arg5 = (bool)(SWIG_As_bool(obj4));
34396 if (SWIG_arg_fail(5)) SWIG_fail;
34397 }
34398 {
34399 PyThreadState* __tstate = wxPyBeginAllowThreads();
34400 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34401
34402 wxPyEndAllowThreads(__tstate);
34403 if (PyErr_Occurred()) SWIG_fail;
34404 }
34405 {
34406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34407 }
34408 return resultobj;
34409 fail:
34410 return NULL;
34411 }
34412
34413
34414 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34415 PyObject *obj;
34416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34417 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34418 Py_INCREF(obj);
34419 return Py_BuildValue((char *)"");
34420 }
34421 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34422 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34423 return 1;
34424 }
34425
34426
34427 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34428 PyObject *pyobj;
34429
34430 {
34431 #if wxUSE_UNICODE
34432 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34433 #else
34434 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34435 #endif
34436 }
34437 return pyobj;
34438 }
34439
34440
34441 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34442 PyObject *resultobj;
34443 wxWindow *arg1 = (wxWindow *) 0 ;
34444 int arg2 = (int) -1 ;
34445 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34446 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34447 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34448 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34449 wxSize const &arg5_defvalue = wxDefaultSize ;
34450 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34451 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34452 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34453 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34454 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34455 wxString *arg8 = (wxString *) &arg8_defvalue ;
34456 wxDatePickerCtrl *result;
34457 wxPoint temp4 ;
34458 wxSize temp5 ;
34459 bool temp8 = false ;
34460 PyObject * obj0 = 0 ;
34461 PyObject * obj1 = 0 ;
34462 PyObject * obj2 = 0 ;
34463 PyObject * obj3 = 0 ;
34464 PyObject * obj4 = 0 ;
34465 PyObject * obj5 = 0 ;
34466 PyObject * obj6 = 0 ;
34467 PyObject * obj7 = 0 ;
34468 char *kwnames[] = {
34469 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34470 };
34471
34472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34474 if (SWIG_arg_fail(1)) SWIG_fail;
34475 if (obj1) {
34476 {
34477 arg2 = (int)(SWIG_As_int(obj1));
34478 if (SWIG_arg_fail(2)) SWIG_fail;
34479 }
34480 }
34481 if (obj2) {
34482 {
34483 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34484 if (SWIG_arg_fail(3)) SWIG_fail;
34485 if (arg3 == NULL) {
34486 SWIG_null_ref("wxDateTime");
34487 }
34488 if (SWIG_arg_fail(3)) SWIG_fail;
34489 }
34490 }
34491 if (obj3) {
34492 {
34493 arg4 = &temp4;
34494 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34495 }
34496 }
34497 if (obj4) {
34498 {
34499 arg5 = &temp5;
34500 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34501 }
34502 }
34503 if (obj5) {
34504 {
34505 arg6 = (long)(SWIG_As_long(obj5));
34506 if (SWIG_arg_fail(6)) SWIG_fail;
34507 }
34508 }
34509 if (obj6) {
34510 {
34511 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34512 if (SWIG_arg_fail(7)) SWIG_fail;
34513 if (arg7 == NULL) {
34514 SWIG_null_ref("wxValidator");
34515 }
34516 if (SWIG_arg_fail(7)) SWIG_fail;
34517 }
34518 }
34519 if (obj7) {
34520 {
34521 arg8 = wxString_in_helper(obj7);
34522 if (arg8 == NULL) SWIG_fail;
34523 temp8 = true;
34524 }
34525 }
34526 {
34527 if (!wxPyCheckForApp()) SWIG_fail;
34528 PyThreadState* __tstate = wxPyBeginAllowThreads();
34529 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34530
34531 wxPyEndAllowThreads(__tstate);
34532 if (PyErr_Occurred()) SWIG_fail;
34533 }
34534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34535 {
34536 if (temp8)
34537 delete arg8;
34538 }
34539 return resultobj;
34540 fail:
34541 {
34542 if (temp8)
34543 delete arg8;
34544 }
34545 return NULL;
34546 }
34547
34548
34549 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34550 PyObject *resultobj;
34551 wxDatePickerCtrl *result;
34552 char *kwnames[] = {
34553 NULL
34554 };
34555
34556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34557 {
34558 if (!wxPyCheckForApp()) SWIG_fail;
34559 PyThreadState* __tstate = wxPyBeginAllowThreads();
34560 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34561
34562 wxPyEndAllowThreads(__tstate);
34563 if (PyErr_Occurred()) SWIG_fail;
34564 }
34565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34566 return resultobj;
34567 fail:
34568 return NULL;
34569 }
34570
34571
34572 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34573 PyObject *resultobj;
34574 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34575 wxWindow *arg2 = (wxWindow *) 0 ;
34576 int arg3 = (int) -1 ;
34577 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34578 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34579 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34580 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34581 wxSize const &arg6_defvalue = wxDefaultSize ;
34582 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34583 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34584 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34585 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34586 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34587 wxString *arg9 = (wxString *) &arg9_defvalue ;
34588 bool result;
34589 wxPoint temp5 ;
34590 wxSize temp6 ;
34591 bool temp9 = false ;
34592 PyObject * obj0 = 0 ;
34593 PyObject * obj1 = 0 ;
34594 PyObject * obj2 = 0 ;
34595 PyObject * obj3 = 0 ;
34596 PyObject * obj4 = 0 ;
34597 PyObject * obj5 = 0 ;
34598 PyObject * obj6 = 0 ;
34599 PyObject * obj7 = 0 ;
34600 PyObject * obj8 = 0 ;
34601 char *kwnames[] = {
34602 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34603 };
34604
34605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34607 if (SWIG_arg_fail(1)) SWIG_fail;
34608 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34609 if (SWIG_arg_fail(2)) SWIG_fail;
34610 if (obj2) {
34611 {
34612 arg3 = (int)(SWIG_As_int(obj2));
34613 if (SWIG_arg_fail(3)) SWIG_fail;
34614 }
34615 }
34616 if (obj3) {
34617 {
34618 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34619 if (SWIG_arg_fail(4)) SWIG_fail;
34620 if (arg4 == NULL) {
34621 SWIG_null_ref("wxDateTime");
34622 }
34623 if (SWIG_arg_fail(4)) SWIG_fail;
34624 }
34625 }
34626 if (obj4) {
34627 {
34628 arg5 = &temp5;
34629 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34630 }
34631 }
34632 if (obj5) {
34633 {
34634 arg6 = &temp6;
34635 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34636 }
34637 }
34638 if (obj6) {
34639 {
34640 arg7 = (long)(SWIG_As_long(obj6));
34641 if (SWIG_arg_fail(7)) SWIG_fail;
34642 }
34643 }
34644 if (obj7) {
34645 {
34646 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34647 if (SWIG_arg_fail(8)) SWIG_fail;
34648 if (arg8 == NULL) {
34649 SWIG_null_ref("wxValidator");
34650 }
34651 if (SWIG_arg_fail(8)) SWIG_fail;
34652 }
34653 }
34654 if (obj8) {
34655 {
34656 arg9 = wxString_in_helper(obj8);
34657 if (arg9 == NULL) SWIG_fail;
34658 temp9 = true;
34659 }
34660 }
34661 {
34662 PyThreadState* __tstate = wxPyBeginAllowThreads();
34663 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34664
34665 wxPyEndAllowThreads(__tstate);
34666 if (PyErr_Occurred()) SWIG_fail;
34667 }
34668 {
34669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34670 }
34671 {
34672 if (temp9)
34673 delete arg9;
34674 }
34675 return resultobj;
34676 fail:
34677 {
34678 if (temp9)
34679 delete arg9;
34680 }
34681 return NULL;
34682 }
34683
34684
34685 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34686 PyObject *resultobj;
34687 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34688 wxDateTime *arg2 = 0 ;
34689 PyObject * obj0 = 0 ;
34690 PyObject * obj1 = 0 ;
34691 char *kwnames[] = {
34692 (char *) "self",(char *) "dt", NULL
34693 };
34694
34695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34697 if (SWIG_arg_fail(1)) SWIG_fail;
34698 {
34699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34700 if (SWIG_arg_fail(2)) SWIG_fail;
34701 if (arg2 == NULL) {
34702 SWIG_null_ref("wxDateTime");
34703 }
34704 if (SWIG_arg_fail(2)) SWIG_fail;
34705 }
34706 {
34707 PyThreadState* __tstate = wxPyBeginAllowThreads();
34708 (arg1)->SetValue((wxDateTime const &)*arg2);
34709
34710 wxPyEndAllowThreads(__tstate);
34711 if (PyErr_Occurred()) SWIG_fail;
34712 }
34713 Py_INCREF(Py_None); resultobj = Py_None;
34714 return resultobj;
34715 fail:
34716 return NULL;
34717 }
34718
34719
34720 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34721 PyObject *resultobj;
34722 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34723 wxDateTime result;
34724 PyObject * obj0 = 0 ;
34725 char *kwnames[] = {
34726 (char *) "self", NULL
34727 };
34728
34729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34731 if (SWIG_arg_fail(1)) SWIG_fail;
34732 {
34733 PyThreadState* __tstate = wxPyBeginAllowThreads();
34734 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34735
34736 wxPyEndAllowThreads(__tstate);
34737 if (PyErr_Occurred()) SWIG_fail;
34738 }
34739 {
34740 wxDateTime * resultptr;
34741 resultptr = new wxDateTime((wxDateTime &)(result));
34742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34743 }
34744 return resultobj;
34745 fail:
34746 return NULL;
34747 }
34748
34749
34750 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34751 PyObject *resultobj;
34752 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34753 wxDateTime *arg2 = 0 ;
34754 wxDateTime *arg3 = 0 ;
34755 PyObject * obj0 = 0 ;
34756 PyObject * obj1 = 0 ;
34757 PyObject * obj2 = 0 ;
34758 char *kwnames[] = {
34759 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34760 };
34761
34762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34764 if (SWIG_arg_fail(1)) SWIG_fail;
34765 {
34766 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34767 if (SWIG_arg_fail(2)) SWIG_fail;
34768 if (arg2 == NULL) {
34769 SWIG_null_ref("wxDateTime");
34770 }
34771 if (SWIG_arg_fail(2)) SWIG_fail;
34772 }
34773 {
34774 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34775 if (SWIG_arg_fail(3)) SWIG_fail;
34776 if (arg3 == NULL) {
34777 SWIG_null_ref("wxDateTime");
34778 }
34779 if (SWIG_arg_fail(3)) SWIG_fail;
34780 }
34781 {
34782 PyThreadState* __tstate = wxPyBeginAllowThreads();
34783 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34784
34785 wxPyEndAllowThreads(__tstate);
34786 if (PyErr_Occurred()) SWIG_fail;
34787 }
34788 Py_INCREF(Py_None); resultobj = Py_None;
34789 return resultobj;
34790 fail:
34791 return NULL;
34792 }
34793
34794
34795 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34796 PyObject *resultobj;
34797 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34798 wxDateTime result;
34799 PyObject * obj0 = 0 ;
34800 char *kwnames[] = {
34801 (char *) "self", NULL
34802 };
34803
34804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34806 if (SWIG_arg_fail(1)) SWIG_fail;
34807 {
34808 PyThreadState* __tstate = wxPyBeginAllowThreads();
34809 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34810
34811 wxPyEndAllowThreads(__tstate);
34812 if (PyErr_Occurred()) SWIG_fail;
34813 }
34814 {
34815 wxDateTime * resultptr;
34816 resultptr = new wxDateTime((wxDateTime &)(result));
34817 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34818 }
34819 return resultobj;
34820 fail:
34821 return NULL;
34822 }
34823
34824
34825 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34826 PyObject *resultobj;
34827 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34828 wxDateTime result;
34829 PyObject * obj0 = 0 ;
34830 char *kwnames[] = {
34831 (char *) "self", NULL
34832 };
34833
34834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
34835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34836 if (SWIG_arg_fail(1)) SWIG_fail;
34837 {
34838 PyThreadState* __tstate = wxPyBeginAllowThreads();
34839 result = wxDatePickerCtrl_GetUpperLimit(arg1);
34840
34841 wxPyEndAllowThreads(__tstate);
34842 if (PyErr_Occurred()) SWIG_fail;
34843 }
34844 {
34845 wxDateTime * resultptr;
34846 resultptr = new wxDateTime((wxDateTime &)(result));
34847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34848 }
34849 return resultobj;
34850 fail:
34851 return NULL;
34852 }
34853
34854
34855 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
34856 PyObject *obj;
34857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34858 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
34859 Py_INCREF(obj);
34860 return Py_BuildValue((char *)"");
34861 }
34862 static PyMethodDef SwigMethods[] = {
34863 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34864 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34865 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34866 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34867 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34868 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34869 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34870 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34871 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34872 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34873 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34874 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34875 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34876 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34877 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34878 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34879 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34880 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34881 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34882 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34883 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34884 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34885 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34886 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34887 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34889 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34890 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34893 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34894 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34895 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34897 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34902 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34909 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34926 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34933 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34934 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34947 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34952 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34959 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34964 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34972 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
34995 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35004 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35035 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35091 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35096 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35108 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35121 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35133 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35137 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35155 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35162 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35188 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35196 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35218 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35224 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35235 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35237 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35243 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35245 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35251 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35253 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35258 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35263 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35293 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35338 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35344 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35356 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35408 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35435 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35506 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35518 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35526 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35533 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35549 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35625 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35647 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35652 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35678 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35686 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35691 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35693 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35697 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35701 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35702 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35703 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35704 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35709 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35711 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35714 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35716 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35718 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35719 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
35722 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35723 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35724 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35725 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35726 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35727 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35729 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
35731 { NULL, NULL, 0, NULL }
35732 };
35733
35734
35735 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35736
35737 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35738 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35739 }
35740 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35741 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35742 }
35743 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35744 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35745 }
35746 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35747 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35748 }
35749 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35750 return (void *)((wxSizer *) ((wxGridSizer *) x));
35751 }
35752 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35753 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35754 }
35755 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35756 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35757 }
35758 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35759 return (void *)((wxSizer *) ((wxPySizer *) x));
35760 }
35761 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35762 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35763 }
35764 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35765 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35766 }
35767 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35768 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35769 }
35770 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35771 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35772 }
35773 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35774 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35775 }
35776 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35777 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35778 }
35779 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35780 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35781 }
35782 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35783 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35784 }
35785 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35786 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35787 }
35788 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35789 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35790 }
35791 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35792 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35793 }
35794 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35795 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35796 }
35797 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35798 return (void *)((wxEvent *) ((wxPyEvent *) x));
35799 }
35800 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35801 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35802 }
35803 static void *_p_wxListEventTo_p_wxEvent(void *x) {
35804 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35805 }
35806 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
35807 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
35808 }
35809 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
35810 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
35811 }
35812 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
35813 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35814 }
35815 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35816 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35817 }
35818 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35819 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35820 }
35821 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35822 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35823 }
35824 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35825 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35826 }
35827 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35828 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35829 }
35830 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35831 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35832 }
35833 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35834 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35835 }
35836 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35837 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35838 }
35839 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35840 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35841 }
35842 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
35843 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
35844 }
35845 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35846 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35847 }
35848 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35849 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35850 }
35851 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35852 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35853 }
35854 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35855 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35856 }
35857 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35858 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35859 }
35860 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35861 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35862 }
35863 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35864 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35865 }
35866 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35867 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35868 }
35869 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35870 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35871 }
35872 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35873 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35874 }
35875 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35876 return (void *)((wxEvent *) ((wxShowEvent *) x));
35877 }
35878 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35879 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35880 }
35881 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35882 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35883 }
35884 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35885 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35886 }
35887 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35888 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35889 }
35890 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35891 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35892 }
35893 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35894 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35895 }
35896 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35897 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35898 }
35899 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35900 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35901 }
35902 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35903 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35904 }
35905 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35906 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35907 }
35908 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35909 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35910 }
35911 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35912 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35913 }
35914 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35915 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35916 }
35917 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35918 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35919 }
35920 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35921 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
35922 }
35923 static void *_p_wxToolBarTo_p_wxControl(void *x) {
35924 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35925 }
35926 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35927 return (void *)((wxControl *) ((wxToggleButton *) x));
35928 }
35929 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35930 return (void *)((wxControl *) ((wxRadioButton *) x));
35931 }
35932 static void *_p_wxPyControlTo_p_wxControl(void *x) {
35933 return (void *)((wxControl *) ((wxPyControl *) x));
35934 }
35935 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35936 return (void *)((wxControl *) ((wxToolBarBase *) x));
35937 }
35938 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35939 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35940 }
35941 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35942 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35943 }
35944 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35945 return (void *)((wxControl *) ((wxComboBox *) x));
35946 }
35947 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35948 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
35949 }
35950 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35951 return (void *)((wxControl *) ((wxScrollBar *) x));
35952 }
35953 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35954 return (void *)((wxControl *) ((wxControlWithItems *) x));
35955 }
35956 static void *_p_wxGaugeTo_p_wxControl(void *x) {
35957 return (void *)((wxControl *) ((wxGauge *) x));
35958 }
35959 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35960 return (void *)((wxControl *) ((wxStaticLine *) x));
35961 }
35962 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
35963 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
35964 }
35965 static void *_p_wxListbookTo_p_wxControl(void *x) {
35966 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
35967 }
35968 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35969 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
35970 }
35971 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35972 return (void *)((wxControl *) ((wxCheckBox *) x));
35973 }
35974 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
35975 return (void *)((wxControl *) ((wxRadioBox *) x));
35976 }
35977 static void *_p_wxChoiceTo_p_wxControl(void *x) {
35978 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
35979 }
35980 static void *_p_wxListBoxTo_p_wxControl(void *x) {
35981 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
35982 }
35983 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
35984 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35985 }
35986 static void *_p_wxListViewTo_p_wxControl(void *x) {
35987 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
35988 }
35989 static void *_p_wxNotebookTo_p_wxControl(void *x) {
35990 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
35991 }
35992 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
35993 return (void *)((wxControl *) ((wxStaticBitmap *) x));
35994 }
35995 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
35996 return (void *)((wxControl *) ((wxSpinCtrl *) x));
35997 }
35998 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
35999 return (void *)((wxControl *) ((wxStaticText *) x));
36000 }
36001 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
36002 return (void *)((wxControl *) ((wxStaticBox *) x));
36003 }
36004 static void *_p_wxSliderTo_p_wxControl(void *x) {
36005 return (void *)((wxControl *) ((wxSlider *) x));
36006 }
36007 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36008 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36009 }
36010 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36011 return (void *)((wxControl *) ((wxSpinButton *) x));
36012 }
36013 static void *_p_wxButtonTo_p_wxControl(void *x) {
36014 return (void *)((wxControl *) ((wxButton *) x));
36015 }
36016 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36017 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36018 }
36019 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36020 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36021 }
36022 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36023 return (void *)((wxControl *) ((wxTextCtrl *) x));
36024 }
36025 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36026 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36027 }
36028 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36029 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36030 }
36031 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36032 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36033 }
36034 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36035 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36036 }
36037 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36038 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36039 }
36040 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36041 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36042 }
36043 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
36044 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36045 }
36046 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
36047 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36048 }
36049 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
36050 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36051 }
36052 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36053 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36054 }
36055 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36056 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
36057 }
36058 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36059 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
36060 }
36061 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36062 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36063 }
36064 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36065 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36066 }
36067 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36068 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36069 }
36070 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36071 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36072 }
36073 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36074 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36075 }
36076 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36077 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36078 }
36079 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36080 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36081 }
36082 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36083 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36084 }
36085 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36086 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36087 }
36088 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36089 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36090 }
36091 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36092 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36093 }
36094 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36095 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
36096 }
36097 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36098 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36099 }
36100 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36101 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36102 }
36103 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36104 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36105 }
36106 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36107 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36108 }
36109 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36110 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36111 }
36112 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36113 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36114 }
36115 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36116 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36117 }
36118 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36119 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36120 }
36121 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36122 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36123 }
36124 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
36125 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36126 }
36127 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
36128 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36129 }
36130 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36131 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36132 }
36133 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36134 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36135 }
36136 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36137 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36138 }
36139 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36140 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36141 }
36142 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36143 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36144 }
36145 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36146 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36147 }
36148 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
36149 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36150 }
36151 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36152 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36153 }
36154 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36155 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36156 }
36157 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36158 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36159 }
36160 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36161 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36162 }
36163 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36164 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36165 }
36166 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36167 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36168 }
36169 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36170 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36171 }
36172 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36173 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36174 }
36175 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36176 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36177 }
36178 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36179 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36180 }
36181 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36182 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36183 }
36184 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36185 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36186 }
36187 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36188 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36189 }
36190 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36191 return (void *)((wxButton *) ((wxBitmapButton *) x));
36192 }
36193 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36194 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36195 }
36196 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36197 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36198 }
36199 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36200 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36201 }
36202 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36203 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36204 }
36205 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36206 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36207 }
36208 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36209 return (void *)((wxObject *) ((wxSizerItem *) x));
36210 }
36211 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36212 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36213 }
36214 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36215 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36216 }
36217 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36218 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36219 }
36220 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36221 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36222 }
36223 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36224 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36225 }
36226 static void *_p_wxSizerTo_p_wxObject(void *x) {
36227 return (void *)((wxObject *) ((wxSizer *) x));
36228 }
36229 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36230 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36231 }
36232 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36234 }
36235 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36237 }
36238 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36239 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36240 }
36241 static void *_p_wxEventTo_p_wxObject(void *x) {
36242 return (void *)((wxObject *) ((wxEvent *) x));
36243 }
36244 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36245 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36246 }
36247 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36248 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36249 }
36250 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36251 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36252 }
36253 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36255 }
36256 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36258 }
36259 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36261 }
36262 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36263 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36264 }
36265 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36266 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36267 }
36268 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36269 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36270 }
36271 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36272 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36273 }
36274 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36275 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36276 }
36277 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36278 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36279 }
36280 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36282 }
36283 static void *_p_wxControlTo_p_wxObject(void *x) {
36284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36285 }
36286 static void *_p_wxPyControlTo_p_wxObject(void *x) {
36287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36288 }
36289 static void *_p_wxGaugeTo_p_wxObject(void *x) {
36290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36291 }
36292 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36294 }
36295 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36297 }
36298 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36300 }
36301 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36302 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36303 }
36304 static void *_p_wxChoiceTo_p_wxObject(void *x) {
36305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36306 }
36307 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36308 return (void *)((wxObject *) ((wxFSFile *) x));
36309 }
36310 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36311 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36312 }
36313 static void *_p_wxListViewTo_p_wxObject(void *x) {
36314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36315 }
36316 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36318 }
36319 static void *_p_wxNotebookTo_p_wxObject(void *x) {
36320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36321 }
36322 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36323 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36324 }
36325 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36326 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36327 }
36328 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
36329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36330 }
36331 static void *_p_wxListbookTo_p_wxObject(void *x) {
36332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36333 }
36334 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36335 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36336 }
36337 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36339 }
36340 static void *_p_wxSliderTo_p_wxObject(void *x) {
36341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36342 }
36343 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36344 return (void *)((wxObject *) ((wxMenuItem *) x));
36345 }
36346 static void *_p_wxDateEventTo_p_wxObject(void *x) {
36347 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36348 }
36349 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36350 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36351 }
36352 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36353 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36354 }
36355 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36356 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36357 }
36358 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36359 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36360 }
36361 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36362 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36363 }
36364 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36365 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36366 }
36367 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36368 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36369 }
36370 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36371 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36372 }
36373 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36375 }
36376 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36377 return (void *)((wxObject *) ((wxContextHelp *) x));
36378 }
36379 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36381 }
36382 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36383 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36384 }
36385 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36386 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36387 }
36388 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36389 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36390 }
36391 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36392 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36393 }
36394 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36395 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36396 }
36397 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36398 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36399 }
36400 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36401 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36402 }
36403 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36404 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36405 }
36406 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36407 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36408 }
36409 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36410 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36411 }
36412 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36413 return (void *)((wxObject *) ((wxImageHandler *) x));
36414 }
36415 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36416 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36417 }
36418 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36419 return (void *)((wxObject *) ((wxEvtHandler *) x));
36420 }
36421 static void *_p_wxListEventTo_p_wxObject(void *x) {
36422 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36423 }
36424 static void *_p_wxListBoxTo_p_wxObject(void *x) {
36425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36426 }
36427 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36428 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36429 }
36430 static void *_p_wxButtonTo_p_wxObject(void *x) {
36431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36432 }
36433 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36434 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36435 }
36436 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36438 }
36439 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36441 }
36442 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36443 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36444 }
36445 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36446 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36447 }
36448 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36449 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36450 }
36451 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36453 }
36454 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
36456 }
36457 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36458 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36459 }
36460 static void *_p_wxListItemTo_p_wxObject(void *x) {
36461 return (void *)((wxObject *) ((wxListItem *) x));
36462 }
36463 static void *_p_wxImageTo_p_wxObject(void *x) {
36464 return (void *)((wxObject *) ((wxImage *) x));
36465 }
36466 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36467 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36468 }
36469 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36470 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36471 }
36472 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36473 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36474 }
36475 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36476 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36477 }
36478 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36480 }
36481 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
36482 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36483 }
36484 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
36485 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36486 }
36487 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
36488 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36489 }
36490 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36491 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36492 }
36493 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36494 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36495 }
36496 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36497 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36498 }
36499 static void *_p_wxWindowTo_p_wxObject(void *x) {
36500 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36501 }
36502 static void *_p_wxMenuTo_p_wxObject(void *x) {
36503 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36504 }
36505 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36507 }
36508 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36509 return (void *)((wxObject *) ((wxFileSystem *) x));
36510 }
36511 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36512 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36513 }
36514 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36515 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36516 }
36517 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36518 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36519 }
36520 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36521 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36522 }
36523 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36524 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36525 }
36526 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36527 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36528 }
36529 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36530 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36531 }
36532 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36533 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36534 }
36535 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36536 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36537 }
36538 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36539 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36540 }
36541 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36543 }
36544 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36545 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36546 }
36547 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36548 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36549 }
36550 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36551 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36552 }
36553 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36555 }
36556 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36558 }
36559 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36560 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36561 }
36562 static void *_p_wxToolBarTo_p_wxObject(void *x) {
36563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36564 }
36565 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36566 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36567 }
36568 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36569 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36570 }
36571 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36572 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36573 }
36574 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36575 return (void *)((wxWindow *) ((wxMenuBar *) x));
36576 }
36577 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36578 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36579 }
36580 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36581 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36582 }
36583 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36584 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36585 }
36586 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36587 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36588 }
36589 static void *_p_wxControlTo_p_wxWindow(void *x) {
36590 return (void *)((wxWindow *) ((wxControl *) x));
36591 }
36592 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36593 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36594 }
36595 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36596 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36597 }
36598 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36599 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36600 }
36601 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36602 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36603 }
36604 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36605 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36606 }
36607 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36608 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36609 }
36610 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36611 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36612 }
36613 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36614 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36615 }
36616 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36617 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36618 }
36619 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36620 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36621 }
36622 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36623 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36624 }
36625 static void *_p_wxListbookTo_p_wxWindow(void *x) {
36626 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36627 }
36628 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36629 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36630 }
36631 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36632 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36633 }
36634 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36635 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36636 }
36637 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36638 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36639 }
36640 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36641 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36642 }
36643 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36644 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36645 }
36646 static void *_p_wxListViewTo_p_wxWindow(void *x) {
36647 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36648 }
36649 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36650 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36651 }
36652 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36653 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36654 }
36655 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36656 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36657 }
36658 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36659 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36660 }
36661 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36662 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36663 }
36664 static void *_p_wxSliderTo_p_wxWindow(void *x) {
36665 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36666 }
36667 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36668 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36669 }
36670 static void *_p_wxButtonTo_p_wxWindow(void *x) {
36671 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36672 }
36673 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36674 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36675 }
36676 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36677 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36678 }
36679 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36680 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36681 }
36682 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36683 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36684 }
36685 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36686 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36687 }
36688 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36689 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36690 }
36691 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36692 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36693 }
36694 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36695 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36696 }
36697 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36698 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36699 }
36700 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36701 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36702 }
36703 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36704 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36705 }
36706 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36707 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36708 }
36709 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36710 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36711 }
36712 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
36713 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36714 }
36715 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
36716 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36717 }
36718 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36719 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36720 }
36721 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36722 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36723 }
36724 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36725 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36726 }
36727 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36728 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36729 }
36730 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36731 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36732 }
36733 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36734 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36735 }
36736 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36737 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36738 }
36739 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36740 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36741 }
36742 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36743 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36744 }
36745 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36746 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36747 }
36748 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36749 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36750 }
36751 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36752 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36753 }
36754 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36755 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36756 }
36757 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36758 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36759 }
36760 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36761 return (void *)((wxValidator *) ((wxPyValidator *) x));
36762 }
36763 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}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36769 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}};
36770 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}};
36771 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}};
36772 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}};
36773 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}};
36774 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}};
36775 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}};
36776 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}};
36777 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}};
36778 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}};
36779 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}};
36780 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}};
36781 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}};
36782 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36783 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}};
36784 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}};
36785 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}};
36786 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}};
36787 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}};
36788 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}};
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 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}};
36816 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}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36823 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}};
36824 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}};
36825 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}};
36826 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}};
36827 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}};
36828 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}};
36829 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}};
36830 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}};
36831 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}};
36832 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}};
36833 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}};
36834 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}};
36835 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}};
36836 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}};
36837 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}};
36838 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}};
36839 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}};
36840 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}};
36841 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}};
36842 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}};
36843 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}};
36844 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}};
36845 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}};
36846 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}};
36847 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}};
36848 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}};
36849 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}};
36850 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}};
36851 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}};
36852 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}};
36853 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}};
36854 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}};
36855 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36856 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}};
36857 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}};
36858 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}};
36859 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}};
36860 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}};
36861
36862 static swig_type_info *swig_types_initial[] = {
36863 _swigt__p_wxTextUrlEvent,
36864 _swigt__p_wxSizer,
36865 _swigt__p_wxCheckBox,
36866 _swigt__p_wxPyTreeCtrl,
36867 _swigt__p_wxEvent,
36868 _swigt__p_wxGenericDirCtrl,
36869 _swigt__p_bool,
36870 _swigt__p_wxItemContainer,
36871 _swigt__p_wxPyListCtrl,
36872 _swigt__p_wxPyTreeItemData,
36873 _swigt__p_wxDirFilterListCtrl,
36874 _swigt__p_wxStaticLine,
36875 _swigt__p_wxControl,
36876 _swigt__p_wxPyControl,
36877 _swigt__p_wxGauge,
36878 _swigt__p_wxToolBarBase,
36879 _swigt__p_wxFont,
36880 _swigt__p_wxToggleButton,
36881 _swigt__p_wxRadioButton,
36882 _swigt__p_wxChoice,
36883 _swigt__p_wxMemoryDC,
36884 _swigt__ptrdiff_t,
36885 _swigt__std__ptrdiff_t,
36886 _swigt__p_wxListItemAttr,
36887 _swigt__p_void,
36888 _swigt__p_int,
36889 _swigt__p_wxSize,
36890 _swigt__p_wxDC,
36891 _swigt__p_wxListView,
36892 _swigt__p_wxIcon,
36893 _swigt__p_wxVisualAttributes,
36894 _swigt__p_wxTextCtrl,
36895 _swigt__p_wxNotebook,
36896 _swigt__p_wxChoicebook,
36897 _swigt__p_wxNotifyEvent,
36898 _swigt__p_wxArrayString,
36899 _swigt__p_form_ops_t,
36900 _swigt__p_wxListbook,
36901 _swigt__p_wxStaticBitmap,
36902 _swigt__p_wxSlider,
36903 _swigt__p_wxStaticBox,
36904 _swigt__p_wxArrayInt,
36905 _swigt__p_wxContextHelp,
36906 _swigt__p_long,
36907 _swigt__p_wxDuplexMode,
36908 _swigt__p_wxBookCtrlBase,
36909 _swigt__p_wxEvtHandler,
36910 _swigt__p_wxListEvent,
36911 _swigt__p_wxCheckListBox,
36912 _swigt__p_wxListBox,
36913 _swigt__p_wxSpinButton,
36914 _swigt__p_wxButton,
36915 _swigt__p_wxBitmapButton,
36916 _swigt__p_wxRect,
36917 _swigt__p_wxContextHelpButton,
36918 _swigt__p_wxRadioBox,
36919 _swigt__p_wxScrollBar,
36920 _swigt__p_char,
36921 _swigt__p_wxComboBox,
36922 _swigt__p_wxTreeItemId,
36923 _swigt__p_wxHelpEvent,
36924 _swigt__p_wxListItem,
36925 _swigt__p_wxNotebookSizer,
36926 _swigt__p_wxSpinEvent,
36927 _swigt__p_wxGenericDragImage,
36928 _swigt__p_wxSpinCtrl,
36929 _swigt__p_wxPaperSize,
36930 _swigt__p_wxImageList,
36931 _swigt__p_wxHelpProvider,
36932 _swigt__p_wxTextAttr,
36933 _swigt__p_wxSimpleHelpProvider,
36934 _swigt__p_wxChoicebookEvent,
36935 _swigt__p_wxListbookEvent,
36936 _swigt__p_wxNotebookEvent,
36937 _swigt__p_wxPoint,
36938 _swigt__p_wxObject,
36939 _swigt__p_wxCursor,
36940 _swigt__p_wxDateTime,
36941 _swigt__p_wxKeyEvent,
36942 _swigt__p_unsigned_long,
36943 _swigt__p_wxWindow,
36944 _swigt__p_wxString,
36945 _swigt__p_wxBitmap,
36946 _swigt__unsigned_int,
36947 _swigt__p_unsigned_int,
36948 _swigt__p_unsigned_char,
36949 _swigt__p_wxMouseEvent,
36950 _swigt__p_wxBookCtrlBaseEvent,
36951 _swigt__p_wxTreeEvent,
36952 _swigt__p_wxCommandEvent,
36953 _swigt__p_wxStaticText,
36954 _swigt__p_wxDatePickerCtrl,
36955 _swigt__p_wxControlWithItems,
36956 _swigt__p_wxToolBarToolBase,
36957 _swigt__p_wxColour,
36958 _swigt__p_wxToolBar,
36959 _swigt__p_wxBookCtrlSizer,
36960 _swigt__p_wxValidator,
36961 0
36962 };
36963
36964
36965 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36966
36967 static swig_const_info swig_const_table[] = {
36968 {0, 0, 0, 0.0, 0, 0}};
36969
36970 #ifdef __cplusplus
36971 }
36972 #endif
36973
36974
36975 #ifdef __cplusplus
36976 extern "C" {
36977 #endif
36978
36979 /* Python-specific SWIG API */
36980 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36981 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36982 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36983
36984 /* -----------------------------------------------------------------------------
36985 * global variable support code.
36986 * ----------------------------------------------------------------------------- */
36987
36988 typedef struct swig_globalvar {
36989 char *name; /* Name of global variable */
36990 PyObject *(*get_attr)(); /* Return the current value */
36991 int (*set_attr)(PyObject *); /* Set the value */
36992 struct swig_globalvar *next;
36993 } swig_globalvar;
36994
36995 typedef struct swig_varlinkobject {
36996 PyObject_HEAD
36997 swig_globalvar *vars;
36998 } swig_varlinkobject;
36999
37000 static PyObject *
37001 swig_varlink_repr(swig_varlinkobject *v) {
37002 v = v;
37003 return PyString_FromString("<Swig global variables>");
37004 }
37005
37006 static int
37007 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
37008 swig_globalvar *var;
37009 flags = flags;
37010 fprintf(fp,"Swig global variables { ");
37011 for (var = v->vars; var; var=var->next) {
37012 fprintf(fp,"%s", var->name);
37013 if (var->next) fprintf(fp,", ");
37014 }
37015 fprintf(fp," }\n");
37016 return 0;
37017 }
37018
37019 static PyObject *
37020 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37021 swig_globalvar *var = v->vars;
37022 while (var) {
37023 if (strcmp(var->name,n) == 0) {
37024 return (*var->get_attr)();
37025 }
37026 var = var->next;
37027 }
37028 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37029 return NULL;
37030 }
37031
37032 static int
37033 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37034 swig_globalvar *var = v->vars;
37035 while (var) {
37036 if (strcmp(var->name,n) == 0) {
37037 return (*var->set_attr)(p);
37038 }
37039 var = var->next;
37040 }
37041 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37042 return 1;
37043 }
37044
37045 static PyTypeObject varlinktype = {
37046 PyObject_HEAD_INIT(0)
37047 0, /* Number of items in variable part (ob_size) */
37048 (char *)"swigvarlink", /* Type name (tp_name) */
37049 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37050 0, /* Itemsize (tp_itemsize) */
37051 0, /* Deallocator (tp_dealloc) */
37052 (printfunc) swig_varlink_print, /* Print (tp_print) */
37053 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37054 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37055 0, /* tp_compare */
37056 (reprfunc) swig_varlink_repr, /* tp_repr */
37057 0, /* tp_as_number */
37058 0, /* tp_as_sequence */
37059 0, /* tp_as_mapping */
37060 0, /* tp_hash */
37061 0, /* tp_call */
37062 0, /* tp_str */
37063 0, /* tp_getattro */
37064 0, /* tp_setattro */
37065 0, /* tp_as_buffer */
37066 0, /* tp_flags */
37067 0, /* tp_doc */
37068 #if PY_VERSION_HEX >= 0x02000000
37069 0, /* tp_traverse */
37070 0, /* tp_clear */
37071 #endif
37072 #if PY_VERSION_HEX >= 0x02010000
37073 0, /* tp_richcompare */
37074 0, /* tp_weaklistoffset */
37075 #endif
37076 #if PY_VERSION_HEX >= 0x02020000
37077 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37078 #endif
37079 #if PY_VERSION_HEX >= 0x02030000
37080 0, /* tp_del */
37081 #endif
37082 #ifdef COUNT_ALLOCS
37083 0,0,0,0 /* tp_alloc -> tp_next */
37084 #endif
37085 };
37086
37087 /* Create a variable linking object for use later */
37088 static PyObject *
37089 SWIG_Python_newvarlink(void) {
37090 swig_varlinkobject *result = 0;
37091 result = PyMem_NEW(swig_varlinkobject,1);
37092 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37093 result->ob_type = &varlinktype;
37094 result->vars = 0;
37095 result->ob_refcnt = 0;
37096 Py_XINCREF((PyObject *) result);
37097 return ((PyObject*) result);
37098 }
37099
37100 static void
37101 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37102 swig_varlinkobject *v;
37103 swig_globalvar *gv;
37104 v= (swig_varlinkobject *) p;
37105 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37106 gv->name = (char *) malloc(strlen(name)+1);
37107 strcpy(gv->name,name);
37108 gv->get_attr = get_attr;
37109 gv->set_attr = set_attr;
37110 gv->next = v->vars;
37111 v->vars = gv;
37112 }
37113
37114 /* -----------------------------------------------------------------------------
37115 * constants/methods manipulation
37116 * ----------------------------------------------------------------------------- */
37117
37118 /* Install Constants */
37119 static void
37120 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37121 PyObject *obj = 0;
37122 size_t i;
37123 for (i = 0; constants[i].type; i++) {
37124 switch(constants[i].type) {
37125 case SWIG_PY_INT:
37126 obj = PyInt_FromLong(constants[i].lvalue);
37127 break;
37128 case SWIG_PY_FLOAT:
37129 obj = PyFloat_FromDouble(constants[i].dvalue);
37130 break;
37131 case SWIG_PY_STRING:
37132 if (constants[i].pvalue) {
37133 obj = PyString_FromString((char *) constants[i].pvalue);
37134 } else {
37135 Py_INCREF(Py_None);
37136 obj = Py_None;
37137 }
37138 break;
37139 case SWIG_PY_POINTER:
37140 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37141 break;
37142 case SWIG_PY_BINARY:
37143 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37144 break;
37145 default:
37146 obj = 0;
37147 break;
37148 }
37149 if (obj) {
37150 PyDict_SetItemString(d,constants[i].name,obj);
37151 Py_DECREF(obj);
37152 }
37153 }
37154 }
37155
37156 /* -----------------------------------------------------------------------------*/
37157 /* Fix SwigMethods to carry the callback ptrs when needed */
37158 /* -----------------------------------------------------------------------------*/
37159
37160 static void
37161 SWIG_Python_FixMethods(PyMethodDef *methods,
37162 swig_const_info *const_table,
37163 swig_type_info **types,
37164 swig_type_info **types_initial) {
37165 size_t i;
37166 for (i = 0; methods[i].ml_name; ++i) {
37167 char *c = methods[i].ml_doc;
37168 if (c && (c = strstr(c, "swig_ptr: "))) {
37169 int j;
37170 swig_const_info *ci = 0;
37171 char *name = c + 10;
37172 for (j = 0; const_table[j].type; j++) {
37173 if (strncmp(const_table[j].name, name,
37174 strlen(const_table[j].name)) == 0) {
37175 ci = &(const_table[j]);
37176 break;
37177 }
37178 }
37179 if (ci) {
37180 size_t shift = (ci->ptype) - types;
37181 swig_type_info *ty = types_initial[shift];
37182 size_t ldoc = (c - methods[i].ml_doc);
37183 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37184 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37185 char *buff = ndoc;
37186 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37187 strncpy(buff, methods[i].ml_doc, ldoc);
37188 buff += ldoc;
37189 strncpy(buff, "swig_ptr: ", 10);
37190 buff += 10;
37191 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37192 methods[i].ml_doc = ndoc;
37193 }
37194 }
37195 }
37196 }
37197
37198 /* -----------------------------------------------------------------------------*
37199 * Initialize type list
37200 * -----------------------------------------------------------------------------*/
37201
37202 #if PY_MAJOR_VERSION < 2
37203 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37204 is copied out of Python/modsupport.c in python version 2.3.4 */
37205 static int
37206 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37207 {
37208 PyObject *dict;
37209 if (!PyModule_Check(m)) {
37210 PyErr_SetString(PyExc_TypeError,
37211 "PyModule_AddObject() needs module as first arg");
37212 return -1;
37213 }
37214 if (!o) {
37215 PyErr_SetString(PyExc_TypeError,
37216 "PyModule_AddObject() needs non-NULL value");
37217 return -1;
37218 }
37219
37220 dict = PyModule_GetDict(m);
37221 if (dict == NULL) {
37222 /* Internal error -- modules must have a dict! */
37223 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37224 PyModule_GetName(m));
37225 return -1;
37226 }
37227 if (PyDict_SetItemString(dict, name, o))
37228 return -1;
37229 Py_DECREF(o);
37230 return 0;
37231 }
37232 #endif
37233
37234 static swig_type_info **
37235 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37236 static PyMethodDef swig_empty_runtime_method_table[] = {
37237 {
37238 NULL, NULL, 0, NULL
37239 }
37240 };/* Sentinel */
37241
37242 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37243 swig_empty_runtime_method_table);
37244 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37245 if (pointer && module) {
37246 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37247 }
37248 return type_list_handle;
37249 }
37250
37251 static swig_type_info **
37252 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37253 swig_type_info **type_pointer;
37254
37255 /* first check if module already created */
37256 type_pointer = SWIG_Python_GetTypeListHandle();
37257 if (type_pointer) {
37258 return type_pointer;
37259 } else {
37260 /* create a new module and variable */
37261 return SWIG_Python_SetTypeListHandle(type_list_handle);
37262 }
37263 }
37264
37265 #ifdef __cplusplus
37266 }
37267 #endif
37268
37269 /* -----------------------------------------------------------------------------*
37270 * Partial Init method
37271 * -----------------------------------------------------------------------------*/
37272
37273 #ifdef SWIG_LINK_RUNTIME
37274 #ifdef __cplusplus
37275 extern "C"
37276 #endif
37277 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37278 #endif
37279
37280 #ifdef __cplusplus
37281 extern "C"
37282 #endif
37283 SWIGEXPORT(void) SWIG_init(void) {
37284 static PyObject *SWIG_globals = 0;
37285 static int typeinit = 0;
37286 PyObject *m, *d;
37287 int i;
37288 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37289
37290 /* Fix SwigMethods to carry the callback ptrs when needed */
37291 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37292
37293 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37294 d = PyModule_GetDict(m);
37295
37296 if (!typeinit) {
37297 #ifdef SWIG_LINK_RUNTIME
37298 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37299 #else
37300 # ifndef SWIG_STATIC_RUNTIME
37301 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37302 # endif
37303 #endif
37304 for (i = 0; swig_types_initial[i]; i++) {
37305 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37306 }
37307 typeinit = 1;
37308 }
37309 SWIG_InstallConstants(d,swig_const_table);
37310
37311 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37312 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
37313 {
37314 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37315 }
37316 {
37317 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37318 }
37319 {
37320 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37321 }
37322 {
37323 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37324 }
37325 {
37326 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37327 }
37328 {
37329 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37330 }
37331 {
37332 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37333 }
37334 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
37335 {
37336 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37337 }
37338 {
37339 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37340 }
37341 {
37342 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37343 }
37344 {
37345 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37346 }
37347 {
37348 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37349 }
37350 {
37351 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37352 }
37353 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37354 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37355 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
37356 {
37357 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37358 }
37359 {
37360 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37361 }
37362 {
37363 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37364 }
37365 {
37366 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37367 }
37368 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37369 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37370 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37371 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37372 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
37373 {
37374 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37375 }
37376 {
37377 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37378 }
37379 {
37380 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37381 }
37382 {
37383 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37384 }
37385 {
37386 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37387 }
37388 {
37389 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37390 }
37391 {
37392 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37393 }
37394 {
37395 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37396 }
37397 {
37398 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37399 }
37400 {
37401 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37402 }
37403 {
37404 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37405 }
37406 {
37407 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37408 }
37409 {
37410 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37411 }
37412 {
37413 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37414 }
37415 {
37416 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37417 }
37418 {
37419 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37420 }
37421 {
37422 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37423 }
37424 {
37425 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37426 }
37427 {
37428 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37429 }
37430 {
37431 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37432 }
37433 {
37434 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37435 }
37436 {
37437 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37438 }
37439 {
37440 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37441 }
37442 {
37443 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37444 }
37445 {
37446 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37447 }
37448 {
37449 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37450 }
37451 {
37452 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37453 }
37454 {
37455 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37456 }
37457 {
37458 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37459 }
37460 {
37461 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37462 }
37463 {
37464 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37465 }
37466 {
37467 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37468 }
37469 {
37470 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37471 }
37472 {
37473 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37474 }
37475 {
37476 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37477 }
37478 {
37479 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37480 }
37481 {
37482 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37483 }
37484 {
37485 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37486 }
37487 {
37488 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37489 }
37490 {
37491 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37492 }
37493 {
37494 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37495 }
37496 {
37497 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37498 }
37499 {
37500 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37501 }
37502 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37503 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37504 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37505 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37506 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37507 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37508 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
37509 {
37510 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37511 }
37512 {
37513 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37514 }
37515 {
37516 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37517 }
37518 {
37519 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37520 }
37521 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37522 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37523 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37524 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37525 {
37526 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37527 }
37528 {
37529 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37530 }
37531 {
37532 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37533 }
37534 {
37535 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37536 }
37537 {
37538 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37539 }
37540 {
37541 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37542 }
37543 {
37544 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37545 }
37546 {
37547 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37548 }
37549 {
37550 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37551 }
37552 {
37553 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37554 }
37555 {
37556 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37557 }
37558 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37559 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
37560 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
37561 {
37562 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37563 }
37564 {
37565 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37566 }
37567 {
37568 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37569 }
37570 {
37571 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37572 }
37573 {
37574 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37575 }
37576 {
37577 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37578 }
37579 {
37580 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37581 }
37582 {
37583 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37584 }
37585 {
37586 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37587 }
37588 {
37589 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37590 }
37591 {
37592 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37593 }
37594 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37595 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
37596 {
37597 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37598 }
37599 {
37600 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37601 }
37602 {
37603 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37604 }
37605 {
37606 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37607 }
37608 {
37609 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37610 }
37611 {
37612 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37613 }
37614 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37615 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
37616 {
37617 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37618 }
37619 {
37620 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37621 }
37622 {
37623 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37624 }
37625 {
37626 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37627 }
37628 {
37629 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37630 }
37631 {
37632 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37633 }
37634 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37635 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
37636 {
37637 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37638 }
37639 {
37640 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37641 }
37642 {
37643 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37644 }
37645 {
37646 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37647 }
37648 {
37649 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37650 }
37651 {
37652 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37653 }
37654 {
37655 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37656 }
37657 {
37658 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37659 }
37660 {
37661 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37662 }
37663 {
37664 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37665 }
37666 {
37667 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37668 }
37669 {
37670 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37671 }
37672 {
37673 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37674 }
37675 {
37676 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37677 }
37678 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
37679 {
37680 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37681 }
37682 {
37683 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37684 }
37685 {
37686 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37687 }
37688 {
37689 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37690 }
37691 {
37692 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37693 }
37694 {
37695 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37696 }
37697 {
37698 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37699 }
37700 {
37701 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37702 }
37703 {
37704 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37705 }
37706 {
37707 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37708 }
37709 {
37710 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37711 }
37712 {
37713 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37714 }
37715 {
37716 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37717 }
37718 {
37719 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37720 }
37721 {
37722 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37723 }
37724 {
37725 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37726 }
37727 {
37728 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37729 }
37730 {
37731 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37732 }
37733 {
37734 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37735 }
37736 {
37737 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37738 }
37739 {
37740 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37741 }
37742 {
37743 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37744 }
37745 {
37746 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37747 }
37748 {
37749 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37750 }
37751 {
37752 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37753 }
37754 {
37755 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37756 }
37757 {
37758 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37759 }
37760 {
37761 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37762 }
37763 {
37764 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37765 }
37766 {
37767 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37768 }
37769 {
37770 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37771 }
37772 {
37773 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37774 }
37775 {
37776 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37777 }
37778 {
37779 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37780 }
37781 {
37782 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37783 }
37784 {
37785 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37786 }
37787 {
37788 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37789 }
37790 {
37791 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37792 }
37793 {
37794 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37795 }
37796 {
37797 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37798 }
37799 {
37800 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37801 }
37802 {
37803 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37804 }
37805 {
37806 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37807 }
37808 {
37809 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37810 }
37811 {
37812 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37813 }
37814 {
37815 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37816 }
37817 {
37818 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37819 }
37820 {
37821 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37822 }
37823 {
37824 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37825 }
37826 {
37827 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37828 }
37829 {
37830 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37831 }
37832 {
37833 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37834 }
37835 {
37836 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37837 }
37838 {
37839 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37840 }
37841 {
37842 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37843 }
37844 {
37845 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37846 }
37847 {
37848 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37849 }
37850 {
37851 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37852 }
37853 {
37854 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37855 }
37856 {
37857 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37858 }
37859 {
37860 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37861 }
37862 {
37863 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37864 }
37865 {
37866 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37867 }
37868 {
37869 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37870 }
37871 {
37872 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37873 }
37874 {
37875 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37876 }
37877 {
37878 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37879 }
37880 {
37881 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37882 }
37883 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37884 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37885 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37886 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37887 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37888 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
37889 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37890 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37891 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37892 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37893 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37894 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37895 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37896 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37897 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37898 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37899 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37900 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37901 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37902 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
37903 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37904 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
37905
37906 // Map renamed classes back to their common name for OOR
37907 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37908
37909 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
37910 {
37911 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37912 }
37913 {
37914 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37915 }
37916 {
37917 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37918 }
37919 {
37920 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37921 }
37922 {
37923 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37924 }
37925 {
37926 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37927 }
37928 {
37929 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37930 }
37931 {
37932 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37933 }
37934 {
37935 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37936 }
37937 {
37938 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37939 }
37940 {
37941 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37942 }
37943 {
37944 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37945 }
37946 {
37947 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37948 }
37949 {
37950 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37951 }
37952 {
37953 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37954 }
37955 {
37956 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37957 }
37958 {
37959 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37960 }
37961 {
37962 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
37963 }
37964 {
37965 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
37966 }
37967 {
37968 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
37969 }
37970 {
37971 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
37972 }
37973 {
37974 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
37975 }
37976 {
37977 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
37978 }
37979 {
37980 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
37981 }
37982 {
37983 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
37984 }
37985 {
37986 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
37987 }
37988 {
37989 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
37990 }
37991 {
37992 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
37993 }
37994 {
37995 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
37996 }
37997 {
37998 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
37999 }
38000 {
38001 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
38002 }
38003 {
38004 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
38005 }
38006 {
38007 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
38008 }
38009 {
38010 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
38011 }
38012 {
38013 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
38014 }
38015 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38016 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38017 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38018 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38019 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38020 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38021 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38022 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38023 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38024 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38025 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38026 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38027 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38028 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38029 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38030 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38031 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38032 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38033 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38034 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
38035 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
38036
38037 // Map renamed classes back to their common name for OOR
38038 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38039 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38040
38041 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
38042 {
38043 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38044 }
38045 {
38046 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38047 }
38048 {
38049 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38050 }
38051 {
38052 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38053 }
38054 {
38055 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38056 }
38057 {
38058 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38059 }
38060 {
38061 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38062 }
38063 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38064 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38065
38066 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38067
38068 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38069 {
38070 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38071 }
38072 {
38073 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38074 }
38075 {
38076 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38077 }
38078 {
38079 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38080 }
38081 {
38082 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38083 }
38084 }
38085