]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_controls_wrap.cpp
Applied [ 1235509 ] wxCocoa unicode wxT("fixes")
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 if (str)
1041 Py_DECREF(str);
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049 }
1050
1051 SWIGRUNTIMEINLINE void
1052 SWIG_Python_NullRef(const char *type)
1053 {
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059 }
1060
1061 SWIGRUNTIME int
1062 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063 {
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084 }
1085
1086 SWIGRUNTIME int
1087 SWIG_Python_ArgFail(int argnum)
1088 {
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097 }
1098
1099
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104 /* Convert a pointer value */
1105 SWIGRUNTIME int
1106 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137 #else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155 #endif
1156
1157 type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172 type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195 }
1196
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIGRUNTIME void *
1199 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209 }
1210
1211 /* Convert a packed value value */
1212 SWIGRUNTIME int
1213 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219 #else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224 #endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232 type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242 }
1243
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject *
1246 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254 #else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260 #endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276 }
1277
1278 SWIGRUNTIME PyObject *
1279 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287 #else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293 #endif
1294 return robj;
1295 }
1296
1297 /* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1303 #endif
1304
1305 SWIGRUNTIME swig_type_info **
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312 #else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320 #endif
1321 return (swig_type_info **) type_pointer;
1322 }
1323
1324 /*
1325 Search for a swig_type_info structure
1326 */
1327 SWIGRUNTIMEINLINE swig_type_info *
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331 }
1332
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335 #ifdef __cplusplus
1336 }
1337 #endif
1338
1339
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1341
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info *swig_types[99];
1441
1442 /* -------- TYPES TABLE (END) -------- */
1443
1444
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1449
1450 #define SWIG_name "_controls_"
1451
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1454
1455 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1456 static const wxString wxPyEmptyString(wxEmptyString);
1457 static const wxString wxPyControlNameStr(wxControlNameStr);
1458
1459 const wxArrayString wxPyEmptyStringArray;
1460
1461 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1462
1463 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1465 /*@@*/
1466
1467
1468 #include <limits.h>
1469
1470
1471 SWIGINTERN int
1472 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1473 const char *errmsg)
1474 {
1475 if (value < min_value) {
1476 if (errmsg) {
1477 PyErr_Format(PyExc_OverflowError,
1478 "value %ld is less than '%s' minimum %ld",
1479 value, errmsg, min_value);
1480 }
1481 return 0;
1482 } else if (value > max_value) {
1483 if (errmsg) {
1484 PyErr_Format(PyExc_OverflowError,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value, errmsg, max_value);
1487 }
1488 return 0;
1489 }
1490 return 1;
1491 }
1492
1493
1494 SWIGINTERN int
1495 SWIG_AsVal_long(PyObject* obj, long* val)
1496 {
1497 if (PyNumber_Check(obj)) {
1498 if (val) *val = PyInt_AsLong(obj);
1499 return 1;
1500 }
1501 else {
1502 SWIG_type_error("number", obj);
1503 }
1504 return 0;
1505 }
1506
1507
1508 #if INT_MAX != LONG_MAX
1509 SWIGINTERN int
1510 SWIG_AsVal_int(PyObject *obj, int *val)
1511 {
1512 const char* errmsg = val ? "int" : (char*)0;
1513 long v;
1514 if (SWIG_AsVal_long(obj, &v)) {
1515 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1516 if (val) *val = (int)(v);
1517 return 1;
1518 } else {
1519 return 0;
1520 }
1521 } else {
1522 PyErr_Clear();
1523 }
1524 if (val) {
1525 SWIG_type_error(errmsg, obj);
1526 }
1527 return 0;
1528 }
1529 #else
1530 SWIGINTERNSHORT int
1531 SWIG_AsVal_int(PyObject *obj, int *val)
1532 {
1533 return SWIG_AsVal_long(obj,(long*)val);
1534 }
1535 #endif
1536
1537
1538 SWIGINTERNSHORT int
1539 SWIG_As_int(PyObject* obj)
1540 {
1541 int v;
1542 if (!SWIG_AsVal_int(obj, &v)) {
1543 /*
1544 this is needed to make valgrind/purify happier.
1545 */
1546 memset((void*)&v, 0, sizeof(int));
1547 }
1548 return v;
1549 }
1550
1551
1552 SWIGINTERNSHORT long
1553 SWIG_As_long(PyObject* obj)
1554 {
1555 long v;
1556 if (!SWIG_AsVal_long(obj, &v)) {
1557 /*
1558 this is needed to make valgrind/purify happier.
1559 */
1560 memset((void*)&v, 0, sizeof(long));
1561 }
1562 return v;
1563 }
1564
1565
1566 SWIGINTERNSHORT int
1567 SWIG_Check_int(PyObject* obj)
1568 {
1569 return SWIG_AsVal_int(obj, (int*)0);
1570 }
1571
1572
1573 SWIGINTERNSHORT int
1574 SWIG_Check_long(PyObject* obj)
1575 {
1576 return SWIG_AsVal_long(obj, (long*)0);
1577 }
1578
1579 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1580
1581 SWIGINTERN int
1582 SWIG_AsVal_bool(PyObject *obj, bool *val)
1583 {
1584 if (obj == Py_True) {
1585 if (val) *val = true;
1586 return 1;
1587 }
1588 if (obj == Py_False) {
1589 if (val) *val = false;
1590 return 1;
1591 }
1592 int res = 0;
1593 if (SWIG_AsVal_int(obj, &res)) {
1594 if (val) *val = res ? true : false;
1595 return 1;
1596 } else {
1597 PyErr_Clear();
1598 }
1599 if (val) {
1600 SWIG_type_error("bool", obj);
1601 }
1602 return 0;
1603 }
1604
1605
1606 SWIGINTERNSHORT bool
1607 SWIG_As_bool(PyObject* obj)
1608 {
1609 bool v;
1610 if (!SWIG_AsVal_bool(obj, &v)) {
1611 /*
1612 this is needed to make valgrind/purify happier.
1613 */
1614 memset((void*)&v, 0, sizeof(bool));
1615 }
1616 return v;
1617 }
1618
1619
1620 SWIGINTERNSHORT int
1621 SWIG_Check_bool(PyObject* obj)
1622 {
1623 return SWIG_AsVal_bool(obj, (bool*)0);
1624 }
1625
1626 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1627 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1628
1629 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1631 /*@@*/
1632
1633 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1634 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1635 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1636 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1637
1638 #include <wx/checklst.h>
1639
1640
1641 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1642 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1643 if (clientData) {
1644 wxPyClientData* data = new wxPyClientData(clientData);
1645 self->Insert(item, pos, data);
1646 } else
1647 self->Insert(item, pos);
1648 }
1649 static PyObject *wxListBox_GetSelections(wxListBox *self){
1650 wxArrayInt lst;
1651 self->GetSelections(lst);
1652 PyObject *tup = PyTuple_New(lst.GetCount());
1653 for(size_t i=0; i<lst.GetCount(); i++) {
1654 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1655 }
1656 return tup;
1657 }
1658 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1659 #ifdef __WXMSW__
1660 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1661 self->GetItem(item)->SetTextColour(c);
1662 #endif
1663 }
1664 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1665 #ifdef __WXMSW__
1666 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1667 self->GetItem(item)->SetBackgroundColour(c);
1668 #endif
1669 }
1670 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1671 #ifdef __WXMSW__
1672 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1673 self->GetItem(item)->SetFont(f);
1674 #endif
1675 }
1676 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1677
1678 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1679 PyObject* o2;
1680 PyObject* o3;
1681
1682 if (!target) {
1683 target = o;
1684 } else if (target == Py_None) {
1685 Py_DECREF(Py_None);
1686 target = o;
1687 } else {
1688 if (!PyTuple_Check(target)) {
1689 o2 = target;
1690 target = PyTuple_New(1);
1691 PyTuple_SetItem(target, 0, o2);
1692 }
1693 o3 = PyTuple_New(1);
1694 PyTuple_SetItem(o3, 0, o);
1695
1696 o2 = target;
1697 target = PySequence_Concat(o2, o3);
1698 Py_DECREF(o2);
1699 Py_DECREF(o3);
1700 }
1701 return target;
1702 }
1703
1704
1705
1706 SWIGINTERN int
1707 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1708 {
1709 long v = 0;
1710 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1711 SWIG_type_error("unsigned number", obj);
1712 }
1713 else if (val)
1714 *val = (unsigned long)v;
1715 return 1;
1716 }
1717
1718
1719 SWIGINTERNSHORT unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject* obj)
1721 {
1722 unsigned long v;
1723 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1724 /*
1725 this is needed to make valgrind/purify happier.
1726 */
1727 memset((void*)&v, 0, sizeof(unsigned long));
1728 }
1729 return v;
1730 }
1731
1732
1733 SWIGINTERNSHORT int
1734 SWIG_Check_unsigned_SS_long(PyObject* obj)
1735 {
1736 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1737 }
1738
1739 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1740 self->AppendText(text);
1741 }
1742 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
1743 return self->GetValue().Mid(from, to - from);
1744 }
1745 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1746 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1747 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1749 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1750
1751 #include <wx/slider.h>
1752
1753
1754 static const wxString wxPySliderNameStr(wxSliderNameStr);
1755 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1756
1757 #if !wxUSE_TOGGLEBTN
1758 // implement dummy items for platforms that don't have this class
1759
1760 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1761
1762 class wxToggleButton : public wxControl
1763 {
1764 public:
1765 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1766 const wxPoint&, const wxSize&, long,
1767 const wxValidator&, const wxString&)
1768 { wxPyRaiseNotImplemented(); }
1769
1770 wxToggleButton()
1771 { wxPyRaiseNotImplemented(); }
1772 };
1773 #endif
1774
1775 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
1776
1777 SWIGINTERNSHORT PyObject*
1778 SWIG_From_unsigned_SS_long(unsigned long value)
1779 {
1780 return (value > LONG_MAX) ?
1781 PyLong_FromUnsignedLong(value)
1782 : PyInt_FromLong((long)(value));
1783 }
1784
1785 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1786 static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
1787 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1788 if (udata) {
1789 Py_INCREF(udata->m_obj);
1790 return udata->m_obj;
1791 } else {
1792 Py_INCREF(Py_None);
1793 return Py_None;
1794 }
1795 }
1796 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
1797 self->SetClientData(new wxPyUserData(clientData));
1798 }
1799 static wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
1800 wxPyUserData* udata = NULL;
1801 if (clientData && clientData != Py_None)
1802 udata = new wxPyUserData(clientData);
1803 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1804 shortHelp, longHelp, udata);
1805 }
1806 static wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
1807 wxPyUserData* udata = NULL;
1808 if (clientData && clientData != Py_None)
1809 udata = new wxPyUserData(clientData);
1810 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1811 shortHelp, longHelp, udata);
1812 }
1813 static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
1814 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1815 if (udata) {
1816 Py_INCREF(udata->m_obj);
1817 return udata->m_obj;
1818 } else {
1819 Py_INCREF(Py_None);
1820 return Py_None;
1821 }
1822 }
1823 static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
1824 self->SetToolClientData(id, new wxPyUserData(clientData));
1825 }
1826
1827 #include <wx/listctrl.h>
1828
1829 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
1830 static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
1831 // Python aware sorting function for wxPyListCtrl
1832 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1833 int retval = 0;
1834 PyObject* func = (PyObject*)funcPtr;
1835 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1836
1837 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1838 PyObject* result = PyEval_CallObject(func, args);
1839 Py_DECREF(args);
1840 if (result) {
1841 retval = PyInt_AsLong(result);
1842 Py_DECREF(result);
1843 }
1844
1845 wxPyEndBlockThreads(blocked);
1846 return retval;
1847 }
1848
1849 // C++ Version of a Python aware class
1850 class wxPyListCtrl : public wxListCtrl {
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1852 public:
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1855 const wxPoint& pos,
1856 const wxSize& size,
1857 long style,
1858 const wxValidator& validator,
1859 const wxString& name) :
1860 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1861
1862 bool Create(wxWindow* parent, wxWindowID id,
1863 const wxPoint& pos,
1864 const wxSize& size,
1865 long style,
1866 const wxValidator& validator,
1867 const wxString& name) {
1868 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1869 }
1870
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1873
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1876
1877 PYPRIVATE;
1878 };
1879
1880 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1881
1882 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
1883 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
1884 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1885
1886
1887 static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
1888 wxListItem item;
1889 item.SetMask( wxLIST_MASK_STATE |
1890 wxLIST_MASK_TEXT |
1891 wxLIST_MASK_IMAGE |
1892 wxLIST_MASK_DATA |
1893 wxLIST_SET_ITEM |
1894 wxLIST_MASK_WIDTH |
1895 wxLIST_MASK_FORMAT
1896 );
1897 if (self->GetColumn(col, item))
1898 return new wxListItem(item);
1899 else
1900 return NULL;
1901 }
1902 static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
1903 wxListItem* info = new wxListItem;
1904 info->m_itemId = itemId;
1905 info->m_col = col;
1906 info->m_mask = 0xFFFF;
1907 self->GetItem(*info);
1908 return info;
1909 }
1910 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
1911 wxPoint pos;
1912 self->GetItemPosition(item, pos);
1913 return pos;
1914 }
1915 static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
1916 wxRect rect;
1917 self->GetItemRect(item, rect, code);
1918 return rect;
1919 }
1920
1921 static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
1922 if (!PyCallable_Check(func))
1923 return false;
1924 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1925 }
1926 static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
1927
1928
1929
1930 return (wxWindow*)self->m_mainWin;
1931
1932 }
1933
1934 #include <wx/treectrl.h>
1935 #include "wx/wxPython/pytree.h"
1936
1937 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1938 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1939 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1940 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
1941 // C++ version of Python aware wxTreeCtrl
1942 class wxPyTreeCtrl : public wxTreeCtrl {
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1944 public:
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1947 const wxPoint& pos,
1948 const wxSize& size,
1949 long style,
1950 const wxValidator& validator,
1951 const wxString& name) :
1952 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1953
1954 bool Create(wxWindow *parent, wxWindowID id,
1955 const wxPoint& pos,
1956 const wxSize& size,
1957 long style,
1958 const wxValidator& validator,
1959 const wxString& name) {
1960 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1961 }
1962
1963
1964 int OnCompareItems(const wxTreeItemId& item1,
1965 const wxTreeItemId& item2) {
1966 int rval = 0;
1967 bool found;
1968 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1969 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1970 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1971 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
1972 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1973 Py_DECREF(o1);
1974 Py_DECREF(o2);
1975 }
1976 wxPyEndBlockThreads(blocked);
1977 if (! found)
1978 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1979 return rval;
1980 }
1981 PYPRIVATE;
1982 };
1983
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1985
1986
1987
1988 #if UINT_MAX < LONG_MAX
1989 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1990 #define SWIG_From_unsigned_SS_int SWIG_From_long
1991 /*@@*/
1992 #else
1993 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1994 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1995 /*@@*/
1996 #endif
1997
1998
1999 SWIGINTERNSHORT int
2000 SWIG_CheckUnsignedLongInRange(unsigned long value,
2001 unsigned long max_value,
2002 const char *errmsg)
2003 {
2004 if (value > max_value) {
2005 if (errmsg) {
2006 PyErr_Format(PyExc_OverflowError,
2007 "value %lu is greater than '%s' minimum %lu",
2008 value, errmsg, max_value);
2009 }
2010 return 0;
2011 }
2012 return 1;
2013 }
2014
2015
2016 #if UINT_MAX != ULONG_MAX
2017 SWIGINTERN int
2018 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2019 {
2020 const char* errmsg = val ? "unsigned int" : (char*)0;
2021 unsigned long v;
2022 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2023 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2024 if (val) *val = (unsigned int)(v);
2025 return 1;
2026 }
2027 } else {
2028 PyErr_Clear();
2029 }
2030 if (val) {
2031 SWIG_type_error(errmsg, obj);
2032 }
2033 return 0;
2034 }
2035 #else
2036 SWIGINTERNSHORT unsigned int
2037 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2038 {
2039 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2040 }
2041 #endif
2042
2043
2044 SWIGINTERNSHORT unsigned int
2045 SWIG_As_unsigned_SS_int(PyObject* obj)
2046 {
2047 unsigned int v;
2048 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2049 /*
2050 this is needed to make valgrind/purify happier.
2051 */
2052 memset((void*)&v, 0, sizeof(unsigned int));
2053 }
2054 return v;
2055 }
2056
2057
2058 SWIGINTERNSHORT int
2059 SWIG_Check_unsigned_SS_int(PyObject* obj)
2060 {
2061 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2062 }
2063
2064 static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2065 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2066 if (data == NULL) {
2067 data = new wxPyTreeItemData();
2068 data->SetId(item); // set the id
2069 self->SetItemData(item, data);
2070 }
2071 return data;
2072 }
2073 static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2074 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2075 if (data == NULL) {
2076 data = new wxPyTreeItemData();
2077 data->SetId(item); // set the id
2078 self->SetItemData(item, data);
2079 }
2080 return data->GetData();
2081 }
2082 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2083 data->SetId(item); // set the id
2084 self->SetItemData(item, data);
2085 }
2086 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
2087 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2088 if (data == NULL) {
2089 data = new wxPyTreeItemData(obj);
2090 data->SetId(item); // set the id
2091 self->SetItemData(item, data);
2092 } else
2093 data->SetData(obj);
2094 }
2095 static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2096 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2097 PyObject* rval = PyList_New(0);
2098 wxArrayTreeItemIds array;
2099 size_t num, x;
2100 num = self->GetSelections(array);
2101 for (x=0; x < num; x++) {
2102 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2103 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2104 PyList_Append(rval, item);
2105 Py_DECREF(item);
2106 }
2107 wxPyEndBlockThreads(blocked);
2108 return rval;
2109 }
2110 static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2111 void* cookie = 0;
2112 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2113 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2114 PyObject* tup = PyTuple_New(2);
2115 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2116 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2117 wxPyEndBlockThreads(blocked);
2118 return tup;
2119 }
2120 static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2121 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2122 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2123 PyObject* tup = PyTuple_New(2);
2124 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2125 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2126 wxPyEndBlockThreads(blocked);
2127 return tup;
2128 }
2129 static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2130 wxRect rect;
2131 if (self->GetBoundingRect(item, rect, textOnly)) {
2132 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2133 wxRect* r = new wxRect(rect);
2134 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2135 wxPyEndBlockThreads(blocked);
2136 return val;
2137 }
2138 else
2139 RETURN_NONE();
2140 }
2141 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2142
2143 SWIGINTERNSHORT PyObject*
2144 SWIG_From_bool(bool value)
2145 {
2146 PyObject *obj = value ? Py_True : Py_False;
2147 Py_INCREF(obj);
2148 return obj;
2149 }
2150
2151
2152 // C++ version of Python aware wxControl
2153 class wxPyControl : public wxControl
2154 {
2155 DECLARE_DYNAMIC_CLASS(wxPyControl)
2156 public:
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow* parent, const wxWindowID id,
2159 const wxPoint& pos = wxDefaultPosition,
2160 const wxSize& size = wxDefaultSize,
2161 long style = 0,
2162 const wxValidator& validator=wxDefaultValidator,
2163 const wxString& name = wxPyControlNameStr)
2164 : wxControl(parent, id, pos, size, style, validator, name) {}
2165
2166 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2167
2168 bool DoEraseBackground(wxDC* dc) {
2169 #ifdef __WXMSW__
2170 return wxWindow::DoEraseBackground(dc->GetHDC());
2171 #else
2172 dc->SetBackground(wxBrush(GetBackgroundColour()));
2173 dc->Clear();
2174 return true;
2175 #endif
2176 }
2177
2178 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2179 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2180 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2181 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2182
2183 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2184 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2185 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2186
2187 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2188 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2189
2190 DEC_PYCALLBACK__(InitDialog);
2191 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2192 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2193 DEC_PYCALLBACK_BOOL_(Validate);
2194
2195 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2196 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2197 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2198
2199 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2200 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2201
2202 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2203 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2204
2205 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2206
2207 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2208
2209 PYPRIVATE;
2210 };
2211
2212 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2213
2214 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2215 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2216 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2217 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2218
2219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2222
2223 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2224 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2225
2226 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2227 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2228 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2229 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2230
2231 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2232 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2233 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2234
2235 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2237
2238 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2239 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2240
2241 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2242
2243 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
2244
2245
2246
2247 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2248
2249 #include <wx/generic/dragimgg.h>
2250
2251 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2252 static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2253 wxDateTime rv;
2254 self->GetRange(&rv, NULL);
2255 return rv;
2256 }
2257 static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2258 wxDateTime rv;
2259 self->GetRange(NULL, &rv);
2260 return rv;
2261 }
2262 #ifdef __cplusplus
2263 extern "C" {
2264 #endif
2265 static int _wrap_ButtonNameStr_set(PyObject *) {
2266 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2267 return 1;
2268 }
2269
2270
2271 static PyObject *_wrap_ButtonNameStr_get(void) {
2272 PyObject *pyobj;
2273
2274 {
2275 #if wxUSE_UNICODE
2276 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2277 #else
2278 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2279 #endif
2280 }
2281 return pyobj;
2282 }
2283
2284
2285 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2286 PyObject *resultobj;
2287 wxWindow *arg1 = (wxWindow *) 0 ;
2288 int arg2 = (int) -1 ;
2289 wxString const &arg3_defvalue = wxPyEmptyString ;
2290 wxString *arg3 = (wxString *) &arg3_defvalue ;
2291 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2292 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2293 wxSize const &arg5_defvalue = wxDefaultSize ;
2294 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2295 long arg6 = (long) 0 ;
2296 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2297 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2298 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2299 wxString *arg8 = (wxString *) &arg8_defvalue ;
2300 wxButton *result;
2301 bool temp3 = false ;
2302 wxPoint temp4 ;
2303 wxSize temp5 ;
2304 bool temp8 = false ;
2305 PyObject * obj0 = 0 ;
2306 PyObject * obj1 = 0 ;
2307 PyObject * obj2 = 0 ;
2308 PyObject * obj3 = 0 ;
2309 PyObject * obj4 = 0 ;
2310 PyObject * obj5 = 0 ;
2311 PyObject * obj6 = 0 ;
2312 PyObject * obj7 = 0 ;
2313 char *kwnames[] = {
2314 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2315 };
2316
2317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2319 if (SWIG_arg_fail(1)) SWIG_fail;
2320 if (obj1) {
2321 {
2322 arg2 = (int)(SWIG_As_int(obj1));
2323 if (SWIG_arg_fail(2)) SWIG_fail;
2324 }
2325 }
2326 if (obj2) {
2327 {
2328 arg3 = wxString_in_helper(obj2);
2329 if (arg3 == NULL) SWIG_fail;
2330 temp3 = true;
2331 }
2332 }
2333 if (obj3) {
2334 {
2335 arg4 = &temp4;
2336 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2337 }
2338 }
2339 if (obj4) {
2340 {
2341 arg5 = &temp5;
2342 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2343 }
2344 }
2345 if (obj5) {
2346 {
2347 arg6 = (long)(SWIG_As_long(obj5));
2348 if (SWIG_arg_fail(6)) SWIG_fail;
2349 }
2350 }
2351 if (obj6) {
2352 {
2353 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2354 if (SWIG_arg_fail(7)) SWIG_fail;
2355 if (arg7 == NULL) {
2356 SWIG_null_ref("wxValidator");
2357 }
2358 if (SWIG_arg_fail(7)) SWIG_fail;
2359 }
2360 }
2361 if (obj7) {
2362 {
2363 arg8 = wxString_in_helper(obj7);
2364 if (arg8 == NULL) SWIG_fail;
2365 temp8 = true;
2366 }
2367 }
2368 {
2369 if (!wxPyCheckForApp()) SWIG_fail;
2370 PyThreadState* __tstate = wxPyBeginAllowThreads();
2371 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2372
2373 wxPyEndAllowThreads(__tstate);
2374 if (PyErr_Occurred()) SWIG_fail;
2375 }
2376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2377 {
2378 if (temp3)
2379 delete arg3;
2380 }
2381 {
2382 if (temp8)
2383 delete arg8;
2384 }
2385 return resultobj;
2386 fail:
2387 {
2388 if (temp3)
2389 delete arg3;
2390 }
2391 {
2392 if (temp8)
2393 delete arg8;
2394 }
2395 return NULL;
2396 }
2397
2398
2399 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2400 PyObject *resultobj;
2401 wxButton *result;
2402 char *kwnames[] = {
2403 NULL
2404 };
2405
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2407 {
2408 if (!wxPyCheckForApp()) SWIG_fail;
2409 PyThreadState* __tstate = wxPyBeginAllowThreads();
2410 result = (wxButton *)new wxButton();
2411
2412 wxPyEndAllowThreads(__tstate);
2413 if (PyErr_Occurred()) SWIG_fail;
2414 }
2415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2416 return resultobj;
2417 fail:
2418 return NULL;
2419 }
2420
2421
2422 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2423 PyObject *resultobj;
2424 wxButton *arg1 = (wxButton *) 0 ;
2425 wxWindow *arg2 = (wxWindow *) 0 ;
2426 int arg3 = (int) -1 ;
2427 wxString const &arg4_defvalue = wxPyEmptyString ;
2428 wxString *arg4 = (wxString *) &arg4_defvalue ;
2429 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2430 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2431 wxSize const &arg6_defvalue = wxDefaultSize ;
2432 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2433 long arg7 = (long) 0 ;
2434 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2435 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2436 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2437 wxString *arg9 = (wxString *) &arg9_defvalue ;
2438 bool result;
2439 bool temp4 = false ;
2440 wxPoint temp5 ;
2441 wxSize temp6 ;
2442 bool temp9 = false ;
2443 PyObject * obj0 = 0 ;
2444 PyObject * obj1 = 0 ;
2445 PyObject * obj2 = 0 ;
2446 PyObject * obj3 = 0 ;
2447 PyObject * obj4 = 0 ;
2448 PyObject * obj5 = 0 ;
2449 PyObject * obj6 = 0 ;
2450 PyObject * obj7 = 0 ;
2451 PyObject * obj8 = 0 ;
2452 char *kwnames[] = {
2453 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2454 };
2455
2456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2458 if (SWIG_arg_fail(1)) SWIG_fail;
2459 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2460 if (SWIG_arg_fail(2)) SWIG_fail;
2461 if (obj2) {
2462 {
2463 arg3 = (int)(SWIG_As_int(obj2));
2464 if (SWIG_arg_fail(3)) SWIG_fail;
2465 }
2466 }
2467 if (obj3) {
2468 {
2469 arg4 = wxString_in_helper(obj3);
2470 if (arg4 == NULL) SWIG_fail;
2471 temp4 = true;
2472 }
2473 }
2474 if (obj4) {
2475 {
2476 arg5 = &temp5;
2477 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2478 }
2479 }
2480 if (obj5) {
2481 {
2482 arg6 = &temp6;
2483 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2484 }
2485 }
2486 if (obj6) {
2487 {
2488 arg7 = (long)(SWIG_As_long(obj6));
2489 if (SWIG_arg_fail(7)) SWIG_fail;
2490 }
2491 }
2492 if (obj7) {
2493 {
2494 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2495 if (SWIG_arg_fail(8)) SWIG_fail;
2496 if (arg8 == NULL) {
2497 SWIG_null_ref("wxValidator");
2498 }
2499 if (SWIG_arg_fail(8)) SWIG_fail;
2500 }
2501 }
2502 if (obj8) {
2503 {
2504 arg9 = wxString_in_helper(obj8);
2505 if (arg9 == NULL) SWIG_fail;
2506 temp9 = true;
2507 }
2508 }
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2512
2513 wxPyEndAllowThreads(__tstate);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 }
2516 {
2517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2518 }
2519 {
2520 if (temp4)
2521 delete arg4;
2522 }
2523 {
2524 if (temp9)
2525 delete arg9;
2526 }
2527 return resultobj;
2528 fail:
2529 {
2530 if (temp4)
2531 delete arg4;
2532 }
2533 {
2534 if (temp9)
2535 delete arg9;
2536 }
2537 return NULL;
2538 }
2539
2540
2541 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2542 PyObject *resultobj;
2543 wxButton *arg1 = (wxButton *) 0 ;
2544 PyObject * obj0 = 0 ;
2545 char *kwnames[] = {
2546 (char *) "self", NULL
2547 };
2548
2549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2551 if (SWIG_arg_fail(1)) SWIG_fail;
2552 {
2553 PyThreadState* __tstate = wxPyBeginAllowThreads();
2554 (arg1)->SetDefault();
2555
2556 wxPyEndAllowThreads(__tstate);
2557 if (PyErr_Occurred()) SWIG_fail;
2558 }
2559 Py_INCREF(Py_None); resultobj = Py_None;
2560 return resultobj;
2561 fail:
2562 return NULL;
2563 }
2564
2565
2566 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2567 PyObject *resultobj;
2568 wxSize result;
2569 char *kwnames[] = {
2570 NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2574 {
2575 PyThreadState* __tstate = wxPyBeginAllowThreads();
2576 result = wxButton::GetDefaultSize();
2577
2578 wxPyEndAllowThreads(__tstate);
2579 if (PyErr_Occurred()) SWIG_fail;
2580 }
2581 {
2582 wxSize * resultptr;
2583 resultptr = new wxSize((wxSize &)(result));
2584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2585 }
2586 return resultobj;
2587 fail:
2588 return NULL;
2589 }
2590
2591
2592 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2593 PyObject *resultobj;
2594 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2595 wxVisualAttributes result;
2596 PyObject * obj0 = 0 ;
2597 char *kwnames[] = {
2598 (char *) "variant", NULL
2599 };
2600
2601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2602 if (obj0) {
2603 {
2604 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2605 if (SWIG_arg_fail(1)) SWIG_fail;
2606 }
2607 }
2608 {
2609 if (!wxPyCheckForApp()) SWIG_fail;
2610 PyThreadState* __tstate = wxPyBeginAllowThreads();
2611 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2612
2613 wxPyEndAllowThreads(__tstate);
2614 if (PyErr_Occurred()) SWIG_fail;
2615 }
2616 {
2617 wxVisualAttributes * resultptr;
2618 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2620 }
2621 return resultobj;
2622 fail:
2623 return NULL;
2624 }
2625
2626
2627 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2628 PyObject *obj;
2629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2630 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2631 Py_INCREF(obj);
2632 return Py_BuildValue((char *)"");
2633 }
2634 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2635 PyObject *resultobj;
2636 wxWindow *arg1 = (wxWindow *) 0 ;
2637 int arg2 = (int) -1 ;
2638 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2639 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2640 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2641 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2642 wxSize const &arg5_defvalue = wxDefaultSize ;
2643 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2644 long arg6 = (long) wxBU_AUTODRAW ;
2645 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2646 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2647 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2648 wxString *arg8 = (wxString *) &arg8_defvalue ;
2649 wxBitmapButton *result;
2650 wxPoint temp4 ;
2651 wxSize temp5 ;
2652 bool temp8 = false ;
2653 PyObject * obj0 = 0 ;
2654 PyObject * obj1 = 0 ;
2655 PyObject * obj2 = 0 ;
2656 PyObject * obj3 = 0 ;
2657 PyObject * obj4 = 0 ;
2658 PyObject * obj5 = 0 ;
2659 PyObject * obj6 = 0 ;
2660 PyObject * obj7 = 0 ;
2661 char *kwnames[] = {
2662 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2663 };
2664
2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2667 if (SWIG_arg_fail(1)) SWIG_fail;
2668 if (obj1) {
2669 {
2670 arg2 = (int)(SWIG_As_int(obj1));
2671 if (SWIG_arg_fail(2)) SWIG_fail;
2672 }
2673 }
2674 if (obj2) {
2675 {
2676 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2677 if (SWIG_arg_fail(3)) SWIG_fail;
2678 if (arg3 == NULL) {
2679 SWIG_null_ref("wxBitmap");
2680 }
2681 if (SWIG_arg_fail(3)) SWIG_fail;
2682 }
2683 }
2684 if (obj3) {
2685 {
2686 arg4 = &temp4;
2687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2688 }
2689 }
2690 if (obj4) {
2691 {
2692 arg5 = &temp5;
2693 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2694 }
2695 }
2696 if (obj5) {
2697 {
2698 arg6 = (long)(SWIG_As_long(obj5));
2699 if (SWIG_arg_fail(6)) SWIG_fail;
2700 }
2701 }
2702 if (obj6) {
2703 {
2704 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2705 if (SWIG_arg_fail(7)) SWIG_fail;
2706 if (arg7 == NULL) {
2707 SWIG_null_ref("wxValidator");
2708 }
2709 if (SWIG_arg_fail(7)) SWIG_fail;
2710 }
2711 }
2712 if (obj7) {
2713 {
2714 arg8 = wxString_in_helper(obj7);
2715 if (arg8 == NULL) SWIG_fail;
2716 temp8 = true;
2717 }
2718 }
2719 {
2720 if (!wxPyCheckForApp()) SWIG_fail;
2721 PyThreadState* __tstate = wxPyBeginAllowThreads();
2722 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2723
2724 wxPyEndAllowThreads(__tstate);
2725 if (PyErr_Occurred()) SWIG_fail;
2726 }
2727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2728 {
2729 if (temp8)
2730 delete arg8;
2731 }
2732 return resultobj;
2733 fail:
2734 {
2735 if (temp8)
2736 delete arg8;
2737 }
2738 return NULL;
2739 }
2740
2741
2742 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2743 PyObject *resultobj;
2744 wxBitmapButton *result;
2745 char *kwnames[] = {
2746 NULL
2747 };
2748
2749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2750 {
2751 if (!wxPyCheckForApp()) SWIG_fail;
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 result = (wxBitmapButton *)new wxBitmapButton();
2754
2755 wxPyEndAllowThreads(__tstate);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 }
2758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2759 return resultobj;
2760 fail:
2761 return NULL;
2762 }
2763
2764
2765 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2766 PyObject *resultobj;
2767 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2768 wxWindow *arg2 = (wxWindow *) 0 ;
2769 int arg3 = (int) -1 ;
2770 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2771 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2772 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2773 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2774 wxSize const &arg6_defvalue = wxDefaultSize ;
2775 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2776 long arg7 = (long) wxBU_AUTODRAW ;
2777 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2778 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2779 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2780 wxString *arg9 = (wxString *) &arg9_defvalue ;
2781 bool result;
2782 wxPoint temp5 ;
2783 wxSize temp6 ;
2784 bool temp9 = false ;
2785 PyObject * obj0 = 0 ;
2786 PyObject * obj1 = 0 ;
2787 PyObject * obj2 = 0 ;
2788 PyObject * obj3 = 0 ;
2789 PyObject * obj4 = 0 ;
2790 PyObject * obj5 = 0 ;
2791 PyObject * obj6 = 0 ;
2792 PyObject * obj7 = 0 ;
2793 PyObject * obj8 = 0 ;
2794 char *kwnames[] = {
2795 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2796 };
2797
2798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2800 if (SWIG_arg_fail(1)) SWIG_fail;
2801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2802 if (SWIG_arg_fail(2)) SWIG_fail;
2803 if (obj2) {
2804 {
2805 arg3 = (int)(SWIG_As_int(obj2));
2806 if (SWIG_arg_fail(3)) SWIG_fail;
2807 }
2808 }
2809 if (obj3) {
2810 {
2811 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2812 if (SWIG_arg_fail(4)) SWIG_fail;
2813 if (arg4 == NULL) {
2814 SWIG_null_ref("wxBitmap");
2815 }
2816 if (SWIG_arg_fail(4)) SWIG_fail;
2817 }
2818 }
2819 if (obj4) {
2820 {
2821 arg5 = &temp5;
2822 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2823 }
2824 }
2825 if (obj5) {
2826 {
2827 arg6 = &temp6;
2828 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2829 }
2830 }
2831 if (obj6) {
2832 {
2833 arg7 = (long)(SWIG_As_long(obj6));
2834 if (SWIG_arg_fail(7)) SWIG_fail;
2835 }
2836 }
2837 if (obj7) {
2838 {
2839 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2840 if (SWIG_arg_fail(8)) SWIG_fail;
2841 if (arg8 == NULL) {
2842 SWIG_null_ref("wxValidator");
2843 }
2844 if (SWIG_arg_fail(8)) SWIG_fail;
2845 }
2846 }
2847 if (obj8) {
2848 {
2849 arg9 = wxString_in_helper(obj8);
2850 if (arg9 == NULL) SWIG_fail;
2851 temp9 = true;
2852 }
2853 }
2854 {
2855 PyThreadState* __tstate = wxPyBeginAllowThreads();
2856 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2857
2858 wxPyEndAllowThreads(__tstate);
2859 if (PyErr_Occurred()) SWIG_fail;
2860 }
2861 {
2862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2863 }
2864 {
2865 if (temp9)
2866 delete arg9;
2867 }
2868 return resultobj;
2869 fail:
2870 {
2871 if (temp9)
2872 delete arg9;
2873 }
2874 return NULL;
2875 }
2876
2877
2878 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2879 PyObject *resultobj;
2880 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2881 wxBitmap result;
2882 PyObject * obj0 = 0 ;
2883 char *kwnames[] = {
2884 (char *) "self", NULL
2885 };
2886
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
2888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2889 if (SWIG_arg_fail(1)) SWIG_fail;
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 result = (arg1)->GetBitmapLabel();
2893
2894 wxPyEndAllowThreads(__tstate);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 }
2897 {
2898 wxBitmap * resultptr;
2899 resultptr = new wxBitmap((wxBitmap &)(result));
2900 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2901 }
2902 return resultobj;
2903 fail:
2904 return NULL;
2905 }
2906
2907
2908 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2909 PyObject *resultobj;
2910 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2911 wxBitmap result;
2912 PyObject * obj0 = 0 ;
2913 char *kwnames[] = {
2914 (char *) "self", NULL
2915 };
2916
2917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
2918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2919 if (SWIG_arg_fail(1)) SWIG_fail;
2920 {
2921 PyThreadState* __tstate = wxPyBeginAllowThreads();
2922 result = (arg1)->GetBitmapDisabled();
2923
2924 wxPyEndAllowThreads(__tstate);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
2927 {
2928 wxBitmap * resultptr;
2929 resultptr = new wxBitmap((wxBitmap &)(result));
2930 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2931 }
2932 return resultobj;
2933 fail:
2934 return NULL;
2935 }
2936
2937
2938 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2939 PyObject *resultobj;
2940 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2941 wxBitmap result;
2942 PyObject * obj0 = 0 ;
2943 char *kwnames[] = {
2944 (char *) "self", NULL
2945 };
2946
2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
2948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2949 if (SWIG_arg_fail(1)) SWIG_fail;
2950 {
2951 PyThreadState* __tstate = wxPyBeginAllowThreads();
2952 result = (arg1)->GetBitmapFocus();
2953
2954 wxPyEndAllowThreads(__tstate);
2955 if (PyErr_Occurred()) SWIG_fail;
2956 }
2957 {
2958 wxBitmap * resultptr;
2959 resultptr = new wxBitmap((wxBitmap &)(result));
2960 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2961 }
2962 return resultobj;
2963 fail:
2964 return NULL;
2965 }
2966
2967
2968 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
2969 PyObject *resultobj;
2970 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2971 wxBitmap result;
2972 PyObject * obj0 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "self", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
2978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2979 if (SWIG_arg_fail(1)) SWIG_fail;
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 result = (arg1)->GetBitmapSelected();
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 {
2988 wxBitmap * resultptr;
2989 resultptr = new wxBitmap((wxBitmap &)(result));
2990 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2991 }
2992 return resultobj;
2993 fail:
2994 return NULL;
2995 }
2996
2997
2998 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2999 PyObject *resultobj;
3000 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3001 wxBitmap *arg2 = 0 ;
3002 PyObject * obj0 = 0 ;
3003 PyObject * obj1 = 0 ;
3004 char *kwnames[] = {
3005 (char *) "self",(char *) "bitmap", NULL
3006 };
3007
3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
3009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3010 if (SWIG_arg_fail(1)) SWIG_fail;
3011 {
3012 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3013 if (SWIG_arg_fail(2)) SWIG_fail;
3014 if (arg2 == NULL) {
3015 SWIG_null_ref("wxBitmap");
3016 }
3017 if (SWIG_arg_fail(2)) SWIG_fail;
3018 }
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 Py_INCREF(Py_None); resultobj = Py_None;
3027 return resultobj;
3028 fail:
3029 return NULL;
3030 }
3031
3032
3033 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3034 PyObject *resultobj;
3035 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3036 wxBitmap *arg2 = 0 ;
3037 PyObject * obj0 = 0 ;
3038 PyObject * obj1 = 0 ;
3039 char *kwnames[] = {
3040 (char *) "self",(char *) "bitmap", NULL
3041 };
3042
3043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3045 if (SWIG_arg_fail(1)) SWIG_fail;
3046 {
3047 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3048 if (SWIG_arg_fail(2)) SWIG_fail;
3049 if (arg2 == NULL) {
3050 SWIG_null_ref("wxBitmap");
3051 }
3052 if (SWIG_arg_fail(2)) SWIG_fail;
3053 }
3054 {
3055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3056 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3057
3058 wxPyEndAllowThreads(__tstate);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 }
3061 Py_INCREF(Py_None); resultobj = Py_None;
3062 return resultobj;
3063 fail:
3064 return NULL;
3065 }
3066
3067
3068 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3069 PyObject *resultobj;
3070 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3071 wxBitmap *arg2 = 0 ;
3072 PyObject * obj0 = 0 ;
3073 PyObject * obj1 = 0 ;
3074 char *kwnames[] = {
3075 (char *) "self",(char *) "bitmap", NULL
3076 };
3077
3078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3080 if (SWIG_arg_fail(1)) SWIG_fail;
3081 {
3082 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3083 if (SWIG_arg_fail(2)) SWIG_fail;
3084 if (arg2 == NULL) {
3085 SWIG_null_ref("wxBitmap");
3086 }
3087 if (SWIG_arg_fail(2)) SWIG_fail;
3088 }
3089 {
3090 PyThreadState* __tstate = wxPyBeginAllowThreads();
3091 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3092
3093 wxPyEndAllowThreads(__tstate);
3094 if (PyErr_Occurred()) SWIG_fail;
3095 }
3096 Py_INCREF(Py_None); resultobj = Py_None;
3097 return resultobj;
3098 fail:
3099 return NULL;
3100 }
3101
3102
3103 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3104 PyObject *resultobj;
3105 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3106 wxBitmap *arg2 = 0 ;
3107 PyObject * obj0 = 0 ;
3108 PyObject * obj1 = 0 ;
3109 char *kwnames[] = {
3110 (char *) "self",(char *) "bitmap", NULL
3111 };
3112
3113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3115 if (SWIG_arg_fail(1)) SWIG_fail;
3116 {
3117 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3118 if (SWIG_arg_fail(2)) SWIG_fail;
3119 if (arg2 == NULL) {
3120 SWIG_null_ref("wxBitmap");
3121 }
3122 if (SWIG_arg_fail(2)) SWIG_fail;
3123 }
3124 {
3125 PyThreadState* __tstate = wxPyBeginAllowThreads();
3126 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3127
3128 wxPyEndAllowThreads(__tstate);
3129 if (PyErr_Occurred()) SWIG_fail;
3130 }
3131 Py_INCREF(Py_None); resultobj = Py_None;
3132 return resultobj;
3133 fail:
3134 return NULL;
3135 }
3136
3137
3138 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3139 PyObject *resultobj;
3140 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3141 int arg2 ;
3142 int arg3 ;
3143 PyObject * obj0 = 0 ;
3144 PyObject * obj1 = 0 ;
3145 PyObject * obj2 = 0 ;
3146 char *kwnames[] = {
3147 (char *) "self",(char *) "x",(char *) "y", NULL
3148 };
3149
3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3152 if (SWIG_arg_fail(1)) SWIG_fail;
3153 {
3154 arg2 = (int)(SWIG_As_int(obj1));
3155 if (SWIG_arg_fail(2)) SWIG_fail;
3156 }
3157 {
3158 arg3 = (int)(SWIG_As_int(obj2));
3159 if (SWIG_arg_fail(3)) SWIG_fail;
3160 }
3161 {
3162 PyThreadState* __tstate = wxPyBeginAllowThreads();
3163 (arg1)->SetMargins(arg2,arg3);
3164
3165 wxPyEndAllowThreads(__tstate);
3166 if (PyErr_Occurred()) SWIG_fail;
3167 }
3168 Py_INCREF(Py_None); resultobj = Py_None;
3169 return resultobj;
3170 fail:
3171 return NULL;
3172 }
3173
3174
3175 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3176 PyObject *resultobj;
3177 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3178 int result;
3179 PyObject * obj0 = 0 ;
3180 char *kwnames[] = {
3181 (char *) "self", NULL
3182 };
3183
3184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3186 if (SWIG_arg_fail(1)) SWIG_fail;
3187 {
3188 PyThreadState* __tstate = wxPyBeginAllowThreads();
3189 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3190
3191 wxPyEndAllowThreads(__tstate);
3192 if (PyErr_Occurred()) SWIG_fail;
3193 }
3194 {
3195 resultobj = SWIG_From_int((int)(result));
3196 }
3197 return resultobj;
3198 fail:
3199 return NULL;
3200 }
3201
3202
3203 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3204 PyObject *resultobj;
3205 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3206 int result;
3207 PyObject * obj0 = 0 ;
3208 char *kwnames[] = {
3209 (char *) "self", NULL
3210 };
3211
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3214 if (SWIG_arg_fail(1)) SWIG_fail;
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3218
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 {
3223 resultobj = SWIG_From_int((int)(result));
3224 }
3225 return resultobj;
3226 fail:
3227 return NULL;
3228 }
3229
3230
3231 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3232 PyObject *obj;
3233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3234 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3235 Py_INCREF(obj);
3236 return Py_BuildValue((char *)"");
3237 }
3238 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3239 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3240 return 1;
3241 }
3242
3243
3244 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3245 PyObject *pyobj;
3246
3247 {
3248 #if wxUSE_UNICODE
3249 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3250 #else
3251 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3252 #endif
3253 }
3254 return pyobj;
3255 }
3256
3257
3258 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj;
3260 wxWindow *arg1 = (wxWindow *) 0 ;
3261 int arg2 = (int) -1 ;
3262 wxString const &arg3_defvalue = wxPyEmptyString ;
3263 wxString *arg3 = (wxString *) &arg3_defvalue ;
3264 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3265 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3266 wxSize const &arg5_defvalue = wxDefaultSize ;
3267 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3268 long arg6 = (long) 0 ;
3269 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3270 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3271 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3272 wxString *arg8 = (wxString *) &arg8_defvalue ;
3273 wxCheckBox *result;
3274 bool temp3 = false ;
3275 wxPoint temp4 ;
3276 wxSize temp5 ;
3277 bool temp8 = false ;
3278 PyObject * obj0 = 0 ;
3279 PyObject * obj1 = 0 ;
3280 PyObject * obj2 = 0 ;
3281 PyObject * obj3 = 0 ;
3282 PyObject * obj4 = 0 ;
3283 PyObject * obj5 = 0 ;
3284 PyObject * obj6 = 0 ;
3285 PyObject * obj7 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3292 if (SWIG_arg_fail(1)) SWIG_fail;
3293 if (obj1) {
3294 {
3295 arg2 = (int)(SWIG_As_int(obj1));
3296 if (SWIG_arg_fail(2)) SWIG_fail;
3297 }
3298 }
3299 if (obj2) {
3300 {
3301 arg3 = wxString_in_helper(obj2);
3302 if (arg3 == NULL) SWIG_fail;
3303 temp3 = true;
3304 }
3305 }
3306 if (obj3) {
3307 {
3308 arg4 = &temp4;
3309 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3310 }
3311 }
3312 if (obj4) {
3313 {
3314 arg5 = &temp5;
3315 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3316 }
3317 }
3318 if (obj5) {
3319 {
3320 arg6 = (long)(SWIG_As_long(obj5));
3321 if (SWIG_arg_fail(6)) SWIG_fail;
3322 }
3323 }
3324 if (obj6) {
3325 {
3326 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3327 if (SWIG_arg_fail(7)) SWIG_fail;
3328 if (arg7 == NULL) {
3329 SWIG_null_ref("wxValidator");
3330 }
3331 if (SWIG_arg_fail(7)) SWIG_fail;
3332 }
3333 }
3334 if (obj7) {
3335 {
3336 arg8 = wxString_in_helper(obj7);
3337 if (arg8 == NULL) SWIG_fail;
3338 temp8 = true;
3339 }
3340 }
3341 {
3342 if (!wxPyCheckForApp()) SWIG_fail;
3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
3344 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3345
3346 wxPyEndAllowThreads(__tstate);
3347 if (PyErr_Occurred()) SWIG_fail;
3348 }
3349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3350 {
3351 if (temp3)
3352 delete arg3;
3353 }
3354 {
3355 if (temp8)
3356 delete arg8;
3357 }
3358 return resultobj;
3359 fail:
3360 {
3361 if (temp3)
3362 delete arg3;
3363 }
3364 {
3365 if (temp8)
3366 delete arg8;
3367 }
3368 return NULL;
3369 }
3370
3371
3372 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3373 PyObject *resultobj;
3374 wxCheckBox *result;
3375 char *kwnames[] = {
3376 NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3380 {
3381 if (!wxPyCheckForApp()) SWIG_fail;
3382 PyThreadState* __tstate = wxPyBeginAllowThreads();
3383 result = (wxCheckBox *)new wxCheckBox();
3384
3385 wxPyEndAllowThreads(__tstate);
3386 if (PyErr_Occurred()) SWIG_fail;
3387 }
3388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3389 return resultobj;
3390 fail:
3391 return NULL;
3392 }
3393
3394
3395 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3396 PyObject *resultobj;
3397 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3398 wxWindow *arg2 = (wxWindow *) 0 ;
3399 int arg3 = (int) -1 ;
3400 wxString const &arg4_defvalue = wxPyEmptyString ;
3401 wxString *arg4 = (wxString *) &arg4_defvalue ;
3402 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3403 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3404 wxSize const &arg6_defvalue = wxDefaultSize ;
3405 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3406 long arg7 = (long) 0 ;
3407 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3408 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3409 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3410 wxString *arg9 = (wxString *) &arg9_defvalue ;
3411 bool result;
3412 bool temp4 = false ;
3413 wxPoint temp5 ;
3414 wxSize temp6 ;
3415 bool temp9 = false ;
3416 PyObject * obj0 = 0 ;
3417 PyObject * obj1 = 0 ;
3418 PyObject * obj2 = 0 ;
3419 PyObject * obj3 = 0 ;
3420 PyObject * obj4 = 0 ;
3421 PyObject * obj5 = 0 ;
3422 PyObject * obj6 = 0 ;
3423 PyObject * obj7 = 0 ;
3424 PyObject * obj8 = 0 ;
3425 char *kwnames[] = {
3426 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3427 };
3428
3429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3431 if (SWIG_arg_fail(1)) SWIG_fail;
3432 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3433 if (SWIG_arg_fail(2)) SWIG_fail;
3434 if (obj2) {
3435 {
3436 arg3 = (int)(SWIG_As_int(obj2));
3437 if (SWIG_arg_fail(3)) SWIG_fail;
3438 }
3439 }
3440 if (obj3) {
3441 {
3442 arg4 = wxString_in_helper(obj3);
3443 if (arg4 == NULL) SWIG_fail;
3444 temp4 = true;
3445 }
3446 }
3447 if (obj4) {
3448 {
3449 arg5 = &temp5;
3450 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3451 }
3452 }
3453 if (obj5) {
3454 {
3455 arg6 = &temp6;
3456 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3457 }
3458 }
3459 if (obj6) {
3460 {
3461 arg7 = (long)(SWIG_As_long(obj6));
3462 if (SWIG_arg_fail(7)) SWIG_fail;
3463 }
3464 }
3465 if (obj7) {
3466 {
3467 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3468 if (SWIG_arg_fail(8)) SWIG_fail;
3469 if (arg8 == NULL) {
3470 SWIG_null_ref("wxValidator");
3471 }
3472 if (SWIG_arg_fail(8)) SWIG_fail;
3473 }
3474 }
3475 if (obj8) {
3476 {
3477 arg9 = wxString_in_helper(obj8);
3478 if (arg9 == NULL) SWIG_fail;
3479 temp9 = true;
3480 }
3481 }
3482 {
3483 PyThreadState* __tstate = wxPyBeginAllowThreads();
3484 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3485
3486 wxPyEndAllowThreads(__tstate);
3487 if (PyErr_Occurred()) SWIG_fail;
3488 }
3489 {
3490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3491 }
3492 {
3493 if (temp4)
3494 delete arg4;
3495 }
3496 {
3497 if (temp9)
3498 delete arg9;
3499 }
3500 return resultobj;
3501 fail:
3502 {
3503 if (temp4)
3504 delete arg4;
3505 }
3506 {
3507 if (temp9)
3508 delete arg9;
3509 }
3510 return NULL;
3511 }
3512
3513
3514 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3515 PyObject *resultobj;
3516 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3517 bool result;
3518 PyObject * obj0 = 0 ;
3519 char *kwnames[] = {
3520 (char *) "self", NULL
3521 };
3522
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3525 if (SWIG_arg_fail(1)) SWIG_fail;
3526 {
3527 PyThreadState* __tstate = wxPyBeginAllowThreads();
3528 result = (bool)(arg1)->GetValue();
3529
3530 wxPyEndAllowThreads(__tstate);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
3533 {
3534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3535 }
3536 return resultobj;
3537 fail:
3538 return NULL;
3539 }
3540
3541
3542 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj;
3544 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3545 bool result;
3546 PyObject * obj0 = 0 ;
3547 char *kwnames[] = {
3548 (char *) "self", NULL
3549 };
3550
3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3553 if (SWIG_arg_fail(1)) SWIG_fail;
3554 {
3555 PyThreadState* __tstate = wxPyBeginAllowThreads();
3556 result = (bool)(arg1)->IsChecked();
3557
3558 wxPyEndAllowThreads(__tstate);
3559 if (PyErr_Occurred()) SWIG_fail;
3560 }
3561 {
3562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3563 }
3564 return resultobj;
3565 fail:
3566 return NULL;
3567 }
3568
3569
3570 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3571 PyObject *resultobj;
3572 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3573 bool arg2 ;
3574 PyObject * obj0 = 0 ;
3575 PyObject * obj1 = 0 ;
3576 char *kwnames[] = {
3577 (char *) "self",(char *) "state", NULL
3578 };
3579
3580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3582 if (SWIG_arg_fail(1)) SWIG_fail;
3583 {
3584 arg2 = (bool const)(SWIG_As_bool(obj1));
3585 if (SWIG_arg_fail(2)) SWIG_fail;
3586 }
3587 {
3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
3589 (arg1)->SetValue(arg2);
3590
3591 wxPyEndAllowThreads(__tstate);
3592 if (PyErr_Occurred()) SWIG_fail;
3593 }
3594 Py_INCREF(Py_None); resultobj = Py_None;
3595 return resultobj;
3596 fail:
3597 return NULL;
3598 }
3599
3600
3601 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3602 PyObject *resultobj;
3603 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3604 wxCheckBoxState result;
3605 PyObject * obj0 = 0 ;
3606 char *kwnames[] = {
3607 (char *) "self", NULL
3608 };
3609
3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail;
3613 {
3614 PyThreadState* __tstate = wxPyBeginAllowThreads();
3615 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
3620 resultobj = SWIG_From_int((result));
3621 return resultobj;
3622 fail:
3623 return NULL;
3624 }
3625
3626
3627 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3630 wxCheckBoxState arg2 ;
3631 PyObject * obj0 = 0 ;
3632 PyObject * obj1 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self",(char *) "state", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3639 if (SWIG_arg_fail(1)) SWIG_fail;
3640 {
3641 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3642 if (SWIG_arg_fail(2)) SWIG_fail;
3643 }
3644 {
3645 PyThreadState* __tstate = wxPyBeginAllowThreads();
3646 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3647
3648 wxPyEndAllowThreads(__tstate);
3649 if (PyErr_Occurred()) SWIG_fail;
3650 }
3651 Py_INCREF(Py_None); resultobj = Py_None;
3652 return resultobj;
3653 fail:
3654 return NULL;
3655 }
3656
3657
3658 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3659 PyObject *resultobj;
3660 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3661 bool result;
3662 PyObject * obj0 = 0 ;
3663 char *kwnames[] = {
3664 (char *) "self", NULL
3665 };
3666
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3669 if (SWIG_arg_fail(1)) SWIG_fail;
3670 {
3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
3672 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3673
3674 wxPyEndAllowThreads(__tstate);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 {
3678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3679 }
3680 return resultobj;
3681 fail:
3682 return NULL;
3683 }
3684
3685
3686 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3687 PyObject *resultobj;
3688 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3689 bool result;
3690 PyObject * obj0 = 0 ;
3691 char *kwnames[] = {
3692 (char *) "self", NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3697 if (SWIG_arg_fail(1)) SWIG_fail;
3698 {
3699 PyThreadState* __tstate = wxPyBeginAllowThreads();
3700 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3701
3702 wxPyEndAllowThreads(__tstate);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 {
3706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3707 }
3708 return resultobj;
3709 fail:
3710 return NULL;
3711 }
3712
3713
3714 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3715 PyObject *resultobj;
3716 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3717 wxVisualAttributes result;
3718 PyObject * obj0 = 0 ;
3719 char *kwnames[] = {
3720 (char *) "variant", NULL
3721 };
3722
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3724 if (obj0) {
3725 {
3726 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3727 if (SWIG_arg_fail(1)) SWIG_fail;
3728 }
3729 }
3730 {
3731 if (!wxPyCheckForApp()) SWIG_fail;
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3734
3735 wxPyEndAllowThreads(__tstate);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 {
3739 wxVisualAttributes * resultptr;
3740 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3742 }
3743 return resultobj;
3744 fail:
3745 return NULL;
3746 }
3747
3748
3749 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3750 PyObject *obj;
3751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3752 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3753 Py_INCREF(obj);
3754 return Py_BuildValue((char *)"");
3755 }
3756 static int _wrap_ChoiceNameStr_set(PyObject *) {
3757 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3758 return 1;
3759 }
3760
3761
3762 static PyObject *_wrap_ChoiceNameStr_get(void) {
3763 PyObject *pyobj;
3764
3765 {
3766 #if wxUSE_UNICODE
3767 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3768 #else
3769 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3770 #endif
3771 }
3772 return pyobj;
3773 }
3774
3775
3776 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3777 PyObject *resultobj;
3778 wxWindow *arg1 = (wxWindow *) 0 ;
3779 int arg2 = (int) -1 ;
3780 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3781 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3782 wxSize const &arg4_defvalue = wxDefaultSize ;
3783 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3784 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3785 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3786 long arg6 = (long) 0 ;
3787 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3788 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3789 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3790 wxString *arg8 = (wxString *) &arg8_defvalue ;
3791 wxChoice *result;
3792 wxPoint temp3 ;
3793 wxSize temp4 ;
3794 bool temp5 = false ;
3795 bool temp8 = false ;
3796 PyObject * obj0 = 0 ;
3797 PyObject * obj1 = 0 ;
3798 PyObject * obj2 = 0 ;
3799 PyObject * obj3 = 0 ;
3800 PyObject * obj4 = 0 ;
3801 PyObject * obj5 = 0 ;
3802 PyObject * obj6 = 0 ;
3803 PyObject * obj7 = 0 ;
3804 char *kwnames[] = {
3805 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3806 };
3807
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3810 if (SWIG_arg_fail(1)) SWIG_fail;
3811 if (obj1) {
3812 {
3813 arg2 = (int)(SWIG_As_int(obj1));
3814 if (SWIG_arg_fail(2)) SWIG_fail;
3815 }
3816 }
3817 if (obj2) {
3818 {
3819 arg3 = &temp3;
3820 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3821 }
3822 }
3823 if (obj3) {
3824 {
3825 arg4 = &temp4;
3826 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3827 }
3828 }
3829 if (obj4) {
3830 {
3831 if (! PySequence_Check(obj4)) {
3832 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3833 SWIG_fail;
3834 }
3835 arg5 = new wxArrayString;
3836 temp5 = true;
3837 int i, len=PySequence_Length(obj4);
3838 for (i=0; i<len; i++) {
3839 PyObject* item = PySequence_GetItem(obj4, i);
3840 wxString* s = wxString_in_helper(item);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 arg5->Add(*s);
3843 delete s;
3844 Py_DECREF(item);
3845 }
3846 }
3847 }
3848 if (obj5) {
3849 {
3850 arg6 = (long)(SWIG_As_long(obj5));
3851 if (SWIG_arg_fail(6)) SWIG_fail;
3852 }
3853 }
3854 if (obj6) {
3855 {
3856 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3857 if (SWIG_arg_fail(7)) SWIG_fail;
3858 if (arg7 == NULL) {
3859 SWIG_null_ref("wxValidator");
3860 }
3861 if (SWIG_arg_fail(7)) SWIG_fail;
3862 }
3863 }
3864 if (obj7) {
3865 {
3866 arg8 = wxString_in_helper(obj7);
3867 if (arg8 == NULL) SWIG_fail;
3868 temp8 = true;
3869 }
3870 }
3871 {
3872 if (!wxPyCheckForApp()) SWIG_fail;
3873 PyThreadState* __tstate = wxPyBeginAllowThreads();
3874 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3875
3876 wxPyEndAllowThreads(__tstate);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 }
3879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3880 {
3881 if (temp5) delete arg5;
3882 }
3883 {
3884 if (temp8)
3885 delete arg8;
3886 }
3887 return resultobj;
3888 fail:
3889 {
3890 if (temp5) delete arg5;
3891 }
3892 {
3893 if (temp8)
3894 delete arg8;
3895 }
3896 return NULL;
3897 }
3898
3899
3900 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3901 PyObject *resultobj;
3902 wxChoice *result;
3903 char *kwnames[] = {
3904 NULL
3905 };
3906
3907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3908 {
3909 if (!wxPyCheckForApp()) SWIG_fail;
3910 PyThreadState* __tstate = wxPyBeginAllowThreads();
3911 result = (wxChoice *)new wxChoice();
3912
3913 wxPyEndAllowThreads(__tstate);
3914 if (PyErr_Occurred()) SWIG_fail;
3915 }
3916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3917 return resultobj;
3918 fail:
3919 return NULL;
3920 }
3921
3922
3923 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3924 PyObject *resultobj;
3925 wxChoice *arg1 = (wxChoice *) 0 ;
3926 wxWindow *arg2 = (wxWindow *) 0 ;
3927 int arg3 = (int) -1 ;
3928 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3929 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3930 wxSize const &arg5_defvalue = wxDefaultSize ;
3931 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3932 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3933 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3934 long arg7 = (long) 0 ;
3935 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3936 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3937 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3938 wxString *arg9 = (wxString *) &arg9_defvalue ;
3939 bool result;
3940 wxPoint temp4 ;
3941 wxSize temp5 ;
3942 bool temp6 = false ;
3943 bool temp9 = false ;
3944 PyObject * obj0 = 0 ;
3945 PyObject * obj1 = 0 ;
3946 PyObject * obj2 = 0 ;
3947 PyObject * obj3 = 0 ;
3948 PyObject * obj4 = 0 ;
3949 PyObject * obj5 = 0 ;
3950 PyObject * obj6 = 0 ;
3951 PyObject * obj7 = 0 ;
3952 PyObject * obj8 = 0 ;
3953 char *kwnames[] = {
3954 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3955 };
3956
3957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3959 if (SWIG_arg_fail(1)) SWIG_fail;
3960 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3961 if (SWIG_arg_fail(2)) SWIG_fail;
3962 if (obj2) {
3963 {
3964 arg3 = (int)(SWIG_As_int(obj2));
3965 if (SWIG_arg_fail(3)) SWIG_fail;
3966 }
3967 }
3968 if (obj3) {
3969 {
3970 arg4 = &temp4;
3971 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3972 }
3973 }
3974 if (obj4) {
3975 {
3976 arg5 = &temp5;
3977 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3978 }
3979 }
3980 if (obj5) {
3981 {
3982 if (! PySequence_Check(obj5)) {
3983 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3984 SWIG_fail;
3985 }
3986 arg6 = new wxArrayString;
3987 temp6 = true;
3988 int i, len=PySequence_Length(obj5);
3989 for (i=0; i<len; i++) {
3990 PyObject* item = PySequence_GetItem(obj5, i);
3991 wxString* s = wxString_in_helper(item);
3992 if (PyErr_Occurred()) SWIG_fail;
3993 arg6->Add(*s);
3994 delete s;
3995 Py_DECREF(item);
3996 }
3997 }
3998 }
3999 if (obj6) {
4000 {
4001 arg7 = (long)(SWIG_As_long(obj6));
4002 if (SWIG_arg_fail(7)) SWIG_fail;
4003 }
4004 }
4005 if (obj7) {
4006 {
4007 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4008 if (SWIG_arg_fail(8)) SWIG_fail;
4009 if (arg8 == NULL) {
4010 SWIG_null_ref("wxValidator");
4011 }
4012 if (SWIG_arg_fail(8)) SWIG_fail;
4013 }
4014 }
4015 if (obj8) {
4016 {
4017 arg9 = wxString_in_helper(obj8);
4018 if (arg9 == NULL) SWIG_fail;
4019 temp9 = true;
4020 }
4021 }
4022 {
4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
4024 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4025
4026 wxPyEndAllowThreads(__tstate);
4027 if (PyErr_Occurred()) SWIG_fail;
4028 }
4029 {
4030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4031 }
4032 {
4033 if (temp6) delete arg6;
4034 }
4035 {
4036 if (temp9)
4037 delete arg9;
4038 }
4039 return resultobj;
4040 fail:
4041 {
4042 if (temp6) delete arg6;
4043 }
4044 {
4045 if (temp9)
4046 delete arg9;
4047 }
4048 return NULL;
4049 }
4050
4051
4052 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4053 PyObject *resultobj;
4054 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4055 wxVisualAttributes result;
4056 PyObject * obj0 = 0 ;
4057 char *kwnames[] = {
4058 (char *) "variant", NULL
4059 };
4060
4061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4062 if (obj0) {
4063 {
4064 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4065 if (SWIG_arg_fail(1)) SWIG_fail;
4066 }
4067 }
4068 {
4069 if (!wxPyCheckForApp()) SWIG_fail;
4070 PyThreadState* __tstate = wxPyBeginAllowThreads();
4071 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4072
4073 wxPyEndAllowThreads(__tstate);
4074 if (PyErr_Occurred()) SWIG_fail;
4075 }
4076 {
4077 wxVisualAttributes * resultptr;
4078 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4079 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4080 }
4081 return resultobj;
4082 fail:
4083 return NULL;
4084 }
4085
4086
4087 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4088 PyObject *obj;
4089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4090 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4091 Py_INCREF(obj);
4092 return Py_BuildValue((char *)"");
4093 }
4094 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4095 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4096 return 1;
4097 }
4098
4099
4100 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4101 PyObject *pyobj;
4102
4103 {
4104 #if wxUSE_UNICODE
4105 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4106 #else
4107 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4108 #endif
4109 }
4110 return pyobj;
4111 }
4112
4113
4114 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4115 PyObject *resultobj;
4116 wxWindow *arg1 = (wxWindow *) 0 ;
4117 int arg2 = (int) -1 ;
4118 wxString const &arg3_defvalue = wxPyEmptyString ;
4119 wxString *arg3 = (wxString *) &arg3_defvalue ;
4120 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4121 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4122 wxSize const &arg5_defvalue = wxDefaultSize ;
4123 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4124 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4125 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4126 long arg7 = (long) 0 ;
4127 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4128 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4129 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4130 wxString *arg9 = (wxString *) &arg9_defvalue ;
4131 wxComboBox *result;
4132 bool temp3 = false ;
4133 wxPoint temp4 ;
4134 wxSize temp5 ;
4135 bool temp6 = false ;
4136 bool temp9 = false ;
4137 PyObject * obj0 = 0 ;
4138 PyObject * obj1 = 0 ;
4139 PyObject * obj2 = 0 ;
4140 PyObject * obj3 = 0 ;
4141 PyObject * obj4 = 0 ;
4142 PyObject * obj5 = 0 ;
4143 PyObject * obj6 = 0 ;
4144 PyObject * obj7 = 0 ;
4145 PyObject * obj8 = 0 ;
4146 char *kwnames[] = {
4147 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4148 };
4149
4150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4152 if (SWIG_arg_fail(1)) SWIG_fail;
4153 if (obj1) {
4154 {
4155 arg2 = (int)(SWIG_As_int(obj1));
4156 if (SWIG_arg_fail(2)) SWIG_fail;
4157 }
4158 }
4159 if (obj2) {
4160 {
4161 arg3 = wxString_in_helper(obj2);
4162 if (arg3 == NULL) SWIG_fail;
4163 temp3 = true;
4164 }
4165 }
4166 if (obj3) {
4167 {
4168 arg4 = &temp4;
4169 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4170 }
4171 }
4172 if (obj4) {
4173 {
4174 arg5 = &temp5;
4175 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4176 }
4177 }
4178 if (obj5) {
4179 {
4180 if (! PySequence_Check(obj5)) {
4181 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4182 SWIG_fail;
4183 }
4184 arg6 = new wxArrayString;
4185 temp6 = true;
4186 int i, len=PySequence_Length(obj5);
4187 for (i=0; i<len; i++) {
4188 PyObject* item = PySequence_GetItem(obj5, i);
4189 wxString* s = wxString_in_helper(item);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 arg6->Add(*s);
4192 delete s;
4193 Py_DECREF(item);
4194 }
4195 }
4196 }
4197 if (obj6) {
4198 {
4199 arg7 = (long)(SWIG_As_long(obj6));
4200 if (SWIG_arg_fail(7)) SWIG_fail;
4201 }
4202 }
4203 if (obj7) {
4204 {
4205 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4206 if (SWIG_arg_fail(8)) SWIG_fail;
4207 if (arg8 == NULL) {
4208 SWIG_null_ref("wxValidator");
4209 }
4210 if (SWIG_arg_fail(8)) SWIG_fail;
4211 }
4212 }
4213 if (obj8) {
4214 {
4215 arg9 = wxString_in_helper(obj8);
4216 if (arg9 == NULL) SWIG_fail;
4217 temp9 = true;
4218 }
4219 }
4220 {
4221 if (!wxPyCheckForApp()) SWIG_fail;
4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4223 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);
4224
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4229 {
4230 if (temp3)
4231 delete arg3;
4232 }
4233 {
4234 if (temp6) delete arg6;
4235 }
4236 {
4237 if (temp9)
4238 delete arg9;
4239 }
4240 return resultobj;
4241 fail:
4242 {
4243 if (temp3)
4244 delete arg3;
4245 }
4246 {
4247 if (temp6) delete arg6;
4248 }
4249 {
4250 if (temp9)
4251 delete arg9;
4252 }
4253 return NULL;
4254 }
4255
4256
4257 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4258 PyObject *resultobj;
4259 wxComboBox *result;
4260 char *kwnames[] = {
4261 NULL
4262 };
4263
4264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4265 {
4266 if (!wxPyCheckForApp()) SWIG_fail;
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 result = (wxComboBox *)new wxComboBox();
4269
4270 wxPyEndAllowThreads(__tstate);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4274 return resultobj;
4275 fail:
4276 return NULL;
4277 }
4278
4279
4280 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4281 PyObject *resultobj;
4282 wxComboBox *arg1 = (wxComboBox *) 0 ;
4283 wxWindow *arg2 = (wxWindow *) 0 ;
4284 int arg3 = (int) -1 ;
4285 wxString const &arg4_defvalue = wxPyEmptyString ;
4286 wxString *arg4 = (wxString *) &arg4_defvalue ;
4287 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4288 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4289 wxSize const &arg6_defvalue = wxDefaultSize ;
4290 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4291 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4292 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4293 long arg8 = (long) 0 ;
4294 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4295 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4296 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4297 wxString *arg10 = (wxString *) &arg10_defvalue ;
4298 bool result;
4299 bool temp4 = false ;
4300 wxPoint temp5 ;
4301 wxSize temp6 ;
4302 bool temp7 = false ;
4303 bool temp10 = false ;
4304 PyObject * obj0 = 0 ;
4305 PyObject * obj1 = 0 ;
4306 PyObject * obj2 = 0 ;
4307 PyObject * obj3 = 0 ;
4308 PyObject * obj4 = 0 ;
4309 PyObject * obj5 = 0 ;
4310 PyObject * obj6 = 0 ;
4311 PyObject * obj7 = 0 ;
4312 PyObject * obj8 = 0 ;
4313 PyObject * obj9 = 0 ;
4314 char *kwnames[] = {
4315 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4316 };
4317
4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4320 if (SWIG_arg_fail(1)) SWIG_fail;
4321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4322 if (SWIG_arg_fail(2)) SWIG_fail;
4323 if (obj2) {
4324 {
4325 arg3 = (int)(SWIG_As_int(obj2));
4326 if (SWIG_arg_fail(3)) SWIG_fail;
4327 }
4328 }
4329 if (obj3) {
4330 {
4331 arg4 = wxString_in_helper(obj3);
4332 if (arg4 == NULL) SWIG_fail;
4333 temp4 = true;
4334 }
4335 }
4336 if (obj4) {
4337 {
4338 arg5 = &temp5;
4339 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4340 }
4341 }
4342 if (obj5) {
4343 {
4344 arg6 = &temp6;
4345 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4346 }
4347 }
4348 if (obj6) {
4349 {
4350 if (! PySequence_Check(obj6)) {
4351 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4352 SWIG_fail;
4353 }
4354 arg7 = new wxArrayString;
4355 temp7 = true;
4356 int i, len=PySequence_Length(obj6);
4357 for (i=0; i<len; i++) {
4358 PyObject* item = PySequence_GetItem(obj6, i);
4359 wxString* s = wxString_in_helper(item);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 arg7->Add(*s);
4362 delete s;
4363 Py_DECREF(item);
4364 }
4365 }
4366 }
4367 if (obj7) {
4368 {
4369 arg8 = (long)(SWIG_As_long(obj7));
4370 if (SWIG_arg_fail(8)) SWIG_fail;
4371 }
4372 }
4373 if (obj8) {
4374 {
4375 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4376 if (SWIG_arg_fail(9)) SWIG_fail;
4377 if (arg9 == NULL) {
4378 SWIG_null_ref("wxValidator");
4379 }
4380 if (SWIG_arg_fail(9)) SWIG_fail;
4381 }
4382 }
4383 if (obj9) {
4384 {
4385 arg10 = wxString_in_helper(obj9);
4386 if (arg10 == NULL) SWIG_fail;
4387 temp10 = true;
4388 }
4389 }
4390 {
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
4392 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);
4393
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4397 {
4398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4399 }
4400 {
4401 if (temp4)
4402 delete arg4;
4403 }
4404 {
4405 if (temp7) delete arg7;
4406 }
4407 {
4408 if (temp10)
4409 delete arg10;
4410 }
4411 return resultobj;
4412 fail:
4413 {
4414 if (temp4)
4415 delete arg4;
4416 }
4417 {
4418 if (temp7) delete arg7;
4419 }
4420 {
4421 if (temp10)
4422 delete arg10;
4423 }
4424 return NULL;
4425 }
4426
4427
4428 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4429 PyObject *resultobj;
4430 wxComboBox *arg1 = (wxComboBox *) 0 ;
4431 wxString result;
4432 PyObject * obj0 = 0 ;
4433 char *kwnames[] = {
4434 (char *) "self", NULL
4435 };
4436
4437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4439 if (SWIG_arg_fail(1)) SWIG_fail;
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 result = ((wxComboBox const *)arg1)->GetValue();
4443
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 {
4448 #if wxUSE_UNICODE
4449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4450 #else
4451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4452 #endif
4453 }
4454 return resultobj;
4455 fail:
4456 return NULL;
4457 }
4458
4459
4460 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4461 PyObject *resultobj;
4462 wxComboBox *arg1 = (wxComboBox *) 0 ;
4463 wxString *arg2 = 0 ;
4464 bool temp2 = false ;
4465 PyObject * obj0 = 0 ;
4466 PyObject * obj1 = 0 ;
4467 char *kwnames[] = {
4468 (char *) "self",(char *) "value", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail;
4474 {
4475 arg2 = wxString_in_helper(obj1);
4476 if (arg2 == NULL) SWIG_fail;
4477 temp2 = true;
4478 }
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 (arg1)->SetValue((wxString const &)*arg2);
4482
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 Py_INCREF(Py_None); resultobj = Py_None;
4487 {
4488 if (temp2)
4489 delete arg2;
4490 }
4491 return resultobj;
4492 fail:
4493 {
4494 if (temp2)
4495 delete arg2;
4496 }
4497 return NULL;
4498 }
4499
4500
4501 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxComboBox *arg1 = (wxComboBox *) 0 ;
4504 PyObject * obj0 = 0 ;
4505 char *kwnames[] = {
4506 (char *) "self", NULL
4507 };
4508
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4511 if (SWIG_arg_fail(1)) SWIG_fail;
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 (arg1)->Copy();
4515
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 Py_INCREF(Py_None); resultobj = Py_None;
4520 return resultobj;
4521 fail:
4522 return NULL;
4523 }
4524
4525
4526 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj;
4528 wxComboBox *arg1 = (wxComboBox *) 0 ;
4529 PyObject * obj0 = 0 ;
4530 char *kwnames[] = {
4531 (char *) "self", NULL
4532 };
4533
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4536 if (SWIG_arg_fail(1)) SWIG_fail;
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 (arg1)->Cut();
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 Py_INCREF(Py_None); resultobj = Py_None;
4545 return resultobj;
4546 fail:
4547 return NULL;
4548 }
4549
4550
4551 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4552 PyObject *resultobj;
4553 wxComboBox *arg1 = (wxComboBox *) 0 ;
4554 PyObject * obj0 = 0 ;
4555 char *kwnames[] = {
4556 (char *) "self", NULL
4557 };
4558
4559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4561 if (SWIG_arg_fail(1)) SWIG_fail;
4562 {
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 (arg1)->Paste();
4565
4566 wxPyEndAllowThreads(__tstate);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4569 Py_INCREF(Py_None); resultobj = Py_None;
4570 return resultobj;
4571 fail:
4572 return NULL;
4573 }
4574
4575
4576 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4577 PyObject *resultobj;
4578 wxComboBox *arg1 = (wxComboBox *) 0 ;
4579 long arg2 ;
4580 PyObject * obj0 = 0 ;
4581 PyObject * obj1 = 0 ;
4582 char *kwnames[] = {
4583 (char *) "self",(char *) "pos", NULL
4584 };
4585
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4588 if (SWIG_arg_fail(1)) SWIG_fail;
4589 {
4590 arg2 = (long)(SWIG_As_long(obj1));
4591 if (SWIG_arg_fail(2)) SWIG_fail;
4592 }
4593 {
4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4595 (arg1)->SetInsertionPoint(arg2);
4596
4597 wxPyEndAllowThreads(__tstate);
4598 if (PyErr_Occurred()) SWIG_fail;
4599 }
4600 Py_INCREF(Py_None); resultobj = Py_None;
4601 return resultobj;
4602 fail:
4603 return NULL;
4604 }
4605
4606
4607 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4608 PyObject *resultobj;
4609 wxComboBox *arg1 = (wxComboBox *) 0 ;
4610 long result;
4611 PyObject * obj0 = 0 ;
4612 char *kwnames[] = {
4613 (char *) "self", NULL
4614 };
4615
4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4618 if (SWIG_arg_fail(1)) SWIG_fail;
4619 {
4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
4621 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4622
4623 wxPyEndAllowThreads(__tstate);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
4626 {
4627 resultobj = SWIG_From_long((long)(result));
4628 }
4629 return resultobj;
4630 fail:
4631 return NULL;
4632 }
4633
4634
4635 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4636 PyObject *resultobj;
4637 wxComboBox *arg1 = (wxComboBox *) 0 ;
4638 long result;
4639 PyObject * obj0 = 0 ;
4640 char *kwnames[] = {
4641 (char *) "self", NULL
4642 };
4643
4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4646 if (SWIG_arg_fail(1)) SWIG_fail;
4647 {
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4650
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 }
4654 {
4655 resultobj = SWIG_From_long((long)(result));
4656 }
4657 return resultobj;
4658 fail:
4659 return NULL;
4660 }
4661
4662
4663 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4664 PyObject *resultobj;
4665 wxComboBox *arg1 = (wxComboBox *) 0 ;
4666 long arg2 ;
4667 long arg3 ;
4668 wxString *arg4 = 0 ;
4669 bool temp4 = false ;
4670 PyObject * obj0 = 0 ;
4671 PyObject * obj1 = 0 ;
4672 PyObject * obj2 = 0 ;
4673 PyObject * obj3 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4680 if (SWIG_arg_fail(1)) SWIG_fail;
4681 {
4682 arg2 = (long)(SWIG_As_long(obj1));
4683 if (SWIG_arg_fail(2)) SWIG_fail;
4684 }
4685 {
4686 arg3 = (long)(SWIG_As_long(obj2));
4687 if (SWIG_arg_fail(3)) SWIG_fail;
4688 }
4689 {
4690 arg4 = wxString_in_helper(obj3);
4691 if (arg4 == NULL) SWIG_fail;
4692 temp4 = true;
4693 }
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 Py_INCREF(Py_None); resultobj = Py_None;
4702 {
4703 if (temp4)
4704 delete arg4;
4705 }
4706 return resultobj;
4707 fail:
4708 {
4709 if (temp4)
4710 delete arg4;
4711 }
4712 return NULL;
4713 }
4714
4715
4716 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4717 PyObject *resultobj;
4718 wxComboBox *arg1 = (wxComboBox *) 0 ;
4719 int arg2 ;
4720 PyObject * obj0 = 0 ;
4721 PyObject * obj1 = 0 ;
4722 char *kwnames[] = {
4723 (char *) "self",(char *) "n", NULL
4724 };
4725
4726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4728 if (SWIG_arg_fail(1)) SWIG_fail;
4729 {
4730 arg2 = (int)(SWIG_As_int(obj1));
4731 if (SWIG_arg_fail(2)) SWIG_fail;
4732 }
4733 {
4734 PyThreadState* __tstate = wxPyBeginAllowThreads();
4735 (arg1)->SetSelection(arg2);
4736
4737 wxPyEndAllowThreads(__tstate);
4738 if (PyErr_Occurred()) SWIG_fail;
4739 }
4740 Py_INCREF(Py_None); resultobj = Py_None;
4741 return resultobj;
4742 fail:
4743 return NULL;
4744 }
4745
4746
4747 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4748 PyObject *resultobj;
4749 wxComboBox *arg1 = (wxComboBox *) 0 ;
4750 long arg2 ;
4751 long arg3 ;
4752 PyObject * obj0 = 0 ;
4753 PyObject * obj1 = 0 ;
4754 PyObject * obj2 = 0 ;
4755 char *kwnames[] = {
4756 (char *) "self",(char *) "from",(char *) "to", NULL
4757 };
4758
4759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4761 if (SWIG_arg_fail(1)) SWIG_fail;
4762 {
4763 arg2 = (long)(SWIG_As_long(obj1));
4764 if (SWIG_arg_fail(2)) SWIG_fail;
4765 }
4766 {
4767 arg3 = (long)(SWIG_As_long(obj2));
4768 if (SWIG_arg_fail(3)) SWIG_fail;
4769 }
4770 {
4771 PyThreadState* __tstate = wxPyBeginAllowThreads();
4772 (arg1)->SetSelection(arg2,arg3);
4773
4774 wxPyEndAllowThreads(__tstate);
4775 if (PyErr_Occurred()) SWIG_fail;
4776 }
4777 Py_INCREF(Py_None); resultobj = Py_None;
4778 return resultobj;
4779 fail:
4780 return NULL;
4781 }
4782
4783
4784 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4785 PyObject *resultobj;
4786 wxComboBox *arg1 = (wxComboBox *) 0 ;
4787 wxString *arg2 = 0 ;
4788 bool result;
4789 bool temp2 = false ;
4790 PyObject * obj0 = 0 ;
4791 PyObject * obj1 = 0 ;
4792 char *kwnames[] = {
4793 (char *) "self",(char *) "string", NULL
4794 };
4795
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4798 if (SWIG_arg_fail(1)) SWIG_fail;
4799 {
4800 arg2 = wxString_in_helper(obj1);
4801 if (arg2 == NULL) SWIG_fail;
4802 temp2 = true;
4803 }
4804 {
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4807
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 {
4812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4813 }
4814 {
4815 if (temp2)
4816 delete arg2;
4817 }
4818 return resultobj;
4819 fail:
4820 {
4821 if (temp2)
4822 delete arg2;
4823 }
4824 return NULL;
4825 }
4826
4827
4828 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4829 PyObject *resultobj;
4830 wxComboBox *arg1 = (wxComboBox *) 0 ;
4831 int arg2 ;
4832 wxString *arg3 = 0 ;
4833 bool temp3 = false ;
4834 PyObject * obj0 = 0 ;
4835 PyObject * obj1 = 0 ;
4836 PyObject * obj2 = 0 ;
4837 char *kwnames[] = {
4838 (char *) "self",(char *) "n",(char *) "string", NULL
4839 };
4840
4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4843 if (SWIG_arg_fail(1)) SWIG_fail;
4844 {
4845 arg2 = (int)(SWIG_As_int(obj1));
4846 if (SWIG_arg_fail(2)) SWIG_fail;
4847 }
4848 {
4849 arg3 = wxString_in_helper(obj2);
4850 if (arg3 == NULL) SWIG_fail;
4851 temp3 = true;
4852 }
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 (arg1)->SetString(arg2,(wxString const &)*arg3);
4856
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 Py_INCREF(Py_None); resultobj = Py_None;
4861 {
4862 if (temp3)
4863 delete arg3;
4864 }
4865 return resultobj;
4866 fail:
4867 {
4868 if (temp3)
4869 delete arg3;
4870 }
4871 return NULL;
4872 }
4873
4874
4875 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4876 PyObject *resultobj;
4877 wxComboBox *arg1 = (wxComboBox *) 0 ;
4878 bool arg2 ;
4879 PyObject * obj0 = 0 ;
4880 PyObject * obj1 = 0 ;
4881 char *kwnames[] = {
4882 (char *) "self",(char *) "editable", NULL
4883 };
4884
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
4886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4887 if (SWIG_arg_fail(1)) SWIG_fail;
4888 {
4889 arg2 = (bool)(SWIG_As_bool(obj1));
4890 if (SWIG_arg_fail(2)) SWIG_fail;
4891 }
4892 {
4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
4894 (arg1)->SetEditable(arg2);
4895
4896 wxPyEndAllowThreads(__tstate);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 }
4899 Py_INCREF(Py_None); resultobj = Py_None;
4900 return resultobj;
4901 fail:
4902 return NULL;
4903 }
4904
4905
4906 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
4907 PyObject *resultobj;
4908 wxComboBox *arg1 = (wxComboBox *) 0 ;
4909 PyObject * obj0 = 0 ;
4910 char *kwnames[] = {
4911 (char *) "self", NULL
4912 };
4913
4914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
4915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4916 if (SWIG_arg_fail(1)) SWIG_fail;
4917 {
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 (arg1)->SetInsertionPointEnd();
4920
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 Py_INCREF(Py_None); resultobj = Py_None;
4925 return resultobj;
4926 fail:
4927 return NULL;
4928 }
4929
4930
4931 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
4932 PyObject *resultobj;
4933 wxComboBox *arg1 = (wxComboBox *) 0 ;
4934 long arg2 ;
4935 long arg3 ;
4936 PyObject * obj0 = 0 ;
4937 PyObject * obj1 = 0 ;
4938 PyObject * obj2 = 0 ;
4939 char *kwnames[] = {
4940 (char *) "self",(char *) "from",(char *) "to", NULL
4941 };
4942
4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
4944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4945 if (SWIG_arg_fail(1)) SWIG_fail;
4946 {
4947 arg2 = (long)(SWIG_As_long(obj1));
4948 if (SWIG_arg_fail(2)) SWIG_fail;
4949 }
4950 {
4951 arg3 = (long)(SWIG_As_long(obj2));
4952 if (SWIG_arg_fail(3)) SWIG_fail;
4953 }
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 (arg1)->Remove(arg2,arg3);
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 Py_INCREF(Py_None); resultobj = Py_None;
4962 return resultobj;
4963 fail:
4964 return NULL;
4965 }
4966
4967
4968 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4969 PyObject *resultobj;
4970 wxComboBox *arg1 = (wxComboBox *) 0 ;
4971 bool result;
4972 PyObject * obj0 = 0 ;
4973 char *kwnames[] = {
4974 (char *) "self", NULL
4975 };
4976
4977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
4978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4979 if (SWIG_arg_fail(1)) SWIG_fail;
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 result = (bool)((wxComboBox const *)arg1)->IsEditable();
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 {
4988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4989 }
4990 return resultobj;
4991 fail:
4992 return NULL;
4993 }
4994
4995
4996 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
4997 PyObject *resultobj;
4998 wxComboBox *arg1 = (wxComboBox *) 0 ;
4999 PyObject * obj0 = 0 ;
5000 char *kwnames[] = {
5001 (char *) "self", NULL
5002 };
5003
5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5006 if (SWIG_arg_fail(1)) SWIG_fail;
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 (arg1)->Undo();
5010
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 Py_INCREF(Py_None); resultobj = Py_None;
5015 return resultobj;
5016 fail:
5017 return NULL;
5018 }
5019
5020
5021 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj;
5023 wxComboBox *arg1 = (wxComboBox *) 0 ;
5024 PyObject * obj0 = 0 ;
5025 char *kwnames[] = {
5026 (char *) "self", NULL
5027 };
5028
5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5031 if (SWIG_arg_fail(1)) SWIG_fail;
5032 {
5033 PyThreadState* __tstate = wxPyBeginAllowThreads();
5034 (arg1)->Redo();
5035
5036 wxPyEndAllowThreads(__tstate);
5037 if (PyErr_Occurred()) SWIG_fail;
5038 }
5039 Py_INCREF(Py_None); resultobj = Py_None;
5040 return resultobj;
5041 fail:
5042 return NULL;
5043 }
5044
5045
5046 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5047 PyObject *resultobj;
5048 wxComboBox *arg1 = (wxComboBox *) 0 ;
5049 PyObject * obj0 = 0 ;
5050 char *kwnames[] = {
5051 (char *) "self", NULL
5052 };
5053
5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5056 if (SWIG_arg_fail(1)) SWIG_fail;
5057 {
5058 PyThreadState* __tstate = wxPyBeginAllowThreads();
5059 (arg1)->SelectAll();
5060
5061 wxPyEndAllowThreads(__tstate);
5062 if (PyErr_Occurred()) SWIG_fail;
5063 }
5064 Py_INCREF(Py_None); resultobj = Py_None;
5065 return resultobj;
5066 fail:
5067 return NULL;
5068 }
5069
5070
5071 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj;
5073 wxComboBox *arg1 = (wxComboBox *) 0 ;
5074 bool result;
5075 PyObject * obj0 = 0 ;
5076 char *kwnames[] = {
5077 (char *) "self", NULL
5078 };
5079
5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5082 if (SWIG_arg_fail(1)) SWIG_fail;
5083 {
5084 PyThreadState* __tstate = wxPyBeginAllowThreads();
5085 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5086
5087 wxPyEndAllowThreads(__tstate);
5088 if (PyErr_Occurred()) SWIG_fail;
5089 }
5090 {
5091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5092 }
5093 return resultobj;
5094 fail:
5095 return NULL;
5096 }
5097
5098
5099 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5100 PyObject *resultobj;
5101 wxComboBox *arg1 = (wxComboBox *) 0 ;
5102 bool result;
5103 PyObject * obj0 = 0 ;
5104 char *kwnames[] = {
5105 (char *) "self", NULL
5106 };
5107
5108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5110 if (SWIG_arg_fail(1)) SWIG_fail;
5111 {
5112 PyThreadState* __tstate = wxPyBeginAllowThreads();
5113 result = (bool)((wxComboBox const *)arg1)->CanCut();
5114
5115 wxPyEndAllowThreads(__tstate);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 {
5119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5120 }
5121 return resultobj;
5122 fail:
5123 return NULL;
5124 }
5125
5126
5127 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj;
5129 wxComboBox *arg1 = (wxComboBox *) 0 ;
5130 bool result;
5131 PyObject * obj0 = 0 ;
5132 char *kwnames[] = {
5133 (char *) "self", NULL
5134 };
5135
5136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5138 if (SWIG_arg_fail(1)) SWIG_fail;
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 {
5147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5148 }
5149 return resultobj;
5150 fail:
5151 return NULL;
5152 }
5153
5154
5155 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5156 PyObject *resultobj;
5157 wxComboBox *arg1 = (wxComboBox *) 0 ;
5158 bool result;
5159 PyObject * obj0 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5166 if (SWIG_arg_fail(1)) SWIG_fail;
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 {
5175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5176 }
5177 return resultobj;
5178 fail:
5179 return NULL;
5180 }
5181
5182
5183 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5184 PyObject *resultobj;
5185 wxComboBox *arg1 = (wxComboBox *) 0 ;
5186 bool result;
5187 PyObject * obj0 = 0 ;
5188 char *kwnames[] = {
5189 (char *) "self", NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail;
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 {
5203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5204 }
5205 return resultobj;
5206 fail:
5207 return NULL;
5208 }
5209
5210
5211 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj;
5213 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5214 wxVisualAttributes result;
5215 PyObject * obj0 = 0 ;
5216 char *kwnames[] = {
5217 (char *) "variant", NULL
5218 };
5219
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5221 if (obj0) {
5222 {
5223 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5224 if (SWIG_arg_fail(1)) SWIG_fail;
5225 }
5226 }
5227 {
5228 if (!wxPyCheckForApp()) SWIG_fail;
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 {
5236 wxVisualAttributes * resultptr;
5237 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5239 }
5240 return resultobj;
5241 fail:
5242 return NULL;
5243 }
5244
5245
5246 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5247 PyObject *obj;
5248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5249 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5250 Py_INCREF(obj);
5251 return Py_BuildValue((char *)"");
5252 }
5253 static int _wrap_GaugeNameStr_set(PyObject *) {
5254 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5255 return 1;
5256 }
5257
5258
5259 static PyObject *_wrap_GaugeNameStr_get(void) {
5260 PyObject *pyobj;
5261
5262 {
5263 #if wxUSE_UNICODE
5264 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5265 #else
5266 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5267 #endif
5268 }
5269 return pyobj;
5270 }
5271
5272
5273 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5274 PyObject *resultobj;
5275 wxWindow *arg1 = (wxWindow *) 0 ;
5276 int arg2 = (int) -1 ;
5277 int arg3 = (int) 100 ;
5278 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5279 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5280 wxSize const &arg5_defvalue = wxDefaultSize ;
5281 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5282 long arg6 = (long) wxGA_HORIZONTAL ;
5283 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5284 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5285 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5286 wxString *arg8 = (wxString *) &arg8_defvalue ;
5287 wxGauge *result;
5288 wxPoint temp4 ;
5289 wxSize temp5 ;
5290 bool temp8 = false ;
5291 PyObject * obj0 = 0 ;
5292 PyObject * obj1 = 0 ;
5293 PyObject * obj2 = 0 ;
5294 PyObject * obj3 = 0 ;
5295 PyObject * obj4 = 0 ;
5296 PyObject * obj5 = 0 ;
5297 PyObject * obj6 = 0 ;
5298 PyObject * obj7 = 0 ;
5299 char *kwnames[] = {
5300 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5301 };
5302
5303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5305 if (SWIG_arg_fail(1)) SWIG_fail;
5306 if (obj1) {
5307 {
5308 arg2 = (int)(SWIG_As_int(obj1));
5309 if (SWIG_arg_fail(2)) SWIG_fail;
5310 }
5311 }
5312 if (obj2) {
5313 {
5314 arg3 = (int)(SWIG_As_int(obj2));
5315 if (SWIG_arg_fail(3)) SWIG_fail;
5316 }
5317 }
5318 if (obj3) {
5319 {
5320 arg4 = &temp4;
5321 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5322 }
5323 }
5324 if (obj4) {
5325 {
5326 arg5 = &temp5;
5327 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5328 }
5329 }
5330 if (obj5) {
5331 {
5332 arg6 = (long)(SWIG_As_long(obj5));
5333 if (SWIG_arg_fail(6)) SWIG_fail;
5334 }
5335 }
5336 if (obj6) {
5337 {
5338 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5339 if (SWIG_arg_fail(7)) SWIG_fail;
5340 if (arg7 == NULL) {
5341 SWIG_null_ref("wxValidator");
5342 }
5343 if (SWIG_arg_fail(7)) SWIG_fail;
5344 }
5345 }
5346 if (obj7) {
5347 {
5348 arg8 = wxString_in_helper(obj7);
5349 if (arg8 == NULL) SWIG_fail;
5350 temp8 = true;
5351 }
5352 }
5353 {
5354 if (!wxPyCheckForApp()) SWIG_fail;
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5356 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5357
5358 wxPyEndAllowThreads(__tstate);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5362 {
5363 if (temp8)
5364 delete arg8;
5365 }
5366 return resultobj;
5367 fail:
5368 {
5369 if (temp8)
5370 delete arg8;
5371 }
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj;
5378 wxGauge *result;
5379 char *kwnames[] = {
5380 NULL
5381 };
5382
5383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5384 {
5385 if (!wxPyCheckForApp()) SWIG_fail;
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 result = (wxGauge *)new wxGauge();
5388
5389 wxPyEndAllowThreads(__tstate);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 }
5392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5393 return resultobj;
5394 fail:
5395 return NULL;
5396 }
5397
5398
5399 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5400 PyObject *resultobj;
5401 wxGauge *arg1 = (wxGauge *) 0 ;
5402 wxWindow *arg2 = (wxWindow *) 0 ;
5403 int arg3 = (int) -1 ;
5404 int arg4 = (int) 100 ;
5405 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5406 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5407 wxSize const &arg6_defvalue = wxDefaultSize ;
5408 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5409 long arg7 = (long) wxGA_HORIZONTAL ;
5410 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5411 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5412 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5413 wxString *arg9 = (wxString *) &arg9_defvalue ;
5414 bool result;
5415 wxPoint temp5 ;
5416 wxSize temp6 ;
5417 bool temp9 = false ;
5418 PyObject * obj0 = 0 ;
5419 PyObject * obj1 = 0 ;
5420 PyObject * obj2 = 0 ;
5421 PyObject * obj3 = 0 ;
5422 PyObject * obj4 = 0 ;
5423 PyObject * obj5 = 0 ;
5424 PyObject * obj6 = 0 ;
5425 PyObject * obj7 = 0 ;
5426 PyObject * obj8 = 0 ;
5427 char *kwnames[] = {
5428 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5429 };
5430
5431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5433 if (SWIG_arg_fail(1)) SWIG_fail;
5434 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5435 if (SWIG_arg_fail(2)) SWIG_fail;
5436 if (obj2) {
5437 {
5438 arg3 = (int)(SWIG_As_int(obj2));
5439 if (SWIG_arg_fail(3)) SWIG_fail;
5440 }
5441 }
5442 if (obj3) {
5443 {
5444 arg4 = (int)(SWIG_As_int(obj3));
5445 if (SWIG_arg_fail(4)) SWIG_fail;
5446 }
5447 }
5448 if (obj4) {
5449 {
5450 arg5 = &temp5;
5451 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5452 }
5453 }
5454 if (obj5) {
5455 {
5456 arg6 = &temp6;
5457 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5458 }
5459 }
5460 if (obj6) {
5461 {
5462 arg7 = (long)(SWIG_As_long(obj6));
5463 if (SWIG_arg_fail(7)) SWIG_fail;
5464 }
5465 }
5466 if (obj7) {
5467 {
5468 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5469 if (SWIG_arg_fail(8)) SWIG_fail;
5470 if (arg8 == NULL) {
5471 SWIG_null_ref("wxValidator");
5472 }
5473 if (SWIG_arg_fail(8)) SWIG_fail;
5474 }
5475 }
5476 if (obj8) {
5477 {
5478 arg9 = wxString_in_helper(obj8);
5479 if (arg9 == NULL) SWIG_fail;
5480 temp9 = true;
5481 }
5482 }
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5486
5487 wxPyEndAllowThreads(__tstate);
5488 if (PyErr_Occurred()) SWIG_fail;
5489 }
5490 {
5491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5492 }
5493 {
5494 if (temp9)
5495 delete arg9;
5496 }
5497 return resultobj;
5498 fail:
5499 {
5500 if (temp9)
5501 delete arg9;
5502 }
5503 return NULL;
5504 }
5505
5506
5507 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5508 PyObject *resultobj;
5509 wxGauge *arg1 = (wxGauge *) 0 ;
5510 int arg2 ;
5511 PyObject * obj0 = 0 ;
5512 PyObject * obj1 = 0 ;
5513 char *kwnames[] = {
5514 (char *) "self",(char *) "range", NULL
5515 };
5516
5517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5519 if (SWIG_arg_fail(1)) SWIG_fail;
5520 {
5521 arg2 = (int)(SWIG_As_int(obj1));
5522 if (SWIG_arg_fail(2)) SWIG_fail;
5523 }
5524 {
5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
5526 (arg1)->SetRange(arg2);
5527
5528 wxPyEndAllowThreads(__tstate);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 Py_INCREF(Py_None); resultobj = Py_None;
5532 return resultobj;
5533 fail:
5534 return NULL;
5535 }
5536
5537
5538 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5539 PyObject *resultobj;
5540 wxGauge *arg1 = (wxGauge *) 0 ;
5541 int result;
5542 PyObject * obj0 = 0 ;
5543 char *kwnames[] = {
5544 (char *) "self", NULL
5545 };
5546
5547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5549 if (SWIG_arg_fail(1)) SWIG_fail;
5550 {
5551 PyThreadState* __tstate = wxPyBeginAllowThreads();
5552 result = (int)((wxGauge const *)arg1)->GetRange();
5553
5554 wxPyEndAllowThreads(__tstate);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 }
5557 {
5558 resultobj = SWIG_From_int((int)(result));
5559 }
5560 return resultobj;
5561 fail:
5562 return NULL;
5563 }
5564
5565
5566 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5567 PyObject *resultobj;
5568 wxGauge *arg1 = (wxGauge *) 0 ;
5569 int arg2 ;
5570 PyObject * obj0 = 0 ;
5571 PyObject * obj1 = 0 ;
5572 char *kwnames[] = {
5573 (char *) "self",(char *) "pos", NULL
5574 };
5575
5576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5578 if (SWIG_arg_fail(1)) SWIG_fail;
5579 {
5580 arg2 = (int)(SWIG_As_int(obj1));
5581 if (SWIG_arg_fail(2)) SWIG_fail;
5582 }
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 (arg1)->SetValue(arg2);
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
5590 Py_INCREF(Py_None); resultobj = Py_None;
5591 return resultobj;
5592 fail:
5593 return NULL;
5594 }
5595
5596
5597 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5598 PyObject *resultobj;
5599 wxGauge *arg1 = (wxGauge *) 0 ;
5600 int result;
5601 PyObject * obj0 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "self", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5608 if (SWIG_arg_fail(1)) SWIG_fail;
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 result = (int)((wxGauge const *)arg1)->GetValue();
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 {
5617 resultobj = SWIG_From_int((int)(result));
5618 }
5619 return resultobj;
5620 fail:
5621 return NULL;
5622 }
5623
5624
5625 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj;
5627 wxGauge *arg1 = (wxGauge *) 0 ;
5628 bool result;
5629 PyObject * obj0 = 0 ;
5630 char *kwnames[] = {
5631 (char *) "self", NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5636 if (SWIG_arg_fail(1)) SWIG_fail;
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 result = (bool)((wxGauge const *)arg1)->IsVertical();
5640
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 {
5645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5646 }
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxGauge *arg1 = (wxGauge *) 0 ;
5656 int arg2 ;
5657 PyObject * obj0 = 0 ;
5658 PyObject * obj1 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "self",(char *) "w", NULL
5661 };
5662
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5665 if (SWIG_arg_fail(1)) SWIG_fail;
5666 {
5667 arg2 = (int)(SWIG_As_int(obj1));
5668 if (SWIG_arg_fail(2)) SWIG_fail;
5669 }
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 (arg1)->SetShadowWidth(arg2);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 Py_INCREF(Py_None); resultobj = Py_None;
5678 return resultobj;
5679 fail:
5680 return NULL;
5681 }
5682
5683
5684 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxGauge *arg1 = (wxGauge *) 0 ;
5687 int result;
5688 PyObject * obj0 = 0 ;
5689 char *kwnames[] = {
5690 (char *) "self", NULL
5691 };
5692
5693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5695 if (SWIG_arg_fail(1)) SWIG_fail;
5696 {
5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
5698 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5699
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 {
5704 resultobj = SWIG_From_int((int)(result));
5705 }
5706 return resultobj;
5707 fail:
5708 return NULL;
5709 }
5710
5711
5712 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5713 PyObject *resultobj;
5714 wxGauge *arg1 = (wxGauge *) 0 ;
5715 int arg2 ;
5716 PyObject * obj0 = 0 ;
5717 PyObject * obj1 = 0 ;
5718 char *kwnames[] = {
5719 (char *) "self",(char *) "w", NULL
5720 };
5721
5722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5724 if (SWIG_arg_fail(1)) SWIG_fail;
5725 {
5726 arg2 = (int)(SWIG_As_int(obj1));
5727 if (SWIG_arg_fail(2)) SWIG_fail;
5728 }
5729 {
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 (arg1)->SetBezelFace(arg2);
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 Py_INCREF(Py_None); resultobj = Py_None;
5737 return resultobj;
5738 fail:
5739 return NULL;
5740 }
5741
5742
5743 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5744 PyObject *resultobj;
5745 wxGauge *arg1 = (wxGauge *) 0 ;
5746 int result;
5747 PyObject * obj0 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5754 if (SWIG_arg_fail(1)) SWIG_fail;
5755 {
5756 PyThreadState* __tstate = wxPyBeginAllowThreads();
5757 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5758
5759 wxPyEndAllowThreads(__tstate);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 }
5762 {
5763 resultobj = SWIG_From_int((int)(result));
5764 }
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5774 wxVisualAttributes result;
5775 PyObject * obj0 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "variant", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5781 if (obj0) {
5782 {
5783 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5784 if (SWIG_arg_fail(1)) SWIG_fail;
5785 }
5786 }
5787 {
5788 if (!wxPyCheckForApp()) SWIG_fail;
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 {
5796 wxVisualAttributes * resultptr;
5797 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5799 }
5800 return resultobj;
5801 fail:
5802 return NULL;
5803 }
5804
5805
5806 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
5807 PyObject *obj;
5808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5809 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5810 Py_INCREF(obj);
5811 return Py_BuildValue((char *)"");
5812 }
5813 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
5814 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5815 return 1;
5816 }
5817
5818
5819 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
5820 PyObject *pyobj;
5821
5822 {
5823 #if wxUSE_UNICODE
5824 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5825 #else
5826 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5827 #endif
5828 }
5829 return pyobj;
5830 }
5831
5832
5833 static int _wrap_StaticBoxNameStr_set(PyObject *) {
5834 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5835 return 1;
5836 }
5837
5838
5839 static PyObject *_wrap_StaticBoxNameStr_get(void) {
5840 PyObject *pyobj;
5841
5842 {
5843 #if wxUSE_UNICODE
5844 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5845 #else
5846 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5847 #endif
5848 }
5849 return pyobj;
5850 }
5851
5852
5853 static int _wrap_StaticTextNameStr_set(PyObject *) {
5854 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5855 return 1;
5856 }
5857
5858
5859 static PyObject *_wrap_StaticTextNameStr_get(void) {
5860 PyObject *pyobj;
5861
5862 {
5863 #if wxUSE_UNICODE
5864 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5865 #else
5866 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5867 #endif
5868 }
5869 return pyobj;
5870 }
5871
5872
5873 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj;
5875 wxWindow *arg1 = (wxWindow *) 0 ;
5876 int arg2 = (int) -1 ;
5877 wxString const &arg3_defvalue = wxPyEmptyString ;
5878 wxString *arg3 = (wxString *) &arg3_defvalue ;
5879 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5880 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5881 wxSize const &arg5_defvalue = wxDefaultSize ;
5882 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5883 long arg6 = (long) 0 ;
5884 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5885 wxString *arg7 = (wxString *) &arg7_defvalue ;
5886 wxStaticBox *result;
5887 bool temp3 = false ;
5888 wxPoint temp4 ;
5889 wxSize temp5 ;
5890 bool temp7 = false ;
5891 PyObject * obj0 = 0 ;
5892 PyObject * obj1 = 0 ;
5893 PyObject * obj2 = 0 ;
5894 PyObject * obj3 = 0 ;
5895 PyObject * obj4 = 0 ;
5896 PyObject * obj5 = 0 ;
5897 PyObject * obj6 = 0 ;
5898 char *kwnames[] = {
5899 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5904 if (SWIG_arg_fail(1)) SWIG_fail;
5905 if (obj1) {
5906 {
5907 arg2 = (int)(SWIG_As_int(obj1));
5908 if (SWIG_arg_fail(2)) SWIG_fail;
5909 }
5910 }
5911 if (obj2) {
5912 {
5913 arg3 = wxString_in_helper(obj2);
5914 if (arg3 == NULL) SWIG_fail;
5915 temp3 = true;
5916 }
5917 }
5918 if (obj3) {
5919 {
5920 arg4 = &temp4;
5921 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5922 }
5923 }
5924 if (obj4) {
5925 {
5926 arg5 = &temp5;
5927 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5928 }
5929 }
5930 if (obj5) {
5931 {
5932 arg6 = (long)(SWIG_As_long(obj5));
5933 if (SWIG_arg_fail(6)) SWIG_fail;
5934 }
5935 }
5936 if (obj6) {
5937 {
5938 arg7 = wxString_in_helper(obj6);
5939 if (arg7 == NULL) SWIG_fail;
5940 temp7 = true;
5941 }
5942 }
5943 {
5944 if (!wxPyCheckForApp()) SWIG_fail;
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5947
5948 wxPyEndAllowThreads(__tstate);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
5951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
5952 {
5953 if (temp3)
5954 delete arg3;
5955 }
5956 {
5957 if (temp7)
5958 delete arg7;
5959 }
5960 return resultobj;
5961 fail:
5962 {
5963 if (temp3)
5964 delete arg3;
5965 }
5966 {
5967 if (temp7)
5968 delete arg7;
5969 }
5970 return NULL;
5971 }
5972
5973
5974 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5975 PyObject *resultobj;
5976 wxStaticBox *result;
5977 char *kwnames[] = {
5978 NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
5982 {
5983 if (!wxPyCheckForApp()) SWIG_fail;
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
5985 result = (wxStaticBox *)new wxStaticBox();
5986
5987 wxPyEndAllowThreads(__tstate);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 }
5990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
5991 return resultobj;
5992 fail:
5993 return NULL;
5994 }
5995
5996
5997 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5998 PyObject *resultobj;
5999 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6000 wxWindow *arg2 = (wxWindow *) 0 ;
6001 int arg3 = (int) -1 ;
6002 wxString const &arg4_defvalue = wxPyEmptyString ;
6003 wxString *arg4 = (wxString *) &arg4_defvalue ;
6004 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6005 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6006 wxSize const &arg6_defvalue = wxDefaultSize ;
6007 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6008 long arg7 = (long) 0 ;
6009 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6010 wxString *arg8 = (wxString *) &arg8_defvalue ;
6011 bool result;
6012 bool temp4 = false ;
6013 wxPoint temp5 ;
6014 wxSize temp6 ;
6015 bool temp8 = false ;
6016 PyObject * obj0 = 0 ;
6017 PyObject * obj1 = 0 ;
6018 PyObject * obj2 = 0 ;
6019 PyObject * obj3 = 0 ;
6020 PyObject * obj4 = 0 ;
6021 PyObject * obj5 = 0 ;
6022 PyObject * obj6 = 0 ;
6023 PyObject * obj7 = 0 ;
6024 char *kwnames[] = {
6025 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6026 };
6027
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6030 if (SWIG_arg_fail(1)) SWIG_fail;
6031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6032 if (SWIG_arg_fail(2)) SWIG_fail;
6033 if (obj2) {
6034 {
6035 arg3 = (int)(SWIG_As_int(obj2));
6036 if (SWIG_arg_fail(3)) SWIG_fail;
6037 }
6038 }
6039 if (obj3) {
6040 {
6041 arg4 = wxString_in_helper(obj3);
6042 if (arg4 == NULL) SWIG_fail;
6043 temp4 = true;
6044 }
6045 }
6046 if (obj4) {
6047 {
6048 arg5 = &temp5;
6049 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6050 }
6051 }
6052 if (obj5) {
6053 {
6054 arg6 = &temp6;
6055 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6056 }
6057 }
6058 if (obj6) {
6059 {
6060 arg7 = (long)(SWIG_As_long(obj6));
6061 if (SWIG_arg_fail(7)) SWIG_fail;
6062 }
6063 }
6064 if (obj7) {
6065 {
6066 arg8 = wxString_in_helper(obj7);
6067 if (arg8 == NULL) SWIG_fail;
6068 temp8 = true;
6069 }
6070 }
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 {
6079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6080 }
6081 {
6082 if (temp4)
6083 delete arg4;
6084 }
6085 {
6086 if (temp8)
6087 delete arg8;
6088 }
6089 return resultobj;
6090 fail:
6091 {
6092 if (temp4)
6093 delete arg4;
6094 }
6095 {
6096 if (temp8)
6097 delete arg8;
6098 }
6099 return NULL;
6100 }
6101
6102
6103 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6104 PyObject *resultobj;
6105 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6106 wxVisualAttributes result;
6107 PyObject * obj0 = 0 ;
6108 char *kwnames[] = {
6109 (char *) "variant", NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6113 if (obj0) {
6114 {
6115 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6116 if (SWIG_arg_fail(1)) SWIG_fail;
6117 }
6118 }
6119 {
6120 if (!wxPyCheckForApp()) SWIG_fail;
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6123
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 {
6128 wxVisualAttributes * resultptr;
6129 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6130 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6131 }
6132 return resultobj;
6133 fail:
6134 return NULL;
6135 }
6136
6137
6138 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6139 PyObject *obj;
6140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6141 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6142 Py_INCREF(obj);
6143 return Py_BuildValue((char *)"");
6144 }
6145 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxWindow *arg1 = (wxWindow *) 0 ;
6148 int arg2 = (int) -1 ;
6149 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6150 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6151 wxSize const &arg4_defvalue = wxDefaultSize ;
6152 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6153 long arg5 = (long) wxLI_HORIZONTAL ;
6154 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6155 wxString *arg6 = (wxString *) &arg6_defvalue ;
6156 wxStaticLine *result;
6157 wxPoint temp3 ;
6158 wxSize temp4 ;
6159 bool temp6 = false ;
6160 PyObject * obj0 = 0 ;
6161 PyObject * obj1 = 0 ;
6162 PyObject * obj2 = 0 ;
6163 PyObject * obj3 = 0 ;
6164 PyObject * obj4 = 0 ;
6165 PyObject * obj5 = 0 ;
6166 char *kwnames[] = {
6167 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6168 };
6169
6170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6172 if (SWIG_arg_fail(1)) SWIG_fail;
6173 if (obj1) {
6174 {
6175 arg2 = (int)(SWIG_As_int(obj1));
6176 if (SWIG_arg_fail(2)) SWIG_fail;
6177 }
6178 }
6179 if (obj2) {
6180 {
6181 arg3 = &temp3;
6182 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6183 }
6184 }
6185 if (obj3) {
6186 {
6187 arg4 = &temp4;
6188 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6189 }
6190 }
6191 if (obj4) {
6192 {
6193 arg5 = (long)(SWIG_As_long(obj4));
6194 if (SWIG_arg_fail(5)) SWIG_fail;
6195 }
6196 }
6197 if (obj5) {
6198 {
6199 arg6 = wxString_in_helper(obj5);
6200 if (arg6 == NULL) SWIG_fail;
6201 temp6 = true;
6202 }
6203 }
6204 {
6205 if (!wxPyCheckForApp()) SWIG_fail;
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6213 {
6214 if (temp6)
6215 delete arg6;
6216 }
6217 return resultobj;
6218 fail:
6219 {
6220 if (temp6)
6221 delete arg6;
6222 }
6223 return NULL;
6224 }
6225
6226
6227 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6228 PyObject *resultobj;
6229 wxStaticLine *result;
6230 char *kwnames[] = {
6231 NULL
6232 };
6233
6234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6235 {
6236 if (!wxPyCheckForApp()) SWIG_fail;
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 result = (wxStaticLine *)new wxStaticLine();
6239
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6244 return resultobj;
6245 fail:
6246 return NULL;
6247 }
6248
6249
6250 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6251 PyObject *resultobj;
6252 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6253 wxWindow *arg2 = (wxWindow *) 0 ;
6254 int arg3 = (int) -1 ;
6255 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6256 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6257 wxSize const &arg5_defvalue = wxDefaultSize ;
6258 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6259 long arg6 = (long) wxLI_HORIZONTAL ;
6260 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6261 wxString *arg7 = (wxString *) &arg7_defvalue ;
6262 bool result;
6263 wxPoint temp4 ;
6264 wxSize temp5 ;
6265 bool temp7 = false ;
6266 PyObject * obj0 = 0 ;
6267 PyObject * obj1 = 0 ;
6268 PyObject * obj2 = 0 ;
6269 PyObject * obj3 = 0 ;
6270 PyObject * obj4 = 0 ;
6271 PyObject * obj5 = 0 ;
6272 PyObject * obj6 = 0 ;
6273 char *kwnames[] = {
6274 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6275 };
6276
6277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6279 if (SWIG_arg_fail(1)) SWIG_fail;
6280 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6281 if (SWIG_arg_fail(2)) SWIG_fail;
6282 if (obj2) {
6283 {
6284 arg3 = (int)(SWIG_As_int(obj2));
6285 if (SWIG_arg_fail(3)) SWIG_fail;
6286 }
6287 }
6288 if (obj3) {
6289 {
6290 arg4 = &temp4;
6291 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6292 }
6293 }
6294 if (obj4) {
6295 {
6296 arg5 = &temp5;
6297 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6298 }
6299 }
6300 if (obj5) {
6301 {
6302 arg6 = (long)(SWIG_As_long(obj5));
6303 if (SWIG_arg_fail(6)) SWIG_fail;
6304 }
6305 }
6306 if (obj6) {
6307 {
6308 arg7 = wxString_in_helper(obj6);
6309 if (arg7 == NULL) SWIG_fail;
6310 temp7 = true;
6311 }
6312 }
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 {
6321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6322 }
6323 {
6324 if (temp7)
6325 delete arg7;
6326 }
6327 return resultobj;
6328 fail:
6329 {
6330 if (temp7)
6331 delete arg7;
6332 }
6333 return NULL;
6334 }
6335
6336
6337 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6338 PyObject *resultobj;
6339 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6340 bool result;
6341 PyObject * obj0 = 0 ;
6342 char *kwnames[] = {
6343 (char *) "self", NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6348 if (SWIG_arg_fail(1)) SWIG_fail;
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 {
6357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6358 }
6359 return resultobj;
6360 fail:
6361 return NULL;
6362 }
6363
6364
6365 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6366 PyObject *resultobj;
6367 int result;
6368 char *kwnames[] = {
6369 NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6373 {
6374 PyThreadState* __tstate = wxPyBeginAllowThreads();
6375 result = (int)wxStaticLine::GetDefaultSize();
6376
6377 wxPyEndAllowThreads(__tstate);
6378 if (PyErr_Occurred()) SWIG_fail;
6379 }
6380 {
6381 resultobj = SWIG_From_int((int)(result));
6382 }
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6392 wxVisualAttributes result;
6393 PyObject * obj0 = 0 ;
6394 char *kwnames[] = {
6395 (char *) "variant", NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6399 if (obj0) {
6400 {
6401 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6402 if (SWIG_arg_fail(1)) SWIG_fail;
6403 }
6404 }
6405 {
6406 if (!wxPyCheckForApp()) SWIG_fail;
6407 PyThreadState* __tstate = wxPyBeginAllowThreads();
6408 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6409
6410 wxPyEndAllowThreads(__tstate);
6411 if (PyErr_Occurred()) SWIG_fail;
6412 }
6413 {
6414 wxVisualAttributes * resultptr;
6415 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6416 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6417 }
6418 return resultobj;
6419 fail:
6420 return NULL;
6421 }
6422
6423
6424 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6425 PyObject *obj;
6426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6427 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6428 Py_INCREF(obj);
6429 return Py_BuildValue((char *)"");
6430 }
6431 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6432 PyObject *resultobj;
6433 wxWindow *arg1 = (wxWindow *) 0 ;
6434 int arg2 = (int) -1 ;
6435 wxString const &arg3_defvalue = wxPyEmptyString ;
6436 wxString *arg3 = (wxString *) &arg3_defvalue ;
6437 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6438 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6439 wxSize const &arg5_defvalue = wxDefaultSize ;
6440 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6441 long arg6 = (long) 0 ;
6442 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6443 wxString *arg7 = (wxString *) &arg7_defvalue ;
6444 wxStaticText *result;
6445 bool temp3 = false ;
6446 wxPoint temp4 ;
6447 wxSize temp5 ;
6448 bool temp7 = false ;
6449 PyObject * obj0 = 0 ;
6450 PyObject * obj1 = 0 ;
6451 PyObject * obj2 = 0 ;
6452 PyObject * obj3 = 0 ;
6453 PyObject * obj4 = 0 ;
6454 PyObject * obj5 = 0 ;
6455 PyObject * obj6 = 0 ;
6456 char *kwnames[] = {
6457 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6458 };
6459
6460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6462 if (SWIG_arg_fail(1)) SWIG_fail;
6463 if (obj1) {
6464 {
6465 arg2 = (int)(SWIG_As_int(obj1));
6466 if (SWIG_arg_fail(2)) SWIG_fail;
6467 }
6468 }
6469 if (obj2) {
6470 {
6471 arg3 = wxString_in_helper(obj2);
6472 if (arg3 == NULL) SWIG_fail;
6473 temp3 = true;
6474 }
6475 }
6476 if (obj3) {
6477 {
6478 arg4 = &temp4;
6479 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6480 }
6481 }
6482 if (obj4) {
6483 {
6484 arg5 = &temp5;
6485 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6486 }
6487 }
6488 if (obj5) {
6489 {
6490 arg6 = (long)(SWIG_As_long(obj5));
6491 if (SWIG_arg_fail(6)) SWIG_fail;
6492 }
6493 }
6494 if (obj6) {
6495 {
6496 arg7 = wxString_in_helper(obj6);
6497 if (arg7 == NULL) SWIG_fail;
6498 temp7 = true;
6499 }
6500 }
6501 {
6502 if (!wxPyCheckForApp()) SWIG_fail;
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6505
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6510 {
6511 if (temp3)
6512 delete arg3;
6513 }
6514 {
6515 if (temp7)
6516 delete arg7;
6517 }
6518 return resultobj;
6519 fail:
6520 {
6521 if (temp3)
6522 delete arg3;
6523 }
6524 {
6525 if (temp7)
6526 delete arg7;
6527 }
6528 return NULL;
6529 }
6530
6531
6532 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6533 PyObject *resultobj;
6534 wxStaticText *result;
6535 char *kwnames[] = {
6536 NULL
6537 };
6538
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6540 {
6541 if (!wxPyCheckForApp()) SWIG_fail;
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 result = (wxStaticText *)new wxStaticText();
6544
6545 wxPyEndAllowThreads(__tstate);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 }
6548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6549 return resultobj;
6550 fail:
6551 return NULL;
6552 }
6553
6554
6555 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6556 PyObject *resultobj;
6557 wxStaticText *arg1 = (wxStaticText *) 0 ;
6558 wxWindow *arg2 = (wxWindow *) 0 ;
6559 int arg3 = (int) -1 ;
6560 wxString const &arg4_defvalue = wxPyEmptyString ;
6561 wxString *arg4 = (wxString *) &arg4_defvalue ;
6562 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6563 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6564 wxSize const &arg6_defvalue = wxDefaultSize ;
6565 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6566 long arg7 = (long) 0 ;
6567 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6568 wxString *arg8 = (wxString *) &arg8_defvalue ;
6569 bool result;
6570 bool temp4 = false ;
6571 wxPoint temp5 ;
6572 wxSize temp6 ;
6573 bool temp8 = false ;
6574 PyObject * obj0 = 0 ;
6575 PyObject * obj1 = 0 ;
6576 PyObject * obj2 = 0 ;
6577 PyObject * obj3 = 0 ;
6578 PyObject * obj4 = 0 ;
6579 PyObject * obj5 = 0 ;
6580 PyObject * obj6 = 0 ;
6581 PyObject * obj7 = 0 ;
6582 char *kwnames[] = {
6583 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6584 };
6585
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6588 if (SWIG_arg_fail(1)) SWIG_fail;
6589 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6590 if (SWIG_arg_fail(2)) SWIG_fail;
6591 if (obj2) {
6592 {
6593 arg3 = (int)(SWIG_As_int(obj2));
6594 if (SWIG_arg_fail(3)) SWIG_fail;
6595 }
6596 }
6597 if (obj3) {
6598 {
6599 arg4 = wxString_in_helper(obj3);
6600 if (arg4 == NULL) SWIG_fail;
6601 temp4 = true;
6602 }
6603 }
6604 if (obj4) {
6605 {
6606 arg5 = &temp5;
6607 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6608 }
6609 }
6610 if (obj5) {
6611 {
6612 arg6 = &temp6;
6613 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6614 }
6615 }
6616 if (obj6) {
6617 {
6618 arg7 = (long)(SWIG_As_long(obj6));
6619 if (SWIG_arg_fail(7)) SWIG_fail;
6620 }
6621 }
6622 if (obj7) {
6623 {
6624 arg8 = wxString_in_helper(obj7);
6625 if (arg8 == NULL) SWIG_fail;
6626 temp8 = true;
6627 }
6628 }
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6632
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 {
6637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6638 }
6639 {
6640 if (temp4)
6641 delete arg4;
6642 }
6643 {
6644 if (temp8)
6645 delete arg8;
6646 }
6647 return resultobj;
6648 fail:
6649 {
6650 if (temp4)
6651 delete arg4;
6652 }
6653 {
6654 if (temp8)
6655 delete arg8;
6656 }
6657 return NULL;
6658 }
6659
6660
6661 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6662 PyObject *resultobj;
6663 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6664 wxVisualAttributes result;
6665 PyObject * obj0 = 0 ;
6666 char *kwnames[] = {
6667 (char *) "variant", NULL
6668 };
6669
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6671 if (obj0) {
6672 {
6673 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6674 if (SWIG_arg_fail(1)) SWIG_fail;
6675 }
6676 }
6677 {
6678 if (!wxPyCheckForApp()) SWIG_fail;
6679 PyThreadState* __tstate = wxPyBeginAllowThreads();
6680 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6681
6682 wxPyEndAllowThreads(__tstate);
6683 if (PyErr_Occurred()) SWIG_fail;
6684 }
6685 {
6686 wxVisualAttributes * resultptr;
6687 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6688 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6689 }
6690 return resultobj;
6691 fail:
6692 return NULL;
6693 }
6694
6695
6696 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6697 PyObject *obj;
6698 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6699 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6700 Py_INCREF(obj);
6701 return Py_BuildValue((char *)"");
6702 }
6703 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6704 PyObject *resultobj;
6705 wxWindow *arg1 = (wxWindow *) 0 ;
6706 int arg2 = (int) -1 ;
6707 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6708 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6709 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6710 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6711 wxSize const &arg5_defvalue = wxDefaultSize ;
6712 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6713 long arg6 = (long) 0 ;
6714 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6715 wxString *arg7 = (wxString *) &arg7_defvalue ;
6716 wxStaticBitmap *result;
6717 wxPoint temp4 ;
6718 wxSize temp5 ;
6719 bool temp7 = false ;
6720 PyObject * obj0 = 0 ;
6721 PyObject * obj1 = 0 ;
6722 PyObject * obj2 = 0 ;
6723 PyObject * obj3 = 0 ;
6724 PyObject * obj4 = 0 ;
6725 PyObject * obj5 = 0 ;
6726 PyObject * obj6 = 0 ;
6727 char *kwnames[] = {
6728 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6733 if (SWIG_arg_fail(1)) SWIG_fail;
6734 if (obj1) {
6735 {
6736 arg2 = (int)(SWIG_As_int(obj1));
6737 if (SWIG_arg_fail(2)) SWIG_fail;
6738 }
6739 }
6740 if (obj2) {
6741 {
6742 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6743 if (SWIG_arg_fail(3)) SWIG_fail;
6744 if (arg3 == NULL) {
6745 SWIG_null_ref("wxBitmap");
6746 }
6747 if (SWIG_arg_fail(3)) SWIG_fail;
6748 }
6749 }
6750 if (obj3) {
6751 {
6752 arg4 = &temp4;
6753 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6754 }
6755 }
6756 if (obj4) {
6757 {
6758 arg5 = &temp5;
6759 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6760 }
6761 }
6762 if (obj5) {
6763 {
6764 arg6 = (long)(SWIG_As_long(obj5));
6765 if (SWIG_arg_fail(6)) SWIG_fail;
6766 }
6767 }
6768 if (obj6) {
6769 {
6770 arg7 = wxString_in_helper(obj6);
6771 if (arg7 == NULL) SWIG_fail;
6772 temp7 = true;
6773 }
6774 }
6775 {
6776 if (!wxPyCheckForApp()) SWIG_fail;
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6784 {
6785 if (temp7)
6786 delete arg7;
6787 }
6788 return resultobj;
6789 fail:
6790 {
6791 if (temp7)
6792 delete arg7;
6793 }
6794 return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxStaticBitmap *result;
6801 char *kwnames[] = {
6802 NULL
6803 };
6804
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6806 {
6807 if (!wxPyCheckForApp()) SWIG_fail;
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 result = (wxStaticBitmap *)new wxStaticBitmap();
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6815 return resultobj;
6816 fail:
6817 return NULL;
6818 }
6819
6820
6821 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6822 PyObject *resultobj;
6823 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6824 wxWindow *arg2 = (wxWindow *) 0 ;
6825 int arg3 = (int) -1 ;
6826 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6827 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
6828 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6829 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6830 wxSize const &arg6_defvalue = wxDefaultSize ;
6831 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6832 long arg7 = (long) 0 ;
6833 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6834 wxString *arg8 = (wxString *) &arg8_defvalue ;
6835 bool result;
6836 wxPoint temp5 ;
6837 wxSize temp6 ;
6838 bool temp8 = false ;
6839 PyObject * obj0 = 0 ;
6840 PyObject * obj1 = 0 ;
6841 PyObject * obj2 = 0 ;
6842 PyObject * obj3 = 0 ;
6843 PyObject * obj4 = 0 ;
6844 PyObject * obj5 = 0 ;
6845 PyObject * obj6 = 0 ;
6846 PyObject * obj7 = 0 ;
6847 char *kwnames[] = {
6848 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6849 };
6850
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6853 if (SWIG_arg_fail(1)) SWIG_fail;
6854 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6855 if (SWIG_arg_fail(2)) SWIG_fail;
6856 if (obj2) {
6857 {
6858 arg3 = (int)(SWIG_As_int(obj2));
6859 if (SWIG_arg_fail(3)) SWIG_fail;
6860 }
6861 }
6862 if (obj3) {
6863 {
6864 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6865 if (SWIG_arg_fail(4)) SWIG_fail;
6866 if (arg4 == NULL) {
6867 SWIG_null_ref("wxBitmap");
6868 }
6869 if (SWIG_arg_fail(4)) SWIG_fail;
6870 }
6871 }
6872 if (obj4) {
6873 {
6874 arg5 = &temp5;
6875 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6876 }
6877 }
6878 if (obj5) {
6879 {
6880 arg6 = &temp6;
6881 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6882 }
6883 }
6884 if (obj6) {
6885 {
6886 arg7 = (long)(SWIG_As_long(obj6));
6887 if (SWIG_arg_fail(7)) SWIG_fail;
6888 }
6889 }
6890 if (obj7) {
6891 {
6892 arg8 = wxString_in_helper(obj7);
6893 if (arg8 == NULL) SWIG_fail;
6894 temp8 = true;
6895 }
6896 }
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6900
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
6904 {
6905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6906 }
6907 {
6908 if (temp8)
6909 delete arg8;
6910 }
6911 return resultobj;
6912 fail:
6913 {
6914 if (temp8)
6915 delete arg8;
6916 }
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6924 wxBitmap result;
6925 PyObject * obj0 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
6931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6932 if (SWIG_arg_fail(1)) SWIG_fail;
6933 {
6934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6935 result = (arg1)->GetBitmap();
6936
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 {
6941 wxBitmap * resultptr;
6942 resultptr = new wxBitmap((wxBitmap &)(result));
6943 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6944 }
6945 return resultobj;
6946 fail:
6947 return NULL;
6948 }
6949
6950
6951 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6952 PyObject *resultobj;
6953 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6954 wxBitmap *arg2 = 0 ;
6955 PyObject * obj0 = 0 ;
6956 PyObject * obj1 = 0 ;
6957 char *kwnames[] = {
6958 (char *) "self",(char *) "bitmap", NULL
6959 };
6960
6961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6963 if (SWIG_arg_fail(1)) SWIG_fail;
6964 {
6965 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6966 if (SWIG_arg_fail(2)) SWIG_fail;
6967 if (arg2 == NULL) {
6968 SWIG_null_ref("wxBitmap");
6969 }
6970 if (SWIG_arg_fail(2)) SWIG_fail;
6971 }
6972 {
6973 PyThreadState* __tstate = wxPyBeginAllowThreads();
6974 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6975
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 Py_INCREF(Py_None); resultobj = Py_None;
6980 return resultobj;
6981 fail:
6982 return NULL;
6983 }
6984
6985
6986 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6989 wxIcon *arg2 = 0 ;
6990 PyObject * obj0 = 0 ;
6991 PyObject * obj1 = 0 ;
6992 char *kwnames[] = {
6993 (char *) "self",(char *) "icon", NULL
6994 };
6995
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
6997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6998 if (SWIG_arg_fail(1)) SWIG_fail;
6999 {
7000 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7001 if (SWIG_arg_fail(2)) SWIG_fail;
7002 if (arg2 == NULL) {
7003 SWIG_null_ref("wxIcon");
7004 }
7005 if (SWIG_arg_fail(2)) SWIG_fail;
7006 }
7007 {
7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
7009 (arg1)->SetIcon((wxIcon const &)*arg2);
7010
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 }
7014 Py_INCREF(Py_None); resultobj = Py_None;
7015 return resultobj;
7016 fail:
7017 return NULL;
7018 }
7019
7020
7021 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj;
7023 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7024 wxVisualAttributes result;
7025 PyObject * obj0 = 0 ;
7026 char *kwnames[] = {
7027 (char *) "variant", NULL
7028 };
7029
7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7031 if (obj0) {
7032 {
7033 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7034 if (SWIG_arg_fail(1)) SWIG_fail;
7035 }
7036 }
7037 {
7038 if (!wxPyCheckForApp()) SWIG_fail;
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7041
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 {
7046 wxVisualAttributes * resultptr;
7047 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7049 }
7050 return resultobj;
7051 fail:
7052 return NULL;
7053 }
7054
7055
7056 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7057 PyObject *obj;
7058 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7059 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7060 Py_INCREF(obj);
7061 return Py_BuildValue((char *)"");
7062 }
7063 static int _wrap_ListBoxNameStr_set(PyObject *) {
7064 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7065 return 1;
7066 }
7067
7068
7069 static PyObject *_wrap_ListBoxNameStr_get(void) {
7070 PyObject *pyobj;
7071
7072 {
7073 #if wxUSE_UNICODE
7074 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7075 #else
7076 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7077 #endif
7078 }
7079 return pyobj;
7080 }
7081
7082
7083 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj;
7085 wxWindow *arg1 = (wxWindow *) 0 ;
7086 int arg2 = (int) -1 ;
7087 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7088 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7089 wxSize const &arg4_defvalue = wxDefaultSize ;
7090 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7091 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7092 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7093 long arg6 = (long) 0 ;
7094 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7095 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7096 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7097 wxString *arg8 = (wxString *) &arg8_defvalue ;
7098 wxListBox *result;
7099 wxPoint temp3 ;
7100 wxSize temp4 ;
7101 bool temp5 = false ;
7102 bool temp8 = false ;
7103 PyObject * obj0 = 0 ;
7104 PyObject * obj1 = 0 ;
7105 PyObject * obj2 = 0 ;
7106 PyObject * obj3 = 0 ;
7107 PyObject * obj4 = 0 ;
7108 PyObject * obj5 = 0 ;
7109 PyObject * obj6 = 0 ;
7110 PyObject * obj7 = 0 ;
7111 char *kwnames[] = {
7112 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7113 };
7114
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7117 if (SWIG_arg_fail(1)) SWIG_fail;
7118 if (obj1) {
7119 {
7120 arg2 = (int)(SWIG_As_int(obj1));
7121 if (SWIG_arg_fail(2)) SWIG_fail;
7122 }
7123 }
7124 if (obj2) {
7125 {
7126 arg3 = &temp3;
7127 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7128 }
7129 }
7130 if (obj3) {
7131 {
7132 arg4 = &temp4;
7133 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7134 }
7135 }
7136 if (obj4) {
7137 {
7138 if (! PySequence_Check(obj4)) {
7139 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7140 SWIG_fail;
7141 }
7142 arg5 = new wxArrayString;
7143 temp5 = true;
7144 int i, len=PySequence_Length(obj4);
7145 for (i=0; i<len; i++) {
7146 PyObject* item = PySequence_GetItem(obj4, i);
7147 wxString* s = wxString_in_helper(item);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 arg5->Add(*s);
7150 delete s;
7151 Py_DECREF(item);
7152 }
7153 }
7154 }
7155 if (obj5) {
7156 {
7157 arg6 = (long)(SWIG_As_long(obj5));
7158 if (SWIG_arg_fail(6)) SWIG_fail;
7159 }
7160 }
7161 if (obj6) {
7162 {
7163 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7164 if (SWIG_arg_fail(7)) SWIG_fail;
7165 if (arg7 == NULL) {
7166 SWIG_null_ref("wxValidator");
7167 }
7168 if (SWIG_arg_fail(7)) SWIG_fail;
7169 }
7170 }
7171 if (obj7) {
7172 {
7173 arg8 = wxString_in_helper(obj7);
7174 if (arg8 == NULL) SWIG_fail;
7175 temp8 = true;
7176 }
7177 }
7178 {
7179 if (!wxPyCheckForApp()) SWIG_fail;
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7187 {
7188 if (temp5) delete arg5;
7189 }
7190 {
7191 if (temp8)
7192 delete arg8;
7193 }
7194 return resultobj;
7195 fail:
7196 {
7197 if (temp5) delete arg5;
7198 }
7199 {
7200 if (temp8)
7201 delete arg8;
7202 }
7203 return NULL;
7204 }
7205
7206
7207 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7208 PyObject *resultobj;
7209 wxListBox *result;
7210 char *kwnames[] = {
7211 NULL
7212 };
7213
7214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7215 {
7216 if (!wxPyCheckForApp()) SWIG_fail;
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 result = (wxListBox *)new wxListBox();
7219
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7224 return resultobj;
7225 fail:
7226 return NULL;
7227 }
7228
7229
7230 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj;
7232 wxListBox *arg1 = (wxListBox *) 0 ;
7233 wxWindow *arg2 = (wxWindow *) 0 ;
7234 int arg3 = (int) -1 ;
7235 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7236 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7237 wxSize const &arg5_defvalue = wxDefaultSize ;
7238 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7239 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7240 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7241 long arg7 = (long) 0 ;
7242 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7243 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7244 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7245 wxString *arg9 = (wxString *) &arg9_defvalue ;
7246 bool result;
7247 wxPoint temp4 ;
7248 wxSize temp5 ;
7249 bool temp6 = false ;
7250 bool temp9 = false ;
7251 PyObject * obj0 = 0 ;
7252 PyObject * obj1 = 0 ;
7253 PyObject * obj2 = 0 ;
7254 PyObject * obj3 = 0 ;
7255 PyObject * obj4 = 0 ;
7256 PyObject * obj5 = 0 ;
7257 PyObject * obj6 = 0 ;
7258 PyObject * obj7 = 0 ;
7259 PyObject * obj8 = 0 ;
7260 char *kwnames[] = {
7261 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7262 };
7263
7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7266 if (SWIG_arg_fail(1)) SWIG_fail;
7267 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7268 if (SWIG_arg_fail(2)) SWIG_fail;
7269 if (obj2) {
7270 {
7271 arg3 = (int)(SWIG_As_int(obj2));
7272 if (SWIG_arg_fail(3)) SWIG_fail;
7273 }
7274 }
7275 if (obj3) {
7276 {
7277 arg4 = &temp4;
7278 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7279 }
7280 }
7281 if (obj4) {
7282 {
7283 arg5 = &temp5;
7284 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7285 }
7286 }
7287 if (obj5) {
7288 {
7289 if (! PySequence_Check(obj5)) {
7290 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7291 SWIG_fail;
7292 }
7293 arg6 = new wxArrayString;
7294 temp6 = true;
7295 int i, len=PySequence_Length(obj5);
7296 for (i=0; i<len; i++) {
7297 PyObject* item = PySequence_GetItem(obj5, i);
7298 wxString* s = wxString_in_helper(item);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 arg6->Add(*s);
7301 delete s;
7302 Py_DECREF(item);
7303 }
7304 }
7305 }
7306 if (obj6) {
7307 {
7308 arg7 = (long)(SWIG_As_long(obj6));
7309 if (SWIG_arg_fail(7)) SWIG_fail;
7310 }
7311 }
7312 if (obj7) {
7313 {
7314 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7315 if (SWIG_arg_fail(8)) SWIG_fail;
7316 if (arg8 == NULL) {
7317 SWIG_null_ref("wxValidator");
7318 }
7319 if (SWIG_arg_fail(8)) SWIG_fail;
7320 }
7321 }
7322 if (obj8) {
7323 {
7324 arg9 = wxString_in_helper(obj8);
7325 if (arg9 == NULL) SWIG_fail;
7326 temp9 = true;
7327 }
7328 }
7329 {
7330 PyThreadState* __tstate = wxPyBeginAllowThreads();
7331 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7332
7333 wxPyEndAllowThreads(__tstate);
7334 if (PyErr_Occurred()) SWIG_fail;
7335 }
7336 {
7337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7338 }
7339 {
7340 if (temp6) delete arg6;
7341 }
7342 {
7343 if (temp9)
7344 delete arg9;
7345 }
7346 return resultobj;
7347 fail:
7348 {
7349 if (temp6) delete arg6;
7350 }
7351 {
7352 if (temp9)
7353 delete arg9;
7354 }
7355 return NULL;
7356 }
7357
7358
7359 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7360 PyObject *resultobj;
7361 wxListBox *arg1 = (wxListBox *) 0 ;
7362 wxString *arg2 = 0 ;
7363 int arg3 ;
7364 PyObject *arg4 = (PyObject *) NULL ;
7365 bool temp2 = false ;
7366 PyObject * obj0 = 0 ;
7367 PyObject * obj1 = 0 ;
7368 PyObject * obj2 = 0 ;
7369 PyObject * obj3 = 0 ;
7370 char *kwnames[] = {
7371 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7372 };
7373
7374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7376 if (SWIG_arg_fail(1)) SWIG_fail;
7377 {
7378 arg2 = wxString_in_helper(obj1);
7379 if (arg2 == NULL) SWIG_fail;
7380 temp2 = true;
7381 }
7382 {
7383 arg3 = (int)(SWIG_As_int(obj2));
7384 if (SWIG_arg_fail(3)) SWIG_fail;
7385 }
7386 if (obj3) {
7387 arg4 = obj3;
7388 }
7389 {
7390 PyThreadState* __tstate = wxPyBeginAllowThreads();
7391 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7392
7393 wxPyEndAllowThreads(__tstate);
7394 if (PyErr_Occurred()) SWIG_fail;
7395 }
7396 Py_INCREF(Py_None); resultobj = Py_None;
7397 {
7398 if (temp2)
7399 delete arg2;
7400 }
7401 return resultobj;
7402 fail:
7403 {
7404 if (temp2)
7405 delete arg2;
7406 }
7407 return NULL;
7408 }
7409
7410
7411 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7412 PyObject *resultobj;
7413 wxListBox *arg1 = (wxListBox *) 0 ;
7414 wxArrayString *arg2 = 0 ;
7415 int arg3 ;
7416 bool temp2 = false ;
7417 PyObject * obj0 = 0 ;
7418 PyObject * obj1 = 0 ;
7419 PyObject * obj2 = 0 ;
7420 char *kwnames[] = {
7421 (char *) "self",(char *) "items",(char *) "pos", NULL
7422 };
7423
7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7426 if (SWIG_arg_fail(1)) SWIG_fail;
7427 {
7428 if (! PySequence_Check(obj1)) {
7429 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7430 SWIG_fail;
7431 }
7432 arg2 = new wxArrayString;
7433 temp2 = true;
7434 int i, len=PySequence_Length(obj1);
7435 for (i=0; i<len; i++) {
7436 PyObject* item = PySequence_GetItem(obj1, i);
7437 wxString* s = wxString_in_helper(item);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 arg2->Add(*s);
7440 delete s;
7441 Py_DECREF(item);
7442 }
7443 }
7444 {
7445 arg3 = (int)(SWIG_As_int(obj2));
7446 if (SWIG_arg_fail(3)) SWIG_fail;
7447 }
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 Py_INCREF(Py_None); resultobj = Py_None;
7456 {
7457 if (temp2) delete arg2;
7458 }
7459 return resultobj;
7460 fail:
7461 {
7462 if (temp2) delete arg2;
7463 }
7464 return NULL;
7465 }
7466
7467
7468 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj;
7470 wxListBox *arg1 = (wxListBox *) 0 ;
7471 wxArrayString *arg2 = 0 ;
7472 bool temp2 = false ;
7473 PyObject * obj0 = 0 ;
7474 PyObject * obj1 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self",(char *) "items", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail;
7482 {
7483 if (! PySequence_Check(obj1)) {
7484 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7485 SWIG_fail;
7486 }
7487 arg2 = new wxArrayString;
7488 temp2 = true;
7489 int i, len=PySequence_Length(obj1);
7490 for (i=0; i<len; i++) {
7491 PyObject* item = PySequence_GetItem(obj1, i);
7492 wxString* s = wxString_in_helper(item);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 arg2->Add(*s);
7495 delete s;
7496 Py_DECREF(item);
7497 }
7498 }
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 (arg1)->Set((wxArrayString const &)*arg2);
7502
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
7506 Py_INCREF(Py_None); resultobj = Py_None;
7507 {
7508 if (temp2) delete arg2;
7509 }
7510 return resultobj;
7511 fail:
7512 {
7513 if (temp2) delete arg2;
7514 }
7515 return NULL;
7516 }
7517
7518
7519 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj;
7521 wxListBox *arg1 = (wxListBox *) 0 ;
7522 int arg2 ;
7523 bool result;
7524 PyObject * obj0 = 0 ;
7525 PyObject * obj1 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "self",(char *) "n", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7532 if (SWIG_arg_fail(1)) SWIG_fail;
7533 {
7534 arg2 = (int)(SWIG_As_int(obj1));
7535 if (SWIG_arg_fail(2)) SWIG_fail;
7536 }
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7540
7541 wxPyEndAllowThreads(__tstate);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 }
7544 {
7545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7546 }
7547 return resultobj;
7548 fail:
7549 return NULL;
7550 }
7551
7552
7553 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7554 PyObject *resultobj;
7555 wxListBox *arg1 = (wxListBox *) 0 ;
7556 int arg2 ;
7557 bool arg3 = (bool) true ;
7558 PyObject * obj0 = 0 ;
7559 PyObject * obj1 = 0 ;
7560 PyObject * obj2 = 0 ;
7561 char *kwnames[] = {
7562 (char *) "self",(char *) "n",(char *) "select", NULL
7563 };
7564
7565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7567 if (SWIG_arg_fail(1)) SWIG_fail;
7568 {
7569 arg2 = (int)(SWIG_As_int(obj1));
7570 if (SWIG_arg_fail(2)) SWIG_fail;
7571 }
7572 if (obj2) {
7573 {
7574 arg3 = (bool)(SWIG_As_bool(obj2));
7575 if (SWIG_arg_fail(3)) SWIG_fail;
7576 }
7577 }
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 (arg1)->SetSelection(arg2,arg3);
7581
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 Py_INCREF(Py_None); resultobj = Py_None;
7586 return resultobj;
7587 fail:
7588 return NULL;
7589 }
7590
7591
7592 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj;
7594 wxListBox *arg1 = (wxListBox *) 0 ;
7595 int arg2 ;
7596 PyObject * obj0 = 0 ;
7597 PyObject * obj1 = 0 ;
7598 char *kwnames[] = {
7599 (char *) "self",(char *) "n", NULL
7600 };
7601
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7604 if (SWIG_arg_fail(1)) SWIG_fail;
7605 {
7606 arg2 = (int)(SWIG_As_int(obj1));
7607 if (SWIG_arg_fail(2)) SWIG_fail;
7608 }
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 (arg1)->Select(arg2);
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 Py_INCREF(Py_None); resultobj = Py_None;
7617 return resultobj;
7618 fail:
7619 return NULL;
7620 }
7621
7622
7623 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7624 PyObject *resultobj;
7625 wxListBox *arg1 = (wxListBox *) 0 ;
7626 int arg2 ;
7627 PyObject * obj0 = 0 ;
7628 PyObject * obj1 = 0 ;
7629 char *kwnames[] = {
7630 (char *) "self",(char *) "n", NULL
7631 };
7632
7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7635 if (SWIG_arg_fail(1)) SWIG_fail;
7636 {
7637 arg2 = (int)(SWIG_As_int(obj1));
7638 if (SWIG_arg_fail(2)) SWIG_fail;
7639 }
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 (arg1)->Deselect(arg2);
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 Py_INCREF(Py_None); resultobj = Py_None;
7648 return resultobj;
7649 fail:
7650 return NULL;
7651 }
7652
7653
7654 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj;
7656 wxListBox *arg1 = (wxListBox *) 0 ;
7657 int arg2 = (int) -1 ;
7658 PyObject * obj0 = 0 ;
7659 PyObject * obj1 = 0 ;
7660 char *kwnames[] = {
7661 (char *) "self",(char *) "itemToLeaveSelected", NULL
7662 };
7663
7664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7666 if (SWIG_arg_fail(1)) SWIG_fail;
7667 if (obj1) {
7668 {
7669 arg2 = (int)(SWIG_As_int(obj1));
7670 if (SWIG_arg_fail(2)) SWIG_fail;
7671 }
7672 }
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 (arg1)->DeselectAll(arg2);
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 Py_INCREF(Py_None); resultobj = Py_None;
7681 return resultobj;
7682 fail:
7683 return NULL;
7684 }
7685
7686
7687 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxListBox *arg1 = (wxListBox *) 0 ;
7690 wxString *arg2 = 0 ;
7691 bool arg3 = (bool) true ;
7692 bool result;
7693 bool temp2 = false ;
7694 PyObject * obj0 = 0 ;
7695 PyObject * obj1 = 0 ;
7696 PyObject * obj2 = 0 ;
7697 char *kwnames[] = {
7698 (char *) "self",(char *) "s",(char *) "select", NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7703 if (SWIG_arg_fail(1)) SWIG_fail;
7704 {
7705 arg2 = wxString_in_helper(obj1);
7706 if (arg2 == NULL) SWIG_fail;
7707 temp2 = true;
7708 }
7709 if (obj2) {
7710 {
7711 arg3 = (bool)(SWIG_As_bool(obj2));
7712 if (SWIG_arg_fail(3)) SWIG_fail;
7713 }
7714 }
7715 {
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7718
7719 wxPyEndAllowThreads(__tstate);
7720 if (PyErr_Occurred()) SWIG_fail;
7721 }
7722 {
7723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7724 }
7725 {
7726 if (temp2)
7727 delete arg2;
7728 }
7729 return resultobj;
7730 fail:
7731 {
7732 if (temp2)
7733 delete arg2;
7734 }
7735 return NULL;
7736 }
7737
7738
7739 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7740 PyObject *resultobj;
7741 wxListBox *arg1 = (wxListBox *) 0 ;
7742 PyObject *result;
7743 PyObject * obj0 = 0 ;
7744 char *kwnames[] = {
7745 (char *) "self", NULL
7746 };
7747
7748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
7749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7750 if (SWIG_arg_fail(1)) SWIG_fail;
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 result = (PyObject *)wxListBox_GetSelections(arg1);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 resultobj = result;
7759 return resultobj;
7760 fail:
7761 return NULL;
7762 }
7763
7764
7765 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7766 PyObject *resultobj;
7767 wxListBox *arg1 = (wxListBox *) 0 ;
7768 int arg2 ;
7769 PyObject * obj0 = 0 ;
7770 PyObject * obj1 = 0 ;
7771 char *kwnames[] = {
7772 (char *) "self",(char *) "n", NULL
7773 };
7774
7775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
7776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7777 if (SWIG_arg_fail(1)) SWIG_fail;
7778 {
7779 arg2 = (int)(SWIG_As_int(obj1));
7780 if (SWIG_arg_fail(2)) SWIG_fail;
7781 }
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 (arg1)->SetFirstItem(arg2);
7785
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 Py_INCREF(Py_None); resultobj = Py_None;
7790 return resultobj;
7791 fail:
7792 return NULL;
7793 }
7794
7795
7796 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7797 PyObject *resultobj;
7798 wxListBox *arg1 = (wxListBox *) 0 ;
7799 wxString *arg2 = 0 ;
7800 bool temp2 = false ;
7801 PyObject * obj0 = 0 ;
7802 PyObject * obj1 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "self",(char *) "s", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) 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 arg2 = wxString_in_helper(obj1);
7812 if (arg2 == NULL) SWIG_fail;
7813 temp2 = true;
7814 }
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 (arg1)->SetFirstItem((wxString const &)*arg2);
7818
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 Py_INCREF(Py_None); resultobj = Py_None;
7823 {
7824 if (temp2)
7825 delete arg2;
7826 }
7827 return resultobj;
7828 fail:
7829 {
7830 if (temp2)
7831 delete arg2;
7832 }
7833 return NULL;
7834 }
7835
7836
7837 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7838 PyObject *resultobj;
7839 wxListBox *arg1 = (wxListBox *) 0 ;
7840 int arg2 ;
7841 PyObject * obj0 = 0 ;
7842 PyObject * obj1 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self",(char *) "n", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail;
7850 {
7851 arg2 = (int)(SWIG_As_int(obj1));
7852 if (SWIG_arg_fail(2)) SWIG_fail;
7853 }
7854 {
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 (arg1)->EnsureVisible(arg2);
7857
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 Py_INCREF(Py_None); resultobj = Py_None;
7862 return resultobj;
7863 fail:
7864 return NULL;
7865 }
7866
7867
7868 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7869 PyObject *resultobj;
7870 wxListBox *arg1 = (wxListBox *) 0 ;
7871 wxString *arg2 = 0 ;
7872 bool temp2 = false ;
7873 PyObject * obj0 = 0 ;
7874 PyObject * obj1 = 0 ;
7875 char *kwnames[] = {
7876 (char *) "self",(char *) "s", NULL
7877 };
7878
7879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7881 if (SWIG_arg_fail(1)) SWIG_fail;
7882 {
7883 arg2 = wxString_in_helper(obj1);
7884 if (arg2 == NULL) SWIG_fail;
7885 temp2 = true;
7886 }
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 Py_INCREF(Py_None); resultobj = Py_None;
7895 {
7896 if (temp2)
7897 delete arg2;
7898 }
7899 return resultobj;
7900 fail:
7901 {
7902 if (temp2)
7903 delete arg2;
7904 }
7905 return NULL;
7906 }
7907
7908
7909 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
7910 PyObject *resultobj;
7911 wxListBox *arg1 = (wxListBox *) 0 ;
7912 bool result;
7913 PyObject * obj0 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "self", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
7919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7920 if (SWIG_arg_fail(1)) SWIG_fail;
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 result = (bool)((wxListBox const *)arg1)->IsSorted();
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 {
7929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7930 }
7931 return resultobj;
7932 fail:
7933 return NULL;
7934 }
7935
7936
7937 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7938 PyObject *resultobj;
7939 wxListBox *arg1 = (wxListBox *) 0 ;
7940 int arg2 ;
7941 wxColour *arg3 = 0 ;
7942 wxColour temp3 ;
7943 PyObject * obj0 = 0 ;
7944 PyObject * obj1 = 0 ;
7945 PyObject * obj2 = 0 ;
7946 char *kwnames[] = {
7947 (char *) "self",(char *) "item",(char *) "c", NULL
7948 };
7949
7950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7952 if (SWIG_arg_fail(1)) SWIG_fail;
7953 {
7954 arg2 = (int)(SWIG_As_int(obj1));
7955 if (SWIG_arg_fail(2)) SWIG_fail;
7956 }
7957 {
7958 arg3 = &temp3;
7959 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7960 }
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 Py_INCREF(Py_None); resultobj = Py_None;
7969 return resultobj;
7970 fail:
7971 return NULL;
7972 }
7973
7974
7975 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7976 PyObject *resultobj;
7977 wxListBox *arg1 = (wxListBox *) 0 ;
7978 int arg2 ;
7979 wxColour *arg3 = 0 ;
7980 wxColour temp3 ;
7981 PyObject * obj0 = 0 ;
7982 PyObject * obj1 = 0 ;
7983 PyObject * obj2 = 0 ;
7984 char *kwnames[] = {
7985 (char *) "self",(char *) "item",(char *) "c", NULL
7986 };
7987
7988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7990 if (SWIG_arg_fail(1)) SWIG_fail;
7991 {
7992 arg2 = (int)(SWIG_As_int(obj1));
7993 if (SWIG_arg_fail(2)) SWIG_fail;
7994 }
7995 {
7996 arg3 = &temp3;
7997 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7998 }
7999 {
8000 PyThreadState* __tstate = wxPyBeginAllowThreads();
8001 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8002
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 Py_INCREF(Py_None); resultobj = Py_None;
8007 return resultobj;
8008 fail:
8009 return NULL;
8010 }
8011
8012
8013 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8014 PyObject *resultobj;
8015 wxListBox *arg1 = (wxListBox *) 0 ;
8016 int arg2 ;
8017 wxFont *arg3 = 0 ;
8018 PyObject * obj0 = 0 ;
8019 PyObject * obj1 = 0 ;
8020 PyObject * obj2 = 0 ;
8021 char *kwnames[] = {
8022 (char *) "self",(char *) "item",(char *) "f", NULL
8023 };
8024
8025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8027 if (SWIG_arg_fail(1)) SWIG_fail;
8028 {
8029 arg2 = (int)(SWIG_As_int(obj1));
8030 if (SWIG_arg_fail(2)) SWIG_fail;
8031 }
8032 {
8033 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8034 if (SWIG_arg_fail(3)) SWIG_fail;
8035 if (arg3 == NULL) {
8036 SWIG_null_ref("wxFont");
8037 }
8038 if (SWIG_arg_fail(3)) SWIG_fail;
8039 }
8040 {
8041 PyThreadState* __tstate = wxPyBeginAllowThreads();
8042 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8043
8044 wxPyEndAllowThreads(__tstate);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 }
8047 Py_INCREF(Py_None); resultobj = Py_None;
8048 return resultobj;
8049 fail:
8050 return NULL;
8051 }
8052
8053
8054 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8055 PyObject *resultobj;
8056 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8057 wxVisualAttributes result;
8058 PyObject * obj0 = 0 ;
8059 char *kwnames[] = {
8060 (char *) "variant", NULL
8061 };
8062
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8064 if (obj0) {
8065 {
8066 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8067 if (SWIG_arg_fail(1)) SWIG_fail;
8068 }
8069 }
8070 {
8071 if (!wxPyCheckForApp()) SWIG_fail;
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 {
8079 wxVisualAttributes * resultptr;
8080 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8082 }
8083 return resultobj;
8084 fail:
8085 return NULL;
8086 }
8087
8088
8089 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8090 PyObject *obj;
8091 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8092 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8093 Py_INCREF(obj);
8094 return Py_BuildValue((char *)"");
8095 }
8096 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8097 PyObject *resultobj;
8098 wxWindow *arg1 = (wxWindow *) 0 ;
8099 int arg2 = (int) -1 ;
8100 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8101 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8102 wxSize const &arg4_defvalue = wxDefaultSize ;
8103 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8104 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8105 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8106 long arg6 = (long) 0 ;
8107 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8108 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8109 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8110 wxString *arg8 = (wxString *) &arg8_defvalue ;
8111 wxCheckListBox *result;
8112 wxPoint temp3 ;
8113 wxSize temp4 ;
8114 bool temp5 = false ;
8115 bool temp8 = false ;
8116 PyObject * obj0 = 0 ;
8117 PyObject * obj1 = 0 ;
8118 PyObject * obj2 = 0 ;
8119 PyObject * obj3 = 0 ;
8120 PyObject * obj4 = 0 ;
8121 PyObject * obj5 = 0 ;
8122 PyObject * obj6 = 0 ;
8123 PyObject * obj7 = 0 ;
8124 char *kwnames[] = {
8125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8126 };
8127
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8130 if (SWIG_arg_fail(1)) SWIG_fail;
8131 if (obj1) {
8132 {
8133 arg2 = (int)(SWIG_As_int(obj1));
8134 if (SWIG_arg_fail(2)) SWIG_fail;
8135 }
8136 }
8137 if (obj2) {
8138 {
8139 arg3 = &temp3;
8140 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8141 }
8142 }
8143 if (obj3) {
8144 {
8145 arg4 = &temp4;
8146 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8147 }
8148 }
8149 if (obj4) {
8150 {
8151 if (! PySequence_Check(obj4)) {
8152 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8153 SWIG_fail;
8154 }
8155 arg5 = new wxArrayString;
8156 temp5 = true;
8157 int i, len=PySequence_Length(obj4);
8158 for (i=0; i<len; i++) {
8159 PyObject* item = PySequence_GetItem(obj4, i);
8160 wxString* s = wxString_in_helper(item);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 arg5->Add(*s);
8163 delete s;
8164 Py_DECREF(item);
8165 }
8166 }
8167 }
8168 if (obj5) {
8169 {
8170 arg6 = (long)(SWIG_As_long(obj5));
8171 if (SWIG_arg_fail(6)) SWIG_fail;
8172 }
8173 }
8174 if (obj6) {
8175 {
8176 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8177 if (SWIG_arg_fail(7)) SWIG_fail;
8178 if (arg7 == NULL) {
8179 SWIG_null_ref("wxValidator");
8180 }
8181 if (SWIG_arg_fail(7)) SWIG_fail;
8182 }
8183 }
8184 if (obj7) {
8185 {
8186 arg8 = wxString_in_helper(obj7);
8187 if (arg8 == NULL) SWIG_fail;
8188 temp8 = true;
8189 }
8190 }
8191 {
8192 if (!wxPyCheckForApp()) SWIG_fail;
8193 PyThreadState* __tstate = wxPyBeginAllowThreads();
8194 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8195
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 }
8199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8200 {
8201 if (temp5) delete arg5;
8202 }
8203 {
8204 if (temp8)
8205 delete arg8;
8206 }
8207 return resultobj;
8208 fail:
8209 {
8210 if (temp5) delete arg5;
8211 }
8212 {
8213 if (temp8)
8214 delete arg8;
8215 }
8216 return NULL;
8217 }
8218
8219
8220 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8221 PyObject *resultobj;
8222 wxCheckListBox *result;
8223 char *kwnames[] = {
8224 NULL
8225 };
8226
8227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8228 {
8229 if (!wxPyCheckForApp()) SWIG_fail;
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 result = (wxCheckListBox *)new wxCheckListBox();
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8237 return resultobj;
8238 fail:
8239 return NULL;
8240 }
8241
8242
8243 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8244 PyObject *resultobj;
8245 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8246 wxWindow *arg2 = (wxWindow *) 0 ;
8247 int arg3 = (int) -1 ;
8248 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8249 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8250 wxSize const &arg5_defvalue = wxDefaultSize ;
8251 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8252 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8253 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8254 long arg7 = (long) 0 ;
8255 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8256 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8257 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8258 wxString *arg9 = (wxString *) &arg9_defvalue ;
8259 bool result;
8260 wxPoint temp4 ;
8261 wxSize temp5 ;
8262 bool temp6 = false ;
8263 bool temp9 = false ;
8264 PyObject * obj0 = 0 ;
8265 PyObject * obj1 = 0 ;
8266 PyObject * obj2 = 0 ;
8267 PyObject * obj3 = 0 ;
8268 PyObject * obj4 = 0 ;
8269 PyObject * obj5 = 0 ;
8270 PyObject * obj6 = 0 ;
8271 PyObject * obj7 = 0 ;
8272 PyObject * obj8 = 0 ;
8273 char *kwnames[] = {
8274 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8275 };
8276
8277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8279 if (SWIG_arg_fail(1)) SWIG_fail;
8280 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8281 if (SWIG_arg_fail(2)) SWIG_fail;
8282 if (obj2) {
8283 {
8284 arg3 = (int)(SWIG_As_int(obj2));
8285 if (SWIG_arg_fail(3)) SWIG_fail;
8286 }
8287 }
8288 if (obj3) {
8289 {
8290 arg4 = &temp4;
8291 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8292 }
8293 }
8294 if (obj4) {
8295 {
8296 arg5 = &temp5;
8297 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8298 }
8299 }
8300 if (obj5) {
8301 {
8302 if (! PySequence_Check(obj5)) {
8303 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8304 SWIG_fail;
8305 }
8306 arg6 = new wxArrayString;
8307 temp6 = true;
8308 int i, len=PySequence_Length(obj5);
8309 for (i=0; i<len; i++) {
8310 PyObject* item = PySequence_GetItem(obj5, i);
8311 wxString* s = wxString_in_helper(item);
8312 if (PyErr_Occurred()) SWIG_fail;
8313 arg6->Add(*s);
8314 delete s;
8315 Py_DECREF(item);
8316 }
8317 }
8318 }
8319 if (obj6) {
8320 {
8321 arg7 = (long)(SWIG_As_long(obj6));
8322 if (SWIG_arg_fail(7)) SWIG_fail;
8323 }
8324 }
8325 if (obj7) {
8326 {
8327 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8328 if (SWIG_arg_fail(8)) SWIG_fail;
8329 if (arg8 == NULL) {
8330 SWIG_null_ref("wxValidator");
8331 }
8332 if (SWIG_arg_fail(8)) SWIG_fail;
8333 }
8334 }
8335 if (obj8) {
8336 {
8337 arg9 = wxString_in_helper(obj8);
8338 if (arg9 == NULL) SWIG_fail;
8339 temp9 = true;
8340 }
8341 }
8342 {
8343 PyThreadState* __tstate = wxPyBeginAllowThreads();
8344 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8345
8346 wxPyEndAllowThreads(__tstate);
8347 if (PyErr_Occurred()) SWIG_fail;
8348 }
8349 {
8350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8351 }
8352 {
8353 if (temp6) delete arg6;
8354 }
8355 {
8356 if (temp9)
8357 delete arg9;
8358 }
8359 return resultobj;
8360 fail:
8361 {
8362 if (temp6) delete arg6;
8363 }
8364 {
8365 if (temp9)
8366 delete arg9;
8367 }
8368 return NULL;
8369 }
8370
8371
8372 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8373 PyObject *resultobj;
8374 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8375 int arg2 ;
8376 bool result;
8377 PyObject * obj0 = 0 ;
8378 PyObject * obj1 = 0 ;
8379 char *kwnames[] = {
8380 (char *) "self",(char *) "index", NULL
8381 };
8382
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8385 if (SWIG_arg_fail(1)) SWIG_fail;
8386 {
8387 arg2 = (int)(SWIG_As_int(obj1));
8388 if (SWIG_arg_fail(2)) SWIG_fail;
8389 }
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 result = (bool)(arg1)->IsChecked(arg2);
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 {
8398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8399 }
8400 return resultobj;
8401 fail:
8402 return NULL;
8403 }
8404
8405
8406 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8407 PyObject *resultobj;
8408 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8409 int arg2 ;
8410 int arg3 = (int) true ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 PyObject * obj2 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self",(char *) "index",(char *) "check", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8420 if (SWIG_arg_fail(1)) SWIG_fail;
8421 {
8422 arg2 = (int)(SWIG_As_int(obj1));
8423 if (SWIG_arg_fail(2)) SWIG_fail;
8424 }
8425 if (obj2) {
8426 {
8427 arg3 = (int)(SWIG_As_int(obj2));
8428 if (SWIG_arg_fail(3)) SWIG_fail;
8429 }
8430 }
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 (arg1)->Check(arg2,arg3);
8434
8435 wxPyEndAllowThreads(__tstate);
8436 if (PyErr_Occurred()) SWIG_fail;
8437 }
8438 Py_INCREF(Py_None); resultobj = Py_None;
8439 return resultobj;
8440 fail:
8441 return NULL;
8442 }
8443
8444
8445 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8446 PyObject *resultobj;
8447 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8448 wxPoint *arg2 = 0 ;
8449 int result;
8450 wxPoint temp2 ;
8451 PyObject * obj0 = 0 ;
8452 PyObject * obj1 = 0 ;
8453 char *kwnames[] = {
8454 (char *) "self",(char *) "pt", NULL
8455 };
8456
8457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8459 if (SWIG_arg_fail(1)) SWIG_fail;
8460 {
8461 arg2 = &temp2;
8462 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8463 }
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 {
8472 resultobj = SWIG_From_int((int)(result));
8473 }
8474 return resultobj;
8475 fail:
8476 return NULL;
8477 }
8478
8479
8480 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8481 PyObject *resultobj;
8482 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8483 int arg2 ;
8484 int arg3 ;
8485 int result;
8486 PyObject * obj0 = 0 ;
8487 PyObject * obj1 = 0 ;
8488 PyObject * obj2 = 0 ;
8489 char *kwnames[] = {
8490 (char *) "self",(char *) "x",(char *) "y", NULL
8491 };
8492
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8495 if (SWIG_arg_fail(1)) SWIG_fail;
8496 {
8497 arg2 = (int)(SWIG_As_int(obj1));
8498 if (SWIG_arg_fail(2)) SWIG_fail;
8499 }
8500 {
8501 arg3 = (int)(SWIG_As_int(obj2));
8502 if (SWIG_arg_fail(3)) SWIG_fail;
8503 }
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
8511 {
8512 resultobj = SWIG_From_int((int)(result));
8513 }
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8521 PyObject *obj;
8522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8523 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8524 Py_INCREF(obj);
8525 return Py_BuildValue((char *)"");
8526 }
8527 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8528 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8529 return 1;
8530 }
8531
8532
8533 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8534 PyObject *pyobj;
8535
8536 {
8537 #if wxUSE_UNICODE
8538 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8539 #else
8540 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8541 #endif
8542 }
8543 return pyobj;
8544 }
8545
8546
8547 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8548 PyObject *resultobj;
8549 wxColour const &arg1_defvalue = wxNullColour ;
8550 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8551 wxColour const &arg2_defvalue = wxNullColour ;
8552 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8553 wxFont const &arg3_defvalue = wxNullFont ;
8554 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8555 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8556 wxTextAttr *result;
8557 wxColour temp1 ;
8558 wxColour temp2 ;
8559 PyObject * obj0 = 0 ;
8560 PyObject * obj1 = 0 ;
8561 PyObject * obj2 = 0 ;
8562 PyObject * obj3 = 0 ;
8563 char *kwnames[] = {
8564 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8568 if (obj0) {
8569 {
8570 arg1 = &temp1;
8571 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8572 }
8573 }
8574 if (obj1) {
8575 {
8576 arg2 = &temp2;
8577 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8578 }
8579 }
8580 if (obj2) {
8581 {
8582 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8583 if (SWIG_arg_fail(3)) SWIG_fail;
8584 if (arg3 == NULL) {
8585 SWIG_null_ref("wxFont");
8586 }
8587 if (SWIG_arg_fail(3)) SWIG_fail;
8588 }
8589 }
8590 if (obj3) {
8591 {
8592 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8593 if (SWIG_arg_fail(4)) SWIG_fail;
8594 }
8595 }
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
8603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8604 return resultobj;
8605 fail:
8606 return NULL;
8607 }
8608
8609
8610 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8611 PyObject *resultobj;
8612 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8613 PyObject * obj0 = 0 ;
8614 char *kwnames[] = {
8615 (char *) "self", NULL
8616 };
8617
8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8620 if (SWIG_arg_fail(1)) SWIG_fail;
8621 {
8622 PyThreadState* __tstate = wxPyBeginAllowThreads();
8623 delete arg1;
8624
8625 wxPyEndAllowThreads(__tstate);
8626 if (PyErr_Occurred()) SWIG_fail;
8627 }
8628 Py_INCREF(Py_None); resultobj = Py_None;
8629 return resultobj;
8630 fail:
8631 return NULL;
8632 }
8633
8634
8635 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8636 PyObject *resultobj;
8637 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8638 PyObject * obj0 = 0 ;
8639 char *kwnames[] = {
8640 (char *) "self", NULL
8641 };
8642
8643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8645 if (SWIG_arg_fail(1)) SWIG_fail;
8646 {
8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
8648 (arg1)->Init();
8649
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
8653 Py_INCREF(Py_None); resultobj = Py_None;
8654 return resultobj;
8655 fail:
8656 return NULL;
8657 }
8658
8659
8660 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8661 PyObject *resultobj;
8662 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8663 wxColour *arg2 = 0 ;
8664 wxColour temp2 ;
8665 PyObject * obj0 = 0 ;
8666 PyObject * obj1 = 0 ;
8667 char *kwnames[] = {
8668 (char *) "self",(char *) "colText", NULL
8669 };
8670
8671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8673 if (SWIG_arg_fail(1)) SWIG_fail;
8674 {
8675 arg2 = &temp2;
8676 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8677 }
8678 {
8679 PyThreadState* __tstate = wxPyBeginAllowThreads();
8680 (arg1)->SetTextColour((wxColour const &)*arg2);
8681
8682 wxPyEndAllowThreads(__tstate);
8683 if (PyErr_Occurred()) SWIG_fail;
8684 }
8685 Py_INCREF(Py_None); resultobj = Py_None;
8686 return resultobj;
8687 fail:
8688 return NULL;
8689 }
8690
8691
8692 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8693 PyObject *resultobj;
8694 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8695 wxColour *arg2 = 0 ;
8696 wxColour temp2 ;
8697 PyObject * obj0 = 0 ;
8698 PyObject * obj1 = 0 ;
8699 char *kwnames[] = {
8700 (char *) "self",(char *) "colBack", NULL
8701 };
8702
8703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8705 if (SWIG_arg_fail(1)) SWIG_fail;
8706 {
8707 arg2 = &temp2;
8708 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8709 }
8710 {
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8713
8714 wxPyEndAllowThreads(__tstate);
8715 if (PyErr_Occurred()) SWIG_fail;
8716 }
8717 Py_INCREF(Py_None); resultobj = Py_None;
8718 return resultobj;
8719 fail:
8720 return NULL;
8721 }
8722
8723
8724 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8725 PyObject *resultobj;
8726 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8727 wxFont *arg2 = 0 ;
8728 long arg3 = (long) wxTEXT_ATTR_FONT ;
8729 PyObject * obj0 = 0 ;
8730 PyObject * obj1 = 0 ;
8731 PyObject * obj2 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "self",(char *) "font",(char *) "flags", NULL
8734 };
8735
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8738 if (SWIG_arg_fail(1)) SWIG_fail;
8739 {
8740 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8741 if (SWIG_arg_fail(2)) SWIG_fail;
8742 if (arg2 == NULL) {
8743 SWIG_null_ref("wxFont");
8744 }
8745 if (SWIG_arg_fail(2)) SWIG_fail;
8746 }
8747 if (obj2) {
8748 {
8749 arg3 = (long)(SWIG_As_long(obj2));
8750 if (SWIG_arg_fail(3)) SWIG_fail;
8751 }
8752 }
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8756
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 Py_INCREF(Py_None); resultobj = Py_None;
8761 return resultobj;
8762 fail:
8763 return NULL;
8764 }
8765
8766
8767 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8768 PyObject *resultobj;
8769 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8770 wxTextAttrAlignment arg2 ;
8771 PyObject * obj0 = 0 ;
8772 PyObject * obj1 = 0 ;
8773 char *kwnames[] = {
8774 (char *) "self",(char *) "alignment", NULL
8775 };
8776
8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8779 if (SWIG_arg_fail(1)) SWIG_fail;
8780 {
8781 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8782 if (SWIG_arg_fail(2)) SWIG_fail;
8783 }
8784 {
8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
8786 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8787
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 Py_INCREF(Py_None); resultobj = Py_None;
8792 return resultobj;
8793 fail:
8794 return NULL;
8795 }
8796
8797
8798 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
8799 PyObject *resultobj;
8800 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8801 wxArrayInt *arg2 = 0 ;
8802 bool temp2 = false ;
8803 PyObject * obj0 = 0 ;
8804 PyObject * obj1 = 0 ;
8805 char *kwnames[] = {
8806 (char *) "self",(char *) "tabs", NULL
8807 };
8808
8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
8810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8811 if (SWIG_arg_fail(1)) SWIG_fail;
8812 {
8813 if (! PySequence_Check(obj1)) {
8814 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8815 SWIG_fail;
8816 }
8817 arg2 = new wxArrayInt;
8818 temp2 = true;
8819 int i, len=PySequence_Length(obj1);
8820 for (i=0; i<len; i++) {
8821 PyObject* item = PySequence_GetItem(obj1, i);
8822 PyObject* number = PyNumber_Int(item);
8823 arg2->Add(PyInt_AS_LONG(number));
8824 Py_DECREF(item);
8825 Py_DECREF(number);
8826 }
8827 }
8828 {
8829 PyThreadState* __tstate = wxPyBeginAllowThreads();
8830 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8831
8832 wxPyEndAllowThreads(__tstate);
8833 if (PyErr_Occurred()) SWIG_fail;
8834 }
8835 Py_INCREF(Py_None); resultobj = Py_None;
8836 {
8837 if (temp2) delete arg2;
8838 }
8839 return resultobj;
8840 fail:
8841 {
8842 if (temp2) delete arg2;
8843 }
8844 return NULL;
8845 }
8846
8847
8848 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8849 PyObject *resultobj;
8850 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8851 int arg2 ;
8852 int arg3 = (int) 0 ;
8853 PyObject * obj0 = 0 ;
8854 PyObject * obj1 = 0 ;
8855 PyObject * obj2 = 0 ;
8856 char *kwnames[] = {
8857 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8858 };
8859
8860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
8861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8862 if (SWIG_arg_fail(1)) SWIG_fail;
8863 {
8864 arg2 = (int)(SWIG_As_int(obj1));
8865 if (SWIG_arg_fail(2)) SWIG_fail;
8866 }
8867 if (obj2) {
8868 {
8869 arg3 = (int)(SWIG_As_int(obj2));
8870 if (SWIG_arg_fail(3)) SWIG_fail;
8871 }
8872 }
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 (arg1)->SetLeftIndent(arg2,arg3);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 Py_INCREF(Py_None); resultobj = Py_None;
8881 return resultobj;
8882 fail:
8883 return NULL;
8884 }
8885
8886
8887 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8888 PyObject *resultobj;
8889 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8890 int arg2 ;
8891 PyObject * obj0 = 0 ;
8892 PyObject * obj1 = 0 ;
8893 char *kwnames[] = {
8894 (char *) "self",(char *) "indent", NULL
8895 };
8896
8897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
8898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8899 if (SWIG_arg_fail(1)) SWIG_fail;
8900 {
8901 arg2 = (int)(SWIG_As_int(obj1));
8902 if (SWIG_arg_fail(2)) SWIG_fail;
8903 }
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 (arg1)->SetRightIndent(arg2);
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 Py_INCREF(Py_None); resultobj = Py_None;
8912 return resultobj;
8913 fail:
8914 return NULL;
8915 }
8916
8917
8918 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8919 PyObject *resultobj;
8920 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8921 long arg2 ;
8922 PyObject * obj0 = 0 ;
8923 PyObject * obj1 = 0 ;
8924 char *kwnames[] = {
8925 (char *) "self",(char *) "flags", NULL
8926 };
8927
8928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8930 if (SWIG_arg_fail(1)) SWIG_fail;
8931 {
8932 arg2 = (long)(SWIG_As_long(obj1));
8933 if (SWIG_arg_fail(2)) SWIG_fail;
8934 }
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 (arg1)->SetFlags(arg2);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 Py_INCREF(Py_None); resultobj = Py_None;
8943 return resultobj;
8944 fail:
8945 return NULL;
8946 }
8947
8948
8949 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8952 bool result;
8953 PyObject * obj0 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "self", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
8959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8960 if (SWIG_arg_fail(1)) SWIG_fail;
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 {
8969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8970 }
8971 return resultobj;
8972 fail:
8973 return NULL;
8974 }
8975
8976
8977 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8978 PyObject *resultobj;
8979 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8980 bool result;
8981 PyObject * obj0 = 0 ;
8982 char *kwnames[] = {
8983 (char *) "self", NULL
8984 };
8985
8986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
8987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8988 if (SWIG_arg_fail(1)) SWIG_fail;
8989 {
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
8992
8993 wxPyEndAllowThreads(__tstate);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 }
8996 {
8997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8998 }
8999 return resultobj;
9000 fail:
9001 return NULL;
9002 }
9003
9004
9005 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9008 bool result;
9009 PyObject * obj0 = 0 ;
9010 char *kwnames[] = {
9011 (char *) "self", NULL
9012 };
9013
9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9016 if (SWIG_arg_fail(1)) SWIG_fail;
9017 {
9018 PyThreadState* __tstate = wxPyBeginAllowThreads();
9019 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9020
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 {
9025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9026 }
9027 return resultobj;
9028 fail:
9029 return NULL;
9030 }
9031
9032
9033 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9034 PyObject *resultobj;
9035 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9036 bool result;
9037 PyObject * obj0 = 0 ;
9038 char *kwnames[] = {
9039 (char *) "self", NULL
9040 };
9041
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9044 if (SWIG_arg_fail(1)) SWIG_fail;
9045 {
9046 PyThreadState* __tstate = wxPyBeginAllowThreads();
9047 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9048
9049 wxPyEndAllowThreads(__tstate);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
9052 {
9053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9054 }
9055 return resultobj;
9056 fail:
9057 return NULL;
9058 }
9059
9060
9061 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9064 bool result;
9065 PyObject * obj0 = 0 ;
9066 char *kwnames[] = {
9067 (char *) "self", NULL
9068 };
9069
9070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9072 if (SWIG_arg_fail(1)) SWIG_fail;
9073 {
9074 PyThreadState* __tstate = wxPyBeginAllowThreads();
9075 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9076
9077 wxPyEndAllowThreads(__tstate);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
9080 {
9081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9082 }
9083 return resultobj;
9084 fail:
9085 return NULL;
9086 }
9087
9088
9089 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9090 PyObject *resultobj;
9091 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9092 bool result;
9093 PyObject * obj0 = 0 ;
9094 char *kwnames[] = {
9095 (char *) "self", NULL
9096 };
9097
9098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9100 if (SWIG_arg_fail(1)) SWIG_fail;
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 {
9109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9110 }
9111 return resultobj;
9112 fail:
9113 return NULL;
9114 }
9115
9116
9117 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9118 PyObject *resultobj;
9119 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9120 bool result;
9121 PyObject * obj0 = 0 ;
9122 char *kwnames[] = {
9123 (char *) "self", NULL
9124 };
9125
9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9128 if (SWIG_arg_fail(1)) SWIG_fail;
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 {
9137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9138 }
9139 return resultobj;
9140 fail:
9141 return NULL;
9142 }
9143
9144
9145 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj;
9147 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9148 long arg2 ;
9149 bool result;
9150 PyObject * obj0 = 0 ;
9151 PyObject * obj1 = 0 ;
9152 char *kwnames[] = {
9153 (char *) "self",(char *) "flag", NULL
9154 };
9155
9156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9158 if (SWIG_arg_fail(1)) SWIG_fail;
9159 {
9160 arg2 = (long)(SWIG_As_long(obj1));
9161 if (SWIG_arg_fail(2)) SWIG_fail;
9162 }
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 {
9171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9172 }
9173 return resultobj;
9174 fail:
9175 return NULL;
9176 }
9177
9178
9179 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9180 PyObject *resultobj;
9181 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9182 wxColour *result;
9183 PyObject * obj0 = 0 ;
9184 char *kwnames[] = {
9185 (char *) "self", NULL
9186 };
9187
9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9190 if (SWIG_arg_fail(1)) SWIG_fail;
9191 {
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 {
9194 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9195 result = (wxColour *) &_result_ref;
9196 }
9197
9198 wxPyEndAllowThreads(__tstate);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 }
9201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9202 return resultobj;
9203 fail:
9204 return NULL;
9205 }
9206
9207
9208 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9209 PyObject *resultobj;
9210 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9211 wxColour *result;
9212 PyObject * obj0 = 0 ;
9213 char *kwnames[] = {
9214 (char *) "self", NULL
9215 };
9216
9217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9219 if (SWIG_arg_fail(1)) SWIG_fail;
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 {
9223 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9224 result = (wxColour *) &_result_ref;
9225 }
9226
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9231 return resultobj;
9232 fail:
9233 return NULL;
9234 }
9235
9236
9237 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9238 PyObject *resultobj;
9239 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9240 wxFont *result;
9241 PyObject * obj0 = 0 ;
9242 char *kwnames[] = {
9243 (char *) "self", NULL
9244 };
9245
9246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9248 if (SWIG_arg_fail(1)) SWIG_fail;
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 {
9252 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9253 result = (wxFont *) &_result_ref;
9254 }
9255
9256 wxPyEndAllowThreads(__tstate);
9257 if (PyErr_Occurred()) SWIG_fail;
9258 }
9259 {
9260 wxFont* resultptr = new wxFont(*result);
9261 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9262 }
9263 return resultobj;
9264 fail:
9265 return NULL;
9266 }
9267
9268
9269 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj;
9271 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9272 wxTextAttrAlignment result;
9273 PyObject * obj0 = 0 ;
9274 char *kwnames[] = {
9275 (char *) "self", NULL
9276 };
9277
9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail;
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 resultobj = SWIG_From_int((result));
9289 return resultobj;
9290 fail:
9291 return NULL;
9292 }
9293
9294
9295 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9296 PyObject *resultobj;
9297 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9298 wxArrayInt *result;
9299 PyObject * obj0 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail;
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
9309 {
9310 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9311 result = (wxArrayInt *) &_result_ref;
9312 }
9313
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
9317 {
9318 resultobj = PyList_New(0);
9319 size_t idx;
9320 for (idx = 0; idx < result->GetCount(); idx += 1) {
9321 PyObject* val = PyInt_FromLong( result->Item(idx) );
9322 PyList_Append(resultobj, val);
9323 Py_DECREF(val);
9324 }
9325 }
9326 return resultobj;
9327 fail:
9328 return NULL;
9329 }
9330
9331
9332 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9333 PyObject *resultobj;
9334 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9335 long result;
9336 PyObject * obj0 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "self", NULL
9339 };
9340
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",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 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9347
9348 wxPyEndAllowThreads(__tstate);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 {
9352 resultobj = SWIG_From_long((long)(result));
9353 }
9354 return resultobj;
9355 fail:
9356 return NULL;
9357 }
9358
9359
9360 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9361 PyObject *resultobj;
9362 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9363 long result;
9364 PyObject * obj0 = 0 ;
9365 char *kwnames[] = {
9366 (char *) "self", NULL
9367 };
9368
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9371 if (SWIG_arg_fail(1)) SWIG_fail;
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 {
9380 resultobj = SWIG_From_long((long)(result));
9381 }
9382 return resultobj;
9383 fail:
9384 return NULL;
9385 }
9386
9387
9388 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9389 PyObject *resultobj;
9390 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9391 long result;
9392 PyObject * obj0 = 0 ;
9393 char *kwnames[] = {
9394 (char *) "self", NULL
9395 };
9396
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9399 if (SWIG_arg_fail(1)) SWIG_fail;
9400 {
9401 PyThreadState* __tstate = wxPyBeginAllowThreads();
9402 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9403
9404 wxPyEndAllowThreads(__tstate);
9405 if (PyErr_Occurred()) SWIG_fail;
9406 }
9407 {
9408 resultobj = SWIG_From_long((long)(result));
9409 }
9410 return resultobj;
9411 fail:
9412 return NULL;
9413 }
9414
9415
9416 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9417 PyObject *resultobj;
9418 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9419 long result;
9420 PyObject * obj0 = 0 ;
9421 char *kwnames[] = {
9422 (char *) "self", NULL
9423 };
9424
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9427 if (SWIG_arg_fail(1)) SWIG_fail;
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 {
9436 resultobj = SWIG_From_long((long)(result));
9437 }
9438 return resultobj;
9439 fail:
9440 return NULL;
9441 }
9442
9443
9444 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9445 PyObject *resultobj;
9446 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9447 bool result;
9448 PyObject * obj0 = 0 ;
9449 char *kwnames[] = {
9450 (char *) "self", NULL
9451 };
9452
9453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9455 if (SWIG_arg_fail(1)) SWIG_fail;
9456 {
9457 PyThreadState* __tstate = wxPyBeginAllowThreads();
9458 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9459
9460 wxPyEndAllowThreads(__tstate);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 {
9464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9465 }
9466 return resultobj;
9467 fail:
9468 return NULL;
9469 }
9470
9471
9472 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9473 PyObject *resultobj;
9474 wxTextAttr *arg1 = 0 ;
9475 wxTextAttr *arg2 = 0 ;
9476 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9477 wxTextAttr result;
9478 PyObject * obj0 = 0 ;
9479 PyObject * obj1 = 0 ;
9480 PyObject * obj2 = 0 ;
9481 char *kwnames[] = {
9482 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9486 {
9487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9488 if (SWIG_arg_fail(1)) SWIG_fail;
9489 if (arg1 == NULL) {
9490 SWIG_null_ref("wxTextAttr");
9491 }
9492 if (SWIG_arg_fail(1)) SWIG_fail;
9493 }
9494 {
9495 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9496 if (SWIG_arg_fail(2)) SWIG_fail;
9497 if (arg2 == NULL) {
9498 SWIG_null_ref("wxTextAttr");
9499 }
9500 if (SWIG_arg_fail(2)) SWIG_fail;
9501 }
9502 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9503 if (SWIG_arg_fail(3)) SWIG_fail;
9504 {
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9507
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 {
9512 wxTextAttr * resultptr;
9513 resultptr = new wxTextAttr((wxTextAttr &)(result));
9514 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9515 }
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9523 PyObject *obj;
9524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9525 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9526 Py_INCREF(obj);
9527 return Py_BuildValue((char *)"");
9528 }
9529 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9530 PyObject *resultobj;
9531 wxWindow *arg1 = (wxWindow *) 0 ;
9532 int arg2 = (int) -1 ;
9533 wxString const &arg3_defvalue = wxPyEmptyString ;
9534 wxString *arg3 = (wxString *) &arg3_defvalue ;
9535 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9536 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9537 wxSize const &arg5_defvalue = wxDefaultSize ;
9538 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9539 long arg6 = (long) 0 ;
9540 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9541 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9542 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9543 wxString *arg8 = (wxString *) &arg8_defvalue ;
9544 wxTextCtrl *result;
9545 bool temp3 = false ;
9546 wxPoint temp4 ;
9547 wxSize temp5 ;
9548 bool temp8 = false ;
9549 PyObject * obj0 = 0 ;
9550 PyObject * obj1 = 0 ;
9551 PyObject * obj2 = 0 ;
9552 PyObject * obj3 = 0 ;
9553 PyObject * obj4 = 0 ;
9554 PyObject * obj5 = 0 ;
9555 PyObject * obj6 = 0 ;
9556 PyObject * obj7 = 0 ;
9557 char *kwnames[] = {
9558 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9559 };
9560
9561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9563 if (SWIG_arg_fail(1)) SWIG_fail;
9564 if (obj1) {
9565 {
9566 arg2 = (int)(SWIG_As_int(obj1));
9567 if (SWIG_arg_fail(2)) SWIG_fail;
9568 }
9569 }
9570 if (obj2) {
9571 {
9572 arg3 = wxString_in_helper(obj2);
9573 if (arg3 == NULL) SWIG_fail;
9574 temp3 = true;
9575 }
9576 }
9577 if (obj3) {
9578 {
9579 arg4 = &temp4;
9580 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9581 }
9582 }
9583 if (obj4) {
9584 {
9585 arg5 = &temp5;
9586 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9587 }
9588 }
9589 if (obj5) {
9590 {
9591 arg6 = (long)(SWIG_As_long(obj5));
9592 if (SWIG_arg_fail(6)) SWIG_fail;
9593 }
9594 }
9595 if (obj6) {
9596 {
9597 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9598 if (SWIG_arg_fail(7)) SWIG_fail;
9599 if (arg7 == NULL) {
9600 SWIG_null_ref("wxValidator");
9601 }
9602 if (SWIG_arg_fail(7)) SWIG_fail;
9603 }
9604 }
9605 if (obj7) {
9606 {
9607 arg8 = wxString_in_helper(obj7);
9608 if (arg8 == NULL) SWIG_fail;
9609 temp8 = true;
9610 }
9611 }
9612 {
9613 if (!wxPyCheckForApp()) SWIG_fail;
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9616
9617 wxPyEndAllowThreads(__tstate);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
9620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9621 {
9622 if (temp3)
9623 delete arg3;
9624 }
9625 {
9626 if (temp8)
9627 delete arg8;
9628 }
9629 return resultobj;
9630 fail:
9631 {
9632 if (temp3)
9633 delete arg3;
9634 }
9635 {
9636 if (temp8)
9637 delete arg8;
9638 }
9639 return NULL;
9640 }
9641
9642
9643 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9644 PyObject *resultobj;
9645 wxTextCtrl *result;
9646 char *kwnames[] = {
9647 NULL
9648 };
9649
9650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9651 {
9652 if (!wxPyCheckForApp()) SWIG_fail;
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 result = (wxTextCtrl *)new wxTextCtrl();
9655
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9660 return resultobj;
9661 fail:
9662 return NULL;
9663 }
9664
9665
9666 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj;
9668 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9669 wxWindow *arg2 = (wxWindow *) 0 ;
9670 int arg3 = (int) -1 ;
9671 wxString const &arg4_defvalue = wxPyEmptyString ;
9672 wxString *arg4 = (wxString *) &arg4_defvalue ;
9673 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9674 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9675 wxSize const &arg6_defvalue = wxDefaultSize ;
9676 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9677 long arg7 = (long) 0 ;
9678 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9679 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9680 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9681 wxString *arg9 = (wxString *) &arg9_defvalue ;
9682 bool result;
9683 bool temp4 = false ;
9684 wxPoint temp5 ;
9685 wxSize temp6 ;
9686 bool temp9 = false ;
9687 PyObject * obj0 = 0 ;
9688 PyObject * obj1 = 0 ;
9689 PyObject * obj2 = 0 ;
9690 PyObject * obj3 = 0 ;
9691 PyObject * obj4 = 0 ;
9692 PyObject * obj5 = 0 ;
9693 PyObject * obj6 = 0 ;
9694 PyObject * obj7 = 0 ;
9695 PyObject * obj8 = 0 ;
9696 char *kwnames[] = {
9697 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9698 };
9699
9700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9702 if (SWIG_arg_fail(1)) SWIG_fail;
9703 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9704 if (SWIG_arg_fail(2)) SWIG_fail;
9705 if (obj2) {
9706 {
9707 arg3 = (int)(SWIG_As_int(obj2));
9708 if (SWIG_arg_fail(3)) SWIG_fail;
9709 }
9710 }
9711 if (obj3) {
9712 {
9713 arg4 = wxString_in_helper(obj3);
9714 if (arg4 == NULL) SWIG_fail;
9715 temp4 = true;
9716 }
9717 }
9718 if (obj4) {
9719 {
9720 arg5 = &temp5;
9721 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9722 }
9723 }
9724 if (obj5) {
9725 {
9726 arg6 = &temp6;
9727 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9728 }
9729 }
9730 if (obj6) {
9731 {
9732 arg7 = (long)(SWIG_As_long(obj6));
9733 if (SWIG_arg_fail(7)) SWIG_fail;
9734 }
9735 }
9736 if (obj7) {
9737 {
9738 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9739 if (SWIG_arg_fail(8)) SWIG_fail;
9740 if (arg8 == NULL) {
9741 SWIG_null_ref("wxValidator");
9742 }
9743 if (SWIG_arg_fail(8)) SWIG_fail;
9744 }
9745 }
9746 if (obj8) {
9747 {
9748 arg9 = wxString_in_helper(obj8);
9749 if (arg9 == NULL) SWIG_fail;
9750 temp9 = true;
9751 }
9752 }
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 {
9761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9762 }
9763 {
9764 if (temp4)
9765 delete arg4;
9766 }
9767 {
9768 if (temp9)
9769 delete arg9;
9770 }
9771 return resultobj;
9772 fail:
9773 {
9774 if (temp4)
9775 delete arg4;
9776 }
9777 {
9778 if (temp9)
9779 delete arg9;
9780 }
9781 return NULL;
9782 }
9783
9784
9785 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj;
9787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9788 wxString result;
9789 PyObject * obj0 = 0 ;
9790 char *kwnames[] = {
9791 (char *) "self", NULL
9792 };
9793
9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
9795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9796 if (SWIG_arg_fail(1)) SWIG_fail;
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 result = ((wxTextCtrl const *)arg1)->GetValue();
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 {
9805 #if wxUSE_UNICODE
9806 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9807 #else
9808 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9809 #endif
9810 }
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9820 wxString *arg2 = 0 ;
9821 bool temp2 = false ;
9822 PyObject * obj0 = 0 ;
9823 PyObject * obj1 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self",(char *) "value", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
9829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9830 if (SWIG_arg_fail(1)) SWIG_fail;
9831 {
9832 arg2 = wxString_in_helper(obj1);
9833 if (arg2 == NULL) SWIG_fail;
9834 temp2 = true;
9835 }
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
9838 (arg1)->SetValue((wxString const &)*arg2);
9839
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 Py_INCREF(Py_None); resultobj = Py_None;
9844 {
9845 if (temp2)
9846 delete arg2;
9847 }
9848 return resultobj;
9849 fail:
9850 {
9851 if (temp2)
9852 delete arg2;
9853 }
9854 return NULL;
9855 }
9856
9857
9858 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9859 PyObject *resultobj;
9860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9861 long arg2 ;
9862 long arg3 ;
9863 wxString result;
9864 PyObject * obj0 = 0 ;
9865 PyObject * obj1 = 0 ;
9866 PyObject * obj2 = 0 ;
9867 char *kwnames[] = {
9868 (char *) "self",(char *) "from",(char *) "to", NULL
9869 };
9870
9871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9873 if (SWIG_arg_fail(1)) SWIG_fail;
9874 {
9875 arg2 = (long)(SWIG_As_long(obj1));
9876 if (SWIG_arg_fail(2)) SWIG_fail;
9877 }
9878 {
9879 arg3 = (long)(SWIG_As_long(obj2));
9880 if (SWIG_arg_fail(3)) SWIG_fail;
9881 }
9882 {
9883 PyThreadState* __tstate = wxPyBeginAllowThreads();
9884 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9885
9886 wxPyEndAllowThreads(__tstate);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 }
9889 {
9890 #if wxUSE_UNICODE
9891 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9892 #else
9893 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9894 #endif
9895 }
9896 return resultobj;
9897 fail:
9898 return NULL;
9899 }
9900
9901
9902 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj;
9904 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9905 long arg2 ;
9906 int result;
9907 PyObject * obj0 = 0 ;
9908 PyObject * obj1 = 0 ;
9909 char *kwnames[] = {
9910 (char *) "self",(char *) "lineNo", NULL
9911 };
9912
9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
9914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9915 if (SWIG_arg_fail(1)) SWIG_fail;
9916 {
9917 arg2 = (long)(SWIG_As_long(obj1));
9918 if (SWIG_arg_fail(2)) SWIG_fail;
9919 }
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
9923
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 {
9928 resultobj = SWIG_From_int((int)(result));
9929 }
9930 return resultobj;
9931 fail:
9932 return NULL;
9933 }
9934
9935
9936 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
9937 PyObject *resultobj;
9938 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9939 long arg2 ;
9940 wxString result;
9941 PyObject * obj0 = 0 ;
9942 PyObject * obj1 = 0 ;
9943 char *kwnames[] = {
9944 (char *) "self",(char *) "lineNo", NULL
9945 };
9946
9947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
9948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9949 if (SWIG_arg_fail(1)) SWIG_fail;
9950 {
9951 arg2 = (long)(SWIG_As_long(obj1));
9952 if (SWIG_arg_fail(2)) SWIG_fail;
9953 }
9954 {
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
9957
9958 wxPyEndAllowThreads(__tstate);
9959 if (PyErr_Occurred()) SWIG_fail;
9960 }
9961 {
9962 #if wxUSE_UNICODE
9963 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9964 #else
9965 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9966 #endif
9967 }
9968 return resultobj;
9969 fail:
9970 return NULL;
9971 }
9972
9973
9974 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
9975 PyObject *resultobj;
9976 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9977 int result;
9978 PyObject * obj0 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
9984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9985 if (SWIG_arg_fail(1)) SWIG_fail;
9986 {
9987 PyThreadState* __tstate = wxPyBeginAllowThreads();
9988 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
9989
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 {
9994 resultobj = SWIG_From_int((int)(result));
9995 }
9996 return resultobj;
9997 fail:
9998 return NULL;
9999 }
10000
10001
10002 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10003 PyObject *resultobj;
10004 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10005 bool result;
10006 PyObject * obj0 = 0 ;
10007 char *kwnames[] = {
10008 (char *) "self", NULL
10009 };
10010
10011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10013 if (SWIG_arg_fail(1)) SWIG_fail;
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10017
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 {
10022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10023 }
10024 return resultobj;
10025 fail:
10026 return NULL;
10027 }
10028
10029
10030 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10031 PyObject *resultobj;
10032 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10033 bool result;
10034 PyObject * obj0 = 0 ;
10035 char *kwnames[] = {
10036 (char *) "self", NULL
10037 };
10038
10039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10041 if (SWIG_arg_fail(1)) SWIG_fail;
10042 {
10043 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10045
10046 wxPyEndAllowThreads(__tstate);
10047 if (PyErr_Occurred()) SWIG_fail;
10048 }
10049 {
10050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10051 }
10052 return resultobj;
10053 fail:
10054 return NULL;
10055 }
10056
10057
10058 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10059 PyObject *resultobj;
10060 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10061 bool result;
10062 PyObject * obj0 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "self", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10069 if (SWIG_arg_fail(1)) SWIG_fail;
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 {
10078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10079 }
10080 return resultobj;
10081 fail:
10082 return NULL;
10083 }
10084
10085
10086 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10087 PyObject *resultobj;
10088 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10089 bool result;
10090 PyObject * obj0 = 0 ;
10091 char *kwnames[] = {
10092 (char *) "self", NULL
10093 };
10094
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10097 if (SWIG_arg_fail(1)) SWIG_fail;
10098 {
10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
10100 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10101
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 {
10106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10107 }
10108 return resultobj;
10109 fail:
10110 return NULL;
10111 }
10112
10113
10114 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10115 PyObject *resultobj;
10116 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10117 long *arg2 = (long *) 0 ;
10118 long *arg3 = (long *) 0 ;
10119 long temp2 ;
10120 int res2 = 0 ;
10121 long temp3 ;
10122 int res3 = 0 ;
10123 PyObject * obj0 = 0 ;
10124 char *kwnames[] = {
10125 (char *) "self", NULL
10126 };
10127
10128 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10129 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail;
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 Py_INCREF(Py_None); resultobj = Py_None;
10141 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10142 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10143 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10144 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10145 return resultobj;
10146 fail:
10147 return NULL;
10148 }
10149
10150
10151 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj;
10153 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10154 wxString result;
10155 PyObject * obj0 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "self", NULL
10158 };
10159
10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail;
10163 {
10164 PyThreadState* __tstate = wxPyBeginAllowThreads();
10165 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10166
10167 wxPyEndAllowThreads(__tstate);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 }
10170 {
10171 #if wxUSE_UNICODE
10172 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10173 #else
10174 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10175 #endif
10176 }
10177 return resultobj;
10178 fail:
10179 return NULL;
10180 }
10181
10182
10183 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj;
10185 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10186 PyObject * obj0 = 0 ;
10187 char *kwnames[] = {
10188 (char *) "self", NULL
10189 };
10190
10191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10193 if (SWIG_arg_fail(1)) SWIG_fail;
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 (arg1)->Clear();
10197
10198 wxPyEndAllowThreads(__tstate);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 Py_INCREF(Py_None); resultobj = Py_None;
10202 return resultobj;
10203 fail:
10204 return NULL;
10205 }
10206
10207
10208 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10209 PyObject *resultobj;
10210 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10211 long arg2 ;
10212 long arg3 ;
10213 wxString *arg4 = 0 ;
10214 bool temp4 = false ;
10215 PyObject * obj0 = 0 ;
10216 PyObject * obj1 = 0 ;
10217 PyObject * obj2 = 0 ;
10218 PyObject * obj3 = 0 ;
10219 char *kwnames[] = {
10220 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10221 };
10222
10223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10225 if (SWIG_arg_fail(1)) SWIG_fail;
10226 {
10227 arg2 = (long)(SWIG_As_long(obj1));
10228 if (SWIG_arg_fail(2)) SWIG_fail;
10229 }
10230 {
10231 arg3 = (long)(SWIG_As_long(obj2));
10232 if (SWIG_arg_fail(3)) SWIG_fail;
10233 }
10234 {
10235 arg4 = wxString_in_helper(obj3);
10236 if (arg4 == NULL) SWIG_fail;
10237 temp4 = true;
10238 }
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 Py_INCREF(Py_None); resultobj = Py_None;
10247 {
10248 if (temp4)
10249 delete arg4;
10250 }
10251 return resultobj;
10252 fail:
10253 {
10254 if (temp4)
10255 delete arg4;
10256 }
10257 return NULL;
10258 }
10259
10260
10261 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10262 PyObject *resultobj;
10263 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10264 long arg2 ;
10265 long arg3 ;
10266 PyObject * obj0 = 0 ;
10267 PyObject * obj1 = 0 ;
10268 PyObject * obj2 = 0 ;
10269 char *kwnames[] = {
10270 (char *) "self",(char *) "from",(char *) "to", NULL
10271 };
10272
10273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10275 if (SWIG_arg_fail(1)) SWIG_fail;
10276 {
10277 arg2 = (long)(SWIG_As_long(obj1));
10278 if (SWIG_arg_fail(2)) SWIG_fail;
10279 }
10280 {
10281 arg3 = (long)(SWIG_As_long(obj2));
10282 if (SWIG_arg_fail(3)) SWIG_fail;
10283 }
10284 {
10285 PyThreadState* __tstate = wxPyBeginAllowThreads();
10286 (arg1)->Remove(arg2,arg3);
10287
10288 wxPyEndAllowThreads(__tstate);
10289 if (PyErr_Occurred()) SWIG_fail;
10290 }
10291 Py_INCREF(Py_None); resultobj = Py_None;
10292 return resultobj;
10293 fail:
10294 return NULL;
10295 }
10296
10297
10298 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10299 PyObject *resultobj;
10300 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10301 wxString *arg2 = 0 ;
10302 bool result;
10303 bool temp2 = false ;
10304 PyObject * obj0 = 0 ;
10305 PyObject * obj1 = 0 ;
10306 char *kwnames[] = {
10307 (char *) "self",(char *) "file", NULL
10308 };
10309
10310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10312 if (SWIG_arg_fail(1)) SWIG_fail;
10313 {
10314 arg2 = wxString_in_helper(obj1);
10315 if (arg2 == NULL) SWIG_fail;
10316 temp2 = true;
10317 }
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10321
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 {
10326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10327 }
10328 {
10329 if (temp2)
10330 delete arg2;
10331 }
10332 return resultobj;
10333 fail:
10334 {
10335 if (temp2)
10336 delete arg2;
10337 }
10338 return NULL;
10339 }
10340
10341
10342 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10343 PyObject *resultobj;
10344 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10345 wxString const &arg2_defvalue = wxPyEmptyString ;
10346 wxString *arg2 = (wxString *) &arg2_defvalue ;
10347 bool result;
10348 bool temp2 = false ;
10349 PyObject * obj0 = 0 ;
10350 PyObject * obj1 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self",(char *) "file", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10357 if (SWIG_arg_fail(1)) SWIG_fail;
10358 if (obj1) {
10359 {
10360 arg2 = wxString_in_helper(obj1);
10361 if (arg2 == NULL) SWIG_fail;
10362 temp2 = true;
10363 }
10364 }
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 {
10373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10374 }
10375 {
10376 if (temp2)
10377 delete arg2;
10378 }
10379 return resultobj;
10380 fail:
10381 {
10382 if (temp2)
10383 delete arg2;
10384 }
10385 return NULL;
10386 }
10387
10388
10389 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj;
10391 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10392 PyObject * obj0 = 0 ;
10393 char *kwnames[] = {
10394 (char *) "self", NULL
10395 };
10396
10397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10399 if (SWIG_arg_fail(1)) SWIG_fail;
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 (arg1)->MarkDirty();
10403
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 Py_INCREF(Py_None); resultobj = Py_None;
10408 return resultobj;
10409 fail:
10410 return NULL;
10411 }
10412
10413
10414 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj;
10416 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10417 PyObject * obj0 = 0 ;
10418 char *kwnames[] = {
10419 (char *) "self", NULL
10420 };
10421
10422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10424 if (SWIG_arg_fail(1)) SWIG_fail;
10425 {
10426 PyThreadState* __tstate = wxPyBeginAllowThreads();
10427 (arg1)->DiscardEdits();
10428
10429 wxPyEndAllowThreads(__tstate);
10430 if (PyErr_Occurred()) SWIG_fail;
10431 }
10432 Py_INCREF(Py_None); resultobj = Py_None;
10433 return resultobj;
10434 fail:
10435 return NULL;
10436 }
10437
10438
10439 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10440 PyObject *resultobj;
10441 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10442 unsigned long arg2 ;
10443 PyObject * obj0 = 0 ;
10444 PyObject * obj1 = 0 ;
10445 char *kwnames[] = {
10446 (char *) "self",(char *) "len", NULL
10447 };
10448
10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail;
10452 {
10453 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10454 if (SWIG_arg_fail(2)) SWIG_fail;
10455 }
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 (arg1)->SetMaxLength(arg2);
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 Py_INCREF(Py_None); resultobj = Py_None;
10464 return resultobj;
10465 fail:
10466 return NULL;
10467 }
10468
10469
10470 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10471 PyObject *resultobj;
10472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10473 wxString *arg2 = 0 ;
10474 bool temp2 = false ;
10475 PyObject * obj0 = 0 ;
10476 PyObject * obj1 = 0 ;
10477 char *kwnames[] = {
10478 (char *) "self",(char *) "text", NULL
10479 };
10480
10481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10483 if (SWIG_arg_fail(1)) SWIG_fail;
10484 {
10485 arg2 = wxString_in_helper(obj1);
10486 if (arg2 == NULL) SWIG_fail;
10487 temp2 = true;
10488 }
10489 {
10490 PyThreadState* __tstate = wxPyBeginAllowThreads();
10491 (arg1)->WriteText((wxString const &)*arg2);
10492
10493 wxPyEndAllowThreads(__tstate);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 Py_INCREF(Py_None); resultobj = Py_None;
10497 {
10498 if (temp2)
10499 delete arg2;
10500 }
10501 return resultobj;
10502 fail:
10503 {
10504 if (temp2)
10505 delete arg2;
10506 }
10507 return NULL;
10508 }
10509
10510
10511 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10512 PyObject *resultobj;
10513 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10514 wxString *arg2 = 0 ;
10515 bool temp2 = false ;
10516 PyObject * obj0 = 0 ;
10517 PyObject * obj1 = 0 ;
10518 char *kwnames[] = {
10519 (char *) "self",(char *) "text", NULL
10520 };
10521
10522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10524 if (SWIG_arg_fail(1)) SWIG_fail;
10525 {
10526 arg2 = wxString_in_helper(obj1);
10527 if (arg2 == NULL) SWIG_fail;
10528 temp2 = true;
10529 }
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 (arg1)->AppendText((wxString const &)*arg2);
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 Py_INCREF(Py_None); resultobj = Py_None;
10538 {
10539 if (temp2)
10540 delete arg2;
10541 }
10542 return resultobj;
10543 fail:
10544 {
10545 if (temp2)
10546 delete arg2;
10547 }
10548 return NULL;
10549 }
10550
10551
10552 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10553 PyObject *resultobj;
10554 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10555 wxKeyEvent *arg2 = 0 ;
10556 bool result;
10557 PyObject * obj0 = 0 ;
10558 PyObject * obj1 = 0 ;
10559 char *kwnames[] = {
10560 (char *) "self",(char *) "event", NULL
10561 };
10562
10563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10565 if (SWIG_arg_fail(1)) SWIG_fail;
10566 {
10567 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10568 if (SWIG_arg_fail(2)) SWIG_fail;
10569 if (arg2 == NULL) {
10570 SWIG_null_ref("wxKeyEvent");
10571 }
10572 if (SWIG_arg_fail(2)) SWIG_fail;
10573 }
10574 {
10575 PyThreadState* __tstate = wxPyBeginAllowThreads();
10576 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10577
10578 wxPyEndAllowThreads(__tstate);
10579 if (PyErr_Occurred()) SWIG_fail;
10580 }
10581 {
10582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10583 }
10584 return resultobj;
10585 fail:
10586 return NULL;
10587 }
10588
10589
10590 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj;
10592 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10593 long arg2 ;
10594 long arg3 ;
10595 wxTextAttr *arg4 = 0 ;
10596 bool result;
10597 PyObject * obj0 = 0 ;
10598 PyObject * obj1 = 0 ;
10599 PyObject * obj2 = 0 ;
10600 PyObject * obj3 = 0 ;
10601 char *kwnames[] = {
10602 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10603 };
10604
10605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10607 if (SWIG_arg_fail(1)) SWIG_fail;
10608 {
10609 arg2 = (long)(SWIG_As_long(obj1));
10610 if (SWIG_arg_fail(2)) SWIG_fail;
10611 }
10612 {
10613 arg3 = (long)(SWIG_As_long(obj2));
10614 if (SWIG_arg_fail(3)) SWIG_fail;
10615 }
10616 {
10617 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10618 if (SWIG_arg_fail(4)) SWIG_fail;
10619 if (arg4 == NULL) {
10620 SWIG_null_ref("wxTextAttr");
10621 }
10622 if (SWIG_arg_fail(4)) SWIG_fail;
10623 }
10624 {
10625 PyThreadState* __tstate = wxPyBeginAllowThreads();
10626 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10627
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 {
10632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10633 }
10634 return resultobj;
10635 fail:
10636 return NULL;
10637 }
10638
10639
10640 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10641 PyObject *resultobj;
10642 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10643 long arg2 ;
10644 wxTextAttr *arg3 = 0 ;
10645 bool result;
10646 PyObject * obj0 = 0 ;
10647 PyObject * obj1 = 0 ;
10648 PyObject * obj2 = 0 ;
10649 char *kwnames[] = {
10650 (char *) "self",(char *) "position",(char *) "style", NULL
10651 };
10652
10653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10655 if (SWIG_arg_fail(1)) SWIG_fail;
10656 {
10657 arg2 = (long)(SWIG_As_long(obj1));
10658 if (SWIG_arg_fail(2)) SWIG_fail;
10659 }
10660 {
10661 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10662 if (SWIG_arg_fail(3)) SWIG_fail;
10663 if (arg3 == NULL) {
10664 SWIG_null_ref("wxTextAttr");
10665 }
10666 if (SWIG_arg_fail(3)) SWIG_fail;
10667 }
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10671
10672 wxPyEndAllowThreads(__tstate);
10673 if (PyErr_Occurred()) SWIG_fail;
10674 }
10675 {
10676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10677 }
10678 return resultobj;
10679 fail:
10680 return NULL;
10681 }
10682
10683
10684 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10685 PyObject *resultobj;
10686 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10687 wxTextAttr *arg2 = 0 ;
10688 bool result;
10689 PyObject * obj0 = 0 ;
10690 PyObject * obj1 = 0 ;
10691 char *kwnames[] = {
10692 (char *) "self",(char *) "style", NULL
10693 };
10694
10695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10697 if (SWIG_arg_fail(1)) SWIG_fail;
10698 {
10699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10700 if (SWIG_arg_fail(2)) SWIG_fail;
10701 if (arg2 == NULL) {
10702 SWIG_null_ref("wxTextAttr");
10703 }
10704 if (SWIG_arg_fail(2)) SWIG_fail;
10705 }
10706 {
10707 PyThreadState* __tstate = wxPyBeginAllowThreads();
10708 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10709
10710 wxPyEndAllowThreads(__tstate);
10711 if (PyErr_Occurred()) SWIG_fail;
10712 }
10713 {
10714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10715 }
10716 return resultobj;
10717 fail:
10718 return NULL;
10719 }
10720
10721
10722 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10723 PyObject *resultobj;
10724 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10725 wxTextAttr *result;
10726 PyObject * obj0 = 0 ;
10727 char *kwnames[] = {
10728 (char *) "self", NULL
10729 };
10730
10731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
10732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10733 if (SWIG_arg_fail(1)) SWIG_fail;
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 {
10737 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10738 result = (wxTextAttr *) &_result_ref;
10739 }
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10745 return resultobj;
10746 fail:
10747 return NULL;
10748 }
10749
10750
10751 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10754 long arg2 ;
10755 long arg3 ;
10756 long result;
10757 PyObject * obj0 = 0 ;
10758 PyObject * obj1 = 0 ;
10759 PyObject * obj2 = 0 ;
10760 char *kwnames[] = {
10761 (char *) "self",(char *) "x",(char *) "y", NULL
10762 };
10763
10764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
10765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10766 if (SWIG_arg_fail(1)) SWIG_fail;
10767 {
10768 arg2 = (long)(SWIG_As_long(obj1));
10769 if (SWIG_arg_fail(2)) SWIG_fail;
10770 }
10771 {
10772 arg3 = (long)(SWIG_As_long(obj2));
10773 if (SWIG_arg_fail(3)) SWIG_fail;
10774 }
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10778
10779 wxPyEndAllowThreads(__tstate);
10780 if (PyErr_Occurred()) SWIG_fail;
10781 }
10782 {
10783 resultobj = SWIG_From_long((long)(result));
10784 }
10785 return resultobj;
10786 fail:
10787 return NULL;
10788 }
10789
10790
10791 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
10792 PyObject *resultobj;
10793 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10794 long arg2 ;
10795 long *arg3 = (long *) 0 ;
10796 long *arg4 = (long *) 0 ;
10797 long temp3 ;
10798 int res3 = 0 ;
10799 long temp4 ;
10800 int res4 = 0 ;
10801 PyObject * obj0 = 0 ;
10802 PyObject * obj1 = 0 ;
10803 char *kwnames[] = {
10804 (char *) "self",(char *) "pos", NULL
10805 };
10806
10807 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10808 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
10810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10811 if (SWIG_arg_fail(1)) SWIG_fail;
10812 {
10813 arg2 = (long)(SWIG_As_long(obj1));
10814 if (SWIG_arg_fail(2)) SWIG_fail;
10815 }
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 Py_INCREF(Py_None); resultobj = Py_None;
10824 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10825 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10826 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10827 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10828 return resultobj;
10829 fail:
10830 return NULL;
10831 }
10832
10833
10834 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10835 PyObject *resultobj;
10836 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10837 long arg2 ;
10838 PyObject * obj0 = 0 ;
10839 PyObject * obj1 = 0 ;
10840 char *kwnames[] = {
10841 (char *) "self",(char *) "pos", NULL
10842 };
10843
10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
10845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10846 if (SWIG_arg_fail(1)) SWIG_fail;
10847 {
10848 arg2 = (long)(SWIG_As_long(obj1));
10849 if (SWIG_arg_fail(2)) SWIG_fail;
10850 }
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 (arg1)->ShowPosition(arg2);
10854
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 Py_INCREF(Py_None); resultobj = Py_None;
10859 return resultobj;
10860 fail:
10861 return NULL;
10862 }
10863
10864
10865 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj;
10867 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10868 wxPoint *arg2 = 0 ;
10869 long *arg3 = (long *) 0 ;
10870 long *arg4 = (long *) 0 ;
10871 wxTextCtrlHitTestResult result;
10872 wxPoint temp2 ;
10873 long temp3 ;
10874 int res3 = 0 ;
10875 long temp4 ;
10876 int res4 = 0 ;
10877 PyObject * obj0 = 0 ;
10878 PyObject * obj1 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "self",(char *) "pt", NULL
10881 };
10882
10883 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10884 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
10886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10887 if (SWIG_arg_fail(1)) SWIG_fail;
10888 {
10889 arg2 = &temp2;
10890 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10891 }
10892 {
10893 PyThreadState* __tstate = wxPyBeginAllowThreads();
10894 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
10895
10896 wxPyEndAllowThreads(__tstate);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 }
10899 resultobj = SWIG_From_int((result));
10900 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10901 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10902 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10903 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10904 return resultobj;
10905 fail:
10906 return NULL;
10907 }
10908
10909
10910 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
10911 PyObject *resultobj;
10912 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10913 wxPoint *arg2 = 0 ;
10914 long *arg3 = (long *) 0 ;
10915 wxTextCtrlHitTestResult result;
10916 wxPoint temp2 ;
10917 long temp3 ;
10918 int res3 = 0 ;
10919 PyObject * obj0 = 0 ;
10920 PyObject * obj1 = 0 ;
10921 char *kwnames[] = {
10922 (char *) "self",(char *) "pt", NULL
10923 };
10924
10925 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
10927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10928 if (SWIG_arg_fail(1)) SWIG_fail;
10929 {
10930 arg2 = &temp2;
10931 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10932 }
10933 {
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
10936
10937 wxPyEndAllowThreads(__tstate);
10938 if (PyErr_Occurred()) SWIG_fail;
10939 }
10940 resultobj = SWIG_From_int((result));
10941 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10942 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10943 return resultobj;
10944 fail:
10945 return NULL;
10946 }
10947
10948
10949 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj;
10951 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10952 PyObject * obj0 = 0 ;
10953 char *kwnames[] = {
10954 (char *) "self", NULL
10955 };
10956
10957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
10958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10959 if (SWIG_arg_fail(1)) SWIG_fail;
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 (arg1)->Copy();
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 Py_INCREF(Py_None); resultobj = Py_None;
10968 return resultobj;
10969 fail:
10970 return NULL;
10971 }
10972
10973
10974 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj;
10976 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10977 PyObject * obj0 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
10983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail;
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 (arg1)->Cut();
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 Py_INCREF(Py_None); resultobj = Py_None;
10993 return resultobj;
10994 fail:
10995 return NULL;
10996 }
10997
10998
10999 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11000 PyObject *resultobj;
11001 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11002 PyObject * obj0 = 0 ;
11003 char *kwnames[] = {
11004 (char *) "self", NULL
11005 };
11006
11007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11009 if (SWIG_arg_fail(1)) SWIG_fail;
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
11012 (arg1)->Paste();
11013
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 Py_INCREF(Py_None); resultobj = Py_None;
11018 return resultobj;
11019 fail:
11020 return NULL;
11021 }
11022
11023
11024 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11025 PyObject *resultobj;
11026 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11027 bool result;
11028 PyObject * obj0 = 0 ;
11029 char *kwnames[] = {
11030 (char *) "self", NULL
11031 };
11032
11033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11035 if (SWIG_arg_fail(1)) SWIG_fail;
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 {
11044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11045 }
11046 return resultobj;
11047 fail:
11048 return NULL;
11049 }
11050
11051
11052 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11053 PyObject *resultobj;
11054 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11055 bool result;
11056 PyObject * obj0 = 0 ;
11057 char *kwnames[] = {
11058 (char *) "self", NULL
11059 };
11060
11061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11063 if (SWIG_arg_fail(1)) SWIG_fail;
11064 {
11065 PyThreadState* __tstate = wxPyBeginAllowThreads();
11066 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11067
11068 wxPyEndAllowThreads(__tstate);
11069 if (PyErr_Occurred()) SWIG_fail;
11070 }
11071 {
11072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11073 }
11074 return resultobj;
11075 fail:
11076 return NULL;
11077 }
11078
11079
11080 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11081 PyObject *resultobj;
11082 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11083 bool result;
11084 PyObject * obj0 = 0 ;
11085 char *kwnames[] = {
11086 (char *) "self", NULL
11087 };
11088
11089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11091 if (SWIG_arg_fail(1)) SWIG_fail;
11092 {
11093 PyThreadState* __tstate = wxPyBeginAllowThreads();
11094 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11095
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 {
11100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11101 }
11102 return resultobj;
11103 fail:
11104 return NULL;
11105 }
11106
11107
11108 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11109 PyObject *resultobj;
11110 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11111 PyObject * obj0 = 0 ;
11112 char *kwnames[] = {
11113 (char *) "self", NULL
11114 };
11115
11116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11118 if (SWIG_arg_fail(1)) SWIG_fail;
11119 {
11120 PyThreadState* __tstate = wxPyBeginAllowThreads();
11121 (arg1)->Undo();
11122
11123 wxPyEndAllowThreads(__tstate);
11124 if (PyErr_Occurred()) SWIG_fail;
11125 }
11126 Py_INCREF(Py_None); resultobj = Py_None;
11127 return resultobj;
11128 fail:
11129 return NULL;
11130 }
11131
11132
11133 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11134 PyObject *resultobj;
11135 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11136 PyObject * obj0 = 0 ;
11137 char *kwnames[] = {
11138 (char *) "self", NULL
11139 };
11140
11141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11143 if (SWIG_arg_fail(1)) SWIG_fail;
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 (arg1)->Redo();
11147
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 }
11151 Py_INCREF(Py_None); resultobj = Py_None;
11152 return resultobj;
11153 fail:
11154 return NULL;
11155 }
11156
11157
11158 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11159 PyObject *resultobj;
11160 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11161 bool result;
11162 PyObject * obj0 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "self", NULL
11165 };
11166
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11169 if (SWIG_arg_fail(1)) SWIG_fail;
11170 {
11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
11172 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11173
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 {
11178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11179 }
11180 return resultobj;
11181 fail:
11182 return NULL;
11183 }
11184
11185
11186 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj;
11188 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11189 bool result;
11190 PyObject * obj0 = 0 ;
11191 char *kwnames[] = {
11192 (char *) "self", NULL
11193 };
11194
11195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11197 if (SWIG_arg_fail(1)) SWIG_fail;
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11201
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 {
11206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11207 }
11208 return resultobj;
11209 fail:
11210 return NULL;
11211 }
11212
11213
11214 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11215 PyObject *resultobj;
11216 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11217 long arg2 ;
11218 PyObject * obj0 = 0 ;
11219 PyObject * obj1 = 0 ;
11220 char *kwnames[] = {
11221 (char *) "self",(char *) "pos", NULL
11222 };
11223
11224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11226 if (SWIG_arg_fail(1)) SWIG_fail;
11227 {
11228 arg2 = (long)(SWIG_As_long(obj1));
11229 if (SWIG_arg_fail(2)) SWIG_fail;
11230 }
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
11233 (arg1)->SetInsertionPoint(arg2);
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 Py_INCREF(Py_None); resultobj = Py_None;
11239 return resultobj;
11240 fail:
11241 return NULL;
11242 }
11243
11244
11245 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11246 PyObject *resultobj;
11247 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11248 PyObject * obj0 = 0 ;
11249 char *kwnames[] = {
11250 (char *) "self", NULL
11251 };
11252
11253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11255 if (SWIG_arg_fail(1)) SWIG_fail;
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
11258 (arg1)->SetInsertionPointEnd();
11259
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
11263 Py_INCREF(Py_None); resultobj = Py_None;
11264 return resultobj;
11265 fail:
11266 return NULL;
11267 }
11268
11269
11270 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11271 PyObject *resultobj;
11272 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11273 long result;
11274 PyObject * obj0 = 0 ;
11275 char *kwnames[] = {
11276 (char *) "self", NULL
11277 };
11278
11279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11281 if (SWIG_arg_fail(1)) SWIG_fail;
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 {
11290 resultobj = SWIG_From_long((long)(result));
11291 }
11292 return resultobj;
11293 fail:
11294 return NULL;
11295 }
11296
11297
11298 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11301 long result;
11302 PyObject * obj0 = 0 ;
11303 char *kwnames[] = {
11304 (char *) "self", NULL
11305 };
11306
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11309 if (SWIG_arg_fail(1)) SWIG_fail;
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
11312 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11313
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 {
11318 resultobj = SWIG_From_long((long)(result));
11319 }
11320 return resultobj;
11321 fail:
11322 return NULL;
11323 }
11324
11325
11326 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11329 long arg2 ;
11330 long arg3 ;
11331 PyObject * obj0 = 0 ;
11332 PyObject * obj1 = 0 ;
11333 PyObject * obj2 = 0 ;
11334 char *kwnames[] = {
11335 (char *) "self",(char *) "from",(char *) "to", NULL
11336 };
11337
11338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11340 if (SWIG_arg_fail(1)) SWIG_fail;
11341 {
11342 arg2 = (long)(SWIG_As_long(obj1));
11343 if (SWIG_arg_fail(2)) SWIG_fail;
11344 }
11345 {
11346 arg3 = (long)(SWIG_As_long(obj2));
11347 if (SWIG_arg_fail(3)) SWIG_fail;
11348 }
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 (arg1)->SetSelection(arg2,arg3);
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 Py_INCREF(Py_None); resultobj = Py_None;
11357 return resultobj;
11358 fail:
11359 return NULL;
11360 }
11361
11362
11363 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj;
11365 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11366 PyObject * obj0 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail;
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 (arg1)->SelectAll();
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 Py_INCREF(Py_None); resultobj = Py_None;
11382 return resultobj;
11383 fail:
11384 return NULL;
11385 }
11386
11387
11388 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11389 PyObject *resultobj;
11390 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11391 bool arg2 ;
11392 PyObject * obj0 = 0 ;
11393 PyObject * obj1 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self",(char *) "editable", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail;
11401 {
11402 arg2 = (bool)(SWIG_As_bool(obj1));
11403 if (SWIG_arg_fail(2)) SWIG_fail;
11404 }
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 (arg1)->SetEditable(arg2);
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 Py_INCREF(Py_None); resultobj = Py_None;
11413 return resultobj;
11414 fail:
11415 return NULL;
11416 }
11417
11418
11419 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11420 PyObject *resultobj;
11421 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11422 wxString *arg2 = 0 ;
11423 bool temp2 = false ;
11424 PyObject * obj0 = 0 ;
11425 PyObject * obj1 = 0 ;
11426 char *kwnames[] = {
11427 (char *) "self",(char *) "text", NULL
11428 };
11429
11430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11432 if (SWIG_arg_fail(1)) SWIG_fail;
11433 {
11434 arg2 = wxString_in_helper(obj1);
11435 if (arg2 == NULL) SWIG_fail;
11436 temp2 = true;
11437 }
11438 {
11439 PyThreadState* __tstate = wxPyBeginAllowThreads();
11440 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11441
11442 wxPyEndAllowThreads(__tstate);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 }
11445 Py_INCREF(Py_None); resultobj = Py_None;
11446 {
11447 if (temp2)
11448 delete arg2;
11449 }
11450 return resultobj;
11451 fail:
11452 {
11453 if (temp2)
11454 delete arg2;
11455 }
11456 return NULL;
11457 }
11458
11459
11460 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11461 PyObject *resultobj;
11462 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11463 long arg2 ;
11464 long arg3 ;
11465 wxString result;
11466 PyObject * obj0 = 0 ;
11467 PyObject * obj1 = 0 ;
11468 PyObject * obj2 = 0 ;
11469 char *kwnames[] = {
11470 (char *) "self",(char *) "from",(char *) "to", NULL
11471 };
11472
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11475 if (SWIG_arg_fail(1)) SWIG_fail;
11476 {
11477 arg2 = (long)(SWIG_As_long(obj1));
11478 if (SWIG_arg_fail(2)) SWIG_fail;
11479 }
11480 {
11481 arg3 = (long)(SWIG_As_long(obj2));
11482 if (SWIG_arg_fail(3)) SWIG_fail;
11483 }
11484 {
11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
11486 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11487
11488 wxPyEndAllowThreads(__tstate);
11489 if (PyErr_Occurred()) SWIG_fail;
11490 }
11491 {
11492 #if wxUSE_UNICODE
11493 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11494 #else
11495 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11496 #endif
11497 }
11498 return resultobj;
11499 fail:
11500 return NULL;
11501 }
11502
11503
11504 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11505 PyObject *resultobj;
11506 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11507 wxVisualAttributes result;
11508 PyObject * obj0 = 0 ;
11509 char *kwnames[] = {
11510 (char *) "variant", NULL
11511 };
11512
11513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11514 if (obj0) {
11515 {
11516 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11517 if (SWIG_arg_fail(1)) SWIG_fail;
11518 }
11519 }
11520 {
11521 if (!wxPyCheckForApp()) SWIG_fail;
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11524
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 {
11529 wxVisualAttributes * resultptr;
11530 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
11531 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11532 }
11533 return resultobj;
11534 fail:
11535 return NULL;
11536 }
11537
11538
11539 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11540 PyObject *obj;
11541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11542 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11543 Py_INCREF(obj);
11544 return Py_BuildValue((char *)"");
11545 }
11546 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj;
11548 int arg1 ;
11549 wxMouseEvent *arg2 = 0 ;
11550 long arg3 ;
11551 long arg4 ;
11552 wxTextUrlEvent *result;
11553 PyObject * obj0 = 0 ;
11554 PyObject * obj1 = 0 ;
11555 PyObject * obj2 = 0 ;
11556 PyObject * obj3 = 0 ;
11557 char *kwnames[] = {
11558 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11559 };
11560
11561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11562 {
11563 arg1 = (int)(SWIG_As_int(obj0));
11564 if (SWIG_arg_fail(1)) SWIG_fail;
11565 }
11566 {
11567 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11568 if (SWIG_arg_fail(2)) SWIG_fail;
11569 if (arg2 == NULL) {
11570 SWIG_null_ref("wxMouseEvent");
11571 }
11572 if (SWIG_arg_fail(2)) SWIG_fail;
11573 }
11574 {
11575 arg3 = (long)(SWIG_As_long(obj2));
11576 if (SWIG_arg_fail(3)) SWIG_fail;
11577 }
11578 {
11579 arg4 = (long)(SWIG_As_long(obj3));
11580 if (SWIG_arg_fail(4)) SWIG_fail;
11581 }
11582 {
11583 PyThreadState* __tstate = wxPyBeginAllowThreads();
11584 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11585
11586 wxPyEndAllowThreads(__tstate);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11590 return resultobj;
11591 fail:
11592 return NULL;
11593 }
11594
11595
11596 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11597 PyObject *resultobj;
11598 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11599 wxMouseEvent *result;
11600 PyObject * obj0 = 0 ;
11601 char *kwnames[] = {
11602 (char *) "self", NULL
11603 };
11604
11605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11607 if (SWIG_arg_fail(1)) SWIG_fail;
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 {
11611 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11612 result = (wxMouseEvent *) &_result_ref;
11613 }
11614
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11619 return resultobj;
11620 fail:
11621 return NULL;
11622 }
11623
11624
11625 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11626 PyObject *resultobj;
11627 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11628 long result;
11629 PyObject * obj0 = 0 ;
11630 char *kwnames[] = {
11631 (char *) "self", NULL
11632 };
11633
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11636 if (SWIG_arg_fail(1)) SWIG_fail;
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 {
11645 resultobj = SWIG_From_long((long)(result));
11646 }
11647 return resultobj;
11648 fail:
11649 return NULL;
11650 }
11651
11652
11653 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11654 PyObject *resultobj;
11655 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11656 long result;
11657 PyObject * obj0 = 0 ;
11658 char *kwnames[] = {
11659 (char *) "self", NULL
11660 };
11661
11662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11664 if (SWIG_arg_fail(1)) SWIG_fail;
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
11672 {
11673 resultobj = SWIG_From_long((long)(result));
11674 }
11675 return resultobj;
11676 fail:
11677 return NULL;
11678 }
11679
11680
11681 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11682 PyObject *obj;
11683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11684 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11685 Py_INCREF(obj);
11686 return Py_BuildValue((char *)"");
11687 }
11688 static int _wrap_ScrollBarNameStr_set(PyObject *) {
11689 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11690 return 1;
11691 }
11692
11693
11694 static PyObject *_wrap_ScrollBarNameStr_get(void) {
11695 PyObject *pyobj;
11696
11697 {
11698 #if wxUSE_UNICODE
11699 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11700 #else
11701 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11702 #endif
11703 }
11704 return pyobj;
11705 }
11706
11707
11708 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11709 PyObject *resultobj;
11710 wxWindow *arg1 = (wxWindow *) 0 ;
11711 int arg2 = (int) -1 ;
11712 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11713 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11714 wxSize const &arg4_defvalue = wxDefaultSize ;
11715 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11716 long arg5 = (long) wxSB_HORIZONTAL ;
11717 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11718 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11719 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11720 wxString *arg7 = (wxString *) &arg7_defvalue ;
11721 wxScrollBar *result;
11722 wxPoint temp3 ;
11723 wxSize temp4 ;
11724 bool temp7 = false ;
11725 PyObject * obj0 = 0 ;
11726 PyObject * obj1 = 0 ;
11727 PyObject * obj2 = 0 ;
11728 PyObject * obj3 = 0 ;
11729 PyObject * obj4 = 0 ;
11730 PyObject * obj5 = 0 ;
11731 PyObject * obj6 = 0 ;
11732 char *kwnames[] = {
11733 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11734 };
11735
11736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11738 if (SWIG_arg_fail(1)) SWIG_fail;
11739 if (obj1) {
11740 {
11741 arg2 = (int)(SWIG_As_int(obj1));
11742 if (SWIG_arg_fail(2)) SWIG_fail;
11743 }
11744 }
11745 if (obj2) {
11746 {
11747 arg3 = &temp3;
11748 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11749 }
11750 }
11751 if (obj3) {
11752 {
11753 arg4 = &temp4;
11754 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11755 }
11756 }
11757 if (obj4) {
11758 {
11759 arg5 = (long)(SWIG_As_long(obj4));
11760 if (SWIG_arg_fail(5)) SWIG_fail;
11761 }
11762 }
11763 if (obj5) {
11764 {
11765 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11766 if (SWIG_arg_fail(6)) SWIG_fail;
11767 if (arg6 == NULL) {
11768 SWIG_null_ref("wxValidator");
11769 }
11770 if (SWIG_arg_fail(6)) SWIG_fail;
11771 }
11772 }
11773 if (obj6) {
11774 {
11775 arg7 = wxString_in_helper(obj6);
11776 if (arg7 == NULL) SWIG_fail;
11777 temp7 = true;
11778 }
11779 }
11780 {
11781 if (!wxPyCheckForApp()) SWIG_fail;
11782 PyThreadState* __tstate = wxPyBeginAllowThreads();
11783 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11784
11785 wxPyEndAllowThreads(__tstate);
11786 if (PyErr_Occurred()) SWIG_fail;
11787 }
11788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11789 {
11790 if (temp7)
11791 delete arg7;
11792 }
11793 return resultobj;
11794 fail:
11795 {
11796 if (temp7)
11797 delete arg7;
11798 }
11799 return NULL;
11800 }
11801
11802
11803 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11804 PyObject *resultobj;
11805 wxScrollBar *result;
11806 char *kwnames[] = {
11807 NULL
11808 };
11809
11810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11811 {
11812 if (!wxPyCheckForApp()) SWIG_fail;
11813 PyThreadState* __tstate = wxPyBeginAllowThreads();
11814 result = (wxScrollBar *)new wxScrollBar();
11815
11816 wxPyEndAllowThreads(__tstate);
11817 if (PyErr_Occurred()) SWIG_fail;
11818 }
11819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11820 return resultobj;
11821 fail:
11822 return NULL;
11823 }
11824
11825
11826 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11827 PyObject *resultobj;
11828 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11829 wxWindow *arg2 = (wxWindow *) 0 ;
11830 int arg3 = (int) -1 ;
11831 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11832 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11833 wxSize const &arg5_defvalue = wxDefaultSize ;
11834 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11835 long arg6 = (long) wxSB_HORIZONTAL ;
11836 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11837 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11838 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11839 wxString *arg8 = (wxString *) &arg8_defvalue ;
11840 bool result;
11841 wxPoint temp4 ;
11842 wxSize temp5 ;
11843 bool temp8 = false ;
11844 PyObject * obj0 = 0 ;
11845 PyObject * obj1 = 0 ;
11846 PyObject * obj2 = 0 ;
11847 PyObject * obj3 = 0 ;
11848 PyObject * obj4 = 0 ;
11849 PyObject * obj5 = 0 ;
11850 PyObject * obj6 = 0 ;
11851 PyObject * obj7 = 0 ;
11852 char *kwnames[] = {
11853 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11854 };
11855
11856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11858 if (SWIG_arg_fail(1)) SWIG_fail;
11859 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11860 if (SWIG_arg_fail(2)) SWIG_fail;
11861 if (obj2) {
11862 {
11863 arg3 = (int)(SWIG_As_int(obj2));
11864 if (SWIG_arg_fail(3)) SWIG_fail;
11865 }
11866 }
11867 if (obj3) {
11868 {
11869 arg4 = &temp4;
11870 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11871 }
11872 }
11873 if (obj4) {
11874 {
11875 arg5 = &temp5;
11876 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11877 }
11878 }
11879 if (obj5) {
11880 {
11881 arg6 = (long)(SWIG_As_long(obj5));
11882 if (SWIG_arg_fail(6)) SWIG_fail;
11883 }
11884 }
11885 if (obj6) {
11886 {
11887 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11888 if (SWIG_arg_fail(7)) SWIG_fail;
11889 if (arg7 == NULL) {
11890 SWIG_null_ref("wxValidator");
11891 }
11892 if (SWIG_arg_fail(7)) SWIG_fail;
11893 }
11894 }
11895 if (obj7) {
11896 {
11897 arg8 = wxString_in_helper(obj7);
11898 if (arg8 == NULL) SWIG_fail;
11899 temp8 = true;
11900 }
11901 }
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 {
11910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11911 }
11912 {
11913 if (temp8)
11914 delete arg8;
11915 }
11916 return resultobj;
11917 fail:
11918 {
11919 if (temp8)
11920 delete arg8;
11921 }
11922 return NULL;
11923 }
11924
11925
11926 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11927 PyObject *resultobj;
11928 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11929 int result;
11930 PyObject * obj0 = 0 ;
11931 char *kwnames[] = {
11932 (char *) "self", NULL
11933 };
11934
11935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
11936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11937 if (SWIG_arg_fail(1)) SWIG_fail;
11938 {
11939 PyThreadState* __tstate = wxPyBeginAllowThreads();
11940 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
11941
11942 wxPyEndAllowThreads(__tstate);
11943 if (PyErr_Occurred()) SWIG_fail;
11944 }
11945 {
11946 resultobj = SWIG_From_int((int)(result));
11947 }
11948 return resultobj;
11949 fail:
11950 return NULL;
11951 }
11952
11953
11954 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
11955 PyObject *resultobj;
11956 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11957 int result;
11958 PyObject * obj0 = 0 ;
11959 char *kwnames[] = {
11960 (char *) "self", NULL
11961 };
11962
11963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
11964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11965 if (SWIG_arg_fail(1)) SWIG_fail;
11966 {
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
11973 {
11974 resultobj = SWIG_From_int((int)(result));
11975 }
11976 return resultobj;
11977 fail:
11978 return NULL;
11979 }
11980
11981
11982 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
11983 PyObject *resultobj;
11984 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11985 int result;
11986 PyObject * obj0 = 0 ;
11987 char *kwnames[] = {
11988 (char *) "self", NULL
11989 };
11990
11991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
11992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11993 if (SWIG_arg_fail(1)) SWIG_fail;
11994 {
11995 PyThreadState* __tstate = wxPyBeginAllowThreads();
11996 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
11997
11998 wxPyEndAllowThreads(__tstate);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 }
12001 {
12002 resultobj = SWIG_From_int((int)(result));
12003 }
12004 return resultobj;
12005 fail:
12006 return NULL;
12007 }
12008
12009
12010 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12011 PyObject *resultobj;
12012 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12013 int result;
12014 PyObject * obj0 = 0 ;
12015 char *kwnames[] = {
12016 (char *) "self", NULL
12017 };
12018
12019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12021 if (SWIG_arg_fail(1)) SWIG_fail;
12022 {
12023 PyThreadState* __tstate = wxPyBeginAllowThreads();
12024 result = (int)((wxScrollBar const *)arg1)->GetRange();
12025
12026 wxPyEndAllowThreads(__tstate);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 {
12030 resultobj = SWIG_From_int((int)(result));
12031 }
12032 return resultobj;
12033 fail:
12034 return NULL;
12035 }
12036
12037
12038 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12039 PyObject *resultobj;
12040 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12041 bool result;
12042 PyObject * obj0 = 0 ;
12043 char *kwnames[] = {
12044 (char *) "self", NULL
12045 };
12046
12047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12049 if (SWIG_arg_fail(1)) SWIG_fail;
12050 {
12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
12052 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12053
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 {
12058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12059 }
12060 return resultobj;
12061 fail:
12062 return NULL;
12063 }
12064
12065
12066 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj;
12068 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12069 int arg2 ;
12070 PyObject * obj0 = 0 ;
12071 PyObject * obj1 = 0 ;
12072 char *kwnames[] = {
12073 (char *) "self",(char *) "viewStart", NULL
12074 };
12075
12076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12078 if (SWIG_arg_fail(1)) SWIG_fail;
12079 {
12080 arg2 = (int)(SWIG_As_int(obj1));
12081 if (SWIG_arg_fail(2)) SWIG_fail;
12082 }
12083 {
12084 PyThreadState* __tstate = wxPyBeginAllowThreads();
12085 (arg1)->SetThumbPosition(arg2);
12086
12087 wxPyEndAllowThreads(__tstate);
12088 if (PyErr_Occurred()) SWIG_fail;
12089 }
12090 Py_INCREF(Py_None); resultobj = Py_None;
12091 return resultobj;
12092 fail:
12093 return NULL;
12094 }
12095
12096
12097 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12098 PyObject *resultobj;
12099 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12100 int arg2 ;
12101 int arg3 ;
12102 int arg4 ;
12103 int arg5 ;
12104 bool arg6 = (bool) true ;
12105 PyObject * obj0 = 0 ;
12106 PyObject * obj1 = 0 ;
12107 PyObject * obj2 = 0 ;
12108 PyObject * obj3 = 0 ;
12109 PyObject * obj4 = 0 ;
12110 PyObject * obj5 = 0 ;
12111 char *kwnames[] = {
12112 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12113 };
12114
12115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail;
12118 {
12119 arg2 = (int)(SWIG_As_int(obj1));
12120 if (SWIG_arg_fail(2)) SWIG_fail;
12121 }
12122 {
12123 arg3 = (int)(SWIG_As_int(obj2));
12124 if (SWIG_arg_fail(3)) SWIG_fail;
12125 }
12126 {
12127 arg4 = (int)(SWIG_As_int(obj3));
12128 if (SWIG_arg_fail(4)) SWIG_fail;
12129 }
12130 {
12131 arg5 = (int)(SWIG_As_int(obj4));
12132 if (SWIG_arg_fail(5)) SWIG_fail;
12133 }
12134 if (obj5) {
12135 {
12136 arg6 = (bool)(SWIG_As_bool(obj5));
12137 if (SWIG_arg_fail(6)) SWIG_fail;
12138 }
12139 }
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12143
12144 wxPyEndAllowThreads(__tstate);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 Py_INCREF(Py_None); resultobj = Py_None;
12148 return resultobj;
12149 fail:
12150 return NULL;
12151 }
12152
12153
12154 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12155 PyObject *resultobj;
12156 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12157 wxVisualAttributes result;
12158 PyObject * obj0 = 0 ;
12159 char *kwnames[] = {
12160 (char *) "variant", NULL
12161 };
12162
12163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12164 if (obj0) {
12165 {
12166 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12167 if (SWIG_arg_fail(1)) SWIG_fail;
12168 }
12169 }
12170 {
12171 if (!wxPyCheckForApp()) SWIG_fail;
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12174
12175 wxPyEndAllowThreads(__tstate);
12176 if (PyErr_Occurred()) SWIG_fail;
12177 }
12178 {
12179 wxVisualAttributes * resultptr;
12180 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12182 }
12183 return resultobj;
12184 fail:
12185 return NULL;
12186 }
12187
12188
12189 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12190 PyObject *obj;
12191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12192 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12193 Py_INCREF(obj);
12194 return Py_BuildValue((char *)"");
12195 }
12196 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12197 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12198 return 1;
12199 }
12200
12201
12202 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12203 PyObject *pyobj;
12204
12205 {
12206 #if wxUSE_UNICODE
12207 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12208 #else
12209 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12210 #endif
12211 }
12212 return pyobj;
12213 }
12214
12215
12216 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12217 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12218 return 1;
12219 }
12220
12221
12222 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12223 PyObject *pyobj;
12224
12225 {
12226 #if wxUSE_UNICODE
12227 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12228 #else
12229 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12230 #endif
12231 }
12232 return pyobj;
12233 }
12234
12235
12236 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12237 PyObject *resultobj;
12238 wxWindow *arg1 = (wxWindow *) 0 ;
12239 int arg2 = (int) -1 ;
12240 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12241 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12242 wxSize const &arg4_defvalue = wxDefaultSize ;
12243 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12244 long arg5 = (long) wxSP_HORIZONTAL ;
12245 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12246 wxString *arg6 = (wxString *) &arg6_defvalue ;
12247 wxSpinButton *result;
12248 wxPoint temp3 ;
12249 wxSize temp4 ;
12250 bool temp6 = false ;
12251 PyObject * obj0 = 0 ;
12252 PyObject * obj1 = 0 ;
12253 PyObject * obj2 = 0 ;
12254 PyObject * obj3 = 0 ;
12255 PyObject * obj4 = 0 ;
12256 PyObject * obj5 = 0 ;
12257 char *kwnames[] = {
12258 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12259 };
12260
12261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12263 if (SWIG_arg_fail(1)) SWIG_fail;
12264 if (obj1) {
12265 {
12266 arg2 = (int)(SWIG_As_int(obj1));
12267 if (SWIG_arg_fail(2)) SWIG_fail;
12268 }
12269 }
12270 if (obj2) {
12271 {
12272 arg3 = &temp3;
12273 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12274 }
12275 }
12276 if (obj3) {
12277 {
12278 arg4 = &temp4;
12279 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12280 }
12281 }
12282 if (obj4) {
12283 {
12284 arg5 = (long)(SWIG_As_long(obj4));
12285 if (SWIG_arg_fail(5)) SWIG_fail;
12286 }
12287 }
12288 if (obj5) {
12289 {
12290 arg6 = wxString_in_helper(obj5);
12291 if (arg6 == NULL) SWIG_fail;
12292 temp6 = true;
12293 }
12294 }
12295 {
12296 if (!wxPyCheckForApp()) SWIG_fail;
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 }
12303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12304 {
12305 if (temp6)
12306 delete arg6;
12307 }
12308 return resultobj;
12309 fail:
12310 {
12311 if (temp6)
12312 delete arg6;
12313 }
12314 return NULL;
12315 }
12316
12317
12318 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12319 PyObject *resultobj;
12320 wxSpinButton *result;
12321 char *kwnames[] = {
12322 NULL
12323 };
12324
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12326 {
12327 if (!wxPyCheckForApp()) SWIG_fail;
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 result = (wxSpinButton *)new wxSpinButton();
12330
12331 wxPyEndAllowThreads(__tstate);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 }
12334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12335 return resultobj;
12336 fail:
12337 return NULL;
12338 }
12339
12340
12341 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12342 PyObject *resultobj;
12343 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12344 wxWindow *arg2 = (wxWindow *) 0 ;
12345 int arg3 = (int) -1 ;
12346 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12347 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12348 wxSize const &arg5_defvalue = wxDefaultSize ;
12349 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12350 long arg6 = (long) wxSP_HORIZONTAL ;
12351 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12352 wxString *arg7 = (wxString *) &arg7_defvalue ;
12353 bool result;
12354 wxPoint temp4 ;
12355 wxSize temp5 ;
12356 bool temp7 = false ;
12357 PyObject * obj0 = 0 ;
12358 PyObject * obj1 = 0 ;
12359 PyObject * obj2 = 0 ;
12360 PyObject * obj3 = 0 ;
12361 PyObject * obj4 = 0 ;
12362 PyObject * obj5 = 0 ;
12363 PyObject * obj6 = 0 ;
12364 char *kwnames[] = {
12365 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12366 };
12367
12368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12370 if (SWIG_arg_fail(1)) SWIG_fail;
12371 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12372 if (SWIG_arg_fail(2)) SWIG_fail;
12373 if (obj2) {
12374 {
12375 arg3 = (int)(SWIG_As_int(obj2));
12376 if (SWIG_arg_fail(3)) SWIG_fail;
12377 }
12378 }
12379 if (obj3) {
12380 {
12381 arg4 = &temp4;
12382 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12383 }
12384 }
12385 if (obj4) {
12386 {
12387 arg5 = &temp5;
12388 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12389 }
12390 }
12391 if (obj5) {
12392 {
12393 arg6 = (long)(SWIG_As_long(obj5));
12394 if (SWIG_arg_fail(6)) SWIG_fail;
12395 }
12396 }
12397 if (obj6) {
12398 {
12399 arg7 = wxString_in_helper(obj6);
12400 if (arg7 == NULL) SWIG_fail;
12401 temp7 = true;
12402 }
12403 }
12404 {
12405 PyThreadState* __tstate = wxPyBeginAllowThreads();
12406 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12407
12408 wxPyEndAllowThreads(__tstate);
12409 if (PyErr_Occurred()) SWIG_fail;
12410 }
12411 {
12412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12413 }
12414 {
12415 if (temp7)
12416 delete arg7;
12417 }
12418 return resultobj;
12419 fail:
12420 {
12421 if (temp7)
12422 delete arg7;
12423 }
12424 return NULL;
12425 }
12426
12427
12428 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12429 PyObject *resultobj;
12430 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12431 int result;
12432 PyObject * obj0 = 0 ;
12433 char *kwnames[] = {
12434 (char *) "self", NULL
12435 };
12436
12437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12439 if (SWIG_arg_fail(1)) SWIG_fail;
12440 {
12441 PyThreadState* __tstate = wxPyBeginAllowThreads();
12442 result = (int)((wxSpinButton const *)arg1)->GetValue();
12443
12444 wxPyEndAllowThreads(__tstate);
12445 if (PyErr_Occurred()) SWIG_fail;
12446 }
12447 {
12448 resultobj = SWIG_From_int((int)(result));
12449 }
12450 return resultobj;
12451 fail:
12452 return NULL;
12453 }
12454
12455
12456 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12457 PyObject *resultobj;
12458 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12459 int result;
12460 PyObject * obj0 = 0 ;
12461 char *kwnames[] = {
12462 (char *) "self", NULL
12463 };
12464
12465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12467 if (SWIG_arg_fail(1)) SWIG_fail;
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 result = (int)((wxSpinButton const *)arg1)->GetMin();
12471
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 {
12476 resultobj = SWIG_From_int((int)(result));
12477 }
12478 return resultobj;
12479 fail:
12480 return NULL;
12481 }
12482
12483
12484 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12485 PyObject *resultobj;
12486 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12487 int result;
12488 PyObject * obj0 = 0 ;
12489 char *kwnames[] = {
12490 (char *) "self", NULL
12491 };
12492
12493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12495 if (SWIG_arg_fail(1)) SWIG_fail;
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 result = (int)((wxSpinButton const *)arg1)->GetMax();
12499
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 {
12504 resultobj = SWIG_From_int((int)(result));
12505 }
12506 return resultobj;
12507 fail:
12508 return NULL;
12509 }
12510
12511
12512 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12513 PyObject *resultobj;
12514 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12515 int arg2 ;
12516 PyObject * obj0 = 0 ;
12517 PyObject * obj1 = 0 ;
12518 char *kwnames[] = {
12519 (char *) "self",(char *) "val", NULL
12520 };
12521
12522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12524 if (SWIG_arg_fail(1)) SWIG_fail;
12525 {
12526 arg2 = (int)(SWIG_As_int(obj1));
12527 if (SWIG_arg_fail(2)) SWIG_fail;
12528 }
12529 {
12530 PyThreadState* __tstate = wxPyBeginAllowThreads();
12531 (arg1)->SetValue(arg2);
12532
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 Py_INCREF(Py_None); resultobj = Py_None;
12537 return resultobj;
12538 fail:
12539 return NULL;
12540 }
12541
12542
12543 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12544 PyObject *resultobj;
12545 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12546 int arg2 ;
12547 PyObject * obj0 = 0 ;
12548 PyObject * obj1 = 0 ;
12549 char *kwnames[] = {
12550 (char *) "self",(char *) "minVal", NULL
12551 };
12552
12553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12555 if (SWIG_arg_fail(1)) SWIG_fail;
12556 {
12557 arg2 = (int)(SWIG_As_int(obj1));
12558 if (SWIG_arg_fail(2)) SWIG_fail;
12559 }
12560 {
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 (arg1)->SetMin(arg2);
12563
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 Py_INCREF(Py_None); resultobj = Py_None;
12568 return resultobj;
12569 fail:
12570 return NULL;
12571 }
12572
12573
12574 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12575 PyObject *resultobj;
12576 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12577 int arg2 ;
12578 PyObject * obj0 = 0 ;
12579 PyObject * obj1 = 0 ;
12580 char *kwnames[] = {
12581 (char *) "self",(char *) "maxVal", NULL
12582 };
12583
12584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12586 if (SWIG_arg_fail(1)) SWIG_fail;
12587 {
12588 arg2 = (int)(SWIG_As_int(obj1));
12589 if (SWIG_arg_fail(2)) SWIG_fail;
12590 }
12591 {
12592 PyThreadState* __tstate = wxPyBeginAllowThreads();
12593 (arg1)->SetMax(arg2);
12594
12595 wxPyEndAllowThreads(__tstate);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 }
12598 Py_INCREF(Py_None); resultobj = Py_None;
12599 return resultobj;
12600 fail:
12601 return NULL;
12602 }
12603
12604
12605 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12606 PyObject *resultobj;
12607 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12608 int arg2 ;
12609 int arg3 ;
12610 PyObject * obj0 = 0 ;
12611 PyObject * obj1 = 0 ;
12612 PyObject * obj2 = 0 ;
12613 char *kwnames[] = {
12614 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12615 };
12616
12617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = (int)(SWIG_As_int(obj2));
12626 if (SWIG_arg_fail(3)) SWIG_fail;
12627 }
12628 {
12629 PyThreadState* __tstate = wxPyBeginAllowThreads();
12630 (arg1)->SetRange(arg2,arg3);
12631
12632 wxPyEndAllowThreads(__tstate);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 }
12635 Py_INCREF(Py_None); resultobj = Py_None;
12636 return resultobj;
12637 fail:
12638 return NULL;
12639 }
12640
12641
12642 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12643 PyObject *resultobj;
12644 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12645 bool result;
12646 PyObject * obj0 = 0 ;
12647 char *kwnames[] = {
12648 (char *) "self", NULL
12649 };
12650
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail;
12654 {
12655 PyThreadState* __tstate = wxPyBeginAllowThreads();
12656 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12657
12658 wxPyEndAllowThreads(__tstate);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
12661 {
12662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12663 }
12664 return resultobj;
12665 fail:
12666 return NULL;
12667 }
12668
12669
12670 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12671 PyObject *resultobj;
12672 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12673 wxVisualAttributes result;
12674 PyObject * obj0 = 0 ;
12675 char *kwnames[] = {
12676 (char *) "variant", NULL
12677 };
12678
12679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12680 if (obj0) {
12681 {
12682 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12683 if (SWIG_arg_fail(1)) SWIG_fail;
12684 }
12685 }
12686 {
12687 if (!wxPyCheckForApp()) SWIG_fail;
12688 PyThreadState* __tstate = wxPyBeginAllowThreads();
12689 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12690
12691 wxPyEndAllowThreads(__tstate);
12692 if (PyErr_Occurred()) SWIG_fail;
12693 }
12694 {
12695 wxVisualAttributes * resultptr;
12696 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12697 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12698 }
12699 return resultobj;
12700 fail:
12701 return NULL;
12702 }
12703
12704
12705 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12706 PyObject *obj;
12707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12708 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12709 Py_INCREF(obj);
12710 return Py_BuildValue((char *)"");
12711 }
12712 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12713 PyObject *resultobj;
12714 wxWindow *arg1 = (wxWindow *) 0 ;
12715 int arg2 = (int) -1 ;
12716 wxString const &arg3_defvalue = wxPyEmptyString ;
12717 wxString *arg3 = (wxString *) &arg3_defvalue ;
12718 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12719 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12720 wxSize const &arg5_defvalue = wxDefaultSize ;
12721 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12722 long arg6 = (long) wxSP_ARROW_KEYS ;
12723 int arg7 = (int) 0 ;
12724 int arg8 = (int) 100 ;
12725 int arg9 = (int) 0 ;
12726 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12727 wxString *arg10 = (wxString *) &arg10_defvalue ;
12728 wxSpinCtrl *result;
12729 bool temp3 = false ;
12730 wxPoint temp4 ;
12731 wxSize temp5 ;
12732 bool temp10 = false ;
12733 PyObject * obj0 = 0 ;
12734 PyObject * obj1 = 0 ;
12735 PyObject * obj2 = 0 ;
12736 PyObject * obj3 = 0 ;
12737 PyObject * obj4 = 0 ;
12738 PyObject * obj5 = 0 ;
12739 PyObject * obj6 = 0 ;
12740 PyObject * obj7 = 0 ;
12741 PyObject * obj8 = 0 ;
12742 PyObject * obj9 = 0 ;
12743 char *kwnames[] = {
12744 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12749 if (SWIG_arg_fail(1)) SWIG_fail;
12750 if (obj1) {
12751 {
12752 arg2 = (int)(SWIG_As_int(obj1));
12753 if (SWIG_arg_fail(2)) SWIG_fail;
12754 }
12755 }
12756 if (obj2) {
12757 {
12758 arg3 = wxString_in_helper(obj2);
12759 if (arg3 == NULL) SWIG_fail;
12760 temp3 = true;
12761 }
12762 }
12763 if (obj3) {
12764 {
12765 arg4 = &temp4;
12766 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12767 }
12768 }
12769 if (obj4) {
12770 {
12771 arg5 = &temp5;
12772 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12773 }
12774 }
12775 if (obj5) {
12776 {
12777 arg6 = (long)(SWIG_As_long(obj5));
12778 if (SWIG_arg_fail(6)) SWIG_fail;
12779 }
12780 }
12781 if (obj6) {
12782 {
12783 arg7 = (int)(SWIG_As_int(obj6));
12784 if (SWIG_arg_fail(7)) SWIG_fail;
12785 }
12786 }
12787 if (obj7) {
12788 {
12789 arg8 = (int)(SWIG_As_int(obj7));
12790 if (SWIG_arg_fail(8)) SWIG_fail;
12791 }
12792 }
12793 if (obj8) {
12794 {
12795 arg9 = (int)(SWIG_As_int(obj8));
12796 if (SWIG_arg_fail(9)) SWIG_fail;
12797 }
12798 }
12799 if (obj9) {
12800 {
12801 arg10 = wxString_in_helper(obj9);
12802 if (arg10 == NULL) SWIG_fail;
12803 temp10 = true;
12804 }
12805 }
12806 {
12807 if (!wxPyCheckForApp()) SWIG_fail;
12808 PyThreadState* __tstate = wxPyBeginAllowThreads();
12809 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12810
12811 wxPyEndAllowThreads(__tstate);
12812 if (PyErr_Occurred()) SWIG_fail;
12813 }
12814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12815 {
12816 if (temp3)
12817 delete arg3;
12818 }
12819 {
12820 if (temp10)
12821 delete arg10;
12822 }
12823 return resultobj;
12824 fail:
12825 {
12826 if (temp3)
12827 delete arg3;
12828 }
12829 {
12830 if (temp10)
12831 delete arg10;
12832 }
12833 return NULL;
12834 }
12835
12836
12837 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj;
12839 wxSpinCtrl *result;
12840 char *kwnames[] = {
12841 NULL
12842 };
12843
12844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12845 {
12846 if (!wxPyCheckForApp()) SWIG_fail;
12847 PyThreadState* __tstate = wxPyBeginAllowThreads();
12848 result = (wxSpinCtrl *)new wxSpinCtrl();
12849
12850 wxPyEndAllowThreads(__tstate);
12851 if (PyErr_Occurred()) SWIG_fail;
12852 }
12853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12854 return resultobj;
12855 fail:
12856 return NULL;
12857 }
12858
12859
12860 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12861 PyObject *resultobj;
12862 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12863 wxWindow *arg2 = (wxWindow *) 0 ;
12864 int arg3 = (int) -1 ;
12865 wxString const &arg4_defvalue = wxPyEmptyString ;
12866 wxString *arg4 = (wxString *) &arg4_defvalue ;
12867 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12868 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12869 wxSize const &arg6_defvalue = wxDefaultSize ;
12870 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12871 long arg7 = (long) wxSP_ARROW_KEYS ;
12872 int arg8 = (int) 0 ;
12873 int arg9 = (int) 100 ;
12874 int arg10 = (int) 0 ;
12875 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
12876 wxString *arg11 = (wxString *) &arg11_defvalue ;
12877 bool result;
12878 bool temp4 = false ;
12879 wxPoint temp5 ;
12880 wxSize temp6 ;
12881 bool temp11 = false ;
12882 PyObject * obj0 = 0 ;
12883 PyObject * obj1 = 0 ;
12884 PyObject * obj2 = 0 ;
12885 PyObject * obj3 = 0 ;
12886 PyObject * obj4 = 0 ;
12887 PyObject * obj5 = 0 ;
12888 PyObject * obj6 = 0 ;
12889 PyObject * obj7 = 0 ;
12890 PyObject * obj8 = 0 ;
12891 PyObject * obj9 = 0 ;
12892 PyObject * obj10 = 0 ;
12893 char *kwnames[] = {
12894 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12895 };
12896
12897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
12899 if (SWIG_arg_fail(1)) SWIG_fail;
12900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12901 if (SWIG_arg_fail(2)) SWIG_fail;
12902 if (obj2) {
12903 {
12904 arg3 = (int)(SWIG_As_int(obj2));
12905 if (SWIG_arg_fail(3)) SWIG_fail;
12906 }
12907 }
12908 if (obj3) {
12909 {
12910 arg4 = wxString_in_helper(obj3);
12911 if (arg4 == NULL) SWIG_fail;
12912 temp4 = true;
12913 }
12914 }
12915 if (obj4) {
12916 {
12917 arg5 = &temp5;
12918 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12919 }
12920 }
12921 if (obj5) {
12922 {
12923 arg6 = &temp6;
12924 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12925 }
12926 }
12927 if (obj6) {
12928 {
12929 arg7 = (long)(SWIG_As_long(obj6));
12930 if (SWIG_arg_fail(7)) SWIG_fail;
12931 }
12932 }
12933 if (obj7) {
12934 {
12935 arg8 = (int)(SWIG_As_int(obj7));
12936 if (SWIG_arg_fail(8)) SWIG_fail;
12937 }
12938 }
12939 if (obj8) {
12940 {
12941 arg9 = (int)(SWIG_As_int(obj8));
12942 if (SWIG_arg_fail(9)) SWIG_fail;
12943 }
12944 }
12945 if (obj9) {
12946 {
12947 arg10 = (int)(SWIG_As_int(obj9));
12948 if (SWIG_arg_fail(10)) SWIG_fail;
12949 }
12950 }
12951 if (obj10) {
12952 {
12953 arg11 = wxString_in_helper(obj10);
12954 if (arg11 == NULL) SWIG_fail;
12955 temp11 = true;
12956 }
12957 }
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
12961
12962 wxPyEndAllowThreads(__tstate);
12963 if (PyErr_Occurred()) SWIG_fail;
12964 }
12965 {
12966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12967 }
12968 {
12969 if (temp4)
12970 delete arg4;
12971 }
12972 {
12973 if (temp11)
12974 delete arg11;
12975 }
12976 return resultobj;
12977 fail:
12978 {
12979 if (temp4)
12980 delete arg4;
12981 }
12982 {
12983 if (temp11)
12984 delete arg11;
12985 }
12986 return NULL;
12987 }
12988
12989
12990 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12991 PyObject *resultobj;
12992 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12993 int result;
12994 PyObject * obj0 = 0 ;
12995 char *kwnames[] = {
12996 (char *) "self", NULL
12997 };
12998
12999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13001 if (SWIG_arg_fail(1)) SWIG_fail;
13002 {
13003 PyThreadState* __tstate = wxPyBeginAllowThreads();
13004 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13005
13006 wxPyEndAllowThreads(__tstate);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 }
13009 {
13010 resultobj = SWIG_From_int((int)(result));
13011 }
13012 return resultobj;
13013 fail:
13014 return NULL;
13015 }
13016
13017
13018 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13019 PyObject *resultobj;
13020 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13021 int arg2 ;
13022 PyObject * obj0 = 0 ;
13023 PyObject * obj1 = 0 ;
13024 char *kwnames[] = {
13025 (char *) "self",(char *) "value", NULL
13026 };
13027
13028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13030 if (SWIG_arg_fail(1)) SWIG_fail;
13031 {
13032 arg2 = (int)(SWIG_As_int(obj1));
13033 if (SWIG_arg_fail(2)) SWIG_fail;
13034 }
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 (arg1)->SetValue(arg2);
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 Py_INCREF(Py_None); resultobj = Py_None;
13043 return resultobj;
13044 fail:
13045 return NULL;
13046 }
13047
13048
13049 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13050 PyObject *resultobj;
13051 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13052 wxString *arg2 = 0 ;
13053 bool temp2 = false ;
13054 PyObject * obj0 = 0 ;
13055 PyObject * obj1 = 0 ;
13056 char *kwnames[] = {
13057 (char *) "self",(char *) "text", NULL
13058 };
13059
13060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13062 if (SWIG_arg_fail(1)) SWIG_fail;
13063 {
13064 arg2 = wxString_in_helper(obj1);
13065 if (arg2 == NULL) SWIG_fail;
13066 temp2 = true;
13067 }
13068 {
13069 PyThreadState* __tstate = wxPyBeginAllowThreads();
13070 (arg1)->SetValue((wxString const &)*arg2);
13071
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
13075 Py_INCREF(Py_None); resultobj = Py_None;
13076 {
13077 if (temp2)
13078 delete arg2;
13079 }
13080 return resultobj;
13081 fail:
13082 {
13083 if (temp2)
13084 delete arg2;
13085 }
13086 return NULL;
13087 }
13088
13089
13090 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13091 PyObject *resultobj;
13092 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13093 int arg2 ;
13094 int arg3 ;
13095 PyObject * obj0 = 0 ;
13096 PyObject * obj1 = 0 ;
13097 PyObject * obj2 = 0 ;
13098 char *kwnames[] = {
13099 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13100 };
13101
13102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13104 if (SWIG_arg_fail(1)) SWIG_fail;
13105 {
13106 arg2 = (int)(SWIG_As_int(obj1));
13107 if (SWIG_arg_fail(2)) SWIG_fail;
13108 }
13109 {
13110 arg3 = (int)(SWIG_As_int(obj2));
13111 if (SWIG_arg_fail(3)) SWIG_fail;
13112 }
13113 {
13114 PyThreadState* __tstate = wxPyBeginAllowThreads();
13115 (arg1)->SetRange(arg2,arg3);
13116
13117 wxPyEndAllowThreads(__tstate);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 }
13120 Py_INCREF(Py_None); resultobj = Py_None;
13121 return resultobj;
13122 fail:
13123 return NULL;
13124 }
13125
13126
13127 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13128 PyObject *resultobj;
13129 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13130 int result;
13131 PyObject * obj0 = 0 ;
13132 char *kwnames[] = {
13133 (char *) "self", NULL
13134 };
13135
13136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13138 if (SWIG_arg_fail(1)) SWIG_fail;
13139 {
13140 PyThreadState* __tstate = wxPyBeginAllowThreads();
13141 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13142
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 {
13147 resultobj = SWIG_From_int((int)(result));
13148 }
13149 return resultobj;
13150 fail:
13151 return NULL;
13152 }
13153
13154
13155 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13156 PyObject *resultobj;
13157 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13158 int result;
13159 PyObject * obj0 = 0 ;
13160 char *kwnames[] = {
13161 (char *) "self", NULL
13162 };
13163
13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13166 if (SWIG_arg_fail(1)) SWIG_fail;
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 {
13175 resultobj = SWIG_From_int((int)(result));
13176 }
13177 return resultobj;
13178 fail:
13179 return NULL;
13180 }
13181
13182
13183 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj;
13185 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13186 long arg2 ;
13187 long arg3 ;
13188 PyObject * obj0 = 0 ;
13189 PyObject * obj1 = 0 ;
13190 PyObject * obj2 = 0 ;
13191 char *kwnames[] = {
13192 (char *) "self",(char *) "from",(char *) "to", NULL
13193 };
13194
13195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13197 if (SWIG_arg_fail(1)) SWIG_fail;
13198 {
13199 arg2 = (long)(SWIG_As_long(obj1));
13200 if (SWIG_arg_fail(2)) SWIG_fail;
13201 }
13202 {
13203 arg3 = (long)(SWIG_As_long(obj2));
13204 if (SWIG_arg_fail(3)) SWIG_fail;
13205 }
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 (arg1)->SetSelection(arg2,arg3);
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 Py_INCREF(Py_None); resultobj = Py_None;
13214 return resultobj;
13215 fail:
13216 return NULL;
13217 }
13218
13219
13220 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13221 PyObject *resultobj;
13222 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13223 wxVisualAttributes result;
13224 PyObject * obj0 = 0 ;
13225 char *kwnames[] = {
13226 (char *) "variant", NULL
13227 };
13228
13229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13230 if (obj0) {
13231 {
13232 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13233 if (SWIG_arg_fail(1)) SWIG_fail;
13234 }
13235 }
13236 {
13237 if (!wxPyCheckForApp()) SWIG_fail;
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13240
13241 wxPyEndAllowThreads(__tstate);
13242 if (PyErr_Occurred()) SWIG_fail;
13243 }
13244 {
13245 wxVisualAttributes * resultptr;
13246 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
13247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13248 }
13249 return resultobj;
13250 fail:
13251 return NULL;
13252 }
13253
13254
13255 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13256 PyObject *obj;
13257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13258 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13259 Py_INCREF(obj);
13260 return Py_BuildValue((char *)"");
13261 }
13262 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13263 PyObject *resultobj;
13264 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13265 int arg2 = (int) 0 ;
13266 wxSpinEvent *result;
13267 PyObject * obj0 = 0 ;
13268 PyObject * obj1 = 0 ;
13269 char *kwnames[] = {
13270 (char *) "commandType",(char *) "winid", NULL
13271 };
13272
13273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13274 if (obj0) {
13275 {
13276 arg1 = (wxEventType)(SWIG_As_int(obj0));
13277 if (SWIG_arg_fail(1)) SWIG_fail;
13278 }
13279 }
13280 if (obj1) {
13281 {
13282 arg2 = (int)(SWIG_As_int(obj1));
13283 if (SWIG_arg_fail(2)) SWIG_fail;
13284 }
13285 }
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13294 return resultobj;
13295 fail:
13296 return NULL;
13297 }
13298
13299
13300 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13301 PyObject *resultobj;
13302 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13303 int result;
13304 PyObject * obj0 = 0 ;
13305 char *kwnames[] = {
13306 (char *) "self", NULL
13307 };
13308
13309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13311 if (SWIG_arg_fail(1)) SWIG_fail;
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13315
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
13319 {
13320 resultobj = SWIG_From_int((int)(result));
13321 }
13322 return resultobj;
13323 fail:
13324 return NULL;
13325 }
13326
13327
13328 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj;
13330 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13331 int arg2 ;
13332 PyObject * obj0 = 0 ;
13333 PyObject * obj1 = 0 ;
13334 char *kwnames[] = {
13335 (char *) "self",(char *) "pos", NULL
13336 };
13337
13338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13340 if (SWIG_arg_fail(1)) SWIG_fail;
13341 {
13342 arg2 = (int)(SWIG_As_int(obj1));
13343 if (SWIG_arg_fail(2)) SWIG_fail;
13344 }
13345 {
13346 PyThreadState* __tstate = wxPyBeginAllowThreads();
13347 (arg1)->SetPosition(arg2);
13348
13349 wxPyEndAllowThreads(__tstate);
13350 if (PyErr_Occurred()) SWIG_fail;
13351 }
13352 Py_INCREF(Py_None); resultobj = Py_None;
13353 return resultobj;
13354 fail:
13355 return NULL;
13356 }
13357
13358
13359 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13360 PyObject *obj;
13361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13362 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13363 Py_INCREF(obj);
13364 return Py_BuildValue((char *)"");
13365 }
13366 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13367 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13368 return 1;
13369 }
13370
13371
13372 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13373 PyObject *pyobj;
13374
13375 {
13376 #if wxUSE_UNICODE
13377 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13378 #else
13379 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13380 #endif
13381 }
13382 return pyobj;
13383 }
13384
13385
13386 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13387 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13388 return 1;
13389 }
13390
13391
13392 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13393 PyObject *pyobj;
13394
13395 {
13396 #if wxUSE_UNICODE
13397 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13398 #else
13399 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13400 #endif
13401 }
13402 return pyobj;
13403 }
13404
13405
13406 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13407 PyObject *resultobj;
13408 wxWindow *arg1 = (wxWindow *) 0 ;
13409 int arg2 = (int) -1 ;
13410 wxString const &arg3_defvalue = wxPyEmptyString ;
13411 wxString *arg3 = (wxString *) &arg3_defvalue ;
13412 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13413 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13414 wxSize const &arg5_defvalue = wxDefaultSize ;
13415 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13416 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13417 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13418 int arg7 = (int) 0 ;
13419 long arg8 = (long) wxRA_HORIZONTAL ;
13420 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13421 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13422 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13423 wxString *arg10 = (wxString *) &arg10_defvalue ;
13424 wxRadioBox *result;
13425 bool temp3 = false ;
13426 wxPoint temp4 ;
13427 wxSize temp5 ;
13428 bool temp6 = false ;
13429 bool temp10 = false ;
13430 PyObject * obj0 = 0 ;
13431 PyObject * obj1 = 0 ;
13432 PyObject * obj2 = 0 ;
13433 PyObject * obj3 = 0 ;
13434 PyObject * obj4 = 0 ;
13435 PyObject * obj5 = 0 ;
13436 PyObject * obj6 = 0 ;
13437 PyObject * obj7 = 0 ;
13438 PyObject * obj8 = 0 ;
13439 PyObject * obj9 = 0 ;
13440 char *kwnames[] = {
13441 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13442 };
13443
13444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13446 if (SWIG_arg_fail(1)) SWIG_fail;
13447 if (obj1) {
13448 {
13449 arg2 = (int)(SWIG_As_int(obj1));
13450 if (SWIG_arg_fail(2)) SWIG_fail;
13451 }
13452 }
13453 if (obj2) {
13454 {
13455 arg3 = wxString_in_helper(obj2);
13456 if (arg3 == NULL) SWIG_fail;
13457 temp3 = true;
13458 }
13459 }
13460 if (obj3) {
13461 {
13462 arg4 = &temp4;
13463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13464 }
13465 }
13466 if (obj4) {
13467 {
13468 arg5 = &temp5;
13469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13470 }
13471 }
13472 if (obj5) {
13473 {
13474 if (! PySequence_Check(obj5)) {
13475 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13476 SWIG_fail;
13477 }
13478 arg6 = new wxArrayString;
13479 temp6 = true;
13480 int i, len=PySequence_Length(obj5);
13481 for (i=0; i<len; i++) {
13482 PyObject* item = PySequence_GetItem(obj5, i);
13483 wxString* s = wxString_in_helper(item);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 arg6->Add(*s);
13486 delete s;
13487 Py_DECREF(item);
13488 }
13489 }
13490 }
13491 if (obj6) {
13492 {
13493 arg7 = (int)(SWIG_As_int(obj6));
13494 if (SWIG_arg_fail(7)) SWIG_fail;
13495 }
13496 }
13497 if (obj7) {
13498 {
13499 arg8 = (long)(SWIG_As_long(obj7));
13500 if (SWIG_arg_fail(8)) SWIG_fail;
13501 }
13502 }
13503 if (obj8) {
13504 {
13505 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13506 if (SWIG_arg_fail(9)) SWIG_fail;
13507 if (arg9 == NULL) {
13508 SWIG_null_ref("wxValidator");
13509 }
13510 if (SWIG_arg_fail(9)) SWIG_fail;
13511 }
13512 }
13513 if (obj9) {
13514 {
13515 arg10 = wxString_in_helper(obj9);
13516 if (arg10 == NULL) SWIG_fail;
13517 temp10 = true;
13518 }
13519 }
13520 {
13521 if (!wxPyCheckForApp()) SWIG_fail;
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 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);
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
13528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13529 {
13530 if (temp3)
13531 delete arg3;
13532 }
13533 {
13534 if (temp6) delete arg6;
13535 }
13536 {
13537 if (temp10)
13538 delete arg10;
13539 }
13540 return resultobj;
13541 fail:
13542 {
13543 if (temp3)
13544 delete arg3;
13545 }
13546 {
13547 if (temp6) delete arg6;
13548 }
13549 {
13550 if (temp10)
13551 delete arg10;
13552 }
13553 return NULL;
13554 }
13555
13556
13557 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13558 PyObject *resultobj;
13559 wxRadioBox *result;
13560 char *kwnames[] = {
13561 NULL
13562 };
13563
13564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13565 {
13566 if (!wxPyCheckForApp()) SWIG_fail;
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 result = (wxRadioBox *)new wxRadioBox();
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13574 return resultobj;
13575 fail:
13576 return NULL;
13577 }
13578
13579
13580 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13581 PyObject *resultobj;
13582 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13583 wxWindow *arg2 = (wxWindow *) 0 ;
13584 int arg3 = (int) -1 ;
13585 wxString const &arg4_defvalue = wxPyEmptyString ;
13586 wxString *arg4 = (wxString *) &arg4_defvalue ;
13587 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13588 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13589 wxSize const &arg6_defvalue = wxDefaultSize ;
13590 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13591 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13592 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13593 int arg8 = (int) 0 ;
13594 long arg9 = (long) wxRA_HORIZONTAL ;
13595 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13596 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13597 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13598 wxString *arg11 = (wxString *) &arg11_defvalue ;
13599 bool result;
13600 bool temp4 = false ;
13601 wxPoint temp5 ;
13602 wxSize temp6 ;
13603 bool temp7 = false ;
13604 bool temp11 = false ;
13605 PyObject * obj0 = 0 ;
13606 PyObject * obj1 = 0 ;
13607 PyObject * obj2 = 0 ;
13608 PyObject * obj3 = 0 ;
13609 PyObject * obj4 = 0 ;
13610 PyObject * obj5 = 0 ;
13611 PyObject * obj6 = 0 ;
13612 PyObject * obj7 = 0 ;
13613 PyObject * obj8 = 0 ;
13614 PyObject * obj9 = 0 ;
13615 PyObject * obj10 = 0 ;
13616 char *kwnames[] = {
13617 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13618 };
13619
13620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13622 if (SWIG_arg_fail(1)) SWIG_fail;
13623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13624 if (SWIG_arg_fail(2)) SWIG_fail;
13625 if (obj2) {
13626 {
13627 arg3 = (int)(SWIG_As_int(obj2));
13628 if (SWIG_arg_fail(3)) SWIG_fail;
13629 }
13630 }
13631 if (obj3) {
13632 {
13633 arg4 = wxString_in_helper(obj3);
13634 if (arg4 == NULL) SWIG_fail;
13635 temp4 = true;
13636 }
13637 }
13638 if (obj4) {
13639 {
13640 arg5 = &temp5;
13641 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13642 }
13643 }
13644 if (obj5) {
13645 {
13646 arg6 = &temp6;
13647 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13648 }
13649 }
13650 if (obj6) {
13651 {
13652 if (! PySequence_Check(obj6)) {
13653 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13654 SWIG_fail;
13655 }
13656 arg7 = new wxArrayString;
13657 temp7 = true;
13658 int i, len=PySequence_Length(obj6);
13659 for (i=0; i<len; i++) {
13660 PyObject* item = PySequence_GetItem(obj6, i);
13661 wxString* s = wxString_in_helper(item);
13662 if (PyErr_Occurred()) SWIG_fail;
13663 arg7->Add(*s);
13664 delete s;
13665 Py_DECREF(item);
13666 }
13667 }
13668 }
13669 if (obj7) {
13670 {
13671 arg8 = (int)(SWIG_As_int(obj7));
13672 if (SWIG_arg_fail(8)) SWIG_fail;
13673 }
13674 }
13675 if (obj8) {
13676 {
13677 arg9 = (long)(SWIG_As_long(obj8));
13678 if (SWIG_arg_fail(9)) SWIG_fail;
13679 }
13680 }
13681 if (obj9) {
13682 {
13683 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13684 if (SWIG_arg_fail(10)) SWIG_fail;
13685 if (arg10 == NULL) {
13686 SWIG_null_ref("wxValidator");
13687 }
13688 if (SWIG_arg_fail(10)) SWIG_fail;
13689 }
13690 }
13691 if (obj10) {
13692 {
13693 arg11 = wxString_in_helper(obj10);
13694 if (arg11 == NULL) SWIG_fail;
13695 temp11 = true;
13696 }
13697 }
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 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);
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 {
13706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13707 }
13708 {
13709 if (temp4)
13710 delete arg4;
13711 }
13712 {
13713 if (temp7) delete arg7;
13714 }
13715 {
13716 if (temp11)
13717 delete arg11;
13718 }
13719 return resultobj;
13720 fail:
13721 {
13722 if (temp4)
13723 delete arg4;
13724 }
13725 {
13726 if (temp7) delete arg7;
13727 }
13728 {
13729 if (temp11)
13730 delete arg11;
13731 }
13732 return NULL;
13733 }
13734
13735
13736 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13737 PyObject *resultobj;
13738 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13739 int arg2 ;
13740 PyObject * obj0 = 0 ;
13741 PyObject * obj1 = 0 ;
13742 char *kwnames[] = {
13743 (char *) "self",(char *) "n", NULL
13744 };
13745
13746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13748 if (SWIG_arg_fail(1)) SWIG_fail;
13749 {
13750 arg2 = (int)(SWIG_As_int(obj1));
13751 if (SWIG_arg_fail(2)) SWIG_fail;
13752 }
13753 {
13754 PyThreadState* __tstate = wxPyBeginAllowThreads();
13755 (arg1)->SetSelection(arg2);
13756
13757 wxPyEndAllowThreads(__tstate);
13758 if (PyErr_Occurred()) SWIG_fail;
13759 }
13760 Py_INCREF(Py_None); resultobj = Py_None;
13761 return resultobj;
13762 fail:
13763 return NULL;
13764 }
13765
13766
13767 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13768 PyObject *resultobj;
13769 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13770 int result;
13771 PyObject * obj0 = 0 ;
13772 char *kwnames[] = {
13773 (char *) "self", NULL
13774 };
13775
13776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
13777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13778 if (SWIG_arg_fail(1)) SWIG_fail;
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 {
13787 resultobj = SWIG_From_int((int)(result));
13788 }
13789 return resultobj;
13790 fail:
13791 return NULL;
13792 }
13793
13794
13795 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13796 PyObject *resultobj;
13797 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13798 wxString result;
13799 PyObject * obj0 = 0 ;
13800 char *kwnames[] = {
13801 (char *) "self", NULL
13802 };
13803
13804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
13805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13806 if (SWIG_arg_fail(1)) SWIG_fail;
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13810
13811 wxPyEndAllowThreads(__tstate);
13812 if (PyErr_Occurred()) SWIG_fail;
13813 }
13814 {
13815 #if wxUSE_UNICODE
13816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13817 #else
13818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13819 #endif
13820 }
13821 return resultobj;
13822 fail:
13823 return NULL;
13824 }
13825
13826
13827 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13828 PyObject *resultobj;
13829 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13830 wxString *arg2 = 0 ;
13831 bool result;
13832 bool temp2 = false ;
13833 PyObject * obj0 = 0 ;
13834 PyObject * obj1 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "self",(char *) "s", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
13840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13841 if (SWIG_arg_fail(1)) SWIG_fail;
13842 {
13843 arg2 = wxString_in_helper(obj1);
13844 if (arg2 == NULL) SWIG_fail;
13845 temp2 = true;
13846 }
13847 {
13848 PyThreadState* __tstate = wxPyBeginAllowThreads();
13849 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13850
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 {
13855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13856 }
13857 {
13858 if (temp2)
13859 delete arg2;
13860 }
13861 return resultobj;
13862 fail:
13863 {
13864 if (temp2)
13865 delete arg2;
13866 }
13867 return NULL;
13868 }
13869
13870
13871 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
13872 PyObject *resultobj;
13873 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13874 int result;
13875 PyObject * obj0 = 0 ;
13876 char *kwnames[] = {
13877 (char *) "self", NULL
13878 };
13879
13880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
13881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13882 if (SWIG_arg_fail(1)) SWIG_fail;
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 result = (int)((wxRadioBox const *)arg1)->GetCount();
13886
13887 wxPyEndAllowThreads(__tstate);
13888 if (PyErr_Occurred()) SWIG_fail;
13889 }
13890 {
13891 resultobj = SWIG_From_int((int)(result));
13892 }
13893 return resultobj;
13894 fail:
13895 return NULL;
13896 }
13897
13898
13899 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
13900 PyObject *resultobj;
13901 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13902 wxString *arg2 = 0 ;
13903 int result;
13904 bool temp2 = false ;
13905 PyObject * obj0 = 0 ;
13906 PyObject * obj1 = 0 ;
13907 char *kwnames[] = {
13908 (char *) "self",(char *) "s", NULL
13909 };
13910
13911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
13912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13913 if (SWIG_arg_fail(1)) SWIG_fail;
13914 {
13915 arg2 = wxString_in_helper(obj1);
13916 if (arg2 == NULL) SWIG_fail;
13917 temp2 = true;
13918 }
13919 {
13920 PyThreadState* __tstate = wxPyBeginAllowThreads();
13921 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
13922
13923 wxPyEndAllowThreads(__tstate);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 }
13926 {
13927 resultobj = SWIG_From_int((int)(result));
13928 }
13929 {
13930 if (temp2)
13931 delete arg2;
13932 }
13933 return resultobj;
13934 fail:
13935 {
13936 if (temp2)
13937 delete arg2;
13938 }
13939 return NULL;
13940 }
13941
13942
13943 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
13944 PyObject *resultobj;
13945 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13946 int arg2 ;
13947 wxString result;
13948 PyObject * obj0 = 0 ;
13949 PyObject * obj1 = 0 ;
13950 char *kwnames[] = {
13951 (char *) "self",(char *) "n", NULL
13952 };
13953
13954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
13955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13956 if (SWIG_arg_fail(1)) SWIG_fail;
13957 {
13958 arg2 = (int)(SWIG_As_int(obj1));
13959 if (SWIG_arg_fail(2)) SWIG_fail;
13960 }
13961 {
13962 PyThreadState* __tstate = wxPyBeginAllowThreads();
13963 result = ((wxRadioBox const *)arg1)->GetString(arg2);
13964
13965 wxPyEndAllowThreads(__tstate);
13966 if (PyErr_Occurred()) SWIG_fail;
13967 }
13968 {
13969 #if wxUSE_UNICODE
13970 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13971 #else
13972 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13973 #endif
13974 }
13975 return resultobj;
13976 fail:
13977 return NULL;
13978 }
13979
13980
13981 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
13982 PyObject *resultobj;
13983 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13984 int arg2 ;
13985 wxString *arg3 = 0 ;
13986 bool temp3 = false ;
13987 PyObject * obj0 = 0 ;
13988 PyObject * obj1 = 0 ;
13989 PyObject * obj2 = 0 ;
13990 char *kwnames[] = {
13991 (char *) "self",(char *) "n",(char *) "label", NULL
13992 };
13993
13994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
13995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13996 if (SWIG_arg_fail(1)) SWIG_fail;
13997 {
13998 arg2 = (int)(SWIG_As_int(obj1));
13999 if (SWIG_arg_fail(2)) SWIG_fail;
14000 }
14001 {
14002 arg3 = wxString_in_helper(obj2);
14003 if (arg3 == NULL) SWIG_fail;
14004 temp3 = true;
14005 }
14006 {
14007 PyThreadState* __tstate = wxPyBeginAllowThreads();
14008 (arg1)->SetString(arg2,(wxString const &)*arg3);
14009
14010 wxPyEndAllowThreads(__tstate);
14011 if (PyErr_Occurred()) SWIG_fail;
14012 }
14013 Py_INCREF(Py_None); resultobj = Py_None;
14014 {
14015 if (temp3)
14016 delete arg3;
14017 }
14018 return resultobj;
14019 fail:
14020 {
14021 if (temp3)
14022 delete arg3;
14023 }
14024 return NULL;
14025 }
14026
14027
14028 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14029 PyObject *resultobj;
14030 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14031 int arg2 ;
14032 bool arg3 = (bool) true ;
14033 PyObject * obj0 = 0 ;
14034 PyObject * obj1 = 0 ;
14035 PyObject * obj2 = 0 ;
14036 char *kwnames[] = {
14037 (char *) "self",(char *) "n",(char *) "enable", NULL
14038 };
14039
14040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14042 if (SWIG_arg_fail(1)) SWIG_fail;
14043 {
14044 arg2 = (int)(SWIG_As_int(obj1));
14045 if (SWIG_arg_fail(2)) SWIG_fail;
14046 }
14047 if (obj2) {
14048 {
14049 arg3 = (bool)(SWIG_As_bool(obj2));
14050 if (SWIG_arg_fail(3)) SWIG_fail;
14051 }
14052 }
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 (arg1)->Enable(arg2,arg3);
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 Py_INCREF(Py_None); resultobj = Py_None;
14061 return resultobj;
14062 fail:
14063 return NULL;
14064 }
14065
14066
14067 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14068 PyObject *resultobj;
14069 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14070 int arg2 ;
14071 bool arg3 = (bool) true ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj1 = 0 ;
14074 PyObject * obj2 = 0 ;
14075 char *kwnames[] = {
14076 (char *) "self",(char *) "n",(char *) "show", NULL
14077 };
14078
14079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14081 if (SWIG_arg_fail(1)) SWIG_fail;
14082 {
14083 arg2 = (int)(SWIG_As_int(obj1));
14084 if (SWIG_arg_fail(2)) SWIG_fail;
14085 }
14086 if (obj2) {
14087 {
14088 arg3 = (bool)(SWIG_As_bool(obj2));
14089 if (SWIG_arg_fail(3)) SWIG_fail;
14090 }
14091 }
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 (arg1)->Show(arg2,arg3);
14095
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 Py_INCREF(Py_None); resultobj = Py_None;
14100 return resultobj;
14101 fail:
14102 return NULL;
14103 }
14104
14105
14106 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14107 PyObject *resultobj;
14108 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14109 int result;
14110 PyObject * obj0 = 0 ;
14111 char *kwnames[] = {
14112 (char *) "self", NULL
14113 };
14114
14115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14117 if (SWIG_arg_fail(1)) SWIG_fail;
14118 {
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14121
14122 wxPyEndAllowThreads(__tstate);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 }
14125 {
14126 resultobj = SWIG_From_int((int)(result));
14127 }
14128 return resultobj;
14129 fail:
14130 return NULL;
14131 }
14132
14133
14134 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14135 PyObject *resultobj;
14136 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14137 int result;
14138 PyObject * obj0 = 0 ;
14139 char *kwnames[] = {
14140 (char *) "self", NULL
14141 };
14142
14143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14149
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 {
14154 resultobj = SWIG_From_int((int)(result));
14155 }
14156 return resultobj;
14157 fail:
14158 return NULL;
14159 }
14160
14161
14162 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14163 PyObject *resultobj;
14164 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14165 int arg2 ;
14166 wxDirection arg3 ;
14167 long arg4 ;
14168 int result;
14169 PyObject * obj0 = 0 ;
14170 PyObject * obj1 = 0 ;
14171 PyObject * obj2 = 0 ;
14172 PyObject * obj3 = 0 ;
14173 char *kwnames[] = {
14174 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14175 };
14176
14177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14179 if (SWIG_arg_fail(1)) SWIG_fail;
14180 {
14181 arg2 = (int)(SWIG_As_int(obj1));
14182 if (SWIG_arg_fail(2)) SWIG_fail;
14183 }
14184 {
14185 arg3 = (wxDirection)(SWIG_As_int(obj2));
14186 if (SWIG_arg_fail(3)) SWIG_fail;
14187 }
14188 {
14189 arg4 = (long)(SWIG_As_long(obj3));
14190 if (SWIG_arg_fail(4)) SWIG_fail;
14191 }
14192 {
14193 PyThreadState* __tstate = wxPyBeginAllowThreads();
14194 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14195
14196 wxPyEndAllowThreads(__tstate);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 }
14199 {
14200 resultobj = SWIG_From_int((int)(result));
14201 }
14202 return resultobj;
14203 fail:
14204 return NULL;
14205 }
14206
14207
14208 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14209 PyObject *resultobj;
14210 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14211 wxVisualAttributes result;
14212 PyObject * obj0 = 0 ;
14213 char *kwnames[] = {
14214 (char *) "variant", NULL
14215 };
14216
14217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14218 if (obj0) {
14219 {
14220 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14221 if (SWIG_arg_fail(1)) SWIG_fail;
14222 }
14223 }
14224 {
14225 if (!wxPyCheckForApp()) SWIG_fail;
14226 PyThreadState* __tstate = wxPyBeginAllowThreads();
14227 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14228
14229 wxPyEndAllowThreads(__tstate);
14230 if (PyErr_Occurred()) SWIG_fail;
14231 }
14232 {
14233 wxVisualAttributes * resultptr;
14234 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14235 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14236 }
14237 return resultobj;
14238 fail:
14239 return NULL;
14240 }
14241
14242
14243 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14244 PyObject *obj;
14245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14246 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14247 Py_INCREF(obj);
14248 return Py_BuildValue((char *)"");
14249 }
14250 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14251 PyObject *resultobj;
14252 wxWindow *arg1 = (wxWindow *) 0 ;
14253 int arg2 = (int) -1 ;
14254 wxString const &arg3_defvalue = wxPyEmptyString ;
14255 wxString *arg3 = (wxString *) &arg3_defvalue ;
14256 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14257 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14258 wxSize const &arg5_defvalue = wxDefaultSize ;
14259 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14260 long arg6 = (long) 0 ;
14261 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14262 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14263 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14264 wxString *arg8 = (wxString *) &arg8_defvalue ;
14265 wxRadioButton *result;
14266 bool temp3 = false ;
14267 wxPoint temp4 ;
14268 wxSize temp5 ;
14269 bool temp8 = false ;
14270 PyObject * obj0 = 0 ;
14271 PyObject * obj1 = 0 ;
14272 PyObject * obj2 = 0 ;
14273 PyObject * obj3 = 0 ;
14274 PyObject * obj4 = 0 ;
14275 PyObject * obj5 = 0 ;
14276 PyObject * obj6 = 0 ;
14277 PyObject * obj7 = 0 ;
14278 char *kwnames[] = {
14279 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14280 };
14281
14282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14284 if (SWIG_arg_fail(1)) SWIG_fail;
14285 if (obj1) {
14286 {
14287 arg2 = (int)(SWIG_As_int(obj1));
14288 if (SWIG_arg_fail(2)) SWIG_fail;
14289 }
14290 }
14291 if (obj2) {
14292 {
14293 arg3 = wxString_in_helper(obj2);
14294 if (arg3 == NULL) SWIG_fail;
14295 temp3 = true;
14296 }
14297 }
14298 if (obj3) {
14299 {
14300 arg4 = &temp4;
14301 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14302 }
14303 }
14304 if (obj4) {
14305 {
14306 arg5 = &temp5;
14307 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14308 }
14309 }
14310 if (obj5) {
14311 {
14312 arg6 = (long)(SWIG_As_long(obj5));
14313 if (SWIG_arg_fail(6)) SWIG_fail;
14314 }
14315 }
14316 if (obj6) {
14317 {
14318 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14319 if (SWIG_arg_fail(7)) SWIG_fail;
14320 if (arg7 == NULL) {
14321 SWIG_null_ref("wxValidator");
14322 }
14323 if (SWIG_arg_fail(7)) SWIG_fail;
14324 }
14325 }
14326 if (obj7) {
14327 {
14328 arg8 = wxString_in_helper(obj7);
14329 if (arg8 == NULL) SWIG_fail;
14330 temp8 = true;
14331 }
14332 }
14333 {
14334 if (!wxPyCheckForApp()) SWIG_fail;
14335 PyThreadState* __tstate = wxPyBeginAllowThreads();
14336 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14337
14338 wxPyEndAllowThreads(__tstate);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 }
14341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14342 {
14343 if (temp3)
14344 delete arg3;
14345 }
14346 {
14347 if (temp8)
14348 delete arg8;
14349 }
14350 return resultobj;
14351 fail:
14352 {
14353 if (temp3)
14354 delete arg3;
14355 }
14356 {
14357 if (temp8)
14358 delete arg8;
14359 }
14360 return NULL;
14361 }
14362
14363
14364 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14365 PyObject *resultobj;
14366 wxRadioButton *result;
14367 char *kwnames[] = {
14368 NULL
14369 };
14370
14371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14372 {
14373 if (!wxPyCheckForApp()) SWIG_fail;
14374 PyThreadState* __tstate = wxPyBeginAllowThreads();
14375 result = (wxRadioButton *)new wxRadioButton();
14376
14377 wxPyEndAllowThreads(__tstate);
14378 if (PyErr_Occurred()) SWIG_fail;
14379 }
14380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14381 return resultobj;
14382 fail:
14383 return NULL;
14384 }
14385
14386
14387 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14388 PyObject *resultobj;
14389 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14390 wxWindow *arg2 = (wxWindow *) 0 ;
14391 int arg3 = (int) -1 ;
14392 wxString const &arg4_defvalue = wxPyEmptyString ;
14393 wxString *arg4 = (wxString *) &arg4_defvalue ;
14394 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14395 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14396 wxSize const &arg6_defvalue = wxDefaultSize ;
14397 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14398 long arg7 = (long) 0 ;
14399 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14400 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14401 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14402 wxString *arg9 = (wxString *) &arg9_defvalue ;
14403 bool result;
14404 bool temp4 = false ;
14405 wxPoint temp5 ;
14406 wxSize temp6 ;
14407 bool temp9 = false ;
14408 PyObject * obj0 = 0 ;
14409 PyObject * obj1 = 0 ;
14410 PyObject * obj2 = 0 ;
14411 PyObject * obj3 = 0 ;
14412 PyObject * obj4 = 0 ;
14413 PyObject * obj5 = 0 ;
14414 PyObject * obj6 = 0 ;
14415 PyObject * obj7 = 0 ;
14416 PyObject * obj8 = 0 ;
14417 char *kwnames[] = {
14418 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14419 };
14420
14421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14423 if (SWIG_arg_fail(1)) SWIG_fail;
14424 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14425 if (SWIG_arg_fail(2)) SWIG_fail;
14426 if (obj2) {
14427 {
14428 arg3 = (int)(SWIG_As_int(obj2));
14429 if (SWIG_arg_fail(3)) SWIG_fail;
14430 }
14431 }
14432 if (obj3) {
14433 {
14434 arg4 = wxString_in_helper(obj3);
14435 if (arg4 == NULL) SWIG_fail;
14436 temp4 = true;
14437 }
14438 }
14439 if (obj4) {
14440 {
14441 arg5 = &temp5;
14442 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14443 }
14444 }
14445 if (obj5) {
14446 {
14447 arg6 = &temp6;
14448 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14449 }
14450 }
14451 if (obj6) {
14452 {
14453 arg7 = (long)(SWIG_As_long(obj6));
14454 if (SWIG_arg_fail(7)) SWIG_fail;
14455 }
14456 }
14457 if (obj7) {
14458 {
14459 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14460 if (SWIG_arg_fail(8)) SWIG_fail;
14461 if (arg8 == NULL) {
14462 SWIG_null_ref("wxValidator");
14463 }
14464 if (SWIG_arg_fail(8)) SWIG_fail;
14465 }
14466 }
14467 if (obj8) {
14468 {
14469 arg9 = wxString_in_helper(obj8);
14470 if (arg9 == NULL) SWIG_fail;
14471 temp9 = true;
14472 }
14473 }
14474 {
14475 PyThreadState* __tstate = wxPyBeginAllowThreads();
14476 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14477
14478 wxPyEndAllowThreads(__tstate);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 }
14481 {
14482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14483 }
14484 {
14485 if (temp4)
14486 delete arg4;
14487 }
14488 {
14489 if (temp9)
14490 delete arg9;
14491 }
14492 return resultobj;
14493 fail:
14494 {
14495 if (temp4)
14496 delete arg4;
14497 }
14498 {
14499 if (temp9)
14500 delete arg9;
14501 }
14502 return NULL;
14503 }
14504
14505
14506 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14509 bool result;
14510 PyObject * obj0 = 0 ;
14511 char *kwnames[] = {
14512 (char *) "self", NULL
14513 };
14514
14515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14517 if (SWIG_arg_fail(1)) SWIG_fail;
14518 {
14519 PyThreadState* __tstate = wxPyBeginAllowThreads();
14520 result = (bool)(arg1)->GetValue();
14521
14522 wxPyEndAllowThreads(__tstate);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 {
14526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14527 }
14528 return resultobj;
14529 fail:
14530 return NULL;
14531 }
14532
14533
14534 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14535 PyObject *resultobj;
14536 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14537 bool arg2 ;
14538 PyObject * obj0 = 0 ;
14539 PyObject * obj1 = 0 ;
14540 char *kwnames[] = {
14541 (char *) "self",(char *) "value", NULL
14542 };
14543
14544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14546 if (SWIG_arg_fail(1)) SWIG_fail;
14547 {
14548 arg2 = (bool)(SWIG_As_bool(obj1));
14549 if (SWIG_arg_fail(2)) SWIG_fail;
14550 }
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 (arg1)->SetValue(arg2);
14554
14555 wxPyEndAllowThreads(__tstate);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 Py_INCREF(Py_None); resultobj = Py_None;
14559 return resultobj;
14560 fail:
14561 return NULL;
14562 }
14563
14564
14565 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14566 PyObject *resultobj;
14567 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14568 wxVisualAttributes result;
14569 PyObject * obj0 = 0 ;
14570 char *kwnames[] = {
14571 (char *) "variant", NULL
14572 };
14573
14574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14575 if (obj0) {
14576 {
14577 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14578 if (SWIG_arg_fail(1)) SWIG_fail;
14579 }
14580 }
14581 {
14582 if (!wxPyCheckForApp()) SWIG_fail;
14583 PyThreadState* __tstate = wxPyBeginAllowThreads();
14584 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14585
14586 wxPyEndAllowThreads(__tstate);
14587 if (PyErr_Occurred()) SWIG_fail;
14588 }
14589 {
14590 wxVisualAttributes * resultptr;
14591 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14593 }
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14601 PyObject *obj;
14602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14603 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14604 Py_INCREF(obj);
14605 return Py_BuildValue((char *)"");
14606 }
14607 static int _wrap_SliderNameStr_set(PyObject *) {
14608 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14609 return 1;
14610 }
14611
14612
14613 static PyObject *_wrap_SliderNameStr_get(void) {
14614 PyObject *pyobj;
14615
14616 {
14617 #if wxUSE_UNICODE
14618 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14619 #else
14620 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14621 #endif
14622 }
14623 return pyobj;
14624 }
14625
14626
14627 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14628 PyObject *resultobj;
14629 wxWindow *arg1 = (wxWindow *) 0 ;
14630 int arg2 = (int) -1 ;
14631 int arg3 = (int) 0 ;
14632 int arg4 = (int) 0 ;
14633 int arg5 = (int) 100 ;
14634 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14635 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14636 wxSize const &arg7_defvalue = wxDefaultSize ;
14637 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14638 long arg8 = (long) wxSL_HORIZONTAL ;
14639 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14640 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14641 wxString const &arg10_defvalue = wxPySliderNameStr ;
14642 wxString *arg10 = (wxString *) &arg10_defvalue ;
14643 wxSlider *result;
14644 wxPoint temp6 ;
14645 wxSize temp7 ;
14646 bool temp10 = false ;
14647 PyObject * obj0 = 0 ;
14648 PyObject * obj1 = 0 ;
14649 PyObject * obj2 = 0 ;
14650 PyObject * obj3 = 0 ;
14651 PyObject * obj4 = 0 ;
14652 PyObject * obj5 = 0 ;
14653 PyObject * obj6 = 0 ;
14654 PyObject * obj7 = 0 ;
14655 PyObject * obj8 = 0 ;
14656 PyObject * obj9 = 0 ;
14657 char *kwnames[] = {
14658 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14659 };
14660
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14663 if (SWIG_arg_fail(1)) SWIG_fail;
14664 if (obj1) {
14665 {
14666 arg2 = (int)(SWIG_As_int(obj1));
14667 if (SWIG_arg_fail(2)) SWIG_fail;
14668 }
14669 }
14670 if (obj2) {
14671 {
14672 arg3 = (int)(SWIG_As_int(obj2));
14673 if (SWIG_arg_fail(3)) SWIG_fail;
14674 }
14675 }
14676 if (obj3) {
14677 {
14678 arg4 = (int)(SWIG_As_int(obj3));
14679 if (SWIG_arg_fail(4)) SWIG_fail;
14680 }
14681 }
14682 if (obj4) {
14683 {
14684 arg5 = (int)(SWIG_As_int(obj4));
14685 if (SWIG_arg_fail(5)) SWIG_fail;
14686 }
14687 }
14688 if (obj5) {
14689 {
14690 arg6 = &temp6;
14691 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14692 }
14693 }
14694 if (obj6) {
14695 {
14696 arg7 = &temp7;
14697 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14698 }
14699 }
14700 if (obj7) {
14701 {
14702 arg8 = (long)(SWIG_As_long(obj7));
14703 if (SWIG_arg_fail(8)) SWIG_fail;
14704 }
14705 }
14706 if (obj8) {
14707 {
14708 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14709 if (SWIG_arg_fail(9)) SWIG_fail;
14710 if (arg9 == NULL) {
14711 SWIG_null_ref("wxValidator");
14712 }
14713 if (SWIG_arg_fail(9)) SWIG_fail;
14714 }
14715 }
14716 if (obj9) {
14717 {
14718 arg10 = wxString_in_helper(obj9);
14719 if (arg10 == NULL) SWIG_fail;
14720 temp10 = true;
14721 }
14722 }
14723 {
14724 if (!wxPyCheckForApp()) SWIG_fail;
14725 PyThreadState* __tstate = wxPyBeginAllowThreads();
14726 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14727
14728 wxPyEndAllowThreads(__tstate);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 }
14731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14732 {
14733 if (temp10)
14734 delete arg10;
14735 }
14736 return resultobj;
14737 fail:
14738 {
14739 if (temp10)
14740 delete arg10;
14741 }
14742 return NULL;
14743 }
14744
14745
14746 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14747 PyObject *resultobj;
14748 wxSlider *result;
14749 char *kwnames[] = {
14750 NULL
14751 };
14752
14753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14754 {
14755 if (!wxPyCheckForApp()) SWIG_fail;
14756 PyThreadState* __tstate = wxPyBeginAllowThreads();
14757 result = (wxSlider *)new wxSlider();
14758
14759 wxPyEndAllowThreads(__tstate);
14760 if (PyErr_Occurred()) SWIG_fail;
14761 }
14762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14763 return resultobj;
14764 fail:
14765 return NULL;
14766 }
14767
14768
14769 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14770 PyObject *resultobj;
14771 wxSlider *arg1 = (wxSlider *) 0 ;
14772 wxWindow *arg2 = (wxWindow *) 0 ;
14773 int arg3 = (int) -1 ;
14774 int arg4 = (int) 0 ;
14775 int arg5 = (int) 0 ;
14776 int arg6 = (int) 100 ;
14777 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14778 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14779 wxSize const &arg8_defvalue = wxDefaultSize ;
14780 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14781 long arg9 = (long) wxSL_HORIZONTAL ;
14782 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14783 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14784 wxString const &arg11_defvalue = wxPySliderNameStr ;
14785 wxString *arg11 = (wxString *) &arg11_defvalue ;
14786 bool result;
14787 wxPoint temp7 ;
14788 wxSize temp8 ;
14789 bool temp11 = false ;
14790 PyObject * obj0 = 0 ;
14791 PyObject * obj1 = 0 ;
14792 PyObject * obj2 = 0 ;
14793 PyObject * obj3 = 0 ;
14794 PyObject * obj4 = 0 ;
14795 PyObject * obj5 = 0 ;
14796 PyObject * obj6 = 0 ;
14797 PyObject * obj7 = 0 ;
14798 PyObject * obj8 = 0 ;
14799 PyObject * obj9 = 0 ;
14800 PyObject * obj10 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14803 };
14804
14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14807 if (SWIG_arg_fail(1)) SWIG_fail;
14808 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14809 if (SWIG_arg_fail(2)) SWIG_fail;
14810 if (obj2) {
14811 {
14812 arg3 = (int)(SWIG_As_int(obj2));
14813 if (SWIG_arg_fail(3)) SWIG_fail;
14814 }
14815 }
14816 if (obj3) {
14817 {
14818 arg4 = (int)(SWIG_As_int(obj3));
14819 if (SWIG_arg_fail(4)) SWIG_fail;
14820 }
14821 }
14822 if (obj4) {
14823 {
14824 arg5 = (int)(SWIG_As_int(obj4));
14825 if (SWIG_arg_fail(5)) SWIG_fail;
14826 }
14827 }
14828 if (obj5) {
14829 {
14830 arg6 = (int)(SWIG_As_int(obj5));
14831 if (SWIG_arg_fail(6)) SWIG_fail;
14832 }
14833 }
14834 if (obj6) {
14835 {
14836 arg7 = &temp7;
14837 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14838 }
14839 }
14840 if (obj7) {
14841 {
14842 arg8 = &temp8;
14843 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14844 }
14845 }
14846 if (obj8) {
14847 {
14848 arg9 = (long)(SWIG_As_long(obj8));
14849 if (SWIG_arg_fail(9)) SWIG_fail;
14850 }
14851 }
14852 if (obj9) {
14853 {
14854 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14855 if (SWIG_arg_fail(10)) SWIG_fail;
14856 if (arg10 == NULL) {
14857 SWIG_null_ref("wxValidator");
14858 }
14859 if (SWIG_arg_fail(10)) SWIG_fail;
14860 }
14861 }
14862 if (obj10) {
14863 {
14864 arg11 = wxString_in_helper(obj10);
14865 if (arg11 == NULL) SWIG_fail;
14866 temp11 = true;
14867 }
14868 }
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14872
14873 wxPyEndAllowThreads(__tstate);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 {
14877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14878 }
14879 {
14880 if (temp11)
14881 delete arg11;
14882 }
14883 return resultobj;
14884 fail:
14885 {
14886 if (temp11)
14887 delete arg11;
14888 }
14889 return NULL;
14890 }
14891
14892
14893 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14894 PyObject *resultobj;
14895 wxSlider *arg1 = (wxSlider *) 0 ;
14896 int result;
14897 PyObject * obj0 = 0 ;
14898 char *kwnames[] = {
14899 (char *) "self", NULL
14900 };
14901
14902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
14903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14904 if (SWIG_arg_fail(1)) SWIG_fail;
14905 {
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 result = (int)((wxSlider const *)arg1)->GetValue();
14908
14909 wxPyEndAllowThreads(__tstate);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 }
14912 {
14913 resultobj = SWIG_From_int((int)(result));
14914 }
14915 return resultobj;
14916 fail:
14917 return NULL;
14918 }
14919
14920
14921 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14922 PyObject *resultobj;
14923 wxSlider *arg1 = (wxSlider *) 0 ;
14924 int arg2 ;
14925 PyObject * obj0 = 0 ;
14926 PyObject * obj1 = 0 ;
14927 char *kwnames[] = {
14928 (char *) "self",(char *) "value", NULL
14929 };
14930
14931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
14932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14933 if (SWIG_arg_fail(1)) SWIG_fail;
14934 {
14935 arg2 = (int)(SWIG_As_int(obj1));
14936 if (SWIG_arg_fail(2)) SWIG_fail;
14937 }
14938 {
14939 PyThreadState* __tstate = wxPyBeginAllowThreads();
14940 (arg1)->SetValue(arg2);
14941
14942 wxPyEndAllowThreads(__tstate);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 }
14945 Py_INCREF(Py_None); resultobj = Py_None;
14946 return resultobj;
14947 fail:
14948 return NULL;
14949 }
14950
14951
14952 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
14953 PyObject *resultobj;
14954 wxSlider *arg1 = (wxSlider *) 0 ;
14955 int arg2 ;
14956 int arg3 ;
14957 PyObject * obj0 = 0 ;
14958 PyObject * obj1 = 0 ;
14959 PyObject * obj2 = 0 ;
14960 char *kwnames[] = {
14961 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
14962 };
14963
14964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
14965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14966 if (SWIG_arg_fail(1)) SWIG_fail;
14967 {
14968 arg2 = (int)(SWIG_As_int(obj1));
14969 if (SWIG_arg_fail(2)) SWIG_fail;
14970 }
14971 {
14972 arg3 = (int)(SWIG_As_int(obj2));
14973 if (SWIG_arg_fail(3)) SWIG_fail;
14974 }
14975 {
14976 PyThreadState* __tstate = wxPyBeginAllowThreads();
14977 (arg1)->SetRange(arg2,arg3);
14978
14979 wxPyEndAllowThreads(__tstate);
14980 if (PyErr_Occurred()) SWIG_fail;
14981 }
14982 Py_INCREF(Py_None); resultobj = Py_None;
14983 return resultobj;
14984 fail:
14985 return NULL;
14986 }
14987
14988
14989 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
14990 PyObject *resultobj;
14991 wxSlider *arg1 = (wxSlider *) 0 ;
14992 int result;
14993 PyObject * obj0 = 0 ;
14994 char *kwnames[] = {
14995 (char *) "self", NULL
14996 };
14997
14998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
14999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15000 if (SWIG_arg_fail(1)) SWIG_fail;
15001 {
15002 PyThreadState* __tstate = wxPyBeginAllowThreads();
15003 result = (int)((wxSlider const *)arg1)->GetMin();
15004
15005 wxPyEndAllowThreads(__tstate);
15006 if (PyErr_Occurred()) SWIG_fail;
15007 }
15008 {
15009 resultobj = SWIG_From_int((int)(result));
15010 }
15011 return resultobj;
15012 fail:
15013 return NULL;
15014 }
15015
15016
15017 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15018 PyObject *resultobj;
15019 wxSlider *arg1 = (wxSlider *) 0 ;
15020 int result;
15021 PyObject * obj0 = 0 ;
15022 char *kwnames[] = {
15023 (char *) "self", NULL
15024 };
15025
15026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15028 if (SWIG_arg_fail(1)) SWIG_fail;
15029 {
15030 PyThreadState* __tstate = wxPyBeginAllowThreads();
15031 result = (int)((wxSlider const *)arg1)->GetMax();
15032
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 {
15037 resultobj = SWIG_From_int((int)(result));
15038 }
15039 return resultobj;
15040 fail:
15041 return NULL;
15042 }
15043
15044
15045 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15046 PyObject *resultobj;
15047 wxSlider *arg1 = (wxSlider *) 0 ;
15048 int arg2 ;
15049 PyObject * obj0 = 0 ;
15050 PyObject * obj1 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self",(char *) "minValue", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15057 if (SWIG_arg_fail(1)) SWIG_fail;
15058 {
15059 arg2 = (int)(SWIG_As_int(obj1));
15060 if (SWIG_arg_fail(2)) SWIG_fail;
15061 }
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 (arg1)->SetMin(arg2);
15065
15066 wxPyEndAllowThreads(__tstate);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 Py_INCREF(Py_None); resultobj = Py_None;
15070 return resultobj;
15071 fail:
15072 return NULL;
15073 }
15074
15075
15076 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15077 PyObject *resultobj;
15078 wxSlider *arg1 = (wxSlider *) 0 ;
15079 int arg2 ;
15080 PyObject * obj0 = 0 ;
15081 PyObject * obj1 = 0 ;
15082 char *kwnames[] = {
15083 (char *) "self",(char *) "maxValue", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15088 if (SWIG_arg_fail(1)) SWIG_fail;
15089 {
15090 arg2 = (int)(SWIG_As_int(obj1));
15091 if (SWIG_arg_fail(2)) SWIG_fail;
15092 }
15093 {
15094 PyThreadState* __tstate = wxPyBeginAllowThreads();
15095 (arg1)->SetMax(arg2);
15096
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
15100 Py_INCREF(Py_None); resultobj = Py_None;
15101 return resultobj;
15102 fail:
15103 return NULL;
15104 }
15105
15106
15107 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15108 PyObject *resultobj;
15109 wxSlider *arg1 = (wxSlider *) 0 ;
15110 int arg2 ;
15111 PyObject * obj0 = 0 ;
15112 PyObject * obj1 = 0 ;
15113 char *kwnames[] = {
15114 (char *) "self",(char *) "lineSize", NULL
15115 };
15116
15117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15119 if (SWIG_arg_fail(1)) SWIG_fail;
15120 {
15121 arg2 = (int)(SWIG_As_int(obj1));
15122 if (SWIG_arg_fail(2)) SWIG_fail;
15123 }
15124 {
15125 PyThreadState* __tstate = wxPyBeginAllowThreads();
15126 (arg1)->SetLineSize(arg2);
15127
15128 wxPyEndAllowThreads(__tstate);
15129 if (PyErr_Occurred()) SWIG_fail;
15130 }
15131 Py_INCREF(Py_None); resultobj = Py_None;
15132 return resultobj;
15133 fail:
15134 return NULL;
15135 }
15136
15137
15138 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15139 PyObject *resultobj;
15140 wxSlider *arg1 = (wxSlider *) 0 ;
15141 int arg2 ;
15142 PyObject * obj0 = 0 ;
15143 PyObject * obj1 = 0 ;
15144 char *kwnames[] = {
15145 (char *) "self",(char *) "pageSize", NULL
15146 };
15147
15148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15150 if (SWIG_arg_fail(1)) SWIG_fail;
15151 {
15152 arg2 = (int)(SWIG_As_int(obj1));
15153 if (SWIG_arg_fail(2)) SWIG_fail;
15154 }
15155 {
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
15157 (arg1)->SetPageSize(arg2);
15158
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
15162 Py_INCREF(Py_None); resultobj = Py_None;
15163 return resultobj;
15164 fail:
15165 return NULL;
15166 }
15167
15168
15169 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15170 PyObject *resultobj;
15171 wxSlider *arg1 = (wxSlider *) 0 ;
15172 int result;
15173 PyObject * obj0 = 0 ;
15174 char *kwnames[] = {
15175 (char *) "self", NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15180 if (SWIG_arg_fail(1)) SWIG_fail;
15181 {
15182 PyThreadState* __tstate = wxPyBeginAllowThreads();
15183 result = (int)((wxSlider const *)arg1)->GetLineSize();
15184
15185 wxPyEndAllowThreads(__tstate);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 {
15189 resultobj = SWIG_From_int((int)(result));
15190 }
15191 return resultobj;
15192 fail:
15193 return NULL;
15194 }
15195
15196
15197 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15198 PyObject *resultobj;
15199 wxSlider *arg1 = (wxSlider *) 0 ;
15200 int result;
15201 PyObject * obj0 = 0 ;
15202 char *kwnames[] = {
15203 (char *) "self", NULL
15204 };
15205
15206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15208 if (SWIG_arg_fail(1)) SWIG_fail;
15209 {
15210 PyThreadState* __tstate = wxPyBeginAllowThreads();
15211 result = (int)((wxSlider const *)arg1)->GetPageSize();
15212
15213 wxPyEndAllowThreads(__tstate);
15214 if (PyErr_Occurred()) SWIG_fail;
15215 }
15216 {
15217 resultobj = SWIG_From_int((int)(result));
15218 }
15219 return resultobj;
15220 fail:
15221 return NULL;
15222 }
15223
15224
15225 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15226 PyObject *resultobj;
15227 wxSlider *arg1 = (wxSlider *) 0 ;
15228 int arg2 ;
15229 PyObject * obj0 = 0 ;
15230 PyObject * obj1 = 0 ;
15231 char *kwnames[] = {
15232 (char *) "self",(char *) "lenPixels", NULL
15233 };
15234
15235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15237 if (SWIG_arg_fail(1)) SWIG_fail;
15238 {
15239 arg2 = (int)(SWIG_As_int(obj1));
15240 if (SWIG_arg_fail(2)) SWIG_fail;
15241 }
15242 {
15243 PyThreadState* __tstate = wxPyBeginAllowThreads();
15244 (arg1)->SetThumbLength(arg2);
15245
15246 wxPyEndAllowThreads(__tstate);
15247 if (PyErr_Occurred()) SWIG_fail;
15248 }
15249 Py_INCREF(Py_None); resultobj = Py_None;
15250 return resultobj;
15251 fail:
15252 return NULL;
15253 }
15254
15255
15256 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15257 PyObject *resultobj;
15258 wxSlider *arg1 = (wxSlider *) 0 ;
15259 int result;
15260 PyObject * obj0 = 0 ;
15261 char *kwnames[] = {
15262 (char *) "self", NULL
15263 };
15264
15265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15267 if (SWIG_arg_fail(1)) SWIG_fail;
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 {
15276 resultobj = SWIG_From_int((int)(result));
15277 }
15278 return resultobj;
15279 fail:
15280 return NULL;
15281 }
15282
15283
15284 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15285 PyObject *resultobj;
15286 wxSlider *arg1 = (wxSlider *) 0 ;
15287 int arg2 ;
15288 int arg3 = (int) 1 ;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
15291 PyObject * obj2 = 0 ;
15292 char *kwnames[] = {
15293 (char *) "self",(char *) "n",(char *) "pos", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15298 if (SWIG_arg_fail(1)) SWIG_fail;
15299 {
15300 arg2 = (int)(SWIG_As_int(obj1));
15301 if (SWIG_arg_fail(2)) SWIG_fail;
15302 }
15303 if (obj2) {
15304 {
15305 arg3 = (int)(SWIG_As_int(obj2));
15306 if (SWIG_arg_fail(3)) SWIG_fail;
15307 }
15308 }
15309 {
15310 PyThreadState* __tstate = wxPyBeginAllowThreads();
15311 (arg1)->SetTickFreq(arg2,arg3);
15312
15313 wxPyEndAllowThreads(__tstate);
15314 if (PyErr_Occurred()) SWIG_fail;
15315 }
15316 Py_INCREF(Py_None); resultobj = Py_None;
15317 return resultobj;
15318 fail:
15319 return NULL;
15320 }
15321
15322
15323 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15324 PyObject *resultobj;
15325 wxSlider *arg1 = (wxSlider *) 0 ;
15326 int result;
15327 PyObject * obj0 = 0 ;
15328 char *kwnames[] = {
15329 (char *) "self", NULL
15330 };
15331
15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15334 if (SWIG_arg_fail(1)) SWIG_fail;
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15338
15339 wxPyEndAllowThreads(__tstate);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 {
15343 resultobj = SWIG_From_int((int)(result));
15344 }
15345 return resultobj;
15346 fail:
15347 return NULL;
15348 }
15349
15350
15351 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15352 PyObject *resultobj;
15353 wxSlider *arg1 = (wxSlider *) 0 ;
15354 PyObject * obj0 = 0 ;
15355 char *kwnames[] = {
15356 (char *) "self", NULL
15357 };
15358
15359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15361 if (SWIG_arg_fail(1)) SWIG_fail;
15362 {
15363 PyThreadState* __tstate = wxPyBeginAllowThreads();
15364 (arg1)->ClearTicks();
15365
15366 wxPyEndAllowThreads(__tstate);
15367 if (PyErr_Occurred()) SWIG_fail;
15368 }
15369 Py_INCREF(Py_None); resultobj = Py_None;
15370 return resultobj;
15371 fail:
15372 return NULL;
15373 }
15374
15375
15376 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15377 PyObject *resultobj;
15378 wxSlider *arg1 = (wxSlider *) 0 ;
15379 int arg2 ;
15380 PyObject * obj0 = 0 ;
15381 PyObject * obj1 = 0 ;
15382 char *kwnames[] = {
15383 (char *) "self",(char *) "tickPos", NULL
15384 };
15385
15386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15388 if (SWIG_arg_fail(1)) SWIG_fail;
15389 {
15390 arg2 = (int)(SWIG_As_int(obj1));
15391 if (SWIG_arg_fail(2)) SWIG_fail;
15392 }
15393 {
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
15395 (arg1)->SetTick(arg2);
15396
15397 wxPyEndAllowThreads(__tstate);
15398 if (PyErr_Occurred()) SWIG_fail;
15399 }
15400 Py_INCREF(Py_None); resultobj = Py_None;
15401 return resultobj;
15402 fail:
15403 return NULL;
15404 }
15405
15406
15407 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15408 PyObject *resultobj;
15409 wxSlider *arg1 = (wxSlider *) 0 ;
15410 PyObject * obj0 = 0 ;
15411 char *kwnames[] = {
15412 (char *) "self", NULL
15413 };
15414
15415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15417 if (SWIG_arg_fail(1)) SWIG_fail;
15418 {
15419 PyThreadState* __tstate = wxPyBeginAllowThreads();
15420 (arg1)->ClearSel();
15421
15422 wxPyEndAllowThreads(__tstate);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
15425 Py_INCREF(Py_None); resultobj = Py_None;
15426 return resultobj;
15427 fail:
15428 return NULL;
15429 }
15430
15431
15432 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15433 PyObject *resultobj;
15434 wxSlider *arg1 = (wxSlider *) 0 ;
15435 int result;
15436 PyObject * obj0 = 0 ;
15437 char *kwnames[] = {
15438 (char *) "self", NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail;
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 {
15452 resultobj = SWIG_From_int((int)(result));
15453 }
15454 return resultobj;
15455 fail:
15456 return NULL;
15457 }
15458
15459
15460 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj;
15462 wxSlider *arg1 = (wxSlider *) 0 ;
15463 int result;
15464 PyObject * obj0 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "self", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15471 if (SWIG_arg_fail(1)) SWIG_fail;
15472 {
15473 PyThreadState* __tstate = wxPyBeginAllowThreads();
15474 result = (int)((wxSlider const *)arg1)->GetSelStart();
15475
15476 wxPyEndAllowThreads(__tstate);
15477 if (PyErr_Occurred()) SWIG_fail;
15478 }
15479 {
15480 resultobj = SWIG_From_int((int)(result));
15481 }
15482 return resultobj;
15483 fail:
15484 return NULL;
15485 }
15486
15487
15488 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15489 PyObject *resultobj;
15490 wxSlider *arg1 = (wxSlider *) 0 ;
15491 int arg2 ;
15492 int arg3 ;
15493 PyObject * obj0 = 0 ;
15494 PyObject * obj1 = 0 ;
15495 PyObject * obj2 = 0 ;
15496 char *kwnames[] = {
15497 (char *) "self",(char *) "min",(char *) "max", NULL
15498 };
15499
15500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15502 if (SWIG_arg_fail(1)) SWIG_fail;
15503 {
15504 arg2 = (int)(SWIG_As_int(obj1));
15505 if (SWIG_arg_fail(2)) SWIG_fail;
15506 }
15507 {
15508 arg3 = (int)(SWIG_As_int(obj2));
15509 if (SWIG_arg_fail(3)) SWIG_fail;
15510 }
15511 {
15512 PyThreadState* __tstate = wxPyBeginAllowThreads();
15513 (arg1)->SetSelection(arg2,arg3);
15514
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 Py_INCREF(Py_None); resultobj = Py_None;
15519 return resultobj;
15520 fail:
15521 return NULL;
15522 }
15523
15524
15525 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15526 PyObject *resultobj;
15527 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15528 wxVisualAttributes result;
15529 PyObject * obj0 = 0 ;
15530 char *kwnames[] = {
15531 (char *) "variant", NULL
15532 };
15533
15534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15535 if (obj0) {
15536 {
15537 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15538 if (SWIG_arg_fail(1)) SWIG_fail;
15539 }
15540 }
15541 {
15542 if (!wxPyCheckForApp()) SWIG_fail;
15543 PyThreadState* __tstate = wxPyBeginAllowThreads();
15544 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15545
15546 wxPyEndAllowThreads(__tstate);
15547 if (PyErr_Occurred()) SWIG_fail;
15548 }
15549 {
15550 wxVisualAttributes * resultptr;
15551 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
15552 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15553 }
15554 return resultobj;
15555 fail:
15556 return NULL;
15557 }
15558
15559
15560 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15561 PyObject *obj;
15562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15563 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15564 Py_INCREF(obj);
15565 return Py_BuildValue((char *)"");
15566 }
15567 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15568 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15569 return 1;
15570 }
15571
15572
15573 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15574 PyObject *pyobj;
15575
15576 {
15577 #if wxUSE_UNICODE
15578 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15579 #else
15580 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15581 #endif
15582 }
15583 return pyobj;
15584 }
15585
15586
15587 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15588 PyObject *resultobj;
15589 wxWindow *arg1 = (wxWindow *) 0 ;
15590 int arg2 = (int) -1 ;
15591 wxString const &arg3_defvalue = wxPyEmptyString ;
15592 wxString *arg3 = (wxString *) &arg3_defvalue ;
15593 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15594 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15595 wxSize const &arg5_defvalue = wxDefaultSize ;
15596 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15597 long arg6 = (long) 0 ;
15598 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15599 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15600 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15601 wxString *arg8 = (wxString *) &arg8_defvalue ;
15602 wxToggleButton *result;
15603 bool temp3 = false ;
15604 wxPoint temp4 ;
15605 wxSize temp5 ;
15606 bool temp8 = false ;
15607 PyObject * obj0 = 0 ;
15608 PyObject * obj1 = 0 ;
15609 PyObject * obj2 = 0 ;
15610 PyObject * obj3 = 0 ;
15611 PyObject * obj4 = 0 ;
15612 PyObject * obj5 = 0 ;
15613 PyObject * obj6 = 0 ;
15614 PyObject * obj7 = 0 ;
15615 char *kwnames[] = {
15616 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15617 };
15618
15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15621 if (SWIG_arg_fail(1)) SWIG_fail;
15622 if (obj1) {
15623 {
15624 arg2 = (int)(SWIG_As_int(obj1));
15625 if (SWIG_arg_fail(2)) SWIG_fail;
15626 }
15627 }
15628 if (obj2) {
15629 {
15630 arg3 = wxString_in_helper(obj2);
15631 if (arg3 == NULL) SWIG_fail;
15632 temp3 = true;
15633 }
15634 }
15635 if (obj3) {
15636 {
15637 arg4 = &temp4;
15638 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15639 }
15640 }
15641 if (obj4) {
15642 {
15643 arg5 = &temp5;
15644 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15645 }
15646 }
15647 if (obj5) {
15648 {
15649 arg6 = (long)(SWIG_As_long(obj5));
15650 if (SWIG_arg_fail(6)) SWIG_fail;
15651 }
15652 }
15653 if (obj6) {
15654 {
15655 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15656 if (SWIG_arg_fail(7)) SWIG_fail;
15657 if (arg7 == NULL) {
15658 SWIG_null_ref("wxValidator");
15659 }
15660 if (SWIG_arg_fail(7)) SWIG_fail;
15661 }
15662 }
15663 if (obj7) {
15664 {
15665 arg8 = wxString_in_helper(obj7);
15666 if (arg8 == NULL) SWIG_fail;
15667 temp8 = true;
15668 }
15669 }
15670 {
15671 if (!wxPyCheckForApp()) SWIG_fail;
15672 PyThreadState* __tstate = wxPyBeginAllowThreads();
15673 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15674
15675 wxPyEndAllowThreads(__tstate);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 }
15678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15679 {
15680 if (temp3)
15681 delete arg3;
15682 }
15683 {
15684 if (temp8)
15685 delete arg8;
15686 }
15687 return resultobj;
15688 fail:
15689 {
15690 if (temp3)
15691 delete arg3;
15692 }
15693 {
15694 if (temp8)
15695 delete arg8;
15696 }
15697 return NULL;
15698 }
15699
15700
15701 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15702 PyObject *resultobj;
15703 wxToggleButton *result;
15704 char *kwnames[] = {
15705 NULL
15706 };
15707
15708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15709 {
15710 if (!wxPyCheckForApp()) SWIG_fail;
15711 PyThreadState* __tstate = wxPyBeginAllowThreads();
15712 result = (wxToggleButton *)new wxToggleButton();
15713
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15718 return resultobj;
15719 fail:
15720 return NULL;
15721 }
15722
15723
15724 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj;
15726 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15727 wxWindow *arg2 = (wxWindow *) 0 ;
15728 int arg3 = (int) -1 ;
15729 wxString const &arg4_defvalue = wxPyEmptyString ;
15730 wxString *arg4 = (wxString *) &arg4_defvalue ;
15731 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15732 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15733 wxSize const &arg6_defvalue = wxDefaultSize ;
15734 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15735 long arg7 = (long) 0 ;
15736 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15737 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15738 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15739 wxString *arg9 = (wxString *) &arg9_defvalue ;
15740 bool result;
15741 bool temp4 = false ;
15742 wxPoint temp5 ;
15743 wxSize temp6 ;
15744 bool temp9 = false ;
15745 PyObject * obj0 = 0 ;
15746 PyObject * obj1 = 0 ;
15747 PyObject * obj2 = 0 ;
15748 PyObject * obj3 = 0 ;
15749 PyObject * obj4 = 0 ;
15750 PyObject * obj5 = 0 ;
15751 PyObject * obj6 = 0 ;
15752 PyObject * obj7 = 0 ;
15753 PyObject * obj8 = 0 ;
15754 char *kwnames[] = {
15755 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15760 if (SWIG_arg_fail(1)) SWIG_fail;
15761 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15762 if (SWIG_arg_fail(2)) SWIG_fail;
15763 if (obj2) {
15764 {
15765 arg3 = (int)(SWIG_As_int(obj2));
15766 if (SWIG_arg_fail(3)) SWIG_fail;
15767 }
15768 }
15769 if (obj3) {
15770 {
15771 arg4 = wxString_in_helper(obj3);
15772 if (arg4 == NULL) SWIG_fail;
15773 temp4 = true;
15774 }
15775 }
15776 if (obj4) {
15777 {
15778 arg5 = &temp5;
15779 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15780 }
15781 }
15782 if (obj5) {
15783 {
15784 arg6 = &temp6;
15785 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15786 }
15787 }
15788 if (obj6) {
15789 {
15790 arg7 = (long)(SWIG_As_long(obj6));
15791 if (SWIG_arg_fail(7)) SWIG_fail;
15792 }
15793 }
15794 if (obj7) {
15795 {
15796 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15797 if (SWIG_arg_fail(8)) SWIG_fail;
15798 if (arg8 == NULL) {
15799 SWIG_null_ref("wxValidator");
15800 }
15801 if (SWIG_arg_fail(8)) SWIG_fail;
15802 }
15803 }
15804 if (obj8) {
15805 {
15806 arg9 = wxString_in_helper(obj8);
15807 if (arg9 == NULL) SWIG_fail;
15808 temp9 = true;
15809 }
15810 }
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 {
15819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15820 }
15821 {
15822 if (temp4)
15823 delete arg4;
15824 }
15825 {
15826 if (temp9)
15827 delete arg9;
15828 }
15829 return resultobj;
15830 fail:
15831 {
15832 if (temp4)
15833 delete arg4;
15834 }
15835 {
15836 if (temp9)
15837 delete arg9;
15838 }
15839 return NULL;
15840 }
15841
15842
15843 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15844 PyObject *resultobj;
15845 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15846 bool arg2 ;
15847 PyObject * obj0 = 0 ;
15848 PyObject * obj1 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "self",(char *) "value", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15855 if (SWIG_arg_fail(1)) SWIG_fail;
15856 {
15857 arg2 = (bool)(SWIG_As_bool(obj1));
15858 if (SWIG_arg_fail(2)) SWIG_fail;
15859 }
15860 {
15861 PyThreadState* __tstate = wxPyBeginAllowThreads();
15862 (arg1)->SetValue(arg2);
15863
15864 wxPyEndAllowThreads(__tstate);
15865 if (PyErr_Occurred()) SWIG_fail;
15866 }
15867 Py_INCREF(Py_None); resultobj = Py_None;
15868 return resultobj;
15869 fail:
15870 return NULL;
15871 }
15872
15873
15874 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15875 PyObject *resultobj;
15876 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15877 bool result;
15878 PyObject * obj0 = 0 ;
15879 char *kwnames[] = {
15880 (char *) "self", NULL
15881 };
15882
15883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
15884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15885 if (SWIG_arg_fail(1)) SWIG_fail;
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 result = (bool)((wxToggleButton const *)arg1)->GetValue();
15889
15890 wxPyEndAllowThreads(__tstate);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
15893 {
15894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15895 }
15896 return resultobj;
15897 fail:
15898 return NULL;
15899 }
15900
15901
15902 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
15903 PyObject *resultobj;
15904 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15905 wxString *arg2 = 0 ;
15906 bool temp2 = false ;
15907 PyObject * obj0 = 0 ;
15908 PyObject * obj1 = 0 ;
15909 char *kwnames[] = {
15910 (char *) "self",(char *) "label", NULL
15911 };
15912
15913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15915 if (SWIG_arg_fail(1)) SWIG_fail;
15916 {
15917 arg2 = wxString_in_helper(obj1);
15918 if (arg2 == NULL) SWIG_fail;
15919 temp2 = true;
15920 }
15921 {
15922 PyThreadState* __tstate = wxPyBeginAllowThreads();
15923 (arg1)->SetLabel((wxString const &)*arg2);
15924
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 Py_INCREF(Py_None); resultobj = Py_None;
15929 {
15930 if (temp2)
15931 delete arg2;
15932 }
15933 return resultobj;
15934 fail:
15935 {
15936 if (temp2)
15937 delete arg2;
15938 }
15939 return NULL;
15940 }
15941
15942
15943 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15944 PyObject *resultobj;
15945 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15946 wxVisualAttributes result;
15947 PyObject * obj0 = 0 ;
15948 char *kwnames[] = {
15949 (char *) "variant", NULL
15950 };
15951
15952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15953 if (obj0) {
15954 {
15955 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15956 if (SWIG_arg_fail(1)) SWIG_fail;
15957 }
15958 }
15959 {
15960 if (!wxPyCheckForApp()) SWIG_fail;
15961 PyThreadState* __tstate = wxPyBeginAllowThreads();
15962 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
15963
15964 wxPyEndAllowThreads(__tstate);
15965 if (PyErr_Occurred()) SWIG_fail;
15966 }
15967 {
15968 wxVisualAttributes * resultptr;
15969 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
15970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15971 }
15972 return resultobj;
15973 fail:
15974 return NULL;
15975 }
15976
15977
15978 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
15979 PyObject *obj;
15980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15981 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
15982 Py_INCREF(obj);
15983 return Py_BuildValue((char *)"");
15984 }
15985 static int _wrap_NotebookNameStr_set(PyObject *) {
15986 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
15987 return 1;
15988 }
15989
15990
15991 static PyObject *_wrap_NotebookNameStr_get(void) {
15992 PyObject *pyobj;
15993
15994 {
15995 #if wxUSE_UNICODE
15996 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
15997 #else
15998 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
15999 #endif
16000 }
16001 return pyobj;
16002 }
16003
16004
16005 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16006 PyObject *resultobj;
16007 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16008 size_t result;
16009 PyObject * obj0 = 0 ;
16010 char *kwnames[] = {
16011 (char *) "self", NULL
16012 };
16013
16014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16016 if (SWIG_arg_fail(1)) SWIG_fail;
16017 {
16018 PyThreadState* __tstate = wxPyBeginAllowThreads();
16019 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16020
16021 wxPyEndAllowThreads(__tstate);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 {
16025 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16026 }
16027 return resultobj;
16028 fail:
16029 return NULL;
16030 }
16031
16032
16033 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16034 PyObject *resultobj;
16035 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16036 size_t arg2 ;
16037 wxWindow *result;
16038 PyObject * obj0 = 0 ;
16039 PyObject * obj1 = 0 ;
16040 char *kwnames[] = {
16041 (char *) "self",(char *) "n", NULL
16042 };
16043
16044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16046 if (SWIG_arg_fail(1)) SWIG_fail;
16047 {
16048 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16049 if (SWIG_arg_fail(2)) SWIG_fail;
16050 }
16051 {
16052 PyThreadState* __tstate = wxPyBeginAllowThreads();
16053 result = (wxWindow *)(arg1)->GetPage(arg2);
16054
16055 wxPyEndAllowThreads(__tstate);
16056 if (PyErr_Occurred()) SWIG_fail;
16057 }
16058 {
16059 resultobj = wxPyMake_wxObject(result, 0);
16060 }
16061 return resultobj;
16062 fail:
16063 return NULL;
16064 }
16065
16066
16067 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16068 PyObject *resultobj;
16069 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16070 wxWindow *result;
16071 PyObject * obj0 = 0 ;
16072 char *kwnames[] = {
16073 (char *) "self", NULL
16074 };
16075
16076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16078 if (SWIG_arg_fail(1)) SWIG_fail;
16079 {
16080 PyThreadState* __tstate = wxPyBeginAllowThreads();
16081 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16082
16083 wxPyEndAllowThreads(__tstate);
16084 if (PyErr_Occurred()) SWIG_fail;
16085 }
16086 {
16087 resultobj = wxPyMake_wxObject(result, 0);
16088 }
16089 return resultobj;
16090 fail:
16091 return NULL;
16092 }
16093
16094
16095 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16096 PyObject *resultobj;
16097 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16098 int result;
16099 PyObject * obj0 = 0 ;
16100 char *kwnames[] = {
16101 (char *) "self", NULL
16102 };
16103
16104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16106 if (SWIG_arg_fail(1)) SWIG_fail;
16107 {
16108 PyThreadState* __tstate = wxPyBeginAllowThreads();
16109 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16110
16111 wxPyEndAllowThreads(__tstate);
16112 if (PyErr_Occurred()) SWIG_fail;
16113 }
16114 {
16115 resultobj = SWIG_From_int((int)(result));
16116 }
16117 return resultobj;
16118 fail:
16119 return NULL;
16120 }
16121
16122
16123 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16124 PyObject *resultobj;
16125 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16126 size_t arg2 ;
16127 wxString *arg3 = 0 ;
16128 bool result;
16129 bool temp3 = false ;
16130 PyObject * obj0 = 0 ;
16131 PyObject * obj1 = 0 ;
16132 PyObject * obj2 = 0 ;
16133 char *kwnames[] = {
16134 (char *) "self",(char *) "n",(char *) "strText", NULL
16135 };
16136
16137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16139 if (SWIG_arg_fail(1)) SWIG_fail;
16140 {
16141 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16142 if (SWIG_arg_fail(2)) SWIG_fail;
16143 }
16144 {
16145 arg3 = wxString_in_helper(obj2);
16146 if (arg3 == NULL) SWIG_fail;
16147 temp3 = true;
16148 }
16149 {
16150 PyThreadState* __tstate = wxPyBeginAllowThreads();
16151 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16152
16153 wxPyEndAllowThreads(__tstate);
16154 if (PyErr_Occurred()) SWIG_fail;
16155 }
16156 {
16157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16158 }
16159 {
16160 if (temp3)
16161 delete arg3;
16162 }
16163 return resultobj;
16164 fail:
16165 {
16166 if (temp3)
16167 delete arg3;
16168 }
16169 return NULL;
16170 }
16171
16172
16173 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16174 PyObject *resultobj;
16175 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16176 size_t arg2 ;
16177 wxString result;
16178 PyObject * obj0 = 0 ;
16179 PyObject * obj1 = 0 ;
16180 char *kwnames[] = {
16181 (char *) "self",(char *) "n", NULL
16182 };
16183
16184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16186 if (SWIG_arg_fail(1)) SWIG_fail;
16187 {
16188 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16189 if (SWIG_arg_fail(2)) SWIG_fail;
16190 }
16191 {
16192 PyThreadState* __tstate = wxPyBeginAllowThreads();
16193 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16194
16195 wxPyEndAllowThreads(__tstate);
16196 if (PyErr_Occurred()) SWIG_fail;
16197 }
16198 {
16199 #if wxUSE_UNICODE
16200 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16201 #else
16202 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16203 #endif
16204 }
16205 return resultobj;
16206 fail:
16207 return NULL;
16208 }
16209
16210
16211 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16214 wxImageList *arg2 = (wxImageList *) 0 ;
16215 PyObject * obj0 = 0 ;
16216 PyObject * obj1 = 0 ;
16217 char *kwnames[] = {
16218 (char *) "self",(char *) "imageList", NULL
16219 };
16220
16221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16223 if (SWIG_arg_fail(1)) SWIG_fail;
16224 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16225 if (SWIG_arg_fail(2)) SWIG_fail;
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
16228 (arg1)->SetImageList(arg2);
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 Py_INCREF(Py_None); resultobj = Py_None;
16234 return resultobj;
16235 fail:
16236 return NULL;
16237 }
16238
16239
16240 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16241 PyObject *resultobj;
16242 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16243 wxImageList *arg2 = (wxImageList *) 0 ;
16244 PyObject * obj0 = 0 ;
16245 PyObject * obj1 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self",(char *) "imageList", NULL
16248 };
16249
16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16252 if (SWIG_arg_fail(1)) SWIG_fail;
16253 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16254 if (SWIG_arg_fail(2)) SWIG_fail;
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 (arg1)->AssignImageList(arg2);
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 Py_INCREF(Py_None); resultobj = Py_None;
16263 return resultobj;
16264 fail:
16265 return NULL;
16266 }
16267
16268
16269 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16270 PyObject *resultobj;
16271 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16272 wxImageList *result;
16273 PyObject * obj0 = 0 ;
16274 char *kwnames[] = {
16275 (char *) "self", NULL
16276 };
16277
16278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16280 if (SWIG_arg_fail(1)) SWIG_fail;
16281 {
16282 PyThreadState* __tstate = wxPyBeginAllowThreads();
16283 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16284
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 {
16289 resultobj = wxPyMake_wxObject(result, 0);
16290 }
16291 return resultobj;
16292 fail:
16293 return NULL;
16294 }
16295
16296
16297 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16298 PyObject *resultobj;
16299 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16300 size_t arg2 ;
16301 int result;
16302 PyObject * obj0 = 0 ;
16303 PyObject * obj1 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self",(char *) "n", NULL
16306 };
16307
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16310 if (SWIG_arg_fail(1)) SWIG_fail;
16311 {
16312 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16313 if (SWIG_arg_fail(2)) SWIG_fail;
16314 }
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
16317 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 {
16323 resultobj = SWIG_From_int((int)(result));
16324 }
16325 return resultobj;
16326 fail:
16327 return NULL;
16328 }
16329
16330
16331 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16332 PyObject *resultobj;
16333 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16334 size_t arg2 ;
16335 int arg3 ;
16336 bool result;
16337 PyObject * obj0 = 0 ;
16338 PyObject * obj1 = 0 ;
16339 PyObject * obj2 = 0 ;
16340 char *kwnames[] = {
16341 (char *) "self",(char *) "n",(char *) "imageId", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16346 if (SWIG_arg_fail(1)) SWIG_fail;
16347 {
16348 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16349 if (SWIG_arg_fail(2)) SWIG_fail;
16350 }
16351 {
16352 arg3 = (int)(SWIG_As_int(obj2));
16353 if (SWIG_arg_fail(3)) SWIG_fail;
16354 }
16355 {
16356 PyThreadState* __tstate = wxPyBeginAllowThreads();
16357 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16358
16359 wxPyEndAllowThreads(__tstate);
16360 if (PyErr_Occurred()) SWIG_fail;
16361 }
16362 {
16363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16364 }
16365 return resultobj;
16366 fail:
16367 return NULL;
16368 }
16369
16370
16371 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16372 PyObject *resultobj;
16373 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16374 wxSize *arg2 = 0 ;
16375 wxSize temp2 ;
16376 PyObject * obj0 = 0 ;
16377 PyObject * obj1 = 0 ;
16378 char *kwnames[] = {
16379 (char *) "self",(char *) "size", NULL
16380 };
16381
16382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16384 if (SWIG_arg_fail(1)) SWIG_fail;
16385 {
16386 arg2 = &temp2;
16387 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16388 }
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 (arg1)->SetPageSize((wxSize const &)*arg2);
16392
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
16396 Py_INCREF(Py_None); resultobj = Py_None;
16397 return resultobj;
16398 fail:
16399 return NULL;
16400 }
16401
16402
16403 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16404 PyObject *resultobj;
16405 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16406 wxSize *arg2 = 0 ;
16407 wxSize result;
16408 wxSize temp2 ;
16409 PyObject * obj0 = 0 ;
16410 PyObject * obj1 = 0 ;
16411 char *kwnames[] = {
16412 (char *) "self",(char *) "sizePage", NULL
16413 };
16414
16415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16417 if (SWIG_arg_fail(1)) SWIG_fail;
16418 {
16419 arg2 = &temp2;
16420 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16421 }
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 {
16430 wxSize * resultptr;
16431 resultptr = new wxSize((wxSize &)(result));
16432 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16433 }
16434 return resultobj;
16435 fail:
16436 return NULL;
16437 }
16438
16439
16440 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16441 PyObject *resultobj;
16442 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16443 size_t arg2 ;
16444 bool result;
16445 PyObject * obj0 = 0 ;
16446 PyObject * obj1 = 0 ;
16447 char *kwnames[] = {
16448 (char *) "self",(char *) "n", NULL
16449 };
16450
16451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16453 if (SWIG_arg_fail(1)) SWIG_fail;
16454 {
16455 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16456 if (SWIG_arg_fail(2)) SWIG_fail;
16457 }
16458 {
16459 PyThreadState* __tstate = wxPyBeginAllowThreads();
16460 result = (bool)(arg1)->DeletePage(arg2);
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_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16475 PyObject *resultobj;
16476 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16477 size_t arg2 ;
16478 bool result;
16479 PyObject * obj0 = 0 ;
16480 PyObject * obj1 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self",(char *) "n", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",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 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16490 if (SWIG_arg_fail(2)) SWIG_fail;
16491 }
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 result = (bool)(arg1)->RemovePage(arg2);
16495
16496 wxPyEndAllowThreads(__tstate);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 }
16499 {
16500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16501 }
16502 return resultobj;
16503 fail:
16504 return NULL;
16505 }
16506
16507
16508 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16509 PyObject *resultobj;
16510 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16511 bool result;
16512 PyObject * obj0 = 0 ;
16513 char *kwnames[] = {
16514 (char *) "self", NULL
16515 };
16516
16517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16519 if (SWIG_arg_fail(1)) SWIG_fail;
16520 {
16521 PyThreadState* __tstate = wxPyBeginAllowThreads();
16522 result = (bool)(arg1)->DeleteAllPages();
16523
16524 wxPyEndAllowThreads(__tstate);
16525 if (PyErr_Occurred()) SWIG_fail;
16526 }
16527 {
16528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16529 }
16530 return resultobj;
16531 fail:
16532 return NULL;
16533 }
16534
16535
16536 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16537 PyObject *resultobj;
16538 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16539 wxWindow *arg2 = (wxWindow *) 0 ;
16540 wxString *arg3 = 0 ;
16541 bool arg4 = (bool) false ;
16542 int arg5 = (int) -1 ;
16543 bool result;
16544 bool temp3 = false ;
16545 PyObject * obj0 = 0 ;
16546 PyObject * obj1 = 0 ;
16547 PyObject * obj2 = 0 ;
16548 PyObject * obj3 = 0 ;
16549 PyObject * obj4 = 0 ;
16550 char *kwnames[] = {
16551 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16552 };
16553
16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16558 if (SWIG_arg_fail(2)) SWIG_fail;
16559 {
16560 arg3 = wxString_in_helper(obj2);
16561 if (arg3 == NULL) SWIG_fail;
16562 temp3 = true;
16563 }
16564 if (obj3) {
16565 {
16566 arg4 = (bool)(SWIG_As_bool(obj3));
16567 if (SWIG_arg_fail(4)) SWIG_fail;
16568 }
16569 }
16570 if (obj4) {
16571 {
16572 arg5 = (int)(SWIG_As_int(obj4));
16573 if (SWIG_arg_fail(5)) SWIG_fail;
16574 }
16575 }
16576 {
16577 PyThreadState* __tstate = wxPyBeginAllowThreads();
16578 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16579
16580 wxPyEndAllowThreads(__tstate);
16581 if (PyErr_Occurred()) SWIG_fail;
16582 }
16583 {
16584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16585 }
16586 {
16587 if (temp3)
16588 delete arg3;
16589 }
16590 return resultobj;
16591 fail:
16592 {
16593 if (temp3)
16594 delete arg3;
16595 }
16596 return NULL;
16597 }
16598
16599
16600 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16601 PyObject *resultobj;
16602 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16603 size_t arg2 ;
16604 wxWindow *arg3 = (wxWindow *) 0 ;
16605 wxString *arg4 = 0 ;
16606 bool arg5 = (bool) false ;
16607 int arg6 = (int) -1 ;
16608 bool result;
16609 bool temp4 = false ;
16610 PyObject * obj0 = 0 ;
16611 PyObject * obj1 = 0 ;
16612 PyObject * obj2 = 0 ;
16613 PyObject * obj3 = 0 ;
16614 PyObject * obj4 = 0 ;
16615 PyObject * obj5 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16625 if (SWIG_arg_fail(2)) SWIG_fail;
16626 }
16627 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16628 if (SWIG_arg_fail(3)) SWIG_fail;
16629 {
16630 arg4 = wxString_in_helper(obj3);
16631 if (arg4 == NULL) SWIG_fail;
16632 temp4 = true;
16633 }
16634 if (obj4) {
16635 {
16636 arg5 = (bool)(SWIG_As_bool(obj4));
16637 if (SWIG_arg_fail(5)) SWIG_fail;
16638 }
16639 }
16640 if (obj5) {
16641 {
16642 arg6 = (int)(SWIG_As_int(obj5));
16643 if (SWIG_arg_fail(6)) SWIG_fail;
16644 }
16645 }
16646 {
16647 PyThreadState* __tstate = wxPyBeginAllowThreads();
16648 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16649
16650 wxPyEndAllowThreads(__tstate);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 }
16653 {
16654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16655 }
16656 {
16657 if (temp4)
16658 delete arg4;
16659 }
16660 return resultobj;
16661 fail:
16662 {
16663 if (temp4)
16664 delete arg4;
16665 }
16666 return NULL;
16667 }
16668
16669
16670 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj;
16672 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16673 size_t arg2 ;
16674 int result;
16675 PyObject * obj0 = 0 ;
16676 PyObject * obj1 = 0 ;
16677 char *kwnames[] = {
16678 (char *) "self",(char *) "n", NULL
16679 };
16680
16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16683 if (SWIG_arg_fail(1)) SWIG_fail;
16684 {
16685 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16686 if (SWIG_arg_fail(2)) SWIG_fail;
16687 }
16688 {
16689 PyThreadState* __tstate = wxPyBeginAllowThreads();
16690 result = (int)(arg1)->SetSelection(arg2);
16691
16692 wxPyEndAllowThreads(__tstate);
16693 if (PyErr_Occurred()) SWIG_fail;
16694 }
16695 {
16696 resultobj = SWIG_From_int((int)(result));
16697 }
16698 return resultobj;
16699 fail:
16700 return NULL;
16701 }
16702
16703
16704 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16705 PyObject *resultobj;
16706 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16707 bool arg2 = (bool) true ;
16708 PyObject * obj0 = 0 ;
16709 PyObject * obj1 = 0 ;
16710 char *kwnames[] = {
16711 (char *) "self",(char *) "forward", NULL
16712 };
16713
16714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
16715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16716 if (SWIG_arg_fail(1)) SWIG_fail;
16717 if (obj1) {
16718 {
16719 arg2 = (bool)(SWIG_As_bool(obj1));
16720 if (SWIG_arg_fail(2)) SWIG_fail;
16721 }
16722 }
16723 {
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 (arg1)->AdvanceSelection(arg2);
16726
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
16730 Py_INCREF(Py_None); resultobj = Py_None;
16731 return resultobj;
16732 fail:
16733 return NULL;
16734 }
16735
16736
16737 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16738 PyObject *resultobj;
16739 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16740 wxVisualAttributes result;
16741 PyObject * obj0 = 0 ;
16742 char *kwnames[] = {
16743 (char *) "variant", NULL
16744 };
16745
16746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16747 if (obj0) {
16748 {
16749 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16750 if (SWIG_arg_fail(1)) SWIG_fail;
16751 }
16752 }
16753 {
16754 if (!wxPyCheckForApp()) SWIG_fail;
16755 PyThreadState* __tstate = wxPyBeginAllowThreads();
16756 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
16757
16758 wxPyEndAllowThreads(__tstate);
16759 if (PyErr_Occurred()) SWIG_fail;
16760 }
16761 {
16762 wxVisualAttributes * resultptr;
16763 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16764 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16765 }
16766 return resultobj;
16767 fail:
16768 return NULL;
16769 }
16770
16771
16772 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
16773 PyObject *obj;
16774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16775 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
16776 Py_INCREF(obj);
16777 return Py_BuildValue((char *)"");
16778 }
16779 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16780 PyObject *resultobj;
16781 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16782 int arg2 = (int) 0 ;
16783 int arg3 = (int) -1 ;
16784 int arg4 = (int) -1 ;
16785 wxBookCtrlBaseEvent *result;
16786 PyObject * obj0 = 0 ;
16787 PyObject * obj1 = 0 ;
16788 PyObject * obj2 = 0 ;
16789 PyObject * obj3 = 0 ;
16790 char *kwnames[] = {
16791 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16792 };
16793
16794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16795 if (obj0) {
16796 {
16797 arg1 = (wxEventType)(SWIG_As_int(obj0));
16798 if (SWIG_arg_fail(1)) SWIG_fail;
16799 }
16800 }
16801 if (obj1) {
16802 {
16803 arg2 = (int)(SWIG_As_int(obj1));
16804 if (SWIG_arg_fail(2)) SWIG_fail;
16805 }
16806 }
16807 if (obj2) {
16808 {
16809 arg3 = (int)(SWIG_As_int(obj2));
16810 if (SWIG_arg_fail(3)) SWIG_fail;
16811 }
16812 }
16813 if (obj3) {
16814 {
16815 arg4 = (int)(SWIG_As_int(obj3));
16816 if (SWIG_arg_fail(4)) SWIG_fail;
16817 }
16818 }
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
16827 return resultobj;
16828 fail:
16829 return NULL;
16830 }
16831
16832
16833 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj;
16835 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16836 int result;
16837 PyObject * obj0 = 0 ;
16838 char *kwnames[] = {
16839 (char *) "self", NULL
16840 };
16841
16842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
16843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16844 if (SWIG_arg_fail(1)) SWIG_fail;
16845 {
16846 PyThreadState* __tstate = wxPyBeginAllowThreads();
16847 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
16848
16849 wxPyEndAllowThreads(__tstate);
16850 if (PyErr_Occurred()) SWIG_fail;
16851 }
16852 {
16853 resultobj = SWIG_From_int((int)(result));
16854 }
16855 return resultobj;
16856 fail:
16857 return NULL;
16858 }
16859
16860
16861 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16862 PyObject *resultobj;
16863 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16864 int arg2 ;
16865 PyObject * obj0 = 0 ;
16866 PyObject * obj1 = 0 ;
16867 char *kwnames[] = {
16868 (char *) "self",(char *) "nSel", NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16873 if (SWIG_arg_fail(1)) SWIG_fail;
16874 {
16875 arg2 = (int)(SWIG_As_int(obj1));
16876 if (SWIG_arg_fail(2)) SWIG_fail;
16877 }
16878 {
16879 PyThreadState* __tstate = wxPyBeginAllowThreads();
16880 (arg1)->SetSelection(arg2);
16881
16882 wxPyEndAllowThreads(__tstate);
16883 if (PyErr_Occurred()) SWIG_fail;
16884 }
16885 Py_INCREF(Py_None); resultobj = Py_None;
16886 return resultobj;
16887 fail:
16888 return NULL;
16889 }
16890
16891
16892 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16893 PyObject *resultobj;
16894 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16895 int result;
16896 PyObject * obj0 = 0 ;
16897 char *kwnames[] = {
16898 (char *) "self", NULL
16899 };
16900
16901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
16902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16903 if (SWIG_arg_fail(1)) SWIG_fail;
16904 {
16905 PyThreadState* __tstate = wxPyBeginAllowThreads();
16906 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
16907
16908 wxPyEndAllowThreads(__tstate);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 {
16912 resultobj = SWIG_From_int((int)(result));
16913 }
16914 return resultobj;
16915 fail:
16916 return NULL;
16917 }
16918
16919
16920 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16921 PyObject *resultobj;
16922 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16923 int arg2 ;
16924 PyObject * obj0 = 0 ;
16925 PyObject * obj1 = 0 ;
16926 char *kwnames[] = {
16927 (char *) "self",(char *) "nOldSel", NULL
16928 };
16929
16930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
16931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16932 if (SWIG_arg_fail(1)) SWIG_fail;
16933 {
16934 arg2 = (int)(SWIG_As_int(obj1));
16935 if (SWIG_arg_fail(2)) SWIG_fail;
16936 }
16937 {
16938 PyThreadState* __tstate = wxPyBeginAllowThreads();
16939 (arg1)->SetOldSelection(arg2);
16940
16941 wxPyEndAllowThreads(__tstate);
16942 if (PyErr_Occurred()) SWIG_fail;
16943 }
16944 Py_INCREF(Py_None); resultobj = Py_None;
16945 return resultobj;
16946 fail:
16947 return NULL;
16948 }
16949
16950
16951 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
16952 PyObject *obj;
16953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16954 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
16955 Py_INCREF(obj);
16956 return Py_BuildValue((char *)"");
16957 }
16958 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
16959 PyObject *resultobj;
16960 wxWindow *arg1 = (wxWindow *) 0 ;
16961 int arg2 = (int) -1 ;
16962 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16963 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16964 wxSize const &arg4_defvalue = wxDefaultSize ;
16965 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16966 long arg5 = (long) 0 ;
16967 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
16968 wxString *arg6 = (wxString *) &arg6_defvalue ;
16969 wxNotebook *result;
16970 wxPoint temp3 ;
16971 wxSize temp4 ;
16972 bool temp6 = false ;
16973 PyObject * obj0 = 0 ;
16974 PyObject * obj1 = 0 ;
16975 PyObject * obj2 = 0 ;
16976 PyObject * obj3 = 0 ;
16977 PyObject * obj4 = 0 ;
16978 PyObject * obj5 = 0 ;
16979 char *kwnames[] = {
16980 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16981 };
16982
16983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16985 if (SWIG_arg_fail(1)) SWIG_fail;
16986 if (obj1) {
16987 {
16988 arg2 = (int)(SWIG_As_int(obj1));
16989 if (SWIG_arg_fail(2)) SWIG_fail;
16990 }
16991 }
16992 if (obj2) {
16993 {
16994 arg3 = &temp3;
16995 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16996 }
16997 }
16998 if (obj3) {
16999 {
17000 arg4 = &temp4;
17001 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17002 }
17003 }
17004 if (obj4) {
17005 {
17006 arg5 = (long)(SWIG_As_long(obj4));
17007 if (SWIG_arg_fail(5)) SWIG_fail;
17008 }
17009 }
17010 if (obj5) {
17011 {
17012 arg6 = wxString_in_helper(obj5);
17013 if (arg6 == NULL) SWIG_fail;
17014 temp6 = true;
17015 }
17016 }
17017 {
17018 if (!wxPyCheckForApp()) SWIG_fail;
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17021
17022 wxPyEndAllowThreads(__tstate);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17026 {
17027 if (temp6)
17028 delete arg6;
17029 }
17030 return resultobj;
17031 fail:
17032 {
17033 if (temp6)
17034 delete arg6;
17035 }
17036 return NULL;
17037 }
17038
17039
17040 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17041 PyObject *resultobj;
17042 wxNotebook *result;
17043 char *kwnames[] = {
17044 NULL
17045 };
17046
17047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17048 {
17049 if (!wxPyCheckForApp()) SWIG_fail;
17050 PyThreadState* __tstate = wxPyBeginAllowThreads();
17051 result = (wxNotebook *)new wxNotebook();
17052
17053 wxPyEndAllowThreads(__tstate);
17054 if (PyErr_Occurred()) SWIG_fail;
17055 }
17056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17057 return resultobj;
17058 fail:
17059 return NULL;
17060 }
17061
17062
17063 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17064 PyObject *resultobj;
17065 wxNotebook *arg1 = (wxNotebook *) 0 ;
17066 wxWindow *arg2 = (wxWindow *) 0 ;
17067 int arg3 = (int) -1 ;
17068 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17069 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17070 wxSize const &arg5_defvalue = wxDefaultSize ;
17071 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17072 long arg6 = (long) 0 ;
17073 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17074 wxString *arg7 = (wxString *) &arg7_defvalue ;
17075 bool result;
17076 wxPoint temp4 ;
17077 wxSize temp5 ;
17078 bool temp7 = false ;
17079 PyObject * obj0 = 0 ;
17080 PyObject * obj1 = 0 ;
17081 PyObject * obj2 = 0 ;
17082 PyObject * obj3 = 0 ;
17083 PyObject * obj4 = 0 ;
17084 PyObject * obj5 = 0 ;
17085 PyObject * obj6 = 0 ;
17086 char *kwnames[] = {
17087 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17088 };
17089
17090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17092 if (SWIG_arg_fail(1)) SWIG_fail;
17093 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17094 if (SWIG_arg_fail(2)) SWIG_fail;
17095 if (obj2) {
17096 {
17097 arg3 = (int)(SWIG_As_int(obj2));
17098 if (SWIG_arg_fail(3)) SWIG_fail;
17099 }
17100 }
17101 if (obj3) {
17102 {
17103 arg4 = &temp4;
17104 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17105 }
17106 }
17107 if (obj4) {
17108 {
17109 arg5 = &temp5;
17110 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17111 }
17112 }
17113 if (obj5) {
17114 {
17115 arg6 = (long)(SWIG_As_long(obj5));
17116 if (SWIG_arg_fail(6)) SWIG_fail;
17117 }
17118 }
17119 if (obj6) {
17120 {
17121 arg7 = wxString_in_helper(obj6);
17122 if (arg7 == NULL) SWIG_fail;
17123 temp7 = true;
17124 }
17125 }
17126 {
17127 PyThreadState* __tstate = wxPyBeginAllowThreads();
17128 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17129
17130 wxPyEndAllowThreads(__tstate);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 }
17133 {
17134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17135 }
17136 {
17137 if (temp7)
17138 delete arg7;
17139 }
17140 return resultobj;
17141 fail:
17142 {
17143 if (temp7)
17144 delete arg7;
17145 }
17146 return NULL;
17147 }
17148
17149
17150 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17151 PyObject *resultobj;
17152 wxNotebook *arg1 = (wxNotebook *) 0 ;
17153 int result;
17154 PyObject * obj0 = 0 ;
17155 char *kwnames[] = {
17156 (char *) "self", NULL
17157 };
17158
17159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17161 if (SWIG_arg_fail(1)) SWIG_fail;
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17165
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 {
17170 resultobj = SWIG_From_int((int)(result));
17171 }
17172 return resultobj;
17173 fail:
17174 return NULL;
17175 }
17176
17177
17178 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17179 PyObject *resultobj;
17180 wxNotebook *arg1 = (wxNotebook *) 0 ;
17181 wxSize *arg2 = 0 ;
17182 wxSize temp2 ;
17183 PyObject * obj0 = 0 ;
17184 PyObject * obj1 = 0 ;
17185 char *kwnames[] = {
17186 (char *) "self",(char *) "padding", NULL
17187 };
17188
17189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17191 if (SWIG_arg_fail(1)) SWIG_fail;
17192 {
17193 arg2 = &temp2;
17194 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17195 }
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 (arg1)->SetPadding((wxSize const &)*arg2);
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 Py_INCREF(Py_None); resultobj = Py_None;
17204 return resultobj;
17205 fail:
17206 return NULL;
17207 }
17208
17209
17210 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17211 PyObject *resultobj;
17212 wxNotebook *arg1 = (wxNotebook *) 0 ;
17213 wxSize *arg2 = 0 ;
17214 wxSize temp2 ;
17215 PyObject * obj0 = 0 ;
17216 PyObject * obj1 = 0 ;
17217 char *kwnames[] = {
17218 (char *) "self",(char *) "sz", NULL
17219 };
17220
17221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17223 if (SWIG_arg_fail(1)) SWIG_fail;
17224 {
17225 arg2 = &temp2;
17226 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17227 }
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 (arg1)->SetTabSize((wxSize const &)*arg2);
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 Py_INCREF(Py_None); resultobj = Py_None;
17236 return resultobj;
17237 fail:
17238 return NULL;
17239 }
17240
17241
17242 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17243 PyObject *resultobj;
17244 wxNotebook *arg1 = (wxNotebook *) 0 ;
17245 wxPoint *arg2 = 0 ;
17246 long *arg3 = (long *) 0 ;
17247 int result;
17248 wxPoint temp2 ;
17249 long temp3 ;
17250 int res3 = 0 ;
17251 PyObject * obj0 = 0 ;
17252 PyObject * obj1 = 0 ;
17253 char *kwnames[] = {
17254 (char *) "self",(char *) "pt", NULL
17255 };
17256
17257 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17260 if (SWIG_arg_fail(1)) SWIG_fail;
17261 {
17262 arg2 = &temp2;
17263 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17264 }
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17268
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
17272 {
17273 resultobj = SWIG_From_int((int)(result));
17274 }
17275 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17276 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17277 return resultobj;
17278 fail:
17279 return NULL;
17280 }
17281
17282
17283 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj;
17285 wxNotebook *arg1 = (wxNotebook *) 0 ;
17286 wxSize *arg2 = 0 ;
17287 wxSize result;
17288 wxSize temp2 ;
17289 PyObject * obj0 = 0 ;
17290 PyObject * obj1 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self",(char *) "sizePage", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17297 if (SWIG_arg_fail(1)) SWIG_fail;
17298 {
17299 arg2 = &temp2;
17300 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17301 }
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17305
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 {
17310 wxSize * resultptr;
17311 resultptr = new wxSize((wxSize &)(result));
17312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17313 }
17314 return resultobj;
17315 fail:
17316 return NULL;
17317 }
17318
17319
17320 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17321 PyObject *resultobj;
17322 wxNotebook *arg1 = (wxNotebook *) 0 ;
17323 wxColour result;
17324 PyObject * obj0 = 0 ;
17325 char *kwnames[] = {
17326 (char *) "self", NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail;
17332 {
17333 PyThreadState* __tstate = wxPyBeginAllowThreads();
17334 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17335
17336 wxPyEndAllowThreads(__tstate);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 }
17339 {
17340 wxColour * resultptr;
17341 resultptr = new wxColour((wxColour &)(result));
17342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17343 }
17344 return resultobj;
17345 fail:
17346 return NULL;
17347 }
17348
17349
17350 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17351 PyObject *resultobj;
17352 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17353 wxVisualAttributes result;
17354 PyObject * obj0 = 0 ;
17355 char *kwnames[] = {
17356 (char *) "variant", NULL
17357 };
17358
17359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17360 if (obj0) {
17361 {
17362 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17363 if (SWIG_arg_fail(1)) SWIG_fail;
17364 }
17365 }
17366 {
17367 if (!wxPyCheckForApp()) SWIG_fail;
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17370
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 {
17375 wxVisualAttributes * resultptr;
17376 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
17377 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17378 }
17379 return resultobj;
17380 fail:
17381 return NULL;
17382 }
17383
17384
17385 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17386 PyObject *obj;
17387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17388 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17389 Py_INCREF(obj);
17390 return Py_BuildValue((char *)"");
17391 }
17392 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17393 PyObject *resultobj;
17394 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17395 int arg2 = (int) 0 ;
17396 int arg3 = (int) -1 ;
17397 int arg4 = (int) -1 ;
17398 wxNotebookEvent *result;
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 PyObject * obj2 = 0 ;
17402 PyObject * obj3 = 0 ;
17403 char *kwnames[] = {
17404 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17405 };
17406
17407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17408 if (obj0) {
17409 {
17410 arg1 = (wxEventType)(SWIG_As_int(obj0));
17411 if (SWIG_arg_fail(1)) SWIG_fail;
17412 }
17413 }
17414 if (obj1) {
17415 {
17416 arg2 = (int)(SWIG_As_int(obj1));
17417 if (SWIG_arg_fail(2)) SWIG_fail;
17418 }
17419 }
17420 if (obj2) {
17421 {
17422 arg3 = (int)(SWIG_As_int(obj2));
17423 if (SWIG_arg_fail(3)) SWIG_fail;
17424 }
17425 }
17426 if (obj3) {
17427 {
17428 arg4 = (int)(SWIG_As_int(obj3));
17429 if (SWIG_arg_fail(4)) SWIG_fail;
17430 }
17431 }
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17440 return resultobj;
17441 fail:
17442 return NULL;
17443 }
17444
17445
17446 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17447 PyObject *obj;
17448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17449 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17450 Py_INCREF(obj);
17451 return Py_BuildValue((char *)"");
17452 }
17453 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxWindow *arg1 = (wxWindow *) 0 ;
17456 int arg2 = (int) -1 ;
17457 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17458 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17459 wxSize const &arg4_defvalue = wxDefaultSize ;
17460 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17461 long arg5 = (long) 0 ;
17462 wxString const &arg6_defvalue = wxPyEmptyString ;
17463 wxString *arg6 = (wxString *) &arg6_defvalue ;
17464 wxListbook *result;
17465 wxPoint temp3 ;
17466 wxSize temp4 ;
17467 bool temp6 = false ;
17468 PyObject * obj0 = 0 ;
17469 PyObject * obj1 = 0 ;
17470 PyObject * obj2 = 0 ;
17471 PyObject * obj3 = 0 ;
17472 PyObject * obj4 = 0 ;
17473 PyObject * obj5 = 0 ;
17474 char *kwnames[] = {
17475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17476 };
17477
17478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17480 if (SWIG_arg_fail(1)) SWIG_fail;
17481 if (obj1) {
17482 {
17483 arg2 = (int)(SWIG_As_int(obj1));
17484 if (SWIG_arg_fail(2)) SWIG_fail;
17485 }
17486 }
17487 if (obj2) {
17488 {
17489 arg3 = &temp3;
17490 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17491 }
17492 }
17493 if (obj3) {
17494 {
17495 arg4 = &temp4;
17496 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17497 }
17498 }
17499 if (obj4) {
17500 {
17501 arg5 = (long)(SWIG_As_long(obj4));
17502 if (SWIG_arg_fail(5)) SWIG_fail;
17503 }
17504 }
17505 if (obj5) {
17506 {
17507 arg6 = wxString_in_helper(obj5);
17508 if (arg6 == NULL) SWIG_fail;
17509 temp6 = true;
17510 }
17511 }
17512 {
17513 if (!wxPyCheckForApp()) SWIG_fail;
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17516
17517 wxPyEndAllowThreads(__tstate);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17521 {
17522 if (temp6)
17523 delete arg6;
17524 }
17525 return resultobj;
17526 fail:
17527 {
17528 if (temp6)
17529 delete arg6;
17530 }
17531 return NULL;
17532 }
17533
17534
17535 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17536 PyObject *resultobj;
17537 wxListbook *result;
17538 char *kwnames[] = {
17539 NULL
17540 };
17541
17542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17543 {
17544 if (!wxPyCheckForApp()) SWIG_fail;
17545 PyThreadState* __tstate = wxPyBeginAllowThreads();
17546 result = (wxListbook *)new wxListbook();
17547
17548 wxPyEndAllowThreads(__tstate);
17549 if (PyErr_Occurred()) SWIG_fail;
17550 }
17551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17552 return resultobj;
17553 fail:
17554 return NULL;
17555 }
17556
17557
17558 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17559 PyObject *resultobj;
17560 wxListbook *arg1 = (wxListbook *) 0 ;
17561 wxWindow *arg2 = (wxWindow *) 0 ;
17562 int arg3 = (int) -1 ;
17563 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17564 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17565 wxSize const &arg5_defvalue = wxDefaultSize ;
17566 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17567 long arg6 = (long) 0 ;
17568 wxString const &arg7_defvalue = wxPyEmptyString ;
17569 wxString *arg7 = (wxString *) &arg7_defvalue ;
17570 bool result;
17571 wxPoint temp4 ;
17572 wxSize temp5 ;
17573 bool temp7 = false ;
17574 PyObject * obj0 = 0 ;
17575 PyObject * obj1 = 0 ;
17576 PyObject * obj2 = 0 ;
17577 PyObject * obj3 = 0 ;
17578 PyObject * obj4 = 0 ;
17579 PyObject * obj5 = 0 ;
17580 PyObject * obj6 = 0 ;
17581 char *kwnames[] = {
17582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17583 };
17584
17585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17587 if (SWIG_arg_fail(1)) SWIG_fail;
17588 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17589 if (SWIG_arg_fail(2)) SWIG_fail;
17590 if (obj2) {
17591 {
17592 arg3 = (int)(SWIG_As_int(obj2));
17593 if (SWIG_arg_fail(3)) SWIG_fail;
17594 }
17595 }
17596 if (obj3) {
17597 {
17598 arg4 = &temp4;
17599 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17600 }
17601 }
17602 if (obj4) {
17603 {
17604 arg5 = &temp5;
17605 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17606 }
17607 }
17608 if (obj5) {
17609 {
17610 arg6 = (long)(SWIG_As_long(obj5));
17611 if (SWIG_arg_fail(6)) SWIG_fail;
17612 }
17613 }
17614 if (obj6) {
17615 {
17616 arg7 = wxString_in_helper(obj6);
17617 if (arg7 == NULL) SWIG_fail;
17618 temp7 = true;
17619 }
17620 }
17621 {
17622 PyThreadState* __tstate = wxPyBeginAllowThreads();
17623 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17624
17625 wxPyEndAllowThreads(__tstate);
17626 if (PyErr_Occurred()) SWIG_fail;
17627 }
17628 {
17629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17630 }
17631 {
17632 if (temp7)
17633 delete arg7;
17634 }
17635 return resultobj;
17636 fail:
17637 {
17638 if (temp7)
17639 delete arg7;
17640 }
17641 return NULL;
17642 }
17643
17644
17645 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj;
17647 wxListbook *arg1 = (wxListbook *) 0 ;
17648 bool result;
17649 PyObject * obj0 = 0 ;
17650 char *kwnames[] = {
17651 (char *) "self", NULL
17652 };
17653
17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
17655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17656 if (SWIG_arg_fail(1)) SWIG_fail;
17657 {
17658 PyThreadState* __tstate = wxPyBeginAllowThreads();
17659 result = (bool)((wxListbook const *)arg1)->IsVertical();
17660
17661 wxPyEndAllowThreads(__tstate);
17662 if (PyErr_Occurred()) SWIG_fail;
17663 }
17664 {
17665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17666 }
17667 return resultobj;
17668 fail:
17669 return NULL;
17670 }
17671
17672
17673 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17674 PyObject *resultobj;
17675 wxListbook *arg1 = (wxListbook *) 0 ;
17676 wxListView *result;
17677 PyObject * obj0 = 0 ;
17678 char *kwnames[] = {
17679 (char *) "self", NULL
17680 };
17681
17682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
17683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17684 if (SWIG_arg_fail(1)) SWIG_fail;
17685 {
17686 PyThreadState* __tstate = wxPyBeginAllowThreads();
17687 result = (wxListView *)(arg1)->GetListView();
17688
17689 wxPyEndAllowThreads(__tstate);
17690 if (PyErr_Occurred()) SWIG_fail;
17691 }
17692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17693 return resultobj;
17694 fail:
17695 return NULL;
17696 }
17697
17698
17699 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
17700 PyObject *obj;
17701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17702 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17703 Py_INCREF(obj);
17704 return Py_BuildValue((char *)"");
17705 }
17706 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17707 PyObject *resultobj;
17708 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17709 int arg2 = (int) 0 ;
17710 int arg3 = (int) -1 ;
17711 int arg4 = (int) -1 ;
17712 wxListbookEvent *result;
17713 PyObject * obj0 = 0 ;
17714 PyObject * obj1 = 0 ;
17715 PyObject * obj2 = 0 ;
17716 PyObject * obj3 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17722 if (obj0) {
17723 {
17724 arg1 = (wxEventType)(SWIG_As_int(obj0));
17725 if (SWIG_arg_fail(1)) SWIG_fail;
17726 }
17727 }
17728 if (obj1) {
17729 {
17730 arg2 = (int)(SWIG_As_int(obj1));
17731 if (SWIG_arg_fail(2)) SWIG_fail;
17732 }
17733 }
17734 if (obj2) {
17735 {
17736 arg3 = (int)(SWIG_As_int(obj2));
17737 if (SWIG_arg_fail(3)) SWIG_fail;
17738 }
17739 }
17740 if (obj3) {
17741 {
17742 arg4 = (int)(SWIG_As_int(obj3));
17743 if (SWIG_arg_fail(4)) SWIG_fail;
17744 }
17745 }
17746 {
17747 PyThreadState* __tstate = wxPyBeginAllowThreads();
17748 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17749
17750 wxPyEndAllowThreads(__tstate);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17754 return resultobj;
17755 fail:
17756 return NULL;
17757 }
17758
17759
17760 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
17761 PyObject *obj;
17762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17763 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17764 Py_INCREF(obj);
17765 return Py_BuildValue((char *)"");
17766 }
17767 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17768 PyObject *resultobj;
17769 wxWindow *arg1 = (wxWindow *) 0 ;
17770 int arg2 ;
17771 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17772 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17773 wxSize const &arg4_defvalue = wxDefaultSize ;
17774 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17775 long arg5 = (long) 0 ;
17776 wxString const &arg6_defvalue = wxPyEmptyString ;
17777 wxString *arg6 = (wxString *) &arg6_defvalue ;
17778 wxChoicebook *result;
17779 wxPoint temp3 ;
17780 wxSize temp4 ;
17781 bool temp6 = false ;
17782 PyObject * obj0 = 0 ;
17783 PyObject * obj1 = 0 ;
17784 PyObject * obj2 = 0 ;
17785 PyObject * obj3 = 0 ;
17786 PyObject * obj4 = 0 ;
17787 PyObject * obj5 = 0 ;
17788 char *kwnames[] = {
17789 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17790 };
17791
17792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17794 if (SWIG_arg_fail(1)) SWIG_fail;
17795 {
17796 arg2 = (int)(SWIG_As_int(obj1));
17797 if (SWIG_arg_fail(2)) SWIG_fail;
17798 }
17799 if (obj2) {
17800 {
17801 arg3 = &temp3;
17802 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17803 }
17804 }
17805 if (obj3) {
17806 {
17807 arg4 = &temp4;
17808 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17809 }
17810 }
17811 if (obj4) {
17812 {
17813 arg5 = (long)(SWIG_As_long(obj4));
17814 if (SWIG_arg_fail(5)) SWIG_fail;
17815 }
17816 }
17817 if (obj5) {
17818 {
17819 arg6 = wxString_in_helper(obj5);
17820 if (arg6 == NULL) SWIG_fail;
17821 temp6 = true;
17822 }
17823 }
17824 {
17825 if (!wxPyCheckForApp()) SWIG_fail;
17826 PyThreadState* __tstate = wxPyBeginAllowThreads();
17827 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17828
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17833 {
17834 if (temp6)
17835 delete arg6;
17836 }
17837 return resultobj;
17838 fail:
17839 {
17840 if (temp6)
17841 delete arg6;
17842 }
17843 return NULL;
17844 }
17845
17846
17847 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17848 PyObject *resultobj;
17849 wxChoicebook *result;
17850 char *kwnames[] = {
17851 NULL
17852 };
17853
17854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17855 {
17856 if (!wxPyCheckForApp()) SWIG_fail;
17857 PyThreadState* __tstate = wxPyBeginAllowThreads();
17858 result = (wxChoicebook *)new wxChoicebook();
17859
17860 wxPyEndAllowThreads(__tstate);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17864 return resultobj;
17865 fail:
17866 return NULL;
17867 }
17868
17869
17870 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17871 PyObject *resultobj;
17872 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17873 wxWindow *arg2 = (wxWindow *) 0 ;
17874 int arg3 ;
17875 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17876 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17877 wxSize const &arg5_defvalue = wxDefaultSize ;
17878 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17879 long arg6 = (long) 0 ;
17880 wxString const &arg7_defvalue = wxPyEmptyString ;
17881 wxString *arg7 = (wxString *) &arg7_defvalue ;
17882 bool result;
17883 wxPoint temp4 ;
17884 wxSize temp5 ;
17885 bool temp7 = false ;
17886 PyObject * obj0 = 0 ;
17887 PyObject * obj1 = 0 ;
17888 PyObject * obj2 = 0 ;
17889 PyObject * obj3 = 0 ;
17890 PyObject * obj4 = 0 ;
17891 PyObject * obj5 = 0 ;
17892 PyObject * obj6 = 0 ;
17893 char *kwnames[] = {
17894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17895 };
17896
17897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
17899 if (SWIG_arg_fail(1)) SWIG_fail;
17900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17901 if (SWIG_arg_fail(2)) SWIG_fail;
17902 {
17903 arg3 = (int)(SWIG_As_int(obj2));
17904 if (SWIG_arg_fail(3)) SWIG_fail;
17905 }
17906 if (obj3) {
17907 {
17908 arg4 = &temp4;
17909 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17910 }
17911 }
17912 if (obj4) {
17913 {
17914 arg5 = &temp5;
17915 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17916 }
17917 }
17918 if (obj5) {
17919 {
17920 arg6 = (long)(SWIG_As_long(obj5));
17921 if (SWIG_arg_fail(6)) SWIG_fail;
17922 }
17923 }
17924 if (obj6) {
17925 {
17926 arg7 = wxString_in_helper(obj6);
17927 if (arg7 == NULL) SWIG_fail;
17928 temp7 = true;
17929 }
17930 }
17931 {
17932 PyThreadState* __tstate = wxPyBeginAllowThreads();
17933 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17934
17935 wxPyEndAllowThreads(__tstate);
17936 if (PyErr_Occurred()) SWIG_fail;
17937 }
17938 {
17939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17940 }
17941 {
17942 if (temp7)
17943 delete arg7;
17944 }
17945 return resultobj;
17946 fail:
17947 {
17948 if (temp7)
17949 delete arg7;
17950 }
17951 return NULL;
17952 }
17953
17954
17955 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17956 PyObject *resultobj;
17957 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17958 bool result;
17959 PyObject * obj0 = 0 ;
17960 char *kwnames[] = {
17961 (char *) "self", NULL
17962 };
17963
17964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
17965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
17966 if (SWIG_arg_fail(1)) SWIG_fail;
17967 {
17968 PyThreadState* __tstate = wxPyBeginAllowThreads();
17969 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
17970
17971 wxPyEndAllowThreads(__tstate);
17972 if (PyErr_Occurred()) SWIG_fail;
17973 }
17974 {
17975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17976 }
17977 return resultobj;
17978 fail:
17979 return NULL;
17980 }
17981
17982
17983 static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
17984 PyObject *resultobj;
17985 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17986 wxChoice *result;
17987 PyObject * obj0 = 0 ;
17988 char *kwnames[] = {
17989 (char *) "self", NULL
17990 };
17991
17992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
17993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
17994 if (SWIG_arg_fail(1)) SWIG_fail;
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
17998
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18003 return resultobj;
18004 fail:
18005 return NULL;
18006 }
18007
18008
18009 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18010 PyObject *resultobj;
18011 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18012 bool result;
18013 PyObject * obj0 = 0 ;
18014 char *kwnames[] = {
18015 (char *) "self", NULL
18016 };
18017
18018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18020 if (SWIG_arg_fail(1)) SWIG_fail;
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 result = (bool)(arg1)->DeleteAllPages();
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 {
18029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18030 }
18031 return resultobj;
18032 fail:
18033 return NULL;
18034 }
18035
18036
18037 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18038 PyObject *obj;
18039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18040 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18041 Py_INCREF(obj);
18042 return Py_BuildValue((char *)"");
18043 }
18044 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18045 PyObject *resultobj;
18046 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18047 int arg2 = (int) 0 ;
18048 int arg3 = (int) -1 ;
18049 int arg4 = (int) -1 ;
18050 wxChoicebookEvent *result;
18051 PyObject * obj0 = 0 ;
18052 PyObject * obj1 = 0 ;
18053 PyObject * obj2 = 0 ;
18054 PyObject * obj3 = 0 ;
18055 char *kwnames[] = {
18056 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18057 };
18058
18059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18060 if (obj0) {
18061 {
18062 arg1 = (wxEventType)(SWIG_As_int(obj0));
18063 if (SWIG_arg_fail(1)) SWIG_fail;
18064 }
18065 }
18066 if (obj1) {
18067 {
18068 arg2 = (int)(SWIG_As_int(obj1));
18069 if (SWIG_arg_fail(2)) SWIG_fail;
18070 }
18071 }
18072 if (obj2) {
18073 {
18074 arg3 = (int)(SWIG_As_int(obj2));
18075 if (SWIG_arg_fail(3)) SWIG_fail;
18076 }
18077 }
18078 if (obj3) {
18079 {
18080 arg4 = (int)(SWIG_As_int(obj3));
18081 if (SWIG_arg_fail(4)) SWIG_fail;
18082 }
18083 }
18084 {
18085 PyThreadState* __tstate = wxPyBeginAllowThreads();
18086 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18087
18088 wxPyEndAllowThreads(__tstate);
18089 if (PyErr_Occurred()) SWIG_fail;
18090 }
18091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18092 return resultobj;
18093 fail:
18094 return NULL;
18095 }
18096
18097
18098 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18099 PyObject *obj;
18100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18101 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18102 Py_INCREF(obj);
18103 return Py_BuildValue((char *)"");
18104 }
18105 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18106 PyObject *resultobj;
18107 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18108 wxBookCtrlSizer *result;
18109 PyObject * obj0 = 0 ;
18110 char *kwnames[] = {
18111 (char *) "nb", NULL
18112 };
18113
18114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
18115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18116 if (SWIG_arg_fail(1)) SWIG_fail;
18117 {
18118 PyThreadState* __tstate = wxPyBeginAllowThreads();
18119 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18120
18121 wxPyEndAllowThreads(__tstate);
18122 if (PyErr_Occurred()) SWIG_fail;
18123 }
18124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18125 return resultobj;
18126 fail:
18127 return NULL;
18128 }
18129
18130
18131 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18132 PyObject *resultobj;
18133 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18134 PyObject * obj0 = 0 ;
18135 char *kwnames[] = {
18136 (char *) "self", NULL
18137 };
18138
18139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18141 if (SWIG_arg_fail(1)) SWIG_fail;
18142 {
18143 PyThreadState* __tstate = wxPyBeginAllowThreads();
18144 (arg1)->RecalcSizes();
18145
18146 wxPyEndAllowThreads(__tstate);
18147 if (PyErr_Occurred()) SWIG_fail;
18148 }
18149 Py_INCREF(Py_None); resultobj = Py_None;
18150 return resultobj;
18151 fail:
18152 return NULL;
18153 }
18154
18155
18156 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18157 PyObject *resultobj;
18158 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18159 wxSize result;
18160 PyObject * obj0 = 0 ;
18161 char *kwnames[] = {
18162 (char *) "self", NULL
18163 };
18164
18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
18166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18167 if (SWIG_arg_fail(1)) SWIG_fail;
18168 {
18169 PyThreadState* __tstate = wxPyBeginAllowThreads();
18170 result = (arg1)->CalcMin();
18171
18172 wxPyEndAllowThreads(__tstate);
18173 if (PyErr_Occurred()) SWIG_fail;
18174 }
18175 {
18176 wxSize * resultptr;
18177 resultptr = new wxSize((wxSize &)(result));
18178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18179 }
18180 return resultobj;
18181 fail:
18182 return NULL;
18183 }
18184
18185
18186 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18187 PyObject *resultobj;
18188 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18189 wxBookCtrlBase *result;
18190 PyObject * obj0 = 0 ;
18191 char *kwnames[] = {
18192 (char *) "self", NULL
18193 };
18194
18195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
18196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18197 if (SWIG_arg_fail(1)) SWIG_fail;
18198 {
18199 PyThreadState* __tstate = wxPyBeginAllowThreads();
18200 result = (wxBookCtrlBase *)(arg1)->GetControl();
18201
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
18206 return resultobj;
18207 fail:
18208 return NULL;
18209 }
18210
18211
18212 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
18213 PyObject *obj;
18214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18215 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18216 Py_INCREF(obj);
18217 return Py_BuildValue((char *)"");
18218 }
18219 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18220 PyObject *resultobj;
18221 wxNotebook *arg1 = (wxNotebook *) 0 ;
18222 wxNotebookSizer *result;
18223 PyObject * obj0 = 0 ;
18224 char *kwnames[] = {
18225 (char *) "nb", NULL
18226 };
18227
18228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
18229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18230 if (SWIG_arg_fail(1)) SWIG_fail;
18231 {
18232 PyThreadState* __tstate = wxPyBeginAllowThreads();
18233 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18234
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18239 return resultobj;
18240 fail:
18241 return NULL;
18242 }
18243
18244
18245 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj;
18247 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18248 PyObject * obj0 = 0 ;
18249 char *kwnames[] = {
18250 (char *) "self", NULL
18251 };
18252
18253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18255 if (SWIG_arg_fail(1)) SWIG_fail;
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 (arg1)->RecalcSizes();
18259
18260 wxPyEndAllowThreads(__tstate);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 }
18263 Py_INCREF(Py_None); resultobj = Py_None;
18264 return resultobj;
18265 fail:
18266 return NULL;
18267 }
18268
18269
18270 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18271 PyObject *resultobj;
18272 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18273 wxSize result;
18274 PyObject * obj0 = 0 ;
18275 char *kwnames[] = {
18276 (char *) "self", NULL
18277 };
18278
18279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
18280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18281 if (SWIG_arg_fail(1)) SWIG_fail;
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 result = (arg1)->CalcMin();
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 {
18290 wxSize * resultptr;
18291 resultptr = new wxSize((wxSize &)(result));
18292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18293 }
18294 return resultobj;
18295 fail:
18296 return NULL;
18297 }
18298
18299
18300 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
18301 PyObject *resultobj;
18302 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18303 wxNotebook *result;
18304 PyObject * obj0 = 0 ;
18305 char *kwnames[] = {
18306 (char *) "self", NULL
18307 };
18308
18309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
18310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18311 if (SWIG_arg_fail(1)) SWIG_fail;
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
18314 result = (wxNotebook *)(arg1)->GetNotebook();
18315
18316 wxPyEndAllowThreads(__tstate);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 }
18319 {
18320 resultobj = wxPyMake_wxObject(result, 0);
18321 }
18322 return resultobj;
18323 fail:
18324 return NULL;
18325 }
18326
18327
18328 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
18329 PyObject *obj;
18330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18331 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18332 Py_INCREF(obj);
18333 return Py_BuildValue((char *)"");
18334 }
18335 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18336 PyObject *resultobj;
18337 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18338 int result;
18339 PyObject * obj0 = 0 ;
18340 char *kwnames[] = {
18341 (char *) "self", NULL
18342 };
18343
18344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
18345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18346 if (SWIG_arg_fail(1)) SWIG_fail;
18347 {
18348 PyThreadState* __tstate = wxPyBeginAllowThreads();
18349 result = (int)(arg1)->GetId();
18350
18351 wxPyEndAllowThreads(__tstate);
18352 if (PyErr_Occurred()) SWIG_fail;
18353 }
18354 {
18355 resultobj = SWIG_From_int((int)(result));
18356 }
18357 return resultobj;
18358 fail:
18359 return NULL;
18360 }
18361
18362
18363 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18364 PyObject *resultobj;
18365 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18366 wxControl *result;
18367 PyObject * obj0 = 0 ;
18368 char *kwnames[] = {
18369 (char *) "self", NULL
18370 };
18371
18372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
18373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18374 if (SWIG_arg_fail(1)) SWIG_fail;
18375 {
18376 PyThreadState* __tstate = wxPyBeginAllowThreads();
18377 result = (wxControl *)(arg1)->GetControl();
18378
18379 wxPyEndAllowThreads(__tstate);
18380 if (PyErr_Occurred()) SWIG_fail;
18381 }
18382 {
18383 resultobj = wxPyMake_wxObject(result, 0);
18384 }
18385 return resultobj;
18386 fail:
18387 return NULL;
18388 }
18389
18390
18391 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj;
18393 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18394 wxToolBarBase *result;
18395 PyObject * obj0 = 0 ;
18396 char *kwnames[] = {
18397 (char *) "self", NULL
18398 };
18399
18400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
18401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18402 if (SWIG_arg_fail(1)) SWIG_fail;
18403 {
18404 PyThreadState* __tstate = wxPyBeginAllowThreads();
18405 result = (wxToolBarBase *)(arg1)->GetToolBar();
18406
18407 wxPyEndAllowThreads(__tstate);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 }
18410 {
18411 resultobj = wxPyMake_wxObject(result, 0);
18412 }
18413 return resultobj;
18414 fail:
18415 return NULL;
18416 }
18417
18418
18419 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
18420 PyObject *resultobj;
18421 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18422 int result;
18423 PyObject * obj0 = 0 ;
18424 char *kwnames[] = {
18425 (char *) "self", NULL
18426 };
18427
18428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
18429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18430 if (SWIG_arg_fail(1)) SWIG_fail;
18431 {
18432 PyThreadState* __tstate = wxPyBeginAllowThreads();
18433 result = (int)(arg1)->IsButton();
18434
18435 wxPyEndAllowThreads(__tstate);
18436 if (PyErr_Occurred()) SWIG_fail;
18437 }
18438 {
18439 resultobj = SWIG_From_int((int)(result));
18440 }
18441 return resultobj;
18442 fail:
18443 return NULL;
18444 }
18445
18446
18447 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18448 PyObject *resultobj;
18449 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18450 int result;
18451 PyObject * obj0 = 0 ;
18452 char *kwnames[] = {
18453 (char *) "self", NULL
18454 };
18455
18456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
18457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18458 if (SWIG_arg_fail(1)) SWIG_fail;
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 result = (int)(arg1)->IsControl();
18462
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 {
18467 resultobj = SWIG_From_int((int)(result));
18468 }
18469 return resultobj;
18470 fail:
18471 return NULL;
18472 }
18473
18474
18475 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18476 PyObject *resultobj;
18477 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18478 int result;
18479 PyObject * obj0 = 0 ;
18480 char *kwnames[] = {
18481 (char *) "self", NULL
18482 };
18483
18484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18486 if (SWIG_arg_fail(1)) SWIG_fail;
18487 {
18488 PyThreadState* __tstate = wxPyBeginAllowThreads();
18489 result = (int)(arg1)->IsSeparator();
18490
18491 wxPyEndAllowThreads(__tstate);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 {
18495 resultobj = SWIG_From_int((int)(result));
18496 }
18497 return resultobj;
18498 fail:
18499 return NULL;
18500 }
18501
18502
18503 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18504 PyObject *resultobj;
18505 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18506 int result;
18507 PyObject * obj0 = 0 ;
18508 char *kwnames[] = {
18509 (char *) "self", NULL
18510 };
18511
18512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18514 if (SWIG_arg_fail(1)) SWIG_fail;
18515 {
18516 PyThreadState* __tstate = wxPyBeginAllowThreads();
18517 result = (int)(arg1)->GetStyle();
18518
18519 wxPyEndAllowThreads(__tstate);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 }
18522 {
18523 resultobj = SWIG_From_int((int)(result));
18524 }
18525 return resultobj;
18526 fail:
18527 return NULL;
18528 }
18529
18530
18531 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18532 PyObject *resultobj;
18533 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18534 wxItemKind result;
18535 PyObject * obj0 = 0 ;
18536 char *kwnames[] = {
18537 (char *) "self", NULL
18538 };
18539
18540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18542 if (SWIG_arg_fail(1)) SWIG_fail;
18543 {
18544 PyThreadState* __tstate = wxPyBeginAllowThreads();
18545 result = (wxItemKind)(arg1)->GetKind();
18546
18547 wxPyEndAllowThreads(__tstate);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 }
18550 resultobj = SWIG_From_int((result));
18551 return resultobj;
18552 fail:
18553 return NULL;
18554 }
18555
18556
18557 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18558 PyObject *resultobj;
18559 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18560 bool result;
18561 PyObject * obj0 = 0 ;
18562 char *kwnames[] = {
18563 (char *) "self", NULL
18564 };
18565
18566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
18567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18568 if (SWIG_arg_fail(1)) SWIG_fail;
18569 {
18570 PyThreadState* __tstate = wxPyBeginAllowThreads();
18571 result = (bool)(arg1)->IsEnabled();
18572
18573 wxPyEndAllowThreads(__tstate);
18574 if (PyErr_Occurred()) SWIG_fail;
18575 }
18576 {
18577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18578 }
18579 return resultobj;
18580 fail:
18581 return NULL;
18582 }
18583
18584
18585 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18586 PyObject *resultobj;
18587 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18588 bool result;
18589 PyObject * obj0 = 0 ;
18590 char *kwnames[] = {
18591 (char *) "self", NULL
18592 };
18593
18594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18596 if (SWIG_arg_fail(1)) SWIG_fail;
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 result = (bool)(arg1)->IsToggled();
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 {
18605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18606 }
18607 return resultobj;
18608 fail:
18609 return NULL;
18610 }
18611
18612
18613 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18614 PyObject *resultobj;
18615 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18616 bool result;
18617 PyObject * obj0 = 0 ;
18618 char *kwnames[] = {
18619 (char *) "self", NULL
18620 };
18621
18622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18624 if (SWIG_arg_fail(1)) SWIG_fail;
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 result = (bool)(arg1)->CanBeToggled();
18628
18629 wxPyEndAllowThreads(__tstate);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
18632 {
18633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18634 }
18635 return resultobj;
18636 fail:
18637 return NULL;
18638 }
18639
18640
18641 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18642 PyObject *resultobj;
18643 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18644 wxBitmap *result;
18645 PyObject * obj0 = 0 ;
18646 char *kwnames[] = {
18647 (char *) "self", NULL
18648 };
18649
18650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18652 if (SWIG_arg_fail(1)) SWIG_fail;
18653 {
18654 PyThreadState* __tstate = wxPyBeginAllowThreads();
18655 {
18656 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18657 result = (wxBitmap *) &_result_ref;
18658 }
18659
18660 wxPyEndAllowThreads(__tstate);
18661 if (PyErr_Occurred()) SWIG_fail;
18662 }
18663 {
18664 wxBitmap* resultptr = new wxBitmap(*result);
18665 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18666 }
18667 return resultobj;
18668 fail:
18669 return NULL;
18670 }
18671
18672
18673 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18674 PyObject *resultobj;
18675 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18676 wxBitmap *result;
18677 PyObject * obj0 = 0 ;
18678 char *kwnames[] = {
18679 (char *) "self", NULL
18680 };
18681
18682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18684 if (SWIG_arg_fail(1)) SWIG_fail;
18685 {
18686 PyThreadState* __tstate = wxPyBeginAllowThreads();
18687 {
18688 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18689 result = (wxBitmap *) &_result_ref;
18690 }
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 {
18696 wxBitmap* resultptr = new wxBitmap(*result);
18697 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18698 }
18699 return resultobj;
18700 fail:
18701 return NULL;
18702 }
18703
18704
18705 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18706 PyObject *resultobj;
18707 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18708 wxBitmap result;
18709 PyObject * obj0 = 0 ;
18710 char *kwnames[] = {
18711 (char *) "self", NULL
18712 };
18713
18714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18716 if (SWIG_arg_fail(1)) SWIG_fail;
18717 {
18718 PyThreadState* __tstate = wxPyBeginAllowThreads();
18719 result = (arg1)->GetBitmap();
18720
18721 wxPyEndAllowThreads(__tstate);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 {
18725 wxBitmap * resultptr;
18726 resultptr = new wxBitmap((wxBitmap &)(result));
18727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18728 }
18729 return resultobj;
18730 fail:
18731 return NULL;
18732 }
18733
18734
18735 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18736 PyObject *resultobj;
18737 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18738 wxString result;
18739 PyObject * obj0 = 0 ;
18740 char *kwnames[] = {
18741 (char *) "self", NULL
18742 };
18743
18744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18746 if (SWIG_arg_fail(1)) SWIG_fail;
18747 {
18748 PyThreadState* __tstate = wxPyBeginAllowThreads();
18749 result = (arg1)->GetLabel();
18750
18751 wxPyEndAllowThreads(__tstate);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 }
18754 {
18755 #if wxUSE_UNICODE
18756 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18757 #else
18758 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18759 #endif
18760 }
18761 return resultobj;
18762 fail:
18763 return NULL;
18764 }
18765
18766
18767 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18768 PyObject *resultobj;
18769 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18770 wxString result;
18771 PyObject * obj0 = 0 ;
18772 char *kwnames[] = {
18773 (char *) "self", NULL
18774 };
18775
18776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18778 if (SWIG_arg_fail(1)) SWIG_fail;
18779 {
18780 PyThreadState* __tstate = wxPyBeginAllowThreads();
18781 result = (arg1)->GetShortHelp();
18782
18783 wxPyEndAllowThreads(__tstate);
18784 if (PyErr_Occurred()) SWIG_fail;
18785 }
18786 {
18787 #if wxUSE_UNICODE
18788 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18789 #else
18790 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18791 #endif
18792 }
18793 return resultobj;
18794 fail:
18795 return NULL;
18796 }
18797
18798
18799 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18800 PyObject *resultobj;
18801 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18802 wxString result;
18803 PyObject * obj0 = 0 ;
18804 char *kwnames[] = {
18805 (char *) "self", NULL
18806 };
18807
18808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18810 if (SWIG_arg_fail(1)) SWIG_fail;
18811 {
18812 PyThreadState* __tstate = wxPyBeginAllowThreads();
18813 result = (arg1)->GetLongHelp();
18814
18815 wxPyEndAllowThreads(__tstate);
18816 if (PyErr_Occurred()) SWIG_fail;
18817 }
18818 {
18819 #if wxUSE_UNICODE
18820 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18821 #else
18822 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18823 #endif
18824 }
18825 return resultobj;
18826 fail:
18827 return NULL;
18828 }
18829
18830
18831 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18832 PyObject *resultobj;
18833 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18834 bool arg2 ;
18835 bool result;
18836 PyObject * obj0 = 0 ;
18837 PyObject * obj1 = 0 ;
18838 char *kwnames[] = {
18839 (char *) "self",(char *) "enable", NULL
18840 };
18841
18842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
18843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18844 if (SWIG_arg_fail(1)) SWIG_fail;
18845 {
18846 arg2 = (bool)(SWIG_As_bool(obj1));
18847 if (SWIG_arg_fail(2)) SWIG_fail;
18848 }
18849 {
18850 PyThreadState* __tstate = wxPyBeginAllowThreads();
18851 result = (bool)(arg1)->Enable(arg2);
18852
18853 wxPyEndAllowThreads(__tstate);
18854 if (PyErr_Occurred()) SWIG_fail;
18855 }
18856 {
18857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18858 }
18859 return resultobj;
18860 fail:
18861 return NULL;
18862 }
18863
18864
18865 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
18866 PyObject *resultobj;
18867 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18868 PyObject * obj0 = 0 ;
18869 char *kwnames[] = {
18870 (char *) "self", NULL
18871 };
18872
18873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
18874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18875 if (SWIG_arg_fail(1)) SWIG_fail;
18876 {
18877 PyThreadState* __tstate = wxPyBeginAllowThreads();
18878 (arg1)->Toggle();
18879
18880 wxPyEndAllowThreads(__tstate);
18881 if (PyErr_Occurred()) SWIG_fail;
18882 }
18883 Py_INCREF(Py_None); resultobj = Py_None;
18884 return resultobj;
18885 fail:
18886 return NULL;
18887 }
18888
18889
18890 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
18891 PyObject *resultobj;
18892 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18893 bool arg2 ;
18894 bool result;
18895 PyObject * obj0 = 0 ;
18896 PyObject * obj1 = 0 ;
18897 char *kwnames[] = {
18898 (char *) "self",(char *) "toggle", NULL
18899 };
18900
18901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
18902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18903 if (SWIG_arg_fail(1)) SWIG_fail;
18904 {
18905 arg2 = (bool)(SWIG_As_bool(obj1));
18906 if (SWIG_arg_fail(2)) SWIG_fail;
18907 }
18908 {
18909 PyThreadState* __tstate = wxPyBeginAllowThreads();
18910 result = (bool)(arg1)->SetToggle(arg2);
18911
18912 wxPyEndAllowThreads(__tstate);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
18915 {
18916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18917 }
18918 return resultobj;
18919 fail:
18920 return NULL;
18921 }
18922
18923
18924 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18925 PyObject *resultobj;
18926 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18927 wxString *arg2 = 0 ;
18928 bool result;
18929 bool temp2 = false ;
18930 PyObject * obj0 = 0 ;
18931 PyObject * obj1 = 0 ;
18932 char *kwnames[] = {
18933 (char *) "self",(char *) "help", NULL
18934 };
18935
18936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
18937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18938 if (SWIG_arg_fail(1)) SWIG_fail;
18939 {
18940 arg2 = wxString_in_helper(obj1);
18941 if (arg2 == NULL) SWIG_fail;
18942 temp2 = true;
18943 }
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 {
18952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18953 }
18954 {
18955 if (temp2)
18956 delete arg2;
18957 }
18958 return resultobj;
18959 fail:
18960 {
18961 if (temp2)
18962 delete arg2;
18963 }
18964 return NULL;
18965 }
18966
18967
18968 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18969 PyObject *resultobj;
18970 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18971 wxString *arg2 = 0 ;
18972 bool result;
18973 bool temp2 = false ;
18974 PyObject * obj0 = 0 ;
18975 PyObject * obj1 = 0 ;
18976 char *kwnames[] = {
18977 (char *) "self",(char *) "help", NULL
18978 };
18979
18980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
18981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18982 if (SWIG_arg_fail(1)) SWIG_fail;
18983 {
18984 arg2 = wxString_in_helper(obj1);
18985 if (arg2 == NULL) SWIG_fail;
18986 temp2 = true;
18987 }
18988 {
18989 PyThreadState* __tstate = wxPyBeginAllowThreads();
18990 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
18991
18992 wxPyEndAllowThreads(__tstate);
18993 if (PyErr_Occurred()) SWIG_fail;
18994 }
18995 {
18996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18997 }
18998 {
18999 if (temp2)
19000 delete arg2;
19001 }
19002 return resultobj;
19003 fail:
19004 {
19005 if (temp2)
19006 delete arg2;
19007 }
19008 return NULL;
19009 }
19010
19011
19012 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19013 PyObject *resultobj;
19014 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19015 wxBitmap *arg2 = 0 ;
19016 PyObject * obj0 = 0 ;
19017 PyObject * obj1 = 0 ;
19018 char *kwnames[] = {
19019 (char *) "self",(char *) "bmp", NULL
19020 };
19021
19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
19023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19024 if (SWIG_arg_fail(1)) SWIG_fail;
19025 {
19026 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19027 if (SWIG_arg_fail(2)) SWIG_fail;
19028 if (arg2 == NULL) {
19029 SWIG_null_ref("wxBitmap");
19030 }
19031 if (SWIG_arg_fail(2)) SWIG_fail;
19032 }
19033 {
19034 PyThreadState* __tstate = wxPyBeginAllowThreads();
19035 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19036
19037 wxPyEndAllowThreads(__tstate);
19038 if (PyErr_Occurred()) SWIG_fail;
19039 }
19040 Py_INCREF(Py_None); resultobj = Py_None;
19041 return resultobj;
19042 fail:
19043 return NULL;
19044 }
19045
19046
19047 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19048 PyObject *resultobj;
19049 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19050 wxBitmap *arg2 = 0 ;
19051 PyObject * obj0 = 0 ;
19052 PyObject * obj1 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self",(char *) "bmp", NULL
19055 };
19056
19057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19062 if (SWIG_arg_fail(2)) SWIG_fail;
19063 if (arg2 == NULL) {
19064 SWIG_null_ref("wxBitmap");
19065 }
19066 if (SWIG_arg_fail(2)) SWIG_fail;
19067 }
19068 {
19069 PyThreadState* __tstate = wxPyBeginAllowThreads();
19070 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19071
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 Py_INCREF(Py_None); resultobj = Py_None;
19076 return resultobj;
19077 fail:
19078 return NULL;
19079 }
19080
19081
19082 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj;
19084 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19085 wxString *arg2 = 0 ;
19086 bool temp2 = false ;
19087 PyObject * obj0 = 0 ;
19088 PyObject * obj1 = 0 ;
19089 char *kwnames[] = {
19090 (char *) "self",(char *) "label", NULL
19091 };
19092
19093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19095 if (SWIG_arg_fail(1)) SWIG_fail;
19096 {
19097 arg2 = wxString_in_helper(obj1);
19098 if (arg2 == NULL) SWIG_fail;
19099 temp2 = true;
19100 }
19101 {
19102 PyThreadState* __tstate = wxPyBeginAllowThreads();
19103 (arg1)->SetLabel((wxString const &)*arg2);
19104
19105 wxPyEndAllowThreads(__tstate);
19106 if (PyErr_Occurred()) SWIG_fail;
19107 }
19108 Py_INCREF(Py_None); resultobj = Py_None;
19109 {
19110 if (temp2)
19111 delete arg2;
19112 }
19113 return resultobj;
19114 fail:
19115 {
19116 if (temp2)
19117 delete arg2;
19118 }
19119 return NULL;
19120 }
19121
19122
19123 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19124 PyObject *resultobj;
19125 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19126 PyObject * obj0 = 0 ;
19127 char *kwnames[] = {
19128 (char *) "self", NULL
19129 };
19130
19131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19133 if (SWIG_arg_fail(1)) SWIG_fail;
19134 {
19135 PyThreadState* __tstate = wxPyBeginAllowThreads();
19136 (arg1)->Detach();
19137
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
19141 Py_INCREF(Py_None); resultobj = Py_None;
19142 return resultobj;
19143 fail:
19144 return NULL;
19145 }
19146
19147
19148 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19149 PyObject *resultobj;
19150 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19151 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19152 PyObject * obj0 = 0 ;
19153 PyObject * obj1 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "self",(char *) "tbar", NULL
19156 };
19157
19158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19160 if (SWIG_arg_fail(1)) SWIG_fail;
19161 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19162 if (SWIG_arg_fail(2)) SWIG_fail;
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 (arg1)->Attach(arg2);
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
19170 Py_INCREF(Py_None); resultobj = Py_None;
19171 return resultobj;
19172 fail:
19173 return NULL;
19174 }
19175
19176
19177 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19178 PyObject *resultobj;
19179 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19180 PyObject *result;
19181 PyObject * obj0 = 0 ;
19182 char *kwnames[] = {
19183 (char *) "self", NULL
19184 };
19185
19186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19188 if (SWIG_arg_fail(1)) SWIG_fail;
19189 {
19190 PyThreadState* __tstate = wxPyBeginAllowThreads();
19191 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19192
19193 wxPyEndAllowThreads(__tstate);
19194 if (PyErr_Occurred()) SWIG_fail;
19195 }
19196 resultobj = result;
19197 return resultobj;
19198 fail:
19199 return NULL;
19200 }
19201
19202
19203 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj;
19205 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19206 PyObject *arg2 = (PyObject *) 0 ;
19207 PyObject * obj0 = 0 ;
19208 PyObject * obj1 = 0 ;
19209 char *kwnames[] = {
19210 (char *) "self",(char *) "clientData", NULL
19211 };
19212
19213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19215 if (SWIG_arg_fail(1)) SWIG_fail;
19216 arg2 = obj1;
19217 {
19218 PyThreadState* __tstate = wxPyBeginAllowThreads();
19219 wxToolBarToolBase_SetClientData(arg1,arg2);
19220
19221 wxPyEndAllowThreads(__tstate);
19222 if (PyErr_Occurred()) SWIG_fail;
19223 }
19224 Py_INCREF(Py_None); resultobj = Py_None;
19225 return resultobj;
19226 fail:
19227 return NULL;
19228 }
19229
19230
19231 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19232 PyObject *obj;
19233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19234 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19235 Py_INCREF(obj);
19236 return Py_BuildValue((char *)"");
19237 }
19238 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19239 PyObject *resultobj;
19240 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19241 int arg2 ;
19242 wxString *arg3 = 0 ;
19243 wxBitmap *arg4 = 0 ;
19244 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19245 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19246 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19247 wxString const &arg7_defvalue = wxPyEmptyString ;
19248 wxString *arg7 = (wxString *) &arg7_defvalue ;
19249 wxString const &arg8_defvalue = wxPyEmptyString ;
19250 wxString *arg8 = (wxString *) &arg8_defvalue ;
19251 PyObject *arg9 = (PyObject *) NULL ;
19252 wxToolBarToolBase *result;
19253 bool temp3 = false ;
19254 bool temp7 = false ;
19255 bool temp8 = false ;
19256 PyObject * obj0 = 0 ;
19257 PyObject * obj1 = 0 ;
19258 PyObject * obj2 = 0 ;
19259 PyObject * obj3 = 0 ;
19260 PyObject * obj4 = 0 ;
19261 PyObject * obj5 = 0 ;
19262 PyObject * obj6 = 0 ;
19263 PyObject * obj7 = 0 ;
19264 PyObject * obj8 = 0 ;
19265 char *kwnames[] = {
19266 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19267 };
19268
19269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19271 if (SWIG_arg_fail(1)) SWIG_fail;
19272 {
19273 arg2 = (int)(SWIG_As_int(obj1));
19274 if (SWIG_arg_fail(2)) SWIG_fail;
19275 }
19276 {
19277 arg3 = wxString_in_helper(obj2);
19278 if (arg3 == NULL) SWIG_fail;
19279 temp3 = true;
19280 }
19281 {
19282 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19283 if (SWIG_arg_fail(4)) SWIG_fail;
19284 if (arg4 == NULL) {
19285 SWIG_null_ref("wxBitmap");
19286 }
19287 if (SWIG_arg_fail(4)) SWIG_fail;
19288 }
19289 if (obj4) {
19290 {
19291 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19292 if (SWIG_arg_fail(5)) SWIG_fail;
19293 if (arg5 == NULL) {
19294 SWIG_null_ref("wxBitmap");
19295 }
19296 if (SWIG_arg_fail(5)) SWIG_fail;
19297 }
19298 }
19299 if (obj5) {
19300 {
19301 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19302 if (SWIG_arg_fail(6)) SWIG_fail;
19303 }
19304 }
19305 if (obj6) {
19306 {
19307 arg7 = wxString_in_helper(obj6);
19308 if (arg7 == NULL) SWIG_fail;
19309 temp7 = true;
19310 }
19311 }
19312 if (obj7) {
19313 {
19314 arg8 = wxString_in_helper(obj7);
19315 if (arg8 == NULL) SWIG_fail;
19316 temp8 = true;
19317 }
19318 }
19319 if (obj8) {
19320 arg9 = obj8;
19321 }
19322 {
19323 PyThreadState* __tstate = wxPyBeginAllowThreads();
19324 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19325
19326 wxPyEndAllowThreads(__tstate);
19327 if (PyErr_Occurred()) SWIG_fail;
19328 }
19329 {
19330 resultobj = wxPyMake_wxObject(result, 0);
19331 }
19332 {
19333 if (temp3)
19334 delete arg3;
19335 }
19336 {
19337 if (temp7)
19338 delete arg7;
19339 }
19340 {
19341 if (temp8)
19342 delete arg8;
19343 }
19344 return resultobj;
19345 fail:
19346 {
19347 if (temp3)
19348 delete arg3;
19349 }
19350 {
19351 if (temp7)
19352 delete arg7;
19353 }
19354 {
19355 if (temp8)
19356 delete arg8;
19357 }
19358 return NULL;
19359 }
19360
19361
19362 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19363 PyObject *resultobj;
19364 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19365 size_t arg2 ;
19366 int arg3 ;
19367 wxString *arg4 = 0 ;
19368 wxBitmap *arg5 = 0 ;
19369 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19370 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19371 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19372 wxString const &arg8_defvalue = wxPyEmptyString ;
19373 wxString *arg8 = (wxString *) &arg8_defvalue ;
19374 wxString const &arg9_defvalue = wxPyEmptyString ;
19375 wxString *arg9 = (wxString *) &arg9_defvalue ;
19376 PyObject *arg10 = (PyObject *) NULL ;
19377 wxToolBarToolBase *result;
19378 bool temp4 = false ;
19379 bool temp8 = false ;
19380 bool temp9 = false ;
19381 PyObject * obj0 = 0 ;
19382 PyObject * obj1 = 0 ;
19383 PyObject * obj2 = 0 ;
19384 PyObject * obj3 = 0 ;
19385 PyObject * obj4 = 0 ;
19386 PyObject * obj5 = 0 ;
19387 PyObject * obj6 = 0 ;
19388 PyObject * obj7 = 0 ;
19389 PyObject * obj8 = 0 ;
19390 PyObject * obj9 = 0 ;
19391 char *kwnames[] = {
19392 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19393 };
19394
19395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19397 if (SWIG_arg_fail(1)) SWIG_fail;
19398 {
19399 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19400 if (SWIG_arg_fail(2)) SWIG_fail;
19401 }
19402 {
19403 arg3 = (int)(SWIG_As_int(obj2));
19404 if (SWIG_arg_fail(3)) SWIG_fail;
19405 }
19406 {
19407 arg4 = wxString_in_helper(obj3);
19408 if (arg4 == NULL) SWIG_fail;
19409 temp4 = true;
19410 }
19411 {
19412 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19413 if (SWIG_arg_fail(5)) SWIG_fail;
19414 if (arg5 == NULL) {
19415 SWIG_null_ref("wxBitmap");
19416 }
19417 if (SWIG_arg_fail(5)) SWIG_fail;
19418 }
19419 if (obj5) {
19420 {
19421 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19422 if (SWIG_arg_fail(6)) SWIG_fail;
19423 if (arg6 == NULL) {
19424 SWIG_null_ref("wxBitmap");
19425 }
19426 if (SWIG_arg_fail(6)) SWIG_fail;
19427 }
19428 }
19429 if (obj6) {
19430 {
19431 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19432 if (SWIG_arg_fail(7)) SWIG_fail;
19433 }
19434 }
19435 if (obj7) {
19436 {
19437 arg8 = wxString_in_helper(obj7);
19438 if (arg8 == NULL) SWIG_fail;
19439 temp8 = true;
19440 }
19441 }
19442 if (obj8) {
19443 {
19444 arg9 = wxString_in_helper(obj8);
19445 if (arg9 == NULL) SWIG_fail;
19446 temp9 = true;
19447 }
19448 }
19449 if (obj9) {
19450 arg10 = obj9;
19451 }
19452 {
19453 PyThreadState* __tstate = wxPyBeginAllowThreads();
19454 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);
19455
19456 wxPyEndAllowThreads(__tstate);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
19459 {
19460 resultobj = wxPyMake_wxObject(result, 0);
19461 }
19462 {
19463 if (temp4)
19464 delete arg4;
19465 }
19466 {
19467 if (temp8)
19468 delete arg8;
19469 }
19470 {
19471 if (temp9)
19472 delete arg9;
19473 }
19474 return resultobj;
19475 fail:
19476 {
19477 if (temp4)
19478 delete arg4;
19479 }
19480 {
19481 if (temp8)
19482 delete arg8;
19483 }
19484 {
19485 if (temp9)
19486 delete arg9;
19487 }
19488 return NULL;
19489 }
19490
19491
19492 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19493 PyObject *resultobj;
19494 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19495 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19496 wxToolBarToolBase *result;
19497 PyObject * obj0 = 0 ;
19498 PyObject * obj1 = 0 ;
19499 char *kwnames[] = {
19500 (char *) "self",(char *) "tool", NULL
19501 };
19502
19503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19505 if (SWIG_arg_fail(1)) SWIG_fail;
19506 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19507 if (SWIG_arg_fail(2)) SWIG_fail;
19508 {
19509 PyThreadState* __tstate = wxPyBeginAllowThreads();
19510 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19511
19512 wxPyEndAllowThreads(__tstate);
19513 if (PyErr_Occurred()) SWIG_fail;
19514 }
19515 {
19516 resultobj = wxPyMake_wxObject(result, 0);
19517 }
19518 return resultobj;
19519 fail:
19520 return NULL;
19521 }
19522
19523
19524 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19525 PyObject *resultobj;
19526 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19527 size_t arg2 ;
19528 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19529 wxToolBarToolBase *result;
19530 PyObject * obj0 = 0 ;
19531 PyObject * obj1 = 0 ;
19532 PyObject * obj2 = 0 ;
19533 char *kwnames[] = {
19534 (char *) "self",(char *) "pos",(char *) "tool", NULL
19535 };
19536
19537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19539 if (SWIG_arg_fail(1)) SWIG_fail;
19540 {
19541 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19542 if (SWIG_arg_fail(2)) SWIG_fail;
19543 }
19544 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19545 if (SWIG_arg_fail(3)) SWIG_fail;
19546 {
19547 PyThreadState* __tstate = wxPyBeginAllowThreads();
19548 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19549
19550 wxPyEndAllowThreads(__tstate);
19551 if (PyErr_Occurred()) SWIG_fail;
19552 }
19553 {
19554 resultobj = wxPyMake_wxObject(result, 0);
19555 }
19556 return resultobj;
19557 fail:
19558 return NULL;
19559 }
19560
19561
19562 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19563 PyObject *resultobj;
19564 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19565 wxControl *arg2 = (wxControl *) 0 ;
19566 wxToolBarToolBase *result;
19567 PyObject * obj0 = 0 ;
19568 PyObject * obj1 = 0 ;
19569 char *kwnames[] = {
19570 (char *) "self",(char *) "control", NULL
19571 };
19572
19573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19575 if (SWIG_arg_fail(1)) SWIG_fail;
19576 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19577 if (SWIG_arg_fail(2)) SWIG_fail;
19578 {
19579 PyThreadState* __tstate = wxPyBeginAllowThreads();
19580 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19581
19582 wxPyEndAllowThreads(__tstate);
19583 if (PyErr_Occurred()) SWIG_fail;
19584 }
19585 {
19586 resultobj = wxPyMake_wxObject(result, 0);
19587 }
19588 return resultobj;
19589 fail:
19590 return NULL;
19591 }
19592
19593
19594 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj;
19596 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19597 size_t arg2 ;
19598 wxControl *arg3 = (wxControl *) 0 ;
19599 wxToolBarToolBase *result;
19600 PyObject * obj0 = 0 ;
19601 PyObject * obj1 = 0 ;
19602 PyObject * obj2 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self",(char *) "pos",(char *) "control", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19609 if (SWIG_arg_fail(1)) SWIG_fail;
19610 {
19611 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19612 if (SWIG_arg_fail(2)) SWIG_fail;
19613 }
19614 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19615 if (SWIG_arg_fail(3)) SWIG_fail;
19616 {
19617 PyThreadState* __tstate = wxPyBeginAllowThreads();
19618 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19619
19620 wxPyEndAllowThreads(__tstate);
19621 if (PyErr_Occurred()) SWIG_fail;
19622 }
19623 {
19624 resultobj = wxPyMake_wxObject(result, 0);
19625 }
19626 return resultobj;
19627 fail:
19628 return NULL;
19629 }
19630
19631
19632 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19633 PyObject *resultobj;
19634 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19635 int arg2 ;
19636 wxControl *result;
19637 PyObject * obj0 = 0 ;
19638 PyObject * obj1 = 0 ;
19639 char *kwnames[] = {
19640 (char *) "self",(char *) "id", NULL
19641 };
19642
19643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19645 if (SWIG_arg_fail(1)) SWIG_fail;
19646 {
19647 arg2 = (int)(SWIG_As_int(obj1));
19648 if (SWIG_arg_fail(2)) SWIG_fail;
19649 }
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 result = (wxControl *)(arg1)->FindControl(arg2);
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 {
19658 resultobj = wxPyMake_wxObject(result, 0);
19659 }
19660 return resultobj;
19661 fail:
19662 return NULL;
19663 }
19664
19665
19666 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19667 PyObject *resultobj;
19668 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19669 wxToolBarToolBase *result;
19670 PyObject * obj0 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19677 if (SWIG_arg_fail(1)) SWIG_fail;
19678 {
19679 PyThreadState* __tstate = wxPyBeginAllowThreads();
19680 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19681
19682 wxPyEndAllowThreads(__tstate);
19683 if (PyErr_Occurred()) SWIG_fail;
19684 }
19685 {
19686 resultobj = wxPyMake_wxObject(result, 0);
19687 }
19688 return resultobj;
19689 fail:
19690 return NULL;
19691 }
19692
19693
19694 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19695 PyObject *resultobj;
19696 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19697 size_t arg2 ;
19698 wxToolBarToolBase *result;
19699 PyObject * obj0 = 0 ;
19700 PyObject * obj1 = 0 ;
19701 char *kwnames[] = {
19702 (char *) "self",(char *) "pos", NULL
19703 };
19704
19705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19707 if (SWIG_arg_fail(1)) SWIG_fail;
19708 {
19709 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19710 if (SWIG_arg_fail(2)) SWIG_fail;
19711 }
19712 {
19713 PyThreadState* __tstate = wxPyBeginAllowThreads();
19714 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19715
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 {
19720 resultobj = wxPyMake_wxObject(result, 0);
19721 }
19722 return resultobj;
19723 fail:
19724 return NULL;
19725 }
19726
19727
19728 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19729 PyObject *resultobj;
19730 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19731 int arg2 ;
19732 wxToolBarToolBase *result;
19733 PyObject * obj0 = 0 ;
19734 PyObject * obj1 = 0 ;
19735 char *kwnames[] = {
19736 (char *) "self",(char *) "id", NULL
19737 };
19738
19739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19741 if (SWIG_arg_fail(1)) SWIG_fail;
19742 {
19743 arg2 = (int)(SWIG_As_int(obj1));
19744 if (SWIG_arg_fail(2)) SWIG_fail;
19745 }
19746 {
19747 PyThreadState* __tstate = wxPyBeginAllowThreads();
19748 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19749
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 {
19754 resultobj = wxPyMake_wxObject(result, 0);
19755 }
19756 return resultobj;
19757 fail:
19758 return NULL;
19759 }
19760
19761
19762 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19763 PyObject *resultobj;
19764 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19765 size_t arg2 ;
19766 bool result;
19767 PyObject * obj0 = 0 ;
19768 PyObject * obj1 = 0 ;
19769 char *kwnames[] = {
19770 (char *) "self",(char *) "pos", NULL
19771 };
19772
19773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19775 if (SWIG_arg_fail(1)) SWIG_fail;
19776 {
19777 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19778 if (SWIG_arg_fail(2)) SWIG_fail;
19779 }
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 result = (bool)(arg1)->DeleteToolByPos(arg2);
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 {
19788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19789 }
19790 return resultobj;
19791 fail:
19792 return NULL;
19793 }
19794
19795
19796 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19797 PyObject *resultobj;
19798 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19799 int arg2 ;
19800 bool result;
19801 PyObject * obj0 = 0 ;
19802 PyObject * obj1 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self",(char *) "id", NULL
19805 };
19806
19807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19809 if (SWIG_arg_fail(1)) SWIG_fail;
19810 {
19811 arg2 = (int)(SWIG_As_int(obj1));
19812 if (SWIG_arg_fail(2)) SWIG_fail;
19813 }
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 result = (bool)(arg1)->DeleteTool(arg2);
19817
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 {
19822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19823 }
19824 return resultobj;
19825 fail:
19826 return NULL;
19827 }
19828
19829
19830 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj;
19832 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19833 PyObject * obj0 = 0 ;
19834 char *kwnames[] = {
19835 (char *) "self", NULL
19836 };
19837
19838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
19839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19840 if (SWIG_arg_fail(1)) SWIG_fail;
19841 {
19842 PyThreadState* __tstate = wxPyBeginAllowThreads();
19843 (arg1)->ClearTools();
19844
19845 wxPyEndAllowThreads(__tstate);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 }
19848 Py_INCREF(Py_None); resultobj = Py_None;
19849 return resultobj;
19850 fail:
19851 return NULL;
19852 }
19853
19854
19855 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19856 PyObject *resultobj;
19857 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19858 bool result;
19859 PyObject * obj0 = 0 ;
19860 char *kwnames[] = {
19861 (char *) "self", NULL
19862 };
19863
19864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
19865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19866 if (SWIG_arg_fail(1)) SWIG_fail;
19867 {
19868 PyThreadState* __tstate = wxPyBeginAllowThreads();
19869 result = (bool)(arg1)->Realize();
19870
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 {
19875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19876 }
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19886 int arg2 ;
19887 bool arg3 ;
19888 PyObject * obj0 = 0 ;
19889 PyObject * obj1 = 0 ;
19890 PyObject * obj2 = 0 ;
19891 char *kwnames[] = {
19892 (char *) "self",(char *) "id",(char *) "enable", NULL
19893 };
19894
19895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail;
19898 {
19899 arg2 = (int)(SWIG_As_int(obj1));
19900 if (SWIG_arg_fail(2)) SWIG_fail;
19901 }
19902 {
19903 arg3 = (bool)(SWIG_As_bool(obj2));
19904 if (SWIG_arg_fail(3)) SWIG_fail;
19905 }
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 (arg1)->EnableTool(arg2,arg3);
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 Py_INCREF(Py_None); resultobj = Py_None;
19914 return resultobj;
19915 fail:
19916 return NULL;
19917 }
19918
19919
19920 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj;
19922 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19923 int arg2 ;
19924 bool arg3 ;
19925 PyObject * obj0 = 0 ;
19926 PyObject * obj1 = 0 ;
19927 PyObject * obj2 = 0 ;
19928 char *kwnames[] = {
19929 (char *) "self",(char *) "id",(char *) "toggle", NULL
19930 };
19931
19932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19934 if (SWIG_arg_fail(1)) SWIG_fail;
19935 {
19936 arg2 = (int)(SWIG_As_int(obj1));
19937 if (SWIG_arg_fail(2)) SWIG_fail;
19938 }
19939 {
19940 arg3 = (bool)(SWIG_As_bool(obj2));
19941 if (SWIG_arg_fail(3)) SWIG_fail;
19942 }
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 (arg1)->ToggleTool(arg2,arg3);
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 Py_INCREF(Py_None); resultobj = Py_None;
19951 return resultobj;
19952 fail:
19953 return NULL;
19954 }
19955
19956
19957 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
19958 PyObject *resultobj;
19959 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19960 int arg2 ;
19961 bool arg3 ;
19962 PyObject * obj0 = 0 ;
19963 PyObject * obj1 = 0 ;
19964 PyObject * obj2 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self",(char *) "id",(char *) "toggle", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
19970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19971 if (SWIG_arg_fail(1)) SWIG_fail;
19972 {
19973 arg2 = (int)(SWIG_As_int(obj1));
19974 if (SWIG_arg_fail(2)) SWIG_fail;
19975 }
19976 {
19977 arg3 = (bool)(SWIG_As_bool(obj2));
19978 if (SWIG_arg_fail(3)) SWIG_fail;
19979 }
19980 {
19981 PyThreadState* __tstate = wxPyBeginAllowThreads();
19982 (arg1)->SetToggle(arg2,arg3);
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
19987 Py_INCREF(Py_None); resultobj = Py_None;
19988 return resultobj;
19989 fail:
19990 return NULL;
19991 }
19992
19993
19994 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19995 PyObject *resultobj;
19996 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19997 int arg2 ;
19998 PyObject *result;
19999 PyObject * obj0 = 0 ;
20000 PyObject * obj1 = 0 ;
20001 char *kwnames[] = {
20002 (char *) "self",(char *) "id", NULL
20003 };
20004
20005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
20006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20007 if (SWIG_arg_fail(1)) SWIG_fail;
20008 {
20009 arg2 = (int)(SWIG_As_int(obj1));
20010 if (SWIG_arg_fail(2)) SWIG_fail;
20011 }
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20015
20016 wxPyEndAllowThreads(__tstate);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 resultobj = result;
20020 return resultobj;
20021 fail:
20022 return NULL;
20023 }
20024
20025
20026 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20027 PyObject *resultobj;
20028 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20029 int arg2 ;
20030 PyObject *arg3 = (PyObject *) 0 ;
20031 PyObject * obj0 = 0 ;
20032 PyObject * obj1 = 0 ;
20033 PyObject * obj2 = 0 ;
20034 char *kwnames[] = {
20035 (char *) "self",(char *) "id",(char *) "clientData", NULL
20036 };
20037
20038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20040 if (SWIG_arg_fail(1)) SWIG_fail;
20041 {
20042 arg2 = (int)(SWIG_As_int(obj1));
20043 if (SWIG_arg_fail(2)) SWIG_fail;
20044 }
20045 arg3 = obj2;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 Py_INCREF(Py_None); resultobj = Py_None;
20054 return resultobj;
20055 fail:
20056 return NULL;
20057 }
20058
20059
20060 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
20061 PyObject *resultobj;
20062 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20063 int arg2 ;
20064 int result;
20065 PyObject * obj0 = 0 ;
20066 PyObject * obj1 = 0 ;
20067 char *kwnames[] = {
20068 (char *) "self",(char *) "id", NULL
20069 };
20070
20071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
20072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20073 if (SWIG_arg_fail(1)) SWIG_fail;
20074 {
20075 arg2 = (int)(SWIG_As_int(obj1));
20076 if (SWIG_arg_fail(2)) SWIG_fail;
20077 }
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 {
20086 resultobj = SWIG_From_int((int)(result));
20087 }
20088 return resultobj;
20089 fail:
20090 return NULL;
20091 }
20092
20093
20094 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20097 int arg2 ;
20098 bool result;
20099 PyObject * obj0 = 0 ;
20100 PyObject * obj1 = 0 ;
20101 char *kwnames[] = {
20102 (char *) "self",(char *) "id", NULL
20103 };
20104
20105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20107 if (SWIG_arg_fail(1)) SWIG_fail;
20108 {
20109 arg2 = (int)(SWIG_As_int(obj1));
20110 if (SWIG_arg_fail(2)) SWIG_fail;
20111 }
20112 {
20113 PyThreadState* __tstate = wxPyBeginAllowThreads();
20114 result = (bool)(arg1)->GetToolState(arg2);
20115
20116 wxPyEndAllowThreads(__tstate);
20117 if (PyErr_Occurred()) SWIG_fail;
20118 }
20119 {
20120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20121 }
20122 return resultobj;
20123 fail:
20124 return NULL;
20125 }
20126
20127
20128 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20129 PyObject *resultobj;
20130 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20131 int arg2 ;
20132 bool result;
20133 PyObject * obj0 = 0 ;
20134 PyObject * obj1 = 0 ;
20135 char *kwnames[] = {
20136 (char *) "self",(char *) "id", NULL
20137 };
20138
20139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20141 if (SWIG_arg_fail(1)) SWIG_fail;
20142 {
20143 arg2 = (int)(SWIG_As_int(obj1));
20144 if (SWIG_arg_fail(2)) SWIG_fail;
20145 }
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 result = (bool)(arg1)->GetToolEnabled(arg2);
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 {
20154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20155 }
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20163 PyObject *resultobj;
20164 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20165 int arg2 ;
20166 wxString *arg3 = 0 ;
20167 bool temp3 = false ;
20168 PyObject * obj0 = 0 ;
20169 PyObject * obj1 = 0 ;
20170 PyObject * obj2 = 0 ;
20171 char *kwnames[] = {
20172 (char *) "self",(char *) "id",(char *) "helpString", NULL
20173 };
20174
20175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20177 if (SWIG_arg_fail(1)) SWIG_fail;
20178 {
20179 arg2 = (int)(SWIG_As_int(obj1));
20180 if (SWIG_arg_fail(2)) SWIG_fail;
20181 }
20182 {
20183 arg3 = wxString_in_helper(obj2);
20184 if (arg3 == NULL) SWIG_fail;
20185 temp3 = true;
20186 }
20187 {
20188 PyThreadState* __tstate = wxPyBeginAllowThreads();
20189 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20190
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
20194 Py_INCREF(Py_None); resultobj = Py_None;
20195 {
20196 if (temp3)
20197 delete arg3;
20198 }
20199 return resultobj;
20200 fail:
20201 {
20202 if (temp3)
20203 delete arg3;
20204 }
20205 return NULL;
20206 }
20207
20208
20209 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20210 PyObject *resultobj;
20211 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20212 int arg2 ;
20213 wxString result;
20214 PyObject * obj0 = 0 ;
20215 PyObject * obj1 = 0 ;
20216 char *kwnames[] = {
20217 (char *) "self",(char *) "id", NULL
20218 };
20219
20220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20222 if (SWIG_arg_fail(1)) SWIG_fail;
20223 {
20224 arg2 = (int)(SWIG_As_int(obj1));
20225 if (SWIG_arg_fail(2)) SWIG_fail;
20226 }
20227 {
20228 PyThreadState* __tstate = wxPyBeginAllowThreads();
20229 result = (arg1)->GetToolShortHelp(arg2);
20230
20231 wxPyEndAllowThreads(__tstate);
20232 if (PyErr_Occurred()) SWIG_fail;
20233 }
20234 {
20235 #if wxUSE_UNICODE
20236 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20237 #else
20238 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20239 #endif
20240 }
20241 return resultobj;
20242 fail:
20243 return NULL;
20244 }
20245
20246
20247 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20248 PyObject *resultobj;
20249 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20250 int arg2 ;
20251 wxString *arg3 = 0 ;
20252 bool temp3 = false ;
20253 PyObject * obj0 = 0 ;
20254 PyObject * obj1 = 0 ;
20255 PyObject * obj2 = 0 ;
20256 char *kwnames[] = {
20257 (char *) "self",(char *) "id",(char *) "helpString", NULL
20258 };
20259
20260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20262 if (SWIG_arg_fail(1)) SWIG_fail;
20263 {
20264 arg2 = (int)(SWIG_As_int(obj1));
20265 if (SWIG_arg_fail(2)) SWIG_fail;
20266 }
20267 {
20268 arg3 = wxString_in_helper(obj2);
20269 if (arg3 == NULL) SWIG_fail;
20270 temp3 = true;
20271 }
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 Py_INCREF(Py_None); resultobj = Py_None;
20280 {
20281 if (temp3)
20282 delete arg3;
20283 }
20284 return resultobj;
20285 fail:
20286 {
20287 if (temp3)
20288 delete arg3;
20289 }
20290 return NULL;
20291 }
20292
20293
20294 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20295 PyObject *resultobj;
20296 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20297 int arg2 ;
20298 wxString result;
20299 PyObject * obj0 = 0 ;
20300 PyObject * obj1 = 0 ;
20301 char *kwnames[] = {
20302 (char *) "self",(char *) "id", NULL
20303 };
20304
20305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
20306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20307 if (SWIG_arg_fail(1)) SWIG_fail;
20308 {
20309 arg2 = (int)(SWIG_As_int(obj1));
20310 if (SWIG_arg_fail(2)) SWIG_fail;
20311 }
20312 {
20313 PyThreadState* __tstate = wxPyBeginAllowThreads();
20314 result = (arg1)->GetToolLongHelp(arg2);
20315
20316 wxPyEndAllowThreads(__tstate);
20317 if (PyErr_Occurred()) SWIG_fail;
20318 }
20319 {
20320 #if wxUSE_UNICODE
20321 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20322 #else
20323 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20324 #endif
20325 }
20326 return resultobj;
20327 fail:
20328 return NULL;
20329 }
20330
20331
20332 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20333 PyObject *resultobj;
20334 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20335 int arg2 ;
20336 int arg3 ;
20337 PyObject * obj0 = 0 ;
20338 PyObject * obj1 = 0 ;
20339 PyObject * obj2 = 0 ;
20340 char *kwnames[] = {
20341 (char *) "self",(char *) "x",(char *) "y", NULL
20342 };
20343
20344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20346 if (SWIG_arg_fail(1)) SWIG_fail;
20347 {
20348 arg2 = (int)(SWIG_As_int(obj1));
20349 if (SWIG_arg_fail(2)) SWIG_fail;
20350 }
20351 {
20352 arg3 = (int)(SWIG_As_int(obj2));
20353 if (SWIG_arg_fail(3)) SWIG_fail;
20354 }
20355 {
20356 PyThreadState* __tstate = wxPyBeginAllowThreads();
20357 (arg1)->SetMargins(arg2,arg3);
20358
20359 wxPyEndAllowThreads(__tstate);
20360 if (PyErr_Occurred()) SWIG_fail;
20361 }
20362 Py_INCREF(Py_None); resultobj = Py_None;
20363 return resultobj;
20364 fail:
20365 return NULL;
20366 }
20367
20368
20369 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20370 PyObject *resultobj;
20371 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20372 wxSize *arg2 = 0 ;
20373 wxSize temp2 ;
20374 PyObject * obj0 = 0 ;
20375 PyObject * obj1 = 0 ;
20376 char *kwnames[] = {
20377 (char *) "self",(char *) "size", NULL
20378 };
20379
20380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20382 if (SWIG_arg_fail(1)) SWIG_fail;
20383 {
20384 arg2 = &temp2;
20385 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20386 }
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 (arg1)->SetMargins((wxSize const &)*arg2);
20390
20391 wxPyEndAllowThreads(__tstate);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 Py_INCREF(Py_None); resultobj = Py_None;
20395 return resultobj;
20396 fail:
20397 return NULL;
20398 }
20399
20400
20401 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20402 PyObject *resultobj;
20403 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20404 int arg2 ;
20405 PyObject * obj0 = 0 ;
20406 PyObject * obj1 = 0 ;
20407 char *kwnames[] = {
20408 (char *) "self",(char *) "packing", NULL
20409 };
20410
20411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20413 if (SWIG_arg_fail(1)) SWIG_fail;
20414 {
20415 arg2 = (int)(SWIG_As_int(obj1));
20416 if (SWIG_arg_fail(2)) SWIG_fail;
20417 }
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 (arg1)->SetToolPacking(arg2);
20421
20422 wxPyEndAllowThreads(__tstate);
20423 if (PyErr_Occurred()) SWIG_fail;
20424 }
20425 Py_INCREF(Py_None); resultobj = Py_None;
20426 return resultobj;
20427 fail:
20428 return NULL;
20429 }
20430
20431
20432 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20433 PyObject *resultobj;
20434 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20435 int arg2 ;
20436 PyObject * obj0 = 0 ;
20437 PyObject * obj1 = 0 ;
20438 char *kwnames[] = {
20439 (char *) "self",(char *) "separation", NULL
20440 };
20441
20442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20444 if (SWIG_arg_fail(1)) SWIG_fail;
20445 {
20446 arg2 = (int)(SWIG_As_int(obj1));
20447 if (SWIG_arg_fail(2)) SWIG_fail;
20448 }
20449 {
20450 PyThreadState* __tstate = wxPyBeginAllowThreads();
20451 (arg1)->SetToolSeparation(arg2);
20452
20453 wxPyEndAllowThreads(__tstate);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 }
20456 Py_INCREF(Py_None); resultobj = Py_None;
20457 return resultobj;
20458 fail:
20459 return NULL;
20460 }
20461
20462
20463 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20464 PyObject *resultobj;
20465 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20466 wxSize result;
20467 PyObject * obj0 = 0 ;
20468 char *kwnames[] = {
20469 (char *) "self", NULL
20470 };
20471
20472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20474 if (SWIG_arg_fail(1)) SWIG_fail;
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 result = (arg1)->GetToolMargins();
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 {
20483 wxSize * resultptr;
20484 resultptr = new wxSize((wxSize &)(result));
20485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20486 }
20487 return resultobj;
20488 fail:
20489 return NULL;
20490 }
20491
20492
20493 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20494 PyObject *resultobj;
20495 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20496 wxSize result;
20497 PyObject * obj0 = 0 ;
20498 char *kwnames[] = {
20499 (char *) "self", NULL
20500 };
20501
20502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20504 if (SWIG_arg_fail(1)) SWIG_fail;
20505 {
20506 PyThreadState* __tstate = wxPyBeginAllowThreads();
20507 result = (arg1)->GetMargins();
20508
20509 wxPyEndAllowThreads(__tstate);
20510 if (PyErr_Occurred()) SWIG_fail;
20511 }
20512 {
20513 wxSize * resultptr;
20514 resultptr = new wxSize((wxSize &)(result));
20515 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20516 }
20517 return resultobj;
20518 fail:
20519 return NULL;
20520 }
20521
20522
20523 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20524 PyObject *resultobj;
20525 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20526 int result;
20527 PyObject * obj0 = 0 ;
20528 char *kwnames[] = {
20529 (char *) "self", NULL
20530 };
20531
20532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20534 if (SWIG_arg_fail(1)) SWIG_fail;
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 result = (int)(arg1)->GetToolPacking();
20538
20539 wxPyEndAllowThreads(__tstate);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 }
20542 {
20543 resultobj = SWIG_From_int((int)(result));
20544 }
20545 return resultobj;
20546 fail:
20547 return NULL;
20548 }
20549
20550
20551 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20552 PyObject *resultobj;
20553 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20554 int result;
20555 PyObject * obj0 = 0 ;
20556 char *kwnames[] = {
20557 (char *) "self", NULL
20558 };
20559
20560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20562 if (SWIG_arg_fail(1)) SWIG_fail;
20563 {
20564 PyThreadState* __tstate = wxPyBeginAllowThreads();
20565 result = (int)(arg1)->GetToolSeparation();
20566
20567 wxPyEndAllowThreads(__tstate);
20568 if (PyErr_Occurred()) SWIG_fail;
20569 }
20570 {
20571 resultobj = SWIG_From_int((int)(result));
20572 }
20573 return resultobj;
20574 fail:
20575 return NULL;
20576 }
20577
20578
20579 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20580 PyObject *resultobj;
20581 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20582 int arg2 ;
20583 PyObject * obj0 = 0 ;
20584 PyObject * obj1 = 0 ;
20585 char *kwnames[] = {
20586 (char *) "self",(char *) "nRows", NULL
20587 };
20588
20589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20591 if (SWIG_arg_fail(1)) SWIG_fail;
20592 {
20593 arg2 = (int)(SWIG_As_int(obj1));
20594 if (SWIG_arg_fail(2)) SWIG_fail;
20595 }
20596 {
20597 PyThreadState* __tstate = wxPyBeginAllowThreads();
20598 (arg1)->SetRows(arg2);
20599
20600 wxPyEndAllowThreads(__tstate);
20601 if (PyErr_Occurred()) SWIG_fail;
20602 }
20603 Py_INCREF(Py_None); resultobj = Py_None;
20604 return resultobj;
20605 fail:
20606 return NULL;
20607 }
20608
20609
20610 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20611 PyObject *resultobj;
20612 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20613 int arg2 ;
20614 int arg3 ;
20615 PyObject * obj0 = 0 ;
20616 PyObject * obj1 = 0 ;
20617 PyObject * obj2 = 0 ;
20618 char *kwnames[] = {
20619 (char *) "self",(char *) "rows",(char *) "cols", NULL
20620 };
20621
20622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20624 if (SWIG_arg_fail(1)) SWIG_fail;
20625 {
20626 arg2 = (int)(SWIG_As_int(obj1));
20627 if (SWIG_arg_fail(2)) SWIG_fail;
20628 }
20629 {
20630 arg3 = (int)(SWIG_As_int(obj2));
20631 if (SWIG_arg_fail(3)) SWIG_fail;
20632 }
20633 {
20634 PyThreadState* __tstate = wxPyBeginAllowThreads();
20635 (arg1)->SetMaxRowsCols(arg2,arg3);
20636
20637 wxPyEndAllowThreads(__tstate);
20638 if (PyErr_Occurred()) SWIG_fail;
20639 }
20640 Py_INCREF(Py_None); resultobj = Py_None;
20641 return resultobj;
20642 fail:
20643 return NULL;
20644 }
20645
20646
20647 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20648 PyObject *resultobj;
20649 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20650 int result;
20651 PyObject * obj0 = 0 ;
20652 char *kwnames[] = {
20653 (char *) "self", NULL
20654 };
20655
20656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20658 if (SWIG_arg_fail(1)) SWIG_fail;
20659 {
20660 PyThreadState* __tstate = wxPyBeginAllowThreads();
20661 result = (int)(arg1)->GetMaxRows();
20662
20663 wxPyEndAllowThreads(__tstate);
20664 if (PyErr_Occurred()) SWIG_fail;
20665 }
20666 {
20667 resultobj = SWIG_From_int((int)(result));
20668 }
20669 return resultobj;
20670 fail:
20671 return NULL;
20672 }
20673
20674
20675 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20676 PyObject *resultobj;
20677 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20678 int result;
20679 PyObject * obj0 = 0 ;
20680 char *kwnames[] = {
20681 (char *) "self", NULL
20682 };
20683
20684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20686 if (SWIG_arg_fail(1)) SWIG_fail;
20687 {
20688 PyThreadState* __tstate = wxPyBeginAllowThreads();
20689 result = (int)(arg1)->GetMaxCols();
20690
20691 wxPyEndAllowThreads(__tstate);
20692 if (PyErr_Occurred()) SWIG_fail;
20693 }
20694 {
20695 resultobj = SWIG_From_int((int)(result));
20696 }
20697 return resultobj;
20698 fail:
20699 return NULL;
20700 }
20701
20702
20703 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20704 PyObject *resultobj;
20705 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20706 wxSize *arg2 = 0 ;
20707 wxSize temp2 ;
20708 PyObject * obj0 = 0 ;
20709 PyObject * obj1 = 0 ;
20710 char *kwnames[] = {
20711 (char *) "self",(char *) "size", NULL
20712 };
20713
20714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20716 if (SWIG_arg_fail(1)) SWIG_fail;
20717 {
20718 arg2 = &temp2;
20719 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20720 }
20721 {
20722 PyThreadState* __tstate = wxPyBeginAllowThreads();
20723 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20724
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 Py_INCREF(Py_None); resultobj = Py_None;
20729 return resultobj;
20730 fail:
20731 return NULL;
20732 }
20733
20734
20735 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20736 PyObject *resultobj;
20737 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20738 wxSize result;
20739 PyObject * obj0 = 0 ;
20740 char *kwnames[] = {
20741 (char *) "self", NULL
20742 };
20743
20744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20746 if (SWIG_arg_fail(1)) SWIG_fail;
20747 {
20748 PyThreadState* __tstate = wxPyBeginAllowThreads();
20749 result = (arg1)->GetToolBitmapSize();
20750
20751 wxPyEndAllowThreads(__tstate);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 }
20754 {
20755 wxSize * resultptr;
20756 resultptr = new wxSize((wxSize &)(result));
20757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20758 }
20759 return resultobj;
20760 fail:
20761 return NULL;
20762 }
20763
20764
20765 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20766 PyObject *resultobj;
20767 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20768 wxSize result;
20769 PyObject * obj0 = 0 ;
20770 char *kwnames[] = {
20771 (char *) "self", NULL
20772 };
20773
20774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20776 if (SWIG_arg_fail(1)) SWIG_fail;
20777 {
20778 PyThreadState* __tstate = wxPyBeginAllowThreads();
20779 result = (arg1)->GetToolSize();
20780
20781 wxPyEndAllowThreads(__tstate);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 {
20785 wxSize * resultptr;
20786 resultptr = new wxSize((wxSize &)(result));
20787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20788 }
20789 return resultobj;
20790 fail:
20791 return NULL;
20792 }
20793
20794
20795 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20796 PyObject *resultobj;
20797 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20798 int arg2 ;
20799 int arg3 ;
20800 wxToolBarToolBase *result;
20801 PyObject * obj0 = 0 ;
20802 PyObject * obj1 = 0 ;
20803 PyObject * obj2 = 0 ;
20804 char *kwnames[] = {
20805 (char *) "self",(char *) "x",(char *) "y", NULL
20806 };
20807
20808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20810 if (SWIG_arg_fail(1)) SWIG_fail;
20811 {
20812 arg2 = (int)(SWIG_As_int(obj1));
20813 if (SWIG_arg_fail(2)) SWIG_fail;
20814 }
20815 {
20816 arg3 = (int)(SWIG_As_int(obj2));
20817 if (SWIG_arg_fail(3)) SWIG_fail;
20818 }
20819 {
20820 PyThreadState* __tstate = wxPyBeginAllowThreads();
20821 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20822
20823 wxPyEndAllowThreads(__tstate);
20824 if (PyErr_Occurred()) SWIG_fail;
20825 }
20826 {
20827 resultobj = wxPyMake_wxObject(result, 0);
20828 }
20829 return resultobj;
20830 fail:
20831 return NULL;
20832 }
20833
20834
20835 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20836 PyObject *resultobj;
20837 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20838 int arg2 ;
20839 wxToolBarToolBase *result;
20840 PyObject * obj0 = 0 ;
20841 PyObject * obj1 = 0 ;
20842 char *kwnames[] = {
20843 (char *) "self",(char *) "toolid", NULL
20844 };
20845
20846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
20847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20848 if (SWIG_arg_fail(1)) SWIG_fail;
20849 {
20850 arg2 = (int)(SWIG_As_int(obj1));
20851 if (SWIG_arg_fail(2)) SWIG_fail;
20852 }
20853 {
20854 PyThreadState* __tstate = wxPyBeginAllowThreads();
20855 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20856
20857 wxPyEndAllowThreads(__tstate);
20858 if (PyErr_Occurred()) SWIG_fail;
20859 }
20860 {
20861 resultobj = wxPyMake_wxObject(result, 0);
20862 }
20863 return resultobj;
20864 fail:
20865 return NULL;
20866 }
20867
20868
20869 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
20870 PyObject *resultobj;
20871 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20872 bool result;
20873 PyObject * obj0 = 0 ;
20874 char *kwnames[] = {
20875 (char *) "self", NULL
20876 };
20877
20878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
20879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20880 if (SWIG_arg_fail(1)) SWIG_fail;
20881 {
20882 PyThreadState* __tstate = wxPyBeginAllowThreads();
20883 result = (bool)(arg1)->IsVertical();
20884
20885 wxPyEndAllowThreads(__tstate);
20886 if (PyErr_Occurred()) SWIG_fail;
20887 }
20888 {
20889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20890 }
20891 return resultobj;
20892 fail:
20893 return NULL;
20894 }
20895
20896
20897 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
20898 PyObject *obj;
20899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20900 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20901 Py_INCREF(obj);
20902 return Py_BuildValue((char *)"");
20903 }
20904 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
20905 PyObject *resultobj;
20906 wxWindow *arg1 = (wxWindow *) 0 ;
20907 int arg2 = (int) -1 ;
20908 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20909 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20910 wxSize const &arg4_defvalue = wxDefaultSize ;
20911 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20912 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20913 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
20914 wxString *arg6 = (wxString *) &arg6_defvalue ;
20915 wxToolBar *result;
20916 wxPoint temp3 ;
20917 wxSize temp4 ;
20918 bool temp6 = false ;
20919 PyObject * obj0 = 0 ;
20920 PyObject * obj1 = 0 ;
20921 PyObject * obj2 = 0 ;
20922 PyObject * obj3 = 0 ;
20923 PyObject * obj4 = 0 ;
20924 PyObject * obj5 = 0 ;
20925 char *kwnames[] = {
20926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20927 };
20928
20929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20931 if (SWIG_arg_fail(1)) SWIG_fail;
20932 if (obj1) {
20933 {
20934 arg2 = (int)(SWIG_As_int(obj1));
20935 if (SWIG_arg_fail(2)) SWIG_fail;
20936 }
20937 }
20938 if (obj2) {
20939 {
20940 arg3 = &temp3;
20941 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20942 }
20943 }
20944 if (obj3) {
20945 {
20946 arg4 = &temp4;
20947 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20948 }
20949 }
20950 if (obj4) {
20951 {
20952 arg5 = (long)(SWIG_As_long(obj4));
20953 if (SWIG_arg_fail(5)) SWIG_fail;
20954 }
20955 }
20956 if (obj5) {
20957 {
20958 arg6 = wxString_in_helper(obj5);
20959 if (arg6 == NULL) SWIG_fail;
20960 temp6 = true;
20961 }
20962 }
20963 {
20964 if (!wxPyCheckForApp()) SWIG_fail;
20965 PyThreadState* __tstate = wxPyBeginAllowThreads();
20966 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20967
20968 wxPyEndAllowThreads(__tstate);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
20972 {
20973 if (temp6)
20974 delete arg6;
20975 }
20976 return resultobj;
20977 fail:
20978 {
20979 if (temp6)
20980 delete arg6;
20981 }
20982 return NULL;
20983 }
20984
20985
20986 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
20987 PyObject *resultobj;
20988 wxToolBar *result;
20989 char *kwnames[] = {
20990 NULL
20991 };
20992
20993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
20994 {
20995 if (!wxPyCheckForApp()) SWIG_fail;
20996 PyThreadState* __tstate = wxPyBeginAllowThreads();
20997 result = (wxToolBar *)new wxToolBar();
20998
20999 wxPyEndAllowThreads(__tstate);
21000 if (PyErr_Occurred()) SWIG_fail;
21001 }
21002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21003 return resultobj;
21004 fail:
21005 return NULL;
21006 }
21007
21008
21009 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21010 PyObject *resultobj;
21011 wxToolBar *arg1 = (wxToolBar *) 0 ;
21012 wxWindow *arg2 = (wxWindow *) 0 ;
21013 int arg3 = (int) -1 ;
21014 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21015 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21016 wxSize const &arg5_defvalue = wxDefaultSize ;
21017 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21018 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21019 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21020 wxString *arg7 = (wxString *) &arg7_defvalue ;
21021 bool result;
21022 wxPoint temp4 ;
21023 wxSize temp5 ;
21024 bool temp7 = false ;
21025 PyObject * obj0 = 0 ;
21026 PyObject * obj1 = 0 ;
21027 PyObject * obj2 = 0 ;
21028 PyObject * obj3 = 0 ;
21029 PyObject * obj4 = 0 ;
21030 PyObject * obj5 = 0 ;
21031 PyObject * obj6 = 0 ;
21032 char *kwnames[] = {
21033 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21034 };
21035
21036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21038 if (SWIG_arg_fail(1)) SWIG_fail;
21039 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21040 if (SWIG_arg_fail(2)) SWIG_fail;
21041 if (obj2) {
21042 {
21043 arg3 = (int)(SWIG_As_int(obj2));
21044 if (SWIG_arg_fail(3)) SWIG_fail;
21045 }
21046 }
21047 if (obj3) {
21048 {
21049 arg4 = &temp4;
21050 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21051 }
21052 }
21053 if (obj4) {
21054 {
21055 arg5 = &temp5;
21056 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21057 }
21058 }
21059 if (obj5) {
21060 {
21061 arg6 = (long)(SWIG_As_long(obj5));
21062 if (SWIG_arg_fail(6)) SWIG_fail;
21063 }
21064 }
21065 if (obj6) {
21066 {
21067 arg7 = wxString_in_helper(obj6);
21068 if (arg7 == NULL) SWIG_fail;
21069 temp7 = true;
21070 }
21071 }
21072 {
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21075
21076 wxPyEndAllowThreads(__tstate);
21077 if (PyErr_Occurred()) SWIG_fail;
21078 }
21079 {
21080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21081 }
21082 {
21083 if (temp7)
21084 delete arg7;
21085 }
21086 return resultobj;
21087 fail:
21088 {
21089 if (temp7)
21090 delete arg7;
21091 }
21092 return NULL;
21093 }
21094
21095
21096 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21097 PyObject *resultobj;
21098 wxToolBar *arg1 = (wxToolBar *) 0 ;
21099 int arg2 ;
21100 int arg3 ;
21101 wxToolBarToolBase *result;
21102 PyObject * obj0 = 0 ;
21103 PyObject * obj1 = 0 ;
21104 PyObject * obj2 = 0 ;
21105 char *kwnames[] = {
21106 (char *) "self",(char *) "x",(char *) "y", NULL
21107 };
21108
21109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21111 if (SWIG_arg_fail(1)) SWIG_fail;
21112 {
21113 arg2 = (int)(SWIG_As_int(obj1));
21114 if (SWIG_arg_fail(2)) SWIG_fail;
21115 }
21116 {
21117 arg3 = (int)(SWIG_As_int(obj2));
21118 if (SWIG_arg_fail(3)) SWIG_fail;
21119 }
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 {
21128 resultobj = wxPyMake_wxObject(result, 0);
21129 }
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21139 wxVisualAttributes result;
21140 PyObject * obj0 = 0 ;
21141 char *kwnames[] = {
21142 (char *) "variant", NULL
21143 };
21144
21145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21146 if (obj0) {
21147 {
21148 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21149 if (SWIG_arg_fail(1)) SWIG_fail;
21150 }
21151 }
21152 {
21153 if (!wxPyCheckForApp()) SWIG_fail;
21154 PyThreadState* __tstate = wxPyBeginAllowThreads();
21155 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21156
21157 wxPyEndAllowThreads(__tstate);
21158 if (PyErr_Occurred()) SWIG_fail;
21159 }
21160 {
21161 wxVisualAttributes * resultptr;
21162 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
21163 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21164 }
21165 return resultobj;
21166 fail:
21167 return NULL;
21168 }
21169
21170
21171 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21172 PyObject *obj;
21173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21174 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21175 Py_INCREF(obj);
21176 return Py_BuildValue((char *)"");
21177 }
21178 static int _wrap_ListCtrlNameStr_set(PyObject *) {
21179 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21180 return 1;
21181 }
21182
21183
21184 static PyObject *_wrap_ListCtrlNameStr_get(void) {
21185 PyObject *pyobj;
21186
21187 {
21188 #if wxUSE_UNICODE
21189 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21190 #else
21191 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21192 #endif
21193 }
21194 return pyobj;
21195 }
21196
21197
21198 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21199 PyObject *resultobj;
21200 wxColour const &arg1_defvalue = wxNullColour ;
21201 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21202 wxColour const &arg2_defvalue = wxNullColour ;
21203 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21204 wxFont const &arg3_defvalue = wxNullFont ;
21205 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21206 wxListItemAttr *result;
21207 wxColour temp1 ;
21208 wxColour temp2 ;
21209 PyObject * obj0 = 0 ;
21210 PyObject * obj1 = 0 ;
21211 PyObject * obj2 = 0 ;
21212 char *kwnames[] = {
21213 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21214 };
21215
21216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21217 if (obj0) {
21218 {
21219 arg1 = &temp1;
21220 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21221 }
21222 }
21223 if (obj1) {
21224 {
21225 arg2 = &temp2;
21226 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21227 }
21228 }
21229 if (obj2) {
21230 {
21231 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21232 if (SWIG_arg_fail(3)) SWIG_fail;
21233 if (arg3 == NULL) {
21234 SWIG_null_ref("wxFont");
21235 }
21236 if (SWIG_arg_fail(3)) SWIG_fail;
21237 }
21238 }
21239 {
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21242
21243 wxPyEndAllowThreads(__tstate);
21244 if (PyErr_Occurred()) SWIG_fail;
21245 }
21246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21247 return resultobj;
21248 fail:
21249 return NULL;
21250 }
21251
21252
21253 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21254 PyObject *resultobj;
21255 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21256 wxColour *arg2 = 0 ;
21257 wxColour temp2 ;
21258 PyObject * obj0 = 0 ;
21259 PyObject * obj1 = 0 ;
21260 char *kwnames[] = {
21261 (char *) "self",(char *) "colText", NULL
21262 };
21263
21264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21266 if (SWIG_arg_fail(1)) SWIG_fail;
21267 {
21268 arg2 = &temp2;
21269 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21270 }
21271 {
21272 PyThreadState* __tstate = wxPyBeginAllowThreads();
21273 (arg1)->SetTextColour((wxColour const &)*arg2);
21274
21275 wxPyEndAllowThreads(__tstate);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 Py_INCREF(Py_None); resultobj = Py_None;
21279 return resultobj;
21280 fail:
21281 return NULL;
21282 }
21283
21284
21285 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21286 PyObject *resultobj;
21287 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21288 wxColour *arg2 = 0 ;
21289 wxColour temp2 ;
21290 PyObject * obj0 = 0 ;
21291 PyObject * obj1 = 0 ;
21292 char *kwnames[] = {
21293 (char *) "self",(char *) "colBack", NULL
21294 };
21295
21296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21298 if (SWIG_arg_fail(1)) SWIG_fail;
21299 {
21300 arg2 = &temp2;
21301 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21302 }
21303 {
21304 PyThreadState* __tstate = wxPyBeginAllowThreads();
21305 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21306
21307 wxPyEndAllowThreads(__tstate);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 }
21310 Py_INCREF(Py_None); resultobj = Py_None;
21311 return resultobj;
21312 fail:
21313 return NULL;
21314 }
21315
21316
21317 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21318 PyObject *resultobj;
21319 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21320 wxFont *arg2 = 0 ;
21321 PyObject * obj0 = 0 ;
21322 PyObject * obj1 = 0 ;
21323 char *kwnames[] = {
21324 (char *) "self",(char *) "font", NULL
21325 };
21326
21327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21329 if (SWIG_arg_fail(1)) SWIG_fail;
21330 {
21331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21332 if (SWIG_arg_fail(2)) SWIG_fail;
21333 if (arg2 == NULL) {
21334 SWIG_null_ref("wxFont");
21335 }
21336 if (SWIG_arg_fail(2)) SWIG_fail;
21337 }
21338 {
21339 PyThreadState* __tstate = wxPyBeginAllowThreads();
21340 (arg1)->SetFont((wxFont const &)*arg2);
21341
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 Py_INCREF(Py_None); resultobj = Py_None;
21346 return resultobj;
21347 fail:
21348 return NULL;
21349 }
21350
21351
21352 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj;
21354 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21355 bool result;
21356 PyObject * obj0 = 0 ;
21357 char *kwnames[] = {
21358 (char *) "self", NULL
21359 };
21360
21361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
21362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21363 if (SWIG_arg_fail(1)) SWIG_fail;
21364 {
21365 PyThreadState* __tstate = wxPyBeginAllowThreads();
21366 result = (bool)(arg1)->HasTextColour();
21367
21368 wxPyEndAllowThreads(__tstate);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 }
21371 {
21372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21373 }
21374 return resultobj;
21375 fail:
21376 return NULL;
21377 }
21378
21379
21380 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21381 PyObject *resultobj;
21382 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21383 bool result;
21384 PyObject * obj0 = 0 ;
21385 char *kwnames[] = {
21386 (char *) "self", NULL
21387 };
21388
21389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21391 if (SWIG_arg_fail(1)) SWIG_fail;
21392 {
21393 PyThreadState* __tstate = wxPyBeginAllowThreads();
21394 result = (bool)(arg1)->HasBackgroundColour();
21395
21396 wxPyEndAllowThreads(__tstate);
21397 if (PyErr_Occurred()) SWIG_fail;
21398 }
21399 {
21400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21401 }
21402 return resultobj;
21403 fail:
21404 return NULL;
21405 }
21406
21407
21408 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21409 PyObject *resultobj;
21410 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21411 bool result;
21412 PyObject * obj0 = 0 ;
21413 char *kwnames[] = {
21414 (char *) "self", NULL
21415 };
21416
21417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21419 if (SWIG_arg_fail(1)) SWIG_fail;
21420 {
21421 PyThreadState* __tstate = wxPyBeginAllowThreads();
21422 result = (bool)(arg1)->HasFont();
21423
21424 wxPyEndAllowThreads(__tstate);
21425 if (PyErr_Occurred()) SWIG_fail;
21426 }
21427 {
21428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21429 }
21430 return resultobj;
21431 fail:
21432 return NULL;
21433 }
21434
21435
21436 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21437 PyObject *resultobj;
21438 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21439 wxColour result;
21440 PyObject * obj0 = 0 ;
21441 char *kwnames[] = {
21442 (char *) "self", NULL
21443 };
21444
21445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21447 if (SWIG_arg_fail(1)) SWIG_fail;
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
21450 result = (arg1)->GetTextColour();
21451
21452 wxPyEndAllowThreads(__tstate);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 }
21455 {
21456 wxColour * resultptr;
21457 resultptr = new wxColour((wxColour &)(result));
21458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21459 }
21460 return resultobj;
21461 fail:
21462 return NULL;
21463 }
21464
21465
21466 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21467 PyObject *resultobj;
21468 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21469 wxColour result;
21470 PyObject * obj0 = 0 ;
21471 char *kwnames[] = {
21472 (char *) "self", NULL
21473 };
21474
21475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
21476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21477 if (SWIG_arg_fail(1)) SWIG_fail;
21478 {
21479 PyThreadState* __tstate = wxPyBeginAllowThreads();
21480 result = (arg1)->GetBackgroundColour();
21481
21482 wxPyEndAllowThreads(__tstate);
21483 if (PyErr_Occurred()) SWIG_fail;
21484 }
21485 {
21486 wxColour * resultptr;
21487 resultptr = new wxColour((wxColour &)(result));
21488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21489 }
21490 return resultobj;
21491 fail:
21492 return NULL;
21493 }
21494
21495
21496 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21497 PyObject *resultobj;
21498 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21499 wxFont result;
21500 PyObject * obj0 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self", NULL
21503 };
21504
21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21507 if (SWIG_arg_fail(1)) SWIG_fail;
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 result = (arg1)->GetFont();
21511
21512 wxPyEndAllowThreads(__tstate);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 }
21515 {
21516 wxFont * resultptr;
21517 resultptr = new wxFont((wxFont &)(result));
21518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21519 }
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj;
21528 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21529 PyObject * obj0 = 0 ;
21530 char *kwnames[] = {
21531 (char *) "self", NULL
21532 };
21533
21534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21536 if (SWIG_arg_fail(1)) SWIG_fail;
21537 {
21538 PyThreadState* __tstate = wxPyBeginAllowThreads();
21539 wxListItemAttr_Destroy(arg1);
21540
21541 wxPyEndAllowThreads(__tstate);
21542 if (PyErr_Occurred()) SWIG_fail;
21543 }
21544 Py_INCREF(Py_None); resultobj = Py_None;
21545 return resultobj;
21546 fail:
21547 return NULL;
21548 }
21549
21550
21551 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21552 PyObject *obj;
21553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21554 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21555 Py_INCREF(obj);
21556 return Py_BuildValue((char *)"");
21557 }
21558 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21559 PyObject *resultobj;
21560 wxListItem *result;
21561 char *kwnames[] = {
21562 NULL
21563 };
21564
21565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 result = (wxListItem *)new wxListItem();
21569
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 {
21574 resultobj = wxPyMake_wxObject(result, 1);
21575 }
21576 return resultobj;
21577 fail:
21578 return NULL;
21579 }
21580
21581
21582 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21583 PyObject *resultobj;
21584 wxListItem *arg1 = (wxListItem *) 0 ;
21585 PyObject * obj0 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self", NULL
21588 };
21589
21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21592 if (SWIG_arg_fail(1)) SWIG_fail;
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 delete arg1;
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 Py_INCREF(Py_None); resultobj = Py_None;
21601 return resultobj;
21602 fail:
21603 return NULL;
21604 }
21605
21606
21607 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21608 PyObject *resultobj;
21609 wxListItem *arg1 = (wxListItem *) 0 ;
21610 PyObject * obj0 = 0 ;
21611 char *kwnames[] = {
21612 (char *) "self", NULL
21613 };
21614
21615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21617 if (SWIG_arg_fail(1)) SWIG_fail;
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
21620 (arg1)->Clear();
21621
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 Py_INCREF(Py_None); resultobj = Py_None;
21626 return resultobj;
21627 fail:
21628 return NULL;
21629 }
21630
21631
21632 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21633 PyObject *resultobj;
21634 wxListItem *arg1 = (wxListItem *) 0 ;
21635 PyObject * obj0 = 0 ;
21636 char *kwnames[] = {
21637 (char *) "self", NULL
21638 };
21639
21640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21642 if (SWIG_arg_fail(1)) SWIG_fail;
21643 {
21644 PyThreadState* __tstate = wxPyBeginAllowThreads();
21645 (arg1)->ClearAttributes();
21646
21647 wxPyEndAllowThreads(__tstate);
21648 if (PyErr_Occurred()) SWIG_fail;
21649 }
21650 Py_INCREF(Py_None); resultobj = Py_None;
21651 return resultobj;
21652 fail:
21653 return NULL;
21654 }
21655
21656
21657 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21658 PyObject *resultobj;
21659 wxListItem *arg1 = (wxListItem *) 0 ;
21660 long arg2 ;
21661 PyObject * obj0 = 0 ;
21662 PyObject * obj1 = 0 ;
21663 char *kwnames[] = {
21664 (char *) "self",(char *) "mask", NULL
21665 };
21666
21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) 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 arg2 = (long)(SWIG_As_long(obj1));
21672 if (SWIG_arg_fail(2)) SWIG_fail;
21673 }
21674 {
21675 PyThreadState* __tstate = wxPyBeginAllowThreads();
21676 (arg1)->SetMask(arg2);
21677
21678 wxPyEndAllowThreads(__tstate);
21679 if (PyErr_Occurred()) SWIG_fail;
21680 }
21681 Py_INCREF(Py_None); resultobj = Py_None;
21682 return resultobj;
21683 fail:
21684 return NULL;
21685 }
21686
21687
21688 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21689 PyObject *resultobj;
21690 wxListItem *arg1 = (wxListItem *) 0 ;
21691 long arg2 ;
21692 PyObject * obj0 = 0 ;
21693 PyObject * obj1 = 0 ;
21694 char *kwnames[] = {
21695 (char *) "self",(char *) "id", NULL
21696 };
21697
21698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21700 if (SWIG_arg_fail(1)) SWIG_fail;
21701 {
21702 arg2 = (long)(SWIG_As_long(obj1));
21703 if (SWIG_arg_fail(2)) SWIG_fail;
21704 }
21705 {
21706 PyThreadState* __tstate = wxPyBeginAllowThreads();
21707 (arg1)->SetId(arg2);
21708
21709 wxPyEndAllowThreads(__tstate);
21710 if (PyErr_Occurred()) SWIG_fail;
21711 }
21712 Py_INCREF(Py_None); resultobj = Py_None;
21713 return resultobj;
21714 fail:
21715 return NULL;
21716 }
21717
21718
21719 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21720 PyObject *resultobj;
21721 wxListItem *arg1 = (wxListItem *) 0 ;
21722 int arg2 ;
21723 PyObject * obj0 = 0 ;
21724 PyObject * obj1 = 0 ;
21725 char *kwnames[] = {
21726 (char *) "self",(char *) "col", NULL
21727 };
21728
21729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21731 if (SWIG_arg_fail(1)) SWIG_fail;
21732 {
21733 arg2 = (int)(SWIG_As_int(obj1));
21734 if (SWIG_arg_fail(2)) SWIG_fail;
21735 }
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 (arg1)->SetColumn(arg2);
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 Py_INCREF(Py_None); resultobj = Py_None;
21744 return resultobj;
21745 fail:
21746 return NULL;
21747 }
21748
21749
21750 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21751 PyObject *resultobj;
21752 wxListItem *arg1 = (wxListItem *) 0 ;
21753 long arg2 ;
21754 PyObject * obj0 = 0 ;
21755 PyObject * obj1 = 0 ;
21756 char *kwnames[] = {
21757 (char *) "self",(char *) "state", NULL
21758 };
21759
21760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21762 if (SWIG_arg_fail(1)) SWIG_fail;
21763 {
21764 arg2 = (long)(SWIG_As_long(obj1));
21765 if (SWIG_arg_fail(2)) SWIG_fail;
21766 }
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 (arg1)->SetState(arg2);
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 Py_INCREF(Py_None); resultobj = Py_None;
21775 return resultobj;
21776 fail:
21777 return NULL;
21778 }
21779
21780
21781 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21782 PyObject *resultobj;
21783 wxListItem *arg1 = (wxListItem *) 0 ;
21784 long arg2 ;
21785 PyObject * obj0 = 0 ;
21786 PyObject * obj1 = 0 ;
21787 char *kwnames[] = {
21788 (char *) "self",(char *) "stateMask", NULL
21789 };
21790
21791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21793 if (SWIG_arg_fail(1)) SWIG_fail;
21794 {
21795 arg2 = (long)(SWIG_As_long(obj1));
21796 if (SWIG_arg_fail(2)) SWIG_fail;
21797 }
21798 {
21799 PyThreadState* __tstate = wxPyBeginAllowThreads();
21800 (arg1)->SetStateMask(arg2);
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
21805 Py_INCREF(Py_None); resultobj = Py_None;
21806 return resultobj;
21807 fail:
21808 return NULL;
21809 }
21810
21811
21812 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21813 PyObject *resultobj;
21814 wxListItem *arg1 = (wxListItem *) 0 ;
21815 wxString *arg2 = 0 ;
21816 bool temp2 = false ;
21817 PyObject * obj0 = 0 ;
21818 PyObject * obj1 = 0 ;
21819 char *kwnames[] = {
21820 (char *) "self",(char *) "text", NULL
21821 };
21822
21823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21825 if (SWIG_arg_fail(1)) SWIG_fail;
21826 {
21827 arg2 = wxString_in_helper(obj1);
21828 if (arg2 == NULL) SWIG_fail;
21829 temp2 = true;
21830 }
21831 {
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 (arg1)->SetText((wxString const &)*arg2);
21834
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 Py_INCREF(Py_None); resultobj = Py_None;
21839 {
21840 if (temp2)
21841 delete arg2;
21842 }
21843 return resultobj;
21844 fail:
21845 {
21846 if (temp2)
21847 delete arg2;
21848 }
21849 return NULL;
21850 }
21851
21852
21853 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21854 PyObject *resultobj;
21855 wxListItem *arg1 = (wxListItem *) 0 ;
21856 int arg2 ;
21857 PyObject * obj0 = 0 ;
21858 PyObject * obj1 = 0 ;
21859 char *kwnames[] = {
21860 (char *) "self",(char *) "image", NULL
21861 };
21862
21863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
21864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21865 if (SWIG_arg_fail(1)) SWIG_fail;
21866 {
21867 arg2 = (int)(SWIG_As_int(obj1));
21868 if (SWIG_arg_fail(2)) SWIG_fail;
21869 }
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 (arg1)->SetImage(arg2);
21873
21874 wxPyEndAllowThreads(__tstate);
21875 if (PyErr_Occurred()) SWIG_fail;
21876 }
21877 Py_INCREF(Py_None); resultobj = Py_None;
21878 return resultobj;
21879 fail:
21880 return NULL;
21881 }
21882
21883
21884 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
21885 PyObject *resultobj;
21886 wxListItem *arg1 = (wxListItem *) 0 ;
21887 long arg2 ;
21888 PyObject * obj0 = 0 ;
21889 PyObject * obj1 = 0 ;
21890 char *kwnames[] = {
21891 (char *) "self",(char *) "data", NULL
21892 };
21893
21894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
21895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21896 if (SWIG_arg_fail(1)) SWIG_fail;
21897 {
21898 arg2 = (long)(SWIG_As_long(obj1));
21899 if (SWIG_arg_fail(2)) SWIG_fail;
21900 }
21901 {
21902 PyThreadState* __tstate = wxPyBeginAllowThreads();
21903 (arg1)->SetData(arg2);
21904
21905 wxPyEndAllowThreads(__tstate);
21906 if (PyErr_Occurred()) SWIG_fail;
21907 }
21908 Py_INCREF(Py_None); resultobj = Py_None;
21909 return resultobj;
21910 fail:
21911 return NULL;
21912 }
21913
21914
21915 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
21916 PyObject *resultobj;
21917 wxListItem *arg1 = (wxListItem *) 0 ;
21918 int arg2 ;
21919 PyObject * obj0 = 0 ;
21920 PyObject * obj1 = 0 ;
21921 char *kwnames[] = {
21922 (char *) "self",(char *) "width", NULL
21923 };
21924
21925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
21926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21927 if (SWIG_arg_fail(1)) SWIG_fail;
21928 {
21929 arg2 = (int)(SWIG_As_int(obj1));
21930 if (SWIG_arg_fail(2)) SWIG_fail;
21931 }
21932 {
21933 PyThreadState* __tstate = wxPyBeginAllowThreads();
21934 (arg1)->SetWidth(arg2);
21935
21936 wxPyEndAllowThreads(__tstate);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 Py_INCREF(Py_None); resultobj = Py_None;
21940 return resultobj;
21941 fail:
21942 return NULL;
21943 }
21944
21945
21946 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
21947 PyObject *resultobj;
21948 wxListItem *arg1 = (wxListItem *) 0 ;
21949 wxListColumnFormat arg2 ;
21950 PyObject * obj0 = 0 ;
21951 PyObject * obj1 = 0 ;
21952 char *kwnames[] = {
21953 (char *) "self",(char *) "align", NULL
21954 };
21955
21956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
21957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21958 if (SWIG_arg_fail(1)) SWIG_fail;
21959 {
21960 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
21961 if (SWIG_arg_fail(2)) SWIG_fail;
21962 }
21963 {
21964 PyThreadState* __tstate = wxPyBeginAllowThreads();
21965 (arg1)->SetAlign((wxListColumnFormat )arg2);
21966
21967 wxPyEndAllowThreads(__tstate);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
21970 Py_INCREF(Py_None); resultobj = Py_None;
21971 return resultobj;
21972 fail:
21973 return NULL;
21974 }
21975
21976
21977 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21978 PyObject *resultobj;
21979 wxListItem *arg1 = (wxListItem *) 0 ;
21980 wxColour *arg2 = 0 ;
21981 wxColour temp2 ;
21982 PyObject * obj0 = 0 ;
21983 PyObject * obj1 = 0 ;
21984 char *kwnames[] = {
21985 (char *) "self",(char *) "colText", NULL
21986 };
21987
21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21990 if (SWIG_arg_fail(1)) SWIG_fail;
21991 {
21992 arg2 = &temp2;
21993 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21994 }
21995 {
21996 PyThreadState* __tstate = wxPyBeginAllowThreads();
21997 (arg1)->SetTextColour((wxColour const &)*arg2);
21998
21999 wxPyEndAllowThreads(__tstate);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 }
22002 Py_INCREF(Py_None); resultobj = Py_None;
22003 return resultobj;
22004 fail:
22005 return NULL;
22006 }
22007
22008
22009 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22010 PyObject *resultobj;
22011 wxListItem *arg1 = (wxListItem *) 0 ;
22012 wxColour *arg2 = 0 ;
22013 wxColour temp2 ;
22014 PyObject * obj0 = 0 ;
22015 PyObject * obj1 = 0 ;
22016 char *kwnames[] = {
22017 (char *) "self",(char *) "colBack", NULL
22018 };
22019
22020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22022 if (SWIG_arg_fail(1)) SWIG_fail;
22023 {
22024 arg2 = &temp2;
22025 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22026 }
22027 {
22028 PyThreadState* __tstate = wxPyBeginAllowThreads();
22029 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22030
22031 wxPyEndAllowThreads(__tstate);
22032 if (PyErr_Occurred()) SWIG_fail;
22033 }
22034 Py_INCREF(Py_None); resultobj = Py_None;
22035 return resultobj;
22036 fail:
22037 return NULL;
22038 }
22039
22040
22041 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22042 PyObject *resultobj;
22043 wxListItem *arg1 = (wxListItem *) 0 ;
22044 wxFont *arg2 = 0 ;
22045 PyObject * obj0 = 0 ;
22046 PyObject * obj1 = 0 ;
22047 char *kwnames[] = {
22048 (char *) "self",(char *) "font", NULL
22049 };
22050
22051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
22052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22053 if (SWIG_arg_fail(1)) SWIG_fail;
22054 {
22055 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22056 if (SWIG_arg_fail(2)) SWIG_fail;
22057 if (arg2 == NULL) {
22058 SWIG_null_ref("wxFont");
22059 }
22060 if (SWIG_arg_fail(2)) SWIG_fail;
22061 }
22062 {
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 (arg1)->SetFont((wxFont const &)*arg2);
22065
22066 wxPyEndAllowThreads(__tstate);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 Py_INCREF(Py_None); resultobj = Py_None;
22070 return resultobj;
22071 fail:
22072 return NULL;
22073 }
22074
22075
22076 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22077 PyObject *resultobj;
22078 wxListItem *arg1 = (wxListItem *) 0 ;
22079 long result;
22080 PyObject * obj0 = 0 ;
22081 char *kwnames[] = {
22082 (char *) "self", NULL
22083 };
22084
22085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
22086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22087 if (SWIG_arg_fail(1)) SWIG_fail;
22088 {
22089 PyThreadState* __tstate = wxPyBeginAllowThreads();
22090 result = (long)(arg1)->GetMask();
22091
22092 wxPyEndAllowThreads(__tstate);
22093 if (PyErr_Occurred()) SWIG_fail;
22094 }
22095 {
22096 resultobj = SWIG_From_long((long)(result));
22097 }
22098 return resultobj;
22099 fail:
22100 return NULL;
22101 }
22102
22103
22104 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22105 PyObject *resultobj;
22106 wxListItem *arg1 = (wxListItem *) 0 ;
22107 long result;
22108 PyObject * obj0 = 0 ;
22109 char *kwnames[] = {
22110 (char *) "self", NULL
22111 };
22112
22113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
22114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22115 if (SWIG_arg_fail(1)) SWIG_fail;
22116 {
22117 PyThreadState* __tstate = wxPyBeginAllowThreads();
22118 result = (long)(arg1)->GetId();
22119
22120 wxPyEndAllowThreads(__tstate);
22121 if (PyErr_Occurred()) SWIG_fail;
22122 }
22123 {
22124 resultobj = SWIG_From_long((long)(result));
22125 }
22126 return resultobj;
22127 fail:
22128 return NULL;
22129 }
22130
22131
22132 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22133 PyObject *resultobj;
22134 wxListItem *arg1 = (wxListItem *) 0 ;
22135 int result;
22136 PyObject * obj0 = 0 ;
22137 char *kwnames[] = {
22138 (char *) "self", NULL
22139 };
22140
22141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
22142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22143 if (SWIG_arg_fail(1)) SWIG_fail;
22144 {
22145 PyThreadState* __tstate = wxPyBeginAllowThreads();
22146 result = (int)(arg1)->GetColumn();
22147
22148 wxPyEndAllowThreads(__tstate);
22149 if (PyErr_Occurred()) SWIG_fail;
22150 }
22151 {
22152 resultobj = SWIG_From_int((int)(result));
22153 }
22154 return resultobj;
22155 fail:
22156 return NULL;
22157 }
22158
22159
22160 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
22161 PyObject *resultobj;
22162 wxListItem *arg1 = (wxListItem *) 0 ;
22163 long result;
22164 PyObject * obj0 = 0 ;
22165 char *kwnames[] = {
22166 (char *) "self", NULL
22167 };
22168
22169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
22170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22171 if (SWIG_arg_fail(1)) SWIG_fail;
22172 {
22173 PyThreadState* __tstate = wxPyBeginAllowThreads();
22174 result = (long)(arg1)->GetState();
22175
22176 wxPyEndAllowThreads(__tstate);
22177 if (PyErr_Occurred()) SWIG_fail;
22178 }
22179 {
22180 resultobj = SWIG_From_long((long)(result));
22181 }
22182 return resultobj;
22183 fail:
22184 return NULL;
22185 }
22186
22187
22188 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22189 PyObject *resultobj;
22190 wxListItem *arg1 = (wxListItem *) 0 ;
22191 wxString *result;
22192 PyObject * obj0 = 0 ;
22193 char *kwnames[] = {
22194 (char *) "self", NULL
22195 };
22196
22197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22199 if (SWIG_arg_fail(1)) SWIG_fail;
22200 {
22201 PyThreadState* __tstate = wxPyBeginAllowThreads();
22202 {
22203 wxString const &_result_ref = (arg1)->GetText();
22204 result = (wxString *) &_result_ref;
22205 }
22206
22207 wxPyEndAllowThreads(__tstate);
22208 if (PyErr_Occurred()) SWIG_fail;
22209 }
22210 {
22211 #if wxUSE_UNICODE
22212 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22213 #else
22214 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22215 #endif
22216 }
22217 return resultobj;
22218 fail:
22219 return NULL;
22220 }
22221
22222
22223 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22224 PyObject *resultobj;
22225 wxListItem *arg1 = (wxListItem *) 0 ;
22226 int result;
22227 PyObject * obj0 = 0 ;
22228 char *kwnames[] = {
22229 (char *) "self", NULL
22230 };
22231
22232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
22233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22234 if (SWIG_arg_fail(1)) SWIG_fail;
22235 {
22236 PyThreadState* __tstate = wxPyBeginAllowThreads();
22237 result = (int)(arg1)->GetImage();
22238
22239 wxPyEndAllowThreads(__tstate);
22240 if (PyErr_Occurred()) SWIG_fail;
22241 }
22242 {
22243 resultobj = SWIG_From_int((int)(result));
22244 }
22245 return resultobj;
22246 fail:
22247 return NULL;
22248 }
22249
22250
22251 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22252 PyObject *resultobj;
22253 wxListItem *arg1 = (wxListItem *) 0 ;
22254 long result;
22255 PyObject * obj0 = 0 ;
22256 char *kwnames[] = {
22257 (char *) "self", NULL
22258 };
22259
22260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22262 if (SWIG_arg_fail(1)) SWIG_fail;
22263 {
22264 PyThreadState* __tstate = wxPyBeginAllowThreads();
22265 result = (long)(arg1)->GetData();
22266
22267 wxPyEndAllowThreads(__tstate);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
22270 {
22271 resultobj = SWIG_From_long((long)(result));
22272 }
22273 return resultobj;
22274 fail:
22275 return NULL;
22276 }
22277
22278
22279 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22280 PyObject *resultobj;
22281 wxListItem *arg1 = (wxListItem *) 0 ;
22282 int result;
22283 PyObject * obj0 = 0 ;
22284 char *kwnames[] = {
22285 (char *) "self", NULL
22286 };
22287
22288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22290 if (SWIG_arg_fail(1)) SWIG_fail;
22291 {
22292 PyThreadState* __tstate = wxPyBeginAllowThreads();
22293 result = (int)(arg1)->GetWidth();
22294
22295 wxPyEndAllowThreads(__tstate);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 {
22299 resultobj = SWIG_From_int((int)(result));
22300 }
22301 return resultobj;
22302 fail:
22303 return NULL;
22304 }
22305
22306
22307 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22308 PyObject *resultobj;
22309 wxListItem *arg1 = (wxListItem *) 0 ;
22310 wxListColumnFormat result;
22311 PyObject * obj0 = 0 ;
22312 char *kwnames[] = {
22313 (char *) "self", NULL
22314 };
22315
22316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22318 if (SWIG_arg_fail(1)) SWIG_fail;
22319 {
22320 PyThreadState* __tstate = wxPyBeginAllowThreads();
22321 result = (wxListColumnFormat)(arg1)->GetAlign();
22322
22323 wxPyEndAllowThreads(__tstate);
22324 if (PyErr_Occurred()) SWIG_fail;
22325 }
22326 resultobj = SWIG_From_int((result));
22327 return resultobj;
22328 fail:
22329 return NULL;
22330 }
22331
22332
22333 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22334 PyObject *resultobj;
22335 wxListItem *arg1 = (wxListItem *) 0 ;
22336 wxListItemAttr *result;
22337 PyObject * obj0 = 0 ;
22338 char *kwnames[] = {
22339 (char *) "self", NULL
22340 };
22341
22342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
22343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22344 if (SWIG_arg_fail(1)) SWIG_fail;
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 result = (wxListItemAttr *)(arg1)->GetAttributes();
22348
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22353 return resultobj;
22354 fail:
22355 return NULL;
22356 }
22357
22358
22359 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22360 PyObject *resultobj;
22361 wxListItem *arg1 = (wxListItem *) 0 ;
22362 bool result;
22363 PyObject * obj0 = 0 ;
22364 char *kwnames[] = {
22365 (char *) "self", NULL
22366 };
22367
22368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22370 if (SWIG_arg_fail(1)) SWIG_fail;
22371 {
22372 PyThreadState* __tstate = wxPyBeginAllowThreads();
22373 result = (bool)(arg1)->HasAttributes();
22374
22375 wxPyEndAllowThreads(__tstate);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 {
22379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22380 }
22381 return resultobj;
22382 fail:
22383 return NULL;
22384 }
22385
22386
22387 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22388 PyObject *resultobj;
22389 wxListItem *arg1 = (wxListItem *) 0 ;
22390 wxColour result;
22391 PyObject * obj0 = 0 ;
22392 char *kwnames[] = {
22393 (char *) "self", NULL
22394 };
22395
22396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22398 if (SWIG_arg_fail(1)) SWIG_fail;
22399 {
22400 PyThreadState* __tstate = wxPyBeginAllowThreads();
22401 result = ((wxListItem const *)arg1)->GetTextColour();
22402
22403 wxPyEndAllowThreads(__tstate);
22404 if (PyErr_Occurred()) SWIG_fail;
22405 }
22406 {
22407 wxColour * resultptr;
22408 resultptr = new wxColour((wxColour &)(result));
22409 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22410 }
22411 return resultobj;
22412 fail:
22413 return NULL;
22414 }
22415
22416
22417 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22418 PyObject *resultobj;
22419 wxListItem *arg1 = (wxListItem *) 0 ;
22420 wxColour result;
22421 PyObject * obj0 = 0 ;
22422 char *kwnames[] = {
22423 (char *) "self", NULL
22424 };
22425
22426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22428 if (SWIG_arg_fail(1)) SWIG_fail;
22429 {
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22432
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 {
22437 wxColour * resultptr;
22438 resultptr = new wxColour((wxColour &)(result));
22439 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22440 }
22441 return resultobj;
22442 fail:
22443 return NULL;
22444 }
22445
22446
22447 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22448 PyObject *resultobj;
22449 wxListItem *arg1 = (wxListItem *) 0 ;
22450 wxFont result;
22451 PyObject * obj0 = 0 ;
22452 char *kwnames[] = {
22453 (char *) "self", NULL
22454 };
22455
22456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22458 if (SWIG_arg_fail(1)) SWIG_fail;
22459 {
22460 PyThreadState* __tstate = wxPyBeginAllowThreads();
22461 result = ((wxListItem const *)arg1)->GetFont();
22462
22463 wxPyEndAllowThreads(__tstate);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 {
22467 wxFont * resultptr;
22468 resultptr = new wxFont((wxFont &)(result));
22469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22470 }
22471 return resultobj;
22472 fail:
22473 return NULL;
22474 }
22475
22476
22477 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22478 PyObject *resultobj;
22479 wxListItem *arg1 = (wxListItem *) 0 ;
22480 long arg2 ;
22481 PyObject * obj0 = 0 ;
22482 PyObject * obj1 = 0 ;
22483 char *kwnames[] = {
22484 (char *) "self",(char *) "m_mask", NULL
22485 };
22486
22487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22489 if (SWIG_arg_fail(1)) SWIG_fail;
22490 {
22491 arg2 = (long)(SWIG_As_long(obj1));
22492 if (SWIG_arg_fail(2)) SWIG_fail;
22493 }
22494 if (arg1) (arg1)->m_mask = arg2;
22495
22496 Py_INCREF(Py_None); resultobj = Py_None;
22497 return resultobj;
22498 fail:
22499 return NULL;
22500 }
22501
22502
22503 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22504 PyObject *resultobj;
22505 wxListItem *arg1 = (wxListItem *) 0 ;
22506 long result;
22507 PyObject * obj0 = 0 ;
22508 char *kwnames[] = {
22509 (char *) "self", NULL
22510 };
22511
22512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
22513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22514 if (SWIG_arg_fail(1)) SWIG_fail;
22515 result = (long) ((arg1)->m_mask);
22516
22517 {
22518 resultobj = SWIG_From_long((long)(result));
22519 }
22520 return resultobj;
22521 fail:
22522 return NULL;
22523 }
22524
22525
22526 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22527 PyObject *resultobj;
22528 wxListItem *arg1 = (wxListItem *) 0 ;
22529 long arg2 ;
22530 PyObject * obj0 = 0 ;
22531 PyObject * obj1 = 0 ;
22532 char *kwnames[] = {
22533 (char *) "self",(char *) "m_itemId", NULL
22534 };
22535
22536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22538 if (SWIG_arg_fail(1)) SWIG_fail;
22539 {
22540 arg2 = (long)(SWIG_As_long(obj1));
22541 if (SWIG_arg_fail(2)) SWIG_fail;
22542 }
22543 if (arg1) (arg1)->m_itemId = arg2;
22544
22545 Py_INCREF(Py_None); resultobj = Py_None;
22546 return resultobj;
22547 fail:
22548 return NULL;
22549 }
22550
22551
22552 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22553 PyObject *resultobj;
22554 wxListItem *arg1 = (wxListItem *) 0 ;
22555 long result;
22556 PyObject * obj0 = 0 ;
22557 char *kwnames[] = {
22558 (char *) "self", NULL
22559 };
22560
22561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
22562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22563 if (SWIG_arg_fail(1)) SWIG_fail;
22564 result = (long) ((arg1)->m_itemId);
22565
22566 {
22567 resultobj = SWIG_From_long((long)(result));
22568 }
22569 return resultobj;
22570 fail:
22571 return NULL;
22572 }
22573
22574
22575 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22576 PyObject *resultobj;
22577 wxListItem *arg1 = (wxListItem *) 0 ;
22578 int arg2 ;
22579 PyObject * obj0 = 0 ;
22580 PyObject * obj1 = 0 ;
22581 char *kwnames[] = {
22582 (char *) "self",(char *) "m_col", NULL
22583 };
22584
22585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22587 if (SWIG_arg_fail(1)) SWIG_fail;
22588 {
22589 arg2 = (int)(SWIG_As_int(obj1));
22590 if (SWIG_arg_fail(2)) SWIG_fail;
22591 }
22592 if (arg1) (arg1)->m_col = arg2;
22593
22594 Py_INCREF(Py_None); resultobj = Py_None;
22595 return resultobj;
22596 fail:
22597 return NULL;
22598 }
22599
22600
22601 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22602 PyObject *resultobj;
22603 wxListItem *arg1 = (wxListItem *) 0 ;
22604 int result;
22605 PyObject * obj0 = 0 ;
22606 char *kwnames[] = {
22607 (char *) "self", NULL
22608 };
22609
22610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22612 if (SWIG_arg_fail(1)) SWIG_fail;
22613 result = (int) ((arg1)->m_col);
22614
22615 {
22616 resultobj = SWIG_From_int((int)(result));
22617 }
22618 return resultobj;
22619 fail:
22620 return NULL;
22621 }
22622
22623
22624 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22625 PyObject *resultobj;
22626 wxListItem *arg1 = (wxListItem *) 0 ;
22627 long arg2 ;
22628 PyObject * obj0 = 0 ;
22629 PyObject * obj1 = 0 ;
22630 char *kwnames[] = {
22631 (char *) "self",(char *) "m_state", NULL
22632 };
22633
22634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22636 if (SWIG_arg_fail(1)) SWIG_fail;
22637 {
22638 arg2 = (long)(SWIG_As_long(obj1));
22639 if (SWIG_arg_fail(2)) SWIG_fail;
22640 }
22641 if (arg1) (arg1)->m_state = arg2;
22642
22643 Py_INCREF(Py_None); resultobj = Py_None;
22644 return resultobj;
22645 fail:
22646 return NULL;
22647 }
22648
22649
22650 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22651 PyObject *resultobj;
22652 wxListItem *arg1 = (wxListItem *) 0 ;
22653 long result;
22654 PyObject * obj0 = 0 ;
22655 char *kwnames[] = {
22656 (char *) "self", NULL
22657 };
22658
22659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22661 if (SWIG_arg_fail(1)) SWIG_fail;
22662 result = (long) ((arg1)->m_state);
22663
22664 {
22665 resultobj = SWIG_From_long((long)(result));
22666 }
22667 return resultobj;
22668 fail:
22669 return NULL;
22670 }
22671
22672
22673 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22674 PyObject *resultobj;
22675 wxListItem *arg1 = (wxListItem *) 0 ;
22676 long arg2 ;
22677 PyObject * obj0 = 0 ;
22678 PyObject * obj1 = 0 ;
22679 char *kwnames[] = {
22680 (char *) "self",(char *) "m_stateMask", NULL
22681 };
22682
22683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
22684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22685 if (SWIG_arg_fail(1)) SWIG_fail;
22686 {
22687 arg2 = (long)(SWIG_As_long(obj1));
22688 if (SWIG_arg_fail(2)) SWIG_fail;
22689 }
22690 if (arg1) (arg1)->m_stateMask = arg2;
22691
22692 Py_INCREF(Py_None); resultobj = Py_None;
22693 return resultobj;
22694 fail:
22695 return NULL;
22696 }
22697
22698
22699 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22700 PyObject *resultobj;
22701 wxListItem *arg1 = (wxListItem *) 0 ;
22702 long result;
22703 PyObject * obj0 = 0 ;
22704 char *kwnames[] = {
22705 (char *) "self", NULL
22706 };
22707
22708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22710 if (SWIG_arg_fail(1)) SWIG_fail;
22711 result = (long) ((arg1)->m_stateMask);
22712
22713 {
22714 resultobj = SWIG_From_long((long)(result));
22715 }
22716 return resultobj;
22717 fail:
22718 return NULL;
22719 }
22720
22721
22722 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22723 PyObject *resultobj;
22724 wxListItem *arg1 = (wxListItem *) 0 ;
22725 wxString *arg2 = (wxString *) 0 ;
22726 bool temp2 = false ;
22727 PyObject * obj0 = 0 ;
22728 PyObject * obj1 = 0 ;
22729 char *kwnames[] = {
22730 (char *) "self",(char *) "m_text", NULL
22731 };
22732
22733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22735 if (SWIG_arg_fail(1)) SWIG_fail;
22736 {
22737 arg2 = wxString_in_helper(obj1);
22738 if (arg2 == NULL) SWIG_fail;
22739 temp2 = true;
22740 }
22741 if (arg1) (arg1)->m_text = *arg2;
22742
22743 Py_INCREF(Py_None); resultobj = Py_None;
22744 {
22745 if (temp2)
22746 delete arg2;
22747 }
22748 return resultobj;
22749 fail:
22750 {
22751 if (temp2)
22752 delete arg2;
22753 }
22754 return NULL;
22755 }
22756
22757
22758 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22759 PyObject *resultobj;
22760 wxListItem *arg1 = (wxListItem *) 0 ;
22761 wxString *result;
22762 PyObject * obj0 = 0 ;
22763 char *kwnames[] = {
22764 (char *) "self", NULL
22765 };
22766
22767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22769 if (SWIG_arg_fail(1)) SWIG_fail;
22770 result = (wxString *)& ((arg1)->m_text);
22771
22772 {
22773 #if wxUSE_UNICODE
22774 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22775 #else
22776 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22777 #endif
22778 }
22779 return resultobj;
22780 fail:
22781 return NULL;
22782 }
22783
22784
22785 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22786 PyObject *resultobj;
22787 wxListItem *arg1 = (wxListItem *) 0 ;
22788 int arg2 ;
22789 PyObject * obj0 = 0 ;
22790 PyObject * obj1 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "self",(char *) "m_image", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22797 if (SWIG_arg_fail(1)) SWIG_fail;
22798 {
22799 arg2 = (int)(SWIG_As_int(obj1));
22800 if (SWIG_arg_fail(2)) SWIG_fail;
22801 }
22802 if (arg1) (arg1)->m_image = arg2;
22803
22804 Py_INCREF(Py_None); resultobj = Py_None;
22805 return resultobj;
22806 fail:
22807 return NULL;
22808 }
22809
22810
22811 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22812 PyObject *resultobj;
22813 wxListItem *arg1 = (wxListItem *) 0 ;
22814 int result;
22815 PyObject * obj0 = 0 ;
22816 char *kwnames[] = {
22817 (char *) "self", NULL
22818 };
22819
22820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22822 if (SWIG_arg_fail(1)) SWIG_fail;
22823 result = (int) ((arg1)->m_image);
22824
22825 {
22826 resultobj = SWIG_From_int((int)(result));
22827 }
22828 return resultobj;
22829 fail:
22830 return NULL;
22831 }
22832
22833
22834 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22835 PyObject *resultobj;
22836 wxListItem *arg1 = (wxListItem *) 0 ;
22837 long arg2 ;
22838 PyObject * obj0 = 0 ;
22839 PyObject * obj1 = 0 ;
22840 char *kwnames[] = {
22841 (char *) "self",(char *) "m_data", NULL
22842 };
22843
22844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) 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 {
22848 arg2 = (long)(SWIG_As_long(obj1));
22849 if (SWIG_arg_fail(2)) SWIG_fail;
22850 }
22851 if (arg1) (arg1)->m_data = arg2;
22852
22853 Py_INCREF(Py_None); resultobj = Py_None;
22854 return resultobj;
22855 fail:
22856 return NULL;
22857 }
22858
22859
22860 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
22861 PyObject *resultobj;
22862 wxListItem *arg1 = (wxListItem *) 0 ;
22863 long result;
22864 PyObject * obj0 = 0 ;
22865 char *kwnames[] = {
22866 (char *) "self", NULL
22867 };
22868
22869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
22870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22871 if (SWIG_arg_fail(1)) SWIG_fail;
22872 result = (long) ((arg1)->m_data);
22873
22874 {
22875 resultobj = SWIG_From_long((long)(result));
22876 }
22877 return resultobj;
22878 fail:
22879 return NULL;
22880 }
22881
22882
22883 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
22884 PyObject *resultobj;
22885 wxListItem *arg1 = (wxListItem *) 0 ;
22886 int arg2 ;
22887 PyObject * obj0 = 0 ;
22888 PyObject * obj1 = 0 ;
22889 char *kwnames[] = {
22890 (char *) "self",(char *) "m_format", NULL
22891 };
22892
22893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
22894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22895 if (SWIG_arg_fail(1)) SWIG_fail;
22896 {
22897 arg2 = (int)(SWIG_As_int(obj1));
22898 if (SWIG_arg_fail(2)) SWIG_fail;
22899 }
22900 if (arg1) (arg1)->m_format = arg2;
22901
22902 Py_INCREF(Py_None); resultobj = Py_None;
22903 return resultobj;
22904 fail:
22905 return NULL;
22906 }
22907
22908
22909 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
22910 PyObject *resultobj;
22911 wxListItem *arg1 = (wxListItem *) 0 ;
22912 int result;
22913 PyObject * obj0 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
22919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22920 if (SWIG_arg_fail(1)) SWIG_fail;
22921 result = (int) ((arg1)->m_format);
22922
22923 {
22924 resultobj = SWIG_From_int((int)(result));
22925 }
22926 return resultobj;
22927 fail:
22928 return NULL;
22929 }
22930
22931
22932 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
22933 PyObject *resultobj;
22934 wxListItem *arg1 = (wxListItem *) 0 ;
22935 int arg2 ;
22936 PyObject * obj0 = 0 ;
22937 PyObject * obj1 = 0 ;
22938 char *kwnames[] = {
22939 (char *) "self",(char *) "m_width", NULL
22940 };
22941
22942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
22943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22944 if (SWIG_arg_fail(1)) SWIG_fail;
22945 {
22946 arg2 = (int)(SWIG_As_int(obj1));
22947 if (SWIG_arg_fail(2)) SWIG_fail;
22948 }
22949 if (arg1) (arg1)->m_width = arg2;
22950
22951 Py_INCREF(Py_None); resultobj = Py_None;
22952 return resultobj;
22953 fail:
22954 return NULL;
22955 }
22956
22957
22958 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
22959 PyObject *resultobj;
22960 wxListItem *arg1 = (wxListItem *) 0 ;
22961 int result;
22962 PyObject * obj0 = 0 ;
22963 char *kwnames[] = {
22964 (char *) "self", NULL
22965 };
22966
22967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
22968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22969 if (SWIG_arg_fail(1)) SWIG_fail;
22970 result = (int) ((arg1)->m_width);
22971
22972 {
22973 resultobj = SWIG_From_int((int)(result));
22974 }
22975 return resultobj;
22976 fail:
22977 return NULL;
22978 }
22979
22980
22981 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
22982 PyObject *obj;
22983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22984 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
22985 Py_INCREF(obj);
22986 return Py_BuildValue((char *)"");
22987 }
22988 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
22989 PyObject *resultobj;
22990 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22991 int arg2 = (int) 0 ;
22992 wxListEvent *result;
22993 PyObject * obj0 = 0 ;
22994 PyObject * obj1 = 0 ;
22995 char *kwnames[] = {
22996 (char *) "commandType",(char *) "id", NULL
22997 };
22998
22999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23000 if (obj0) {
23001 {
23002 arg1 = (wxEventType)(SWIG_As_int(obj0));
23003 if (SWIG_arg_fail(1)) SWIG_fail;
23004 }
23005 }
23006 if (obj1) {
23007 {
23008 arg2 = (int)(SWIG_As_int(obj1));
23009 if (SWIG_arg_fail(2)) SWIG_fail;
23010 }
23011 }
23012 {
23013 PyThreadState* __tstate = wxPyBeginAllowThreads();
23014 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23015
23016 wxPyEndAllowThreads(__tstate);
23017 if (PyErr_Occurred()) SWIG_fail;
23018 }
23019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23020 return resultobj;
23021 fail:
23022 return NULL;
23023 }
23024
23025
23026 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
23027 PyObject *resultobj;
23028 wxListEvent *arg1 = (wxListEvent *) 0 ;
23029 int arg2 ;
23030 PyObject * obj0 = 0 ;
23031 PyObject * obj1 = 0 ;
23032 char *kwnames[] = {
23033 (char *) "self",(char *) "m_code", NULL
23034 };
23035
23036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
23037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23038 if (SWIG_arg_fail(1)) SWIG_fail;
23039 {
23040 arg2 = (int)(SWIG_As_int(obj1));
23041 if (SWIG_arg_fail(2)) SWIG_fail;
23042 }
23043 if (arg1) (arg1)->m_code = arg2;
23044
23045 Py_INCREF(Py_None); resultobj = Py_None;
23046 return resultobj;
23047 fail:
23048 return NULL;
23049 }
23050
23051
23052 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
23053 PyObject *resultobj;
23054 wxListEvent *arg1 = (wxListEvent *) 0 ;
23055 int result;
23056 PyObject * obj0 = 0 ;
23057 char *kwnames[] = {
23058 (char *) "self", NULL
23059 };
23060
23061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
23062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23063 if (SWIG_arg_fail(1)) SWIG_fail;
23064 result = (int) ((arg1)->m_code);
23065
23066 {
23067 resultobj = SWIG_From_int((int)(result));
23068 }
23069 return resultobj;
23070 fail:
23071 return NULL;
23072 }
23073
23074
23075 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23076 PyObject *resultobj;
23077 wxListEvent *arg1 = (wxListEvent *) 0 ;
23078 long arg2 ;
23079 PyObject * obj0 = 0 ;
23080 PyObject * obj1 = 0 ;
23081 char *kwnames[] = {
23082 (char *) "self",(char *) "m_oldItemIndex", NULL
23083 };
23084
23085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23087 if (SWIG_arg_fail(1)) SWIG_fail;
23088 {
23089 arg2 = (long)(SWIG_As_long(obj1));
23090 if (SWIG_arg_fail(2)) SWIG_fail;
23091 }
23092 if (arg1) (arg1)->m_oldItemIndex = arg2;
23093
23094 Py_INCREF(Py_None); resultobj = Py_None;
23095 return resultobj;
23096 fail:
23097 return NULL;
23098 }
23099
23100
23101 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23102 PyObject *resultobj;
23103 wxListEvent *arg1 = (wxListEvent *) 0 ;
23104 long result;
23105 PyObject * obj0 = 0 ;
23106 char *kwnames[] = {
23107 (char *) "self", NULL
23108 };
23109
23110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23112 if (SWIG_arg_fail(1)) SWIG_fail;
23113 result = (long) ((arg1)->m_oldItemIndex);
23114
23115 {
23116 resultobj = SWIG_From_long((long)(result));
23117 }
23118 return resultobj;
23119 fail:
23120 return NULL;
23121 }
23122
23123
23124 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23125 PyObject *resultobj;
23126 wxListEvent *arg1 = (wxListEvent *) 0 ;
23127 long arg2 ;
23128 PyObject * obj0 = 0 ;
23129 PyObject * obj1 = 0 ;
23130 char *kwnames[] = {
23131 (char *) "self",(char *) "m_itemIndex", NULL
23132 };
23133
23134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23136 if (SWIG_arg_fail(1)) SWIG_fail;
23137 {
23138 arg2 = (long)(SWIG_As_long(obj1));
23139 if (SWIG_arg_fail(2)) SWIG_fail;
23140 }
23141 if (arg1) (arg1)->m_itemIndex = arg2;
23142
23143 Py_INCREF(Py_None); resultobj = Py_None;
23144 return resultobj;
23145 fail:
23146 return NULL;
23147 }
23148
23149
23150 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23151 PyObject *resultobj;
23152 wxListEvent *arg1 = (wxListEvent *) 0 ;
23153 long result;
23154 PyObject * obj0 = 0 ;
23155 char *kwnames[] = {
23156 (char *) "self", NULL
23157 };
23158
23159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail;
23162 result = (long) ((arg1)->m_itemIndex);
23163
23164 {
23165 resultobj = SWIG_From_long((long)(result));
23166 }
23167 return resultobj;
23168 fail:
23169 return NULL;
23170 }
23171
23172
23173 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23174 PyObject *resultobj;
23175 wxListEvent *arg1 = (wxListEvent *) 0 ;
23176 int arg2 ;
23177 PyObject * obj0 = 0 ;
23178 PyObject * obj1 = 0 ;
23179 char *kwnames[] = {
23180 (char *) "self",(char *) "m_col", NULL
23181 };
23182
23183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23185 if (SWIG_arg_fail(1)) SWIG_fail;
23186 {
23187 arg2 = (int)(SWIG_As_int(obj1));
23188 if (SWIG_arg_fail(2)) SWIG_fail;
23189 }
23190 if (arg1) (arg1)->m_col = arg2;
23191
23192 Py_INCREF(Py_None); resultobj = Py_None;
23193 return resultobj;
23194 fail:
23195 return NULL;
23196 }
23197
23198
23199 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23200 PyObject *resultobj;
23201 wxListEvent *arg1 = (wxListEvent *) 0 ;
23202 int result;
23203 PyObject * obj0 = 0 ;
23204 char *kwnames[] = {
23205 (char *) "self", NULL
23206 };
23207
23208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
23209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23210 if (SWIG_arg_fail(1)) SWIG_fail;
23211 result = (int) ((arg1)->m_col);
23212
23213 {
23214 resultobj = SWIG_From_int((int)(result));
23215 }
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23223 PyObject *resultobj;
23224 wxListEvent *arg1 = (wxListEvent *) 0 ;
23225 wxPoint *arg2 = (wxPoint *) 0 ;
23226 PyObject * obj0 = 0 ;
23227 PyObject * obj1 = 0 ;
23228 char *kwnames[] = {
23229 (char *) "self",(char *) "m_pointDrag", NULL
23230 };
23231
23232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
23233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23234 if (SWIG_arg_fail(1)) SWIG_fail;
23235 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23236 if (SWIG_arg_fail(2)) SWIG_fail;
23237 if (arg1) (arg1)->m_pointDrag = *arg2;
23238
23239 Py_INCREF(Py_None); resultobj = Py_None;
23240 return resultobj;
23241 fail:
23242 return NULL;
23243 }
23244
23245
23246 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23247 PyObject *resultobj;
23248 wxListEvent *arg1 = (wxListEvent *) 0 ;
23249 wxPoint *result;
23250 PyObject * obj0 = 0 ;
23251 char *kwnames[] = {
23252 (char *) "self", NULL
23253 };
23254
23255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
23256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23257 if (SWIG_arg_fail(1)) SWIG_fail;
23258 result = (wxPoint *)& ((arg1)->m_pointDrag);
23259
23260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23261 return resultobj;
23262 fail:
23263 return NULL;
23264 }
23265
23266
23267 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23268 PyObject *resultobj;
23269 wxListEvent *arg1 = (wxListEvent *) 0 ;
23270 wxListItem *result;
23271 PyObject * obj0 = 0 ;
23272 char *kwnames[] = {
23273 (char *) "self", NULL
23274 };
23275
23276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23278 if (SWIG_arg_fail(1)) SWIG_fail;
23279 result = (wxListItem *)& ((arg1)->m_item);
23280
23281 {
23282 resultobj = wxPyMake_wxObject(result, 0);
23283 }
23284 return resultobj;
23285 fail:
23286 return NULL;
23287 }
23288
23289
23290 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23291 PyObject *resultobj;
23292 wxListEvent *arg1 = (wxListEvent *) 0 ;
23293 int result;
23294 PyObject * obj0 = 0 ;
23295 char *kwnames[] = {
23296 (char *) "self", NULL
23297 };
23298
23299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23301 if (SWIG_arg_fail(1)) SWIG_fail;
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
23304 result = (int)(arg1)->GetKeyCode();
23305
23306 wxPyEndAllowThreads(__tstate);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
23309 {
23310 resultobj = SWIG_From_int((int)(result));
23311 }
23312 return resultobj;
23313 fail:
23314 return NULL;
23315 }
23316
23317
23318 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23319 PyObject *resultobj;
23320 wxListEvent *arg1 = (wxListEvent *) 0 ;
23321 long result;
23322 PyObject * obj0 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "self", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23329 if (SWIG_arg_fail(1)) SWIG_fail;
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 result = (long)(arg1)->GetIndex();
23333
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
23337 {
23338 resultobj = SWIG_From_long((long)(result));
23339 }
23340 return resultobj;
23341 fail:
23342 return NULL;
23343 }
23344
23345
23346 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23347 PyObject *resultobj;
23348 wxListEvent *arg1 = (wxListEvent *) 0 ;
23349 int result;
23350 PyObject * obj0 = 0 ;
23351 char *kwnames[] = {
23352 (char *) "self", NULL
23353 };
23354
23355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23357 if (SWIG_arg_fail(1)) SWIG_fail;
23358 {
23359 PyThreadState* __tstate = wxPyBeginAllowThreads();
23360 result = (int)(arg1)->GetColumn();
23361
23362 wxPyEndAllowThreads(__tstate);
23363 if (PyErr_Occurred()) SWIG_fail;
23364 }
23365 {
23366 resultobj = SWIG_From_int((int)(result));
23367 }
23368 return resultobj;
23369 fail:
23370 return NULL;
23371 }
23372
23373
23374 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23375 PyObject *resultobj;
23376 wxListEvent *arg1 = (wxListEvent *) 0 ;
23377 wxPoint result;
23378 PyObject * obj0 = 0 ;
23379 char *kwnames[] = {
23380 (char *) "self", NULL
23381 };
23382
23383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23385 if (SWIG_arg_fail(1)) SWIG_fail;
23386 {
23387 PyThreadState* __tstate = wxPyBeginAllowThreads();
23388 result = (arg1)->GetPoint();
23389
23390 wxPyEndAllowThreads(__tstate);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 }
23393 {
23394 wxPoint * resultptr;
23395 resultptr = new wxPoint((wxPoint &)(result));
23396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23397 }
23398 return resultobj;
23399 fail:
23400 return NULL;
23401 }
23402
23403
23404 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23405 PyObject *resultobj;
23406 wxListEvent *arg1 = (wxListEvent *) 0 ;
23407 wxString *result;
23408 PyObject * obj0 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "self", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
23414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23415 if (SWIG_arg_fail(1)) SWIG_fail;
23416 {
23417 PyThreadState* __tstate = wxPyBeginAllowThreads();
23418 {
23419 wxString const &_result_ref = (arg1)->GetLabel();
23420 result = (wxString *) &_result_ref;
23421 }
23422
23423 wxPyEndAllowThreads(__tstate);
23424 if (PyErr_Occurred()) SWIG_fail;
23425 }
23426 {
23427 #if wxUSE_UNICODE
23428 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23429 #else
23430 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23431 #endif
23432 }
23433 return resultobj;
23434 fail:
23435 return NULL;
23436 }
23437
23438
23439 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23440 PyObject *resultobj;
23441 wxListEvent *arg1 = (wxListEvent *) 0 ;
23442 wxString *result;
23443 PyObject * obj0 = 0 ;
23444 char *kwnames[] = {
23445 (char *) "self", NULL
23446 };
23447
23448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23450 if (SWIG_arg_fail(1)) SWIG_fail;
23451 {
23452 PyThreadState* __tstate = wxPyBeginAllowThreads();
23453 {
23454 wxString const &_result_ref = (arg1)->GetText();
23455 result = (wxString *) &_result_ref;
23456 }
23457
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 {
23462 #if wxUSE_UNICODE
23463 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23464 #else
23465 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23466 #endif
23467 }
23468 return resultobj;
23469 fail:
23470 return NULL;
23471 }
23472
23473
23474 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23475 PyObject *resultobj;
23476 wxListEvent *arg1 = (wxListEvent *) 0 ;
23477 int result;
23478 PyObject * obj0 = 0 ;
23479 char *kwnames[] = {
23480 (char *) "self", NULL
23481 };
23482
23483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
23484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23485 if (SWIG_arg_fail(1)) SWIG_fail;
23486 {
23487 PyThreadState* __tstate = wxPyBeginAllowThreads();
23488 result = (int)(arg1)->GetImage();
23489
23490 wxPyEndAllowThreads(__tstate);
23491 if (PyErr_Occurred()) SWIG_fail;
23492 }
23493 {
23494 resultobj = SWIG_From_int((int)(result));
23495 }
23496 return resultobj;
23497 fail:
23498 return NULL;
23499 }
23500
23501
23502 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23503 PyObject *resultobj;
23504 wxListEvent *arg1 = (wxListEvent *) 0 ;
23505 long result;
23506 PyObject * obj0 = 0 ;
23507 char *kwnames[] = {
23508 (char *) "self", NULL
23509 };
23510
23511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23513 if (SWIG_arg_fail(1)) SWIG_fail;
23514 {
23515 PyThreadState* __tstate = wxPyBeginAllowThreads();
23516 result = (long)(arg1)->GetData();
23517
23518 wxPyEndAllowThreads(__tstate);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 {
23522 resultobj = SWIG_From_long((long)(result));
23523 }
23524 return resultobj;
23525 fail:
23526 return NULL;
23527 }
23528
23529
23530 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23531 PyObject *resultobj;
23532 wxListEvent *arg1 = (wxListEvent *) 0 ;
23533 long result;
23534 PyObject * obj0 = 0 ;
23535 char *kwnames[] = {
23536 (char *) "self", NULL
23537 };
23538
23539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23541 if (SWIG_arg_fail(1)) SWIG_fail;
23542 {
23543 PyThreadState* __tstate = wxPyBeginAllowThreads();
23544 result = (long)(arg1)->GetMask();
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
23549 {
23550 resultobj = SWIG_From_long((long)(result));
23551 }
23552 return resultobj;
23553 fail:
23554 return NULL;
23555 }
23556
23557
23558 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxListEvent *arg1 = (wxListEvent *) 0 ;
23561 wxListItem *result;
23562 PyObject * obj0 = 0 ;
23563 char *kwnames[] = {
23564 (char *) "self", NULL
23565 };
23566
23567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23569 if (SWIG_arg_fail(1)) SWIG_fail;
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 {
23573 wxListItem const &_result_ref = (arg1)->GetItem();
23574 result = (wxListItem *) &_result_ref;
23575 }
23576
23577 wxPyEndAllowThreads(__tstate);
23578 if (PyErr_Occurred()) SWIG_fail;
23579 }
23580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23581 return resultobj;
23582 fail:
23583 return NULL;
23584 }
23585
23586
23587 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23588 PyObject *resultobj;
23589 wxListEvent *arg1 = (wxListEvent *) 0 ;
23590 long result;
23591 PyObject * obj0 = 0 ;
23592 char *kwnames[] = {
23593 (char *) "self", NULL
23594 };
23595
23596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23598 if (SWIG_arg_fail(1)) SWIG_fail;
23599 {
23600 PyThreadState* __tstate = wxPyBeginAllowThreads();
23601 result = (long)(arg1)->GetCacheFrom();
23602
23603 wxPyEndAllowThreads(__tstate);
23604 if (PyErr_Occurred()) SWIG_fail;
23605 }
23606 {
23607 resultobj = SWIG_From_long((long)(result));
23608 }
23609 return resultobj;
23610 fail:
23611 return NULL;
23612 }
23613
23614
23615 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23616 PyObject *resultobj;
23617 wxListEvent *arg1 = (wxListEvent *) 0 ;
23618 long result;
23619 PyObject * obj0 = 0 ;
23620 char *kwnames[] = {
23621 (char *) "self", NULL
23622 };
23623
23624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23626 if (SWIG_arg_fail(1)) SWIG_fail;
23627 {
23628 PyThreadState* __tstate = wxPyBeginAllowThreads();
23629 result = (long)(arg1)->GetCacheTo();
23630
23631 wxPyEndAllowThreads(__tstate);
23632 if (PyErr_Occurred()) SWIG_fail;
23633 }
23634 {
23635 resultobj = SWIG_From_long((long)(result));
23636 }
23637 return resultobj;
23638 fail:
23639 return NULL;
23640 }
23641
23642
23643 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23644 PyObject *resultobj;
23645 wxListEvent *arg1 = (wxListEvent *) 0 ;
23646 bool result;
23647 PyObject * obj0 = 0 ;
23648 char *kwnames[] = {
23649 (char *) "self", NULL
23650 };
23651
23652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23654 if (SWIG_arg_fail(1)) SWIG_fail;
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
23662 {
23663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23664 }
23665 return resultobj;
23666 fail:
23667 return NULL;
23668 }
23669
23670
23671 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23672 PyObject *resultobj;
23673 wxListEvent *arg1 = (wxListEvent *) 0 ;
23674 bool arg2 ;
23675 PyObject * obj0 = 0 ;
23676 PyObject * obj1 = 0 ;
23677 char *kwnames[] = {
23678 (char *) "self",(char *) "editCancelled", NULL
23679 };
23680
23681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23683 if (SWIG_arg_fail(1)) SWIG_fail;
23684 {
23685 arg2 = (bool)(SWIG_As_bool(obj1));
23686 if (SWIG_arg_fail(2)) SWIG_fail;
23687 }
23688 {
23689 PyThreadState* __tstate = wxPyBeginAllowThreads();
23690 (arg1)->SetEditCanceled(arg2);
23691
23692 wxPyEndAllowThreads(__tstate);
23693 if (PyErr_Occurred()) SWIG_fail;
23694 }
23695 Py_INCREF(Py_None); resultobj = Py_None;
23696 return resultobj;
23697 fail:
23698 return NULL;
23699 }
23700
23701
23702 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23703 PyObject *obj;
23704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23705 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23706 Py_INCREF(obj);
23707 return Py_BuildValue((char *)"");
23708 }
23709 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23710 PyObject *resultobj;
23711 wxWindow *arg1 = (wxWindow *) 0 ;
23712 int arg2 = (int) -1 ;
23713 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23714 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23715 wxSize const &arg4_defvalue = wxDefaultSize ;
23716 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23717 long arg5 = (long) wxLC_ICON ;
23718 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23719 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23720 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23721 wxString *arg7 = (wxString *) &arg7_defvalue ;
23722 wxPyListCtrl *result;
23723 wxPoint temp3 ;
23724 wxSize temp4 ;
23725 bool temp7 = false ;
23726 PyObject * obj0 = 0 ;
23727 PyObject * obj1 = 0 ;
23728 PyObject * obj2 = 0 ;
23729 PyObject * obj3 = 0 ;
23730 PyObject * obj4 = 0 ;
23731 PyObject * obj5 = 0 ;
23732 PyObject * obj6 = 0 ;
23733 char *kwnames[] = {
23734 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23735 };
23736
23737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23739 if (SWIG_arg_fail(1)) SWIG_fail;
23740 if (obj1) {
23741 {
23742 arg2 = (int)(SWIG_As_int(obj1));
23743 if (SWIG_arg_fail(2)) SWIG_fail;
23744 }
23745 }
23746 if (obj2) {
23747 {
23748 arg3 = &temp3;
23749 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23750 }
23751 }
23752 if (obj3) {
23753 {
23754 arg4 = &temp4;
23755 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23756 }
23757 }
23758 if (obj4) {
23759 {
23760 arg5 = (long)(SWIG_As_long(obj4));
23761 if (SWIG_arg_fail(5)) SWIG_fail;
23762 }
23763 }
23764 if (obj5) {
23765 {
23766 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23767 if (SWIG_arg_fail(6)) SWIG_fail;
23768 if (arg6 == NULL) {
23769 SWIG_null_ref("wxValidator");
23770 }
23771 if (SWIG_arg_fail(6)) SWIG_fail;
23772 }
23773 }
23774 if (obj6) {
23775 {
23776 arg7 = wxString_in_helper(obj6);
23777 if (arg7 == NULL) SWIG_fail;
23778 temp7 = true;
23779 }
23780 }
23781 {
23782 if (!wxPyCheckForApp()) SWIG_fail;
23783 PyThreadState* __tstate = wxPyBeginAllowThreads();
23784 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23785
23786 wxPyEndAllowThreads(__tstate);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 }
23789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23790 {
23791 if (temp7)
23792 delete arg7;
23793 }
23794 return resultobj;
23795 fail:
23796 {
23797 if (temp7)
23798 delete arg7;
23799 }
23800 return NULL;
23801 }
23802
23803
23804 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23805 PyObject *resultobj;
23806 wxPyListCtrl *result;
23807 char *kwnames[] = {
23808 NULL
23809 };
23810
23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23812 {
23813 if (!wxPyCheckForApp()) SWIG_fail;
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 result = (wxPyListCtrl *)new wxPyListCtrl();
23816
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23821 return resultobj;
23822 fail:
23823 return NULL;
23824 }
23825
23826
23827 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23828 PyObject *resultobj;
23829 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23830 wxWindow *arg2 = (wxWindow *) 0 ;
23831 int arg3 = (int) -1 ;
23832 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23833 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23834 wxSize const &arg5_defvalue = wxDefaultSize ;
23835 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23836 long arg6 = (long) wxLC_ICON ;
23837 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23838 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23839 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23840 wxString *arg8 = (wxString *) &arg8_defvalue ;
23841 bool result;
23842 wxPoint temp4 ;
23843 wxSize temp5 ;
23844 bool temp8 = false ;
23845 PyObject * obj0 = 0 ;
23846 PyObject * obj1 = 0 ;
23847 PyObject * obj2 = 0 ;
23848 PyObject * obj3 = 0 ;
23849 PyObject * obj4 = 0 ;
23850 PyObject * obj5 = 0 ;
23851 PyObject * obj6 = 0 ;
23852 PyObject * obj7 = 0 ;
23853 char *kwnames[] = {
23854 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23855 };
23856
23857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23859 if (SWIG_arg_fail(1)) SWIG_fail;
23860 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23861 if (SWIG_arg_fail(2)) SWIG_fail;
23862 if (obj2) {
23863 {
23864 arg3 = (int)(SWIG_As_int(obj2));
23865 if (SWIG_arg_fail(3)) SWIG_fail;
23866 }
23867 }
23868 if (obj3) {
23869 {
23870 arg4 = &temp4;
23871 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23872 }
23873 }
23874 if (obj4) {
23875 {
23876 arg5 = &temp5;
23877 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23878 }
23879 }
23880 if (obj5) {
23881 {
23882 arg6 = (long)(SWIG_As_long(obj5));
23883 if (SWIG_arg_fail(6)) SWIG_fail;
23884 }
23885 }
23886 if (obj6) {
23887 {
23888 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23889 if (SWIG_arg_fail(7)) SWIG_fail;
23890 if (arg7 == NULL) {
23891 SWIG_null_ref("wxValidator");
23892 }
23893 if (SWIG_arg_fail(7)) SWIG_fail;
23894 }
23895 }
23896 if (obj7) {
23897 {
23898 arg8 = wxString_in_helper(obj7);
23899 if (arg8 == NULL) SWIG_fail;
23900 temp8 = true;
23901 }
23902 }
23903 {
23904 PyThreadState* __tstate = wxPyBeginAllowThreads();
23905 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23906
23907 wxPyEndAllowThreads(__tstate);
23908 if (PyErr_Occurred()) SWIG_fail;
23909 }
23910 {
23911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23912 }
23913 {
23914 if (temp8)
23915 delete arg8;
23916 }
23917 return resultobj;
23918 fail:
23919 {
23920 if (temp8)
23921 delete arg8;
23922 }
23923 return NULL;
23924 }
23925
23926
23927 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23928 PyObject *resultobj;
23929 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23930 PyObject *arg2 = (PyObject *) 0 ;
23931 PyObject *arg3 = (PyObject *) 0 ;
23932 PyObject * obj0 = 0 ;
23933 PyObject * obj1 = 0 ;
23934 PyObject * obj2 = 0 ;
23935 char *kwnames[] = {
23936 (char *) "self",(char *) "self",(char *) "_class", NULL
23937 };
23938
23939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23941 if (SWIG_arg_fail(1)) SWIG_fail;
23942 arg2 = obj1;
23943 arg3 = obj2;
23944 {
23945 PyThreadState* __tstate = wxPyBeginAllowThreads();
23946 (arg1)->_setCallbackInfo(arg2,arg3);
23947
23948 wxPyEndAllowThreads(__tstate);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 }
23951 Py_INCREF(Py_None); resultobj = Py_None;
23952 return resultobj;
23953 fail:
23954 return NULL;
23955 }
23956
23957
23958 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23959 PyObject *resultobj;
23960 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23961 wxColour *arg2 = 0 ;
23962 bool result;
23963 wxColour temp2 ;
23964 PyObject * obj0 = 0 ;
23965 PyObject * obj1 = 0 ;
23966 char *kwnames[] = {
23967 (char *) "self",(char *) "col", NULL
23968 };
23969
23970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
23971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23972 if (SWIG_arg_fail(1)) SWIG_fail;
23973 {
23974 arg2 = &temp2;
23975 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23976 }
23977 {
23978 PyThreadState* __tstate = wxPyBeginAllowThreads();
23979 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
23980
23981 wxPyEndAllowThreads(__tstate);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 }
23984 {
23985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23986 }
23987 return resultobj;
23988 fail:
23989 return NULL;
23990 }
23991
23992
23993 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23994 PyObject *resultobj;
23995 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23996 wxColour *arg2 = 0 ;
23997 bool result;
23998 wxColour temp2 ;
23999 PyObject * obj0 = 0 ;
24000 PyObject * obj1 = 0 ;
24001 char *kwnames[] = {
24002 (char *) "self",(char *) "col", NULL
24003 };
24004
24005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24007 if (SWIG_arg_fail(1)) SWIG_fail;
24008 {
24009 arg2 = &temp2;
24010 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24011 }
24012 {
24013 PyThreadState* __tstate = wxPyBeginAllowThreads();
24014 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24015
24016 wxPyEndAllowThreads(__tstate);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
24019 {
24020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24021 }
24022 return resultobj;
24023 fail:
24024 return NULL;
24025 }
24026
24027
24028 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24029 PyObject *resultobj;
24030 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24031 int arg2 ;
24032 wxListItem *result;
24033 PyObject * obj0 = 0 ;
24034 PyObject * obj1 = 0 ;
24035 char *kwnames[] = {
24036 (char *) "self",(char *) "col", NULL
24037 };
24038
24039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
24040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24041 if (SWIG_arg_fail(1)) SWIG_fail;
24042 {
24043 arg2 = (int)(SWIG_As_int(obj1));
24044 if (SWIG_arg_fail(2)) SWIG_fail;
24045 }
24046 {
24047 PyThreadState* __tstate = wxPyBeginAllowThreads();
24048 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24049
24050 wxPyEndAllowThreads(__tstate);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
24053 {
24054 resultobj = wxPyMake_wxObject(result, 0);
24055 }
24056 return resultobj;
24057 fail:
24058 return NULL;
24059 }
24060
24061
24062 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24063 PyObject *resultobj;
24064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24065 int arg2 ;
24066 wxListItem *arg3 = 0 ;
24067 bool result;
24068 PyObject * obj0 = 0 ;
24069 PyObject * obj1 = 0 ;
24070 PyObject * obj2 = 0 ;
24071 char *kwnames[] = {
24072 (char *) "self",(char *) "col",(char *) "item", NULL
24073 };
24074
24075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
24076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24077 if (SWIG_arg_fail(1)) SWIG_fail;
24078 {
24079 arg2 = (int)(SWIG_As_int(obj1));
24080 if (SWIG_arg_fail(2)) SWIG_fail;
24081 }
24082 {
24083 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24084 if (SWIG_arg_fail(3)) SWIG_fail;
24085 if (arg3 == NULL) {
24086 SWIG_null_ref("wxListItem");
24087 }
24088 if (SWIG_arg_fail(3)) SWIG_fail;
24089 }
24090 {
24091 PyThreadState* __tstate = wxPyBeginAllowThreads();
24092 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24093
24094 wxPyEndAllowThreads(__tstate);
24095 if (PyErr_Occurred()) SWIG_fail;
24096 }
24097 {
24098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24099 }
24100 return resultobj;
24101 fail:
24102 return NULL;
24103 }
24104
24105
24106 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24107 PyObject *resultobj;
24108 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24109 int arg2 ;
24110 int result;
24111 PyObject * obj0 = 0 ;
24112 PyObject * obj1 = 0 ;
24113 char *kwnames[] = {
24114 (char *) "self",(char *) "col", NULL
24115 };
24116
24117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24119 if (SWIG_arg_fail(1)) SWIG_fail;
24120 {
24121 arg2 = (int)(SWIG_As_int(obj1));
24122 if (SWIG_arg_fail(2)) SWIG_fail;
24123 }
24124 {
24125 PyThreadState* __tstate = wxPyBeginAllowThreads();
24126 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24127
24128 wxPyEndAllowThreads(__tstate);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 }
24131 {
24132 resultobj = SWIG_From_int((int)(result));
24133 }
24134 return resultobj;
24135 fail:
24136 return NULL;
24137 }
24138
24139
24140 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24141 PyObject *resultobj;
24142 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24143 int arg2 ;
24144 int arg3 ;
24145 bool result;
24146 PyObject * obj0 = 0 ;
24147 PyObject * obj1 = 0 ;
24148 PyObject * obj2 = 0 ;
24149 char *kwnames[] = {
24150 (char *) "self",(char *) "col",(char *) "width", NULL
24151 };
24152
24153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24155 if (SWIG_arg_fail(1)) SWIG_fail;
24156 {
24157 arg2 = (int)(SWIG_As_int(obj1));
24158 if (SWIG_arg_fail(2)) SWIG_fail;
24159 }
24160 {
24161 arg3 = (int)(SWIG_As_int(obj2));
24162 if (SWIG_arg_fail(3)) SWIG_fail;
24163 }
24164 {
24165 PyThreadState* __tstate = wxPyBeginAllowThreads();
24166 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24167
24168 wxPyEndAllowThreads(__tstate);
24169 if (PyErr_Occurred()) SWIG_fail;
24170 }
24171 {
24172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24173 }
24174 return resultobj;
24175 fail:
24176 return NULL;
24177 }
24178
24179
24180 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24181 PyObject *resultobj;
24182 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24183 int result;
24184 PyObject * obj0 = 0 ;
24185 char *kwnames[] = {
24186 (char *) "self", NULL
24187 };
24188
24189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
24190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24191 if (SWIG_arg_fail(1)) SWIG_fail;
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24195
24196 wxPyEndAllowThreads(__tstate);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 }
24199 {
24200 resultobj = SWIG_From_int((int)(result));
24201 }
24202 return resultobj;
24203 fail:
24204 return NULL;
24205 }
24206
24207
24208 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj;
24210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24211 wxRect result;
24212 PyObject * obj0 = 0 ;
24213 char *kwnames[] = {
24214 (char *) "self", NULL
24215 };
24216
24217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24219 if (SWIG_arg_fail(1)) SWIG_fail;
24220 {
24221 PyThreadState* __tstate = wxPyBeginAllowThreads();
24222 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24223
24224 wxPyEndAllowThreads(__tstate);
24225 if (PyErr_Occurred()) SWIG_fail;
24226 }
24227 {
24228 wxRect * resultptr;
24229 resultptr = new wxRect((wxRect &)(result));
24230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24231 }
24232 return resultobj;
24233 fail:
24234 return NULL;
24235 }
24236
24237
24238 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24239 PyObject *resultobj;
24240 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24241 long arg2 ;
24242 int arg3 = (int) 0 ;
24243 wxListItem *result;
24244 PyObject * obj0 = 0 ;
24245 PyObject * obj1 = 0 ;
24246 PyObject * obj2 = 0 ;
24247 char *kwnames[] = {
24248 (char *) "self",(char *) "itemId",(char *) "col", NULL
24249 };
24250
24251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24253 if (SWIG_arg_fail(1)) SWIG_fail;
24254 {
24255 arg2 = (long)(SWIG_As_long(obj1));
24256 if (SWIG_arg_fail(2)) SWIG_fail;
24257 }
24258 if (obj2) {
24259 {
24260 arg3 = (int)(SWIG_As_int(obj2));
24261 if (SWIG_arg_fail(3)) SWIG_fail;
24262 }
24263 }
24264 {
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24267
24268 wxPyEndAllowThreads(__tstate);
24269 if (PyErr_Occurred()) SWIG_fail;
24270 }
24271 {
24272 resultobj = wxPyMake_wxObject(result, 0);
24273 }
24274 return resultobj;
24275 fail:
24276 return NULL;
24277 }
24278
24279
24280 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24281 PyObject *resultobj;
24282 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24283 wxListItem *arg2 = 0 ;
24284 bool result;
24285 PyObject * obj0 = 0 ;
24286 PyObject * obj1 = 0 ;
24287 char *kwnames[] = {
24288 (char *) "self",(char *) "info", NULL
24289 };
24290
24291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24293 if (SWIG_arg_fail(1)) SWIG_fail;
24294 {
24295 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24296 if (SWIG_arg_fail(2)) SWIG_fail;
24297 if (arg2 == NULL) {
24298 SWIG_null_ref("wxListItem");
24299 }
24300 if (SWIG_arg_fail(2)) SWIG_fail;
24301 }
24302 {
24303 PyThreadState* __tstate = wxPyBeginAllowThreads();
24304 result = (bool)(arg1)->SetItem(*arg2);
24305
24306 wxPyEndAllowThreads(__tstate);
24307 if (PyErr_Occurred()) SWIG_fail;
24308 }
24309 {
24310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24311 }
24312 return resultobj;
24313 fail:
24314 return NULL;
24315 }
24316
24317
24318 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24319 PyObject *resultobj;
24320 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24321 long arg2 ;
24322 int arg3 ;
24323 wxString *arg4 = 0 ;
24324 int arg5 = (int) -1 ;
24325 long result;
24326 bool temp4 = false ;
24327 PyObject * obj0 = 0 ;
24328 PyObject * obj1 = 0 ;
24329 PyObject * obj2 = 0 ;
24330 PyObject * obj3 = 0 ;
24331 PyObject * obj4 = 0 ;
24332 char *kwnames[] = {
24333 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24334 };
24335
24336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24338 if (SWIG_arg_fail(1)) SWIG_fail;
24339 {
24340 arg2 = (long)(SWIG_As_long(obj1));
24341 if (SWIG_arg_fail(2)) SWIG_fail;
24342 }
24343 {
24344 arg3 = (int)(SWIG_As_int(obj2));
24345 if (SWIG_arg_fail(3)) SWIG_fail;
24346 }
24347 {
24348 arg4 = wxString_in_helper(obj3);
24349 if (arg4 == NULL) SWIG_fail;
24350 temp4 = true;
24351 }
24352 if (obj4) {
24353 {
24354 arg5 = (int)(SWIG_As_int(obj4));
24355 if (SWIG_arg_fail(5)) SWIG_fail;
24356 }
24357 }
24358 {
24359 PyThreadState* __tstate = wxPyBeginAllowThreads();
24360 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24361
24362 wxPyEndAllowThreads(__tstate);
24363 if (PyErr_Occurred()) SWIG_fail;
24364 }
24365 {
24366 resultobj = SWIG_From_long((long)(result));
24367 }
24368 {
24369 if (temp4)
24370 delete arg4;
24371 }
24372 return resultobj;
24373 fail:
24374 {
24375 if (temp4)
24376 delete arg4;
24377 }
24378 return NULL;
24379 }
24380
24381
24382 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24383 PyObject *resultobj;
24384 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24385 long arg2 ;
24386 long arg3 ;
24387 int result;
24388 PyObject * obj0 = 0 ;
24389 PyObject * obj1 = 0 ;
24390 PyObject * obj2 = 0 ;
24391 char *kwnames[] = {
24392 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24393 };
24394
24395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24397 if (SWIG_arg_fail(1)) SWIG_fail;
24398 {
24399 arg2 = (long)(SWIG_As_long(obj1));
24400 if (SWIG_arg_fail(2)) SWIG_fail;
24401 }
24402 {
24403 arg3 = (long)(SWIG_As_long(obj2));
24404 if (SWIG_arg_fail(3)) SWIG_fail;
24405 }
24406 {
24407 PyThreadState* __tstate = wxPyBeginAllowThreads();
24408 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24409
24410 wxPyEndAllowThreads(__tstate);
24411 if (PyErr_Occurred()) SWIG_fail;
24412 }
24413 {
24414 resultobj = SWIG_From_int((int)(result));
24415 }
24416 return resultobj;
24417 fail:
24418 return NULL;
24419 }
24420
24421
24422 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24423 PyObject *resultobj;
24424 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24425 long arg2 ;
24426 long arg3 ;
24427 long arg4 ;
24428 bool result;
24429 PyObject * obj0 = 0 ;
24430 PyObject * obj1 = 0 ;
24431 PyObject * obj2 = 0 ;
24432 PyObject * obj3 = 0 ;
24433 char *kwnames[] = {
24434 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24435 };
24436
24437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24439 if (SWIG_arg_fail(1)) SWIG_fail;
24440 {
24441 arg2 = (long)(SWIG_As_long(obj1));
24442 if (SWIG_arg_fail(2)) SWIG_fail;
24443 }
24444 {
24445 arg3 = (long)(SWIG_As_long(obj2));
24446 if (SWIG_arg_fail(3)) SWIG_fail;
24447 }
24448 {
24449 arg4 = (long)(SWIG_As_long(obj3));
24450 if (SWIG_arg_fail(4)) SWIG_fail;
24451 }
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 {
24460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24461 }
24462 return resultobj;
24463 fail:
24464 return NULL;
24465 }
24466
24467
24468 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24469 PyObject *resultobj;
24470 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24471 long arg2 ;
24472 int arg3 ;
24473 int arg4 = (int) -1 ;
24474 bool result;
24475 PyObject * obj0 = 0 ;
24476 PyObject * obj1 = 0 ;
24477 PyObject * obj2 = 0 ;
24478 PyObject * obj3 = 0 ;
24479 char *kwnames[] = {
24480 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24481 };
24482
24483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24485 if (SWIG_arg_fail(1)) SWIG_fail;
24486 {
24487 arg2 = (long)(SWIG_As_long(obj1));
24488 if (SWIG_arg_fail(2)) SWIG_fail;
24489 }
24490 {
24491 arg3 = (int)(SWIG_As_int(obj2));
24492 if (SWIG_arg_fail(3)) SWIG_fail;
24493 }
24494 if (obj3) {
24495 {
24496 arg4 = (int)(SWIG_As_int(obj3));
24497 if (SWIG_arg_fail(4)) SWIG_fail;
24498 }
24499 }
24500 {
24501 PyThreadState* __tstate = wxPyBeginAllowThreads();
24502 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24503
24504 wxPyEndAllowThreads(__tstate);
24505 if (PyErr_Occurred()) SWIG_fail;
24506 }
24507 {
24508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24509 }
24510 return resultobj;
24511 fail:
24512 return NULL;
24513 }
24514
24515
24516 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24517 PyObject *resultobj;
24518 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24519 long arg2 ;
24520 wxString result;
24521 PyObject * obj0 = 0 ;
24522 PyObject * obj1 = 0 ;
24523 char *kwnames[] = {
24524 (char *) "self",(char *) "item", NULL
24525 };
24526
24527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24529 if (SWIG_arg_fail(1)) SWIG_fail;
24530 {
24531 arg2 = (long)(SWIG_As_long(obj1));
24532 if (SWIG_arg_fail(2)) SWIG_fail;
24533 }
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 {
24542 #if wxUSE_UNICODE
24543 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24544 #else
24545 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24546 #endif
24547 }
24548 return resultobj;
24549 fail:
24550 return NULL;
24551 }
24552
24553
24554 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24555 PyObject *resultobj;
24556 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24557 long arg2 ;
24558 wxString *arg3 = 0 ;
24559 bool temp3 = false ;
24560 PyObject * obj0 = 0 ;
24561 PyObject * obj1 = 0 ;
24562 PyObject * obj2 = 0 ;
24563 char *kwnames[] = {
24564 (char *) "self",(char *) "item",(char *) "str", NULL
24565 };
24566
24567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24569 if (SWIG_arg_fail(1)) SWIG_fail;
24570 {
24571 arg2 = (long)(SWIG_As_long(obj1));
24572 if (SWIG_arg_fail(2)) SWIG_fail;
24573 }
24574 {
24575 arg3 = wxString_in_helper(obj2);
24576 if (arg3 == NULL) SWIG_fail;
24577 temp3 = true;
24578 }
24579 {
24580 PyThreadState* __tstate = wxPyBeginAllowThreads();
24581 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24582
24583 wxPyEndAllowThreads(__tstate);
24584 if (PyErr_Occurred()) SWIG_fail;
24585 }
24586 Py_INCREF(Py_None); resultobj = Py_None;
24587 {
24588 if (temp3)
24589 delete arg3;
24590 }
24591 return resultobj;
24592 fail:
24593 {
24594 if (temp3)
24595 delete arg3;
24596 }
24597 return NULL;
24598 }
24599
24600
24601 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24602 PyObject *resultobj;
24603 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24604 long arg2 ;
24605 long result;
24606 PyObject * obj0 = 0 ;
24607 PyObject * obj1 = 0 ;
24608 char *kwnames[] = {
24609 (char *) "self",(char *) "item", NULL
24610 };
24611
24612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24614 if (SWIG_arg_fail(1)) SWIG_fail;
24615 {
24616 arg2 = (long)(SWIG_As_long(obj1));
24617 if (SWIG_arg_fail(2)) SWIG_fail;
24618 }
24619 {
24620 PyThreadState* __tstate = wxPyBeginAllowThreads();
24621 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24622
24623 wxPyEndAllowThreads(__tstate);
24624 if (PyErr_Occurred()) SWIG_fail;
24625 }
24626 {
24627 resultobj = SWIG_From_long((long)(result));
24628 }
24629 return resultobj;
24630 fail:
24631 return NULL;
24632 }
24633
24634
24635 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24636 PyObject *resultobj;
24637 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24638 long arg2 ;
24639 long arg3 ;
24640 bool result;
24641 PyObject * obj0 = 0 ;
24642 PyObject * obj1 = 0 ;
24643 PyObject * obj2 = 0 ;
24644 char *kwnames[] = {
24645 (char *) "self",(char *) "item",(char *) "data", NULL
24646 };
24647
24648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24650 if (SWIG_arg_fail(1)) SWIG_fail;
24651 {
24652 arg2 = (long)(SWIG_As_long(obj1));
24653 if (SWIG_arg_fail(2)) SWIG_fail;
24654 }
24655 {
24656 arg3 = (long)(SWIG_As_long(obj2));
24657 if (SWIG_arg_fail(3)) SWIG_fail;
24658 }
24659 {
24660 PyThreadState* __tstate = wxPyBeginAllowThreads();
24661 result = (bool)(arg1)->SetItemData(arg2,arg3);
24662
24663 wxPyEndAllowThreads(__tstate);
24664 if (PyErr_Occurred()) SWIG_fail;
24665 }
24666 {
24667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24668 }
24669 return resultobj;
24670 fail:
24671 return NULL;
24672 }
24673
24674
24675 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24676 PyObject *resultobj;
24677 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24678 long arg2 ;
24679 wxPoint result;
24680 PyObject * obj0 = 0 ;
24681 PyObject * obj1 = 0 ;
24682 char *kwnames[] = {
24683 (char *) "self",(char *) "item", NULL
24684 };
24685
24686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
24687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24688 if (SWIG_arg_fail(1)) SWIG_fail;
24689 {
24690 arg2 = (long)(SWIG_As_long(obj1));
24691 if (SWIG_arg_fail(2)) SWIG_fail;
24692 }
24693 {
24694 PyThreadState* __tstate = wxPyBeginAllowThreads();
24695 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24696
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 {
24701 wxPoint * resultptr;
24702 resultptr = new wxPoint((wxPoint &)(result));
24703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24704 }
24705 return resultobj;
24706 fail:
24707 return NULL;
24708 }
24709
24710
24711 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24712 PyObject *resultobj;
24713 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24714 long arg2 ;
24715 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24716 wxRect result;
24717 PyObject * obj0 = 0 ;
24718 PyObject * obj1 = 0 ;
24719 PyObject * obj2 = 0 ;
24720 char *kwnames[] = {
24721 (char *) "self",(char *) "item",(char *) "code", NULL
24722 };
24723
24724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24726 if (SWIG_arg_fail(1)) SWIG_fail;
24727 {
24728 arg2 = (long)(SWIG_As_long(obj1));
24729 if (SWIG_arg_fail(2)) SWIG_fail;
24730 }
24731 if (obj2) {
24732 {
24733 arg3 = (int)(SWIG_As_int(obj2));
24734 if (SWIG_arg_fail(3)) SWIG_fail;
24735 }
24736 }
24737 {
24738 PyThreadState* __tstate = wxPyBeginAllowThreads();
24739 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24740
24741 wxPyEndAllowThreads(__tstate);
24742 if (PyErr_Occurred()) SWIG_fail;
24743 }
24744 {
24745 wxRect * resultptr;
24746 resultptr = new wxRect((wxRect &)(result));
24747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24748 }
24749 return resultobj;
24750 fail:
24751 return NULL;
24752 }
24753
24754
24755 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24756 PyObject *resultobj;
24757 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24758 long arg2 ;
24759 wxPoint *arg3 = 0 ;
24760 bool result;
24761 wxPoint temp3 ;
24762 PyObject * obj0 = 0 ;
24763 PyObject * obj1 = 0 ;
24764 PyObject * obj2 = 0 ;
24765 char *kwnames[] = {
24766 (char *) "self",(char *) "item",(char *) "pos", NULL
24767 };
24768
24769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24771 if (SWIG_arg_fail(1)) SWIG_fail;
24772 {
24773 arg2 = (long)(SWIG_As_long(obj1));
24774 if (SWIG_arg_fail(2)) SWIG_fail;
24775 }
24776 {
24777 arg3 = &temp3;
24778 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24779 }
24780 {
24781 PyThreadState* __tstate = wxPyBeginAllowThreads();
24782 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24783
24784 wxPyEndAllowThreads(__tstate);
24785 if (PyErr_Occurred()) SWIG_fail;
24786 }
24787 {
24788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24789 }
24790 return resultobj;
24791 fail:
24792 return NULL;
24793 }
24794
24795
24796 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24797 PyObject *resultobj;
24798 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24799 int result;
24800 PyObject * obj0 = 0 ;
24801 char *kwnames[] = {
24802 (char *) "self", NULL
24803 };
24804
24805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24807 if (SWIG_arg_fail(1)) SWIG_fail;
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 {
24816 resultobj = SWIG_From_int((int)(result));
24817 }
24818 return resultobj;
24819 fail:
24820 return NULL;
24821 }
24822
24823
24824 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
24825 PyObject *resultobj;
24826 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24827 int result;
24828 PyObject * obj0 = 0 ;
24829 char *kwnames[] = {
24830 (char *) "self", NULL
24831 };
24832
24833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
24834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24835 if (SWIG_arg_fail(1)) SWIG_fail;
24836 {
24837 PyThreadState* __tstate = wxPyBeginAllowThreads();
24838 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24839
24840 wxPyEndAllowThreads(__tstate);
24841 if (PyErr_Occurred()) SWIG_fail;
24842 }
24843 {
24844 resultobj = SWIG_From_int((int)(result));
24845 }
24846 return resultobj;
24847 fail:
24848 return NULL;
24849 }
24850
24851
24852 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24853 PyObject *resultobj;
24854 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24855 wxSize result;
24856 PyObject * obj0 = 0 ;
24857 char *kwnames[] = {
24858 (char *) "self", NULL
24859 };
24860
24861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
24862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24863 if (SWIG_arg_fail(1)) SWIG_fail;
24864 {
24865 PyThreadState* __tstate = wxPyBeginAllowThreads();
24866 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24867
24868 wxPyEndAllowThreads(__tstate);
24869 if (PyErr_Occurred()) SWIG_fail;
24870 }
24871 {
24872 wxSize * resultptr;
24873 resultptr = new wxSize((wxSize &)(result));
24874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24875 }
24876 return resultobj;
24877 fail:
24878 return NULL;
24879 }
24880
24881
24882 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24883 PyObject *resultobj;
24884 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24885 int arg2 ;
24886 bool arg3 = (bool) false ;
24887 PyObject * obj0 = 0 ;
24888 PyObject * obj1 = 0 ;
24889 PyObject * obj2 = 0 ;
24890 char *kwnames[] = {
24891 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24892 };
24893
24894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
24895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24896 if (SWIG_arg_fail(1)) SWIG_fail;
24897 {
24898 arg2 = (int)(SWIG_As_int(obj1));
24899 if (SWIG_arg_fail(2)) SWIG_fail;
24900 }
24901 if (obj2) {
24902 {
24903 arg3 = (bool)(SWIG_As_bool(obj2));
24904 if (SWIG_arg_fail(3)) SWIG_fail;
24905 }
24906 }
24907 {
24908 PyThreadState* __tstate = wxPyBeginAllowThreads();
24909 (arg1)->SetItemSpacing(arg2,arg3);
24910
24911 wxPyEndAllowThreads(__tstate);
24912 if (PyErr_Occurred()) SWIG_fail;
24913 }
24914 Py_INCREF(Py_None); resultobj = Py_None;
24915 return resultobj;
24916 fail:
24917 return NULL;
24918 }
24919
24920
24921 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24922 PyObject *resultobj;
24923 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24924 int result;
24925 PyObject * obj0 = 0 ;
24926 char *kwnames[] = {
24927 (char *) "self", NULL
24928 };
24929
24930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
24931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24932 if (SWIG_arg_fail(1)) SWIG_fail;
24933 {
24934 PyThreadState* __tstate = wxPyBeginAllowThreads();
24935 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
24936
24937 wxPyEndAllowThreads(__tstate);
24938 if (PyErr_Occurred()) SWIG_fail;
24939 }
24940 {
24941 resultobj = SWIG_From_int((int)(result));
24942 }
24943 return resultobj;
24944 fail:
24945 return NULL;
24946 }
24947
24948
24949 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24950 PyObject *resultobj;
24951 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24952 wxColour result;
24953 PyObject * obj0 = 0 ;
24954 char *kwnames[] = {
24955 (char *) "self", NULL
24956 };
24957
24958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
24959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail;
24961 {
24962 PyThreadState* __tstate = wxPyBeginAllowThreads();
24963 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
24964
24965 wxPyEndAllowThreads(__tstate);
24966 if (PyErr_Occurred()) SWIG_fail;
24967 }
24968 {
24969 wxColour * resultptr;
24970 resultptr = new wxColour((wxColour &)(result));
24971 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24972 }
24973 return resultobj;
24974 fail:
24975 return NULL;
24976 }
24977
24978
24979 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24980 PyObject *resultobj;
24981 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24982 wxColour *arg2 = 0 ;
24983 wxColour temp2 ;
24984 PyObject * obj0 = 0 ;
24985 PyObject * obj1 = 0 ;
24986 char *kwnames[] = {
24987 (char *) "self",(char *) "col", NULL
24988 };
24989
24990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
24991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24992 if (SWIG_arg_fail(1)) SWIG_fail;
24993 {
24994 arg2 = &temp2;
24995 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24996 }
24997 {
24998 PyThreadState* __tstate = wxPyBeginAllowThreads();
24999 (arg1)->SetTextColour((wxColour const &)*arg2);
25000
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 Py_INCREF(Py_None); resultobj = Py_None;
25005 return resultobj;
25006 fail:
25007 return NULL;
25008 }
25009
25010
25011 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
25012 PyObject *resultobj;
25013 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25014 long result;
25015 PyObject * obj0 = 0 ;
25016 char *kwnames[] = {
25017 (char *) "self", NULL
25018 };
25019
25020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
25021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25022 if (SWIG_arg_fail(1)) SWIG_fail;
25023 {
25024 PyThreadState* __tstate = wxPyBeginAllowThreads();
25025 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25026
25027 wxPyEndAllowThreads(__tstate);
25028 if (PyErr_Occurred()) SWIG_fail;
25029 }
25030 {
25031 resultobj = SWIG_From_long((long)(result));
25032 }
25033 return resultobj;
25034 fail:
25035 return NULL;
25036 }
25037
25038
25039 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
25040 PyObject *resultobj;
25041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25042 long arg2 ;
25043 bool arg3 = (bool) true ;
25044 PyObject * obj0 = 0 ;
25045 PyObject * obj1 = 0 ;
25046 PyObject * obj2 = 0 ;
25047 char *kwnames[] = {
25048 (char *) "self",(char *) "style",(char *) "add", NULL
25049 };
25050
25051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
25052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25053 if (SWIG_arg_fail(1)) SWIG_fail;
25054 {
25055 arg2 = (long)(SWIG_As_long(obj1));
25056 if (SWIG_arg_fail(2)) SWIG_fail;
25057 }
25058 if (obj2) {
25059 {
25060 arg3 = (bool)(SWIG_As_bool(obj2));
25061 if (SWIG_arg_fail(3)) SWIG_fail;
25062 }
25063 }
25064 {
25065 PyThreadState* __tstate = wxPyBeginAllowThreads();
25066 (arg1)->SetSingleStyle(arg2,arg3);
25067
25068 wxPyEndAllowThreads(__tstate);
25069 if (PyErr_Occurred()) SWIG_fail;
25070 }
25071 Py_INCREF(Py_None); resultobj = Py_None;
25072 return resultobj;
25073 fail:
25074 return NULL;
25075 }
25076
25077
25078 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
25079 PyObject *resultobj;
25080 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25081 long arg2 ;
25082 PyObject * obj0 = 0 ;
25083 PyObject * obj1 = 0 ;
25084 char *kwnames[] = {
25085 (char *) "self",(char *) "style", NULL
25086 };
25087
25088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
25089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25090 if (SWIG_arg_fail(1)) SWIG_fail;
25091 {
25092 arg2 = (long)(SWIG_As_long(obj1));
25093 if (SWIG_arg_fail(2)) SWIG_fail;
25094 }
25095 {
25096 PyThreadState* __tstate = wxPyBeginAllowThreads();
25097 (arg1)->SetWindowStyleFlag(arg2);
25098
25099 wxPyEndAllowThreads(__tstate);
25100 if (PyErr_Occurred()) SWIG_fail;
25101 }
25102 Py_INCREF(Py_None); resultobj = Py_None;
25103 return resultobj;
25104 fail:
25105 return NULL;
25106 }
25107
25108
25109 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
25110 PyObject *resultobj;
25111 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25112 long arg2 ;
25113 int arg3 = (int) wxLIST_NEXT_ALL ;
25114 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25115 long result;
25116 PyObject * obj0 = 0 ;
25117 PyObject * obj1 = 0 ;
25118 PyObject * obj2 = 0 ;
25119 PyObject * obj3 = 0 ;
25120 char *kwnames[] = {
25121 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25122 };
25123
25124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25126 if (SWIG_arg_fail(1)) SWIG_fail;
25127 {
25128 arg2 = (long)(SWIG_As_long(obj1));
25129 if (SWIG_arg_fail(2)) SWIG_fail;
25130 }
25131 if (obj2) {
25132 {
25133 arg3 = (int)(SWIG_As_int(obj2));
25134 if (SWIG_arg_fail(3)) SWIG_fail;
25135 }
25136 }
25137 if (obj3) {
25138 {
25139 arg4 = (int)(SWIG_As_int(obj3));
25140 if (SWIG_arg_fail(4)) SWIG_fail;
25141 }
25142 }
25143 {
25144 PyThreadState* __tstate = wxPyBeginAllowThreads();
25145 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25146
25147 wxPyEndAllowThreads(__tstate);
25148 if (PyErr_Occurred()) SWIG_fail;
25149 }
25150 {
25151 resultobj = SWIG_From_long((long)(result));
25152 }
25153 return resultobj;
25154 fail:
25155 return NULL;
25156 }
25157
25158
25159 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25160 PyObject *resultobj;
25161 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25162 int arg2 ;
25163 wxImageList *result;
25164 PyObject * obj0 = 0 ;
25165 PyObject * obj1 = 0 ;
25166 char *kwnames[] = {
25167 (char *) "self",(char *) "which", NULL
25168 };
25169
25170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
25171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25172 if (SWIG_arg_fail(1)) SWIG_fail;
25173 {
25174 arg2 = (int)(SWIG_As_int(obj1));
25175 if (SWIG_arg_fail(2)) SWIG_fail;
25176 }
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25180
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
25184 {
25185 resultobj = wxPyMake_wxObject(result, 0);
25186 }
25187 return resultobj;
25188 fail:
25189 return NULL;
25190 }
25191
25192
25193 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25194 PyObject *resultobj;
25195 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25196 wxImageList *arg2 = (wxImageList *) 0 ;
25197 int arg3 ;
25198 PyObject * obj0 = 0 ;
25199 PyObject * obj1 = 0 ;
25200 PyObject * obj2 = 0 ;
25201 char *kwnames[] = {
25202 (char *) "self",(char *) "imageList",(char *) "which", NULL
25203 };
25204
25205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25207 if (SWIG_arg_fail(1)) SWIG_fail;
25208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25209 if (SWIG_arg_fail(2)) SWIG_fail;
25210 {
25211 arg3 = (int)(SWIG_As_int(obj2));
25212 if (SWIG_arg_fail(3)) SWIG_fail;
25213 }
25214 {
25215 PyThreadState* __tstate = wxPyBeginAllowThreads();
25216 (arg1)->SetImageList(arg2,arg3);
25217
25218 wxPyEndAllowThreads(__tstate);
25219 if (PyErr_Occurred()) SWIG_fail;
25220 }
25221 Py_INCREF(Py_None); resultobj = Py_None;
25222 return resultobj;
25223 fail:
25224 return NULL;
25225 }
25226
25227
25228 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25229 PyObject *resultobj;
25230 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25231 wxImageList *arg2 = (wxImageList *) 0 ;
25232 int arg3 ;
25233 PyObject * obj0 = 0 ;
25234 PyObject * obj1 = 0 ;
25235 PyObject * obj2 = 0 ;
25236 char *kwnames[] = {
25237 (char *) "self",(char *) "imageList",(char *) "which", NULL
25238 };
25239
25240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25242 if (SWIG_arg_fail(1)) SWIG_fail;
25243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25244 if (SWIG_arg_fail(2)) SWIG_fail;
25245 {
25246 arg3 = (int)(SWIG_As_int(obj2));
25247 if (SWIG_arg_fail(3)) SWIG_fail;
25248 }
25249 {
25250 PyThreadState* __tstate = wxPyBeginAllowThreads();
25251 (arg1)->AssignImageList(arg2,arg3);
25252
25253 wxPyEndAllowThreads(__tstate);
25254 if (PyErr_Occurred()) SWIG_fail;
25255 }
25256 Py_INCREF(Py_None); resultobj = Py_None;
25257 return resultobj;
25258 fail:
25259 return NULL;
25260 }
25261
25262
25263 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25264 PyObject *resultobj;
25265 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25266 bool result;
25267 PyObject * obj0 = 0 ;
25268 char *kwnames[] = {
25269 (char *) "self", NULL
25270 };
25271
25272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25274 if (SWIG_arg_fail(1)) SWIG_fail;
25275 {
25276 PyThreadState* __tstate = wxPyBeginAllowThreads();
25277 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25278
25279 wxPyEndAllowThreads(__tstate);
25280 if (PyErr_Occurred()) SWIG_fail;
25281 }
25282 {
25283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25284 }
25285 return resultobj;
25286 fail:
25287 return NULL;
25288 }
25289
25290
25291 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25292 PyObject *resultobj;
25293 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25294 bool result;
25295 PyObject * obj0 = 0 ;
25296 char *kwnames[] = {
25297 (char *) "self", NULL
25298 };
25299
25300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25302 if (SWIG_arg_fail(1)) SWIG_fail;
25303 {
25304 PyThreadState* __tstate = wxPyBeginAllowThreads();
25305 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25306
25307 wxPyEndAllowThreads(__tstate);
25308 if (PyErr_Occurred()) SWIG_fail;
25309 }
25310 {
25311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25312 }
25313 return resultobj;
25314 fail:
25315 return NULL;
25316 }
25317
25318
25319 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25320 PyObject *resultobj;
25321 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25322 long arg2 ;
25323 PyObject * obj0 = 0 ;
25324 PyObject * obj1 = 0 ;
25325 char *kwnames[] = {
25326 (char *) "self",(char *) "item", NULL
25327 };
25328
25329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
25330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25331 if (SWIG_arg_fail(1)) SWIG_fail;
25332 {
25333 arg2 = (long)(SWIG_As_long(obj1));
25334 if (SWIG_arg_fail(2)) SWIG_fail;
25335 }
25336 {
25337 PyThreadState* __tstate = wxPyBeginAllowThreads();
25338 (arg1)->RefreshItem(arg2);
25339
25340 wxPyEndAllowThreads(__tstate);
25341 if (PyErr_Occurred()) SWIG_fail;
25342 }
25343 Py_INCREF(Py_None); resultobj = Py_None;
25344 return resultobj;
25345 fail:
25346 return NULL;
25347 }
25348
25349
25350 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25351 PyObject *resultobj;
25352 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25353 long arg2 ;
25354 long arg3 ;
25355 PyObject * obj0 = 0 ;
25356 PyObject * obj1 = 0 ;
25357 PyObject * obj2 = 0 ;
25358 char *kwnames[] = {
25359 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25360 };
25361
25362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25364 if (SWIG_arg_fail(1)) SWIG_fail;
25365 {
25366 arg2 = (long)(SWIG_As_long(obj1));
25367 if (SWIG_arg_fail(2)) SWIG_fail;
25368 }
25369 {
25370 arg3 = (long)(SWIG_As_long(obj2));
25371 if (SWIG_arg_fail(3)) SWIG_fail;
25372 }
25373 {
25374 PyThreadState* __tstate = wxPyBeginAllowThreads();
25375 (arg1)->RefreshItems(arg2,arg3);
25376
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 Py_INCREF(Py_None); resultobj = Py_None;
25381 return resultobj;
25382 fail:
25383 return NULL;
25384 }
25385
25386
25387 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25388 PyObject *resultobj;
25389 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25390 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25391 bool result;
25392 PyObject * obj0 = 0 ;
25393 PyObject * obj1 = 0 ;
25394 char *kwnames[] = {
25395 (char *) "self",(char *) "flag", NULL
25396 };
25397
25398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25400 if (SWIG_arg_fail(1)) SWIG_fail;
25401 if (obj1) {
25402 {
25403 arg2 = (int)(SWIG_As_int(obj1));
25404 if (SWIG_arg_fail(2)) SWIG_fail;
25405 }
25406 }
25407 {
25408 PyThreadState* __tstate = wxPyBeginAllowThreads();
25409 result = (bool)(arg1)->Arrange(arg2);
25410
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
25414 {
25415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25416 }
25417 return resultobj;
25418 fail:
25419 return NULL;
25420 }
25421
25422
25423 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25424 PyObject *resultobj;
25425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25426 long arg2 ;
25427 bool result;
25428 PyObject * obj0 = 0 ;
25429 PyObject * obj1 = 0 ;
25430 char *kwnames[] = {
25431 (char *) "self",(char *) "item", NULL
25432 };
25433
25434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25436 if (SWIG_arg_fail(1)) SWIG_fail;
25437 {
25438 arg2 = (long)(SWIG_As_long(obj1));
25439 if (SWIG_arg_fail(2)) SWIG_fail;
25440 }
25441 {
25442 PyThreadState* __tstate = wxPyBeginAllowThreads();
25443 result = (bool)(arg1)->DeleteItem(arg2);
25444
25445 wxPyEndAllowThreads(__tstate);
25446 if (PyErr_Occurred()) SWIG_fail;
25447 }
25448 {
25449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25450 }
25451 return resultobj;
25452 fail:
25453 return NULL;
25454 }
25455
25456
25457 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25458 PyObject *resultobj;
25459 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25460 bool result;
25461 PyObject * obj0 = 0 ;
25462 char *kwnames[] = {
25463 (char *) "self", NULL
25464 };
25465
25466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25468 if (SWIG_arg_fail(1)) SWIG_fail;
25469 {
25470 PyThreadState* __tstate = wxPyBeginAllowThreads();
25471 result = (bool)(arg1)->DeleteAllItems();
25472
25473 wxPyEndAllowThreads(__tstate);
25474 if (PyErr_Occurred()) SWIG_fail;
25475 }
25476 {
25477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25478 }
25479 return resultobj;
25480 fail:
25481 return NULL;
25482 }
25483
25484
25485 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25486 PyObject *resultobj;
25487 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25488 int arg2 ;
25489 bool result;
25490 PyObject * obj0 = 0 ;
25491 PyObject * obj1 = 0 ;
25492 char *kwnames[] = {
25493 (char *) "self",(char *) "col", NULL
25494 };
25495
25496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25498 if (SWIG_arg_fail(1)) SWIG_fail;
25499 {
25500 arg2 = (int)(SWIG_As_int(obj1));
25501 if (SWIG_arg_fail(2)) SWIG_fail;
25502 }
25503 {
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 result = (bool)(arg1)->DeleteColumn(arg2);
25506
25507 wxPyEndAllowThreads(__tstate);
25508 if (PyErr_Occurred()) SWIG_fail;
25509 }
25510 {
25511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25512 }
25513 return resultobj;
25514 fail:
25515 return NULL;
25516 }
25517
25518
25519 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25520 PyObject *resultobj;
25521 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25522 bool result;
25523 PyObject * obj0 = 0 ;
25524 char *kwnames[] = {
25525 (char *) "self", NULL
25526 };
25527
25528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25530 if (SWIG_arg_fail(1)) SWIG_fail;
25531 {
25532 PyThreadState* __tstate = wxPyBeginAllowThreads();
25533 result = (bool)(arg1)->DeleteAllColumns();
25534
25535 wxPyEndAllowThreads(__tstate);
25536 if (PyErr_Occurred()) SWIG_fail;
25537 }
25538 {
25539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25540 }
25541 return resultobj;
25542 fail:
25543 return NULL;
25544 }
25545
25546
25547 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25548 PyObject *resultobj;
25549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25550 PyObject * obj0 = 0 ;
25551 char *kwnames[] = {
25552 (char *) "self", NULL
25553 };
25554
25555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25557 if (SWIG_arg_fail(1)) SWIG_fail;
25558 {
25559 PyThreadState* __tstate = wxPyBeginAllowThreads();
25560 (arg1)->ClearAll();
25561
25562 wxPyEndAllowThreads(__tstate);
25563 if (PyErr_Occurred()) SWIG_fail;
25564 }
25565 Py_INCREF(Py_None); resultobj = Py_None;
25566 return resultobj;
25567 fail:
25568 return NULL;
25569 }
25570
25571
25572 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25573 PyObject *resultobj;
25574 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25575 long arg2 ;
25576 PyObject * obj0 = 0 ;
25577 PyObject * obj1 = 0 ;
25578 char *kwnames[] = {
25579 (char *) "self",(char *) "item", NULL
25580 };
25581
25582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25584 if (SWIG_arg_fail(1)) SWIG_fail;
25585 {
25586 arg2 = (long)(SWIG_As_long(obj1));
25587 if (SWIG_arg_fail(2)) SWIG_fail;
25588 }
25589 {
25590 PyThreadState* __tstate = wxPyBeginAllowThreads();
25591 (arg1)->EditLabel(arg2);
25592
25593 wxPyEndAllowThreads(__tstate);
25594 if (PyErr_Occurred()) SWIG_fail;
25595 }
25596 Py_INCREF(Py_None); resultobj = Py_None;
25597 return resultobj;
25598 fail:
25599 return NULL;
25600 }
25601
25602
25603 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25604 PyObject *resultobj;
25605 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25606 long arg2 ;
25607 bool result;
25608 PyObject * obj0 = 0 ;
25609 PyObject * obj1 = 0 ;
25610 char *kwnames[] = {
25611 (char *) "self",(char *) "item", NULL
25612 };
25613
25614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25616 if (SWIG_arg_fail(1)) SWIG_fail;
25617 {
25618 arg2 = (long)(SWIG_As_long(obj1));
25619 if (SWIG_arg_fail(2)) SWIG_fail;
25620 }
25621 {
25622 PyThreadState* __tstate = wxPyBeginAllowThreads();
25623 result = (bool)(arg1)->EnsureVisible(arg2);
25624
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 {
25629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25630 }
25631 return resultobj;
25632 fail:
25633 return NULL;
25634 }
25635
25636
25637 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25638 PyObject *resultobj;
25639 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25640 long arg2 ;
25641 wxString *arg3 = 0 ;
25642 bool arg4 = (bool) false ;
25643 long result;
25644 bool temp3 = false ;
25645 PyObject * obj0 = 0 ;
25646 PyObject * obj1 = 0 ;
25647 PyObject * obj2 = 0 ;
25648 PyObject * obj3 = 0 ;
25649 char *kwnames[] = {
25650 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25651 };
25652
25653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25655 if (SWIG_arg_fail(1)) SWIG_fail;
25656 {
25657 arg2 = (long)(SWIG_As_long(obj1));
25658 if (SWIG_arg_fail(2)) SWIG_fail;
25659 }
25660 {
25661 arg3 = wxString_in_helper(obj2);
25662 if (arg3 == NULL) SWIG_fail;
25663 temp3 = true;
25664 }
25665 if (obj3) {
25666 {
25667 arg4 = (bool)(SWIG_As_bool(obj3));
25668 if (SWIG_arg_fail(4)) SWIG_fail;
25669 }
25670 }
25671 {
25672 PyThreadState* __tstate = wxPyBeginAllowThreads();
25673 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25674
25675 wxPyEndAllowThreads(__tstate);
25676 if (PyErr_Occurred()) SWIG_fail;
25677 }
25678 {
25679 resultobj = SWIG_From_long((long)(result));
25680 }
25681 {
25682 if (temp3)
25683 delete arg3;
25684 }
25685 return resultobj;
25686 fail:
25687 {
25688 if (temp3)
25689 delete arg3;
25690 }
25691 return NULL;
25692 }
25693
25694
25695 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25696 PyObject *resultobj;
25697 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25698 long arg2 ;
25699 long arg3 ;
25700 long result;
25701 PyObject * obj0 = 0 ;
25702 PyObject * obj1 = 0 ;
25703 PyObject * obj2 = 0 ;
25704 char *kwnames[] = {
25705 (char *) "self",(char *) "start",(char *) "data", NULL
25706 };
25707
25708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25710 if (SWIG_arg_fail(1)) SWIG_fail;
25711 {
25712 arg2 = (long)(SWIG_As_long(obj1));
25713 if (SWIG_arg_fail(2)) SWIG_fail;
25714 }
25715 {
25716 arg3 = (long)(SWIG_As_long(obj2));
25717 if (SWIG_arg_fail(3)) SWIG_fail;
25718 }
25719 {
25720 PyThreadState* __tstate = wxPyBeginAllowThreads();
25721 result = (long)(arg1)->FindItem(arg2,arg3);
25722
25723 wxPyEndAllowThreads(__tstate);
25724 if (PyErr_Occurred()) SWIG_fail;
25725 }
25726 {
25727 resultobj = SWIG_From_long((long)(result));
25728 }
25729 return resultobj;
25730 fail:
25731 return NULL;
25732 }
25733
25734
25735 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25736 PyObject *resultobj;
25737 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25738 long arg2 ;
25739 wxPoint *arg3 = 0 ;
25740 int arg4 ;
25741 long result;
25742 wxPoint temp3 ;
25743 PyObject * obj0 = 0 ;
25744 PyObject * obj1 = 0 ;
25745 PyObject * obj2 = 0 ;
25746 PyObject * obj3 = 0 ;
25747 char *kwnames[] = {
25748 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25749 };
25750
25751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25753 if (SWIG_arg_fail(1)) SWIG_fail;
25754 {
25755 arg2 = (long)(SWIG_As_long(obj1));
25756 if (SWIG_arg_fail(2)) SWIG_fail;
25757 }
25758 {
25759 arg3 = &temp3;
25760 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25761 }
25762 {
25763 arg4 = (int)(SWIG_As_int(obj3));
25764 if (SWIG_arg_fail(4)) SWIG_fail;
25765 }
25766 {
25767 PyThreadState* __tstate = wxPyBeginAllowThreads();
25768 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25769
25770 wxPyEndAllowThreads(__tstate);
25771 if (PyErr_Occurred()) SWIG_fail;
25772 }
25773 {
25774 resultobj = SWIG_From_long((long)(result));
25775 }
25776 return resultobj;
25777 fail:
25778 return NULL;
25779 }
25780
25781
25782 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25783 PyObject *resultobj;
25784 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25785 wxPoint *arg2 = 0 ;
25786 int *arg3 = 0 ;
25787 long result;
25788 wxPoint temp2 ;
25789 int temp3 ;
25790 int res3 = 0 ;
25791 PyObject * obj0 = 0 ;
25792 PyObject * obj1 = 0 ;
25793 char *kwnames[] = {
25794 (char *) "self",(char *) "point", NULL
25795 };
25796
25797 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25800 if (SWIG_arg_fail(1)) SWIG_fail;
25801 {
25802 arg2 = &temp2;
25803 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25804 }
25805 {
25806 PyThreadState* __tstate = wxPyBeginAllowThreads();
25807 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25808
25809 wxPyEndAllowThreads(__tstate);
25810 if (PyErr_Occurred()) SWIG_fail;
25811 }
25812 {
25813 resultobj = SWIG_From_long((long)(result));
25814 }
25815 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25816 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25817 return resultobj;
25818 fail:
25819 return NULL;
25820 }
25821
25822
25823 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25824 PyObject *resultobj;
25825 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25826 wxListItem *arg2 = 0 ;
25827 long result;
25828 PyObject * obj0 = 0 ;
25829 PyObject * obj1 = 0 ;
25830 char *kwnames[] = {
25831 (char *) "self",(char *) "info", NULL
25832 };
25833
25834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
25835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25836 if (SWIG_arg_fail(1)) SWIG_fail;
25837 {
25838 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25839 if (SWIG_arg_fail(2)) SWIG_fail;
25840 if (arg2 == NULL) {
25841 SWIG_null_ref("wxListItem");
25842 }
25843 if (SWIG_arg_fail(2)) SWIG_fail;
25844 }
25845 {
25846 PyThreadState* __tstate = wxPyBeginAllowThreads();
25847 result = (long)(arg1)->InsertItem(*arg2);
25848
25849 wxPyEndAllowThreads(__tstate);
25850 if (PyErr_Occurred()) SWIG_fail;
25851 }
25852 {
25853 resultobj = SWIG_From_long((long)(result));
25854 }
25855 return resultobj;
25856 fail:
25857 return NULL;
25858 }
25859
25860
25861 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25862 PyObject *resultobj;
25863 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25864 long arg2 ;
25865 wxString *arg3 = 0 ;
25866 long result;
25867 bool temp3 = false ;
25868 PyObject * obj0 = 0 ;
25869 PyObject * obj1 = 0 ;
25870 PyObject * obj2 = 0 ;
25871 char *kwnames[] = {
25872 (char *) "self",(char *) "index",(char *) "label", NULL
25873 };
25874
25875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) 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 = (long)(SWIG_As_long(obj1));
25880 if (SWIG_arg_fail(2)) SWIG_fail;
25881 }
25882 {
25883 arg3 = wxString_in_helper(obj2);
25884 if (arg3 == NULL) SWIG_fail;
25885 temp3 = true;
25886 }
25887 {
25888 PyThreadState* __tstate = wxPyBeginAllowThreads();
25889 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25890
25891 wxPyEndAllowThreads(__tstate);
25892 if (PyErr_Occurred()) SWIG_fail;
25893 }
25894 {
25895 resultobj = SWIG_From_long((long)(result));
25896 }
25897 {
25898 if (temp3)
25899 delete arg3;
25900 }
25901 return resultobj;
25902 fail:
25903 {
25904 if (temp3)
25905 delete arg3;
25906 }
25907 return NULL;
25908 }
25909
25910
25911 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
25912 PyObject *resultobj;
25913 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25914 long arg2 ;
25915 int arg3 ;
25916 long result;
25917 PyObject * obj0 = 0 ;
25918 PyObject * obj1 = 0 ;
25919 PyObject * obj2 = 0 ;
25920 char *kwnames[] = {
25921 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25922 };
25923
25924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25926 if (SWIG_arg_fail(1)) SWIG_fail;
25927 {
25928 arg2 = (long)(SWIG_As_long(obj1));
25929 if (SWIG_arg_fail(2)) SWIG_fail;
25930 }
25931 {
25932 arg3 = (int)(SWIG_As_int(obj2));
25933 if (SWIG_arg_fail(3)) SWIG_fail;
25934 }
25935 {
25936 PyThreadState* __tstate = wxPyBeginAllowThreads();
25937 result = (long)(arg1)->InsertItem(arg2,arg3);
25938
25939 wxPyEndAllowThreads(__tstate);
25940 if (PyErr_Occurred()) SWIG_fail;
25941 }
25942 {
25943 resultobj = SWIG_From_long((long)(result));
25944 }
25945 return resultobj;
25946 fail:
25947 return NULL;
25948 }
25949
25950
25951 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25952 PyObject *resultobj;
25953 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25954 long arg2 ;
25955 wxString *arg3 = 0 ;
25956 int arg4 ;
25957 long result;
25958 bool temp3 = false ;
25959 PyObject * obj0 = 0 ;
25960 PyObject * obj1 = 0 ;
25961 PyObject * obj2 = 0 ;
25962 PyObject * obj3 = 0 ;
25963 char *kwnames[] = {
25964 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25965 };
25966
25967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25969 if (SWIG_arg_fail(1)) SWIG_fail;
25970 {
25971 arg2 = (long)(SWIG_As_long(obj1));
25972 if (SWIG_arg_fail(2)) SWIG_fail;
25973 }
25974 {
25975 arg3 = wxString_in_helper(obj2);
25976 if (arg3 == NULL) SWIG_fail;
25977 temp3 = true;
25978 }
25979 {
25980 arg4 = (int)(SWIG_As_int(obj3));
25981 if (SWIG_arg_fail(4)) SWIG_fail;
25982 }
25983 {
25984 PyThreadState* __tstate = wxPyBeginAllowThreads();
25985 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
25986
25987 wxPyEndAllowThreads(__tstate);
25988 if (PyErr_Occurred()) SWIG_fail;
25989 }
25990 {
25991 resultobj = SWIG_From_long((long)(result));
25992 }
25993 {
25994 if (temp3)
25995 delete arg3;
25996 }
25997 return resultobj;
25998 fail:
25999 {
26000 if (temp3)
26001 delete arg3;
26002 }
26003 return NULL;
26004 }
26005
26006
26007 static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
26008 PyObject *resultobj;
26009 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26010 long arg2 ;
26011 wxListItem *arg3 = 0 ;
26012 long result;
26013 PyObject * obj0 = 0 ;
26014 PyObject * obj1 = 0 ;
26015 PyObject * obj2 = 0 ;
26016 char *kwnames[] = {
26017 (char *) "self",(char *) "col",(char *) "info", NULL
26018 };
26019
26020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26022 if (SWIG_arg_fail(1)) SWIG_fail;
26023 {
26024 arg2 = (long)(SWIG_As_long(obj1));
26025 if (SWIG_arg_fail(2)) SWIG_fail;
26026 }
26027 {
26028 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26029 if (SWIG_arg_fail(3)) SWIG_fail;
26030 if (arg3 == NULL) {
26031 SWIG_null_ref("wxListItem");
26032 }
26033 if (SWIG_arg_fail(3)) SWIG_fail;
26034 }
26035 {
26036 PyThreadState* __tstate = wxPyBeginAllowThreads();
26037 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26038
26039 wxPyEndAllowThreads(__tstate);
26040 if (PyErr_Occurred()) SWIG_fail;
26041 }
26042 {
26043 resultobj = SWIG_From_long((long)(result));
26044 }
26045 return resultobj;
26046 fail:
26047 return NULL;
26048 }
26049
26050
26051 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26052 PyObject *resultobj;
26053 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26054 long arg2 ;
26055 wxString *arg3 = 0 ;
26056 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26057 int arg5 = (int) -1 ;
26058 long result;
26059 bool temp3 = false ;
26060 PyObject * obj0 = 0 ;
26061 PyObject * obj1 = 0 ;
26062 PyObject * obj2 = 0 ;
26063 PyObject * obj3 = 0 ;
26064 PyObject * obj4 = 0 ;
26065 char *kwnames[] = {
26066 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26067 };
26068
26069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26071 if (SWIG_arg_fail(1)) SWIG_fail;
26072 {
26073 arg2 = (long)(SWIG_As_long(obj1));
26074 if (SWIG_arg_fail(2)) SWIG_fail;
26075 }
26076 {
26077 arg3 = wxString_in_helper(obj2);
26078 if (arg3 == NULL) SWIG_fail;
26079 temp3 = true;
26080 }
26081 if (obj3) {
26082 {
26083 arg4 = (int)(SWIG_As_int(obj3));
26084 if (SWIG_arg_fail(4)) SWIG_fail;
26085 }
26086 }
26087 if (obj4) {
26088 {
26089 arg5 = (int)(SWIG_As_int(obj4));
26090 if (SWIG_arg_fail(5)) SWIG_fail;
26091 }
26092 }
26093 {
26094 PyThreadState* __tstate = wxPyBeginAllowThreads();
26095 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26096
26097 wxPyEndAllowThreads(__tstate);
26098 if (PyErr_Occurred()) SWIG_fail;
26099 }
26100 {
26101 resultobj = SWIG_From_long((long)(result));
26102 }
26103 {
26104 if (temp3)
26105 delete arg3;
26106 }
26107 return resultobj;
26108 fail:
26109 {
26110 if (temp3)
26111 delete arg3;
26112 }
26113 return NULL;
26114 }
26115
26116
26117 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26118 PyObject *resultobj;
26119 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26120 long arg2 ;
26121 PyObject * obj0 = 0 ;
26122 PyObject * obj1 = 0 ;
26123 char *kwnames[] = {
26124 (char *) "self",(char *) "count", NULL
26125 };
26126
26127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26129 if (SWIG_arg_fail(1)) SWIG_fail;
26130 {
26131 arg2 = (long)(SWIG_As_long(obj1));
26132 if (SWIG_arg_fail(2)) SWIG_fail;
26133 }
26134 {
26135 PyThreadState* __tstate = wxPyBeginAllowThreads();
26136 (arg1)->SetItemCount(arg2);
26137
26138 wxPyEndAllowThreads(__tstate);
26139 if (PyErr_Occurred()) SWIG_fail;
26140 }
26141 Py_INCREF(Py_None); resultobj = Py_None;
26142 return resultobj;
26143 fail:
26144 return NULL;
26145 }
26146
26147
26148 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26149 PyObject *resultobj;
26150 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26151 int arg2 ;
26152 int arg3 ;
26153 bool result;
26154 PyObject * obj0 = 0 ;
26155 PyObject * obj1 = 0 ;
26156 PyObject * obj2 = 0 ;
26157 char *kwnames[] = {
26158 (char *) "self",(char *) "dx",(char *) "dy", NULL
26159 };
26160
26161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26163 if (SWIG_arg_fail(1)) SWIG_fail;
26164 {
26165 arg2 = (int)(SWIG_As_int(obj1));
26166 if (SWIG_arg_fail(2)) SWIG_fail;
26167 }
26168 {
26169 arg3 = (int)(SWIG_As_int(obj2));
26170 if (SWIG_arg_fail(3)) SWIG_fail;
26171 }
26172 {
26173 PyThreadState* __tstate = wxPyBeginAllowThreads();
26174 result = (bool)(arg1)->ScrollList(arg2,arg3);
26175
26176 wxPyEndAllowThreads(__tstate);
26177 if (PyErr_Occurred()) SWIG_fail;
26178 }
26179 {
26180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26181 }
26182 return resultobj;
26183 fail:
26184 return NULL;
26185 }
26186
26187
26188 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26189 PyObject *resultobj;
26190 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26191 long arg2 ;
26192 wxColour *arg3 = 0 ;
26193 wxColour temp3 ;
26194 PyObject * obj0 = 0 ;
26195 PyObject * obj1 = 0 ;
26196 PyObject * obj2 = 0 ;
26197 char *kwnames[] = {
26198 (char *) "self",(char *) "item",(char *) "col", NULL
26199 };
26200
26201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26203 if (SWIG_arg_fail(1)) SWIG_fail;
26204 {
26205 arg2 = (long)(SWIG_As_long(obj1));
26206 if (SWIG_arg_fail(2)) SWIG_fail;
26207 }
26208 {
26209 arg3 = &temp3;
26210 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26211 }
26212 {
26213 PyThreadState* __tstate = wxPyBeginAllowThreads();
26214 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26215
26216 wxPyEndAllowThreads(__tstate);
26217 if (PyErr_Occurred()) SWIG_fail;
26218 }
26219 Py_INCREF(Py_None); resultobj = Py_None;
26220 return resultobj;
26221 fail:
26222 return NULL;
26223 }
26224
26225
26226 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26227 PyObject *resultobj;
26228 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26229 long arg2 ;
26230 wxColour result;
26231 PyObject * obj0 = 0 ;
26232 PyObject * obj1 = 0 ;
26233 char *kwnames[] = {
26234 (char *) "self",(char *) "item", NULL
26235 };
26236
26237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26239 if (SWIG_arg_fail(1)) SWIG_fail;
26240 {
26241 arg2 = (long)(SWIG_As_long(obj1));
26242 if (SWIG_arg_fail(2)) SWIG_fail;
26243 }
26244 {
26245 PyThreadState* __tstate = wxPyBeginAllowThreads();
26246 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26247
26248 wxPyEndAllowThreads(__tstate);
26249 if (PyErr_Occurred()) SWIG_fail;
26250 }
26251 {
26252 wxColour * resultptr;
26253 resultptr = new wxColour((wxColour &)(result));
26254 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26255 }
26256 return resultobj;
26257 fail:
26258 return NULL;
26259 }
26260
26261
26262 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26263 PyObject *resultobj;
26264 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26265 long arg2 ;
26266 wxColour *arg3 = 0 ;
26267 wxColour temp3 ;
26268 PyObject * obj0 = 0 ;
26269 PyObject * obj1 = 0 ;
26270 PyObject * obj2 = 0 ;
26271 char *kwnames[] = {
26272 (char *) "self",(char *) "item",(char *) "col", NULL
26273 };
26274
26275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26277 if (SWIG_arg_fail(1)) SWIG_fail;
26278 {
26279 arg2 = (long)(SWIG_As_long(obj1));
26280 if (SWIG_arg_fail(2)) SWIG_fail;
26281 }
26282 {
26283 arg3 = &temp3;
26284 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26285 }
26286 {
26287 PyThreadState* __tstate = wxPyBeginAllowThreads();
26288 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26289
26290 wxPyEndAllowThreads(__tstate);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 }
26293 Py_INCREF(Py_None); resultobj = Py_None;
26294 return resultobj;
26295 fail:
26296 return NULL;
26297 }
26298
26299
26300 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26301 PyObject *resultobj;
26302 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26303 long arg2 ;
26304 wxColour result;
26305 PyObject * obj0 = 0 ;
26306 PyObject * obj1 = 0 ;
26307 char *kwnames[] = {
26308 (char *) "self",(char *) "item", NULL
26309 };
26310
26311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26313 if (SWIG_arg_fail(1)) SWIG_fail;
26314 {
26315 arg2 = (long)(SWIG_As_long(obj1));
26316 if (SWIG_arg_fail(2)) SWIG_fail;
26317 }
26318 {
26319 PyThreadState* __tstate = wxPyBeginAllowThreads();
26320 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26321
26322 wxPyEndAllowThreads(__tstate);
26323 if (PyErr_Occurred()) SWIG_fail;
26324 }
26325 {
26326 wxColour * resultptr;
26327 resultptr = new wxColour((wxColour &)(result));
26328 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26329 }
26330 return resultobj;
26331 fail:
26332 return NULL;
26333 }
26334
26335
26336 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26337 PyObject *resultobj;
26338 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26339 PyObject *arg2 = (PyObject *) 0 ;
26340 bool result;
26341 PyObject * obj0 = 0 ;
26342 PyObject * obj1 = 0 ;
26343 char *kwnames[] = {
26344 (char *) "self",(char *) "func", NULL
26345 };
26346
26347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26349 if (SWIG_arg_fail(1)) SWIG_fail;
26350 arg2 = obj1;
26351 {
26352 PyThreadState* __tstate = wxPyBeginAllowThreads();
26353 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26354
26355 wxPyEndAllowThreads(__tstate);
26356 if (PyErr_Occurred()) SWIG_fail;
26357 }
26358 {
26359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26360 }
26361 return resultobj;
26362 fail:
26363 return NULL;
26364 }
26365
26366
26367 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26368 PyObject *resultobj;
26369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26370 wxWindow *result;
26371 PyObject * obj0 = 0 ;
26372 char *kwnames[] = {
26373 (char *) "self", NULL
26374 };
26375
26376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26378 if (SWIG_arg_fail(1)) SWIG_fail;
26379 {
26380 PyThreadState* __tstate = wxPyBeginAllowThreads();
26381 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26382
26383 wxPyEndAllowThreads(__tstate);
26384 if (PyErr_Occurred()) SWIG_fail;
26385 }
26386 {
26387 resultobj = wxPyMake_wxObject(result, 0);
26388 }
26389 return resultobj;
26390 fail:
26391 return NULL;
26392 }
26393
26394
26395 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26396 PyObject *resultobj;
26397 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26398 wxVisualAttributes result;
26399 PyObject * obj0 = 0 ;
26400 char *kwnames[] = {
26401 (char *) "variant", NULL
26402 };
26403
26404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26405 if (obj0) {
26406 {
26407 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26408 if (SWIG_arg_fail(1)) SWIG_fail;
26409 }
26410 }
26411 {
26412 if (!wxPyCheckForApp()) SWIG_fail;
26413 PyThreadState* __tstate = wxPyBeginAllowThreads();
26414 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26415
26416 wxPyEndAllowThreads(__tstate);
26417 if (PyErr_Occurred()) SWIG_fail;
26418 }
26419 {
26420 wxVisualAttributes * resultptr;
26421 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
26422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26423 }
26424 return resultobj;
26425 fail:
26426 return NULL;
26427 }
26428
26429
26430 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26431 PyObject *obj;
26432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26433 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26434 Py_INCREF(obj);
26435 return Py_BuildValue((char *)"");
26436 }
26437 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26438 PyObject *resultobj;
26439 wxWindow *arg1 = (wxWindow *) 0 ;
26440 int arg2 = (int) -1 ;
26441 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26442 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26443 wxSize const &arg4_defvalue = wxDefaultSize ;
26444 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26445 long arg5 = (long) wxLC_REPORT ;
26446 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26447 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26448 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26449 wxString *arg7 = (wxString *) &arg7_defvalue ;
26450 wxListView *result;
26451 wxPoint temp3 ;
26452 wxSize temp4 ;
26453 bool temp7 = false ;
26454 PyObject * obj0 = 0 ;
26455 PyObject * obj1 = 0 ;
26456 PyObject * obj2 = 0 ;
26457 PyObject * obj3 = 0 ;
26458 PyObject * obj4 = 0 ;
26459 PyObject * obj5 = 0 ;
26460 PyObject * obj6 = 0 ;
26461 char *kwnames[] = {
26462 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26463 };
26464
26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26467 if (SWIG_arg_fail(1)) SWIG_fail;
26468 if (obj1) {
26469 {
26470 arg2 = (int)(SWIG_As_int(obj1));
26471 if (SWIG_arg_fail(2)) SWIG_fail;
26472 }
26473 }
26474 if (obj2) {
26475 {
26476 arg3 = &temp3;
26477 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26478 }
26479 }
26480 if (obj3) {
26481 {
26482 arg4 = &temp4;
26483 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26484 }
26485 }
26486 if (obj4) {
26487 {
26488 arg5 = (long)(SWIG_As_long(obj4));
26489 if (SWIG_arg_fail(5)) SWIG_fail;
26490 }
26491 }
26492 if (obj5) {
26493 {
26494 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26495 if (SWIG_arg_fail(6)) SWIG_fail;
26496 if (arg6 == NULL) {
26497 SWIG_null_ref("wxValidator");
26498 }
26499 if (SWIG_arg_fail(6)) SWIG_fail;
26500 }
26501 }
26502 if (obj6) {
26503 {
26504 arg7 = wxString_in_helper(obj6);
26505 if (arg7 == NULL) SWIG_fail;
26506 temp7 = true;
26507 }
26508 }
26509 {
26510 if (!wxPyCheckForApp()) SWIG_fail;
26511 PyThreadState* __tstate = wxPyBeginAllowThreads();
26512 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26513
26514 wxPyEndAllowThreads(__tstate);
26515 if (PyErr_Occurred()) SWIG_fail;
26516 }
26517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26518 {
26519 if (temp7)
26520 delete arg7;
26521 }
26522 return resultobj;
26523 fail:
26524 {
26525 if (temp7)
26526 delete arg7;
26527 }
26528 return NULL;
26529 }
26530
26531
26532 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26533 PyObject *resultobj;
26534 wxListView *result;
26535 char *kwnames[] = {
26536 NULL
26537 };
26538
26539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26540 {
26541 if (!wxPyCheckForApp()) SWIG_fail;
26542 PyThreadState* __tstate = wxPyBeginAllowThreads();
26543 result = (wxListView *)new wxListView();
26544
26545 wxPyEndAllowThreads(__tstate);
26546 if (PyErr_Occurred()) SWIG_fail;
26547 }
26548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26549 return resultobj;
26550 fail:
26551 return NULL;
26552 }
26553
26554
26555 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26556 PyObject *resultobj;
26557 wxListView *arg1 = (wxListView *) 0 ;
26558 wxWindow *arg2 = (wxWindow *) 0 ;
26559 int arg3 = (int) -1 ;
26560 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26561 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26562 wxSize const &arg5_defvalue = wxDefaultSize ;
26563 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26564 long arg6 = (long) wxLC_REPORT ;
26565 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26566 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26567 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26568 wxString *arg8 = (wxString *) &arg8_defvalue ;
26569 bool result;
26570 wxPoint temp4 ;
26571 wxSize temp5 ;
26572 bool temp8 = false ;
26573 PyObject * obj0 = 0 ;
26574 PyObject * obj1 = 0 ;
26575 PyObject * obj2 = 0 ;
26576 PyObject * obj3 = 0 ;
26577 PyObject * obj4 = 0 ;
26578 PyObject * obj5 = 0 ;
26579 PyObject * obj6 = 0 ;
26580 PyObject * obj7 = 0 ;
26581 char *kwnames[] = {
26582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26583 };
26584
26585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26587 if (SWIG_arg_fail(1)) SWIG_fail;
26588 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26589 if (SWIG_arg_fail(2)) SWIG_fail;
26590 if (obj2) {
26591 {
26592 arg3 = (int)(SWIG_As_int(obj2));
26593 if (SWIG_arg_fail(3)) SWIG_fail;
26594 }
26595 }
26596 if (obj3) {
26597 {
26598 arg4 = &temp4;
26599 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26600 }
26601 }
26602 if (obj4) {
26603 {
26604 arg5 = &temp5;
26605 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26606 }
26607 }
26608 if (obj5) {
26609 {
26610 arg6 = (long)(SWIG_As_long(obj5));
26611 if (SWIG_arg_fail(6)) SWIG_fail;
26612 }
26613 }
26614 if (obj6) {
26615 {
26616 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26617 if (SWIG_arg_fail(7)) SWIG_fail;
26618 if (arg7 == NULL) {
26619 SWIG_null_ref("wxValidator");
26620 }
26621 if (SWIG_arg_fail(7)) SWIG_fail;
26622 }
26623 }
26624 if (obj7) {
26625 {
26626 arg8 = wxString_in_helper(obj7);
26627 if (arg8 == NULL) SWIG_fail;
26628 temp8 = true;
26629 }
26630 }
26631 {
26632 PyThreadState* __tstate = wxPyBeginAllowThreads();
26633 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26634
26635 wxPyEndAllowThreads(__tstate);
26636 if (PyErr_Occurred()) SWIG_fail;
26637 }
26638 {
26639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26640 }
26641 {
26642 if (temp8)
26643 delete arg8;
26644 }
26645 return resultobj;
26646 fail:
26647 {
26648 if (temp8)
26649 delete arg8;
26650 }
26651 return NULL;
26652 }
26653
26654
26655 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26656 PyObject *resultobj;
26657 wxListView *arg1 = (wxListView *) 0 ;
26658 long arg2 ;
26659 bool arg3 = (bool) true ;
26660 PyObject * obj0 = 0 ;
26661 PyObject * obj1 = 0 ;
26662 PyObject * obj2 = 0 ;
26663 char *kwnames[] = {
26664 (char *) "self",(char *) "n",(char *) "on", NULL
26665 };
26666
26667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26669 if (SWIG_arg_fail(1)) SWIG_fail;
26670 {
26671 arg2 = (long)(SWIG_As_long(obj1));
26672 if (SWIG_arg_fail(2)) SWIG_fail;
26673 }
26674 if (obj2) {
26675 {
26676 arg3 = (bool)(SWIG_As_bool(obj2));
26677 if (SWIG_arg_fail(3)) SWIG_fail;
26678 }
26679 }
26680 {
26681 PyThreadState* __tstate = wxPyBeginAllowThreads();
26682 (arg1)->Select(arg2,arg3);
26683
26684 wxPyEndAllowThreads(__tstate);
26685 if (PyErr_Occurred()) SWIG_fail;
26686 }
26687 Py_INCREF(Py_None); resultobj = Py_None;
26688 return resultobj;
26689 fail:
26690 return NULL;
26691 }
26692
26693
26694 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26695 PyObject *resultobj;
26696 wxListView *arg1 = (wxListView *) 0 ;
26697 long arg2 ;
26698 PyObject * obj0 = 0 ;
26699 PyObject * obj1 = 0 ;
26700 char *kwnames[] = {
26701 (char *) "self",(char *) "index", NULL
26702 };
26703
26704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26706 if (SWIG_arg_fail(1)) SWIG_fail;
26707 {
26708 arg2 = (long)(SWIG_As_long(obj1));
26709 if (SWIG_arg_fail(2)) SWIG_fail;
26710 }
26711 {
26712 PyThreadState* __tstate = wxPyBeginAllowThreads();
26713 (arg1)->Focus(arg2);
26714
26715 wxPyEndAllowThreads(__tstate);
26716 if (PyErr_Occurred()) SWIG_fail;
26717 }
26718 Py_INCREF(Py_None); resultobj = Py_None;
26719 return resultobj;
26720 fail:
26721 return NULL;
26722 }
26723
26724
26725 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26726 PyObject *resultobj;
26727 wxListView *arg1 = (wxListView *) 0 ;
26728 long result;
26729 PyObject * obj0 = 0 ;
26730 char *kwnames[] = {
26731 (char *) "self", NULL
26732 };
26733
26734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26736 if (SWIG_arg_fail(1)) SWIG_fail;
26737 {
26738 PyThreadState* __tstate = wxPyBeginAllowThreads();
26739 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26740
26741 wxPyEndAllowThreads(__tstate);
26742 if (PyErr_Occurred()) SWIG_fail;
26743 }
26744 {
26745 resultobj = SWIG_From_long((long)(result));
26746 }
26747 return resultobj;
26748 fail:
26749 return NULL;
26750 }
26751
26752
26753 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26754 PyObject *resultobj;
26755 wxListView *arg1 = (wxListView *) 0 ;
26756 long arg2 ;
26757 long result;
26758 PyObject * obj0 = 0 ;
26759 PyObject * obj1 = 0 ;
26760 char *kwnames[] = {
26761 (char *) "self",(char *) "item", NULL
26762 };
26763
26764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
26765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26766 if (SWIG_arg_fail(1)) SWIG_fail;
26767 {
26768 arg2 = (long)(SWIG_As_long(obj1));
26769 if (SWIG_arg_fail(2)) SWIG_fail;
26770 }
26771 {
26772 PyThreadState* __tstate = wxPyBeginAllowThreads();
26773 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26774
26775 wxPyEndAllowThreads(__tstate);
26776 if (PyErr_Occurred()) SWIG_fail;
26777 }
26778 {
26779 resultobj = SWIG_From_long((long)(result));
26780 }
26781 return resultobj;
26782 fail:
26783 return NULL;
26784 }
26785
26786
26787 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26788 PyObject *resultobj;
26789 wxListView *arg1 = (wxListView *) 0 ;
26790 long result;
26791 PyObject * obj0 = 0 ;
26792 char *kwnames[] = {
26793 (char *) "self", NULL
26794 };
26795
26796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
26797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26798 if (SWIG_arg_fail(1)) SWIG_fail;
26799 {
26800 PyThreadState* __tstate = wxPyBeginAllowThreads();
26801 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26802
26803 wxPyEndAllowThreads(__tstate);
26804 if (PyErr_Occurred()) SWIG_fail;
26805 }
26806 {
26807 resultobj = SWIG_From_long((long)(result));
26808 }
26809 return resultobj;
26810 fail:
26811 return NULL;
26812 }
26813
26814
26815 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26816 PyObject *resultobj;
26817 wxListView *arg1 = (wxListView *) 0 ;
26818 long arg2 ;
26819 bool result;
26820 PyObject * obj0 = 0 ;
26821 PyObject * obj1 = 0 ;
26822 char *kwnames[] = {
26823 (char *) "self",(char *) "index", NULL
26824 };
26825
26826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26828 if (SWIG_arg_fail(1)) SWIG_fail;
26829 {
26830 arg2 = (long)(SWIG_As_long(obj1));
26831 if (SWIG_arg_fail(2)) SWIG_fail;
26832 }
26833 {
26834 PyThreadState* __tstate = wxPyBeginAllowThreads();
26835 result = (bool)(arg1)->IsSelected(arg2);
26836
26837 wxPyEndAllowThreads(__tstate);
26838 if (PyErr_Occurred()) SWIG_fail;
26839 }
26840 {
26841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26842 }
26843 return resultobj;
26844 fail:
26845 return NULL;
26846 }
26847
26848
26849 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26850 PyObject *resultobj;
26851 wxListView *arg1 = (wxListView *) 0 ;
26852 int arg2 ;
26853 int arg3 ;
26854 PyObject * obj0 = 0 ;
26855 PyObject * obj1 = 0 ;
26856 PyObject * obj2 = 0 ;
26857 char *kwnames[] = {
26858 (char *) "self",(char *) "col",(char *) "image", NULL
26859 };
26860
26861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26863 if (SWIG_arg_fail(1)) SWIG_fail;
26864 {
26865 arg2 = (int)(SWIG_As_int(obj1));
26866 if (SWIG_arg_fail(2)) SWIG_fail;
26867 }
26868 {
26869 arg3 = (int)(SWIG_As_int(obj2));
26870 if (SWIG_arg_fail(3)) SWIG_fail;
26871 }
26872 {
26873 PyThreadState* __tstate = wxPyBeginAllowThreads();
26874 (arg1)->SetColumnImage(arg2,arg3);
26875
26876 wxPyEndAllowThreads(__tstate);
26877 if (PyErr_Occurred()) SWIG_fail;
26878 }
26879 Py_INCREF(Py_None); resultobj = Py_None;
26880 return resultobj;
26881 fail:
26882 return NULL;
26883 }
26884
26885
26886 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26887 PyObject *resultobj;
26888 wxListView *arg1 = (wxListView *) 0 ;
26889 int arg2 ;
26890 PyObject * obj0 = 0 ;
26891 PyObject * obj1 = 0 ;
26892 char *kwnames[] = {
26893 (char *) "self",(char *) "col", NULL
26894 };
26895
26896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
26897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26898 if (SWIG_arg_fail(1)) SWIG_fail;
26899 {
26900 arg2 = (int)(SWIG_As_int(obj1));
26901 if (SWIG_arg_fail(2)) SWIG_fail;
26902 }
26903 {
26904 PyThreadState* __tstate = wxPyBeginAllowThreads();
26905 (arg1)->ClearColumnImage(arg2);
26906
26907 wxPyEndAllowThreads(__tstate);
26908 if (PyErr_Occurred()) SWIG_fail;
26909 }
26910 Py_INCREF(Py_None); resultobj = Py_None;
26911 return resultobj;
26912 fail:
26913 return NULL;
26914 }
26915
26916
26917 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
26918 PyObject *obj;
26919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26920 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
26921 Py_INCREF(obj);
26922 return Py_BuildValue((char *)"");
26923 }
26924 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
26925 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
26926 return 1;
26927 }
26928
26929
26930 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
26931 PyObject *pyobj;
26932
26933 {
26934 #if wxUSE_UNICODE
26935 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
26936 #else
26937 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
26938 #endif
26939 }
26940 return pyobj;
26941 }
26942
26943
26944 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
26945 PyObject *resultobj;
26946 wxTreeItemId *result;
26947 char *kwnames[] = {
26948 NULL
26949 };
26950
26951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
26952 {
26953 PyThreadState* __tstate = wxPyBeginAllowThreads();
26954 result = (wxTreeItemId *)new wxTreeItemId();
26955
26956 wxPyEndAllowThreads(__tstate);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 }
26959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
26960 return resultobj;
26961 fail:
26962 return NULL;
26963 }
26964
26965
26966 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
26967 PyObject *resultobj;
26968 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
26969 PyObject * obj0 = 0 ;
26970 char *kwnames[] = {
26971 (char *) "self", NULL
26972 };
26973
26974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
26975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
26976 if (SWIG_arg_fail(1)) SWIG_fail;
26977 {
26978 PyThreadState* __tstate = wxPyBeginAllowThreads();
26979 delete arg1;
26980
26981 wxPyEndAllowThreads(__tstate);
26982 if (PyErr_Occurred()) SWIG_fail;
26983 }
26984 Py_INCREF(Py_None); resultobj = Py_None;
26985 return resultobj;
26986 fail:
26987 return NULL;
26988 }
26989
26990
26991 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
26992 PyObject *resultobj;
26993 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
26994 bool result;
26995 PyObject * obj0 = 0 ;
26996 char *kwnames[] = {
26997 (char *) "self", NULL
26998 };
26999
27000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
27001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27002 if (SWIG_arg_fail(1)) SWIG_fail;
27003 {
27004 PyThreadState* __tstate = wxPyBeginAllowThreads();
27005 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27006
27007 wxPyEndAllowThreads(__tstate);
27008 if (PyErr_Occurred()) SWIG_fail;
27009 }
27010 {
27011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27012 }
27013 return resultobj;
27014 fail:
27015 return NULL;
27016 }
27017
27018
27019 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27020 PyObject *resultobj;
27021 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27022 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27023 bool result;
27024 PyObject * obj0 = 0 ;
27025 PyObject * obj1 = 0 ;
27026 char *kwnames[] = {
27027 (char *) "self",(char *) "other", NULL
27028 };
27029
27030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
27031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27032 if (SWIG_arg_fail(1)) SWIG_fail;
27033 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27034 if (SWIG_arg_fail(2)) SWIG_fail;
27035 {
27036 PyThreadState* __tstate = wxPyBeginAllowThreads();
27037 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27038
27039 wxPyEndAllowThreads(__tstate);
27040 if (PyErr_Occurred()) SWIG_fail;
27041 }
27042 {
27043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27044 }
27045 return resultobj;
27046 fail:
27047 return NULL;
27048 }
27049
27050
27051 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27052 PyObject *resultobj;
27053 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27054 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27055 bool result;
27056 PyObject * obj0 = 0 ;
27057 PyObject * obj1 = 0 ;
27058 char *kwnames[] = {
27059 (char *) "self",(char *) "other", NULL
27060 };
27061
27062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
27063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27064 if (SWIG_arg_fail(1)) SWIG_fail;
27065 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27066 if (SWIG_arg_fail(2)) SWIG_fail;
27067 {
27068 PyThreadState* __tstate = wxPyBeginAllowThreads();
27069 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27070
27071 wxPyEndAllowThreads(__tstate);
27072 if (PyErr_Occurred()) SWIG_fail;
27073 }
27074 {
27075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27076 }
27077 return resultobj;
27078 fail:
27079 return NULL;
27080 }
27081
27082
27083 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27084 PyObject *resultobj;
27085 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27086 void *arg2 = (void *) 0 ;
27087 PyObject * obj0 = 0 ;
27088 PyObject * obj1 = 0 ;
27089 char *kwnames[] = {
27090 (char *) "self",(char *) "m_pItem", NULL
27091 };
27092
27093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27095 if (SWIG_arg_fail(1)) SWIG_fail;
27096 {
27097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27098 SWIG_arg_fail(2);SWIG_fail;
27099 }
27100 }
27101 if (arg1) (arg1)->m_pItem = arg2;
27102
27103 Py_INCREF(Py_None); resultobj = Py_None;
27104 return resultobj;
27105 fail:
27106 return NULL;
27107 }
27108
27109
27110 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27111 PyObject *resultobj;
27112 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27113 void *result;
27114 PyObject * obj0 = 0 ;
27115 char *kwnames[] = {
27116 (char *) "self", NULL
27117 };
27118
27119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27121 if (SWIG_arg_fail(1)) SWIG_fail;
27122 result = (void *) ((arg1)->m_pItem);
27123
27124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27125 return resultobj;
27126 fail:
27127 return NULL;
27128 }
27129
27130
27131 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27132 PyObject *obj;
27133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27134 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27135 Py_INCREF(obj);
27136 return Py_BuildValue((char *)"");
27137 }
27138 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27139 PyObject *resultobj;
27140 PyObject *arg1 = (PyObject *) NULL ;
27141 wxPyTreeItemData *result;
27142 PyObject * obj0 = 0 ;
27143 char *kwnames[] = {
27144 (char *) "obj", NULL
27145 };
27146
27147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27148 if (obj0) {
27149 arg1 = obj0;
27150 }
27151 {
27152 PyThreadState* __tstate = wxPyBeginAllowThreads();
27153 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27154
27155 wxPyEndAllowThreads(__tstate);
27156 if (PyErr_Occurred()) SWIG_fail;
27157 }
27158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27159 return resultobj;
27160 fail:
27161 return NULL;
27162 }
27163
27164
27165 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27166 PyObject *resultobj;
27167 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27168 PyObject *result;
27169 PyObject * obj0 = 0 ;
27170 char *kwnames[] = {
27171 (char *) "self", NULL
27172 };
27173
27174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
27175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27176 if (SWIG_arg_fail(1)) SWIG_fail;
27177 {
27178 PyThreadState* __tstate = wxPyBeginAllowThreads();
27179 result = (PyObject *)(arg1)->GetData();
27180
27181 wxPyEndAllowThreads(__tstate);
27182 if (PyErr_Occurred()) SWIG_fail;
27183 }
27184 resultobj = result;
27185 return resultobj;
27186 fail:
27187 return NULL;
27188 }
27189
27190
27191 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27192 PyObject *resultobj;
27193 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27194 PyObject *arg2 = (PyObject *) 0 ;
27195 PyObject * obj0 = 0 ;
27196 PyObject * obj1 = 0 ;
27197 char *kwnames[] = {
27198 (char *) "self",(char *) "obj", NULL
27199 };
27200
27201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27203 if (SWIG_arg_fail(1)) SWIG_fail;
27204 arg2 = obj1;
27205 {
27206 PyThreadState* __tstate = wxPyBeginAllowThreads();
27207 (arg1)->SetData(arg2);
27208
27209 wxPyEndAllowThreads(__tstate);
27210 if (PyErr_Occurred()) SWIG_fail;
27211 }
27212 Py_INCREF(Py_None); resultobj = Py_None;
27213 return resultobj;
27214 fail:
27215 return NULL;
27216 }
27217
27218
27219 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27220 PyObject *resultobj;
27221 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27222 wxTreeItemId *result;
27223 PyObject * obj0 = 0 ;
27224 char *kwnames[] = {
27225 (char *) "self", NULL
27226 };
27227
27228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27230 if (SWIG_arg_fail(1)) SWIG_fail;
27231 {
27232 PyThreadState* __tstate = wxPyBeginAllowThreads();
27233 {
27234 wxTreeItemId const &_result_ref = (arg1)->GetId();
27235 result = (wxTreeItemId *) &_result_ref;
27236 }
27237
27238 wxPyEndAllowThreads(__tstate);
27239 if (PyErr_Occurred()) SWIG_fail;
27240 }
27241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27242 return resultobj;
27243 fail:
27244 return NULL;
27245 }
27246
27247
27248 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27249 PyObject *resultobj;
27250 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27251 wxTreeItemId *arg2 = 0 ;
27252 PyObject * obj0 = 0 ;
27253 PyObject * obj1 = 0 ;
27254 char *kwnames[] = {
27255 (char *) "self",(char *) "id", NULL
27256 };
27257
27258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27260 if (SWIG_arg_fail(1)) SWIG_fail;
27261 {
27262 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27263 if (SWIG_arg_fail(2)) SWIG_fail;
27264 if (arg2 == NULL) {
27265 SWIG_null_ref("wxTreeItemId");
27266 }
27267 if (SWIG_arg_fail(2)) SWIG_fail;
27268 }
27269 {
27270 PyThreadState* __tstate = wxPyBeginAllowThreads();
27271 (arg1)->SetId((wxTreeItemId const &)*arg2);
27272
27273 wxPyEndAllowThreads(__tstate);
27274 if (PyErr_Occurred()) SWIG_fail;
27275 }
27276 Py_INCREF(Py_None); resultobj = Py_None;
27277 return resultobj;
27278 fail:
27279 return NULL;
27280 }
27281
27282
27283 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27284 PyObject *resultobj;
27285 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27286 PyObject * obj0 = 0 ;
27287 char *kwnames[] = {
27288 (char *) "self", NULL
27289 };
27290
27291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27293 if (SWIG_arg_fail(1)) SWIG_fail;
27294 {
27295 PyThreadState* __tstate = wxPyBeginAllowThreads();
27296 wxPyTreeItemData_Destroy(arg1);
27297
27298 wxPyEndAllowThreads(__tstate);
27299 if (PyErr_Occurred()) SWIG_fail;
27300 }
27301 Py_INCREF(Py_None); resultobj = Py_None;
27302 return resultobj;
27303 fail:
27304 return NULL;
27305 }
27306
27307
27308 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27309 PyObject *obj;
27310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27311 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27312 Py_INCREF(obj);
27313 return Py_BuildValue((char *)"");
27314 }
27315 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27316 PyObject *resultobj;
27317 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27318 int arg2 = (int) 0 ;
27319 wxTreeEvent *result;
27320 PyObject * obj0 = 0 ;
27321 PyObject * obj1 = 0 ;
27322 char *kwnames[] = {
27323 (char *) "commandType",(char *) "id", NULL
27324 };
27325
27326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27327 if (obj0) {
27328 {
27329 arg1 = (wxEventType)(SWIG_As_int(obj0));
27330 if (SWIG_arg_fail(1)) SWIG_fail;
27331 }
27332 }
27333 if (obj1) {
27334 {
27335 arg2 = (int)(SWIG_As_int(obj1));
27336 if (SWIG_arg_fail(2)) SWIG_fail;
27337 }
27338 }
27339 {
27340 PyThreadState* __tstate = wxPyBeginAllowThreads();
27341 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27342
27343 wxPyEndAllowThreads(__tstate);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27347 return resultobj;
27348 fail:
27349 return NULL;
27350 }
27351
27352
27353 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27354 PyObject *resultobj;
27355 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27356 wxTreeItemId result;
27357 PyObject * obj0 = 0 ;
27358 char *kwnames[] = {
27359 (char *) "self", NULL
27360 };
27361
27362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27364 if (SWIG_arg_fail(1)) SWIG_fail;
27365 {
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 result = ((wxTreeEvent const *)arg1)->GetItem();
27368
27369 wxPyEndAllowThreads(__tstate);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
27372 {
27373 wxTreeItemId * resultptr;
27374 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27375 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27376 }
27377 return resultobj;
27378 fail:
27379 return NULL;
27380 }
27381
27382
27383 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27384 PyObject *resultobj;
27385 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27386 wxTreeItemId *arg2 = 0 ;
27387 PyObject * obj0 = 0 ;
27388 PyObject * obj1 = 0 ;
27389 char *kwnames[] = {
27390 (char *) "self",(char *) "item", NULL
27391 };
27392
27393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27395 if (SWIG_arg_fail(1)) SWIG_fail;
27396 {
27397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27398 if (SWIG_arg_fail(2)) SWIG_fail;
27399 if (arg2 == NULL) {
27400 SWIG_null_ref("wxTreeItemId");
27401 }
27402 if (SWIG_arg_fail(2)) SWIG_fail;
27403 }
27404 {
27405 PyThreadState* __tstate = wxPyBeginAllowThreads();
27406 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27407
27408 wxPyEndAllowThreads(__tstate);
27409 if (PyErr_Occurred()) SWIG_fail;
27410 }
27411 Py_INCREF(Py_None); resultobj = Py_None;
27412 return resultobj;
27413 fail:
27414 return NULL;
27415 }
27416
27417
27418 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27419 PyObject *resultobj;
27420 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27421 wxTreeItemId result;
27422 PyObject * obj0 = 0 ;
27423 char *kwnames[] = {
27424 (char *) "self", NULL
27425 };
27426
27427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27429 if (SWIG_arg_fail(1)) SWIG_fail;
27430 {
27431 PyThreadState* __tstate = wxPyBeginAllowThreads();
27432 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27433
27434 wxPyEndAllowThreads(__tstate);
27435 if (PyErr_Occurred()) SWIG_fail;
27436 }
27437 {
27438 wxTreeItemId * resultptr;
27439 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27440 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27441 }
27442 return resultobj;
27443 fail:
27444 return NULL;
27445 }
27446
27447
27448 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27449 PyObject *resultobj;
27450 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27451 wxTreeItemId *arg2 = 0 ;
27452 PyObject * obj0 = 0 ;
27453 PyObject * obj1 = 0 ;
27454 char *kwnames[] = {
27455 (char *) "self",(char *) "item", NULL
27456 };
27457
27458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27460 if (SWIG_arg_fail(1)) SWIG_fail;
27461 {
27462 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27463 if (SWIG_arg_fail(2)) SWIG_fail;
27464 if (arg2 == NULL) {
27465 SWIG_null_ref("wxTreeItemId");
27466 }
27467 if (SWIG_arg_fail(2)) SWIG_fail;
27468 }
27469 {
27470 PyThreadState* __tstate = wxPyBeginAllowThreads();
27471 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27472
27473 wxPyEndAllowThreads(__tstate);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 }
27476 Py_INCREF(Py_None); resultobj = Py_None;
27477 return resultobj;
27478 fail:
27479 return NULL;
27480 }
27481
27482
27483 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27484 PyObject *resultobj;
27485 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27486 wxPoint result;
27487 PyObject * obj0 = 0 ;
27488 char *kwnames[] = {
27489 (char *) "self", NULL
27490 };
27491
27492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27494 if (SWIG_arg_fail(1)) SWIG_fail;
27495 {
27496 PyThreadState* __tstate = wxPyBeginAllowThreads();
27497 result = ((wxTreeEvent const *)arg1)->GetPoint();
27498
27499 wxPyEndAllowThreads(__tstate);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 }
27502 {
27503 wxPoint * resultptr;
27504 resultptr = new wxPoint((wxPoint &)(result));
27505 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27506 }
27507 return resultobj;
27508 fail:
27509 return NULL;
27510 }
27511
27512
27513 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27514 PyObject *resultobj;
27515 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27516 wxPoint *arg2 = 0 ;
27517 wxPoint temp2 ;
27518 PyObject * obj0 = 0 ;
27519 PyObject * obj1 = 0 ;
27520 char *kwnames[] = {
27521 (char *) "self",(char *) "pt", NULL
27522 };
27523
27524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27526 if (SWIG_arg_fail(1)) SWIG_fail;
27527 {
27528 arg2 = &temp2;
27529 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27530 }
27531 {
27532 PyThreadState* __tstate = wxPyBeginAllowThreads();
27533 (arg1)->SetPoint((wxPoint const &)*arg2);
27534
27535 wxPyEndAllowThreads(__tstate);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 }
27538 Py_INCREF(Py_None); resultobj = Py_None;
27539 return resultobj;
27540 fail:
27541 return NULL;
27542 }
27543
27544
27545 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27546 PyObject *resultobj;
27547 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27548 wxKeyEvent *result;
27549 PyObject * obj0 = 0 ;
27550 char *kwnames[] = {
27551 (char *) "self", NULL
27552 };
27553
27554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27556 if (SWIG_arg_fail(1)) SWIG_fail;
27557 {
27558 PyThreadState* __tstate = wxPyBeginAllowThreads();
27559 {
27560 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27561 result = (wxKeyEvent *) &_result_ref;
27562 }
27563
27564 wxPyEndAllowThreads(__tstate);
27565 if (PyErr_Occurred()) SWIG_fail;
27566 }
27567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27568 return resultobj;
27569 fail:
27570 return NULL;
27571 }
27572
27573
27574 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27575 PyObject *resultobj;
27576 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27577 int result;
27578 PyObject * obj0 = 0 ;
27579 char *kwnames[] = {
27580 (char *) "self", NULL
27581 };
27582
27583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27585 if (SWIG_arg_fail(1)) SWIG_fail;
27586 {
27587 PyThreadState* __tstate = wxPyBeginAllowThreads();
27588 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27589
27590 wxPyEndAllowThreads(__tstate);
27591 if (PyErr_Occurred()) SWIG_fail;
27592 }
27593 {
27594 resultobj = SWIG_From_int((int)(result));
27595 }
27596 return resultobj;
27597 fail:
27598 return NULL;
27599 }
27600
27601
27602 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27603 PyObject *resultobj;
27604 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27605 wxKeyEvent *arg2 = 0 ;
27606 PyObject * obj0 = 0 ;
27607 PyObject * obj1 = 0 ;
27608 char *kwnames[] = {
27609 (char *) "self",(char *) "evt", NULL
27610 };
27611
27612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
27613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27614 if (SWIG_arg_fail(1)) SWIG_fail;
27615 {
27616 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27617 if (SWIG_arg_fail(2)) SWIG_fail;
27618 if (arg2 == NULL) {
27619 SWIG_null_ref("wxKeyEvent");
27620 }
27621 if (SWIG_arg_fail(2)) SWIG_fail;
27622 }
27623 {
27624 PyThreadState* __tstate = wxPyBeginAllowThreads();
27625 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27626
27627 wxPyEndAllowThreads(__tstate);
27628 if (PyErr_Occurred()) SWIG_fail;
27629 }
27630 Py_INCREF(Py_None); resultobj = Py_None;
27631 return resultobj;
27632 fail:
27633 return NULL;
27634 }
27635
27636
27637 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27638 PyObject *resultobj;
27639 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27640 wxString *result;
27641 PyObject * obj0 = 0 ;
27642 char *kwnames[] = {
27643 (char *) "self", NULL
27644 };
27645
27646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
27647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27648 if (SWIG_arg_fail(1)) SWIG_fail;
27649 {
27650 PyThreadState* __tstate = wxPyBeginAllowThreads();
27651 {
27652 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27653 result = (wxString *) &_result_ref;
27654 }
27655
27656 wxPyEndAllowThreads(__tstate);
27657 if (PyErr_Occurred()) SWIG_fail;
27658 }
27659 {
27660 #if wxUSE_UNICODE
27661 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27662 #else
27663 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27664 #endif
27665 }
27666 return resultobj;
27667 fail:
27668 return NULL;
27669 }
27670
27671
27672 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27673 PyObject *resultobj;
27674 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27675 wxString *arg2 = 0 ;
27676 bool temp2 = false ;
27677 PyObject * obj0 = 0 ;
27678 PyObject * obj1 = 0 ;
27679 char *kwnames[] = {
27680 (char *) "self",(char *) "label", NULL
27681 };
27682
27683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27685 if (SWIG_arg_fail(1)) SWIG_fail;
27686 {
27687 arg2 = wxString_in_helper(obj1);
27688 if (arg2 == NULL) SWIG_fail;
27689 temp2 = true;
27690 }
27691 {
27692 PyThreadState* __tstate = wxPyBeginAllowThreads();
27693 (arg1)->SetLabel((wxString const &)*arg2);
27694
27695 wxPyEndAllowThreads(__tstate);
27696 if (PyErr_Occurred()) SWIG_fail;
27697 }
27698 Py_INCREF(Py_None); resultobj = Py_None;
27699 {
27700 if (temp2)
27701 delete arg2;
27702 }
27703 return resultobj;
27704 fail:
27705 {
27706 if (temp2)
27707 delete arg2;
27708 }
27709 return NULL;
27710 }
27711
27712
27713 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27714 PyObject *resultobj;
27715 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27716 bool result;
27717 PyObject * obj0 = 0 ;
27718 char *kwnames[] = {
27719 (char *) "self", NULL
27720 };
27721
27722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27724 if (SWIG_arg_fail(1)) SWIG_fail;
27725 {
27726 PyThreadState* __tstate = wxPyBeginAllowThreads();
27727 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27728
27729 wxPyEndAllowThreads(__tstate);
27730 if (PyErr_Occurred()) SWIG_fail;
27731 }
27732 {
27733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27734 }
27735 return resultobj;
27736 fail:
27737 return NULL;
27738 }
27739
27740
27741 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27742 PyObject *resultobj;
27743 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27744 bool arg2 ;
27745 PyObject * obj0 = 0 ;
27746 PyObject * obj1 = 0 ;
27747 char *kwnames[] = {
27748 (char *) "self",(char *) "editCancelled", NULL
27749 };
27750
27751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
27752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27753 if (SWIG_arg_fail(1)) SWIG_fail;
27754 {
27755 arg2 = (bool)(SWIG_As_bool(obj1));
27756 if (SWIG_arg_fail(2)) SWIG_fail;
27757 }
27758 {
27759 PyThreadState* __tstate = wxPyBeginAllowThreads();
27760 (arg1)->SetEditCanceled(arg2);
27761
27762 wxPyEndAllowThreads(__tstate);
27763 if (PyErr_Occurred()) SWIG_fail;
27764 }
27765 Py_INCREF(Py_None); resultobj = Py_None;
27766 return resultobj;
27767 fail:
27768 return NULL;
27769 }
27770
27771
27772 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27773 PyObject *resultobj;
27774 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27775 wxString *arg2 = 0 ;
27776 bool temp2 = false ;
27777 PyObject * obj0 = 0 ;
27778 PyObject * obj1 = 0 ;
27779 char *kwnames[] = {
27780 (char *) "self",(char *) "toolTip", NULL
27781 };
27782
27783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27785 if (SWIG_arg_fail(1)) SWIG_fail;
27786 {
27787 arg2 = wxString_in_helper(obj1);
27788 if (arg2 == NULL) SWIG_fail;
27789 temp2 = true;
27790 }
27791 {
27792 PyThreadState* __tstate = wxPyBeginAllowThreads();
27793 (arg1)->SetToolTip((wxString const &)*arg2);
27794
27795 wxPyEndAllowThreads(__tstate);
27796 if (PyErr_Occurred()) SWIG_fail;
27797 }
27798 Py_INCREF(Py_None); resultobj = Py_None;
27799 {
27800 if (temp2)
27801 delete arg2;
27802 }
27803 return resultobj;
27804 fail:
27805 {
27806 if (temp2)
27807 delete arg2;
27808 }
27809 return NULL;
27810 }
27811
27812
27813 static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27814 PyObject *resultobj;
27815 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27816 wxString result;
27817 PyObject * obj0 = 0 ;
27818 char *kwnames[] = {
27819 (char *) "self", NULL
27820 };
27821
27822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27824 if (SWIG_arg_fail(1)) SWIG_fail;
27825 {
27826 PyThreadState* __tstate = wxPyBeginAllowThreads();
27827 result = (arg1)->GetToolTip();
27828
27829 wxPyEndAllowThreads(__tstate);
27830 if (PyErr_Occurred()) SWIG_fail;
27831 }
27832 {
27833 #if wxUSE_UNICODE
27834 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27835 #else
27836 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27837 #endif
27838 }
27839 return resultobj;
27840 fail:
27841 return NULL;
27842 }
27843
27844
27845 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
27846 PyObject *obj;
27847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27848 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27849 Py_INCREF(obj);
27850 return Py_BuildValue((char *)"");
27851 }
27852 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27853 PyObject *resultobj;
27854 wxWindow *arg1 = (wxWindow *) 0 ;
27855 int arg2 = (int) -1 ;
27856 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27857 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27858 wxSize const &arg4_defvalue = wxDefaultSize ;
27859 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27860 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27861 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27862 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27863 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27864 wxString *arg7 = (wxString *) &arg7_defvalue ;
27865 wxPyTreeCtrl *result;
27866 wxPoint temp3 ;
27867 wxSize temp4 ;
27868 bool temp7 = false ;
27869 PyObject * obj0 = 0 ;
27870 PyObject * obj1 = 0 ;
27871 PyObject * obj2 = 0 ;
27872 PyObject * obj3 = 0 ;
27873 PyObject * obj4 = 0 ;
27874 PyObject * obj5 = 0 ;
27875 PyObject * obj6 = 0 ;
27876 char *kwnames[] = {
27877 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27878 };
27879
27880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27882 if (SWIG_arg_fail(1)) SWIG_fail;
27883 if (obj1) {
27884 {
27885 arg2 = (int)(SWIG_As_int(obj1));
27886 if (SWIG_arg_fail(2)) SWIG_fail;
27887 }
27888 }
27889 if (obj2) {
27890 {
27891 arg3 = &temp3;
27892 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27893 }
27894 }
27895 if (obj3) {
27896 {
27897 arg4 = &temp4;
27898 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27899 }
27900 }
27901 if (obj4) {
27902 {
27903 arg5 = (long)(SWIG_As_long(obj4));
27904 if (SWIG_arg_fail(5)) SWIG_fail;
27905 }
27906 }
27907 if (obj5) {
27908 {
27909 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27910 if (SWIG_arg_fail(6)) SWIG_fail;
27911 if (arg6 == NULL) {
27912 SWIG_null_ref("wxValidator");
27913 }
27914 if (SWIG_arg_fail(6)) SWIG_fail;
27915 }
27916 }
27917 if (obj6) {
27918 {
27919 arg7 = wxString_in_helper(obj6);
27920 if (arg7 == NULL) SWIG_fail;
27921 temp7 = true;
27922 }
27923 }
27924 {
27925 if (!wxPyCheckForApp()) SWIG_fail;
27926 PyThreadState* __tstate = wxPyBeginAllowThreads();
27927 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27928
27929 wxPyEndAllowThreads(__tstate);
27930 if (PyErr_Occurred()) SWIG_fail;
27931 }
27932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
27933 {
27934 if (temp7)
27935 delete arg7;
27936 }
27937 return resultobj;
27938 fail:
27939 {
27940 if (temp7)
27941 delete arg7;
27942 }
27943 return NULL;
27944 }
27945
27946
27947 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27948 PyObject *resultobj;
27949 wxPyTreeCtrl *result;
27950 char *kwnames[] = {
27951 NULL
27952 };
27953
27954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
27955 {
27956 if (!wxPyCheckForApp()) SWIG_fail;
27957 PyThreadState* __tstate = wxPyBeginAllowThreads();
27958 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
27959
27960 wxPyEndAllowThreads(__tstate);
27961 if (PyErr_Occurred()) SWIG_fail;
27962 }
27963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
27964 return resultobj;
27965 fail:
27966 return NULL;
27967 }
27968
27969
27970 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
27971 PyObject *resultobj;
27972 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27973 wxWindow *arg2 = (wxWindow *) 0 ;
27974 int arg3 = (int) -1 ;
27975 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27976 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27977 wxSize const &arg5_defvalue = wxDefaultSize ;
27978 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27979 long arg6 = (long) wxTR_DEFAULT_STYLE ;
27980 wxValidator const &arg7_defvalue = wxDefaultValidator ;
27981 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
27982 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
27983 wxString *arg8 = (wxString *) &arg8_defvalue ;
27984 bool result;
27985 wxPoint temp4 ;
27986 wxSize temp5 ;
27987 bool temp8 = false ;
27988 PyObject * obj0 = 0 ;
27989 PyObject * obj1 = 0 ;
27990 PyObject * obj2 = 0 ;
27991 PyObject * obj3 = 0 ;
27992 PyObject * obj4 = 0 ;
27993 PyObject * obj5 = 0 ;
27994 PyObject * obj6 = 0 ;
27995 PyObject * obj7 = 0 ;
27996 char *kwnames[] = {
27997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27998 };
27999
28000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28002 if (SWIG_arg_fail(1)) SWIG_fail;
28003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28004 if (SWIG_arg_fail(2)) SWIG_fail;
28005 if (obj2) {
28006 {
28007 arg3 = (int)(SWIG_As_int(obj2));
28008 if (SWIG_arg_fail(3)) SWIG_fail;
28009 }
28010 }
28011 if (obj3) {
28012 {
28013 arg4 = &temp4;
28014 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28015 }
28016 }
28017 if (obj4) {
28018 {
28019 arg5 = &temp5;
28020 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28021 }
28022 }
28023 if (obj5) {
28024 {
28025 arg6 = (long)(SWIG_As_long(obj5));
28026 if (SWIG_arg_fail(6)) SWIG_fail;
28027 }
28028 }
28029 if (obj6) {
28030 {
28031 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28032 if (SWIG_arg_fail(7)) SWIG_fail;
28033 if (arg7 == NULL) {
28034 SWIG_null_ref("wxValidator");
28035 }
28036 if (SWIG_arg_fail(7)) SWIG_fail;
28037 }
28038 }
28039 if (obj7) {
28040 {
28041 arg8 = wxString_in_helper(obj7);
28042 if (arg8 == NULL) SWIG_fail;
28043 temp8 = true;
28044 }
28045 }
28046 {
28047 PyThreadState* __tstate = wxPyBeginAllowThreads();
28048 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28049
28050 wxPyEndAllowThreads(__tstate);
28051 if (PyErr_Occurred()) SWIG_fail;
28052 }
28053 {
28054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28055 }
28056 {
28057 if (temp8)
28058 delete arg8;
28059 }
28060 return resultobj;
28061 fail:
28062 {
28063 if (temp8)
28064 delete arg8;
28065 }
28066 return NULL;
28067 }
28068
28069
28070 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28071 PyObject *resultobj;
28072 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28073 PyObject *arg2 = (PyObject *) 0 ;
28074 PyObject *arg3 = (PyObject *) 0 ;
28075 PyObject * obj0 = 0 ;
28076 PyObject * obj1 = 0 ;
28077 PyObject * obj2 = 0 ;
28078 char *kwnames[] = {
28079 (char *) "self",(char *) "self",(char *) "_class", NULL
28080 };
28081
28082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28084 if (SWIG_arg_fail(1)) SWIG_fail;
28085 arg2 = obj1;
28086 arg3 = obj2;
28087 {
28088 PyThreadState* __tstate = wxPyBeginAllowThreads();
28089 (arg1)->_setCallbackInfo(arg2,arg3);
28090
28091 wxPyEndAllowThreads(__tstate);
28092 if (PyErr_Occurred()) SWIG_fail;
28093 }
28094 Py_INCREF(Py_None); resultobj = Py_None;
28095 return resultobj;
28096 fail:
28097 return NULL;
28098 }
28099
28100
28101 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28102 PyObject *resultobj;
28103 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28104 size_t result;
28105 PyObject * obj0 = 0 ;
28106 char *kwnames[] = {
28107 (char *) "self", NULL
28108 };
28109
28110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28112 if (SWIG_arg_fail(1)) SWIG_fail;
28113 {
28114 PyThreadState* __tstate = wxPyBeginAllowThreads();
28115 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28116
28117 wxPyEndAllowThreads(__tstate);
28118 if (PyErr_Occurred()) SWIG_fail;
28119 }
28120 {
28121 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28122 }
28123 return resultobj;
28124 fail:
28125 return NULL;
28126 }
28127
28128
28129 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28130 PyObject *resultobj;
28131 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28132 unsigned int result;
28133 PyObject * obj0 = 0 ;
28134 char *kwnames[] = {
28135 (char *) "self", NULL
28136 };
28137
28138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28140 if (SWIG_arg_fail(1)) SWIG_fail;
28141 {
28142 PyThreadState* __tstate = wxPyBeginAllowThreads();
28143 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28144
28145 wxPyEndAllowThreads(__tstate);
28146 if (PyErr_Occurred()) SWIG_fail;
28147 }
28148 {
28149 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28150 }
28151 return resultobj;
28152 fail:
28153 return NULL;
28154 }
28155
28156
28157 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28158 PyObject *resultobj;
28159 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28160 unsigned int arg2 ;
28161 PyObject * obj0 = 0 ;
28162 PyObject * obj1 = 0 ;
28163 char *kwnames[] = {
28164 (char *) "self",(char *) "indent", NULL
28165 };
28166
28167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28169 if (SWIG_arg_fail(1)) SWIG_fail;
28170 {
28171 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28172 if (SWIG_arg_fail(2)) SWIG_fail;
28173 }
28174 {
28175 PyThreadState* __tstate = wxPyBeginAllowThreads();
28176 (arg1)->SetIndent(arg2);
28177
28178 wxPyEndAllowThreads(__tstate);
28179 if (PyErr_Occurred()) SWIG_fail;
28180 }
28181 Py_INCREF(Py_None); resultobj = Py_None;
28182 return resultobj;
28183 fail:
28184 return NULL;
28185 }
28186
28187
28188 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28189 PyObject *resultobj;
28190 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28191 unsigned int result;
28192 PyObject * obj0 = 0 ;
28193 char *kwnames[] = {
28194 (char *) "self", NULL
28195 };
28196
28197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28199 if (SWIG_arg_fail(1)) SWIG_fail;
28200 {
28201 PyThreadState* __tstate = wxPyBeginAllowThreads();
28202 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28203
28204 wxPyEndAllowThreads(__tstate);
28205 if (PyErr_Occurred()) SWIG_fail;
28206 }
28207 {
28208 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28209 }
28210 return resultobj;
28211 fail:
28212 return NULL;
28213 }
28214
28215
28216 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28217 PyObject *resultobj;
28218 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28219 unsigned int arg2 ;
28220 PyObject * obj0 = 0 ;
28221 PyObject * obj1 = 0 ;
28222 char *kwnames[] = {
28223 (char *) "self",(char *) "spacing", NULL
28224 };
28225
28226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
28227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28228 if (SWIG_arg_fail(1)) SWIG_fail;
28229 {
28230 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28231 if (SWIG_arg_fail(2)) SWIG_fail;
28232 }
28233 {
28234 PyThreadState* __tstate = wxPyBeginAllowThreads();
28235 (arg1)->SetSpacing(arg2);
28236
28237 wxPyEndAllowThreads(__tstate);
28238 if (PyErr_Occurred()) SWIG_fail;
28239 }
28240 Py_INCREF(Py_None); resultobj = Py_None;
28241 return resultobj;
28242 fail:
28243 return NULL;
28244 }
28245
28246
28247 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28248 PyObject *resultobj;
28249 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28250 wxImageList *result;
28251 PyObject * obj0 = 0 ;
28252 char *kwnames[] = {
28253 (char *) "self", NULL
28254 };
28255
28256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28258 if (SWIG_arg_fail(1)) SWIG_fail;
28259 {
28260 PyThreadState* __tstate = wxPyBeginAllowThreads();
28261 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28262
28263 wxPyEndAllowThreads(__tstate);
28264 if (PyErr_Occurred()) SWIG_fail;
28265 }
28266 {
28267 resultobj = wxPyMake_wxObject(result, 0);
28268 }
28269 return resultobj;
28270 fail:
28271 return NULL;
28272 }
28273
28274
28275 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28276 PyObject *resultobj;
28277 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28278 wxImageList *result;
28279 PyObject * obj0 = 0 ;
28280 char *kwnames[] = {
28281 (char *) "self", NULL
28282 };
28283
28284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28286 if (SWIG_arg_fail(1)) SWIG_fail;
28287 {
28288 PyThreadState* __tstate = wxPyBeginAllowThreads();
28289 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28290
28291 wxPyEndAllowThreads(__tstate);
28292 if (PyErr_Occurred()) SWIG_fail;
28293 }
28294 {
28295 resultobj = wxPyMake_wxObject(result, 0);
28296 }
28297 return resultobj;
28298 fail:
28299 return NULL;
28300 }
28301
28302
28303 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28304 PyObject *resultobj;
28305 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28306 wxImageList *arg2 = (wxImageList *) 0 ;
28307 PyObject * obj0 = 0 ;
28308 PyObject * obj1 = 0 ;
28309 char *kwnames[] = {
28310 (char *) "self",(char *) "imageList", NULL
28311 };
28312
28313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28315 if (SWIG_arg_fail(1)) SWIG_fail;
28316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28317 if (SWIG_arg_fail(2)) SWIG_fail;
28318 {
28319 PyThreadState* __tstate = wxPyBeginAllowThreads();
28320 (arg1)->SetImageList(arg2);
28321
28322 wxPyEndAllowThreads(__tstate);
28323 if (PyErr_Occurred()) SWIG_fail;
28324 }
28325 Py_INCREF(Py_None); resultobj = Py_None;
28326 return resultobj;
28327 fail:
28328 return NULL;
28329 }
28330
28331
28332 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28333 PyObject *resultobj;
28334 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28335 wxImageList *arg2 = (wxImageList *) 0 ;
28336 PyObject * obj0 = 0 ;
28337 PyObject * obj1 = 0 ;
28338 char *kwnames[] = {
28339 (char *) "self",(char *) "imageList", NULL
28340 };
28341
28342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28344 if (SWIG_arg_fail(1)) SWIG_fail;
28345 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28346 if (SWIG_arg_fail(2)) SWIG_fail;
28347 {
28348 PyThreadState* __tstate = wxPyBeginAllowThreads();
28349 (arg1)->SetStateImageList(arg2);
28350
28351 wxPyEndAllowThreads(__tstate);
28352 if (PyErr_Occurred()) SWIG_fail;
28353 }
28354 Py_INCREF(Py_None); resultobj = Py_None;
28355 return resultobj;
28356 fail:
28357 return NULL;
28358 }
28359
28360
28361 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28362 PyObject *resultobj;
28363 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28364 wxImageList *arg2 = (wxImageList *) 0 ;
28365 PyObject * obj0 = 0 ;
28366 PyObject * obj1 = 0 ;
28367 char *kwnames[] = {
28368 (char *) "self",(char *) "imageList", NULL
28369 };
28370
28371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28373 if (SWIG_arg_fail(1)) SWIG_fail;
28374 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28375 if (SWIG_arg_fail(2)) SWIG_fail;
28376 {
28377 PyThreadState* __tstate = wxPyBeginAllowThreads();
28378 (arg1)->AssignImageList(arg2);
28379
28380 wxPyEndAllowThreads(__tstate);
28381 if (PyErr_Occurred()) SWIG_fail;
28382 }
28383 Py_INCREF(Py_None); resultobj = Py_None;
28384 return resultobj;
28385 fail:
28386 return NULL;
28387 }
28388
28389
28390 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28391 PyObject *resultobj;
28392 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28393 wxImageList *arg2 = (wxImageList *) 0 ;
28394 PyObject * obj0 = 0 ;
28395 PyObject * obj1 = 0 ;
28396 char *kwnames[] = {
28397 (char *) "self",(char *) "imageList", NULL
28398 };
28399
28400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
28401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28402 if (SWIG_arg_fail(1)) SWIG_fail;
28403 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28404 if (SWIG_arg_fail(2)) SWIG_fail;
28405 {
28406 PyThreadState* __tstate = wxPyBeginAllowThreads();
28407 (arg1)->AssignStateImageList(arg2);
28408
28409 wxPyEndAllowThreads(__tstate);
28410 if (PyErr_Occurred()) SWIG_fail;
28411 }
28412 Py_INCREF(Py_None); resultobj = Py_None;
28413 return resultobj;
28414 fail:
28415 return NULL;
28416 }
28417
28418
28419 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28420 PyObject *resultobj;
28421 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28422 wxTreeItemId *arg2 = 0 ;
28423 wxString result;
28424 PyObject * obj0 = 0 ;
28425 PyObject * obj1 = 0 ;
28426 char *kwnames[] = {
28427 (char *) "self",(char *) "item", NULL
28428 };
28429
28430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28432 if (SWIG_arg_fail(1)) SWIG_fail;
28433 {
28434 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28435 if (SWIG_arg_fail(2)) SWIG_fail;
28436 if (arg2 == NULL) {
28437 SWIG_null_ref("wxTreeItemId");
28438 }
28439 if (SWIG_arg_fail(2)) SWIG_fail;
28440 }
28441 {
28442 PyThreadState* __tstate = wxPyBeginAllowThreads();
28443 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28444
28445 wxPyEndAllowThreads(__tstate);
28446 if (PyErr_Occurred()) SWIG_fail;
28447 }
28448 {
28449 #if wxUSE_UNICODE
28450 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28451 #else
28452 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28453 #endif
28454 }
28455 return resultobj;
28456 fail:
28457 return NULL;
28458 }
28459
28460
28461 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28462 PyObject *resultobj;
28463 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28464 wxTreeItemId *arg2 = 0 ;
28465 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28466 int result;
28467 PyObject * obj0 = 0 ;
28468 PyObject * obj1 = 0 ;
28469 PyObject * obj2 = 0 ;
28470 char *kwnames[] = {
28471 (char *) "self",(char *) "item",(char *) "which", NULL
28472 };
28473
28474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28476 if (SWIG_arg_fail(1)) SWIG_fail;
28477 {
28478 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28479 if (SWIG_arg_fail(2)) SWIG_fail;
28480 if (arg2 == NULL) {
28481 SWIG_null_ref("wxTreeItemId");
28482 }
28483 if (SWIG_arg_fail(2)) SWIG_fail;
28484 }
28485 if (obj2) {
28486 {
28487 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28488 if (SWIG_arg_fail(3)) SWIG_fail;
28489 }
28490 }
28491 {
28492 PyThreadState* __tstate = wxPyBeginAllowThreads();
28493 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28494
28495 wxPyEndAllowThreads(__tstate);
28496 if (PyErr_Occurred()) SWIG_fail;
28497 }
28498 {
28499 resultobj = SWIG_From_int((int)(result));
28500 }
28501 return resultobj;
28502 fail:
28503 return NULL;
28504 }
28505
28506
28507 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28508 PyObject *resultobj;
28509 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28510 wxTreeItemId *arg2 = 0 ;
28511 wxPyTreeItemData *result;
28512 PyObject * obj0 = 0 ;
28513 PyObject * obj1 = 0 ;
28514 char *kwnames[] = {
28515 (char *) "self",(char *) "item", NULL
28516 };
28517
28518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28520 if (SWIG_arg_fail(1)) SWIG_fail;
28521 {
28522 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28523 if (SWIG_arg_fail(2)) SWIG_fail;
28524 if (arg2 == NULL) {
28525 SWIG_null_ref("wxTreeItemId");
28526 }
28527 if (SWIG_arg_fail(2)) SWIG_fail;
28528 }
28529 {
28530 PyThreadState* __tstate = wxPyBeginAllowThreads();
28531 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28532
28533 wxPyEndAllowThreads(__tstate);
28534 if (PyErr_Occurred()) SWIG_fail;
28535 }
28536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28537 return resultobj;
28538 fail:
28539 return NULL;
28540 }
28541
28542
28543 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28544 PyObject *resultobj;
28545 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28546 wxTreeItemId *arg2 = 0 ;
28547 PyObject *result;
28548 PyObject * obj0 = 0 ;
28549 PyObject * obj1 = 0 ;
28550 char *kwnames[] = {
28551 (char *) "self",(char *) "item", NULL
28552 };
28553
28554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28556 if (SWIG_arg_fail(1)) SWIG_fail;
28557 {
28558 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28559 if (SWIG_arg_fail(2)) SWIG_fail;
28560 if (arg2 == NULL) {
28561 SWIG_null_ref("wxTreeItemId");
28562 }
28563 if (SWIG_arg_fail(2)) SWIG_fail;
28564 }
28565 {
28566 PyThreadState* __tstate = wxPyBeginAllowThreads();
28567 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28568
28569 wxPyEndAllowThreads(__tstate);
28570 if (PyErr_Occurred()) SWIG_fail;
28571 }
28572 resultobj = result;
28573 return resultobj;
28574 fail:
28575 return NULL;
28576 }
28577
28578
28579 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28580 PyObject *resultobj;
28581 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28582 wxTreeItemId *arg2 = 0 ;
28583 wxColour result;
28584 PyObject * obj0 = 0 ;
28585 PyObject * obj1 = 0 ;
28586 char *kwnames[] = {
28587 (char *) "self",(char *) "item", NULL
28588 };
28589
28590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
28591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28592 if (SWIG_arg_fail(1)) SWIG_fail;
28593 {
28594 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28595 if (SWIG_arg_fail(2)) SWIG_fail;
28596 if (arg2 == NULL) {
28597 SWIG_null_ref("wxTreeItemId");
28598 }
28599 if (SWIG_arg_fail(2)) SWIG_fail;
28600 }
28601 {
28602 PyThreadState* __tstate = wxPyBeginAllowThreads();
28603 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28604
28605 wxPyEndAllowThreads(__tstate);
28606 if (PyErr_Occurred()) SWIG_fail;
28607 }
28608 {
28609 wxColour * resultptr;
28610 resultptr = new wxColour((wxColour &)(result));
28611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28612 }
28613 return resultobj;
28614 fail:
28615 return NULL;
28616 }
28617
28618
28619 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28620 PyObject *resultobj;
28621 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28622 wxTreeItemId *arg2 = 0 ;
28623 wxColour result;
28624 PyObject * obj0 = 0 ;
28625 PyObject * obj1 = 0 ;
28626 char *kwnames[] = {
28627 (char *) "self",(char *) "item", NULL
28628 };
28629
28630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28632 if (SWIG_arg_fail(1)) SWIG_fail;
28633 {
28634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28635 if (SWIG_arg_fail(2)) SWIG_fail;
28636 if (arg2 == NULL) {
28637 SWIG_null_ref("wxTreeItemId");
28638 }
28639 if (SWIG_arg_fail(2)) SWIG_fail;
28640 }
28641 {
28642 PyThreadState* __tstate = wxPyBeginAllowThreads();
28643 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28644
28645 wxPyEndAllowThreads(__tstate);
28646 if (PyErr_Occurred()) SWIG_fail;
28647 }
28648 {
28649 wxColour * resultptr;
28650 resultptr = new wxColour((wxColour &)(result));
28651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28652 }
28653 return resultobj;
28654 fail:
28655 return NULL;
28656 }
28657
28658
28659 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28660 PyObject *resultobj;
28661 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28662 wxTreeItemId *arg2 = 0 ;
28663 wxFont result;
28664 PyObject * obj0 = 0 ;
28665 PyObject * obj1 = 0 ;
28666 char *kwnames[] = {
28667 (char *) "self",(char *) "item", NULL
28668 };
28669
28670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28672 if (SWIG_arg_fail(1)) SWIG_fail;
28673 {
28674 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28675 if (SWIG_arg_fail(2)) SWIG_fail;
28676 if (arg2 == NULL) {
28677 SWIG_null_ref("wxTreeItemId");
28678 }
28679 if (SWIG_arg_fail(2)) SWIG_fail;
28680 }
28681 {
28682 PyThreadState* __tstate = wxPyBeginAllowThreads();
28683 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28684
28685 wxPyEndAllowThreads(__tstate);
28686 if (PyErr_Occurred()) SWIG_fail;
28687 }
28688 {
28689 wxFont * resultptr;
28690 resultptr = new wxFont((wxFont &)(result));
28691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28692 }
28693 return resultobj;
28694 fail:
28695 return NULL;
28696 }
28697
28698
28699 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28700 PyObject *resultobj;
28701 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28702 wxTreeItemId *arg2 = 0 ;
28703 wxString *arg3 = 0 ;
28704 bool temp3 = false ;
28705 PyObject * obj0 = 0 ;
28706 PyObject * obj1 = 0 ;
28707 PyObject * obj2 = 0 ;
28708 char *kwnames[] = {
28709 (char *) "self",(char *) "item",(char *) "text", NULL
28710 };
28711
28712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
28713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28714 if (SWIG_arg_fail(1)) SWIG_fail;
28715 {
28716 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28717 if (SWIG_arg_fail(2)) SWIG_fail;
28718 if (arg2 == NULL) {
28719 SWIG_null_ref("wxTreeItemId");
28720 }
28721 if (SWIG_arg_fail(2)) SWIG_fail;
28722 }
28723 {
28724 arg3 = wxString_in_helper(obj2);
28725 if (arg3 == NULL) SWIG_fail;
28726 temp3 = true;
28727 }
28728 {
28729 PyThreadState* __tstate = wxPyBeginAllowThreads();
28730 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28731
28732 wxPyEndAllowThreads(__tstate);
28733 if (PyErr_Occurred()) SWIG_fail;
28734 }
28735 Py_INCREF(Py_None); resultobj = Py_None;
28736 {
28737 if (temp3)
28738 delete arg3;
28739 }
28740 return resultobj;
28741 fail:
28742 {
28743 if (temp3)
28744 delete arg3;
28745 }
28746 return NULL;
28747 }
28748
28749
28750 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28751 PyObject *resultobj;
28752 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28753 wxTreeItemId *arg2 = 0 ;
28754 int arg3 ;
28755 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28756 PyObject * obj0 = 0 ;
28757 PyObject * obj1 = 0 ;
28758 PyObject * obj2 = 0 ;
28759 PyObject * obj3 = 0 ;
28760 char *kwnames[] = {
28761 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28762 };
28763
28764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28766 if (SWIG_arg_fail(1)) SWIG_fail;
28767 {
28768 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28769 if (SWIG_arg_fail(2)) SWIG_fail;
28770 if (arg2 == NULL) {
28771 SWIG_null_ref("wxTreeItemId");
28772 }
28773 if (SWIG_arg_fail(2)) SWIG_fail;
28774 }
28775 {
28776 arg3 = (int)(SWIG_As_int(obj2));
28777 if (SWIG_arg_fail(3)) SWIG_fail;
28778 }
28779 if (obj3) {
28780 {
28781 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28782 if (SWIG_arg_fail(4)) SWIG_fail;
28783 }
28784 }
28785 {
28786 PyThreadState* __tstate = wxPyBeginAllowThreads();
28787 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28788
28789 wxPyEndAllowThreads(__tstate);
28790 if (PyErr_Occurred()) SWIG_fail;
28791 }
28792 Py_INCREF(Py_None); resultobj = Py_None;
28793 return resultobj;
28794 fail:
28795 return NULL;
28796 }
28797
28798
28799 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28800 PyObject *resultobj;
28801 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28802 wxTreeItemId *arg2 = 0 ;
28803 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28804 PyObject * obj0 = 0 ;
28805 PyObject * obj1 = 0 ;
28806 PyObject * obj2 = 0 ;
28807 char *kwnames[] = {
28808 (char *) "self",(char *) "item",(char *) "data", NULL
28809 };
28810
28811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28813 if (SWIG_arg_fail(1)) SWIG_fail;
28814 {
28815 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28816 if (SWIG_arg_fail(2)) SWIG_fail;
28817 if (arg2 == NULL) {
28818 SWIG_null_ref("wxTreeItemId");
28819 }
28820 if (SWIG_arg_fail(2)) SWIG_fail;
28821 }
28822 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28823 if (SWIG_arg_fail(3)) SWIG_fail;
28824 {
28825 PyThreadState* __tstate = wxPyBeginAllowThreads();
28826 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28827
28828 wxPyEndAllowThreads(__tstate);
28829 if (PyErr_Occurred()) SWIG_fail;
28830 }
28831 Py_INCREF(Py_None); resultobj = Py_None;
28832 return resultobj;
28833 fail:
28834 return NULL;
28835 }
28836
28837
28838 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28839 PyObject *resultobj;
28840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28841 wxTreeItemId *arg2 = 0 ;
28842 PyObject *arg3 = (PyObject *) 0 ;
28843 PyObject * obj0 = 0 ;
28844 PyObject * obj1 = 0 ;
28845 PyObject * obj2 = 0 ;
28846 char *kwnames[] = {
28847 (char *) "self",(char *) "item",(char *) "obj", NULL
28848 };
28849
28850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28852 if (SWIG_arg_fail(1)) SWIG_fail;
28853 {
28854 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28855 if (SWIG_arg_fail(2)) SWIG_fail;
28856 if (arg2 == NULL) {
28857 SWIG_null_ref("wxTreeItemId");
28858 }
28859 if (SWIG_arg_fail(2)) SWIG_fail;
28860 }
28861 arg3 = obj2;
28862 {
28863 PyThreadState* __tstate = wxPyBeginAllowThreads();
28864 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28865
28866 wxPyEndAllowThreads(__tstate);
28867 if (PyErr_Occurred()) SWIG_fail;
28868 }
28869 Py_INCREF(Py_None); resultobj = Py_None;
28870 return resultobj;
28871 fail:
28872 return NULL;
28873 }
28874
28875
28876 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28877 PyObject *resultobj;
28878 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28879 wxTreeItemId *arg2 = 0 ;
28880 bool arg3 = (bool) true ;
28881 PyObject * obj0 = 0 ;
28882 PyObject * obj1 = 0 ;
28883 PyObject * obj2 = 0 ;
28884 char *kwnames[] = {
28885 (char *) "self",(char *) "item",(char *) "has", NULL
28886 };
28887
28888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
28889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28890 if (SWIG_arg_fail(1)) SWIG_fail;
28891 {
28892 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28893 if (SWIG_arg_fail(2)) SWIG_fail;
28894 if (arg2 == NULL) {
28895 SWIG_null_ref("wxTreeItemId");
28896 }
28897 if (SWIG_arg_fail(2)) SWIG_fail;
28898 }
28899 if (obj2) {
28900 {
28901 arg3 = (bool)(SWIG_As_bool(obj2));
28902 if (SWIG_arg_fail(3)) SWIG_fail;
28903 }
28904 }
28905 {
28906 PyThreadState* __tstate = wxPyBeginAllowThreads();
28907 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28908
28909 wxPyEndAllowThreads(__tstate);
28910 if (PyErr_Occurred()) SWIG_fail;
28911 }
28912 Py_INCREF(Py_None); resultobj = Py_None;
28913 return resultobj;
28914 fail:
28915 return NULL;
28916 }
28917
28918
28919 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
28920 PyObject *resultobj;
28921 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28922 wxTreeItemId *arg2 = 0 ;
28923 bool arg3 = (bool) true ;
28924 PyObject * obj0 = 0 ;
28925 PyObject * obj1 = 0 ;
28926 PyObject * obj2 = 0 ;
28927 char *kwnames[] = {
28928 (char *) "self",(char *) "item",(char *) "bold", NULL
28929 };
28930
28931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
28932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28933 if (SWIG_arg_fail(1)) SWIG_fail;
28934 {
28935 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28936 if (SWIG_arg_fail(2)) SWIG_fail;
28937 if (arg2 == NULL) {
28938 SWIG_null_ref("wxTreeItemId");
28939 }
28940 if (SWIG_arg_fail(2)) SWIG_fail;
28941 }
28942 if (obj2) {
28943 {
28944 arg3 = (bool)(SWIG_As_bool(obj2));
28945 if (SWIG_arg_fail(3)) SWIG_fail;
28946 }
28947 }
28948 {
28949 PyThreadState* __tstate = wxPyBeginAllowThreads();
28950 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
28951
28952 wxPyEndAllowThreads(__tstate);
28953 if (PyErr_Occurred()) SWIG_fail;
28954 }
28955 Py_INCREF(Py_None); resultobj = Py_None;
28956 return resultobj;
28957 fail:
28958 return NULL;
28959 }
28960
28961
28962 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
28963 PyObject *resultobj;
28964 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28965 wxTreeItemId *arg2 = 0 ;
28966 bool arg3 = (bool) true ;
28967 PyObject * obj0 = 0 ;
28968 PyObject * obj1 = 0 ;
28969 PyObject * obj2 = 0 ;
28970 char *kwnames[] = {
28971 (char *) "self",(char *) "item",(char *) "highlight", NULL
28972 };
28973
28974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
28975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28976 if (SWIG_arg_fail(1)) SWIG_fail;
28977 {
28978 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28979 if (SWIG_arg_fail(2)) SWIG_fail;
28980 if (arg2 == NULL) {
28981 SWIG_null_ref("wxTreeItemId");
28982 }
28983 if (SWIG_arg_fail(2)) SWIG_fail;
28984 }
28985 if (obj2) {
28986 {
28987 arg3 = (bool)(SWIG_As_bool(obj2));
28988 if (SWIG_arg_fail(3)) SWIG_fail;
28989 }
28990 }
28991 {
28992 PyThreadState* __tstate = wxPyBeginAllowThreads();
28993 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
28994
28995 wxPyEndAllowThreads(__tstate);
28996 if (PyErr_Occurred()) SWIG_fail;
28997 }
28998 Py_INCREF(Py_None); resultobj = Py_None;
28999 return resultobj;
29000 fail:
29001 return NULL;
29002 }
29003
29004
29005 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29006 PyObject *resultobj;
29007 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29008 wxTreeItemId *arg2 = 0 ;
29009 wxColour *arg3 = 0 ;
29010 wxColour temp3 ;
29011 PyObject * obj0 = 0 ;
29012 PyObject * obj1 = 0 ;
29013 PyObject * obj2 = 0 ;
29014 char *kwnames[] = {
29015 (char *) "self",(char *) "item",(char *) "col", NULL
29016 };
29017
29018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29020 if (SWIG_arg_fail(1)) SWIG_fail;
29021 {
29022 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29023 if (SWIG_arg_fail(2)) SWIG_fail;
29024 if (arg2 == NULL) {
29025 SWIG_null_ref("wxTreeItemId");
29026 }
29027 if (SWIG_arg_fail(2)) SWIG_fail;
29028 }
29029 {
29030 arg3 = &temp3;
29031 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29032 }
29033 {
29034 PyThreadState* __tstate = wxPyBeginAllowThreads();
29035 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29036
29037 wxPyEndAllowThreads(__tstate);
29038 if (PyErr_Occurred()) SWIG_fail;
29039 }
29040 Py_INCREF(Py_None); resultobj = Py_None;
29041 return resultobj;
29042 fail:
29043 return NULL;
29044 }
29045
29046
29047 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29048 PyObject *resultobj;
29049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29050 wxTreeItemId *arg2 = 0 ;
29051 wxColour *arg3 = 0 ;
29052 wxColour temp3 ;
29053 PyObject * obj0 = 0 ;
29054 PyObject * obj1 = 0 ;
29055 PyObject * obj2 = 0 ;
29056 char *kwnames[] = {
29057 (char *) "self",(char *) "item",(char *) "col", NULL
29058 };
29059
29060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29062 if (SWIG_arg_fail(1)) SWIG_fail;
29063 {
29064 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29065 if (SWIG_arg_fail(2)) SWIG_fail;
29066 if (arg2 == NULL) {
29067 SWIG_null_ref("wxTreeItemId");
29068 }
29069 if (SWIG_arg_fail(2)) SWIG_fail;
29070 }
29071 {
29072 arg3 = &temp3;
29073 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29074 }
29075 {
29076 PyThreadState* __tstate = wxPyBeginAllowThreads();
29077 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29078
29079 wxPyEndAllowThreads(__tstate);
29080 if (PyErr_Occurred()) SWIG_fail;
29081 }
29082 Py_INCREF(Py_None); resultobj = Py_None;
29083 return resultobj;
29084 fail:
29085 return NULL;
29086 }
29087
29088
29089 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29090 PyObject *resultobj;
29091 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29092 wxTreeItemId *arg2 = 0 ;
29093 wxFont *arg3 = 0 ;
29094 PyObject * obj0 = 0 ;
29095 PyObject * obj1 = 0 ;
29096 PyObject * obj2 = 0 ;
29097 char *kwnames[] = {
29098 (char *) "self",(char *) "item",(char *) "font", NULL
29099 };
29100
29101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29103 if (SWIG_arg_fail(1)) SWIG_fail;
29104 {
29105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29106 if (SWIG_arg_fail(2)) SWIG_fail;
29107 if (arg2 == NULL) {
29108 SWIG_null_ref("wxTreeItemId");
29109 }
29110 if (SWIG_arg_fail(2)) SWIG_fail;
29111 }
29112 {
29113 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29114 if (SWIG_arg_fail(3)) SWIG_fail;
29115 if (arg3 == NULL) {
29116 SWIG_null_ref("wxFont");
29117 }
29118 if (SWIG_arg_fail(3)) SWIG_fail;
29119 }
29120 {
29121 PyThreadState* __tstate = wxPyBeginAllowThreads();
29122 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont 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_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29135 PyObject *resultobj;
29136 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29137 wxTreeItemId *arg2 = 0 ;
29138 bool result;
29139 PyObject * obj0 = 0 ;
29140 PyObject * obj1 = 0 ;
29141 char *kwnames[] = {
29142 (char *) "self",(char *) "item", NULL
29143 };
29144
29145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
29146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29147 if (SWIG_arg_fail(1)) SWIG_fail;
29148 {
29149 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29150 if (SWIG_arg_fail(2)) SWIG_fail;
29151 if (arg2 == NULL) {
29152 SWIG_null_ref("wxTreeItemId");
29153 }
29154 if (SWIG_arg_fail(2)) SWIG_fail;
29155 }
29156 {
29157 PyThreadState* __tstate = wxPyBeginAllowThreads();
29158 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29159
29160 wxPyEndAllowThreads(__tstate);
29161 if (PyErr_Occurred()) SWIG_fail;
29162 }
29163 {
29164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29165 }
29166 return resultobj;
29167 fail:
29168 return NULL;
29169 }
29170
29171
29172 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29173 PyObject *resultobj;
29174 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29175 wxTreeItemId *arg2 = 0 ;
29176 bool result;
29177 PyObject * obj0 = 0 ;
29178 PyObject * obj1 = 0 ;
29179 char *kwnames[] = {
29180 (char *) "self",(char *) "item", NULL
29181 };
29182
29183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
29184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29185 if (SWIG_arg_fail(1)) SWIG_fail;
29186 {
29187 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29188 if (SWIG_arg_fail(2)) SWIG_fail;
29189 if (arg2 == NULL) {
29190 SWIG_null_ref("wxTreeItemId");
29191 }
29192 if (SWIG_arg_fail(2)) SWIG_fail;
29193 }
29194 {
29195 PyThreadState* __tstate = wxPyBeginAllowThreads();
29196 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29197
29198 wxPyEndAllowThreads(__tstate);
29199 if (PyErr_Occurred()) SWIG_fail;
29200 }
29201 {
29202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29203 }
29204 return resultobj;
29205 fail:
29206 return NULL;
29207 }
29208
29209
29210 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
29211 PyObject *resultobj;
29212 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29213 wxTreeItemId *arg2 = 0 ;
29214 bool result;
29215 PyObject * obj0 = 0 ;
29216 PyObject * obj1 = 0 ;
29217 char *kwnames[] = {
29218 (char *) "self",(char *) "item", NULL
29219 };
29220
29221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
29222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29223 if (SWIG_arg_fail(1)) SWIG_fail;
29224 {
29225 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29226 if (SWIG_arg_fail(2)) SWIG_fail;
29227 if (arg2 == NULL) {
29228 SWIG_null_ref("wxTreeItemId");
29229 }
29230 if (SWIG_arg_fail(2)) SWIG_fail;
29231 }
29232 {
29233 PyThreadState* __tstate = wxPyBeginAllowThreads();
29234 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29235
29236 wxPyEndAllowThreads(__tstate);
29237 if (PyErr_Occurred()) SWIG_fail;
29238 }
29239 {
29240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29241 }
29242 return resultobj;
29243 fail:
29244 return NULL;
29245 }
29246
29247
29248 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
29249 PyObject *resultobj;
29250 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29251 wxTreeItemId *arg2 = 0 ;
29252 bool result;
29253 PyObject * obj0 = 0 ;
29254 PyObject * obj1 = 0 ;
29255 char *kwnames[] = {
29256 (char *) "self",(char *) "item", NULL
29257 };
29258
29259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
29260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29261 if (SWIG_arg_fail(1)) SWIG_fail;
29262 {
29263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29264 if (SWIG_arg_fail(2)) SWIG_fail;
29265 if (arg2 == NULL) {
29266 SWIG_null_ref("wxTreeItemId");
29267 }
29268 if (SWIG_arg_fail(2)) SWIG_fail;
29269 }
29270 {
29271 PyThreadState* __tstate = wxPyBeginAllowThreads();
29272 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29273
29274 wxPyEndAllowThreads(__tstate);
29275 if (PyErr_Occurred()) SWIG_fail;
29276 }
29277 {
29278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29279 }
29280 return resultobj;
29281 fail:
29282 return NULL;
29283 }
29284
29285
29286 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29287 PyObject *resultobj;
29288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29289 wxTreeItemId *arg2 = 0 ;
29290 bool result;
29291 PyObject * obj0 = 0 ;
29292 PyObject * obj1 = 0 ;
29293 char *kwnames[] = {
29294 (char *) "self",(char *) "item", NULL
29295 };
29296
29297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29299 if (SWIG_arg_fail(1)) SWIG_fail;
29300 {
29301 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29302 if (SWIG_arg_fail(2)) SWIG_fail;
29303 if (arg2 == NULL) {
29304 SWIG_null_ref("wxTreeItemId");
29305 }
29306 if (SWIG_arg_fail(2)) SWIG_fail;
29307 }
29308 {
29309 PyThreadState* __tstate = wxPyBeginAllowThreads();
29310 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29311
29312 wxPyEndAllowThreads(__tstate);
29313 if (PyErr_Occurred()) SWIG_fail;
29314 }
29315 {
29316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29317 }
29318 return resultobj;
29319 fail:
29320 return NULL;
29321 }
29322
29323
29324 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29325 PyObject *resultobj;
29326 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29327 wxTreeItemId *arg2 = 0 ;
29328 bool arg3 = (bool) true ;
29329 size_t result;
29330 PyObject * obj0 = 0 ;
29331 PyObject * obj1 = 0 ;
29332 PyObject * obj2 = 0 ;
29333 char *kwnames[] = {
29334 (char *) "self",(char *) "item",(char *) "recursively", NULL
29335 };
29336
29337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29339 if (SWIG_arg_fail(1)) SWIG_fail;
29340 {
29341 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29342 if (SWIG_arg_fail(2)) SWIG_fail;
29343 if (arg2 == NULL) {
29344 SWIG_null_ref("wxTreeItemId");
29345 }
29346 if (SWIG_arg_fail(2)) SWIG_fail;
29347 }
29348 if (obj2) {
29349 {
29350 arg3 = (bool)(SWIG_As_bool(obj2));
29351 if (SWIG_arg_fail(3)) SWIG_fail;
29352 }
29353 }
29354 {
29355 PyThreadState* __tstate = wxPyBeginAllowThreads();
29356 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29357
29358 wxPyEndAllowThreads(__tstate);
29359 if (PyErr_Occurred()) SWIG_fail;
29360 }
29361 {
29362 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29363 }
29364 return resultobj;
29365 fail:
29366 return NULL;
29367 }
29368
29369
29370 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29371 PyObject *resultobj;
29372 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29373 wxTreeItemId result;
29374 PyObject * obj0 = 0 ;
29375 char *kwnames[] = {
29376 (char *) "self", NULL
29377 };
29378
29379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29381 if (SWIG_arg_fail(1)) SWIG_fail;
29382 {
29383 PyThreadState* __tstate = wxPyBeginAllowThreads();
29384 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29385
29386 wxPyEndAllowThreads(__tstate);
29387 if (PyErr_Occurred()) SWIG_fail;
29388 }
29389 {
29390 wxTreeItemId * resultptr;
29391 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29392 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29393 }
29394 return resultobj;
29395 fail:
29396 return NULL;
29397 }
29398
29399
29400 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29401 PyObject *resultobj;
29402 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29403 wxTreeItemId result;
29404 PyObject * obj0 = 0 ;
29405 char *kwnames[] = {
29406 (char *) "self", NULL
29407 };
29408
29409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29411 if (SWIG_arg_fail(1)) SWIG_fail;
29412 {
29413 PyThreadState* __tstate = wxPyBeginAllowThreads();
29414 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29415
29416 wxPyEndAllowThreads(__tstate);
29417 if (PyErr_Occurred()) SWIG_fail;
29418 }
29419 {
29420 wxTreeItemId * resultptr;
29421 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29423 }
29424 return resultobj;
29425 fail:
29426 return NULL;
29427 }
29428
29429
29430 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29431 PyObject *resultobj;
29432 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29433 PyObject *result;
29434 PyObject * obj0 = 0 ;
29435 char *kwnames[] = {
29436 (char *) "self", NULL
29437 };
29438
29439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29441 if (SWIG_arg_fail(1)) SWIG_fail;
29442 {
29443 PyThreadState* __tstate = wxPyBeginAllowThreads();
29444 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29445
29446 wxPyEndAllowThreads(__tstate);
29447 if (PyErr_Occurred()) SWIG_fail;
29448 }
29449 resultobj = result;
29450 return resultobj;
29451 fail:
29452 return NULL;
29453 }
29454
29455
29456 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29457 PyObject *resultobj;
29458 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29459 wxTreeItemId *arg2 = 0 ;
29460 wxTreeItemId result;
29461 PyObject * obj0 = 0 ;
29462 PyObject * obj1 = 0 ;
29463 char *kwnames[] = {
29464 (char *) "self",(char *) "item", NULL
29465 };
29466
29467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29469 if (SWIG_arg_fail(1)) SWIG_fail;
29470 {
29471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29472 if (SWIG_arg_fail(2)) SWIG_fail;
29473 if (arg2 == NULL) {
29474 SWIG_null_ref("wxTreeItemId");
29475 }
29476 if (SWIG_arg_fail(2)) SWIG_fail;
29477 }
29478 {
29479 PyThreadState* __tstate = wxPyBeginAllowThreads();
29480 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29481
29482 wxPyEndAllowThreads(__tstate);
29483 if (PyErr_Occurred()) SWIG_fail;
29484 }
29485 {
29486 wxTreeItemId * resultptr;
29487 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29489 }
29490 return resultobj;
29491 fail:
29492 return NULL;
29493 }
29494
29495
29496 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29497 PyObject *resultobj;
29498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29499 wxTreeItemId *arg2 = 0 ;
29500 PyObject *result;
29501 PyObject * obj0 = 0 ;
29502 PyObject * obj1 = 0 ;
29503 char *kwnames[] = {
29504 (char *) "self",(char *) "item", NULL
29505 };
29506
29507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
29508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29509 if (SWIG_arg_fail(1)) SWIG_fail;
29510 {
29511 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29512 if (SWIG_arg_fail(2)) SWIG_fail;
29513 if (arg2 == NULL) {
29514 SWIG_null_ref("wxTreeItemId");
29515 }
29516 if (SWIG_arg_fail(2)) SWIG_fail;
29517 }
29518 {
29519 PyThreadState* __tstate = wxPyBeginAllowThreads();
29520 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29521
29522 wxPyEndAllowThreads(__tstate);
29523 if (PyErr_Occurred()) SWIG_fail;
29524 }
29525 resultobj = result;
29526 return resultobj;
29527 fail:
29528 return NULL;
29529 }
29530
29531
29532 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29533 PyObject *resultobj;
29534 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29535 wxTreeItemId *arg2 = 0 ;
29536 void *arg3 = (void *) 0 ;
29537 PyObject *result;
29538 PyObject * obj0 = 0 ;
29539 PyObject * obj1 = 0 ;
29540 PyObject * obj2 = 0 ;
29541 char *kwnames[] = {
29542 (char *) "self",(char *) "item",(char *) "cookie", NULL
29543 };
29544
29545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29547 if (SWIG_arg_fail(1)) SWIG_fail;
29548 {
29549 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29550 if (SWIG_arg_fail(2)) SWIG_fail;
29551 if (arg2 == NULL) {
29552 SWIG_null_ref("wxTreeItemId");
29553 }
29554 if (SWIG_arg_fail(2)) SWIG_fail;
29555 }
29556 {
29557 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29558 SWIG_arg_fail(3);SWIG_fail;
29559 }
29560 }
29561 {
29562 PyThreadState* __tstate = wxPyBeginAllowThreads();
29563 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29564
29565 wxPyEndAllowThreads(__tstate);
29566 if (PyErr_Occurred()) SWIG_fail;
29567 }
29568 resultobj = result;
29569 return resultobj;
29570 fail:
29571 return NULL;
29572 }
29573
29574
29575 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29576 PyObject *resultobj;
29577 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29578 wxTreeItemId *arg2 = 0 ;
29579 wxTreeItemId result;
29580 PyObject * obj0 = 0 ;
29581 PyObject * obj1 = 0 ;
29582 char *kwnames[] = {
29583 (char *) "self",(char *) "item", NULL
29584 };
29585
29586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29588 if (SWIG_arg_fail(1)) SWIG_fail;
29589 {
29590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29591 if (SWIG_arg_fail(2)) SWIG_fail;
29592 if (arg2 == NULL) {
29593 SWIG_null_ref("wxTreeItemId");
29594 }
29595 if (SWIG_arg_fail(2)) SWIG_fail;
29596 }
29597 {
29598 PyThreadState* __tstate = wxPyBeginAllowThreads();
29599 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29600
29601 wxPyEndAllowThreads(__tstate);
29602 if (PyErr_Occurred()) SWIG_fail;
29603 }
29604 {
29605 wxTreeItemId * resultptr;
29606 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29608 }
29609 return resultobj;
29610 fail:
29611 return NULL;
29612 }
29613
29614
29615 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29616 PyObject *resultobj;
29617 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29618 wxTreeItemId *arg2 = 0 ;
29619 wxTreeItemId result;
29620 PyObject * obj0 = 0 ;
29621 PyObject * obj1 = 0 ;
29622 char *kwnames[] = {
29623 (char *) "self",(char *) "item", NULL
29624 };
29625
29626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29628 if (SWIG_arg_fail(1)) SWIG_fail;
29629 {
29630 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29631 if (SWIG_arg_fail(2)) SWIG_fail;
29632 if (arg2 == NULL) {
29633 SWIG_null_ref("wxTreeItemId");
29634 }
29635 if (SWIG_arg_fail(2)) SWIG_fail;
29636 }
29637 {
29638 PyThreadState* __tstate = wxPyBeginAllowThreads();
29639 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29640
29641 wxPyEndAllowThreads(__tstate);
29642 if (PyErr_Occurred()) SWIG_fail;
29643 }
29644 {
29645 wxTreeItemId * resultptr;
29646 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29648 }
29649 return resultobj;
29650 fail:
29651 return NULL;
29652 }
29653
29654
29655 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29656 PyObject *resultobj;
29657 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29658 wxTreeItemId *arg2 = 0 ;
29659 wxTreeItemId result;
29660 PyObject * obj0 = 0 ;
29661 PyObject * obj1 = 0 ;
29662 char *kwnames[] = {
29663 (char *) "self",(char *) "item", NULL
29664 };
29665
29666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
29667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29668 if (SWIG_arg_fail(1)) SWIG_fail;
29669 {
29670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29671 if (SWIG_arg_fail(2)) SWIG_fail;
29672 if (arg2 == NULL) {
29673 SWIG_null_ref("wxTreeItemId");
29674 }
29675 if (SWIG_arg_fail(2)) SWIG_fail;
29676 }
29677 {
29678 PyThreadState* __tstate = wxPyBeginAllowThreads();
29679 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29680
29681 wxPyEndAllowThreads(__tstate);
29682 if (PyErr_Occurred()) SWIG_fail;
29683 }
29684 {
29685 wxTreeItemId * resultptr;
29686 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29687 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29688 }
29689 return resultobj;
29690 fail:
29691 return NULL;
29692 }
29693
29694
29695 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29696 PyObject *resultobj;
29697 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29698 wxTreeItemId result;
29699 PyObject * obj0 = 0 ;
29700 char *kwnames[] = {
29701 (char *) "self", NULL
29702 };
29703
29704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29706 if (SWIG_arg_fail(1)) SWIG_fail;
29707 {
29708 PyThreadState* __tstate = wxPyBeginAllowThreads();
29709 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29710
29711 wxPyEndAllowThreads(__tstate);
29712 if (PyErr_Occurred()) SWIG_fail;
29713 }
29714 {
29715 wxTreeItemId * resultptr;
29716 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29717 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29718 }
29719 return resultobj;
29720 fail:
29721 return NULL;
29722 }
29723
29724
29725 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29726 PyObject *resultobj;
29727 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29728 wxTreeItemId *arg2 = 0 ;
29729 wxTreeItemId result;
29730 PyObject * obj0 = 0 ;
29731 PyObject * obj1 = 0 ;
29732 char *kwnames[] = {
29733 (char *) "self",(char *) "item", NULL
29734 };
29735
29736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29738 if (SWIG_arg_fail(1)) SWIG_fail;
29739 {
29740 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29741 if (SWIG_arg_fail(2)) SWIG_fail;
29742 if (arg2 == NULL) {
29743 SWIG_null_ref("wxTreeItemId");
29744 }
29745 if (SWIG_arg_fail(2)) SWIG_fail;
29746 }
29747 {
29748 PyThreadState* __tstate = wxPyBeginAllowThreads();
29749 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29750
29751 wxPyEndAllowThreads(__tstate);
29752 if (PyErr_Occurred()) SWIG_fail;
29753 }
29754 {
29755 wxTreeItemId * resultptr;
29756 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29758 }
29759 return resultobj;
29760 fail:
29761 return NULL;
29762 }
29763
29764
29765 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29766 PyObject *resultobj;
29767 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29768 wxTreeItemId *arg2 = 0 ;
29769 wxTreeItemId result;
29770 PyObject * obj0 = 0 ;
29771 PyObject * obj1 = 0 ;
29772 char *kwnames[] = {
29773 (char *) "self",(char *) "item", NULL
29774 };
29775
29776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
29777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29778 if (SWIG_arg_fail(1)) SWIG_fail;
29779 {
29780 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29781 if (SWIG_arg_fail(2)) SWIG_fail;
29782 if (arg2 == NULL) {
29783 SWIG_null_ref("wxTreeItemId");
29784 }
29785 if (SWIG_arg_fail(2)) SWIG_fail;
29786 }
29787 {
29788 PyThreadState* __tstate = wxPyBeginAllowThreads();
29789 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29790
29791 wxPyEndAllowThreads(__tstate);
29792 if (PyErr_Occurred()) SWIG_fail;
29793 }
29794 {
29795 wxTreeItemId * resultptr;
29796 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29798 }
29799 return resultobj;
29800 fail:
29801 return NULL;
29802 }
29803
29804
29805 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
29806 PyObject *resultobj;
29807 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29808 wxString *arg2 = 0 ;
29809 int arg3 = (int) -1 ;
29810 int arg4 = (int) -1 ;
29811 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29812 wxTreeItemId result;
29813 bool temp2 = false ;
29814 PyObject * obj0 = 0 ;
29815 PyObject * obj1 = 0 ;
29816 PyObject * obj2 = 0 ;
29817 PyObject * obj3 = 0 ;
29818 PyObject * obj4 = 0 ;
29819 char *kwnames[] = {
29820 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29821 };
29822
29823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29825 if (SWIG_arg_fail(1)) SWIG_fail;
29826 {
29827 arg2 = wxString_in_helper(obj1);
29828 if (arg2 == NULL) SWIG_fail;
29829 temp2 = true;
29830 }
29831 if (obj2) {
29832 {
29833 arg3 = (int)(SWIG_As_int(obj2));
29834 if (SWIG_arg_fail(3)) SWIG_fail;
29835 }
29836 }
29837 if (obj3) {
29838 {
29839 arg4 = (int)(SWIG_As_int(obj3));
29840 if (SWIG_arg_fail(4)) SWIG_fail;
29841 }
29842 }
29843 if (obj4) {
29844 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29845 if (SWIG_arg_fail(5)) SWIG_fail;
29846 }
29847 {
29848 PyThreadState* __tstate = wxPyBeginAllowThreads();
29849 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29850
29851 wxPyEndAllowThreads(__tstate);
29852 if (PyErr_Occurred()) SWIG_fail;
29853 }
29854 {
29855 wxTreeItemId * resultptr;
29856 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29858 }
29859 {
29860 if (temp2)
29861 delete arg2;
29862 }
29863 return resultobj;
29864 fail:
29865 {
29866 if (temp2)
29867 delete arg2;
29868 }
29869 return NULL;
29870 }
29871
29872
29873 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
29874 PyObject *resultobj;
29875 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29876 wxTreeItemId *arg2 = 0 ;
29877 wxString *arg3 = 0 ;
29878 int arg4 = (int) -1 ;
29879 int arg5 = (int) -1 ;
29880 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29881 wxTreeItemId result;
29882 bool temp3 = false ;
29883 PyObject * obj0 = 0 ;
29884 PyObject * obj1 = 0 ;
29885 PyObject * obj2 = 0 ;
29886 PyObject * obj3 = 0 ;
29887 PyObject * obj4 = 0 ;
29888 PyObject * obj5 = 0 ;
29889 char *kwnames[] = {
29890 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29891 };
29892
29893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29895 if (SWIG_arg_fail(1)) SWIG_fail;
29896 {
29897 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29898 if (SWIG_arg_fail(2)) SWIG_fail;
29899 if (arg2 == NULL) {
29900 SWIG_null_ref("wxTreeItemId");
29901 }
29902 if (SWIG_arg_fail(2)) SWIG_fail;
29903 }
29904 {
29905 arg3 = wxString_in_helper(obj2);
29906 if (arg3 == NULL) SWIG_fail;
29907 temp3 = true;
29908 }
29909 if (obj3) {
29910 {
29911 arg4 = (int)(SWIG_As_int(obj3));
29912 if (SWIG_arg_fail(4)) SWIG_fail;
29913 }
29914 }
29915 if (obj4) {
29916 {
29917 arg5 = (int)(SWIG_As_int(obj4));
29918 if (SWIG_arg_fail(5)) SWIG_fail;
29919 }
29920 }
29921 if (obj5) {
29922 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29923 if (SWIG_arg_fail(6)) SWIG_fail;
29924 }
29925 {
29926 PyThreadState* __tstate = wxPyBeginAllowThreads();
29927 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
29928
29929 wxPyEndAllowThreads(__tstate);
29930 if (PyErr_Occurred()) SWIG_fail;
29931 }
29932 {
29933 wxTreeItemId * resultptr;
29934 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29935 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29936 }
29937 {
29938 if (temp3)
29939 delete arg3;
29940 }
29941 return resultobj;
29942 fail:
29943 {
29944 if (temp3)
29945 delete arg3;
29946 }
29947 return NULL;
29948 }
29949
29950
29951 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
29952 PyObject *resultobj;
29953 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29954 wxTreeItemId *arg2 = 0 ;
29955 wxTreeItemId *arg3 = 0 ;
29956 wxString *arg4 = 0 ;
29957 int arg5 = (int) -1 ;
29958 int arg6 = (int) -1 ;
29959 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
29960 wxTreeItemId result;
29961 bool temp4 = false ;
29962 PyObject * obj0 = 0 ;
29963 PyObject * obj1 = 0 ;
29964 PyObject * obj2 = 0 ;
29965 PyObject * obj3 = 0 ;
29966 PyObject * obj4 = 0 ;
29967 PyObject * obj5 = 0 ;
29968 PyObject * obj6 = 0 ;
29969 char *kwnames[] = {
29970 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29971 };
29972
29973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29975 if (SWIG_arg_fail(1)) SWIG_fail;
29976 {
29977 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29978 if (SWIG_arg_fail(2)) SWIG_fail;
29979 if (arg2 == NULL) {
29980 SWIG_null_ref("wxTreeItemId");
29981 }
29982 if (SWIG_arg_fail(2)) SWIG_fail;
29983 }
29984 {
29985 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29986 if (SWIG_arg_fail(3)) SWIG_fail;
29987 if (arg3 == NULL) {
29988 SWIG_null_ref("wxTreeItemId");
29989 }
29990 if (SWIG_arg_fail(3)) SWIG_fail;
29991 }
29992 {
29993 arg4 = wxString_in_helper(obj3);
29994 if (arg4 == NULL) SWIG_fail;
29995 temp4 = true;
29996 }
29997 if (obj4) {
29998 {
29999 arg5 = (int)(SWIG_As_int(obj4));
30000 if (SWIG_arg_fail(5)) SWIG_fail;
30001 }
30002 }
30003 if (obj5) {
30004 {
30005 arg6 = (int)(SWIG_As_int(obj5));
30006 if (SWIG_arg_fail(6)) SWIG_fail;
30007 }
30008 }
30009 if (obj6) {
30010 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30011 if (SWIG_arg_fail(7)) SWIG_fail;
30012 }
30013 {
30014 PyThreadState* __tstate = wxPyBeginAllowThreads();
30015 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30016
30017 wxPyEndAllowThreads(__tstate);
30018 if (PyErr_Occurred()) SWIG_fail;
30019 }
30020 {
30021 wxTreeItemId * resultptr;
30022 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30024 }
30025 {
30026 if (temp4)
30027 delete arg4;
30028 }
30029 return resultobj;
30030 fail:
30031 {
30032 if (temp4)
30033 delete arg4;
30034 }
30035 return NULL;
30036 }
30037
30038
30039 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
30040 PyObject *resultobj;
30041 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30042 wxTreeItemId *arg2 = 0 ;
30043 size_t arg3 ;
30044 wxString *arg4 = 0 ;
30045 int arg5 = (int) -1 ;
30046 int arg6 = (int) -1 ;
30047 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30048 wxTreeItemId result;
30049 bool temp4 = false ;
30050 PyObject * obj0 = 0 ;
30051 PyObject * obj1 = 0 ;
30052 PyObject * obj2 = 0 ;
30053 PyObject * obj3 = 0 ;
30054 PyObject * obj4 = 0 ;
30055 PyObject * obj5 = 0 ;
30056 PyObject * obj6 = 0 ;
30057 char *kwnames[] = {
30058 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30059 };
30060
30061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30063 if (SWIG_arg_fail(1)) SWIG_fail;
30064 {
30065 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30066 if (SWIG_arg_fail(2)) SWIG_fail;
30067 if (arg2 == NULL) {
30068 SWIG_null_ref("wxTreeItemId");
30069 }
30070 if (SWIG_arg_fail(2)) SWIG_fail;
30071 }
30072 {
30073 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30074 if (SWIG_arg_fail(3)) SWIG_fail;
30075 }
30076 {
30077 arg4 = wxString_in_helper(obj3);
30078 if (arg4 == NULL) SWIG_fail;
30079 temp4 = true;
30080 }
30081 if (obj4) {
30082 {
30083 arg5 = (int)(SWIG_As_int(obj4));
30084 if (SWIG_arg_fail(5)) SWIG_fail;
30085 }
30086 }
30087 if (obj5) {
30088 {
30089 arg6 = (int)(SWIG_As_int(obj5));
30090 if (SWIG_arg_fail(6)) SWIG_fail;
30091 }
30092 }
30093 if (obj6) {
30094 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30095 if (SWIG_arg_fail(7)) SWIG_fail;
30096 }
30097 {
30098 PyThreadState* __tstate = wxPyBeginAllowThreads();
30099 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30100
30101 wxPyEndAllowThreads(__tstate);
30102 if (PyErr_Occurred()) SWIG_fail;
30103 }
30104 {
30105 wxTreeItemId * resultptr;
30106 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30107 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30108 }
30109 {
30110 if (temp4)
30111 delete arg4;
30112 }
30113 return resultobj;
30114 fail:
30115 {
30116 if (temp4)
30117 delete arg4;
30118 }
30119 return NULL;
30120 }
30121
30122
30123 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30124 PyObject *resultobj;
30125 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30126 wxTreeItemId *arg2 = 0 ;
30127 wxString *arg3 = 0 ;
30128 int arg4 = (int) -1 ;
30129 int arg5 = (int) -1 ;
30130 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30131 wxTreeItemId result;
30132 bool temp3 = false ;
30133 PyObject * obj0 = 0 ;
30134 PyObject * obj1 = 0 ;
30135 PyObject * obj2 = 0 ;
30136 PyObject * obj3 = 0 ;
30137 PyObject * obj4 = 0 ;
30138 PyObject * obj5 = 0 ;
30139 char *kwnames[] = {
30140 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30141 };
30142
30143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30145 if (SWIG_arg_fail(1)) SWIG_fail;
30146 {
30147 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30148 if (SWIG_arg_fail(2)) SWIG_fail;
30149 if (arg2 == NULL) {
30150 SWIG_null_ref("wxTreeItemId");
30151 }
30152 if (SWIG_arg_fail(2)) SWIG_fail;
30153 }
30154 {
30155 arg3 = wxString_in_helper(obj2);
30156 if (arg3 == NULL) SWIG_fail;
30157 temp3 = true;
30158 }
30159 if (obj3) {
30160 {
30161 arg4 = (int)(SWIG_As_int(obj3));
30162 if (SWIG_arg_fail(4)) SWIG_fail;
30163 }
30164 }
30165 if (obj4) {
30166 {
30167 arg5 = (int)(SWIG_As_int(obj4));
30168 if (SWIG_arg_fail(5)) SWIG_fail;
30169 }
30170 }
30171 if (obj5) {
30172 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30173 if (SWIG_arg_fail(6)) SWIG_fail;
30174 }
30175 {
30176 PyThreadState* __tstate = wxPyBeginAllowThreads();
30177 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30178
30179 wxPyEndAllowThreads(__tstate);
30180 if (PyErr_Occurred()) SWIG_fail;
30181 }
30182 {
30183 wxTreeItemId * resultptr;
30184 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30185 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30186 }
30187 {
30188 if (temp3)
30189 delete arg3;
30190 }
30191 return resultobj;
30192 fail:
30193 {
30194 if (temp3)
30195 delete arg3;
30196 }
30197 return NULL;
30198 }
30199
30200
30201 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30202 PyObject *resultobj;
30203 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30204 wxTreeItemId *arg2 = 0 ;
30205 PyObject * obj0 = 0 ;
30206 PyObject * obj1 = 0 ;
30207 char *kwnames[] = {
30208 (char *) "self",(char *) "item", NULL
30209 };
30210
30211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30213 if (SWIG_arg_fail(1)) SWIG_fail;
30214 {
30215 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30216 if (SWIG_arg_fail(2)) SWIG_fail;
30217 if (arg2 == NULL) {
30218 SWIG_null_ref("wxTreeItemId");
30219 }
30220 if (SWIG_arg_fail(2)) SWIG_fail;
30221 }
30222 {
30223 PyThreadState* __tstate = wxPyBeginAllowThreads();
30224 (arg1)->Delete((wxTreeItemId const &)*arg2);
30225
30226 wxPyEndAllowThreads(__tstate);
30227 if (PyErr_Occurred()) SWIG_fail;
30228 }
30229 Py_INCREF(Py_None); resultobj = Py_None;
30230 return resultobj;
30231 fail:
30232 return NULL;
30233 }
30234
30235
30236 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30237 PyObject *resultobj;
30238 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30239 wxTreeItemId *arg2 = 0 ;
30240 PyObject * obj0 = 0 ;
30241 PyObject * obj1 = 0 ;
30242 char *kwnames[] = {
30243 (char *) "self",(char *) "item", NULL
30244 };
30245
30246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30248 if (SWIG_arg_fail(1)) SWIG_fail;
30249 {
30250 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30251 if (SWIG_arg_fail(2)) SWIG_fail;
30252 if (arg2 == NULL) {
30253 SWIG_null_ref("wxTreeItemId");
30254 }
30255 if (SWIG_arg_fail(2)) SWIG_fail;
30256 }
30257 {
30258 PyThreadState* __tstate = wxPyBeginAllowThreads();
30259 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30260
30261 wxPyEndAllowThreads(__tstate);
30262 if (PyErr_Occurred()) SWIG_fail;
30263 }
30264 Py_INCREF(Py_None); resultobj = Py_None;
30265 return resultobj;
30266 fail:
30267 return NULL;
30268 }
30269
30270
30271 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30272 PyObject *resultobj;
30273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30274 PyObject * obj0 = 0 ;
30275 char *kwnames[] = {
30276 (char *) "self", NULL
30277 };
30278
30279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30281 if (SWIG_arg_fail(1)) SWIG_fail;
30282 {
30283 PyThreadState* __tstate = wxPyBeginAllowThreads();
30284 (arg1)->DeleteAllItems();
30285
30286 wxPyEndAllowThreads(__tstate);
30287 if (PyErr_Occurred()) SWIG_fail;
30288 }
30289 Py_INCREF(Py_None); resultobj = Py_None;
30290 return resultobj;
30291 fail:
30292 return NULL;
30293 }
30294
30295
30296 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30297 PyObject *resultobj;
30298 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30299 wxTreeItemId *arg2 = 0 ;
30300 PyObject * obj0 = 0 ;
30301 PyObject * obj1 = 0 ;
30302 char *kwnames[] = {
30303 (char *) "self",(char *) "item", NULL
30304 };
30305
30306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30308 if (SWIG_arg_fail(1)) SWIG_fail;
30309 {
30310 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30311 if (SWIG_arg_fail(2)) SWIG_fail;
30312 if (arg2 == NULL) {
30313 SWIG_null_ref("wxTreeItemId");
30314 }
30315 if (SWIG_arg_fail(2)) SWIG_fail;
30316 }
30317 {
30318 PyThreadState* __tstate = wxPyBeginAllowThreads();
30319 (arg1)->Expand((wxTreeItemId const &)*arg2);
30320
30321 wxPyEndAllowThreads(__tstate);
30322 if (PyErr_Occurred()) SWIG_fail;
30323 }
30324 Py_INCREF(Py_None); resultobj = Py_None;
30325 return resultobj;
30326 fail:
30327 return NULL;
30328 }
30329
30330
30331 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30332 PyObject *resultobj;
30333 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30334 wxTreeItemId *arg2 = 0 ;
30335 PyObject * obj0 = 0 ;
30336 PyObject * obj1 = 0 ;
30337 char *kwnames[] = {
30338 (char *) "self",(char *) "item", NULL
30339 };
30340
30341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30343 if (SWIG_arg_fail(1)) SWIG_fail;
30344 {
30345 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30346 if (SWIG_arg_fail(2)) SWIG_fail;
30347 if (arg2 == NULL) {
30348 SWIG_null_ref("wxTreeItemId");
30349 }
30350 if (SWIG_arg_fail(2)) SWIG_fail;
30351 }
30352 {
30353 PyThreadState* __tstate = wxPyBeginAllowThreads();
30354 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30355
30356 wxPyEndAllowThreads(__tstate);
30357 if (PyErr_Occurred()) SWIG_fail;
30358 }
30359 Py_INCREF(Py_None); resultobj = Py_None;
30360 return resultobj;
30361 fail:
30362 return NULL;
30363 }
30364
30365
30366 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30367 PyObject *resultobj;
30368 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30369 wxTreeItemId *arg2 = 0 ;
30370 PyObject * obj0 = 0 ;
30371 PyObject * obj1 = 0 ;
30372 char *kwnames[] = {
30373 (char *) "self",(char *) "item", NULL
30374 };
30375
30376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30378 if (SWIG_arg_fail(1)) SWIG_fail;
30379 {
30380 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30381 if (SWIG_arg_fail(2)) SWIG_fail;
30382 if (arg2 == NULL) {
30383 SWIG_null_ref("wxTreeItemId");
30384 }
30385 if (SWIG_arg_fail(2)) SWIG_fail;
30386 }
30387 {
30388 PyThreadState* __tstate = wxPyBeginAllowThreads();
30389 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30390
30391 wxPyEndAllowThreads(__tstate);
30392 if (PyErr_Occurred()) SWIG_fail;
30393 }
30394 Py_INCREF(Py_None); resultobj = Py_None;
30395 return resultobj;
30396 fail:
30397 return NULL;
30398 }
30399
30400
30401 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30402 PyObject *resultobj;
30403 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30404 wxTreeItemId *arg2 = 0 ;
30405 PyObject * obj0 = 0 ;
30406 PyObject * obj1 = 0 ;
30407 char *kwnames[] = {
30408 (char *) "self",(char *) "item", NULL
30409 };
30410
30411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30413 if (SWIG_arg_fail(1)) SWIG_fail;
30414 {
30415 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30416 if (SWIG_arg_fail(2)) SWIG_fail;
30417 if (arg2 == NULL) {
30418 SWIG_null_ref("wxTreeItemId");
30419 }
30420 if (SWIG_arg_fail(2)) SWIG_fail;
30421 }
30422 {
30423 PyThreadState* __tstate = wxPyBeginAllowThreads();
30424 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30425
30426 wxPyEndAllowThreads(__tstate);
30427 if (PyErr_Occurred()) SWIG_fail;
30428 }
30429 Py_INCREF(Py_None); resultobj = Py_None;
30430 return resultobj;
30431 fail:
30432 return NULL;
30433 }
30434
30435
30436 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30437 PyObject *resultobj;
30438 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30439 PyObject * obj0 = 0 ;
30440 char *kwnames[] = {
30441 (char *) "self", NULL
30442 };
30443
30444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30446 if (SWIG_arg_fail(1)) SWIG_fail;
30447 {
30448 PyThreadState* __tstate = wxPyBeginAllowThreads();
30449 (arg1)->Unselect();
30450
30451 wxPyEndAllowThreads(__tstate);
30452 if (PyErr_Occurred()) SWIG_fail;
30453 }
30454 Py_INCREF(Py_None); resultobj = Py_None;
30455 return resultobj;
30456 fail:
30457 return NULL;
30458 }
30459
30460
30461 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30462 PyObject *resultobj;
30463 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30464 wxTreeItemId *arg2 = 0 ;
30465 PyObject * obj0 = 0 ;
30466 PyObject * obj1 = 0 ;
30467 char *kwnames[] = {
30468 (char *) "self",(char *) "item", NULL
30469 };
30470
30471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30473 if (SWIG_arg_fail(1)) SWIG_fail;
30474 {
30475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30476 if (SWIG_arg_fail(2)) SWIG_fail;
30477 if (arg2 == NULL) {
30478 SWIG_null_ref("wxTreeItemId");
30479 }
30480 if (SWIG_arg_fail(2)) SWIG_fail;
30481 }
30482 {
30483 PyThreadState* __tstate = wxPyBeginAllowThreads();
30484 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30485
30486 wxPyEndAllowThreads(__tstate);
30487 if (PyErr_Occurred()) SWIG_fail;
30488 }
30489 Py_INCREF(Py_None); resultobj = Py_None;
30490 return resultobj;
30491 fail:
30492 return NULL;
30493 }
30494
30495
30496 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30497 PyObject *resultobj;
30498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30499 PyObject * obj0 = 0 ;
30500 char *kwnames[] = {
30501 (char *) "self", NULL
30502 };
30503
30504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30506 if (SWIG_arg_fail(1)) SWIG_fail;
30507 {
30508 PyThreadState* __tstate = wxPyBeginAllowThreads();
30509 (arg1)->UnselectAll();
30510
30511 wxPyEndAllowThreads(__tstate);
30512 if (PyErr_Occurred()) SWIG_fail;
30513 }
30514 Py_INCREF(Py_None); resultobj = Py_None;
30515 return resultobj;
30516 fail:
30517 return NULL;
30518 }
30519
30520
30521 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30522 PyObject *resultobj;
30523 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30524 wxTreeItemId *arg2 = 0 ;
30525 bool arg3 = (bool) true ;
30526 PyObject * obj0 = 0 ;
30527 PyObject * obj1 = 0 ;
30528 PyObject * obj2 = 0 ;
30529 char *kwnames[] = {
30530 (char *) "self",(char *) "item",(char *) "select", NULL
30531 };
30532
30533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30535 if (SWIG_arg_fail(1)) SWIG_fail;
30536 {
30537 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30538 if (SWIG_arg_fail(2)) SWIG_fail;
30539 if (arg2 == NULL) {
30540 SWIG_null_ref("wxTreeItemId");
30541 }
30542 if (SWIG_arg_fail(2)) SWIG_fail;
30543 }
30544 if (obj2) {
30545 {
30546 arg3 = (bool)(SWIG_As_bool(obj2));
30547 if (SWIG_arg_fail(3)) SWIG_fail;
30548 }
30549 }
30550 {
30551 PyThreadState* __tstate = wxPyBeginAllowThreads();
30552 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30553
30554 wxPyEndAllowThreads(__tstate);
30555 if (PyErr_Occurred()) SWIG_fail;
30556 }
30557 Py_INCREF(Py_None); resultobj = Py_None;
30558 return resultobj;
30559 fail:
30560 return NULL;
30561 }
30562
30563
30564 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30565 PyObject *resultobj;
30566 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30567 wxTreeItemId *arg2 = 0 ;
30568 PyObject * obj0 = 0 ;
30569 PyObject * obj1 = 0 ;
30570 char *kwnames[] = {
30571 (char *) "self",(char *) "item", NULL
30572 };
30573
30574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30576 if (SWIG_arg_fail(1)) SWIG_fail;
30577 {
30578 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30579 if (SWIG_arg_fail(2)) SWIG_fail;
30580 if (arg2 == NULL) {
30581 SWIG_null_ref("wxTreeItemId");
30582 }
30583 if (SWIG_arg_fail(2)) SWIG_fail;
30584 }
30585 {
30586 PyThreadState* __tstate = wxPyBeginAllowThreads();
30587 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30588
30589 wxPyEndAllowThreads(__tstate);
30590 if (PyErr_Occurred()) SWIG_fail;
30591 }
30592 Py_INCREF(Py_None); resultobj = Py_None;
30593 return resultobj;
30594 fail:
30595 return NULL;
30596 }
30597
30598
30599 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30600 PyObject *resultobj;
30601 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30602 wxTreeItemId *arg2 = 0 ;
30603 PyObject * obj0 = 0 ;
30604 PyObject * obj1 = 0 ;
30605 char *kwnames[] = {
30606 (char *) "self",(char *) "item", NULL
30607 };
30608
30609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
30610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30611 if (SWIG_arg_fail(1)) SWIG_fail;
30612 {
30613 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30614 if (SWIG_arg_fail(2)) SWIG_fail;
30615 if (arg2 == NULL) {
30616 SWIG_null_ref("wxTreeItemId");
30617 }
30618 if (SWIG_arg_fail(2)) SWIG_fail;
30619 }
30620 {
30621 PyThreadState* __tstate = wxPyBeginAllowThreads();
30622 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30623
30624 wxPyEndAllowThreads(__tstate);
30625 if (PyErr_Occurred()) SWIG_fail;
30626 }
30627 Py_INCREF(Py_None); resultobj = Py_None;
30628 return resultobj;
30629 fail:
30630 return NULL;
30631 }
30632
30633
30634 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30635 PyObject *resultobj;
30636 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30637 wxTreeItemId *arg2 = 0 ;
30638 PyObject * obj0 = 0 ;
30639 PyObject * obj1 = 0 ;
30640 char *kwnames[] = {
30641 (char *) "self",(char *) "item", NULL
30642 };
30643
30644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30646 if (SWIG_arg_fail(1)) SWIG_fail;
30647 {
30648 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30649 if (SWIG_arg_fail(2)) SWIG_fail;
30650 if (arg2 == NULL) {
30651 SWIG_null_ref("wxTreeItemId");
30652 }
30653 if (SWIG_arg_fail(2)) SWIG_fail;
30654 }
30655 {
30656 PyThreadState* __tstate = wxPyBeginAllowThreads();
30657 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30658
30659 wxPyEndAllowThreads(__tstate);
30660 if (PyErr_Occurred()) SWIG_fail;
30661 }
30662 Py_INCREF(Py_None); resultobj = Py_None;
30663 return resultobj;
30664 fail:
30665 return NULL;
30666 }
30667
30668
30669 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30670 PyObject *resultobj;
30671 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30672 wxTreeItemId *arg2 = 0 ;
30673 PyObject * obj0 = 0 ;
30674 PyObject * obj1 = 0 ;
30675 char *kwnames[] = {
30676 (char *) "self",(char *) "item", NULL
30677 };
30678
30679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30681 if (SWIG_arg_fail(1)) SWIG_fail;
30682 {
30683 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30684 if (SWIG_arg_fail(2)) SWIG_fail;
30685 if (arg2 == NULL) {
30686 SWIG_null_ref("wxTreeItemId");
30687 }
30688 if (SWIG_arg_fail(2)) SWIG_fail;
30689 }
30690 {
30691 PyThreadState* __tstate = wxPyBeginAllowThreads();
30692 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30693
30694 wxPyEndAllowThreads(__tstate);
30695 if (PyErr_Occurred()) SWIG_fail;
30696 }
30697 Py_INCREF(Py_None); resultobj = Py_None;
30698 return resultobj;
30699 fail:
30700 return NULL;
30701 }
30702
30703
30704 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30705 PyObject *resultobj;
30706 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30707 wxTextCtrl *result;
30708 PyObject * obj0 = 0 ;
30709 char *kwnames[] = {
30710 (char *) "self", NULL
30711 };
30712
30713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30715 if (SWIG_arg_fail(1)) SWIG_fail;
30716 {
30717 PyThreadState* __tstate = wxPyBeginAllowThreads();
30718 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30719
30720 wxPyEndAllowThreads(__tstate);
30721 if (PyErr_Occurred()) SWIG_fail;
30722 }
30723 {
30724 resultobj = wxPyMake_wxObject(result, 0);
30725 }
30726 return resultobj;
30727 fail:
30728 return NULL;
30729 }
30730
30731
30732 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30733 PyObject *resultobj;
30734 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30735 wxTreeItemId *arg2 = 0 ;
30736 PyObject * obj0 = 0 ;
30737 PyObject * obj1 = 0 ;
30738 char *kwnames[] = {
30739 (char *) "self",(char *) "item", NULL
30740 };
30741
30742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
30743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30744 if (SWIG_arg_fail(1)) SWIG_fail;
30745 {
30746 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30747 if (SWIG_arg_fail(2)) SWIG_fail;
30748 if (arg2 == NULL) {
30749 SWIG_null_ref("wxTreeItemId");
30750 }
30751 if (SWIG_arg_fail(2)) SWIG_fail;
30752 }
30753 {
30754 PyThreadState* __tstate = wxPyBeginAllowThreads();
30755 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30756
30757 wxPyEndAllowThreads(__tstate);
30758 if (PyErr_Occurred()) SWIG_fail;
30759 }
30760 Py_INCREF(Py_None); resultobj = Py_None;
30761 return resultobj;
30762 fail:
30763 return NULL;
30764 }
30765
30766
30767 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
30768 PyObject *resultobj;
30769 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30770 wxPoint *arg2 = 0 ;
30771 int *arg3 = 0 ;
30772 wxTreeItemId result;
30773 wxPoint temp2 ;
30774 int temp3 ;
30775 int res3 = 0 ;
30776 PyObject * obj0 = 0 ;
30777 PyObject * obj1 = 0 ;
30778 char *kwnames[] = {
30779 (char *) "self",(char *) "point", NULL
30780 };
30781
30782 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
30784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30785 if (SWIG_arg_fail(1)) SWIG_fail;
30786 {
30787 arg2 = &temp2;
30788 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30789 }
30790 {
30791 PyThreadState* __tstate = wxPyBeginAllowThreads();
30792 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30793
30794 wxPyEndAllowThreads(__tstate);
30795 if (PyErr_Occurred()) SWIG_fail;
30796 }
30797 {
30798 wxTreeItemId * resultptr;
30799 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30801 }
30802 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30803 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30804 return resultobj;
30805 fail:
30806 return NULL;
30807 }
30808
30809
30810 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
30811 PyObject *resultobj;
30812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30813 wxTreeItemId *arg2 = 0 ;
30814 bool arg3 = (bool) false ;
30815 PyObject *result;
30816 PyObject * obj0 = 0 ;
30817 PyObject * obj1 = 0 ;
30818 PyObject * obj2 = 0 ;
30819 char *kwnames[] = {
30820 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30821 };
30822
30823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
30824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30825 if (SWIG_arg_fail(1)) SWIG_fail;
30826 {
30827 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30828 if (SWIG_arg_fail(2)) SWIG_fail;
30829 if (arg2 == NULL) {
30830 SWIG_null_ref("wxTreeItemId");
30831 }
30832 if (SWIG_arg_fail(2)) SWIG_fail;
30833 }
30834 if (obj2) {
30835 {
30836 arg3 = (bool)(SWIG_As_bool(obj2));
30837 if (SWIG_arg_fail(3)) SWIG_fail;
30838 }
30839 }
30840 {
30841 PyThreadState* __tstate = wxPyBeginAllowThreads();
30842 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30843
30844 wxPyEndAllowThreads(__tstate);
30845 if (PyErr_Occurred()) SWIG_fail;
30846 }
30847 resultobj = result;
30848 return resultobj;
30849 fail:
30850 return NULL;
30851 }
30852
30853
30854 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30855 PyObject *resultobj;
30856 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
30857 wxVisualAttributes result;
30858 PyObject * obj0 = 0 ;
30859 char *kwnames[] = {
30860 (char *) "variant", NULL
30861 };
30862
30863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30864 if (obj0) {
30865 {
30866 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30867 if (SWIG_arg_fail(1)) SWIG_fail;
30868 }
30869 }
30870 {
30871 if (!wxPyCheckForApp()) SWIG_fail;
30872 PyThreadState* __tstate = wxPyBeginAllowThreads();
30873 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30874
30875 wxPyEndAllowThreads(__tstate);
30876 if (PyErr_Occurred()) SWIG_fail;
30877 }
30878 {
30879 wxVisualAttributes * resultptr;
30880 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
30881 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30882 }
30883 return resultobj;
30884 fail:
30885 return NULL;
30886 }
30887
30888
30889 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
30890 PyObject *obj;
30891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30892 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30893 Py_INCREF(obj);
30894 return Py_BuildValue((char *)"");
30895 }
30896 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
30897 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30898 return 1;
30899 }
30900
30901
30902 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
30903 PyObject *pyobj;
30904
30905 {
30906 #if wxUSE_UNICODE
30907 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30908 #else
30909 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30910 #endif
30911 }
30912 return pyobj;
30913 }
30914
30915
30916 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
30917 PyObject *resultobj;
30918 wxWindow *arg1 = (wxWindow *) 0 ;
30919 int arg2 = (int) (int)-1 ;
30920 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30921 wxString *arg3 = (wxString *) &arg3_defvalue ;
30922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30924 wxSize const &arg5_defvalue = wxDefaultSize ;
30925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30926 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
30927 wxString const &arg7_defvalue = wxPyEmptyString ;
30928 wxString *arg7 = (wxString *) &arg7_defvalue ;
30929 int arg8 = (int) 0 ;
30930 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
30931 wxString *arg9 = (wxString *) &arg9_defvalue ;
30932 wxGenericDirCtrl *result;
30933 bool temp3 = false ;
30934 wxPoint temp4 ;
30935 wxSize temp5 ;
30936 bool temp7 = false ;
30937 bool temp9 = false ;
30938 PyObject * obj0 = 0 ;
30939 PyObject * obj1 = 0 ;
30940 PyObject * obj2 = 0 ;
30941 PyObject * obj3 = 0 ;
30942 PyObject * obj4 = 0 ;
30943 PyObject * obj5 = 0 ;
30944 PyObject * obj6 = 0 ;
30945 PyObject * obj7 = 0 ;
30946 PyObject * obj8 = 0 ;
30947 char *kwnames[] = {
30948 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30949 };
30950
30951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
30952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30953 if (SWIG_arg_fail(1)) SWIG_fail;
30954 if (obj1) {
30955 {
30956 arg2 = (int const)(SWIG_As_int(obj1));
30957 if (SWIG_arg_fail(2)) SWIG_fail;
30958 }
30959 }
30960 if (obj2) {
30961 {
30962 arg3 = wxString_in_helper(obj2);
30963 if (arg3 == NULL) SWIG_fail;
30964 temp3 = true;
30965 }
30966 }
30967 if (obj3) {
30968 {
30969 arg4 = &temp4;
30970 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30971 }
30972 }
30973 if (obj4) {
30974 {
30975 arg5 = &temp5;
30976 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30977 }
30978 }
30979 if (obj5) {
30980 {
30981 arg6 = (long)(SWIG_As_long(obj5));
30982 if (SWIG_arg_fail(6)) SWIG_fail;
30983 }
30984 }
30985 if (obj6) {
30986 {
30987 arg7 = wxString_in_helper(obj6);
30988 if (arg7 == NULL) SWIG_fail;
30989 temp7 = true;
30990 }
30991 }
30992 if (obj7) {
30993 {
30994 arg8 = (int)(SWIG_As_int(obj7));
30995 if (SWIG_arg_fail(8)) SWIG_fail;
30996 }
30997 }
30998 if (obj8) {
30999 {
31000 arg9 = wxString_in_helper(obj8);
31001 if (arg9 == NULL) SWIG_fail;
31002 temp9 = true;
31003 }
31004 }
31005 {
31006 if (!wxPyCheckForApp()) SWIG_fail;
31007 PyThreadState* __tstate = wxPyBeginAllowThreads();
31008 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31009
31010 wxPyEndAllowThreads(__tstate);
31011 if (PyErr_Occurred()) SWIG_fail;
31012 }
31013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31014 {
31015 if (temp3)
31016 delete arg3;
31017 }
31018 {
31019 if (temp7)
31020 delete arg7;
31021 }
31022 {
31023 if (temp9)
31024 delete arg9;
31025 }
31026 return resultobj;
31027 fail:
31028 {
31029 if (temp3)
31030 delete arg3;
31031 }
31032 {
31033 if (temp7)
31034 delete arg7;
31035 }
31036 {
31037 if (temp9)
31038 delete arg9;
31039 }
31040 return NULL;
31041 }
31042
31043
31044 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31045 PyObject *resultobj;
31046 wxGenericDirCtrl *result;
31047 char *kwnames[] = {
31048 NULL
31049 };
31050
31051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31052 {
31053 if (!wxPyCheckForApp()) SWIG_fail;
31054 PyThreadState* __tstate = wxPyBeginAllowThreads();
31055 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31056
31057 wxPyEndAllowThreads(__tstate);
31058 if (PyErr_Occurred()) SWIG_fail;
31059 }
31060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31061 return resultobj;
31062 fail:
31063 return NULL;
31064 }
31065
31066
31067 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31068 PyObject *resultobj;
31069 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31070 wxWindow *arg2 = (wxWindow *) 0 ;
31071 int arg3 = (int) (int)-1 ;
31072 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31073 wxString *arg4 = (wxString *) &arg4_defvalue ;
31074 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31075 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31076 wxSize const &arg6_defvalue = wxDefaultSize ;
31077 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31078 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31079 wxString const &arg8_defvalue = wxPyEmptyString ;
31080 wxString *arg8 = (wxString *) &arg8_defvalue ;
31081 int arg9 = (int) 0 ;
31082 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31083 wxString *arg10 = (wxString *) &arg10_defvalue ;
31084 bool result;
31085 bool temp4 = false ;
31086 wxPoint temp5 ;
31087 wxSize temp6 ;
31088 bool temp8 = false ;
31089 bool temp10 = false ;
31090 PyObject * obj0 = 0 ;
31091 PyObject * obj1 = 0 ;
31092 PyObject * obj2 = 0 ;
31093 PyObject * obj3 = 0 ;
31094 PyObject * obj4 = 0 ;
31095 PyObject * obj5 = 0 ;
31096 PyObject * obj6 = 0 ;
31097 PyObject * obj7 = 0 ;
31098 PyObject * obj8 = 0 ;
31099 PyObject * obj9 = 0 ;
31100 char *kwnames[] = {
31101 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31102 };
31103
31104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31106 if (SWIG_arg_fail(1)) SWIG_fail;
31107 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31108 if (SWIG_arg_fail(2)) SWIG_fail;
31109 if (obj2) {
31110 {
31111 arg3 = (int const)(SWIG_As_int(obj2));
31112 if (SWIG_arg_fail(3)) SWIG_fail;
31113 }
31114 }
31115 if (obj3) {
31116 {
31117 arg4 = wxString_in_helper(obj3);
31118 if (arg4 == NULL) SWIG_fail;
31119 temp4 = true;
31120 }
31121 }
31122 if (obj4) {
31123 {
31124 arg5 = &temp5;
31125 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31126 }
31127 }
31128 if (obj5) {
31129 {
31130 arg6 = &temp6;
31131 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31132 }
31133 }
31134 if (obj6) {
31135 {
31136 arg7 = (long)(SWIG_As_long(obj6));
31137 if (SWIG_arg_fail(7)) SWIG_fail;
31138 }
31139 }
31140 if (obj7) {
31141 {
31142 arg8 = wxString_in_helper(obj7);
31143 if (arg8 == NULL) SWIG_fail;
31144 temp8 = true;
31145 }
31146 }
31147 if (obj8) {
31148 {
31149 arg9 = (int)(SWIG_As_int(obj8));
31150 if (SWIG_arg_fail(9)) SWIG_fail;
31151 }
31152 }
31153 if (obj9) {
31154 {
31155 arg10 = wxString_in_helper(obj9);
31156 if (arg10 == NULL) SWIG_fail;
31157 temp10 = true;
31158 }
31159 }
31160 {
31161 PyThreadState* __tstate = wxPyBeginAllowThreads();
31162 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31163
31164 wxPyEndAllowThreads(__tstate);
31165 if (PyErr_Occurred()) SWIG_fail;
31166 }
31167 {
31168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31169 }
31170 {
31171 if (temp4)
31172 delete arg4;
31173 }
31174 {
31175 if (temp8)
31176 delete arg8;
31177 }
31178 {
31179 if (temp10)
31180 delete arg10;
31181 }
31182 return resultobj;
31183 fail:
31184 {
31185 if (temp4)
31186 delete arg4;
31187 }
31188 {
31189 if (temp8)
31190 delete arg8;
31191 }
31192 {
31193 if (temp10)
31194 delete arg10;
31195 }
31196 return NULL;
31197 }
31198
31199
31200 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31201 PyObject *resultobj;
31202 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31203 wxString *arg2 = 0 ;
31204 bool result;
31205 bool temp2 = false ;
31206 PyObject * obj0 = 0 ;
31207 PyObject * obj1 = 0 ;
31208 char *kwnames[] = {
31209 (char *) "self",(char *) "path", NULL
31210 };
31211
31212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31214 if (SWIG_arg_fail(1)) SWIG_fail;
31215 {
31216 arg2 = wxString_in_helper(obj1);
31217 if (arg2 == NULL) SWIG_fail;
31218 temp2 = true;
31219 }
31220 {
31221 PyThreadState* __tstate = wxPyBeginAllowThreads();
31222 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31223
31224 wxPyEndAllowThreads(__tstate);
31225 if (PyErr_Occurred()) SWIG_fail;
31226 }
31227 {
31228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31229 }
31230 {
31231 if (temp2)
31232 delete arg2;
31233 }
31234 return resultobj;
31235 fail:
31236 {
31237 if (temp2)
31238 delete arg2;
31239 }
31240 return NULL;
31241 }
31242
31243
31244 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31245 PyObject *resultobj;
31246 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31247 wxString result;
31248 PyObject * obj0 = 0 ;
31249 char *kwnames[] = {
31250 (char *) "self", NULL
31251 };
31252
31253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31255 if (SWIG_arg_fail(1)) SWIG_fail;
31256 {
31257 PyThreadState* __tstate = wxPyBeginAllowThreads();
31258 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31259
31260 wxPyEndAllowThreads(__tstate);
31261 if (PyErr_Occurred()) SWIG_fail;
31262 }
31263 {
31264 #if wxUSE_UNICODE
31265 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31266 #else
31267 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31268 #endif
31269 }
31270 return resultobj;
31271 fail:
31272 return NULL;
31273 }
31274
31275
31276 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31277 PyObject *resultobj;
31278 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31279 wxString *arg2 = 0 ;
31280 bool temp2 = false ;
31281 PyObject * obj0 = 0 ;
31282 PyObject * obj1 = 0 ;
31283 char *kwnames[] = {
31284 (char *) "self",(char *) "path", NULL
31285 };
31286
31287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31289 if (SWIG_arg_fail(1)) SWIG_fail;
31290 {
31291 arg2 = wxString_in_helper(obj1);
31292 if (arg2 == NULL) SWIG_fail;
31293 temp2 = true;
31294 }
31295 {
31296 PyThreadState* __tstate = wxPyBeginAllowThreads();
31297 (arg1)->SetDefaultPath((wxString const &)*arg2);
31298
31299 wxPyEndAllowThreads(__tstate);
31300 if (PyErr_Occurred()) SWIG_fail;
31301 }
31302 Py_INCREF(Py_None); resultobj = Py_None;
31303 {
31304 if (temp2)
31305 delete arg2;
31306 }
31307 return resultobj;
31308 fail:
31309 {
31310 if (temp2)
31311 delete arg2;
31312 }
31313 return NULL;
31314 }
31315
31316
31317 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31318 PyObject *resultobj;
31319 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31320 wxString result;
31321 PyObject * obj0 = 0 ;
31322 char *kwnames[] = {
31323 (char *) "self", NULL
31324 };
31325
31326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31328 if (SWIG_arg_fail(1)) SWIG_fail;
31329 {
31330 PyThreadState* __tstate = wxPyBeginAllowThreads();
31331 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31332
31333 wxPyEndAllowThreads(__tstate);
31334 if (PyErr_Occurred()) SWIG_fail;
31335 }
31336 {
31337 #if wxUSE_UNICODE
31338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31339 #else
31340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31341 #endif
31342 }
31343 return resultobj;
31344 fail:
31345 return NULL;
31346 }
31347
31348
31349 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31350 PyObject *resultobj;
31351 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31352 wxString result;
31353 PyObject * obj0 = 0 ;
31354 char *kwnames[] = {
31355 (char *) "self", NULL
31356 };
31357
31358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31360 if (SWIG_arg_fail(1)) SWIG_fail;
31361 {
31362 PyThreadState* __tstate = wxPyBeginAllowThreads();
31363 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31364
31365 wxPyEndAllowThreads(__tstate);
31366 if (PyErr_Occurred()) SWIG_fail;
31367 }
31368 {
31369 #if wxUSE_UNICODE
31370 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31371 #else
31372 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31373 #endif
31374 }
31375 return resultobj;
31376 fail:
31377 return NULL;
31378 }
31379
31380
31381 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31382 PyObject *resultobj;
31383 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31384 wxString *arg2 = 0 ;
31385 bool temp2 = false ;
31386 PyObject * obj0 = 0 ;
31387 PyObject * obj1 = 0 ;
31388 char *kwnames[] = {
31389 (char *) "self",(char *) "path", NULL
31390 };
31391
31392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31394 if (SWIG_arg_fail(1)) SWIG_fail;
31395 {
31396 arg2 = wxString_in_helper(obj1);
31397 if (arg2 == NULL) SWIG_fail;
31398 temp2 = true;
31399 }
31400 {
31401 PyThreadState* __tstate = wxPyBeginAllowThreads();
31402 (arg1)->SetPath((wxString const &)*arg2);
31403
31404 wxPyEndAllowThreads(__tstate);
31405 if (PyErr_Occurred()) SWIG_fail;
31406 }
31407 Py_INCREF(Py_None); resultobj = Py_None;
31408 {
31409 if (temp2)
31410 delete arg2;
31411 }
31412 return resultobj;
31413 fail:
31414 {
31415 if (temp2)
31416 delete arg2;
31417 }
31418 return NULL;
31419 }
31420
31421
31422 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31423 PyObject *resultobj;
31424 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31425 bool arg2 ;
31426 PyObject * obj0 = 0 ;
31427 PyObject * obj1 = 0 ;
31428 char *kwnames[] = {
31429 (char *) "self",(char *) "show", NULL
31430 };
31431
31432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31434 if (SWIG_arg_fail(1)) SWIG_fail;
31435 {
31436 arg2 = (bool)(SWIG_As_bool(obj1));
31437 if (SWIG_arg_fail(2)) SWIG_fail;
31438 }
31439 {
31440 PyThreadState* __tstate = wxPyBeginAllowThreads();
31441 (arg1)->ShowHidden(arg2);
31442
31443 wxPyEndAllowThreads(__tstate);
31444 if (PyErr_Occurred()) SWIG_fail;
31445 }
31446 Py_INCREF(Py_None); resultobj = Py_None;
31447 return resultobj;
31448 fail:
31449 return NULL;
31450 }
31451
31452
31453 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31454 PyObject *resultobj;
31455 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31456 bool result;
31457 PyObject * obj0 = 0 ;
31458 char *kwnames[] = {
31459 (char *) "self", NULL
31460 };
31461
31462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31464 if (SWIG_arg_fail(1)) SWIG_fail;
31465 {
31466 PyThreadState* __tstate = wxPyBeginAllowThreads();
31467 result = (bool)(arg1)->GetShowHidden();
31468
31469 wxPyEndAllowThreads(__tstate);
31470 if (PyErr_Occurred()) SWIG_fail;
31471 }
31472 {
31473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31474 }
31475 return resultobj;
31476 fail:
31477 return NULL;
31478 }
31479
31480
31481 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31482 PyObject *resultobj;
31483 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31484 wxString result;
31485 PyObject * obj0 = 0 ;
31486 char *kwnames[] = {
31487 (char *) "self", NULL
31488 };
31489
31490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31492 if (SWIG_arg_fail(1)) SWIG_fail;
31493 {
31494 PyThreadState* __tstate = wxPyBeginAllowThreads();
31495 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31496
31497 wxPyEndAllowThreads(__tstate);
31498 if (PyErr_Occurred()) SWIG_fail;
31499 }
31500 {
31501 #if wxUSE_UNICODE
31502 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31503 #else
31504 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31505 #endif
31506 }
31507 return resultobj;
31508 fail:
31509 return NULL;
31510 }
31511
31512
31513 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31514 PyObject *resultobj;
31515 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31516 wxString *arg2 = 0 ;
31517 bool temp2 = false ;
31518 PyObject * obj0 = 0 ;
31519 PyObject * obj1 = 0 ;
31520 char *kwnames[] = {
31521 (char *) "self",(char *) "filter", NULL
31522 };
31523
31524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31526 if (SWIG_arg_fail(1)) SWIG_fail;
31527 {
31528 arg2 = wxString_in_helper(obj1);
31529 if (arg2 == NULL) SWIG_fail;
31530 temp2 = true;
31531 }
31532 {
31533 PyThreadState* __tstate = wxPyBeginAllowThreads();
31534 (arg1)->SetFilter((wxString const &)*arg2);
31535
31536 wxPyEndAllowThreads(__tstate);
31537 if (PyErr_Occurred()) SWIG_fail;
31538 }
31539 Py_INCREF(Py_None); resultobj = Py_None;
31540 {
31541 if (temp2)
31542 delete arg2;
31543 }
31544 return resultobj;
31545 fail:
31546 {
31547 if (temp2)
31548 delete arg2;
31549 }
31550 return NULL;
31551 }
31552
31553
31554 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31555 PyObject *resultobj;
31556 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31557 int result;
31558 PyObject * obj0 = 0 ;
31559 char *kwnames[] = {
31560 (char *) "self", NULL
31561 };
31562
31563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31565 if (SWIG_arg_fail(1)) SWIG_fail;
31566 {
31567 PyThreadState* __tstate = wxPyBeginAllowThreads();
31568 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31569
31570 wxPyEndAllowThreads(__tstate);
31571 if (PyErr_Occurred()) SWIG_fail;
31572 }
31573 {
31574 resultobj = SWIG_From_int((int)(result));
31575 }
31576 return resultobj;
31577 fail:
31578 return NULL;
31579 }
31580
31581
31582 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31583 PyObject *resultobj;
31584 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31585 int arg2 ;
31586 PyObject * obj0 = 0 ;
31587 PyObject * obj1 = 0 ;
31588 char *kwnames[] = {
31589 (char *) "self",(char *) "n", NULL
31590 };
31591
31592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
31593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31594 if (SWIG_arg_fail(1)) SWIG_fail;
31595 {
31596 arg2 = (int)(SWIG_As_int(obj1));
31597 if (SWIG_arg_fail(2)) SWIG_fail;
31598 }
31599 {
31600 PyThreadState* __tstate = wxPyBeginAllowThreads();
31601 (arg1)->SetFilterIndex(arg2);
31602
31603 wxPyEndAllowThreads(__tstate);
31604 if (PyErr_Occurred()) SWIG_fail;
31605 }
31606 Py_INCREF(Py_None); resultobj = Py_None;
31607 return resultobj;
31608 fail:
31609 return NULL;
31610 }
31611
31612
31613 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31614 PyObject *resultobj;
31615 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31616 wxTreeItemId result;
31617 PyObject * obj0 = 0 ;
31618 char *kwnames[] = {
31619 (char *) "self", NULL
31620 };
31621
31622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
31623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31624 if (SWIG_arg_fail(1)) SWIG_fail;
31625 {
31626 PyThreadState* __tstate = wxPyBeginAllowThreads();
31627 result = (arg1)->GetRootId();
31628
31629 wxPyEndAllowThreads(__tstate);
31630 if (PyErr_Occurred()) SWIG_fail;
31631 }
31632 {
31633 wxTreeItemId * resultptr;
31634 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31635 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31636 }
31637 return resultobj;
31638 fail:
31639 return NULL;
31640 }
31641
31642
31643 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31644 PyObject *resultobj;
31645 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31646 wxPyTreeCtrl *result;
31647 PyObject * obj0 = 0 ;
31648 char *kwnames[] = {
31649 (char *) "self", NULL
31650 };
31651
31652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
31653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31654 if (SWIG_arg_fail(1)) SWIG_fail;
31655 {
31656 PyThreadState* __tstate = wxPyBeginAllowThreads();
31657 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31658
31659 wxPyEndAllowThreads(__tstate);
31660 if (PyErr_Occurred()) SWIG_fail;
31661 }
31662 {
31663 resultobj = wxPyMake_wxObject(result, 0);
31664 }
31665 return resultobj;
31666 fail:
31667 return NULL;
31668 }
31669
31670
31671 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31672 PyObject *resultobj;
31673 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31674 wxDirFilterListCtrl *result;
31675 PyObject * obj0 = 0 ;
31676 char *kwnames[] = {
31677 (char *) "self", NULL
31678 };
31679
31680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
31681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31682 if (SWIG_arg_fail(1)) SWIG_fail;
31683 {
31684 PyThreadState* __tstate = wxPyBeginAllowThreads();
31685 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31686
31687 wxPyEndAllowThreads(__tstate);
31688 if (PyErr_Occurred()) SWIG_fail;
31689 }
31690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31691 return resultobj;
31692 fail:
31693 return NULL;
31694 }
31695
31696
31697 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
31698 PyObject *resultobj;
31699 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31700 wxTreeItemId arg2 ;
31701 wxString *arg3 = 0 ;
31702 bool *arg4 = 0 ;
31703 wxTreeItemId result;
31704 bool temp3 = false ;
31705 bool temp4 ;
31706 int res4 = 0 ;
31707 PyObject * obj0 = 0 ;
31708 PyObject * obj1 = 0 ;
31709 PyObject * obj2 = 0 ;
31710 char *kwnames[] = {
31711 (char *) "self",(char *) "parentId",(char *) "path", NULL
31712 };
31713
31714 arg4 = &temp4; res4 = SWIG_NEWOBJ;
31715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
31716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31717 if (SWIG_arg_fail(1)) SWIG_fail;
31718 {
31719 wxTreeItemId * argp;
31720 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31721 if (SWIG_arg_fail(2)) SWIG_fail;
31722 if (argp == NULL) {
31723 SWIG_null_ref("wxTreeItemId");
31724 }
31725 if (SWIG_arg_fail(2)) SWIG_fail;
31726 arg2 = *argp;
31727 }
31728 {
31729 arg3 = wxString_in_helper(obj2);
31730 if (arg3 == NULL) SWIG_fail;
31731 temp3 = true;
31732 }
31733 {
31734 PyThreadState* __tstate = wxPyBeginAllowThreads();
31735 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31736
31737 wxPyEndAllowThreads(__tstate);
31738 if (PyErr_Occurred()) SWIG_fail;
31739 }
31740 {
31741 wxTreeItemId * resultptr;
31742 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31744 }
31745 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31746 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
31747 {
31748 if (temp3)
31749 delete arg3;
31750 }
31751 return resultobj;
31752 fail:
31753 {
31754 if (temp3)
31755 delete arg3;
31756 }
31757 return NULL;
31758 }
31759
31760
31761 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
31762 PyObject *resultobj;
31763 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31764 PyObject * obj0 = 0 ;
31765 char *kwnames[] = {
31766 (char *) "self", NULL
31767 };
31768
31769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
31770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31771 if (SWIG_arg_fail(1)) SWIG_fail;
31772 {
31773 PyThreadState* __tstate = wxPyBeginAllowThreads();
31774 (arg1)->DoResize();
31775
31776 wxPyEndAllowThreads(__tstate);
31777 if (PyErr_Occurred()) SWIG_fail;
31778 }
31779 Py_INCREF(Py_None); resultobj = Py_None;
31780 return resultobj;
31781 fail:
31782 return NULL;
31783 }
31784
31785
31786 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
31787 PyObject *resultobj;
31788 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31789 PyObject * obj0 = 0 ;
31790 char *kwnames[] = {
31791 (char *) "self", NULL
31792 };
31793
31794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
31795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31796 if (SWIG_arg_fail(1)) SWIG_fail;
31797 {
31798 PyThreadState* __tstate = wxPyBeginAllowThreads();
31799 (arg1)->ReCreateTree();
31800
31801 wxPyEndAllowThreads(__tstate);
31802 if (PyErr_Occurred()) SWIG_fail;
31803 }
31804 Py_INCREF(Py_None); resultobj = Py_None;
31805 return resultobj;
31806 fail:
31807 return NULL;
31808 }
31809
31810
31811 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
31812 PyObject *obj;
31813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31814 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31815 Py_INCREF(obj);
31816 return Py_BuildValue((char *)"");
31817 }
31818 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31819 PyObject *resultobj;
31820 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31821 int arg2 = (int) (int)-1 ;
31822 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31823 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31824 wxSize const &arg4_defvalue = wxDefaultSize ;
31825 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31826 long arg5 = (long) 0 ;
31827 wxDirFilterListCtrl *result;
31828 wxPoint temp3 ;
31829 wxSize temp4 ;
31830 PyObject * obj0 = 0 ;
31831 PyObject * obj1 = 0 ;
31832 PyObject * obj2 = 0 ;
31833 PyObject * obj3 = 0 ;
31834 PyObject * obj4 = 0 ;
31835 char *kwnames[] = {
31836 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31837 };
31838
31839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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 if (obj1) {
31843 {
31844 arg2 = (int const)(SWIG_As_int(obj1));
31845 if (SWIG_arg_fail(2)) SWIG_fail;
31846 }
31847 }
31848 if (obj2) {
31849 {
31850 arg3 = &temp3;
31851 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31852 }
31853 }
31854 if (obj3) {
31855 {
31856 arg4 = &temp4;
31857 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31858 }
31859 }
31860 if (obj4) {
31861 {
31862 arg5 = (long)(SWIG_As_long(obj4));
31863 if (SWIG_arg_fail(5)) SWIG_fail;
31864 }
31865 }
31866 {
31867 if (!wxPyCheckForApp()) SWIG_fail;
31868 PyThreadState* __tstate = wxPyBeginAllowThreads();
31869 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31870
31871 wxPyEndAllowThreads(__tstate);
31872 if (PyErr_Occurred()) SWIG_fail;
31873 }
31874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31875 return resultobj;
31876 fail:
31877 return NULL;
31878 }
31879
31880
31881 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31882 PyObject *resultobj;
31883 wxDirFilterListCtrl *result;
31884 char *kwnames[] = {
31885 NULL
31886 };
31887
31888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31889 {
31890 if (!wxPyCheckForApp()) SWIG_fail;
31891 PyThreadState* __tstate = wxPyBeginAllowThreads();
31892 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31893
31894 wxPyEndAllowThreads(__tstate);
31895 if (PyErr_Occurred()) SWIG_fail;
31896 }
31897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31898 return resultobj;
31899 fail:
31900 return NULL;
31901 }
31902
31903
31904 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31905 PyObject *resultobj;
31906 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31907 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
31908 int arg3 = (int) (int)-1 ;
31909 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31910 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31911 wxSize const &arg5_defvalue = wxDefaultSize ;
31912 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31913 long arg6 = (long) 0 ;
31914 bool result;
31915 wxPoint temp4 ;
31916 wxSize temp5 ;
31917 PyObject * obj0 = 0 ;
31918 PyObject * obj1 = 0 ;
31919 PyObject * obj2 = 0 ;
31920 PyObject * obj3 = 0 ;
31921 PyObject * obj4 = 0 ;
31922 PyObject * obj5 = 0 ;
31923 char *kwnames[] = {
31924 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31925 };
31926
31927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31929 if (SWIG_arg_fail(1)) SWIG_fail;
31930 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31931 if (SWIG_arg_fail(2)) SWIG_fail;
31932 if (obj2) {
31933 {
31934 arg3 = (int const)(SWIG_As_int(obj2));
31935 if (SWIG_arg_fail(3)) SWIG_fail;
31936 }
31937 }
31938 if (obj3) {
31939 {
31940 arg4 = &temp4;
31941 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31942 }
31943 }
31944 if (obj4) {
31945 {
31946 arg5 = &temp5;
31947 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31948 }
31949 }
31950 if (obj5) {
31951 {
31952 arg6 = (long)(SWIG_As_long(obj5));
31953 if (SWIG_arg_fail(6)) SWIG_fail;
31954 }
31955 }
31956 {
31957 PyThreadState* __tstate = wxPyBeginAllowThreads();
31958 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
31959
31960 wxPyEndAllowThreads(__tstate);
31961 if (PyErr_Occurred()) SWIG_fail;
31962 }
31963 {
31964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31965 }
31966 return resultobj;
31967 fail:
31968 return NULL;
31969 }
31970
31971
31972 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
31973 PyObject *resultobj;
31974 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31975 wxString *arg2 = 0 ;
31976 int arg3 ;
31977 bool temp2 = false ;
31978 PyObject * obj0 = 0 ;
31979 PyObject * obj1 = 0 ;
31980 PyObject * obj2 = 0 ;
31981 char *kwnames[] = {
31982 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31983 };
31984
31985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
31986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31987 if (SWIG_arg_fail(1)) SWIG_fail;
31988 {
31989 arg2 = wxString_in_helper(obj1);
31990 if (arg2 == NULL) SWIG_fail;
31991 temp2 = true;
31992 }
31993 {
31994 arg3 = (int)(SWIG_As_int(obj2));
31995 if (SWIG_arg_fail(3)) SWIG_fail;
31996 }
31997 {
31998 PyThreadState* __tstate = wxPyBeginAllowThreads();
31999 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32000
32001 wxPyEndAllowThreads(__tstate);
32002 if (PyErr_Occurred()) SWIG_fail;
32003 }
32004 Py_INCREF(Py_None); resultobj = Py_None;
32005 {
32006 if (temp2)
32007 delete arg2;
32008 }
32009 return resultobj;
32010 fail:
32011 {
32012 if (temp2)
32013 delete arg2;
32014 }
32015 return NULL;
32016 }
32017
32018
32019 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32020 PyObject *obj;
32021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32022 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32023 Py_INCREF(obj);
32024 return Py_BuildValue((char *)"");
32025 }
32026 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32027 PyObject *resultobj;
32028 wxWindow *arg1 = (wxWindow *) 0 ;
32029 int arg2 = (int) (int)-1 ;
32030 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32031 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32032 wxSize const &arg4_defvalue = wxDefaultSize ;
32033 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32034 long arg5 = (long) 0 ;
32035 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32036 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32037 wxString const &arg7_defvalue = wxPyControlNameStr ;
32038 wxString *arg7 = (wxString *) &arg7_defvalue ;
32039 wxPyControl *result;
32040 wxPoint temp3 ;
32041 wxSize temp4 ;
32042 bool temp7 = false ;
32043 PyObject * obj0 = 0 ;
32044 PyObject * obj1 = 0 ;
32045 PyObject * obj2 = 0 ;
32046 PyObject * obj3 = 0 ;
32047 PyObject * obj4 = 0 ;
32048 PyObject * obj5 = 0 ;
32049 PyObject * obj6 = 0 ;
32050 char *kwnames[] = {
32051 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32052 };
32053
32054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32056 if (SWIG_arg_fail(1)) SWIG_fail;
32057 if (obj1) {
32058 {
32059 arg2 = (int const)(SWIG_As_int(obj1));
32060 if (SWIG_arg_fail(2)) SWIG_fail;
32061 }
32062 }
32063 if (obj2) {
32064 {
32065 arg3 = &temp3;
32066 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32067 }
32068 }
32069 if (obj3) {
32070 {
32071 arg4 = &temp4;
32072 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32073 }
32074 }
32075 if (obj4) {
32076 {
32077 arg5 = (long)(SWIG_As_long(obj4));
32078 if (SWIG_arg_fail(5)) SWIG_fail;
32079 }
32080 }
32081 if (obj5) {
32082 {
32083 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32084 if (SWIG_arg_fail(6)) SWIG_fail;
32085 if (arg6 == NULL) {
32086 SWIG_null_ref("wxValidator");
32087 }
32088 if (SWIG_arg_fail(6)) SWIG_fail;
32089 }
32090 }
32091 if (obj6) {
32092 {
32093 arg7 = wxString_in_helper(obj6);
32094 if (arg7 == NULL) SWIG_fail;
32095 temp7 = true;
32096 }
32097 }
32098 {
32099 if (!wxPyCheckForApp()) SWIG_fail;
32100 PyThreadState* __tstate = wxPyBeginAllowThreads();
32101 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32102
32103 wxPyEndAllowThreads(__tstate);
32104 if (PyErr_Occurred()) SWIG_fail;
32105 }
32106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32107 {
32108 if (temp7)
32109 delete arg7;
32110 }
32111 return resultobj;
32112 fail:
32113 {
32114 if (temp7)
32115 delete arg7;
32116 }
32117 return NULL;
32118 }
32119
32120
32121 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32122 PyObject *resultobj;
32123 wxPyControl *result;
32124 char *kwnames[] = {
32125 NULL
32126 };
32127
32128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32129 {
32130 if (!wxPyCheckForApp()) SWIG_fail;
32131 PyThreadState* __tstate = wxPyBeginAllowThreads();
32132 result = (wxPyControl *)new wxPyControl();
32133
32134 wxPyEndAllowThreads(__tstate);
32135 if (PyErr_Occurred()) SWIG_fail;
32136 }
32137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32138 return resultobj;
32139 fail:
32140 return NULL;
32141 }
32142
32143
32144 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32145 PyObject *resultobj;
32146 wxPyControl *arg1 = (wxPyControl *) 0 ;
32147 PyObject *arg2 = (PyObject *) 0 ;
32148 PyObject *arg3 = (PyObject *) 0 ;
32149 PyObject * obj0 = 0 ;
32150 PyObject * obj1 = 0 ;
32151 PyObject * obj2 = 0 ;
32152 char *kwnames[] = {
32153 (char *) "self",(char *) "self",(char *) "_class", NULL
32154 };
32155
32156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32158 if (SWIG_arg_fail(1)) SWIG_fail;
32159 arg2 = obj1;
32160 arg3 = obj2;
32161 {
32162 PyThreadState* __tstate = wxPyBeginAllowThreads();
32163 (arg1)->_setCallbackInfo(arg2,arg3);
32164
32165 wxPyEndAllowThreads(__tstate);
32166 if (PyErr_Occurred()) SWIG_fail;
32167 }
32168 Py_INCREF(Py_None); resultobj = Py_None;
32169 return resultobj;
32170 fail:
32171 return NULL;
32172 }
32173
32174
32175 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32176 PyObject *resultobj;
32177 wxPyControl *arg1 = (wxPyControl *) 0 ;
32178 wxSize *arg2 = 0 ;
32179 wxSize temp2 ;
32180 PyObject * obj0 = 0 ;
32181 PyObject * obj1 = 0 ;
32182 char *kwnames[] = {
32183 (char *) "self",(char *) "size", NULL
32184 };
32185
32186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32188 if (SWIG_arg_fail(1)) SWIG_fail;
32189 {
32190 arg2 = &temp2;
32191 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32192 }
32193 {
32194 PyThreadState* __tstate = wxPyBeginAllowThreads();
32195 (arg1)->SetBestSize((wxSize const &)*arg2);
32196
32197 wxPyEndAllowThreads(__tstate);
32198 if (PyErr_Occurred()) SWIG_fail;
32199 }
32200 Py_INCREF(Py_None); resultobj = Py_None;
32201 return resultobj;
32202 fail:
32203 return NULL;
32204 }
32205
32206
32207 static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32208 PyObject *resultobj;
32209 wxPyControl *arg1 = (wxPyControl *) 0 ;
32210 wxDC *arg2 = (wxDC *) 0 ;
32211 bool result;
32212 PyObject * obj0 = 0 ;
32213 PyObject * obj1 = 0 ;
32214 char *kwnames[] = {
32215 (char *) "self",(char *) "dc", NULL
32216 };
32217
32218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
32219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32220 if (SWIG_arg_fail(1)) SWIG_fail;
32221 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32222 if (SWIG_arg_fail(2)) SWIG_fail;
32223 {
32224 PyThreadState* __tstate = wxPyBeginAllowThreads();
32225 result = (bool)(arg1)->DoEraseBackground(arg2);
32226
32227 wxPyEndAllowThreads(__tstate);
32228 if (PyErr_Occurred()) SWIG_fail;
32229 }
32230 {
32231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32232 }
32233 return resultobj;
32234 fail:
32235 return NULL;
32236 }
32237
32238
32239 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32240 PyObject *resultobj;
32241 wxPyControl *arg1 = (wxPyControl *) 0 ;
32242 int arg2 ;
32243 int arg3 ;
32244 int arg4 ;
32245 int arg5 ;
32246 PyObject * obj0 = 0 ;
32247 PyObject * obj1 = 0 ;
32248 PyObject * obj2 = 0 ;
32249 PyObject * obj3 = 0 ;
32250 PyObject * obj4 = 0 ;
32251 char *kwnames[] = {
32252 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32253 };
32254
32255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32257 if (SWIG_arg_fail(1)) SWIG_fail;
32258 {
32259 arg2 = (int)(SWIG_As_int(obj1));
32260 if (SWIG_arg_fail(2)) SWIG_fail;
32261 }
32262 {
32263 arg3 = (int)(SWIG_As_int(obj2));
32264 if (SWIG_arg_fail(3)) SWIG_fail;
32265 }
32266 {
32267 arg4 = (int)(SWIG_As_int(obj3));
32268 if (SWIG_arg_fail(4)) SWIG_fail;
32269 }
32270 {
32271 arg5 = (int)(SWIG_As_int(obj4));
32272 if (SWIG_arg_fail(5)) SWIG_fail;
32273 }
32274 {
32275 PyThreadState* __tstate = wxPyBeginAllowThreads();
32276 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32277
32278 wxPyEndAllowThreads(__tstate);
32279 if (PyErr_Occurred()) SWIG_fail;
32280 }
32281 Py_INCREF(Py_None); resultobj = Py_None;
32282 return resultobj;
32283 fail:
32284 return NULL;
32285 }
32286
32287
32288 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32289 PyObject *resultobj;
32290 wxPyControl *arg1 = (wxPyControl *) 0 ;
32291 int arg2 ;
32292 int arg3 ;
32293 int arg4 ;
32294 int arg5 ;
32295 int arg6 = (int) wxSIZE_AUTO ;
32296 PyObject * obj0 = 0 ;
32297 PyObject * obj1 = 0 ;
32298 PyObject * obj2 = 0 ;
32299 PyObject * obj3 = 0 ;
32300 PyObject * obj4 = 0 ;
32301 PyObject * obj5 = 0 ;
32302 char *kwnames[] = {
32303 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32304 };
32305
32306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32308 if (SWIG_arg_fail(1)) SWIG_fail;
32309 {
32310 arg2 = (int)(SWIG_As_int(obj1));
32311 if (SWIG_arg_fail(2)) SWIG_fail;
32312 }
32313 {
32314 arg3 = (int)(SWIG_As_int(obj2));
32315 if (SWIG_arg_fail(3)) SWIG_fail;
32316 }
32317 {
32318 arg4 = (int)(SWIG_As_int(obj3));
32319 if (SWIG_arg_fail(4)) SWIG_fail;
32320 }
32321 {
32322 arg5 = (int)(SWIG_As_int(obj4));
32323 if (SWIG_arg_fail(5)) SWIG_fail;
32324 }
32325 if (obj5) {
32326 {
32327 arg6 = (int)(SWIG_As_int(obj5));
32328 if (SWIG_arg_fail(6)) SWIG_fail;
32329 }
32330 }
32331 {
32332 PyThreadState* __tstate = wxPyBeginAllowThreads();
32333 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32334
32335 wxPyEndAllowThreads(__tstate);
32336 if (PyErr_Occurred()) SWIG_fail;
32337 }
32338 Py_INCREF(Py_None); resultobj = Py_None;
32339 return resultobj;
32340 fail:
32341 return NULL;
32342 }
32343
32344
32345 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32346 PyObject *resultobj;
32347 wxPyControl *arg1 = (wxPyControl *) 0 ;
32348 int arg2 ;
32349 int arg3 ;
32350 PyObject * obj0 = 0 ;
32351 PyObject * obj1 = 0 ;
32352 PyObject * obj2 = 0 ;
32353 char *kwnames[] = {
32354 (char *) "self",(char *) "width",(char *) "height", NULL
32355 };
32356
32357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32359 if (SWIG_arg_fail(1)) SWIG_fail;
32360 {
32361 arg2 = (int)(SWIG_As_int(obj1));
32362 if (SWIG_arg_fail(2)) SWIG_fail;
32363 }
32364 {
32365 arg3 = (int)(SWIG_As_int(obj2));
32366 if (SWIG_arg_fail(3)) SWIG_fail;
32367 }
32368 {
32369 PyThreadState* __tstate = wxPyBeginAllowThreads();
32370 (arg1)->base_DoSetClientSize(arg2,arg3);
32371
32372 wxPyEndAllowThreads(__tstate);
32373 if (PyErr_Occurred()) SWIG_fail;
32374 }
32375 Py_INCREF(Py_None); resultobj = Py_None;
32376 return resultobj;
32377 fail:
32378 return NULL;
32379 }
32380
32381
32382 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32383 PyObject *resultobj;
32384 wxPyControl *arg1 = (wxPyControl *) 0 ;
32385 int arg2 ;
32386 int arg3 ;
32387 PyObject * obj0 = 0 ;
32388 PyObject * obj1 = 0 ;
32389 PyObject * obj2 = 0 ;
32390 char *kwnames[] = {
32391 (char *) "self",(char *) "x",(char *) "y", NULL
32392 };
32393
32394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32396 if (SWIG_arg_fail(1)) SWIG_fail;
32397 {
32398 arg2 = (int)(SWIG_As_int(obj1));
32399 if (SWIG_arg_fail(2)) SWIG_fail;
32400 }
32401 {
32402 arg3 = (int)(SWIG_As_int(obj2));
32403 if (SWIG_arg_fail(3)) SWIG_fail;
32404 }
32405 {
32406 PyThreadState* __tstate = wxPyBeginAllowThreads();
32407 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32408
32409 wxPyEndAllowThreads(__tstate);
32410 if (PyErr_Occurred()) SWIG_fail;
32411 }
32412 Py_INCREF(Py_None); resultobj = Py_None;
32413 return resultobj;
32414 fail:
32415 return NULL;
32416 }
32417
32418
32419 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32420 PyObject *resultobj;
32421 wxPyControl *arg1 = (wxPyControl *) 0 ;
32422 int *arg2 = (int *) 0 ;
32423 int *arg3 = (int *) 0 ;
32424 int temp2 ;
32425 int res2 = 0 ;
32426 int temp3 ;
32427 int res3 = 0 ;
32428 PyObject * obj0 = 0 ;
32429 char *kwnames[] = {
32430 (char *) "self", NULL
32431 };
32432
32433 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32434 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32437 if (SWIG_arg_fail(1)) SWIG_fail;
32438 {
32439 PyThreadState* __tstate = wxPyBeginAllowThreads();
32440 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32441
32442 wxPyEndAllowThreads(__tstate);
32443 if (PyErr_Occurred()) SWIG_fail;
32444 }
32445 Py_INCREF(Py_None); resultobj = Py_None;
32446 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32447 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32448 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32449 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32450 return resultobj;
32451 fail:
32452 return NULL;
32453 }
32454
32455
32456 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32457 PyObject *resultobj;
32458 wxPyControl *arg1 = (wxPyControl *) 0 ;
32459 int *arg2 = (int *) 0 ;
32460 int *arg3 = (int *) 0 ;
32461 int temp2 ;
32462 int res2 = 0 ;
32463 int temp3 ;
32464 int res3 = 0 ;
32465 PyObject * obj0 = 0 ;
32466 char *kwnames[] = {
32467 (char *) "self", NULL
32468 };
32469
32470 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32471 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32474 if (SWIG_arg_fail(1)) SWIG_fail;
32475 {
32476 PyThreadState* __tstate = wxPyBeginAllowThreads();
32477 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32478
32479 wxPyEndAllowThreads(__tstate);
32480 if (PyErr_Occurred()) SWIG_fail;
32481 }
32482 Py_INCREF(Py_None); resultobj = Py_None;
32483 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32484 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32485 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32486 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32487 return resultobj;
32488 fail:
32489 return NULL;
32490 }
32491
32492
32493 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32494 PyObject *resultobj;
32495 wxPyControl *arg1 = (wxPyControl *) 0 ;
32496 int *arg2 = (int *) 0 ;
32497 int *arg3 = (int *) 0 ;
32498 int temp2 ;
32499 int res2 = 0 ;
32500 int temp3 ;
32501 int res3 = 0 ;
32502 PyObject * obj0 = 0 ;
32503 char *kwnames[] = {
32504 (char *) "self", NULL
32505 };
32506
32507 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32508 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
32510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32511 if (SWIG_arg_fail(1)) SWIG_fail;
32512 {
32513 PyThreadState* __tstate = wxPyBeginAllowThreads();
32514 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32515
32516 wxPyEndAllowThreads(__tstate);
32517 if (PyErr_Occurred()) SWIG_fail;
32518 }
32519 Py_INCREF(Py_None); resultobj = Py_None;
32520 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32521 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32522 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32523 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32524 return resultobj;
32525 fail:
32526 return NULL;
32527 }
32528
32529
32530 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32531 PyObject *resultobj;
32532 wxPyControl *arg1 = (wxPyControl *) 0 ;
32533 wxSize result;
32534 PyObject * obj0 = 0 ;
32535 char *kwnames[] = {
32536 (char *) "self", NULL
32537 };
32538
32539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32541 if (SWIG_arg_fail(1)) SWIG_fail;
32542 {
32543 PyThreadState* __tstate = wxPyBeginAllowThreads();
32544 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32545
32546 wxPyEndAllowThreads(__tstate);
32547 if (PyErr_Occurred()) SWIG_fail;
32548 }
32549 {
32550 wxSize * resultptr;
32551 resultptr = new wxSize((wxSize &)(result));
32552 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32553 }
32554 return resultobj;
32555 fail:
32556 return NULL;
32557 }
32558
32559
32560 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32561 PyObject *resultobj;
32562 wxPyControl *arg1 = (wxPyControl *) 0 ;
32563 wxSize result;
32564 PyObject * obj0 = 0 ;
32565 char *kwnames[] = {
32566 (char *) "self", NULL
32567 };
32568
32569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
32570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32571 if (SWIG_arg_fail(1)) SWIG_fail;
32572 {
32573 PyThreadState* __tstate = wxPyBeginAllowThreads();
32574 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32575
32576 wxPyEndAllowThreads(__tstate);
32577 if (PyErr_Occurred()) SWIG_fail;
32578 }
32579 {
32580 wxSize * resultptr;
32581 resultptr = new wxSize((wxSize &)(result));
32582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32583 }
32584 return resultobj;
32585 fail:
32586 return NULL;
32587 }
32588
32589
32590 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32591 PyObject *resultobj;
32592 wxPyControl *arg1 = (wxPyControl *) 0 ;
32593 PyObject * obj0 = 0 ;
32594 char *kwnames[] = {
32595 (char *) "self", NULL
32596 };
32597
32598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32600 if (SWIG_arg_fail(1)) SWIG_fail;
32601 {
32602 PyThreadState* __tstate = wxPyBeginAllowThreads();
32603 (arg1)->base_InitDialog();
32604
32605 wxPyEndAllowThreads(__tstate);
32606 if (PyErr_Occurred()) SWIG_fail;
32607 }
32608 Py_INCREF(Py_None); resultobj = Py_None;
32609 return resultobj;
32610 fail:
32611 return NULL;
32612 }
32613
32614
32615 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32616 PyObject *resultobj;
32617 wxPyControl *arg1 = (wxPyControl *) 0 ;
32618 bool result;
32619 PyObject * obj0 = 0 ;
32620 char *kwnames[] = {
32621 (char *) "self", NULL
32622 };
32623
32624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
32625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32626 if (SWIG_arg_fail(1)) SWIG_fail;
32627 {
32628 PyThreadState* __tstate = wxPyBeginAllowThreads();
32629 result = (bool)(arg1)->base_TransferDataToWindow();
32630
32631 wxPyEndAllowThreads(__tstate);
32632 if (PyErr_Occurred()) SWIG_fail;
32633 }
32634 {
32635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32636 }
32637 return resultobj;
32638 fail:
32639 return NULL;
32640 }
32641
32642
32643 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32644 PyObject *resultobj;
32645 wxPyControl *arg1 = (wxPyControl *) 0 ;
32646 bool result;
32647 PyObject * obj0 = 0 ;
32648 char *kwnames[] = {
32649 (char *) "self", NULL
32650 };
32651
32652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
32653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32654 if (SWIG_arg_fail(1)) SWIG_fail;
32655 {
32656 PyThreadState* __tstate = wxPyBeginAllowThreads();
32657 result = (bool)(arg1)->base_TransferDataFromWindow();
32658
32659 wxPyEndAllowThreads(__tstate);
32660 if (PyErr_Occurred()) SWIG_fail;
32661 }
32662 {
32663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32664 }
32665 return resultobj;
32666 fail:
32667 return NULL;
32668 }
32669
32670
32671 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32672 PyObject *resultobj;
32673 wxPyControl *arg1 = (wxPyControl *) 0 ;
32674 bool result;
32675 PyObject * obj0 = 0 ;
32676 char *kwnames[] = {
32677 (char *) "self", NULL
32678 };
32679
32680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
32681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32682 if (SWIG_arg_fail(1)) SWIG_fail;
32683 {
32684 PyThreadState* __tstate = wxPyBeginAllowThreads();
32685 result = (bool)(arg1)->base_Validate();
32686
32687 wxPyEndAllowThreads(__tstate);
32688 if (PyErr_Occurred()) SWIG_fail;
32689 }
32690 {
32691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32692 }
32693 return resultobj;
32694 fail:
32695 return NULL;
32696 }
32697
32698
32699 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32700 PyObject *resultobj;
32701 wxPyControl *arg1 = (wxPyControl *) 0 ;
32702 bool result;
32703 PyObject * obj0 = 0 ;
32704 char *kwnames[] = {
32705 (char *) "self", NULL
32706 };
32707
32708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
32709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32710 if (SWIG_arg_fail(1)) SWIG_fail;
32711 {
32712 PyThreadState* __tstate = wxPyBeginAllowThreads();
32713 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32714
32715 wxPyEndAllowThreads(__tstate);
32716 if (PyErr_Occurred()) SWIG_fail;
32717 }
32718 {
32719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32720 }
32721 return resultobj;
32722 fail:
32723 return NULL;
32724 }
32725
32726
32727 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32728 PyObject *resultobj;
32729 wxPyControl *arg1 = (wxPyControl *) 0 ;
32730 bool result;
32731 PyObject * obj0 = 0 ;
32732 char *kwnames[] = {
32733 (char *) "self", NULL
32734 };
32735
32736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
32737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32738 if (SWIG_arg_fail(1)) SWIG_fail;
32739 {
32740 PyThreadState* __tstate = wxPyBeginAllowThreads();
32741 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32742
32743 wxPyEndAllowThreads(__tstate);
32744 if (PyErr_Occurred()) SWIG_fail;
32745 }
32746 {
32747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32748 }
32749 return resultobj;
32750 fail:
32751 return NULL;
32752 }
32753
32754
32755 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32756 PyObject *resultobj;
32757 wxPyControl *arg1 = (wxPyControl *) 0 ;
32758 wxSize result;
32759 PyObject * obj0 = 0 ;
32760 char *kwnames[] = {
32761 (char *) "self", NULL
32762 };
32763
32764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
32765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32766 if (SWIG_arg_fail(1)) SWIG_fail;
32767 {
32768 PyThreadState* __tstate = wxPyBeginAllowThreads();
32769 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32770
32771 wxPyEndAllowThreads(__tstate);
32772 if (PyErr_Occurred()) SWIG_fail;
32773 }
32774 {
32775 wxSize * resultptr;
32776 resultptr = new wxSize((wxSize &)(result));
32777 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32778 }
32779 return resultobj;
32780 fail:
32781 return NULL;
32782 }
32783
32784
32785 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32786 PyObject *resultobj;
32787 wxPyControl *arg1 = (wxPyControl *) 0 ;
32788 wxWindow *arg2 = (wxWindow *) 0 ;
32789 PyObject * obj0 = 0 ;
32790 PyObject * obj1 = 0 ;
32791 char *kwnames[] = {
32792 (char *) "self",(char *) "child", NULL
32793 };
32794
32795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
32796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32797 if (SWIG_arg_fail(1)) SWIG_fail;
32798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32799 if (SWIG_arg_fail(2)) SWIG_fail;
32800 {
32801 PyThreadState* __tstate = wxPyBeginAllowThreads();
32802 (arg1)->base_AddChild(arg2);
32803
32804 wxPyEndAllowThreads(__tstate);
32805 if (PyErr_Occurred()) SWIG_fail;
32806 }
32807 Py_INCREF(Py_None); resultobj = Py_None;
32808 return resultobj;
32809 fail:
32810 return NULL;
32811 }
32812
32813
32814 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32815 PyObject *resultobj;
32816 wxPyControl *arg1 = (wxPyControl *) 0 ;
32817 wxWindow *arg2 = (wxWindow *) 0 ;
32818 PyObject * obj0 = 0 ;
32819 PyObject * obj1 = 0 ;
32820 char *kwnames[] = {
32821 (char *) "self",(char *) "child", NULL
32822 };
32823
32824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
32825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32826 if (SWIG_arg_fail(1)) SWIG_fail;
32827 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32828 if (SWIG_arg_fail(2)) SWIG_fail;
32829 {
32830 PyThreadState* __tstate = wxPyBeginAllowThreads();
32831 (arg1)->base_RemoveChild(arg2);
32832
32833 wxPyEndAllowThreads(__tstate);
32834 if (PyErr_Occurred()) SWIG_fail;
32835 }
32836 Py_INCREF(Py_None); resultobj = Py_None;
32837 return resultobj;
32838 fail:
32839 return NULL;
32840 }
32841
32842
32843 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32844 PyObject *resultobj;
32845 wxPyControl *arg1 = (wxPyControl *) 0 ;
32846 bool result;
32847 PyObject * obj0 = 0 ;
32848 char *kwnames[] = {
32849 (char *) "self", NULL
32850 };
32851
32852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
32853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32854 if (SWIG_arg_fail(1)) SWIG_fail;
32855 {
32856 PyThreadState* __tstate = wxPyBeginAllowThreads();
32857 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
32858
32859 wxPyEndAllowThreads(__tstate);
32860 if (PyErr_Occurred()) SWIG_fail;
32861 }
32862 {
32863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32864 }
32865 return resultobj;
32866 fail:
32867 return NULL;
32868 }
32869
32870
32871 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32872 PyObject *resultobj;
32873 wxPyControl *arg1 = (wxPyControl *) 0 ;
32874 wxVisualAttributes result;
32875 PyObject * obj0 = 0 ;
32876 char *kwnames[] = {
32877 (char *) "self", NULL
32878 };
32879
32880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
32881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32882 if (SWIG_arg_fail(1)) SWIG_fail;
32883 {
32884 PyThreadState* __tstate = wxPyBeginAllowThreads();
32885 result = (arg1)->base_GetDefaultAttributes();
32886
32887 wxPyEndAllowThreads(__tstate);
32888 if (PyErr_Occurred()) SWIG_fail;
32889 }
32890 {
32891 wxVisualAttributes * resultptr;
32892 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
32893 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32894 }
32895 return resultobj;
32896 fail:
32897 return NULL;
32898 }
32899
32900
32901 static PyObject *_wrap_PyControl_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32902 PyObject *resultobj;
32903 wxPyControl *arg1 = (wxPyControl *) 0 ;
32904 PyObject * obj0 = 0 ;
32905 char *kwnames[] = {
32906 (char *) "self", NULL
32907 };
32908
32909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_OnInternalIdle",kwnames,&obj0)) goto fail;
32910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32911 if (SWIG_arg_fail(1)) SWIG_fail;
32912 {
32913 PyThreadState* __tstate = wxPyBeginAllowThreads();
32914 (arg1)->base_OnInternalIdle();
32915
32916 wxPyEndAllowThreads(__tstate);
32917 if (PyErr_Occurred()) SWIG_fail;
32918 }
32919 Py_INCREF(Py_None); resultobj = Py_None;
32920 return resultobj;
32921 fail:
32922 return NULL;
32923 }
32924
32925
32926 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
32927 PyObject *obj;
32928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32929 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32930 Py_INCREF(obj);
32931 return Py_BuildValue((char *)"");
32932 }
32933 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32934 PyObject *resultobj;
32935 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32936 int arg2 = (int) 0 ;
32937 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32938 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32939 wxHelpEvent *result;
32940 wxPoint temp3 ;
32941 PyObject * obj0 = 0 ;
32942 PyObject * obj1 = 0 ;
32943 PyObject * obj2 = 0 ;
32944 char *kwnames[] = {
32945 (char *) "type",(char *) "winid",(char *) "pt", NULL
32946 };
32947
32948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
32949 if (obj0) {
32950 {
32951 arg1 = (wxEventType)(SWIG_As_int(obj0));
32952 if (SWIG_arg_fail(1)) SWIG_fail;
32953 }
32954 }
32955 if (obj1) {
32956 {
32957 arg2 = (int)(SWIG_As_int(obj1));
32958 if (SWIG_arg_fail(2)) SWIG_fail;
32959 }
32960 }
32961 if (obj2) {
32962 {
32963 arg3 = &temp3;
32964 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32965 }
32966 }
32967 {
32968 PyThreadState* __tstate = wxPyBeginAllowThreads();
32969 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
32970
32971 wxPyEndAllowThreads(__tstate);
32972 if (PyErr_Occurred()) SWIG_fail;
32973 }
32974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
32975 return resultobj;
32976 fail:
32977 return NULL;
32978 }
32979
32980
32981 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32982 PyObject *resultobj;
32983 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32984 wxPoint result;
32985 PyObject * obj0 = 0 ;
32986 char *kwnames[] = {
32987 (char *) "self", NULL
32988 };
32989
32990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
32991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
32992 if (SWIG_arg_fail(1)) SWIG_fail;
32993 {
32994 PyThreadState* __tstate = wxPyBeginAllowThreads();
32995 result = ((wxHelpEvent const *)arg1)->GetPosition();
32996
32997 wxPyEndAllowThreads(__tstate);
32998 if (PyErr_Occurred()) SWIG_fail;
32999 }
33000 {
33001 wxPoint * resultptr;
33002 resultptr = new wxPoint((wxPoint const &)(result));
33003 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33004 }
33005 return resultobj;
33006 fail:
33007 return NULL;
33008 }
33009
33010
33011 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33012 PyObject *resultobj;
33013 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33014 wxPoint *arg2 = 0 ;
33015 wxPoint temp2 ;
33016 PyObject * obj0 = 0 ;
33017 PyObject * obj1 = 0 ;
33018 char *kwnames[] = {
33019 (char *) "self",(char *) "pos", NULL
33020 };
33021
33022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33024 if (SWIG_arg_fail(1)) SWIG_fail;
33025 {
33026 arg2 = &temp2;
33027 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33028 }
33029 {
33030 PyThreadState* __tstate = wxPyBeginAllowThreads();
33031 (arg1)->SetPosition((wxPoint const &)*arg2);
33032
33033 wxPyEndAllowThreads(__tstate);
33034 if (PyErr_Occurred()) SWIG_fail;
33035 }
33036 Py_INCREF(Py_None); resultobj = Py_None;
33037 return resultobj;
33038 fail:
33039 return NULL;
33040 }
33041
33042
33043 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33044 PyObject *resultobj;
33045 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33046 wxString *result;
33047 PyObject * obj0 = 0 ;
33048 char *kwnames[] = {
33049 (char *) "self", NULL
33050 };
33051
33052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33054 if (SWIG_arg_fail(1)) SWIG_fail;
33055 {
33056 PyThreadState* __tstate = wxPyBeginAllowThreads();
33057 {
33058 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33059 result = (wxString *) &_result_ref;
33060 }
33061
33062 wxPyEndAllowThreads(__tstate);
33063 if (PyErr_Occurred()) SWIG_fail;
33064 }
33065 {
33066 #if wxUSE_UNICODE
33067 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33068 #else
33069 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33070 #endif
33071 }
33072 return resultobj;
33073 fail:
33074 return NULL;
33075 }
33076
33077
33078 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33079 PyObject *resultobj;
33080 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33081 wxString *arg2 = 0 ;
33082 bool temp2 = false ;
33083 PyObject * obj0 = 0 ;
33084 PyObject * obj1 = 0 ;
33085 char *kwnames[] = {
33086 (char *) "self",(char *) "link", NULL
33087 };
33088
33089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33091 if (SWIG_arg_fail(1)) SWIG_fail;
33092 {
33093 arg2 = wxString_in_helper(obj1);
33094 if (arg2 == NULL) SWIG_fail;
33095 temp2 = true;
33096 }
33097 {
33098 PyThreadState* __tstate = wxPyBeginAllowThreads();
33099 (arg1)->SetLink((wxString const &)*arg2);
33100
33101 wxPyEndAllowThreads(__tstate);
33102 if (PyErr_Occurred()) SWIG_fail;
33103 }
33104 Py_INCREF(Py_None); resultobj = Py_None;
33105 {
33106 if (temp2)
33107 delete arg2;
33108 }
33109 return resultobj;
33110 fail:
33111 {
33112 if (temp2)
33113 delete arg2;
33114 }
33115 return NULL;
33116 }
33117
33118
33119 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33120 PyObject *resultobj;
33121 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33122 wxString *result;
33123 PyObject * obj0 = 0 ;
33124 char *kwnames[] = {
33125 (char *) "self", NULL
33126 };
33127
33128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33130 if (SWIG_arg_fail(1)) SWIG_fail;
33131 {
33132 PyThreadState* __tstate = wxPyBeginAllowThreads();
33133 {
33134 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33135 result = (wxString *) &_result_ref;
33136 }
33137
33138 wxPyEndAllowThreads(__tstate);
33139 if (PyErr_Occurred()) SWIG_fail;
33140 }
33141 {
33142 #if wxUSE_UNICODE
33143 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33144 #else
33145 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33146 #endif
33147 }
33148 return resultobj;
33149 fail:
33150 return NULL;
33151 }
33152
33153
33154 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33155 PyObject *resultobj;
33156 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33157 wxString *arg2 = 0 ;
33158 bool temp2 = false ;
33159 PyObject * obj0 = 0 ;
33160 PyObject * obj1 = 0 ;
33161 char *kwnames[] = {
33162 (char *) "self",(char *) "target", NULL
33163 };
33164
33165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33167 if (SWIG_arg_fail(1)) SWIG_fail;
33168 {
33169 arg2 = wxString_in_helper(obj1);
33170 if (arg2 == NULL) SWIG_fail;
33171 temp2 = true;
33172 }
33173 {
33174 PyThreadState* __tstate = wxPyBeginAllowThreads();
33175 (arg1)->SetTarget((wxString const &)*arg2);
33176
33177 wxPyEndAllowThreads(__tstate);
33178 if (PyErr_Occurred()) SWIG_fail;
33179 }
33180 Py_INCREF(Py_None); resultobj = Py_None;
33181 {
33182 if (temp2)
33183 delete arg2;
33184 }
33185 return resultobj;
33186 fail:
33187 {
33188 if (temp2)
33189 delete arg2;
33190 }
33191 return NULL;
33192 }
33193
33194
33195 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33196 PyObject *obj;
33197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33198 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33199 Py_INCREF(obj);
33200 return Py_BuildValue((char *)"");
33201 }
33202 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33203 PyObject *resultobj;
33204 wxWindow *arg1 = (wxWindow *) NULL ;
33205 bool arg2 = (bool) true ;
33206 wxContextHelp *result;
33207 PyObject * obj0 = 0 ;
33208 PyObject * obj1 = 0 ;
33209 char *kwnames[] = {
33210 (char *) "window",(char *) "doNow", NULL
33211 };
33212
33213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33214 if (obj0) {
33215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33216 if (SWIG_arg_fail(1)) SWIG_fail;
33217 }
33218 if (obj1) {
33219 {
33220 arg2 = (bool)(SWIG_As_bool(obj1));
33221 if (SWIG_arg_fail(2)) SWIG_fail;
33222 }
33223 }
33224 {
33225 if (!wxPyCheckForApp()) SWIG_fail;
33226 PyThreadState* __tstate = wxPyBeginAllowThreads();
33227 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33228
33229 wxPyEndAllowThreads(__tstate);
33230 if (PyErr_Occurred()) SWIG_fail;
33231 }
33232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33233 return resultobj;
33234 fail:
33235 return NULL;
33236 }
33237
33238
33239 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33240 PyObject *resultobj;
33241 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33242 PyObject * obj0 = 0 ;
33243 char *kwnames[] = {
33244 (char *) "self", NULL
33245 };
33246
33247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33249 if (SWIG_arg_fail(1)) SWIG_fail;
33250 {
33251 PyThreadState* __tstate = wxPyBeginAllowThreads();
33252 delete arg1;
33253
33254 wxPyEndAllowThreads(__tstate);
33255 if (PyErr_Occurred()) SWIG_fail;
33256 }
33257 Py_INCREF(Py_None); resultobj = Py_None;
33258 return resultobj;
33259 fail:
33260 return NULL;
33261 }
33262
33263
33264 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33265 PyObject *resultobj;
33266 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33267 wxWindow *arg2 = (wxWindow *) NULL ;
33268 bool result;
33269 PyObject * obj0 = 0 ;
33270 PyObject * obj1 = 0 ;
33271 char *kwnames[] = {
33272 (char *) "self",(char *) "window", NULL
33273 };
33274
33275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33277 if (SWIG_arg_fail(1)) SWIG_fail;
33278 if (obj1) {
33279 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33280 if (SWIG_arg_fail(2)) SWIG_fail;
33281 }
33282 {
33283 PyThreadState* __tstate = wxPyBeginAllowThreads();
33284 result = (bool)(arg1)->BeginContextHelp(arg2);
33285
33286 wxPyEndAllowThreads(__tstate);
33287 if (PyErr_Occurred()) SWIG_fail;
33288 }
33289 {
33290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33291 }
33292 return resultobj;
33293 fail:
33294 return NULL;
33295 }
33296
33297
33298 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33299 PyObject *resultobj;
33300 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33301 bool result;
33302 PyObject * obj0 = 0 ;
33303 char *kwnames[] = {
33304 (char *) "self", NULL
33305 };
33306
33307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33309 if (SWIG_arg_fail(1)) SWIG_fail;
33310 {
33311 PyThreadState* __tstate = wxPyBeginAllowThreads();
33312 result = (bool)(arg1)->EndContextHelp();
33313
33314 wxPyEndAllowThreads(__tstate);
33315 if (PyErr_Occurred()) SWIG_fail;
33316 }
33317 {
33318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33319 }
33320 return resultobj;
33321 fail:
33322 return NULL;
33323 }
33324
33325
33326 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33327 PyObject *obj;
33328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33329 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33330 Py_INCREF(obj);
33331 return Py_BuildValue((char *)"");
33332 }
33333 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33334 PyObject *resultobj;
33335 wxWindow *arg1 = (wxWindow *) 0 ;
33336 int arg2 = (int) wxID_CONTEXT_HELP ;
33337 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33338 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33339 wxSize const &arg4_defvalue = wxDefaultSize ;
33340 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33341 long arg5 = (long) wxBU_AUTODRAW ;
33342 wxContextHelpButton *result;
33343 wxPoint temp3 ;
33344 wxSize temp4 ;
33345 PyObject * obj0 = 0 ;
33346 PyObject * obj1 = 0 ;
33347 PyObject * obj2 = 0 ;
33348 PyObject * obj3 = 0 ;
33349 PyObject * obj4 = 0 ;
33350 char *kwnames[] = {
33351 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33352 };
33353
33354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33356 if (SWIG_arg_fail(1)) SWIG_fail;
33357 if (obj1) {
33358 {
33359 arg2 = (int)(SWIG_As_int(obj1));
33360 if (SWIG_arg_fail(2)) SWIG_fail;
33361 }
33362 }
33363 if (obj2) {
33364 {
33365 arg3 = &temp3;
33366 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33367 }
33368 }
33369 if (obj3) {
33370 {
33371 arg4 = &temp4;
33372 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33373 }
33374 }
33375 if (obj4) {
33376 {
33377 arg5 = (long)(SWIG_As_long(obj4));
33378 if (SWIG_arg_fail(5)) SWIG_fail;
33379 }
33380 }
33381 {
33382 if (!wxPyCheckForApp()) SWIG_fail;
33383 PyThreadState* __tstate = wxPyBeginAllowThreads();
33384 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33385
33386 wxPyEndAllowThreads(__tstate);
33387 if (PyErr_Occurred()) SWIG_fail;
33388 }
33389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33390 return resultobj;
33391 fail:
33392 return NULL;
33393 }
33394
33395
33396 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33397 PyObject *obj;
33398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33399 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33400 Py_INCREF(obj);
33401 return Py_BuildValue((char *)"");
33402 }
33403 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33404 PyObject *resultobj;
33405 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33406 wxHelpProvider *result;
33407 PyObject * obj0 = 0 ;
33408 char *kwnames[] = {
33409 (char *) "helpProvider", NULL
33410 };
33411
33412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33414 if (SWIG_arg_fail(1)) SWIG_fail;
33415 {
33416 PyThreadState* __tstate = wxPyBeginAllowThreads();
33417 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33418
33419 wxPyEndAllowThreads(__tstate);
33420 if (PyErr_Occurred()) SWIG_fail;
33421 }
33422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33423 return resultobj;
33424 fail:
33425 return NULL;
33426 }
33427
33428
33429 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33430 PyObject *resultobj;
33431 wxHelpProvider *result;
33432 char *kwnames[] = {
33433 NULL
33434 };
33435
33436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33437 {
33438 PyThreadState* __tstate = wxPyBeginAllowThreads();
33439 result = (wxHelpProvider *)wxHelpProvider::Get();
33440
33441 wxPyEndAllowThreads(__tstate);
33442 if (PyErr_Occurred()) SWIG_fail;
33443 }
33444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33445 return resultobj;
33446 fail:
33447 return NULL;
33448 }
33449
33450
33451 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33452 PyObject *resultobj;
33453 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33454 wxWindow *arg2 = (wxWindow *) 0 ;
33455 wxString result;
33456 PyObject * obj0 = 0 ;
33457 PyObject * obj1 = 0 ;
33458 char *kwnames[] = {
33459 (char *) "self",(char *) "window", NULL
33460 };
33461
33462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33464 if (SWIG_arg_fail(1)) SWIG_fail;
33465 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33466 if (SWIG_arg_fail(2)) SWIG_fail;
33467 {
33468 PyThreadState* __tstate = wxPyBeginAllowThreads();
33469 result = (arg1)->GetHelp((wxWindow const *)arg2);
33470
33471 wxPyEndAllowThreads(__tstate);
33472 if (PyErr_Occurred()) SWIG_fail;
33473 }
33474 {
33475 #if wxUSE_UNICODE
33476 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33477 #else
33478 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33479 #endif
33480 }
33481 return resultobj;
33482 fail:
33483 return NULL;
33484 }
33485
33486
33487 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33488 PyObject *resultobj;
33489 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33490 wxWindow *arg2 = (wxWindow *) 0 ;
33491 bool result;
33492 PyObject * obj0 = 0 ;
33493 PyObject * obj1 = 0 ;
33494 char *kwnames[] = {
33495 (char *) "self",(char *) "window", NULL
33496 };
33497
33498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33500 if (SWIG_arg_fail(1)) SWIG_fail;
33501 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33502 if (SWIG_arg_fail(2)) SWIG_fail;
33503 {
33504 PyThreadState* __tstate = wxPyBeginAllowThreads();
33505 result = (bool)(arg1)->ShowHelp(arg2);
33506
33507 wxPyEndAllowThreads(__tstate);
33508 if (PyErr_Occurred()) SWIG_fail;
33509 }
33510 {
33511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33512 }
33513 return resultobj;
33514 fail:
33515 return NULL;
33516 }
33517
33518
33519 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33520 PyObject *resultobj;
33521 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33522 wxWindow *arg2 = (wxWindow *) 0 ;
33523 wxString *arg3 = 0 ;
33524 bool temp3 = false ;
33525 PyObject * obj0 = 0 ;
33526 PyObject * obj1 = 0 ;
33527 PyObject * obj2 = 0 ;
33528 char *kwnames[] = {
33529 (char *) "self",(char *) "window",(char *) "text", NULL
33530 };
33531
33532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33534 if (SWIG_arg_fail(1)) SWIG_fail;
33535 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33536 if (SWIG_arg_fail(2)) SWIG_fail;
33537 {
33538 arg3 = wxString_in_helper(obj2);
33539 if (arg3 == NULL) SWIG_fail;
33540 temp3 = true;
33541 }
33542 {
33543 PyThreadState* __tstate = wxPyBeginAllowThreads();
33544 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33545
33546 wxPyEndAllowThreads(__tstate);
33547 if (PyErr_Occurred()) SWIG_fail;
33548 }
33549 Py_INCREF(Py_None); resultobj = Py_None;
33550 {
33551 if (temp3)
33552 delete arg3;
33553 }
33554 return resultobj;
33555 fail:
33556 {
33557 if (temp3)
33558 delete arg3;
33559 }
33560 return NULL;
33561 }
33562
33563
33564 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33565 PyObject *resultobj;
33566 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33567 int arg2 ;
33568 wxString *arg3 = 0 ;
33569 bool temp3 = false ;
33570 PyObject * obj0 = 0 ;
33571 PyObject * obj1 = 0 ;
33572 PyObject * obj2 = 0 ;
33573 char *kwnames[] = {
33574 (char *) "self",(char *) "id",(char *) "text", NULL
33575 };
33576
33577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33579 if (SWIG_arg_fail(1)) SWIG_fail;
33580 {
33581 arg2 = (int)(SWIG_As_int(obj1));
33582 if (SWIG_arg_fail(2)) SWIG_fail;
33583 }
33584 {
33585 arg3 = wxString_in_helper(obj2);
33586 if (arg3 == NULL) SWIG_fail;
33587 temp3 = true;
33588 }
33589 {
33590 PyThreadState* __tstate = wxPyBeginAllowThreads();
33591 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33592
33593 wxPyEndAllowThreads(__tstate);
33594 if (PyErr_Occurred()) SWIG_fail;
33595 }
33596 Py_INCREF(Py_None); resultobj = Py_None;
33597 {
33598 if (temp3)
33599 delete arg3;
33600 }
33601 return resultobj;
33602 fail:
33603 {
33604 if (temp3)
33605 delete arg3;
33606 }
33607 return NULL;
33608 }
33609
33610
33611 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33612 PyObject *resultobj;
33613 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33614 wxWindow *arg2 = (wxWindow *) 0 ;
33615 PyObject * obj0 = 0 ;
33616 PyObject * obj1 = 0 ;
33617 char *kwnames[] = {
33618 (char *) "self",(char *) "window", NULL
33619 };
33620
33621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33623 if (SWIG_arg_fail(1)) SWIG_fail;
33624 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33625 if (SWIG_arg_fail(2)) SWIG_fail;
33626 {
33627 PyThreadState* __tstate = wxPyBeginAllowThreads();
33628 (arg1)->RemoveHelp(arg2);
33629
33630 wxPyEndAllowThreads(__tstate);
33631 if (PyErr_Occurred()) SWIG_fail;
33632 }
33633 Py_INCREF(Py_None); resultobj = Py_None;
33634 return resultobj;
33635 fail:
33636 return NULL;
33637 }
33638
33639
33640 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
33641 PyObject *resultobj;
33642 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33643 PyObject * obj0 = 0 ;
33644 char *kwnames[] = {
33645 (char *) "self", NULL
33646 };
33647
33648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
33649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33650 if (SWIG_arg_fail(1)) SWIG_fail;
33651 {
33652 PyThreadState* __tstate = wxPyBeginAllowThreads();
33653 wxHelpProvider_Destroy(arg1);
33654
33655 wxPyEndAllowThreads(__tstate);
33656 if (PyErr_Occurred()) SWIG_fail;
33657 }
33658 Py_INCREF(Py_None); resultobj = Py_None;
33659 return resultobj;
33660 fail:
33661 return NULL;
33662 }
33663
33664
33665 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
33666 PyObject *obj;
33667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33668 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33669 Py_INCREF(obj);
33670 return Py_BuildValue((char *)"");
33671 }
33672 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
33673 PyObject *resultobj;
33674 wxSimpleHelpProvider *result;
33675 char *kwnames[] = {
33676 NULL
33677 };
33678
33679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33680 {
33681 PyThreadState* __tstate = wxPyBeginAllowThreads();
33682 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33683
33684 wxPyEndAllowThreads(__tstate);
33685 if (PyErr_Occurred()) SWIG_fail;
33686 }
33687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33688 return resultobj;
33689 fail:
33690 return NULL;
33691 }
33692
33693
33694 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
33695 PyObject *obj;
33696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33697 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33698 Py_INCREF(obj);
33699 return Py_BuildValue((char *)"");
33700 }
33701 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33702 PyObject *resultobj;
33703 wxBitmap *arg1 = 0 ;
33704 wxCursor const &arg2_defvalue = wxNullCursor ;
33705 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33706 wxGenericDragImage *result;
33707 PyObject * obj0 = 0 ;
33708 PyObject * obj1 = 0 ;
33709 char *kwnames[] = {
33710 (char *) "image",(char *) "cursor", NULL
33711 };
33712
33713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
33714 {
33715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33716 if (SWIG_arg_fail(1)) SWIG_fail;
33717 if (arg1 == NULL) {
33718 SWIG_null_ref("wxBitmap");
33719 }
33720 if (SWIG_arg_fail(1)) SWIG_fail;
33721 }
33722 if (obj1) {
33723 {
33724 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33725 if (SWIG_arg_fail(2)) SWIG_fail;
33726 if (arg2 == NULL) {
33727 SWIG_null_ref("wxCursor");
33728 }
33729 if (SWIG_arg_fail(2)) SWIG_fail;
33730 }
33731 }
33732 {
33733 if (!wxPyCheckForApp()) SWIG_fail;
33734 PyThreadState* __tstate = wxPyBeginAllowThreads();
33735 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33736
33737 wxPyEndAllowThreads(__tstate);
33738 if (PyErr_Occurred()) SWIG_fail;
33739 }
33740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33741 return resultobj;
33742 fail:
33743 return NULL;
33744 }
33745
33746
33747 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
33748 PyObject *resultobj;
33749 wxIcon *arg1 = 0 ;
33750 wxCursor const &arg2_defvalue = wxNullCursor ;
33751 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33752 wxGenericDragImage *result;
33753 PyObject * obj0 = 0 ;
33754 PyObject * obj1 = 0 ;
33755 char *kwnames[] = {
33756 (char *) "image",(char *) "cursor", NULL
33757 };
33758
33759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
33760 {
33761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33762 if (SWIG_arg_fail(1)) SWIG_fail;
33763 if (arg1 == NULL) {
33764 SWIG_null_ref("wxIcon");
33765 }
33766 if (SWIG_arg_fail(1)) SWIG_fail;
33767 }
33768 if (obj1) {
33769 {
33770 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33771 if (SWIG_arg_fail(2)) SWIG_fail;
33772 if (arg2 == NULL) {
33773 SWIG_null_ref("wxCursor");
33774 }
33775 if (SWIG_arg_fail(2)) SWIG_fail;
33776 }
33777 }
33778 {
33779 if (!wxPyCheckForApp()) SWIG_fail;
33780 PyThreadState* __tstate = wxPyBeginAllowThreads();
33781 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33782
33783 wxPyEndAllowThreads(__tstate);
33784 if (PyErr_Occurred()) SWIG_fail;
33785 }
33786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33787 return resultobj;
33788 fail:
33789 return NULL;
33790 }
33791
33792
33793 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
33794 PyObject *resultobj;
33795 wxString *arg1 = 0 ;
33796 wxCursor const &arg2_defvalue = wxNullCursor ;
33797 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33798 wxGenericDragImage *result;
33799 bool temp1 = false ;
33800 PyObject * obj0 = 0 ;
33801 PyObject * obj1 = 0 ;
33802 char *kwnames[] = {
33803 (char *) "str",(char *) "cursor", NULL
33804 };
33805
33806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33807 {
33808 arg1 = wxString_in_helper(obj0);
33809 if (arg1 == NULL) SWIG_fail;
33810 temp1 = true;
33811 }
33812 if (obj1) {
33813 {
33814 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33815 if (SWIG_arg_fail(2)) SWIG_fail;
33816 if (arg2 == NULL) {
33817 SWIG_null_ref("wxCursor");
33818 }
33819 if (SWIG_arg_fail(2)) SWIG_fail;
33820 }
33821 }
33822 {
33823 if (!wxPyCheckForApp()) SWIG_fail;
33824 PyThreadState* __tstate = wxPyBeginAllowThreads();
33825 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33826
33827 wxPyEndAllowThreads(__tstate);
33828 if (PyErr_Occurred()) SWIG_fail;
33829 }
33830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33831 {
33832 if (temp1)
33833 delete arg1;
33834 }
33835 return resultobj;
33836 fail:
33837 {
33838 if (temp1)
33839 delete arg1;
33840 }
33841 return NULL;
33842 }
33843
33844
33845 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
33846 PyObject *resultobj;
33847 wxPyTreeCtrl *arg1 = 0 ;
33848 wxTreeItemId *arg2 = 0 ;
33849 wxGenericDragImage *result;
33850 PyObject * obj0 = 0 ;
33851 PyObject * obj1 = 0 ;
33852 char *kwnames[] = {
33853 (char *) "treeCtrl",(char *) "id", NULL
33854 };
33855
33856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
33857 {
33858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33859 if (SWIG_arg_fail(1)) SWIG_fail;
33860 if (arg1 == NULL) {
33861 SWIG_null_ref("wxPyTreeCtrl");
33862 }
33863 if (SWIG_arg_fail(1)) SWIG_fail;
33864 }
33865 {
33866 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33867 if (SWIG_arg_fail(2)) SWIG_fail;
33868 if (arg2 == NULL) {
33869 SWIG_null_ref("wxTreeItemId");
33870 }
33871 if (SWIG_arg_fail(2)) SWIG_fail;
33872 }
33873 {
33874 if (!wxPyCheckForApp()) SWIG_fail;
33875 PyThreadState* __tstate = wxPyBeginAllowThreads();
33876 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33877
33878 wxPyEndAllowThreads(__tstate);
33879 if (PyErr_Occurred()) SWIG_fail;
33880 }
33881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33882 return resultobj;
33883 fail:
33884 return NULL;
33885 }
33886
33887
33888 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
33889 PyObject *resultobj;
33890 wxPyListCtrl *arg1 = 0 ;
33891 long arg2 ;
33892 wxGenericDragImage *result;
33893 PyObject * obj0 = 0 ;
33894 PyObject * obj1 = 0 ;
33895 char *kwnames[] = {
33896 (char *) "listCtrl",(char *) "id", NULL
33897 };
33898
33899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
33900 {
33901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33902 if (SWIG_arg_fail(1)) SWIG_fail;
33903 if (arg1 == NULL) {
33904 SWIG_null_ref("wxPyListCtrl");
33905 }
33906 if (SWIG_arg_fail(1)) SWIG_fail;
33907 }
33908 {
33909 arg2 = (long)(SWIG_As_long(obj1));
33910 if (SWIG_arg_fail(2)) SWIG_fail;
33911 }
33912 {
33913 if (!wxPyCheckForApp()) SWIG_fail;
33914 PyThreadState* __tstate = wxPyBeginAllowThreads();
33915 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33916
33917 wxPyEndAllowThreads(__tstate);
33918 if (PyErr_Occurred()) SWIG_fail;
33919 }
33920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33921 return resultobj;
33922 fail:
33923 return NULL;
33924 }
33925
33926
33927 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33928 PyObject *resultobj;
33929 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33930 PyObject * obj0 = 0 ;
33931 char *kwnames[] = {
33932 (char *) "self", NULL
33933 };
33934
33935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
33936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33937 if (SWIG_arg_fail(1)) SWIG_fail;
33938 {
33939 PyThreadState* __tstate = wxPyBeginAllowThreads();
33940 delete arg1;
33941
33942 wxPyEndAllowThreads(__tstate);
33943 if (PyErr_Occurred()) SWIG_fail;
33944 }
33945 Py_INCREF(Py_None); resultobj = Py_None;
33946 return resultobj;
33947 fail:
33948 return NULL;
33949 }
33950
33951
33952 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
33953 PyObject *resultobj;
33954 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33955 wxBitmap *arg2 = (wxBitmap *) 0 ;
33956 PyObject * obj0 = 0 ;
33957 PyObject * obj1 = 0 ;
33958 char *kwnames[] = {
33959 (char *) "self",(char *) "bitmap", NULL
33960 };
33961
33962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
33963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33964 if (SWIG_arg_fail(1)) SWIG_fail;
33965 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33966 if (SWIG_arg_fail(2)) SWIG_fail;
33967 {
33968 PyThreadState* __tstate = wxPyBeginAllowThreads();
33969 (arg1)->SetBackingBitmap(arg2);
33970
33971 wxPyEndAllowThreads(__tstate);
33972 if (PyErr_Occurred()) SWIG_fail;
33973 }
33974 Py_INCREF(Py_None); resultobj = Py_None;
33975 return resultobj;
33976 fail:
33977 return NULL;
33978 }
33979
33980
33981 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
33982 PyObject *resultobj;
33983 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33984 wxPoint *arg2 = 0 ;
33985 wxWindow *arg3 = (wxWindow *) 0 ;
33986 bool arg4 = (bool) false ;
33987 wxRect *arg5 = (wxRect *) NULL ;
33988 bool result;
33989 wxPoint temp2 ;
33990 PyObject * obj0 = 0 ;
33991 PyObject * obj1 = 0 ;
33992 PyObject * obj2 = 0 ;
33993 PyObject * obj3 = 0 ;
33994 PyObject * obj4 = 0 ;
33995 char *kwnames[] = {
33996 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33997 };
33998
33999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34001 if (SWIG_arg_fail(1)) SWIG_fail;
34002 {
34003 arg2 = &temp2;
34004 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34005 }
34006 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34007 if (SWIG_arg_fail(3)) SWIG_fail;
34008 if (obj3) {
34009 {
34010 arg4 = (bool)(SWIG_As_bool(obj3));
34011 if (SWIG_arg_fail(4)) SWIG_fail;
34012 }
34013 }
34014 if (obj4) {
34015 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34016 if (SWIG_arg_fail(5)) SWIG_fail;
34017 }
34018 {
34019 PyThreadState* __tstate = wxPyBeginAllowThreads();
34020 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34021
34022 wxPyEndAllowThreads(__tstate);
34023 if (PyErr_Occurred()) SWIG_fail;
34024 }
34025 {
34026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34027 }
34028 return resultobj;
34029 fail:
34030 return NULL;
34031 }
34032
34033
34034 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34035 PyObject *resultobj;
34036 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34037 wxPoint *arg2 = 0 ;
34038 wxWindow *arg3 = (wxWindow *) 0 ;
34039 wxWindow *arg4 = (wxWindow *) 0 ;
34040 bool result;
34041 wxPoint temp2 ;
34042 PyObject * obj0 = 0 ;
34043 PyObject * obj1 = 0 ;
34044 PyObject * obj2 = 0 ;
34045 PyObject * obj3 = 0 ;
34046 char *kwnames[] = {
34047 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34048 };
34049
34050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34052 if (SWIG_arg_fail(1)) SWIG_fail;
34053 {
34054 arg2 = &temp2;
34055 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34056 }
34057 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34058 if (SWIG_arg_fail(3)) SWIG_fail;
34059 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34060 if (SWIG_arg_fail(4)) SWIG_fail;
34061 {
34062 PyThreadState* __tstate = wxPyBeginAllowThreads();
34063 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34064
34065 wxPyEndAllowThreads(__tstate);
34066 if (PyErr_Occurred()) SWIG_fail;
34067 }
34068 {
34069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34070 }
34071 return resultobj;
34072 fail:
34073 return NULL;
34074 }
34075
34076
34077 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34078 PyObject *resultobj;
34079 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34080 bool result;
34081 PyObject * obj0 = 0 ;
34082 char *kwnames[] = {
34083 (char *) "self", NULL
34084 };
34085
34086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34088 if (SWIG_arg_fail(1)) SWIG_fail;
34089 {
34090 PyThreadState* __tstate = wxPyBeginAllowThreads();
34091 result = (bool)(arg1)->EndDrag();
34092
34093 wxPyEndAllowThreads(__tstate);
34094 if (PyErr_Occurred()) SWIG_fail;
34095 }
34096 {
34097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34098 }
34099 return resultobj;
34100 fail:
34101 return NULL;
34102 }
34103
34104
34105 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34106 PyObject *resultobj;
34107 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34108 wxPoint *arg2 = 0 ;
34109 bool result;
34110 wxPoint temp2 ;
34111 PyObject * obj0 = 0 ;
34112 PyObject * obj1 = 0 ;
34113 char *kwnames[] = {
34114 (char *) "self",(char *) "pt", NULL
34115 };
34116
34117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34119 if (SWIG_arg_fail(1)) SWIG_fail;
34120 {
34121 arg2 = &temp2;
34122 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34123 }
34124 {
34125 PyThreadState* __tstate = wxPyBeginAllowThreads();
34126 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34127
34128 wxPyEndAllowThreads(__tstate);
34129 if (PyErr_Occurred()) SWIG_fail;
34130 }
34131 {
34132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34133 }
34134 return resultobj;
34135 fail:
34136 return NULL;
34137 }
34138
34139
34140 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34141 PyObject *resultobj;
34142 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34143 bool result;
34144 PyObject * obj0 = 0 ;
34145 char *kwnames[] = {
34146 (char *) "self", NULL
34147 };
34148
34149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34151 if (SWIG_arg_fail(1)) SWIG_fail;
34152 {
34153 PyThreadState* __tstate = wxPyBeginAllowThreads();
34154 result = (bool)(arg1)->Show();
34155
34156 wxPyEndAllowThreads(__tstate);
34157 if (PyErr_Occurred()) SWIG_fail;
34158 }
34159 {
34160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34161 }
34162 return resultobj;
34163 fail:
34164 return NULL;
34165 }
34166
34167
34168 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34169 PyObject *resultobj;
34170 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34171 bool result;
34172 PyObject * obj0 = 0 ;
34173 char *kwnames[] = {
34174 (char *) "self", NULL
34175 };
34176
34177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34179 if (SWIG_arg_fail(1)) SWIG_fail;
34180 {
34181 PyThreadState* __tstate = wxPyBeginAllowThreads();
34182 result = (bool)(arg1)->Hide();
34183
34184 wxPyEndAllowThreads(__tstate);
34185 if (PyErr_Occurred()) SWIG_fail;
34186 }
34187 {
34188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34189 }
34190 return resultobj;
34191 fail:
34192 return NULL;
34193 }
34194
34195
34196 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34197 PyObject *resultobj;
34198 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34199 wxPoint *arg2 = 0 ;
34200 wxRect result;
34201 wxPoint temp2 ;
34202 PyObject * obj0 = 0 ;
34203 PyObject * obj1 = 0 ;
34204 char *kwnames[] = {
34205 (char *) "self",(char *) "pos", NULL
34206 };
34207
34208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34210 if (SWIG_arg_fail(1)) SWIG_fail;
34211 {
34212 arg2 = &temp2;
34213 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34214 }
34215 {
34216 PyThreadState* __tstate = wxPyBeginAllowThreads();
34217 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34218
34219 wxPyEndAllowThreads(__tstate);
34220 if (PyErr_Occurred()) SWIG_fail;
34221 }
34222 {
34223 wxRect * resultptr;
34224 resultptr = new wxRect((wxRect &)(result));
34225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34226 }
34227 return resultobj;
34228 fail:
34229 return NULL;
34230 }
34231
34232
34233 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34234 PyObject *resultobj;
34235 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34236 wxDC *arg2 = 0 ;
34237 wxPoint *arg3 = 0 ;
34238 bool result;
34239 wxPoint temp3 ;
34240 PyObject * obj0 = 0 ;
34241 PyObject * obj1 = 0 ;
34242 PyObject * obj2 = 0 ;
34243 char *kwnames[] = {
34244 (char *) "self",(char *) "dc",(char *) "pos", NULL
34245 };
34246
34247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34249 if (SWIG_arg_fail(1)) SWIG_fail;
34250 {
34251 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34252 if (SWIG_arg_fail(2)) SWIG_fail;
34253 if (arg2 == NULL) {
34254 SWIG_null_ref("wxDC");
34255 }
34256 if (SWIG_arg_fail(2)) SWIG_fail;
34257 }
34258 {
34259 arg3 = &temp3;
34260 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34261 }
34262 {
34263 PyThreadState* __tstate = wxPyBeginAllowThreads();
34264 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34265
34266 wxPyEndAllowThreads(__tstate);
34267 if (PyErr_Occurred()) SWIG_fail;
34268 }
34269 {
34270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34271 }
34272 return resultobj;
34273 fail:
34274 return NULL;
34275 }
34276
34277
34278 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34279 PyObject *resultobj;
34280 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34281 wxDC *arg2 = 0 ;
34282 wxMemoryDC *arg3 = 0 ;
34283 wxRect *arg4 = 0 ;
34284 wxRect *arg5 = 0 ;
34285 bool result;
34286 wxRect temp4 ;
34287 wxRect temp5 ;
34288 PyObject * obj0 = 0 ;
34289 PyObject * obj1 = 0 ;
34290 PyObject * obj2 = 0 ;
34291 PyObject * obj3 = 0 ;
34292 PyObject * obj4 = 0 ;
34293 char *kwnames[] = {
34294 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34295 };
34296
34297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34299 if (SWIG_arg_fail(1)) SWIG_fail;
34300 {
34301 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34302 if (SWIG_arg_fail(2)) SWIG_fail;
34303 if (arg2 == NULL) {
34304 SWIG_null_ref("wxDC");
34305 }
34306 if (SWIG_arg_fail(2)) SWIG_fail;
34307 }
34308 {
34309 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34310 if (SWIG_arg_fail(3)) SWIG_fail;
34311 if (arg3 == NULL) {
34312 SWIG_null_ref("wxMemoryDC");
34313 }
34314 if (SWIG_arg_fail(3)) SWIG_fail;
34315 }
34316 {
34317 arg4 = &temp4;
34318 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34319 }
34320 {
34321 arg5 = &temp5;
34322 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34323 }
34324 {
34325 PyThreadState* __tstate = wxPyBeginAllowThreads();
34326 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34327
34328 wxPyEndAllowThreads(__tstate);
34329 if (PyErr_Occurred()) SWIG_fail;
34330 }
34331 {
34332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34333 }
34334 return resultobj;
34335 fail:
34336 return NULL;
34337 }
34338
34339
34340 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34341 PyObject *resultobj;
34342 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34343 wxPoint *arg2 = 0 ;
34344 wxPoint *arg3 = 0 ;
34345 bool arg4 ;
34346 bool arg5 ;
34347 bool result;
34348 wxPoint temp2 ;
34349 wxPoint temp3 ;
34350 PyObject * obj0 = 0 ;
34351 PyObject * obj1 = 0 ;
34352 PyObject * obj2 = 0 ;
34353 PyObject * obj3 = 0 ;
34354 PyObject * obj4 = 0 ;
34355 char *kwnames[] = {
34356 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34357 };
34358
34359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34361 if (SWIG_arg_fail(1)) SWIG_fail;
34362 {
34363 arg2 = &temp2;
34364 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34365 }
34366 {
34367 arg3 = &temp3;
34368 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34369 }
34370 {
34371 arg4 = (bool)(SWIG_As_bool(obj3));
34372 if (SWIG_arg_fail(4)) SWIG_fail;
34373 }
34374 {
34375 arg5 = (bool)(SWIG_As_bool(obj4));
34376 if (SWIG_arg_fail(5)) SWIG_fail;
34377 }
34378 {
34379 PyThreadState* __tstate = wxPyBeginAllowThreads();
34380 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34381
34382 wxPyEndAllowThreads(__tstate);
34383 if (PyErr_Occurred()) SWIG_fail;
34384 }
34385 {
34386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34387 }
34388 return resultobj;
34389 fail:
34390 return NULL;
34391 }
34392
34393
34394 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34395 PyObject *obj;
34396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34397 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34398 Py_INCREF(obj);
34399 return Py_BuildValue((char *)"");
34400 }
34401 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34402 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34403 return 1;
34404 }
34405
34406
34407 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34408 PyObject *pyobj;
34409
34410 {
34411 #if wxUSE_UNICODE
34412 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34413 #else
34414 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34415 #endif
34416 }
34417 return pyobj;
34418 }
34419
34420
34421 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34422 PyObject *resultobj;
34423 wxWindow *arg1 = (wxWindow *) 0 ;
34424 int arg2 = (int) -1 ;
34425 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34426 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34429 wxSize const &arg5_defvalue = wxDefaultSize ;
34430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34431 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34432 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34433 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34434 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34435 wxString *arg8 = (wxString *) &arg8_defvalue ;
34436 wxDatePickerCtrl *result;
34437 wxPoint temp4 ;
34438 wxSize temp5 ;
34439 bool temp8 = false ;
34440 PyObject * obj0 = 0 ;
34441 PyObject * obj1 = 0 ;
34442 PyObject * obj2 = 0 ;
34443 PyObject * obj3 = 0 ;
34444 PyObject * obj4 = 0 ;
34445 PyObject * obj5 = 0 ;
34446 PyObject * obj6 = 0 ;
34447 PyObject * obj7 = 0 ;
34448 char *kwnames[] = {
34449 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34450 };
34451
34452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34454 if (SWIG_arg_fail(1)) SWIG_fail;
34455 if (obj1) {
34456 {
34457 arg2 = (int)(SWIG_As_int(obj1));
34458 if (SWIG_arg_fail(2)) SWIG_fail;
34459 }
34460 }
34461 if (obj2) {
34462 {
34463 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34464 if (SWIG_arg_fail(3)) SWIG_fail;
34465 if (arg3 == NULL) {
34466 SWIG_null_ref("wxDateTime");
34467 }
34468 if (SWIG_arg_fail(3)) SWIG_fail;
34469 }
34470 }
34471 if (obj3) {
34472 {
34473 arg4 = &temp4;
34474 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34475 }
34476 }
34477 if (obj4) {
34478 {
34479 arg5 = &temp5;
34480 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34481 }
34482 }
34483 if (obj5) {
34484 {
34485 arg6 = (long)(SWIG_As_long(obj5));
34486 if (SWIG_arg_fail(6)) SWIG_fail;
34487 }
34488 }
34489 if (obj6) {
34490 {
34491 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34492 if (SWIG_arg_fail(7)) SWIG_fail;
34493 if (arg7 == NULL) {
34494 SWIG_null_ref("wxValidator");
34495 }
34496 if (SWIG_arg_fail(7)) SWIG_fail;
34497 }
34498 }
34499 if (obj7) {
34500 {
34501 arg8 = wxString_in_helper(obj7);
34502 if (arg8 == NULL) SWIG_fail;
34503 temp8 = true;
34504 }
34505 }
34506 {
34507 if (!wxPyCheckForApp()) SWIG_fail;
34508 PyThreadState* __tstate = wxPyBeginAllowThreads();
34509 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34510
34511 wxPyEndAllowThreads(__tstate);
34512 if (PyErr_Occurred()) SWIG_fail;
34513 }
34514 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34515 {
34516 if (temp8)
34517 delete arg8;
34518 }
34519 return resultobj;
34520 fail:
34521 {
34522 if (temp8)
34523 delete arg8;
34524 }
34525 return NULL;
34526 }
34527
34528
34529 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34530 PyObject *resultobj;
34531 wxDatePickerCtrl *result;
34532 char *kwnames[] = {
34533 NULL
34534 };
34535
34536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34537 {
34538 if (!wxPyCheckForApp()) SWIG_fail;
34539 PyThreadState* __tstate = wxPyBeginAllowThreads();
34540 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34541
34542 wxPyEndAllowThreads(__tstate);
34543 if (PyErr_Occurred()) SWIG_fail;
34544 }
34545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34546 return resultobj;
34547 fail:
34548 return NULL;
34549 }
34550
34551
34552 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34553 PyObject *resultobj;
34554 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34555 wxWindow *arg2 = (wxWindow *) 0 ;
34556 int arg3 = (int) -1 ;
34557 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34558 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34559 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34560 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34561 wxSize const &arg6_defvalue = wxDefaultSize ;
34562 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34563 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34564 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34565 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34566 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34567 wxString *arg9 = (wxString *) &arg9_defvalue ;
34568 bool result;
34569 wxPoint temp5 ;
34570 wxSize temp6 ;
34571 bool temp9 = false ;
34572 PyObject * obj0 = 0 ;
34573 PyObject * obj1 = 0 ;
34574 PyObject * obj2 = 0 ;
34575 PyObject * obj3 = 0 ;
34576 PyObject * obj4 = 0 ;
34577 PyObject * obj5 = 0 ;
34578 PyObject * obj6 = 0 ;
34579 PyObject * obj7 = 0 ;
34580 PyObject * obj8 = 0 ;
34581 char *kwnames[] = {
34582 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34583 };
34584
34585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34587 if (SWIG_arg_fail(1)) SWIG_fail;
34588 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34589 if (SWIG_arg_fail(2)) SWIG_fail;
34590 if (obj2) {
34591 {
34592 arg3 = (int)(SWIG_As_int(obj2));
34593 if (SWIG_arg_fail(3)) SWIG_fail;
34594 }
34595 }
34596 if (obj3) {
34597 {
34598 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34599 if (SWIG_arg_fail(4)) SWIG_fail;
34600 if (arg4 == NULL) {
34601 SWIG_null_ref("wxDateTime");
34602 }
34603 if (SWIG_arg_fail(4)) SWIG_fail;
34604 }
34605 }
34606 if (obj4) {
34607 {
34608 arg5 = &temp5;
34609 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34610 }
34611 }
34612 if (obj5) {
34613 {
34614 arg6 = &temp6;
34615 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34616 }
34617 }
34618 if (obj6) {
34619 {
34620 arg7 = (long)(SWIG_As_long(obj6));
34621 if (SWIG_arg_fail(7)) SWIG_fail;
34622 }
34623 }
34624 if (obj7) {
34625 {
34626 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34627 if (SWIG_arg_fail(8)) SWIG_fail;
34628 if (arg8 == NULL) {
34629 SWIG_null_ref("wxValidator");
34630 }
34631 if (SWIG_arg_fail(8)) SWIG_fail;
34632 }
34633 }
34634 if (obj8) {
34635 {
34636 arg9 = wxString_in_helper(obj8);
34637 if (arg9 == NULL) SWIG_fail;
34638 temp9 = true;
34639 }
34640 }
34641 {
34642 PyThreadState* __tstate = wxPyBeginAllowThreads();
34643 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34644
34645 wxPyEndAllowThreads(__tstate);
34646 if (PyErr_Occurred()) SWIG_fail;
34647 }
34648 {
34649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34650 }
34651 {
34652 if (temp9)
34653 delete arg9;
34654 }
34655 return resultobj;
34656 fail:
34657 {
34658 if (temp9)
34659 delete arg9;
34660 }
34661 return NULL;
34662 }
34663
34664
34665 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34666 PyObject *resultobj;
34667 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34668 wxDateTime *arg2 = 0 ;
34669 PyObject * obj0 = 0 ;
34670 PyObject * obj1 = 0 ;
34671 char *kwnames[] = {
34672 (char *) "self",(char *) "dt", NULL
34673 };
34674
34675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34677 if (SWIG_arg_fail(1)) SWIG_fail;
34678 {
34679 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34680 if (SWIG_arg_fail(2)) SWIG_fail;
34681 if (arg2 == NULL) {
34682 SWIG_null_ref("wxDateTime");
34683 }
34684 if (SWIG_arg_fail(2)) SWIG_fail;
34685 }
34686 {
34687 PyThreadState* __tstate = wxPyBeginAllowThreads();
34688 (arg1)->SetValue((wxDateTime const &)*arg2);
34689
34690 wxPyEndAllowThreads(__tstate);
34691 if (PyErr_Occurred()) SWIG_fail;
34692 }
34693 Py_INCREF(Py_None); resultobj = Py_None;
34694 return resultobj;
34695 fail:
34696 return NULL;
34697 }
34698
34699
34700 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34701 PyObject *resultobj;
34702 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34703 wxDateTime result;
34704 PyObject * obj0 = 0 ;
34705 char *kwnames[] = {
34706 (char *) "self", NULL
34707 };
34708
34709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34711 if (SWIG_arg_fail(1)) SWIG_fail;
34712 {
34713 PyThreadState* __tstate = wxPyBeginAllowThreads();
34714 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34715
34716 wxPyEndAllowThreads(__tstate);
34717 if (PyErr_Occurred()) SWIG_fail;
34718 }
34719 {
34720 wxDateTime * resultptr;
34721 resultptr = new wxDateTime((wxDateTime &)(result));
34722 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34723 }
34724 return resultobj;
34725 fail:
34726 return NULL;
34727 }
34728
34729
34730 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34731 PyObject *resultobj;
34732 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34733 wxDateTime *arg2 = 0 ;
34734 wxDateTime *arg3 = 0 ;
34735 PyObject * obj0 = 0 ;
34736 PyObject * obj1 = 0 ;
34737 PyObject * obj2 = 0 ;
34738 char *kwnames[] = {
34739 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34740 };
34741
34742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34744 if (SWIG_arg_fail(1)) SWIG_fail;
34745 {
34746 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34747 if (SWIG_arg_fail(2)) SWIG_fail;
34748 if (arg2 == NULL) {
34749 SWIG_null_ref("wxDateTime");
34750 }
34751 if (SWIG_arg_fail(2)) SWIG_fail;
34752 }
34753 {
34754 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34755 if (SWIG_arg_fail(3)) SWIG_fail;
34756 if (arg3 == NULL) {
34757 SWIG_null_ref("wxDateTime");
34758 }
34759 if (SWIG_arg_fail(3)) SWIG_fail;
34760 }
34761 {
34762 PyThreadState* __tstate = wxPyBeginAllowThreads();
34763 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34764
34765 wxPyEndAllowThreads(__tstate);
34766 if (PyErr_Occurred()) SWIG_fail;
34767 }
34768 Py_INCREF(Py_None); resultobj = Py_None;
34769 return resultobj;
34770 fail:
34771 return NULL;
34772 }
34773
34774
34775 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34776 PyObject *resultobj;
34777 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34778 wxDateTime result;
34779 PyObject * obj0 = 0 ;
34780 char *kwnames[] = {
34781 (char *) "self", NULL
34782 };
34783
34784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34786 if (SWIG_arg_fail(1)) SWIG_fail;
34787 {
34788 PyThreadState* __tstate = wxPyBeginAllowThreads();
34789 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34790
34791 wxPyEndAllowThreads(__tstate);
34792 if (PyErr_Occurred()) SWIG_fail;
34793 }
34794 {
34795 wxDateTime * resultptr;
34796 resultptr = new wxDateTime((wxDateTime &)(result));
34797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34798 }
34799 return resultobj;
34800 fail:
34801 return NULL;
34802 }
34803
34804
34805 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34806 PyObject *resultobj;
34807 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34808 wxDateTime result;
34809 PyObject * obj0 = 0 ;
34810 char *kwnames[] = {
34811 (char *) "self", NULL
34812 };
34813
34814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
34815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34816 if (SWIG_arg_fail(1)) SWIG_fail;
34817 {
34818 PyThreadState* __tstate = wxPyBeginAllowThreads();
34819 result = wxDatePickerCtrl_GetUpperLimit(arg1);
34820
34821 wxPyEndAllowThreads(__tstate);
34822 if (PyErr_Occurred()) SWIG_fail;
34823 }
34824 {
34825 wxDateTime * resultptr;
34826 resultptr = new wxDateTime((wxDateTime &)(result));
34827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34828 }
34829 return resultobj;
34830 fail:
34831 return NULL;
34832 }
34833
34834
34835 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
34836 PyObject *obj;
34837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34838 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
34839 Py_INCREF(obj);
34840 return Py_BuildValue((char *)"");
34841 }
34842 static PyMethodDef SwigMethods[] = {
34843 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34844 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34845 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34846 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34847 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34848 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34849 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34850 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34851 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34852 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34853 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34854 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34855 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34856 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34857 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34858 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34859 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34860 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34861 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34862 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34863 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34864 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34865 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34866 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34867 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34868 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34869 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34870 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34871 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34872 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34873 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34874 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34875 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34876 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34877 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34878 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34879 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34880 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34881 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34882 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34883 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34884 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34885 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34886 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34887 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34889 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34890 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34893 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34894 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34895 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34902 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34909 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34912 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34926 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34931 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34934 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34938 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34943 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34951 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
34974 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
34982 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35013 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35069 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35074 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35086 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35099 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35111 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35115 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35133 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35140 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35166 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35174 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35196 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35202 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35213 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35215 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35221 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35223 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35230 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35232 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35237 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35242 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35272 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35317 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35323 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35335 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35387 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35414 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35485 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35497 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35505 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35512 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35529 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35605 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35627 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35632 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction) _wrap_PyControl_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35659 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35667 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35672 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35674 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35683 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35685 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35696 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35697 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35701 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35702 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
35703 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35708 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35709 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35711 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
35712 { NULL, NULL, 0, NULL }
35713 };
35714
35715
35716 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35717
35718 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35719 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35720 }
35721 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35722 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35723 }
35724 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35725 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35726 }
35727 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35728 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35729 }
35730 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35731 return (void *)((wxSizer *) ((wxGridSizer *) x));
35732 }
35733 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35734 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35735 }
35736 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35737 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35738 }
35739 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35740 return (void *)((wxSizer *) ((wxPySizer *) x));
35741 }
35742 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35743 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35744 }
35745 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35746 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35747 }
35748 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35749 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35750 }
35751 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35752 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35753 }
35754 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35755 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35756 }
35757 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35758 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35759 }
35760 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35761 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35762 }
35763 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35764 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35765 }
35766 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35767 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35768 }
35769 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35770 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35771 }
35772 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35773 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35774 }
35775 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35776 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35777 }
35778 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35779 return (void *)((wxEvent *) ((wxPyEvent *) x));
35780 }
35781 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35782 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35783 }
35784 static void *_p_wxListEventTo_p_wxEvent(void *x) {
35785 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35786 }
35787 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
35788 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
35789 }
35790 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
35791 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
35792 }
35793 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
35794 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35795 }
35796 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35797 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35798 }
35799 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35800 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35801 }
35802 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35803 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35804 }
35805 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35806 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35807 }
35808 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35809 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35810 }
35811 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35812 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35813 }
35814 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35815 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35816 }
35817 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35818 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35819 }
35820 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35821 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35822 }
35823 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
35824 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
35825 }
35826 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35827 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35828 }
35829 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35830 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35831 }
35832 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35833 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35834 }
35835 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35836 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35837 }
35838 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35839 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35840 }
35841 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35842 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35843 }
35844 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35845 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35846 }
35847 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35848 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35849 }
35850 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35851 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35852 }
35853 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35854 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35855 }
35856 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35857 return (void *)((wxEvent *) ((wxShowEvent *) x));
35858 }
35859 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35860 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35861 }
35862 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35863 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35864 }
35865 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35866 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35867 }
35868 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35869 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35870 }
35871 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35872 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35873 }
35874 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35875 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35876 }
35877 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35878 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35879 }
35880 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35881 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35882 }
35883 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35884 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35885 }
35886 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35887 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35888 }
35889 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35890 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35891 }
35892 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35893 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35894 }
35895 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35896 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35897 }
35898 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35899 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35900 }
35901 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35902 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
35903 }
35904 static void *_p_wxToolBarTo_p_wxControl(void *x) {
35905 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35906 }
35907 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35908 return (void *)((wxControl *) ((wxToggleButton *) x));
35909 }
35910 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35911 return (void *)((wxControl *) ((wxRadioButton *) x));
35912 }
35913 static void *_p_wxPyControlTo_p_wxControl(void *x) {
35914 return (void *)((wxControl *) ((wxPyControl *) x));
35915 }
35916 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35917 return (void *)((wxControl *) ((wxToolBarBase *) x));
35918 }
35919 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35920 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35921 }
35922 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35923 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35924 }
35925 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35926 return (void *)((wxControl *) ((wxComboBox *) x));
35927 }
35928 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35929 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
35930 }
35931 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35932 return (void *)((wxControl *) ((wxScrollBar *) x));
35933 }
35934 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35935 return (void *)((wxControl *) ((wxControlWithItems *) x));
35936 }
35937 static void *_p_wxGaugeTo_p_wxControl(void *x) {
35938 return (void *)((wxControl *) ((wxGauge *) x));
35939 }
35940 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35941 return (void *)((wxControl *) ((wxStaticLine *) x));
35942 }
35943 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
35944 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
35945 }
35946 static void *_p_wxListbookTo_p_wxControl(void *x) {
35947 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
35948 }
35949 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35950 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
35951 }
35952 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35953 return (void *)((wxControl *) ((wxCheckBox *) x));
35954 }
35955 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
35956 return (void *)((wxControl *) ((wxRadioBox *) x));
35957 }
35958 static void *_p_wxChoiceTo_p_wxControl(void *x) {
35959 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
35960 }
35961 static void *_p_wxListBoxTo_p_wxControl(void *x) {
35962 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
35963 }
35964 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
35965 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35966 }
35967 static void *_p_wxListViewTo_p_wxControl(void *x) {
35968 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
35969 }
35970 static void *_p_wxNotebookTo_p_wxControl(void *x) {
35971 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
35972 }
35973 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
35974 return (void *)((wxControl *) ((wxStaticBitmap *) x));
35975 }
35976 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
35977 return (void *)((wxControl *) ((wxSpinCtrl *) x));
35978 }
35979 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
35980 return (void *)((wxControl *) ((wxStaticText *) x));
35981 }
35982 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
35983 return (void *)((wxControl *) ((wxStaticBox *) x));
35984 }
35985 static void *_p_wxSliderTo_p_wxControl(void *x) {
35986 return (void *)((wxControl *) ((wxSlider *) x));
35987 }
35988 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
35989 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
35990 }
35991 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
35992 return (void *)((wxControl *) ((wxSpinButton *) x));
35993 }
35994 static void *_p_wxButtonTo_p_wxControl(void *x) {
35995 return (void *)((wxControl *) ((wxButton *) x));
35996 }
35997 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
35998 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
35999 }
36000 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36001 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36002 }
36003 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36004 return (void *)((wxControl *) ((wxTextCtrl *) x));
36005 }
36006 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36007 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36008 }
36009 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36010 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36011 }
36012 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36013 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36014 }
36015 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36016 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36017 }
36018 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36019 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36020 }
36021 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36022 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36023 }
36024 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
36025 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36026 }
36027 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
36028 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36029 }
36030 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
36031 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36032 }
36033 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36034 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36035 }
36036 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36037 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
36038 }
36039 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36040 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
36041 }
36042 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36043 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36044 }
36045 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36046 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36047 }
36048 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36049 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36050 }
36051 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36052 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36053 }
36054 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36055 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36056 }
36057 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36058 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36059 }
36060 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36061 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36062 }
36063 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36064 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36065 }
36066 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36067 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36068 }
36069 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36070 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36071 }
36072 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36073 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36074 }
36075 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36076 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
36077 }
36078 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36079 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36080 }
36081 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36082 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36083 }
36084 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36085 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36086 }
36087 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36088 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36089 }
36090 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36091 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36092 }
36093 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36094 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36095 }
36096 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36097 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36098 }
36099 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36100 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36101 }
36102 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36103 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36104 }
36105 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
36106 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36107 }
36108 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
36109 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36110 }
36111 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36112 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36113 }
36114 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36115 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36116 }
36117 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36118 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36119 }
36120 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36121 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36122 }
36123 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36124 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36125 }
36126 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36127 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36128 }
36129 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
36130 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36131 }
36132 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36133 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36134 }
36135 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36136 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36137 }
36138 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36139 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36140 }
36141 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36142 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36143 }
36144 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36145 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36146 }
36147 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36148 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36149 }
36150 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36151 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36152 }
36153 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36154 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36155 }
36156 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36157 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36158 }
36159 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36160 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36161 }
36162 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36163 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36164 }
36165 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36166 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36167 }
36168 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36169 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36170 }
36171 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36172 return (void *)((wxButton *) ((wxBitmapButton *) x));
36173 }
36174 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36175 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36176 }
36177 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36178 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36179 }
36180 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36181 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36182 }
36183 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36184 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36185 }
36186 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36187 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36188 }
36189 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36190 return (void *)((wxObject *) ((wxSizerItem *) x));
36191 }
36192 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36193 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36194 }
36195 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36196 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36197 }
36198 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36199 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36200 }
36201 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36202 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36203 }
36204 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36205 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36206 }
36207 static void *_p_wxSizerTo_p_wxObject(void *x) {
36208 return (void *)((wxObject *) ((wxSizer *) x));
36209 }
36210 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36211 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36212 }
36213 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36215 }
36216 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36218 }
36219 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36220 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36221 }
36222 static void *_p_wxEventTo_p_wxObject(void *x) {
36223 return (void *)((wxObject *) ((wxEvent *) x));
36224 }
36225 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36226 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36227 }
36228 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36229 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36230 }
36231 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36232 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36233 }
36234 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36236 }
36237 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36239 }
36240 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36242 }
36243 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36244 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36245 }
36246 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36247 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36248 }
36249 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36250 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36251 }
36252 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36253 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36254 }
36255 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36256 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36257 }
36258 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36259 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36260 }
36261 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36263 }
36264 static void *_p_wxControlTo_p_wxObject(void *x) {
36265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36266 }
36267 static void *_p_wxPyControlTo_p_wxObject(void *x) {
36268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36269 }
36270 static void *_p_wxGaugeTo_p_wxObject(void *x) {
36271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36272 }
36273 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36275 }
36276 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36278 }
36279 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36281 }
36282 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36283 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36284 }
36285 static void *_p_wxChoiceTo_p_wxObject(void *x) {
36286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36287 }
36288 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36289 return (void *)((wxObject *) ((wxFSFile *) x));
36290 }
36291 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36292 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36293 }
36294 static void *_p_wxListViewTo_p_wxObject(void *x) {
36295 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36296 }
36297 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36299 }
36300 static void *_p_wxNotebookTo_p_wxObject(void *x) {
36301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36302 }
36303 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36304 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36305 }
36306 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36307 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36308 }
36309 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
36310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36311 }
36312 static void *_p_wxListbookTo_p_wxObject(void *x) {
36313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36314 }
36315 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36316 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36317 }
36318 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36320 }
36321 static void *_p_wxSliderTo_p_wxObject(void *x) {
36322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36323 }
36324 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36325 return (void *)((wxObject *) ((wxMenuItem *) x));
36326 }
36327 static void *_p_wxDateEventTo_p_wxObject(void *x) {
36328 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36329 }
36330 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36331 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36332 }
36333 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36334 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36335 }
36336 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36337 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36338 }
36339 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36340 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36341 }
36342 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36343 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36344 }
36345 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36346 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36347 }
36348 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36349 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36350 }
36351 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36352 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36353 }
36354 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36356 }
36357 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36358 return (void *)((wxObject *) ((wxContextHelp *) x));
36359 }
36360 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36362 }
36363 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36364 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36365 }
36366 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36367 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36368 }
36369 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36370 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36371 }
36372 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36373 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36374 }
36375 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36376 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36377 }
36378 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36379 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36380 }
36381 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36382 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36383 }
36384 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36385 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36386 }
36387 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36388 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36389 }
36390 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36391 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36392 }
36393 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36394 return (void *)((wxObject *) ((wxImageHandler *) x));
36395 }
36396 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36397 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36398 }
36399 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36400 return (void *)((wxObject *) ((wxEvtHandler *) x));
36401 }
36402 static void *_p_wxListEventTo_p_wxObject(void *x) {
36403 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36404 }
36405 static void *_p_wxListBoxTo_p_wxObject(void *x) {
36406 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36407 }
36408 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36410 }
36411 static void *_p_wxButtonTo_p_wxObject(void *x) {
36412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36413 }
36414 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36415 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36416 }
36417 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36418 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36419 }
36420 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36422 }
36423 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36424 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36425 }
36426 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36427 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36428 }
36429 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36431 }
36432 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36433 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36434 }
36435 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
36437 }
36438 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36439 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36440 }
36441 static void *_p_wxListItemTo_p_wxObject(void *x) {
36442 return (void *)((wxObject *) ((wxListItem *) x));
36443 }
36444 static void *_p_wxImageTo_p_wxObject(void *x) {
36445 return (void *)((wxObject *) ((wxImage *) x));
36446 }
36447 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36448 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36449 }
36450 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36451 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36452 }
36453 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36454 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36455 }
36456 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36457 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36458 }
36459 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36461 }
36462 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
36463 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36464 }
36465 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
36466 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36467 }
36468 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
36469 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36470 }
36471 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36472 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36473 }
36474 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36475 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36476 }
36477 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36478 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36479 }
36480 static void *_p_wxWindowTo_p_wxObject(void *x) {
36481 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36482 }
36483 static void *_p_wxMenuTo_p_wxObject(void *x) {
36484 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36485 }
36486 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36488 }
36489 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36490 return (void *)((wxObject *) ((wxFileSystem *) x));
36491 }
36492 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36493 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36494 }
36495 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36496 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36497 }
36498 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36499 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36500 }
36501 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36502 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36503 }
36504 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36505 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36506 }
36507 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36508 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36509 }
36510 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36511 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36512 }
36513 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36514 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36515 }
36516 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36517 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36518 }
36519 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36520 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36521 }
36522 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36524 }
36525 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36526 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36527 }
36528 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36529 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36530 }
36531 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36532 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36533 }
36534 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36536 }
36537 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36539 }
36540 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36541 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36542 }
36543 static void *_p_wxToolBarTo_p_wxObject(void *x) {
36544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36545 }
36546 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36547 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36548 }
36549 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36550 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36551 }
36552 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36553 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36554 }
36555 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36556 return (void *)((wxWindow *) ((wxMenuBar *) x));
36557 }
36558 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36559 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36560 }
36561 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36562 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36563 }
36564 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36565 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36566 }
36567 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36568 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36569 }
36570 static void *_p_wxControlTo_p_wxWindow(void *x) {
36571 return (void *)((wxWindow *) ((wxControl *) x));
36572 }
36573 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36574 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36575 }
36576 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36577 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36578 }
36579 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36580 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36581 }
36582 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36583 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36584 }
36585 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36586 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36587 }
36588 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36589 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36590 }
36591 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36592 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36593 }
36594 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36595 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36596 }
36597 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36598 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36599 }
36600 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36601 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36602 }
36603 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36604 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36605 }
36606 static void *_p_wxListbookTo_p_wxWindow(void *x) {
36607 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36608 }
36609 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36610 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36611 }
36612 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36613 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36614 }
36615 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36616 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36617 }
36618 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36619 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36620 }
36621 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36622 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36623 }
36624 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36625 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36626 }
36627 static void *_p_wxListViewTo_p_wxWindow(void *x) {
36628 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36629 }
36630 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36631 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36632 }
36633 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36634 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36635 }
36636 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36637 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36638 }
36639 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36640 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36641 }
36642 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36643 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36644 }
36645 static void *_p_wxSliderTo_p_wxWindow(void *x) {
36646 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36647 }
36648 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36649 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36650 }
36651 static void *_p_wxButtonTo_p_wxWindow(void *x) {
36652 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36653 }
36654 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36655 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36656 }
36657 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36658 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36659 }
36660 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36661 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36662 }
36663 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36664 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36665 }
36666 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36667 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36668 }
36669 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36670 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36671 }
36672 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36673 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36674 }
36675 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36676 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36677 }
36678 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36679 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36680 }
36681 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36682 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36683 }
36684 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36685 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36686 }
36687 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36688 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36689 }
36690 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36691 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36692 }
36693 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
36694 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36695 }
36696 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
36697 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36698 }
36699 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36700 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36701 }
36702 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36703 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36704 }
36705 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36706 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36707 }
36708 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36709 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36710 }
36711 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36712 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36713 }
36714 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36715 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36716 }
36717 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36718 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36719 }
36720 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36721 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36722 }
36723 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36724 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36725 }
36726 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36727 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36728 }
36729 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36730 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36731 }
36732 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36733 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36734 }
36735 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36736 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36737 }
36738 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36739 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36740 }
36741 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36742 return (void *)((wxValidator *) ((wxPyValidator *) x));
36743 }
36744 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}};
36745 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}};
36746 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}};
36747 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}};
36748 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}};
36749 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}};
36750 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}};
36751 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}};
36752 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}};
36753 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}};
36754 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}};
36755 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}};
36756 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}};
36757 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}};
36758 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}};
36759 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}};
36760 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}};
36761 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}};
36762 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}};
36763 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}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36769 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}};
36770 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}};
36771 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}};
36772 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}};
36773 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}};
36774 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}};
36775 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}};
36776 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}};
36777 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}};
36778 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}};
36779 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}};
36780 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}};
36781 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}};
36782 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}};
36783 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}};
36784 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}};
36785 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}};
36786 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}};
36787 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}};
36788 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}};
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 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}};
36816 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}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36823 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}};
36824 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}};
36825 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}};
36826 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}};
36827 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}};
36828 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}};
36829 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}};
36830 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}};
36831 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}};
36832 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}};
36833 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}};
36834 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}};
36835 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}};
36836 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}};
36837 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}};
36838 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}};
36839 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}};
36840 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}};
36841 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}};
36842
36843 static swig_type_info *swig_types_initial[] = {
36844 _swigt__p_wxTextUrlEvent,
36845 _swigt__p_wxSizer,
36846 _swigt__p_wxCheckBox,
36847 _swigt__p_wxPyTreeCtrl,
36848 _swigt__p_wxEvent,
36849 _swigt__p_wxGenericDirCtrl,
36850 _swigt__p_bool,
36851 _swigt__p_wxItemContainer,
36852 _swigt__p_wxPyListCtrl,
36853 _swigt__p_wxPyTreeItemData,
36854 _swigt__p_wxDirFilterListCtrl,
36855 _swigt__p_wxStaticLine,
36856 _swigt__p_wxControl,
36857 _swigt__p_wxPyControl,
36858 _swigt__p_wxGauge,
36859 _swigt__p_wxToolBarBase,
36860 _swigt__p_wxFont,
36861 _swigt__p_wxToggleButton,
36862 _swigt__p_wxRadioButton,
36863 _swigt__p_wxChoice,
36864 _swigt__p_wxMemoryDC,
36865 _swigt__ptrdiff_t,
36866 _swigt__std__ptrdiff_t,
36867 _swigt__p_wxListItemAttr,
36868 _swigt__p_void,
36869 _swigt__p_int,
36870 _swigt__p_wxSize,
36871 _swigt__p_wxDC,
36872 _swigt__p_wxListView,
36873 _swigt__p_wxIcon,
36874 _swigt__p_wxVisualAttributes,
36875 _swigt__p_wxTextCtrl,
36876 _swigt__p_wxNotebook,
36877 _swigt__p_wxChoicebook,
36878 _swigt__p_wxNotifyEvent,
36879 _swigt__p_wxArrayString,
36880 _swigt__p_form_ops_t,
36881 _swigt__p_wxListbook,
36882 _swigt__p_wxStaticBitmap,
36883 _swigt__p_wxSlider,
36884 _swigt__p_wxStaticBox,
36885 _swigt__p_wxArrayInt,
36886 _swigt__p_wxContextHelp,
36887 _swigt__p_long,
36888 _swigt__p_wxDuplexMode,
36889 _swigt__p_wxBookCtrlBase,
36890 _swigt__p_wxEvtHandler,
36891 _swigt__p_wxListEvent,
36892 _swigt__p_wxCheckListBox,
36893 _swigt__p_wxListBox,
36894 _swigt__p_wxSpinButton,
36895 _swigt__p_wxButton,
36896 _swigt__p_wxBitmapButton,
36897 _swigt__p_wxRect,
36898 _swigt__p_wxContextHelpButton,
36899 _swigt__p_wxRadioBox,
36900 _swigt__p_wxScrollBar,
36901 _swigt__p_char,
36902 _swigt__p_wxComboBox,
36903 _swigt__p_wxTreeItemId,
36904 _swigt__p_wxHelpEvent,
36905 _swigt__p_wxListItem,
36906 _swigt__p_wxNotebookSizer,
36907 _swigt__p_wxSpinEvent,
36908 _swigt__p_wxGenericDragImage,
36909 _swigt__p_wxSpinCtrl,
36910 _swigt__p_wxPaperSize,
36911 _swigt__p_wxImageList,
36912 _swigt__p_wxHelpProvider,
36913 _swigt__p_wxTextAttr,
36914 _swigt__p_wxSimpleHelpProvider,
36915 _swigt__p_wxChoicebookEvent,
36916 _swigt__p_wxListbookEvent,
36917 _swigt__p_wxNotebookEvent,
36918 _swigt__p_wxPoint,
36919 _swigt__p_wxObject,
36920 _swigt__p_wxCursor,
36921 _swigt__p_wxDateTime,
36922 _swigt__p_wxKeyEvent,
36923 _swigt__p_unsigned_long,
36924 _swigt__p_wxWindow,
36925 _swigt__p_wxString,
36926 _swigt__p_wxBitmap,
36927 _swigt__unsigned_int,
36928 _swigt__p_unsigned_int,
36929 _swigt__p_unsigned_char,
36930 _swigt__p_wxMouseEvent,
36931 _swigt__p_wxBookCtrlBaseEvent,
36932 _swigt__p_wxTreeEvent,
36933 _swigt__p_wxCommandEvent,
36934 _swigt__p_wxStaticText,
36935 _swigt__p_wxDatePickerCtrl,
36936 _swigt__p_wxControlWithItems,
36937 _swigt__p_wxToolBarToolBase,
36938 _swigt__p_wxColour,
36939 _swigt__p_wxToolBar,
36940 _swigt__p_wxBookCtrlSizer,
36941 _swigt__p_wxValidator,
36942 0
36943 };
36944
36945
36946 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36947
36948 static swig_const_info swig_const_table[] = {
36949 {0, 0, 0, 0.0, 0, 0}};
36950
36951 #ifdef __cplusplus
36952 }
36953 #endif
36954
36955
36956 #ifdef __cplusplus
36957 extern "C" {
36958 #endif
36959
36960 /* Python-specific SWIG API */
36961 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36962 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36963 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36964
36965 /* -----------------------------------------------------------------------------
36966 * global variable support code.
36967 * ----------------------------------------------------------------------------- */
36968
36969 typedef struct swig_globalvar {
36970 char *name; /* Name of global variable */
36971 PyObject *(*get_attr)(); /* Return the current value */
36972 int (*set_attr)(PyObject *); /* Set the value */
36973 struct swig_globalvar *next;
36974 } swig_globalvar;
36975
36976 typedef struct swig_varlinkobject {
36977 PyObject_HEAD
36978 swig_globalvar *vars;
36979 } swig_varlinkobject;
36980
36981 static PyObject *
36982 swig_varlink_repr(swig_varlinkobject *v) {
36983 v = v;
36984 return PyString_FromString("<Swig global variables>");
36985 }
36986
36987 static int
36988 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
36989 swig_globalvar *var;
36990 flags = flags;
36991 fprintf(fp,"Swig global variables { ");
36992 for (var = v->vars; var; var=var->next) {
36993 fprintf(fp,"%s", var->name);
36994 if (var->next) fprintf(fp,", ");
36995 }
36996 fprintf(fp," }\n");
36997 return 0;
36998 }
36999
37000 static PyObject *
37001 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37002 swig_globalvar *var = v->vars;
37003 while (var) {
37004 if (strcmp(var->name,n) == 0) {
37005 return (*var->get_attr)();
37006 }
37007 var = var->next;
37008 }
37009 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37010 return NULL;
37011 }
37012
37013 static int
37014 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37015 swig_globalvar *var = v->vars;
37016 while (var) {
37017 if (strcmp(var->name,n) == 0) {
37018 return (*var->set_attr)(p);
37019 }
37020 var = var->next;
37021 }
37022 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37023 return 1;
37024 }
37025
37026 static PyTypeObject varlinktype = {
37027 PyObject_HEAD_INIT(0)
37028 0, /* Number of items in variable part (ob_size) */
37029 (char *)"swigvarlink", /* Type name (tp_name) */
37030 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37031 0, /* Itemsize (tp_itemsize) */
37032 0, /* Deallocator (tp_dealloc) */
37033 (printfunc) swig_varlink_print, /* Print (tp_print) */
37034 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37035 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37036 0, /* tp_compare */
37037 (reprfunc) swig_varlink_repr, /* tp_repr */
37038 0, /* tp_as_number */
37039 0, /* tp_as_sequence */
37040 0, /* tp_as_mapping */
37041 0, /* tp_hash */
37042 0, /* tp_call */
37043 0, /* tp_str */
37044 0, /* tp_getattro */
37045 0, /* tp_setattro */
37046 0, /* tp_as_buffer */
37047 0, /* tp_flags */
37048 0, /* tp_doc */
37049 #if PY_VERSION_HEX >= 0x02000000
37050 0, /* tp_traverse */
37051 0, /* tp_clear */
37052 #endif
37053 #if PY_VERSION_HEX >= 0x02010000
37054 0, /* tp_richcompare */
37055 0, /* tp_weaklistoffset */
37056 #endif
37057 #if PY_VERSION_HEX >= 0x02020000
37058 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37059 #endif
37060 #if PY_VERSION_HEX >= 0x02030000
37061 0, /* tp_del */
37062 #endif
37063 #ifdef COUNT_ALLOCS
37064 0,0,0,0 /* tp_alloc -> tp_next */
37065 #endif
37066 };
37067
37068 /* Create a variable linking object for use later */
37069 static PyObject *
37070 SWIG_Python_newvarlink(void) {
37071 swig_varlinkobject *result = 0;
37072 result = PyMem_NEW(swig_varlinkobject,1);
37073 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37074 result->ob_type = &varlinktype;
37075 result->vars = 0;
37076 result->ob_refcnt = 0;
37077 Py_XINCREF((PyObject *) result);
37078 return ((PyObject*) result);
37079 }
37080
37081 static void
37082 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37083 swig_varlinkobject *v;
37084 swig_globalvar *gv;
37085 v= (swig_varlinkobject *) p;
37086 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37087 gv->name = (char *) malloc(strlen(name)+1);
37088 strcpy(gv->name,name);
37089 gv->get_attr = get_attr;
37090 gv->set_attr = set_attr;
37091 gv->next = v->vars;
37092 v->vars = gv;
37093 }
37094
37095 /* -----------------------------------------------------------------------------
37096 * constants/methods manipulation
37097 * ----------------------------------------------------------------------------- */
37098
37099 /* Install Constants */
37100 static void
37101 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37102 PyObject *obj = 0;
37103 size_t i;
37104 for (i = 0; constants[i].type; i++) {
37105 switch(constants[i].type) {
37106 case SWIG_PY_INT:
37107 obj = PyInt_FromLong(constants[i].lvalue);
37108 break;
37109 case SWIG_PY_FLOAT:
37110 obj = PyFloat_FromDouble(constants[i].dvalue);
37111 break;
37112 case SWIG_PY_STRING:
37113 if (constants[i].pvalue) {
37114 obj = PyString_FromString((char *) constants[i].pvalue);
37115 } else {
37116 Py_INCREF(Py_None);
37117 obj = Py_None;
37118 }
37119 break;
37120 case SWIG_PY_POINTER:
37121 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37122 break;
37123 case SWIG_PY_BINARY:
37124 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37125 break;
37126 default:
37127 obj = 0;
37128 break;
37129 }
37130 if (obj) {
37131 PyDict_SetItemString(d,constants[i].name,obj);
37132 Py_DECREF(obj);
37133 }
37134 }
37135 }
37136
37137 /* -----------------------------------------------------------------------------*/
37138 /* Fix SwigMethods to carry the callback ptrs when needed */
37139 /* -----------------------------------------------------------------------------*/
37140
37141 static void
37142 SWIG_Python_FixMethods(PyMethodDef *methods,
37143 swig_const_info *const_table,
37144 swig_type_info **types,
37145 swig_type_info **types_initial) {
37146 size_t i;
37147 for (i = 0; methods[i].ml_name; ++i) {
37148 char *c = methods[i].ml_doc;
37149 if (c && (c = strstr(c, "swig_ptr: "))) {
37150 int j;
37151 swig_const_info *ci = 0;
37152 char *name = c + 10;
37153 for (j = 0; const_table[j].type; j++) {
37154 if (strncmp(const_table[j].name, name,
37155 strlen(const_table[j].name)) == 0) {
37156 ci = &(const_table[j]);
37157 break;
37158 }
37159 }
37160 if (ci) {
37161 size_t shift = (ci->ptype) - types;
37162 swig_type_info *ty = types_initial[shift];
37163 size_t ldoc = (c - methods[i].ml_doc);
37164 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37165 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37166 char *buff = ndoc;
37167 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37168 strncpy(buff, methods[i].ml_doc, ldoc);
37169 buff += ldoc;
37170 strncpy(buff, "swig_ptr: ", 10);
37171 buff += 10;
37172 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37173 methods[i].ml_doc = ndoc;
37174 }
37175 }
37176 }
37177 }
37178
37179 /* -----------------------------------------------------------------------------*
37180 * Initialize type list
37181 * -----------------------------------------------------------------------------*/
37182
37183 #if PY_MAJOR_VERSION < 2
37184 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37185 is copied out of Python/modsupport.c in python version 2.3.4 */
37186 static int
37187 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37188 {
37189 PyObject *dict;
37190 if (!PyModule_Check(m)) {
37191 PyErr_SetString(PyExc_TypeError,
37192 "PyModule_AddObject() needs module as first arg");
37193 return -1;
37194 }
37195 if (!o) {
37196 PyErr_SetString(PyExc_TypeError,
37197 "PyModule_AddObject() needs non-NULL value");
37198 return -1;
37199 }
37200
37201 dict = PyModule_GetDict(m);
37202 if (dict == NULL) {
37203 /* Internal error -- modules must have a dict! */
37204 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37205 PyModule_GetName(m));
37206 return -1;
37207 }
37208 if (PyDict_SetItemString(dict, name, o))
37209 return -1;
37210 Py_DECREF(o);
37211 return 0;
37212 }
37213 #endif
37214
37215 static swig_type_info **
37216 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37217 static PyMethodDef swig_empty_runtime_method_table[] = {
37218 {
37219 NULL, NULL, 0, NULL
37220 }
37221 };/* Sentinel */
37222
37223 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37224 swig_empty_runtime_method_table);
37225 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37226 if (pointer && module) {
37227 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37228 }
37229 return type_list_handle;
37230 }
37231
37232 static swig_type_info **
37233 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37234 swig_type_info **type_pointer;
37235
37236 /* first check if module already created */
37237 type_pointer = SWIG_Python_GetTypeListHandle();
37238 if (type_pointer) {
37239 return type_pointer;
37240 } else {
37241 /* create a new module and variable */
37242 return SWIG_Python_SetTypeListHandle(type_list_handle);
37243 }
37244 }
37245
37246 #ifdef __cplusplus
37247 }
37248 #endif
37249
37250 /* -----------------------------------------------------------------------------*
37251 * Partial Init method
37252 * -----------------------------------------------------------------------------*/
37253
37254 #ifdef SWIG_LINK_RUNTIME
37255 #ifdef __cplusplus
37256 extern "C"
37257 #endif
37258 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37259 #endif
37260
37261 #ifdef __cplusplus
37262 extern "C"
37263 #endif
37264 SWIGEXPORT(void) SWIG_init(void) {
37265 static PyObject *SWIG_globals = 0;
37266 static int typeinit = 0;
37267 PyObject *m, *d;
37268 int i;
37269 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37270
37271 /* Fix SwigMethods to carry the callback ptrs when needed */
37272 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37273
37274 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37275 d = PyModule_GetDict(m);
37276
37277 if (!typeinit) {
37278 #ifdef SWIG_LINK_RUNTIME
37279 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37280 #else
37281 # ifndef SWIG_STATIC_RUNTIME
37282 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37283 # endif
37284 #endif
37285 for (i = 0; swig_types_initial[i]; i++) {
37286 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37287 }
37288 typeinit = 1;
37289 }
37290 SWIG_InstallConstants(d,swig_const_table);
37291
37292 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37293 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
37294 {
37295 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37296 }
37297 {
37298 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37299 }
37300 {
37301 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37302 }
37303 {
37304 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37305 }
37306 {
37307 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37308 }
37309 {
37310 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37311 }
37312 {
37313 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37314 }
37315 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
37316 {
37317 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37318 }
37319 {
37320 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37321 }
37322 {
37323 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37324 }
37325 {
37326 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37327 }
37328 {
37329 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37330 }
37331 {
37332 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37333 }
37334 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37335 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37336 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
37337 {
37338 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37339 }
37340 {
37341 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37342 }
37343 {
37344 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37345 }
37346 {
37347 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37348 }
37349 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37350 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37351 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37352 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37353 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
37354 {
37355 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37356 }
37357 {
37358 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37359 }
37360 {
37361 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37362 }
37363 {
37364 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37365 }
37366 {
37367 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37368 }
37369 {
37370 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37371 }
37372 {
37373 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37374 }
37375 {
37376 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37377 }
37378 {
37379 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37380 }
37381 {
37382 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37383 }
37384 {
37385 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37386 }
37387 {
37388 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37389 }
37390 {
37391 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37392 }
37393 {
37394 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37395 }
37396 {
37397 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37398 }
37399 {
37400 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
37401 }
37402 {
37403 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37404 }
37405 {
37406 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37407 }
37408 {
37409 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37410 }
37411 {
37412 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37413 }
37414 {
37415 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37416 }
37417 {
37418 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37419 }
37420 {
37421 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37422 }
37423 {
37424 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37425 }
37426 {
37427 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37428 }
37429 {
37430 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37431 }
37432 {
37433 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37434 }
37435 {
37436 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37437 }
37438 {
37439 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37440 }
37441 {
37442 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37443 }
37444 {
37445 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37446 }
37447 {
37448 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37449 }
37450 {
37451 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37452 }
37453 {
37454 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37455 }
37456 {
37457 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37458 }
37459 {
37460 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37461 }
37462 {
37463 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37464 }
37465 {
37466 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37467 }
37468 {
37469 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37470 }
37471 {
37472 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37473 }
37474 {
37475 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37476 }
37477 {
37478 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37479 }
37480 {
37481 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37482 }
37483 {
37484 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37485 }
37486 {
37487 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37488 }
37489 {
37490 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37491 }
37492 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37493 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37494 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37495 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37496 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37497 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37498 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
37499 {
37500 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37501 }
37502 {
37503 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37504 }
37505 {
37506 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37507 }
37508 {
37509 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37510 }
37511 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37512 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37513 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37514 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37515 {
37516 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37517 }
37518 {
37519 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37520 }
37521 {
37522 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
37523 }
37524 {
37525 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37526 }
37527 {
37528 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37529 }
37530 {
37531 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37532 }
37533 {
37534 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37535 }
37536 {
37537 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37538 }
37539 {
37540 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37541 }
37542 {
37543 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37544 }
37545 {
37546 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37547 }
37548 {
37549 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37550 }
37551 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37552 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
37553 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
37554 {
37555 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37556 }
37557 {
37558 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37559 }
37560 {
37561 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37562 }
37563 {
37564 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37565 }
37566 {
37567 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37568 }
37569 {
37570 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37571 }
37572 {
37573 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37574 }
37575 {
37576 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37577 }
37578 {
37579 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37580 }
37581 {
37582 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37583 }
37584 {
37585 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37586 }
37587 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37588 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
37589 {
37590 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37591 }
37592 {
37593 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37594 }
37595 {
37596 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37597 }
37598 {
37599 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37600 }
37601 {
37602 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37603 }
37604 {
37605 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37606 }
37607 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37608 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
37609 {
37610 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37611 }
37612 {
37613 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37614 }
37615 {
37616 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37617 }
37618 {
37619 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37620 }
37621 {
37622 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37623 }
37624 {
37625 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37626 }
37627 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37628 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
37629 {
37630 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37631 }
37632 {
37633 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37634 }
37635 {
37636 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37637 }
37638 {
37639 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37640 }
37641 {
37642 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37643 }
37644 {
37645 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37646 }
37647 {
37648 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37649 }
37650 {
37651 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37652 }
37653 {
37654 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37655 }
37656 {
37657 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37658 }
37659 {
37660 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37661 }
37662 {
37663 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37664 }
37665 {
37666 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37667 }
37668 {
37669 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37670 }
37671 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
37672 {
37673 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37674 }
37675 {
37676 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37677 }
37678 {
37679 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37680 }
37681 {
37682 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37683 }
37684 {
37685 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37686 }
37687 {
37688 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37689 }
37690 {
37691 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37692 }
37693 {
37694 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37695 }
37696 {
37697 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37698 }
37699 {
37700 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37701 }
37702 {
37703 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37704 }
37705 {
37706 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37707 }
37708 {
37709 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37710 }
37711 {
37712 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37713 }
37714 {
37715 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37716 }
37717 {
37718 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37719 }
37720 {
37721 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37722 }
37723 {
37724 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37725 }
37726 {
37727 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37728 }
37729 {
37730 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37731 }
37732 {
37733 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37734 }
37735 {
37736 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37737 }
37738 {
37739 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37740 }
37741 {
37742 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37743 }
37744 {
37745 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37746 }
37747 {
37748 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37749 }
37750 {
37751 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37752 }
37753 {
37754 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37755 }
37756 {
37757 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37758 }
37759 {
37760 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37761 }
37762 {
37763 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37764 }
37765 {
37766 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37767 }
37768 {
37769 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37770 }
37771 {
37772 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37773 }
37774 {
37775 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37776 }
37777 {
37778 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37779 }
37780 {
37781 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37782 }
37783 {
37784 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37785 }
37786 {
37787 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37788 }
37789 {
37790 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37791 }
37792 {
37793 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37794 }
37795 {
37796 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37797 }
37798 {
37799 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37800 }
37801 {
37802 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37803 }
37804 {
37805 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37806 }
37807 {
37808 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37809 }
37810 {
37811 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37812 }
37813 {
37814 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37815 }
37816 {
37817 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37818 }
37819 {
37820 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37821 }
37822 {
37823 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37824 }
37825 {
37826 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37827 }
37828 {
37829 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37830 }
37831 {
37832 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37833 }
37834 {
37835 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37836 }
37837 {
37838 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37839 }
37840 {
37841 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37842 }
37843 {
37844 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37845 }
37846 {
37847 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37848 }
37849 {
37850 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37851 }
37852 {
37853 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37854 }
37855 {
37856 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37857 }
37858 {
37859 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37860 }
37861 {
37862 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37863 }
37864 {
37865 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37866 }
37867 {
37868 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37869 }
37870 {
37871 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37872 }
37873 {
37874 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37875 }
37876 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37877 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37878 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37879 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37880 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37881 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
37882 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37883 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37884 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37885 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37886 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37887 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37888 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37889 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37890 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37891 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37892 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37893 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37894 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37895 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
37896 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37897 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
37898
37899 // Map renamed classes back to their common name for OOR
37900 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37901
37902 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
37903 {
37904 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37905 }
37906 {
37907 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37908 }
37909 {
37910 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37911 }
37912 {
37913 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37914 }
37915 {
37916 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37917 }
37918 {
37919 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37920 }
37921 {
37922 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37923 }
37924 {
37925 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37926 }
37927 {
37928 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37929 }
37930 {
37931 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37932 }
37933 {
37934 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37935 }
37936 {
37937 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37938 }
37939 {
37940 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37941 }
37942 {
37943 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37944 }
37945 {
37946 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37947 }
37948 {
37949 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37950 }
37951 {
37952 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37953 }
37954 {
37955 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
37956 }
37957 {
37958 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
37959 }
37960 {
37961 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
37962 }
37963 {
37964 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
37965 }
37966 {
37967 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
37968 }
37969 {
37970 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
37971 }
37972 {
37973 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
37974 }
37975 {
37976 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
37977 }
37978 {
37979 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
37980 }
37981 {
37982 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
37983 }
37984 {
37985 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
37986 }
37987 {
37988 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
37989 }
37990 {
37991 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
37992 }
37993 {
37994 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
37995 }
37996 {
37997 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
37998 }
37999 {
38000 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
38001 }
38002 {
38003 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
38004 }
38005 {
38006 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
38007 }
38008 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38009 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38010 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38011 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38012 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38013 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38014 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38015 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38016 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38017 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38018 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38019 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38020 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38021 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38022 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38023 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38024 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38025 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38026 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38027 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
38028 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
38029
38030 // Map renamed classes back to their common name for OOR
38031 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38032 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38033
38034 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
38035 {
38036 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38037 }
38038 {
38039 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38040 }
38041 {
38042 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38043 }
38044 {
38045 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38046 }
38047 {
38048 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38049 }
38050 {
38051 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38052 }
38053 {
38054 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38055 }
38056 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38057 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38058
38059 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38060
38061 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38062 {
38063 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38064 }
38065 {
38066 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38067 }
38068 {
38069 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38070 }
38071 {
38072 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38073 }
38074 {
38075 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38076 }
38077 }
38078